IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_check_neigh_update.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_check_neigh_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32 } %struct.net_device = type { i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } @IFF_802_1Q_VLAN = dso_local local_unnamed_addr global i32 0, align 4 @cxgb4_driver = dso_local global %struct.TYPE_4__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_neigh_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @check_neigh_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 8, !tbaa !10 %4 = load i32, ptr @IFF_802_1Q_VLAN, align 4, !tbaa !14 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call ptr @vlan_dev_real_dev(ptr noundef nonnull %2) #2 br label %9 9: ; preds = %7, %1 %10 = phi ptr [ %8, %7 ], [ %2, %1 ] %11 = getelementptr inbounds %struct.net_device, ptr %10, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !15 %13 = icmp eq ptr %12, null br i1 %13, label %20, label %14 14: ; preds = %9 %15 = load ptr, ptr %12, align 8, !tbaa !16 %16 = icmp eq ptr %15, @cxgb4_driver br i1 %16, label %17, label %20 17: ; preds = %14 %18 = tail call i32 @dev_get_drvdata(ptr noundef nonnull %12) #2 %19 = tail call i32 @t4_l2t_update(i32 noundef %18, ptr noundef nonnull %0) #2 br label %20 20: ; preds = %17, %14, %9 ret void } declare ptr @vlan_dev_real_dev(ptr noundef) local_unnamed_addr #1 declare i32 @t4_l2t_update(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_get_drvdata(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 = !{!"neighbour", !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 = !{!"net_device", !12, i64 0, !13, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_3__", !7, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !7, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"device", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_check_neigh_update.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/cxgb4/extr_cxgb4_main.c_check_neigh_update.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 } @IFF_802_1Q_VLAN = common local_unnamed_addr global i32 0, align 4 @cxgb4_driver = common global %struct.TYPE_4__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @check_neigh_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @check_neigh_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 8, !tbaa !11 %4 = load i32, ptr @IFF_802_1Q_VLAN, align 4, !tbaa !15 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call ptr @vlan_dev_real_dev(ptr noundef nonnull %2) #2 br label %9 9: ; preds = %7, %1 %10 = phi ptr [ %8, %7 ], [ %2, %1 ] %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = icmp eq ptr %12, null br i1 %13, label %20, label %14 14: ; preds = %9 %15 = load ptr, ptr %12, align 8, !tbaa !17 %16 = icmp eq ptr %15, @cxgb4_driver br i1 %16, label %17, label %20 17: ; preds = %14 %18 = tail call i32 @dev_get_drvdata(ptr noundef nonnull %12) #2 %19 = tail call i32 @t4_l2t_update(i32 noundef %18, ptr noundef nonnull %0) #2 br label %20 20: ; preds = %17, %14, %9 ret void } declare ptr @vlan_dev_real_dev(ptr noundef) local_unnamed_addr #1 declare i32 @t4_l2t_update(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @dev_get_drvdata(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 = !{!"neighbour", !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 = !{!"net_device", !13, i64 0, !14, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!"TYPE_3__", !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !8, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"device", !8, i64 0}
fastsocket_kernel_drivers_net_cxgb4_extr_cxgb4_main.c_check_neigh_update
; ModuleID = 'AnghaBench/linux/net/tipc/extr_bearer.c_tipc_enable_bearer.c' source_filename = "AnghaBench/linux/net/tipc/extr_bearer.c_tipc_enable_bearer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tipc_bearer_names = type { i32 } %struct.tipc_bearer = type { ptr, i32, ptr, i32, i32, i32, i32, i32, ptr, i32 } %struct.tipc_media = type { ptr, ptr, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"illegal name\00", align 1 @TIPC_MAX_LINK_PRI = dso_local local_unnamed_addr global ptr null, align 8 @TIPC_MEDIA_LINK_PRI = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [17 x i8] c"illegal priority\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"media not registered\00", align 1 @MAX_BEARERS = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"already enabled\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Bearer <%s>: already 2 bearers with priority %u\0A\00", align 1 @TIPC_MIN_LINK_PRI = dso_local local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [23 x i8] c"cannot adjust to lower\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"Bearer <%s>: trying with adjusted priority\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"max 3 bearers permitted\00", align 1 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [23 x i8] c"failed to enable media\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"failed to create discoverer\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"Enabled bearer <%s>, priority %u\0A\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Enabling of bearer <%s> rejected, %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tipc_enable_bearer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tipc_enable_bearer(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca %struct.tipc_bearer_names, align 4 %7 = alloca ptr, align 8 %8 = tail call ptr @tipc_net(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = load i32, ptr @EINVAL, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 %11 = call i32 @bearer_name_validate(ptr noundef %1, ptr noundef nonnull %6) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %140, label %13 13: ; preds = %5 %14 = load ptr, ptr @TIPC_MAX_LINK_PRI, align 8, !tbaa !9 %15 = icmp uge ptr %14, %3 %16 = load ptr, ptr @TIPC_MEDIA_LINK_PRI, align 8 %17 = icmp eq ptr %16, %3 %18 = select i1 %15, i1 true, i1 %17 br i1 %18, label %19, label %140 19: ; preds = %13 %20 = load i32, ptr %6, align 4, !tbaa !11 %21 = call ptr @tipc_media_find(i32 noundef %20) #3 %22 = icmp eq ptr %21, null br i1 %22, label %140, label %23 23: ; preds = %19 %24 = load ptr, ptr @TIPC_MEDIA_LINK_PRI, align 8, !tbaa !9 %25 = icmp eq ptr %24, %3 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load ptr, ptr %21, align 8, !tbaa !13 br label %28 28: ; preds = %26, %23 %29 = phi ptr [ %3, %23 ], [ %27, %26 ] br label %30 30: ; preds = %28, %79 %31 = phi ptr [ %81, %79 ], [ %29, %28 ] br label %32 32: ; preds = %30, %48 %33 = phi i64 [ 0, %30 ], [ %49, %48 ] %34 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !5 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %33, %35 br i1 %36, label %37, label %82 37: ; preds = %32 %38 = load ptr, ptr %8, align 8, !tbaa !15 %39 = getelementptr inbounds i32, ptr %38, i64 %33 %40 = load i32, ptr %39, align 4, !tbaa !5 %41 = call ptr @rtnl_dereference(i32 noundef %40) #3 %42 = icmp eq ptr %41, null br i1 %42, label %82, label %43 43: ; preds = %37 %44 = getelementptr inbounds %struct.tipc_bearer, ptr %41, i64 0, i32 9 %45 = load i32, ptr %44, align 8, !tbaa !17 %46 = call i32 @strcmp(ptr noundef %1, i32 noundef %45) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %140, label %48 48: ; preds = %43 %49 = add nuw nsw i64 %33, 1 %50 = load ptr, ptr %41, align 8, !tbaa !19 %51 = icmp eq ptr %50, %31 br i1 %51, label %52, label %32, !llvm.loop !20 52: ; preds = %48 %53 = shl i64 %49, 32 %54 = ashr exact i64 %53, 32 br label %55 55: ; preds = %71, %52 %56 = phi i64 [ %54, %52 ], [ %72, %71 ] %57 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !5 %58 = sext i32 %57 to i64 %59 = icmp slt i64 %56, %58 br i1 %59, label %60, label %82 60: ; preds = %55 %61 = load ptr, ptr %8, align 8, !tbaa !15 %62 = getelementptr inbounds i32, ptr %61, i64 %56 %63 = load i32, ptr %62, align 4, !tbaa !5 %64 = call ptr @rtnl_dereference(i32 noundef %63) #3 %65 = icmp eq ptr %64, null br i1 %65, label %82, label %66 66: ; preds = %60 %67 = getelementptr inbounds %struct.tipc_bearer, ptr %64, i64 0, i32 9 %68 = load i32, ptr %67, align 8, !tbaa !17 %69 = call i32 @strcmp(ptr noundef %1, i32 noundef %68) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %140, label %71 71: ; preds = %66 %72 = add nsw i64 %56, 1 %73 = load ptr, ptr %64, align 8, !tbaa !19 %74 = icmp eq ptr %73, %31 br i1 %74, label %75, label %55, !llvm.loop !20 75: ; preds = %71 %76 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.5, ptr noundef %1, ptr noundef %31) #3 %77 = load ptr, ptr @TIPC_MIN_LINK_PRI, align 8, !tbaa !9 %78 = icmp eq ptr %31, %77 br i1 %78, label %140, label %79 79: ; preds = %75 %80 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.7, ptr noundef %1) #3 %81 = getelementptr inbounds i8, ptr %31, i64 -1 br label %30, !llvm.loop !20 82: ; preds = %37, %32, %60, %55 %83 = phi i64 [ %56, %55 ], [ %56, %60 ], [ %33, %32 ], [ %33, %37 ] %84 = trunc i64 %83 to i32 %85 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !5 %86 = icmp sgt i32 %85, %84 br i1 %86, label %87, label %140 87: ; preds = %82 %88 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5 %89 = call ptr @kzalloc(i32 noundef 64, i32 noundef %88) #3 %90 = icmp eq ptr %89, null br i1 %90, label %91, label %94 91: ; preds = %87 %92 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %93 = sub nsw i32 0, %92 br label %144 94: ; preds = %87 %95 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 9 %96 = load i32, ptr %95, align 8, !tbaa !17 %97 = call i32 @strcpy(i32 noundef %96, ptr noundef %1) #3 %98 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 8 store ptr %21, ptr %98, align 8, !tbaa !22 %99 = getelementptr inbounds %struct.tipc_media, ptr %21, i64 0, i32 1 %100 = load ptr, ptr %99, align 8, !tbaa !23 %101 = call i32 %100(ptr noundef %0, ptr noundef nonnull %89, ptr noundef %4) #3 %102 = icmp eq i32 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %94 %104 = call i32 @kfree(ptr noundef nonnull %89) #3 br label %140 105: ; preds = %94 %106 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 1 store i32 %84, ptr %106, align 8, !tbaa !24 %107 = getelementptr inbounds %struct.tipc_media, ptr %21, i64 0, i32 2 %108 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 6 %109 = load <2 x i32>, ptr %107, align 8, !tbaa !5 store <2 x i32> %109, ptr %108, align 4, !tbaa !5 %110 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 2 store ptr %2, ptr %110, align 8, !tbaa !25 %111 = add nsw i32 %84, 65 %112 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 3 store i32 %111, ptr %112, align 8, !tbaa !26 store ptr %31, ptr %89, align 8, !tbaa !19 %113 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 5 %114 = call i32 @test_and_set_bit_lock(i32 noundef 0, ptr noundef nonnull %113) #3 %115 = getelementptr inbounds %struct.tipc_bearer, ptr %89, i64 0, i32 4 %116 = call i32 @tipc_disc_create(ptr noundef %0, ptr noundef nonnull %89, ptr noundef nonnull %115, ptr noundef nonnull %7) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %120, label %118 118: ; preds = %105 %119 = call i32 @bearer_disable(ptr noundef %0, ptr noundef nonnull %89) #3 br label %140 120: ; preds = %105 %121 = load ptr, ptr %8, align 8, !tbaa !15 %122 = shl i64 %83, 32 %123 = ashr exact i64 %122, 32 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4, !tbaa !5 %126 = call i32 @rcu_assign_pointer(i32 noundef %125, ptr noundef nonnull %89) #3 %127 = load ptr, ptr %7, align 8, !tbaa !9 %128 = icmp eq ptr %127, null br i1 %128, label %131, label %129 129: ; preds = %120 %130 = call i32 @tipc_bearer_xmit_skb(ptr noundef %0, i32 noundef %84, ptr noundef nonnull %127, ptr noundef nonnull %115) #3 br label %131 131: ; preds = %129, %120 %132 = call i64 @tipc_mon_create(ptr noundef %0, i32 noundef %84) #3 %133 = icmp eq i64 %132, 0 br i1 %133, label %138, label %134 134: ; preds = %131 %135 = call i32 @bearer_disable(ptr noundef %0, ptr noundef nonnull %89) #3 %136 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %137 = sub nsw i32 0, %136 br label %144 138: ; preds = %131 %139 = call i32 @pr_info(ptr noundef nonnull @.str.11, ptr noundef %1, ptr noundef %31) #3 br label %144 140: ; preds = %75, %43, %66, %82, %19, %13, %5, %118, %103 %141 = phi i32 [ %101, %103 ], [ %116, %118 ], [ %10, %5 ], [ %10, %13 ], [ %10, %19 ], [ %10, %82 ], [ %10, %66 ], [ %10, %43 ], [ %10, %75 ] %142 = phi ptr [ @.str.9, %103 ], [ @.str.10, %118 ], [ @.str.1, %5 ], [ @.str.2, %13 ], [ @.str.3, %19 ], [ @.str.8, %82 ], [ @.str.4, %66 ], [ @.str.4, %43 ], [ @.str.6, %75 ] %143 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.12, ptr noundef %1, ptr noundef nonnull %142) #3 br label %144 144: ; preds = %140, %138, %134, %91 %145 = phi i32 [ %141, %140 ], [ %137, %134 ], [ 0, %138 ], [ %93, %91 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %145 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tipc_net(ptr noundef) local_unnamed_addr #2 declare i32 @bearer_name_validate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @tipc_media_find(i32 noundef) local_unnamed_addr #2 declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #2 declare i32 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_warn(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tipc_disc_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bearer_disable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tipc_bearer_xmit_skb(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tipc_mon_create(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"tipc_bearer_names", !6, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"tipc_media", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20} !15 = !{!16, !10, i64 0} !16 = !{!"tipc_net", !10, i64 0} !17 = !{!18, !6, i64 56} !18 = !{!"tipc_bearer", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !10, i64 48, !6, i64 56} !19 = !{!18, !10, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!18, !10, i64 48} !23 = !{!14, !10, i64 8} !24 = !{!18, !6, i64 8} !25 = !{!18, !10, i64 16} !26 = !{!18, !6, i64 24}
; ModuleID = 'AnghaBench/linux/net/tipc/extr_bearer.c_tipc_enable_bearer.c' source_filename = "AnghaBench/linux/net/tipc/extr_bearer.c_tipc_enable_bearer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.tipc_bearer_names = type { i32 } @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"illegal name\00", align 1 @TIPC_MAX_LINK_PRI = common local_unnamed_addr global ptr null, align 8 @TIPC_MEDIA_LINK_PRI = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [17 x i8] c"illegal priority\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"media not registered\00", align 1 @MAX_BEARERS = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [16 x i8] c"already enabled\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Bearer <%s>: already 2 bearers with priority %u\0A\00", align 1 @TIPC_MIN_LINK_PRI = common local_unnamed_addr global ptr null, align 8 @.str.6 = private unnamed_addr constant [23 x i8] c"cannot adjust to lower\00", align 1 @.str.7 = private unnamed_addr constant [44 x i8] c"Bearer <%s>: trying with adjusted priority\0A\00", align 1 @.str.8 = private unnamed_addr constant [24 x i8] c"max 3 bearers permitted\00", align 1 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [23 x i8] c"failed to enable media\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"failed to create discoverer\00", align 1 @.str.11 = private unnamed_addr constant [34 x i8] c"Enabled bearer <%s>, priority %u\0A\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Enabling of bearer <%s> rejected, %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tipc_enable_bearer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tipc_enable_bearer(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca %struct.tipc_bearer_names, align 4 %7 = alloca ptr, align 8 %8 = tail call ptr @tipc_net(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = load i32, ptr @EINVAL, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 %11 = call i32 @bearer_name_validate(ptr noundef %1, ptr noundef nonnull %6) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %140, label %13 13: ; preds = %5 %14 = load ptr, ptr @TIPC_MAX_LINK_PRI, align 8, !tbaa !10 %15 = icmp uge ptr %14, %3 %16 = load ptr, ptr @TIPC_MEDIA_LINK_PRI, align 8 %17 = icmp eq ptr %16, %3 %18 = select i1 %15, i1 true, i1 %17 br i1 %18, label %19, label %140 19: ; preds = %13 %20 = load i32, ptr %6, align 4, !tbaa !12 %21 = call ptr @tipc_media_find(i32 noundef %20) #3 %22 = icmp eq ptr %21, null br i1 %22, label %140, label %23 23: ; preds = %19 %24 = load ptr, ptr @TIPC_MEDIA_LINK_PRI, align 8, !tbaa !10 %25 = icmp eq ptr %24, %3 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load ptr, ptr %21, align 8, !tbaa !14 br label %28 28: ; preds = %26, %23 %29 = phi ptr [ %3, %23 ], [ %27, %26 ] br label %30 30: ; preds = %28, %79 %31 = phi ptr [ %81, %79 ], [ %29, %28 ] br label %32 32: ; preds = %30, %48 %33 = phi i64 [ 0, %30 ], [ %49, %48 ] %34 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !6 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %33, %35 br i1 %36, label %37, label %82 37: ; preds = %32 %38 = load ptr, ptr %8, align 8, !tbaa !16 %39 = getelementptr inbounds i32, ptr %38, i64 %33 %40 = load i32, ptr %39, align 4, !tbaa !6 %41 = call ptr @rtnl_dereference(i32 noundef %40) #3 %42 = icmp eq ptr %41, null br i1 %42, label %82, label %43 43: ; preds = %37 %44 = getelementptr inbounds i8, ptr %41, i64 56 %45 = load i32, ptr %44, align 8, !tbaa !18 %46 = call i32 @strcmp(ptr noundef %1, i32 noundef %45) #3 %47 = icmp eq i32 %46, 0 br i1 %47, label %140, label %48 48: ; preds = %43 %49 = add nuw nsw i64 %33, 1 %50 = load ptr, ptr %41, align 8, !tbaa !20 %51 = icmp eq ptr %50, %31 br i1 %51, label %52, label %32, !llvm.loop !21 52: ; preds = %48 %53 = shl i64 %49, 32 %54 = ashr exact i64 %53, 32 br label %55 55: ; preds = %71, %52 %56 = phi i64 [ %54, %52 ], [ %72, %71 ] %57 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !6 %58 = sext i32 %57 to i64 %59 = icmp slt i64 %56, %58 br i1 %59, label %60, label %82 60: ; preds = %55 %61 = load ptr, ptr %8, align 8, !tbaa !16 %62 = getelementptr inbounds i32, ptr %61, i64 %56 %63 = load i32, ptr %62, align 4, !tbaa !6 %64 = call ptr @rtnl_dereference(i32 noundef %63) #3 %65 = icmp eq ptr %64, null br i1 %65, label %82, label %66 66: ; preds = %60 %67 = getelementptr inbounds i8, ptr %64, i64 56 %68 = load i32, ptr %67, align 8, !tbaa !18 %69 = call i32 @strcmp(ptr noundef %1, i32 noundef %68) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %140, label %71 71: ; preds = %66 %72 = add nsw i64 %56, 1 %73 = load ptr, ptr %64, align 8, !tbaa !20 %74 = icmp eq ptr %73, %31 br i1 %74, label %75, label %55, !llvm.loop !21 75: ; preds = %71 %76 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.5, ptr noundef %1, ptr noundef %31) #3 %77 = load ptr, ptr @TIPC_MIN_LINK_PRI, align 8, !tbaa !10 %78 = icmp eq ptr %31, %77 br i1 %78, label %140, label %79 79: ; preds = %75 %80 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.7, ptr noundef %1) #3 %81 = getelementptr inbounds i8, ptr %31, i64 -1 br label %30, !llvm.loop !21 82: ; preds = %37, %32, %60, %55 %83 = phi i64 [ %56, %55 ], [ %56, %60 ], [ %33, %32 ], [ %33, %37 ] %84 = trunc i64 %83 to i32 %85 = load i32, ptr @MAX_BEARERS, align 4, !tbaa !6 %86 = icmp sgt i32 %85, %84 br i1 %86, label %87, label %140 87: ; preds = %82 %88 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6 %89 = call ptr @kzalloc(i32 noundef 64, i32 noundef %88) #3 %90 = icmp eq ptr %89, null br i1 %90, label %91, label %94 91: ; preds = %87 %92 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %93 = sub nsw i32 0, %92 br label %144 94: ; preds = %87 %95 = getelementptr inbounds i8, ptr %89, i64 56 %96 = load i32, ptr %95, align 8, !tbaa !18 %97 = call i32 @strcpy(i32 noundef %96, ptr noundef %1) #3 %98 = getelementptr inbounds i8, ptr %89, i64 48 store ptr %21, ptr %98, align 8, !tbaa !23 %99 = getelementptr inbounds i8, ptr %21, i64 8 %100 = load ptr, ptr %99, align 8, !tbaa !24 %101 = call i32 %100(ptr noundef %0, ptr noundef nonnull %89, ptr noundef %4) #3 %102 = icmp eq i32 %101, 0 br i1 %102, label %105, label %103 103: ; preds = %94 %104 = call i32 @kfree(ptr noundef nonnull %89) #3 br label %140 105: ; preds = %94 %106 = getelementptr inbounds i8, ptr %89, i64 8 store i32 %84, ptr %106, align 8, !tbaa !25 %107 = getelementptr inbounds i8, ptr %21, i64 16 %108 = getelementptr inbounds i8, ptr %89, i64 36 %109 = load <2 x i32>, ptr %107, align 8, !tbaa !6 store <2 x i32> %109, ptr %108, align 4, !tbaa !6 %110 = getelementptr inbounds i8, ptr %89, i64 16 store ptr %2, ptr %110, align 8, !tbaa !26 %111 = add nsw i32 %84, 65 %112 = getelementptr inbounds i8, ptr %89, i64 24 store i32 %111, ptr %112, align 8, !tbaa !27 store ptr %31, ptr %89, align 8, !tbaa !20 %113 = getelementptr inbounds i8, ptr %89, i64 32 %114 = call i32 @test_and_set_bit_lock(i32 noundef 0, ptr noundef nonnull %113) #3 %115 = getelementptr inbounds i8, ptr %89, i64 28 %116 = call i32 @tipc_disc_create(ptr noundef %0, ptr noundef nonnull %89, ptr noundef nonnull %115, ptr noundef nonnull %7) #3 %117 = icmp eq i32 %116, 0 br i1 %117, label %120, label %118 118: ; preds = %105 %119 = call i32 @bearer_disable(ptr noundef %0, ptr noundef nonnull %89) #3 br label %140 120: ; preds = %105 %121 = load ptr, ptr %8, align 8, !tbaa !16 %122 = shl i64 %83, 32 %123 = ashr exact i64 %122, 30 %124 = getelementptr inbounds i8, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4, !tbaa !6 %126 = call i32 @rcu_assign_pointer(i32 noundef %125, ptr noundef nonnull %89) #3 %127 = load ptr, ptr %7, align 8, !tbaa !10 %128 = icmp eq ptr %127, null br i1 %128, label %131, label %129 129: ; preds = %120 %130 = call i32 @tipc_bearer_xmit_skb(ptr noundef %0, i32 noundef %84, ptr noundef nonnull %127, ptr noundef nonnull %115) #3 br label %131 131: ; preds = %129, %120 %132 = call i64 @tipc_mon_create(ptr noundef %0, i32 noundef %84) #3 %133 = icmp eq i64 %132, 0 br i1 %133, label %138, label %134 134: ; preds = %131 %135 = call i32 @bearer_disable(ptr noundef %0, ptr noundef nonnull %89) #3 %136 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %137 = sub nsw i32 0, %136 br label %144 138: ; preds = %131 %139 = call i32 @pr_info(ptr noundef nonnull @.str.11, ptr noundef %1, ptr noundef %31) #3 br label %144 140: ; preds = %75, %43, %66, %82, %19, %13, %5, %118, %103 %141 = phi i32 [ %101, %103 ], [ %116, %118 ], [ %10, %5 ], [ %10, %13 ], [ %10, %19 ], [ %10, %82 ], [ %10, %66 ], [ %10, %43 ], [ %10, %75 ] %142 = phi ptr [ @.str.9, %103 ], [ @.str.10, %118 ], [ @.str.1, %5 ], [ @.str.2, %13 ], [ @.str.3, %19 ], [ @.str.8, %82 ], [ @.str.4, %66 ], [ @.str.4, %43 ], [ @.str.6, %75 ] %143 = call i32 (ptr, ptr, ...) @pr_warn(ptr noundef nonnull @.str.12, ptr noundef %1, ptr noundef nonnull %142) #3 br label %144 144: ; preds = %140, %138, %134, %91 %145 = phi i32 [ %141, %140 ], [ %137, %134 ], [ 0, %138 ], [ %93, %91 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %145 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tipc_net(ptr noundef) local_unnamed_addr #2 declare i32 @bearer_name_validate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @tipc_media_find(i32 noundef) local_unnamed_addr #2 declare ptr @rtnl_dereference(i32 noundef) local_unnamed_addr #2 declare i32 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_warn(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strcpy(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tipc_disc_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bearer_disable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rcu_assign_pointer(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @tipc_bearer_xmit_skb(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @tipc_mon_create(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pr_info(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"tipc_bearer_names", !7, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"tipc_media", !11, i64 0, !11, i64 8, !7, i64 16, !7, i64 20} !16 = !{!17, !11, i64 0} !17 = !{!"tipc_net", !11, i64 0} !18 = !{!19, !7, i64 56} !19 = !{!"tipc_bearer", !11, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !11, i64 48, !7, i64 56} !20 = !{!19, !11, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!19, !11, i64 48} !24 = !{!15, !11, i64 8} !25 = !{!19, !7, i64 8} !26 = !{!19, !11, i64 16} !27 = !{!19, !7, i64 24}
linux_net_tipc_extr_bearer.c_tipc_enable_bearer
; ModuleID = 'AnghaBench/ish/fs/extr_real.c_realfs_fstat.c' source_filename = "AnghaBench/ish/fs/extr_real.c_realfs_fstat.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.fd = type { i32 } %struct.statbuf = type { i32 } %struct.stat = type { i32 } @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (%struct.fd*, %struct.statbuf*)* @realfs_fstat to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @realfs_fstat(%struct.fd* nocapture noundef readonly %0, %struct.statbuf* noundef %1) #0 { %3 = alloca %struct.stat, align 4 %4 = bitcast %struct.stat* %3 to i8* call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %4) #4 %5 = getelementptr inbounds %struct.fd, %struct.fd* %0, i64 0, i32 0 %6 = load i32, i32* %5, align 4, !tbaa !5 %7 = call i64 @fstat(i32 noundef %6, %struct.stat* noundef nonnull %3) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = tail call i32 (...) @errno_map() #4 br label %13 11: ; preds = %2 %12 = call i32 @copy_stat(%struct.statbuf* noundef %1, %struct.stat* noundef nonnull %3) #4 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %10, %9 ], [ 0, %11 ] call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %4) #4 ret i32 %14 } ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i64 @fstat(i32 noundef, %struct.stat* nocapture noundef) local_unnamed_addr #2 declare i32 @errno_map(...) local_unnamed_addr #3 declare i32 @copy_stat(%struct.statbuf* noundef, %struct.stat* noundef) local_unnamed_addr #3 ; Function Attrs: argmemonly mustprogress nofree nosync nounwind willreturn declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #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 = { argmemonly mustprogress nofree nosync nounwind willreturn } attributes #2 = { nofree nounwind "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 #3 = { "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 #4 = { 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, !7, i64 0} !6 = !{!"fd", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/ish/fs/extr_real.c_realfs_fstat.c' source_filename = "AnghaBench/ish/fs/extr_real.c_realfs_fstat.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 } @llvm.used = appending global [1 x ptr] [ptr @realfs_fstat], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @realfs_fstat(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca %struct.stat, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = call i64 @fstat(i32 noundef %4, ptr noundef nonnull %3) #3 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @errno_map() #3 br label %11 9: ; preds = %2 %10 = call i32 @copy_stat(ptr noundef %1, ptr noundef nonnull %3) #3 br label %11 11: ; preds = %9, %7 %12 = phi i32 [ %8, %7 ], [ 0, %9 ] call void @llvm.lifetime.end.p0(i64 4, 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 i64 @fstat(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @errno_map(...) local_unnamed_addr #2 declare i32 @copy_stat(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 = !{!"fd", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
ish_fs_extr_real.c_realfs_fstat
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_bhyverun.c_vmexit_bogus.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_bhyverun.c_vmexit_bogus.c" target datalayout = "e-m:e-p270:32:32-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 } @stats = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @VMEXIT_CONTINUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vmexit_bogus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vmexit_bogus(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @stats, align 4, !tbaa !10 %9 = add nsw i32 %8, 1 store i32 %9, ptr @stats, align 4, !tbaa !10 %10 = load i32, ptr @VMEXIT_CONTINUE, align 4, !tbaa !13 ret i32 %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vm_exit", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_bhyverun.c_vmexit_bogus.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_bhyverun.c_vmexit_bogus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @stats = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @VMEXIT_CONTINUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vmexit_bogus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vmexit_bogus(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr @stats, align 4, !tbaa !11 %9 = add nsw i32 %8, 1 store i32 %9, ptr @stats, align 4, !tbaa !11 %10 = load i32, ptr @VMEXIT_CONTINUE, align 4, !tbaa !14 ret i32 %10 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vm_exit", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
freebsd_usr.sbin_bhyve_extr_bhyverun.c_vmexit_bogus
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_s3_pci.c_s3lfb_diag.c' source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_s3_pci.c_s3lfb_diag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @prevvidsw = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @s3lfb_diag], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s3lfb_diag(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @prevvidsw, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = tail call i32 %4(ptr noundef %0, i32 noundef %1) #1 ret i32 %5 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/fb/extr_s3_pci.c_s3lfb_diag.c' source_filename = "AnghaBench/freebsd/sys/dev/fb/extr_s3_pci.c_s3lfb_diag.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @prevvidsw = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @s3lfb_diag], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s3lfb_diag(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr @prevvidsw, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call i32 %4(ptr noundef %0, i32 noundef %1) #1 ret i32 %5 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
freebsd_sys_dev_fb_extr_s3_pci.c_s3lfb_diag
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_set_tx_desc_queue_sel.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_set_tx_desc_queue_sel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @set_tx_desc_queue_sel], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @set_tx_desc_queue_sel(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i32, ptr %0, i64 1 %4 = tail call i32 @GENMASK(i32 noundef 12, i32 noundef 8) #2 %5 = tail call i32 @le32p_replace_bits(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %4) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_set_tx_desc_queue_sel.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_set_tx_desc_queue_sel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @set_tx_desc_queue_sel], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @set_tx_desc_queue_sel(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = tail call i32 @GENMASK(i32 noundef 12, i32 noundef 8) #2 %5 = tail call i32 @le32p_replace_bits(ptr noundef nonnull %3, i32 noundef %1, i32 noundef %4) #2 ret void } declare i32 @le32p_replace_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GENMASK(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_trx.h_set_tx_desc_queue_sel
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-last_ip.c_query_initial.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-last_ip.c_query_initial.c" target datalayout = "e-m:e-p270:32:32-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.pt_last_ip = type { i32 } @pte_noip = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @query_initial], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @query_initial() #0 { %1 = alloca %struct.pt_last_ip, align 4 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @pt_last_ip_init(ptr noundef nonnull %1) #3 %4 = call i32 @pt_last_ip_query(ptr noundef nonnull %2, ptr noundef nonnull %1) #3 %5 = load i32, ptr @pte_noip, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 %7 = call i32 @ptu_int_eq(i32 noundef %4, i32 noundef %6) #3 %8 = call i32 (...) @ptu_passed() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_last_ip_init(ptr noundef) local_unnamed_addr #2 declare i32 @pt_last_ip_query(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptu_passed(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-last_ip.c_query_initial.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-last_ip.c_query_initial.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pt_last_ip = type { i32 } @pte_noip = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @query_initial], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @query_initial() #0 { %1 = alloca %struct.pt_last_ip, align 4 %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = call i32 @pt_last_ip_init(ptr noundef nonnull %1) #3 %4 = call i32 @pt_last_ip_query(ptr noundef nonnull %2, ptr noundef nonnull %1) #3 %5 = load i32, ptr @pte_noip, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 %7 = call i32 @ptu_int_eq(i32 noundef %4, i32 noundef %6) #3 %8 = call i32 @ptu_passed() #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 %8 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pt_last_ip_init(ptr noundef) local_unnamed_addr #2 declare i32 @pt_last_ip_query(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ptu_passed(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-last_ip.c_query_initial
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_CP866_KOI8R.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_CP866_KOI8R.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LC_ALL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Russian_Russia.20866\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"ru_RU.KOI8-R\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"ru_RU.KOI8-R locale not available on this system.\00", align 1 @ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"hdrcharset=CP866\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"This system cannot convert character-set from CP866 to KOI8-R.\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\F0\F2\E9\F7\E5\F4\00", align 1 @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [7 x i8] c"\D0\D2\C9\D7\C5\D4\00", align 1 @ARCHIVE_EOF = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_FILTER_COMPRESS = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_FORMAT_TAR_USTAR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_read_format_ustar_filename_CP866_KOI8R], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_read_format_ustar_filename_CP866_KOI8R(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @LC_ALL, align 4, !tbaa !5 %4 = tail call ptr @setlocale(i32 noundef %3, ptr noundef nonnull @.str) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %12 6: ; preds = %1 %7 = load i32, ptr @LC_ALL, align 4, !tbaa !5 %8 = tail call ptr @setlocale(i32 noundef %7, ptr noundef nonnull @.str.1) #3 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %6 %11 = tail call i32 @skipping(ptr noundef nonnull @.str.2) #3 br label %78 12: ; preds = %6, %1 %13 = tail call ptr (...) @archive_read_new() #3 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %18 = tail call i32 @archive_read_support_filter_all(ptr noundef %13) #3 %19 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %17, i32 noundef %18) #3 %20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %21 = tail call i32 @archive_read_support_format_all(ptr noundef %13) #3 %22 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %20, i32 noundef %21) #3 %23 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %24 = tail call i32 @archive_read_set_options(ptr noundef %13, ptr noundef nonnull @.str.3) #3 %25 = icmp eq i32 %23, %24 br i1 %25, label %28, label %26 26: ; preds = %12 %27 = tail call i32 @skipping(ptr noundef nonnull @.str.4) #3 br label %74 28: ; preds = %12 %29 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %30 = tail call i32 @archive_read_open_filename(ptr noundef %13, ptr noundef %0, i32 noundef 10240) #3 %31 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %29, i32 noundef %30) #3 %32 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %33 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %34 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %32, i32 noundef %33) #3 %35 = load ptr, ptr %2, align 8, !tbaa !9 %36 = call i32 @archive_entry_pathname(ptr noundef %35) #3 %37 = call i32 @assertEqualString(ptr noundef nonnull @.str.5, i32 noundef %36) #3 %38 = load ptr, ptr %2, align 8, !tbaa !9 %39 = call i32 @archive_entry_size(ptr noundef %38) #3 %40 = call i32 @assertEqualInt(i32 noundef 6, i32 noundef %39) #3 %41 = load ptr, ptr %2, align 8, !tbaa !9 %42 = call i32 @archive_entry_is_encrypted(ptr noundef %41) #3 %43 = call i32 @assertEqualInt(i32 noundef %42, i32 noundef 0) #3 %44 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3 %45 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !5 %46 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %44, i32 noundef %45) #3 %47 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %48 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %49 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %47, i32 noundef %48) #3 %50 = load ptr, ptr %2, align 8, !tbaa !9 %51 = call i32 @archive_entry_pathname(ptr noundef %50) #3 %52 = call i32 @assertEqualString(ptr noundef nonnull @.str.6, i32 noundef %51) #3 %53 = load ptr, ptr %2, align 8, !tbaa !9 %54 = call i32 @archive_entry_size(ptr noundef %53) #3 %55 = call i32 @assertEqualInt(i32 noundef 6, i32 noundef %54) #3 %56 = load ptr, ptr %2, align 8, !tbaa !9 %57 = call i32 @archive_entry_is_encrypted(ptr noundef %56) #3 %58 = call i32 @assertEqualInt(i32 noundef %57, i32 noundef 0) #3 %59 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3 %60 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !5 %61 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %59, i32 noundef %60) #3 %62 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !5 %63 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %64 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %62, i32 noundef %63) #3 %65 = load i32, ptr @ARCHIVE_FILTER_COMPRESS, align 4, !tbaa !5 %66 = call i32 @archive_filter_code(ptr noundef %13, i32 noundef 0) #3 %67 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %65, i32 noundef %66) #3 %68 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !5 %69 = call i32 @archive_format(ptr noundef %13) #3 %70 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %68, i32 noundef %69) #3 %71 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %72 = call i32 @archive_read_close(ptr noundef %13) #3 %73 = call i32 @assertEqualInt(i32 noundef %71, i32 noundef %72) #3 br label %74 74: ; preds = %28, %26 %75 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !5 %76 = call i32 @archive_read_free(ptr noundef %13) #3 %77 = call i32 @assertEqualInt(i32 noundef %75, i32 noundef %76) #3 br label %78 78: ; preds = %74, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @skipping(ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare ptr @archive_read_new(...) local_unnamed_addr #2 declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_set_options(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2 declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2 declare i32 @archive_entry_is_encrypted(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_has_encrypted_entries(ptr noundef) local_unnamed_addr #2 declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_format(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_CP866_KOI8R.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_CP866_KOI8R.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LC_ALL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Russian_Russia.20866\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"ru_RU.KOI8-R\00", align 1 @.str.2 = private unnamed_addr constant [50 x i8] c"ru_RU.KOI8-R locale not available on this system.\00", align 1 @ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"hdrcharset=CP866\00", align 1 @.str.4 = private unnamed_addr constant [63 x i8] c"This system cannot convert character-set from CP866 to KOI8-R.\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\F0\F2\E9\F7\E5\F4\00", align 1 @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [7 x i8] c"\D0\D2\C9\D7\C5\D4\00", align 1 @ARCHIVE_EOF = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_FILTER_COMPRESS = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_FORMAT_TAR_USTAR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @test_read_format_ustar_filename_CP866_KOI8R], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_read_format_ustar_filename_CP866_KOI8R(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @LC_ALL, align 4, !tbaa !6 %4 = tail call ptr @setlocale(i32 noundef %3, ptr noundef nonnull @.str) #3 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %12 6: ; preds = %1 %7 = load i32, ptr @LC_ALL, align 4, !tbaa !6 %8 = tail call ptr @setlocale(i32 noundef %7, ptr noundef nonnull @.str.1) #3 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %6 %11 = tail call i32 @skipping(ptr noundef nonnull @.str.2) #3 br label %78 12: ; preds = %6, %1 %13 = tail call ptr @archive_read_new() #3 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = tail call i32 @assert(i32 noundef %15) #3 %17 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %18 = tail call i32 @archive_read_support_filter_all(ptr noundef %13) #3 %19 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %17, i32 noundef %18) #3 %20 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %21 = tail call i32 @archive_read_support_format_all(ptr noundef %13) #3 %22 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %20, i32 noundef %21) #3 %23 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %24 = tail call i32 @archive_read_set_options(ptr noundef %13, ptr noundef nonnull @.str.3) #3 %25 = icmp eq i32 %23, %24 br i1 %25, label %28, label %26 26: ; preds = %12 %27 = tail call i32 @skipping(ptr noundef nonnull @.str.4) #3 br label %74 28: ; preds = %12 %29 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %30 = tail call i32 @archive_read_open_filename(ptr noundef %13, ptr noundef %0, i32 noundef 10240) #3 %31 = tail call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %29, i32 noundef %30) #3 %32 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %33 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %34 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %32, i32 noundef %33) #3 %35 = load ptr, ptr %2, align 8, !tbaa !10 %36 = call i32 @archive_entry_pathname(ptr noundef %35) #3 %37 = call i32 @assertEqualString(ptr noundef nonnull @.str.5, i32 noundef %36) #3 %38 = load ptr, ptr %2, align 8, !tbaa !10 %39 = call i32 @archive_entry_size(ptr noundef %38) #3 %40 = call i32 @assertEqualInt(i32 noundef 6, i32 noundef %39) #3 %41 = load ptr, ptr %2, align 8, !tbaa !10 %42 = call i32 @archive_entry_is_encrypted(ptr noundef %41) #3 %43 = call i32 @assertEqualInt(i32 noundef %42, i32 noundef 0) #3 %44 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3 %45 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !6 %46 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %44, i32 noundef %45) #3 %47 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %48 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %49 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %47, i32 noundef %48) #3 %50 = load ptr, ptr %2, align 8, !tbaa !10 %51 = call i32 @archive_entry_pathname(ptr noundef %50) #3 %52 = call i32 @assertEqualString(ptr noundef nonnull @.str.6, i32 noundef %51) #3 %53 = load ptr, ptr %2, align 8, !tbaa !10 %54 = call i32 @archive_entry_size(ptr noundef %53) #3 %55 = call i32 @assertEqualInt(i32 noundef 6, i32 noundef %54) #3 %56 = load ptr, ptr %2, align 8, !tbaa !10 %57 = call i32 @archive_entry_is_encrypted(ptr noundef %56) #3 %58 = call i32 @assertEqualInt(i32 noundef %57, i32 noundef 0) #3 %59 = call i32 @archive_read_has_encrypted_entries(ptr noundef %13) #3 %60 = load i32, ptr @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED, align 4, !tbaa !6 %61 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %59, i32 noundef %60) #3 %62 = load i32, ptr @ARCHIVE_EOF, align 4, !tbaa !6 %63 = call i32 @archive_read_next_header(ptr noundef %13, ptr noundef nonnull %2) #3 %64 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %62, i32 noundef %63) #3 %65 = load i32, ptr @ARCHIVE_FILTER_COMPRESS, align 4, !tbaa !6 %66 = call i32 @archive_filter_code(ptr noundef %13, i32 noundef 0) #3 %67 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %65, i32 noundef %66) #3 %68 = load i32, ptr @ARCHIVE_FORMAT_TAR_USTAR, align 4, !tbaa !6 %69 = call i32 @archive_format(ptr noundef %13) #3 %70 = call i32 @assertEqualIntA(ptr noundef %13, i32 noundef %68, i32 noundef %69) #3 %71 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %72 = call i32 @archive_read_close(ptr noundef %13) #3 %73 = call i32 @assertEqualInt(i32 noundef %71, i32 noundef %72) #3 br label %74 74: ; preds = %28, %26 %75 = load i32, ptr @ARCHIVE_OK, align 4, !tbaa !6 %76 = call i32 @archive_read_free(ptr noundef %13) #3 %77 = call i32 @assertEqualInt(i32 noundef %75, i32 noundef %76) #3 br label %78 78: ; preds = %74, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @skipping(ptr noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare ptr @archive_read_new(...) local_unnamed_addr #2 declare i32 @assertEqualIntA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_support_filter_all(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_support_format_all(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_set_options(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_open_filename(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_read_next_header(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @assertEqualString(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_pathname(ptr noundef) local_unnamed_addr #2 declare i32 @assertEqualInt(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_entry_size(ptr noundef) local_unnamed_addr #2 declare i32 @archive_entry_is_encrypted(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_has_encrypted_entries(ptr noundef) local_unnamed_addr #2 declare i32 @archive_filter_code(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @archive_format(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_close(ptr noundef) local_unnamed_addr #2 declare i32 @archive_read_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_contrib_libarchive_libarchive_test_extr_test_read_format_ustar_filename.c_test_read_format_ustar_filename_CP866_KOI8R
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_devmap.c_dasd_set_feature.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_devmap.c_dasd_set_feature.c" target datalayout = "e-m:e-p270:32:32-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.dasd_devmap = type { i32, ptr } @dasd_devmap_lock = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dasd_set_feature(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @dev_name(ptr noundef %0) #2 %5 = tail call ptr @dasd_find_busid(i32 noundef %4) #2 %6 = tail call i64 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @PTR_ERR(ptr noundef %5) #2 br label %28 10: ; preds = %3 %11 = tail call i32 @spin_lock(ptr noundef nonnull @dasd_devmap_lock) #2 %12 = icmp eq i32 %2, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %5, align 8, !tbaa !5 %15 = or i32 %14, %1 br label %20 16: ; preds = %10 %17 = xor i32 %1, -1 %18 = load i32, ptr %5, align 8, !tbaa !5 %19 = and i32 %18, %17 br label %20 20: ; preds = %16, %13 %21 = phi i32 [ %19, %16 ], [ %15, %13 ] store i32 %21, ptr %5, align 8, !tbaa !5 %22 = getelementptr inbounds %struct.dasd_devmap, ptr %5, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !11 %24 = icmp eq ptr %23, null br i1 %24, label %26, label %25 25: ; preds = %20 store i32 %21, ptr %23, align 4, !tbaa !12 br label %26 26: ; preds = %25, %20 %27 = tail call i32 @spin_unlock(ptr noundef nonnull @dasd_devmap_lock) #2 br label %28 28: ; preds = %26, %8 %29 = phi i32 [ %9, %8 ], [ 0, %26 ] ret i32 %29 } declare ptr @dasd_find_busid(i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dasd_devmap", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_devmap.c_dasd_set_feature.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_devmap.c_dasd_set_feature.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dasd_devmap_lock = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dasd_set_feature(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @dev_name(ptr noundef %0) #2 %5 = tail call ptr @dasd_find_busid(i32 noundef %4) #2 %6 = tail call i64 @IS_ERR(ptr noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %3 %9 = tail call i32 @PTR_ERR(ptr noundef %5) #2 br label %28 10: ; preds = %3 %11 = tail call i32 @spin_lock(ptr noundef nonnull @dasd_devmap_lock) #2 %12 = icmp eq i32 %2, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %5, align 8, !tbaa !6 %15 = or i32 %14, %1 br label %20 16: ; preds = %10 %17 = xor i32 %1, -1 %18 = load i32, ptr %5, align 8, !tbaa !6 %19 = and i32 %18, %17 br label %20 20: ; preds = %16, %13 %21 = phi i32 [ %19, %16 ], [ %15, %13 ] store i32 %21, ptr %5, align 8, !tbaa !6 %22 = getelementptr inbounds i8, ptr %5, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !12 %24 = icmp eq ptr %23, null br i1 %24, label %26, label %25 25: ; preds = %20 store i32 %21, ptr %23, align 4, !tbaa !13 br label %26 26: ; preds = %25, %20 %27 = tail call i32 @spin_unlock(ptr noundef nonnull @dasd_devmap_lock) #2 br label %28 28: ; preds = %26, %8 %29 = phi i32 [ %9, %8 ], [ 0, %26 ] ret i32 %29 } declare ptr @dasd_find_busid(i32 noundef) local_unnamed_addr #1 declare i32 @dev_name(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dasd_devmap", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0}
fastsocket_kernel_drivers_s390_block_extr_dasd_devmap.c_dasd_set_feature
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_is_support_fine_grained_dpm.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_is_support_fine_grained_dpm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @navi10_is_support_fine_grained_dpm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @navi10_is_support_fine_grained_dpm(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i64 @smu_clk_get_index(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = load ptr, ptr %3, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %4 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @smu_clk_get_index(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"smu_context", !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"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_5__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"long", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_is_support_fine_grained_dpm.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_is_support_fine_grained_dpm.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 { i64 } @llvm.used = appending global [1 x ptr] [ptr @navi10_is_support_fine_grained_dpm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @navi10_is_support_fine_grained_dpm(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i64 @smu_clk_get_index(ptr noundef nonnull %0, i32 noundef %1) #2 %5 = load ptr, ptr %3, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %5, i64 %4 %7 = load i64, ptr %6, align 8, !tbaa !14 %8 = icmp eq i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @smu_clk_get_index(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"smu_context", !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"} !12 = !{!13, !9, i64 0} !13 = !{!"TYPE_5__", !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"long", !10, i64 0}
linux_drivers_gpu_drm_amd_powerplay_extr_navi10_ppt.c_navi10_is_support_fine_grained_dpm
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_transport_internal.h_adf_ring_debugfs_add.c' source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_transport_internal.h_adf_ring_debugfs_add.c" target datalayout = "e-m:e-p270:32:32-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 @adf_ring_debugfs_add], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @adf_ring_debugfs_add(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/crypto/qat/qat_common/extr_adf_transport_internal.h_adf_ring_debugfs_add.c' source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_transport_internal.h_adf_ring_debugfs_add.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 @adf_ring_debugfs_add], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @adf_ring_debugfs_add(ptr nocapture readnone %0, ptr nocapture readnone %1) #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_crypto_qat_qat_common_extr_adf_transport_internal.h_adf_ring_debugfs_add
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/unix/extr_..entropy.c_crunchsamples.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/unix/extr_..entropy.c_crunchsamples.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, i64, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @crunchsamples], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @crunchsamples(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp slt i32 %3, 6 br i1 %4, label %98, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 5 store i32 %8, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false) %11 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %8) #3 %12 = load ptr, ptr %6, align 8, !tbaa !12 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %14) #3 %16 = load ptr, ptr %6, align 8, !tbaa !12 %17 = getelementptr inbounds i32, ptr %16, i64 2 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %18) #3 %20 = load ptr, ptr %6, align 8, !tbaa !12 %21 = getelementptr inbounds i32, ptr %20, i64 3 %22 = load i32, ptr %21, align 4, !tbaa !13 %23 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %22) #3 %24 = load i32, ptr %1, align 8, !tbaa !5 %25 = icmp ugt i32 %24, 4 br i1 %25, label %26, label %39 26: ; preds = %5, %26 %27 = phi i64 [ %35, %26 ], [ 4, %5 ] %28 = phi i32 [ %34, %26 ], [ 0, %5 ] %29 = load ptr, ptr %6, align 8, !tbaa !12 %30 = getelementptr inbounds i32, ptr %29, i64 %27 %31 = load i32, ptr %30, align 4, !tbaa !13 %32 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %31) #3 %33 = trunc i64 %32 to i32 %34 = add i32 %28, %33 %35 = add nuw nsw i64 %27, 1 %36 = load i32, ptr %1, align 8, !tbaa !5 %37 = zext i32 %36 to i64 %38 = icmp ult i64 %35, %37 br i1 %38, label %26, label %39, !llvm.loop !15 39: ; preds = %26, %5 %40 = phi i32 [ 0, %5 ], [ %34, %26 ] %41 = phi i32 [ %24, %5 ], [ %36, %26 ] %42 = load ptr, ptr %6, align 8, !tbaa !12 %43 = shl nsw i32 %41, 2 %44 = tail call i32 @entropypool_adddata(ptr noundef %0, ptr noundef %42, i32 noundef %43, i32 noundef %40) #3 %45 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !17 %47 = load i32, ptr %1, align 8, !tbaa !5 %48 = shl nsw i32 %47, 2 %49 = tail call i32 @entropypool_adddata(ptr noundef %0, ptr noundef %46, i32 noundef %48, i32 noundef 0) #3 %50 = load ptr, ptr %6, align 8, !tbaa !12 %51 = load ptr, ptr %45, align 8, !tbaa !17 %52 = load i32, ptr %1, align 8, !tbaa !5 %53 = add i32 %52, -4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %50, i64 %54 %56 = load i32, ptr %55, align 4, !tbaa !13 store i32 %56, ptr %50, align 4, !tbaa !13 %57 = load i32, ptr %1, align 8, !tbaa !5 %58 = add i32 %57, -4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %51, i64 %59 %61 = load i32, ptr %60, align 4, !tbaa !13 store i32 %61, ptr %51, align 4, !tbaa !13 %62 = load i32, ptr %1, align 8, !tbaa !5 %63 = add i32 %62, -3 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %50, i64 %64 %66 = load i32, ptr %65, align 4, !tbaa !13 %67 = getelementptr inbounds i32, ptr %50, i64 1 store i32 %66, ptr %67, align 4, !tbaa !13 %68 = load i32, ptr %1, align 8, !tbaa !5 %69 = add i32 %68, -3 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %51, i64 %70 %72 = load i32, ptr %71, align 4, !tbaa !13 %73 = getelementptr inbounds i32, ptr %51, i64 1 store i32 %72, ptr %73, align 4, !tbaa !13 %74 = load i32, ptr %1, align 8, !tbaa !5 %75 = add i32 %74, -2 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %50, i64 %76 %78 = load i32, ptr %77, align 4, !tbaa !13 %79 = getelementptr inbounds i32, ptr %50, i64 2 store i32 %78, ptr %79, align 4, !tbaa !13 %80 = load i32, ptr %1, align 8, !tbaa !5 %81 = add i32 %80, -2 %82 = zext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %51, i64 %82 %84 = load i32, ptr %83, align 4, !tbaa !13 %85 = getelementptr inbounds i32, ptr %51, i64 2 store i32 %84, ptr %85, align 4, !tbaa !13 %86 = load i32, ptr %1, align 8, !tbaa !5 %87 = add i32 %86, -1 %88 = zext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %50, i64 %88 %90 = load i32, ptr %89, align 4, !tbaa !13 %91 = getelementptr inbounds i32, ptr %50, i64 3 store i32 %90, ptr %91, align 4, !tbaa !13 %92 = load i32, ptr %1, align 8, !tbaa !5 %93 = add i32 %92, -1 %94 = zext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %51, i64 %94 %96 = load i32, ptr %95, align 4, !tbaa !13 %97 = getelementptr inbounds i32, ptr %51, i64 3 store i32 %96, ptr %97, align 4, !tbaa !13 store i32 4, ptr %1, align 8, !tbaa !5 br label %98 98: ; preds = %2, %39 %99 = phi i32 [ %40, %39 ], [ 0, %2 ] ret i32 %99 } declare i64 @estimate_entropy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @entropypool_adddata(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 40} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/unix/extr_..entropy.c_crunchsamples.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/unix/extr_..entropy.c_crunchsamples.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 @crunchsamples], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @crunchsamples(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp slt i32 %3, 6 br i1 %4, label %98, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = getelementptr inbounds i8, ptr %1, i64 40 store i32 %8, ptr %9, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %1, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false) %11 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %8) #3 %12 = load ptr, ptr %6, align 8, !tbaa !13 %13 = getelementptr inbounds i8, ptr %12, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %14) #3 %16 = load ptr, ptr %6, align 8, !tbaa !13 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %18) #3 %20 = load ptr, ptr %6, align 8, !tbaa !13 %21 = getelementptr inbounds i8, ptr %20, i64 12 %22 = load i32, ptr %21, align 4, !tbaa !14 %23 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %22) #3 %24 = load i32, ptr %1, align 8, !tbaa !6 %25 = icmp ugt i32 %24, 4 br i1 %25, label %26, label %39 26: ; preds = %5, %26 %27 = phi i64 [ %35, %26 ], [ 4, %5 ] %28 = phi i32 [ %34, %26 ], [ 0, %5 ] %29 = load ptr, ptr %6, align 8, !tbaa !13 %30 = getelementptr inbounds i32, ptr %29, i64 %27 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = tail call i64 @estimate_entropy(ptr noundef nonnull %1, i32 noundef %31) #3 %33 = trunc i64 %32 to i32 %34 = add i32 %28, %33 %35 = add nuw nsw i64 %27, 1 %36 = load i32, ptr %1, align 8, !tbaa !6 %37 = zext i32 %36 to i64 %38 = icmp ult i64 %35, %37 br i1 %38, label %26, label %39, !llvm.loop !16 39: ; preds = %26, %5 %40 = phi i32 [ 0, %5 ], [ %34, %26 ] %41 = phi i32 [ %24, %5 ], [ %36, %26 ] %42 = load ptr, ptr %6, align 8, !tbaa !13 %43 = shl nsw i32 %41, 2 %44 = tail call i32 @entropypool_adddata(ptr noundef %0, ptr noundef %42, i32 noundef %43, i32 noundef %40) #3 %45 = getelementptr inbounds i8, ptr %1, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !18 %47 = load i32, ptr %1, align 8, !tbaa !6 %48 = shl nsw i32 %47, 2 %49 = tail call i32 @entropypool_adddata(ptr noundef %0, ptr noundef %46, i32 noundef %48, i32 noundef 0) #3 %50 = load ptr, ptr %6, align 8, !tbaa !13 %51 = load ptr, ptr %45, align 8, !tbaa !18 %52 = load i32, ptr %1, align 8, !tbaa !6 %53 = add i32 %52, -4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %50, i64 %54 %56 = load i32, ptr %55, align 4, !tbaa !14 store i32 %56, ptr %50, align 4, !tbaa !14 %57 = load i32, ptr %1, align 8, !tbaa !6 %58 = add i32 %57, -4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %51, i64 %59 %61 = load i32, ptr %60, align 4, !tbaa !14 store i32 %61, ptr %51, align 4, !tbaa !14 %62 = load i32, ptr %1, align 8, !tbaa !6 %63 = add i32 %62, -3 %64 = zext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %50, i64 %64 %66 = load i32, ptr %65, align 4, !tbaa !14 %67 = getelementptr inbounds i8, ptr %50, i64 4 store i32 %66, ptr %67, align 4, !tbaa !14 %68 = load i32, ptr %1, align 8, !tbaa !6 %69 = add i32 %68, -3 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %51, i64 %70 %72 = load i32, ptr %71, align 4, !tbaa !14 %73 = getelementptr inbounds i8, ptr %51, i64 4 store i32 %72, ptr %73, align 4, !tbaa !14 %74 = load i32, ptr %1, align 8, !tbaa !6 %75 = add i32 %74, -2 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %50, i64 %76 %78 = load i32, ptr %77, align 4, !tbaa !14 %79 = getelementptr inbounds i8, ptr %50, i64 8 store i32 %78, ptr %79, align 4, !tbaa !14 %80 = load i32, ptr %1, align 8, !tbaa !6 %81 = add i32 %80, -2 %82 = zext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %51, i64 %82 %84 = load i32, ptr %83, align 4, !tbaa !14 %85 = getelementptr inbounds i8, ptr %51, i64 8 store i32 %84, ptr %85, align 4, !tbaa !14 %86 = load i32, ptr %1, align 8, !tbaa !6 %87 = add i32 %86, -1 %88 = zext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %50, i64 %88 %90 = load i32, ptr %89, align 4, !tbaa !14 %91 = getelementptr inbounds i8, ptr %50, i64 12 store i32 %90, ptr %91, align 4, !tbaa !14 %92 = load i32, ptr %1, align 8, !tbaa !6 %93 = add i32 %92, -1 %94 = zext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %51, i64 %94 %96 = load i32, ptr %95, align 4, !tbaa !14 %97 = getelementptr inbounds i8, ptr %51, i64 12 store i32 %96, ptr %97, align 4, !tbaa !14 store i32 4, ptr %1, align 8, !tbaa !6 br label %98 98: ; preds = %2, %39 %99 = phi i32 [ %40, %39 ], [ 0, %2 ] ret i32 %99 } declare i64 @estimate_entropy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @entropypool_adddata(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !8, i64 40} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 40} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!7, !11, i64 8}
freebsd_contrib_ntp_lib_isc_unix_extr_..entropy.c_crunchsamples
; ModuleID = 'AnghaBench/linux/sound/pci/extr_fm801.c_snd_fm801_playback_pointer.c' source_filename = "AnghaBench/linux/sound/pci/extr_fm801.c_snd_fm801_playback_pointer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fm801 = type { i32, i32, i32, i64, i32 } @FM801_START = dso_local local_unnamed_addr global i32 0, align 4 @PLY_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @FM801_IRQ_PLAYBACK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_fm801_playback_pointer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_fm801_playback_pointer(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @FM801_START, align 4, !tbaa !11 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %37, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.fm801, ptr %2, i64 0, i32 4 %9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds %struct.fm801, ptr %2, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds %struct.fm801, ptr %2, i64 0, i32 2 %13 = load i32, ptr %12, align 8, !tbaa !13 %14 = load i32, ptr @PLY_COUNT, align 4, !tbaa !11 %15 = tail call i32 @fm801_readw(ptr noundef nonnull %2, i32 noundef %14) #2 %16 = add i32 %11, -1 %17 = add i32 %16, %13 %18 = sub i32 %17, %15 %19 = sext i32 %18 to i64 %20 = load i32, ptr @IRQ_STATUS, align 4, !tbaa !11 %21 = tail call i32 @fm801_readw(ptr noundef nonnull %2, i32 noundef %20) #2 %22 = load i32, ptr @FM801_IRQ_PLAYBACK, align 4, !tbaa !11 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %7 %26 = load i32, ptr %12, align 8, !tbaa !13 %27 = sext i32 %26 to i64 %28 = add nsw i64 %27, %19 %29 = getelementptr inbounds %struct.fm801, ptr %2, i64 0, i32 3 %30 = load i64, ptr %29, align 8, !tbaa !14 %31 = urem i64 %28, %30 br label %32 32: ; preds = %25, %7 %33 = phi i64 [ %31, %25 ], [ %19, %7 ] %34 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %35 = load i32, ptr %0, align 4, !tbaa !15 %36 = tail call i32 @bytes_to_frames(i32 noundef %35, i64 noundef %33) #2 br label %37 37: ; preds = %1, %32 %38 = phi i32 [ %36, %32 ], [ 0, %1 ] ret i32 %38 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @fm801_readw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @bytes_to_frames(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 = !{!"fm801", !7, i64 0, !7, i64 4, !7, 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 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!6, !7, i64 8} !14 = !{!6, !10, i64 16} !15 = !{!16, !7, i64 0} !16 = !{!"snd_pcm_substream", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_fm801.c_snd_fm801_playback_pointer.c' source_filename = "AnghaBench/linux/sound/pci/extr_fm801.c_snd_fm801_playback_pointer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FM801_START = common local_unnamed_addr global i32 0, align 4 @PLY_COUNT = common local_unnamed_addr global i32 0, align 4 @IRQ_STATUS = common local_unnamed_addr global i32 0, align 4 @FM801_IRQ_PLAYBACK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_fm801_playback_pointer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_fm801_playback_pointer(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @FM801_START, align 4, !tbaa !12 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 br i1 %6, label %37, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %2, i64 24 %9 = tail call i32 @spin_lock(ptr noundef nonnull %8) #2 %10 = getelementptr inbounds i8, ptr %2, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = getelementptr inbounds i8, ptr %2, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = load i32, ptr @PLY_COUNT, align 4, !tbaa !12 %15 = tail call i32 @fm801_readw(ptr noundef nonnull %2, i32 noundef %14) #2 %16 = add i32 %11, -1 %17 = add i32 %16, %13 %18 = sub i32 %17, %15 %19 = sext i32 %18 to i64 %20 = load i32, ptr @IRQ_STATUS, align 4, !tbaa !12 %21 = tail call i32 @fm801_readw(ptr noundef nonnull %2, i32 noundef %20) #2 %22 = load i32, ptr @FM801_IRQ_PLAYBACK, align 4, !tbaa !12 %23 = and i32 %22, %21 %24 = icmp eq i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %7 %26 = load i32, ptr %12, align 8, !tbaa !14 %27 = sext i32 %26 to i64 %28 = add nsw i64 %27, %19 %29 = getelementptr inbounds i8, ptr %2, i64 16 %30 = load i64, ptr %29, align 8, !tbaa !15 %31 = urem i64 %28, %30 br label %32 32: ; preds = %25, %7 %33 = phi i64 [ %31, %25 ], [ %19, %7 ] %34 = tail call i32 @spin_unlock(ptr noundef nonnull %8) #2 %35 = load i32, ptr %0, align 4, !tbaa !16 %36 = tail call i32 @bytes_to_frames(i32 noundef %35, i64 noundef %33) #2 br label %37 37: ; preds = %1, %32 %38 = phi i32 [ %36, %32 ], [ 0, %1 ] ret i32 %38 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @fm801_readw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @bytes_to_frames(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 = !{!"fm801", !8, i64 0, !8, i64 4, !8, 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 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!7, !8, i64 8} !15 = !{!7, !11, i64 16} !16 = !{!17, !8, i64 0} !17 = !{!"snd_pcm_substream", !8, i64 0}
linux_sound_pci_extr_fm801.c_snd_fm801_playback_pointer
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_tree.c_FreeTree_r.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_tree.c_FreeTree_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, i64, i32, ptr } @PLANENUM_LEAF = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @FreeTree_r(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !12 %4 = icmp eq i64 %2, %3 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load ptr, ptr %7, align 8, !tbaa !14 tail call void @FreeTree_r(ptr noundef %8) %9 = load ptr, ptr %6, align 8, !tbaa !13 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8, !tbaa !14 tail call void @FreeTree_r(ptr noundef %11) br label %12 12: ; preds = %5, %1 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = tail call i32 @FreeBrushList(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %12 %20 = tail call i32 @FreeBrush(i64 noundef %17) #2 br label %21 21: ; preds = %19, %12 %22 = tail call i32 @free(ptr noundef nonnull %0) #2 ret void } declare i32 @FreeBrushList(i32 noundef) local_unnamed_addr #1 declare i32 @FreeBrush(i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !10, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !11, i64 24} !14 = !{!11, !11, i64 0} !15 = !{!6, !10, i64 16} !16 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_tree.c_FreeTree_r.c' source_filename = "AnghaBench/lab/q3map2/q3map2/extr_tree.c_FreeTree_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PLANENUM_LEAF = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @FreeTree_r(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !13 %4 = icmp eq i64 %2, %3 br i1 %4, label %12, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = load ptr, ptr %7, align 8, !tbaa !15 tail call void @FreeTree_r(ptr noundef %8) %9 = load ptr, ptr %6, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !15 tail call void @FreeTree_r(ptr noundef %11) br label %12 12: ; preds = %5, %1 %13 = getelementptr inbounds i8, ptr %0, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = tail call i32 @FreeBrushList(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = icmp eq i64 %17, 0 br i1 %18, label %21, label %19 19: ; preds = %12 %20 = tail call i32 @FreeBrush(i64 noundef %17) #2 br label %21 21: ; preds = %19, %12 %22 = tail call i32 @free(ptr noundef nonnull %0) #2 ret void } declare i32 @FreeBrushList(i32 noundef) local_unnamed_addr #1 declare i32 @FreeBrush(i64 noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !11, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !12, i64 24} !15 = !{!12, !12, i64 0} !16 = !{!7, !11, i64 16} !17 = !{!7, !8, i64 8}
lab_q3map2_q3map2_extr_tree.c_FreeTree_r
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mad.c_mlx5_query_mad_ifc_node_desc.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mad.c_mlx5_query_mad_ifc_node_desc.c" target datalayout = "e-m:e-p270:32:32-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.ib_smp = type { i32, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @IB_SMP_ATTR_NODE_DESC = dso_local local_unnamed_addr global i32 0, align 4 @IB_DEVICE_NODE_DESC_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlx5_query_mad_ifc_node_desc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %4 = sub nsw i32 0, %3 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %5) #2 %7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %8 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %7) #2 %9 = icmp ne ptr %6, null %10 = icmp ne ptr %8, null %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %12, label %22 12: ; preds = %2 %13 = tail call i32 @init_query_mad(ptr noundef nonnull %6) #2 %14 = load i32, ptr @IB_SMP_ATTR_NODE_DESC, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.ib_smp, ptr %6, i64 0, i32 1 store i32 %14, ptr %15, align 4, !tbaa !9 %16 = tail call i32 @mlx5_MAD_IFC(ptr noundef %0, i32 noundef 1, i32 noundef 1, i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef nonnull %8) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %12 %19 = load i32, ptr %8, align 4, !tbaa !11 %20 = load i32, ptr @IB_DEVICE_NODE_DESC_MAX, align 4, !tbaa !5 %21 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %19, i32 noundef %20) #2 br label %22 22: ; preds = %12, %2, %18 %23 = phi i32 [ %16, %12 ], [ 0, %18 ], [ %4, %2 ] %24 = tail call i32 @kfree(ptr noundef %6) #2 %25 = tail call i32 @kfree(ptr noundef %8) #2 ret i32 %23 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_query_mad(ptr noundef) local_unnamed_addr #1 declare i32 @mlx5_MAD_IFC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"ib_smp", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mad.c_mlx5_query_mad_ifc_node_desc.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_mad.c_mlx5_query_mad_ifc_node_desc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @IB_SMP_ATTR_NODE_DESC = common local_unnamed_addr global i32 0, align 4 @IB_DEVICE_NODE_DESC_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mlx5_query_mad_ifc_node_desc(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %4 = sub nsw i32 0, %3 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @kzalloc(i32 noundef 8, i32 noundef %5) #2 %7 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %8 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %7) #2 %9 = icmp ne ptr %6, null %10 = icmp ne ptr %8, null %11 = select i1 %9, i1 %10, i1 false br i1 %11, label %12, label %22 12: ; preds = %2 %13 = tail call i32 @init_query_mad(ptr noundef nonnull %6) #2 %14 = load i32, ptr @IB_SMP_ATTR_NODE_DESC, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %6, i64 4 store i32 %14, ptr %15, align 4, !tbaa !10 %16 = tail call i32 @mlx5_MAD_IFC(ptr noundef %0, i32 noundef 1, i32 noundef 1, i32 noundef 1, ptr noundef null, ptr noundef null, ptr noundef nonnull %6, ptr noundef nonnull %8) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %12 %19 = load i32, ptr %8, align 4, !tbaa !12 %20 = load i32, ptr @IB_DEVICE_NODE_DESC_MAX, align 4, !tbaa !6 %21 = tail call i32 @memcpy(ptr noundef %1, i32 noundef %19, i32 noundef %20) #2 br label %22 22: ; preds = %12, %2, %18 %23 = phi i32 [ %16, %12 ], [ 0, %18 ], [ %4, %2 ] %24 = tail call i32 @kfree(ptr noundef %6) #2 %25 = tail call i32 @kfree(ptr noundef %8) #2 ret i32 %23 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_query_mad(ptr noundef) local_unnamed_addr #1 declare i32 @mlx5_MAD_IFC(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"ib_smp", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
linux_drivers_infiniband_hw_mlx5_extr_mad.c_mlx5_query_mad_ifc_node_desc
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_mach_loader.c_load_main.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_mach_loader.c_load_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.entry_point_command = type { i32, i64 } %struct.TYPE_3__ = type { i64, i64, ptr, ptr, ptr, i32, i32, i64, i64 } @LOAD_BADMACHO = dso_local local_unnamed_addr global i32 0, align 4 @LOAD_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @THREAD_NULL = dso_local local_unnamed_addr global i64 0, align 8 @LOAD_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @MAXSSIZ = dso_local local_unnamed_addr global i64 0, align 8 @KERN_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @MACH_VM_MIN_ADDRESS = dso_local local_unnamed_addr global i64 0, align 8 @TRUE = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_main], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @load_main(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %0, align 8, !tbaa !5 %7 = icmp ult i32 %6, 16 br i1 %7, label %63, label %8 8: ; preds = %4 %9 = load i64, ptr %3, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %63 11: ; preds = %8 %12 = load i64, ptr @THREAD_NULL, align 8, !tbaa !14 %13 = icmp eq i64 %12, %1 br i1 %13, label %63, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.entry_point_command, ptr %0, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = icmp eq i64 %16, 0 br i1 %17, label %30, label %18 18: ; preds = %14 %19 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16 %20 = shl nsw i32 %19, 2 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 8 %22 = tail call i64 @os_add_overflow(i64 noundef %16, i32 noundef %20, ptr noundef nonnull %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %63 24: ; preds = %18 %25 = load i64, ptr %15, align 8, !tbaa !15 store i64 %25, ptr %21, align 8, !tbaa !17 %26 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !16 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 7 %28 = tail call i64 @os_add_overflow(i64 noundef %25, i32 noundef %26, ptr noundef nonnull %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %63 30: ; preds = %14 %31 = load i64, ptr @MAXSSIZ, align 8, !tbaa !14 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 7 store i64 %31, ptr %32, align 8, !tbaa !18 br label %33 33: ; preds = %24, %30 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 6 %35 = load i32, ptr %34, align 4, !tbaa !19 %36 = call i64 @thread_userstackdefault(ptr noundef nonnull %5, i32 noundef %35) #3 %37 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !14 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %63 39: ; preds = %33 %40 = load i32, ptr %5, align 4, !tbaa !16 %41 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 5 %42 = trunc i64 %2 to i32 %43 = sub i32 %40, %42 store i32 %43, ptr %41, align 8, !tbaa !20 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 3 %45 = load ptr, ptr %44, align 8, !tbaa !21 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %63 47: ; preds = %39 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 %49 = load i64, ptr %48, align 8, !tbaa !22 %50 = load i64, ptr @MACH_VM_MIN_ADDRESS, align 8, !tbaa !14 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %63 52: ; preds = %47 %53 = load ptr, ptr @TRUE, align 8, !tbaa !23 %54 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 4 store ptr %53, ptr %54, align 8, !tbaa !24 store ptr %53, ptr %44, align 8, !tbaa !21 %55 = call i64 @thread_state_initialize(i64 noundef %1) #3 %56 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !14 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %63 58: ; preds = %52 %59 = load ptr, ptr @TRUE, align 8, !tbaa !23 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 2 store ptr %59, ptr %60, align 8, !tbaa !25 %61 = load i64, ptr %3, align 8, !tbaa !11 %62 = add nsw i64 %61, 1 store i64 %62, ptr %3, align 8, !tbaa !11 br label %63 63: ; preds = %52, %39, %47, %33, %24, %18, %11, %8, %4, %58 %64 = phi ptr [ @LOAD_SUCCESS, %58 ], [ @LOAD_BADMACHO, %4 ], [ @LOAD_FAILURE, %8 ], [ @LOAD_SUCCESS, %11 ], [ @LOAD_BADMACHO, %18 ], [ @LOAD_BADMACHO, %24 ], [ @LOAD_FAILURE, %33 ], [ @LOAD_FAILURE, %47 ], [ @LOAD_FAILURE, %39 ], [ @LOAD_FAILURE, %52 ] %65 = load i32, ptr %64, align 4, !tbaa !16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_add_overflow(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @thread_userstackdefault(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @thread_state_initialize(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"entry_point_command", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_3__", !10, i64 0, !10, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !7, i64 40, !7, i64 44, !10, i64 48, !10, i64 56} !13 = !{!"any pointer", !8, i64 0} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!12, !10, i64 56} !18 = !{!12, !10, i64 48} !19 = !{!12, !7, i64 44} !20 = !{!12, !7, i64 40} !21 = !{!12, !13, i64 24} !22 = !{!12, !10, i64 8} !23 = !{!13, !13, i64 0} !24 = !{!12, !13, i64 32} !25 = !{!12, !13, i64 16}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_mach_loader.c_load_main.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_mach_loader.c_load_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOAD_BADMACHO = common local_unnamed_addr global i32 0, align 4 @LOAD_FAILURE = common local_unnamed_addr global i32 0, align 4 @THREAD_NULL = common local_unnamed_addr global i64 0, align 8 @LOAD_SUCCESS = common local_unnamed_addr global i32 0, align 4 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @MAXSSIZ = common local_unnamed_addr global i64 0, align 8 @KERN_SUCCESS = common local_unnamed_addr global i64 0, align 8 @MACH_VM_MIN_ADDRESS = common local_unnamed_addr global i64 0, align 8 @TRUE = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @load_main], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @load_main(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %0, align 8, !tbaa !6 %7 = icmp ult i32 %6, 16 br i1 %7, label %63, label %8 8: ; preds = %4 %9 = load i64, ptr %3, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %63 11: ; preds = %8 %12 = load i64, ptr @THREAD_NULL, align 8, !tbaa !15 %13 = icmp eq i64 %12, %1 br i1 %13, label %63, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp eq i64 %16, 0 br i1 %17, label %30, label %18 18: ; preds = %14 %19 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17 %20 = shl nsw i32 %19, 2 %21 = getelementptr inbounds i8, ptr %3, i64 56 %22 = tail call i64 @os_add_overflow(i64 noundef %16, i32 noundef %20, ptr noundef nonnull %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %63 24: ; preds = %18 %25 = load i64, ptr %15, align 8, !tbaa !16 store i64 %25, ptr %21, align 8, !tbaa !18 %26 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !17 %27 = getelementptr inbounds i8, ptr %3, i64 48 %28 = tail call i64 @os_add_overflow(i64 noundef %25, i32 noundef %26, ptr noundef nonnull %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %33, label %63 30: ; preds = %14 %31 = load i64, ptr @MAXSSIZ, align 8, !tbaa !15 %32 = getelementptr inbounds i8, ptr %3, i64 48 store i64 %31, ptr %32, align 8, !tbaa !19 br label %33 33: ; preds = %24, %30 %34 = getelementptr inbounds i8, ptr %3, i64 44 %35 = load i32, ptr %34, align 4, !tbaa !20 %36 = call i64 @thread_userstackdefault(ptr noundef nonnull %5, i32 noundef %35) #3 %37 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !15 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %63 39: ; preds = %33 %40 = load i32, ptr %5, align 4, !tbaa !17 %41 = getelementptr inbounds i8, ptr %3, i64 40 %42 = trunc i64 %2 to i32 %43 = sub i32 %40, %42 store i32 %43, ptr %41, align 8, !tbaa !21 %44 = getelementptr inbounds i8, ptr %3, i64 24 %45 = load ptr, ptr %44, align 8, !tbaa !22 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %63 47: ; preds = %39 %48 = getelementptr inbounds i8, ptr %3, i64 8 %49 = load i64, ptr %48, align 8, !tbaa !23 %50 = load i64, ptr @MACH_VM_MIN_ADDRESS, align 8, !tbaa !15 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %63 52: ; preds = %47 %53 = load ptr, ptr @TRUE, align 8, !tbaa !24 %54 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %53, ptr %54, align 8, !tbaa !25 store ptr %53, ptr %44, align 8, !tbaa !22 %55 = call i64 @thread_state_initialize(i64 noundef %1) #3 %56 = load i64, ptr @KERN_SUCCESS, align 8, !tbaa !15 %57 = icmp eq i64 %55, %56 br i1 %57, label %58, label %63 58: ; preds = %52 %59 = load ptr, ptr @TRUE, align 8, !tbaa !24 %60 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %59, ptr %60, align 8, !tbaa !26 %61 = load i64, ptr %3, align 8, !tbaa !12 %62 = add nsw i64 %61, 1 store i64 %62, ptr %3, align 8, !tbaa !12 br label %63 63: ; preds = %52, %39, %47, %33, %24, %18, %11, %8, %4, %58 %64 = phi ptr [ @LOAD_SUCCESS, %58 ], [ @LOAD_BADMACHO, %4 ], [ @LOAD_FAILURE, %8 ], [ @LOAD_SUCCESS, %11 ], [ @LOAD_BADMACHO, %18 ], [ @LOAD_BADMACHO, %24 ], [ @LOAD_FAILURE, %33 ], [ @LOAD_FAILURE, %47 ], [ @LOAD_FAILURE, %39 ], [ @LOAD_FAILURE, %52 ] %65 = load i32, ptr %64, align 4, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @os_add_overflow(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @thread_userstackdefault(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @thread_state_initialize(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"entry_point_command", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0, !11, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !8, i64 40, !8, i64 44, !11, i64 48, !11, i64 56} !14 = !{!"any pointer", !9, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!13, !11, i64 56} !19 = !{!13, !11, i64 48} !20 = !{!13, !8, i64 44} !21 = !{!13, !8, i64 40} !22 = !{!13, !14, i64 24} !23 = !{!13, !11, i64 8} !24 = !{!14, !14, i64 0} !25 = !{!13, !14, i64 32} !26 = !{!13, !14, i64 16}
darwin-xnu_bsd_kern_extr_mach_loader.c_load_main
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-kvm.c_exit_event_get_key.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-kvm.c_exit_event_get_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.event_key = type { i32, i64 } @.str = private unnamed_addr constant [12 x i8] c"exit_reason\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @exit_event_get_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @exit_event_get_key(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds %struct.event_key, ptr %2, i64 0, i32 1 store i64 0, ptr %4, align 8, !tbaa !5 %5 = tail call i32 @perf_evsel__intval(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #2 store i32 %5, ptr %2, align 8, !tbaa !11 ret void } declare i32 @perf_evsel__intval(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"event_key", !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, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-kvm.c_exit_event_get_key.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-kvm.c_exit_event_get_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [12 x i8] c"exit_reason\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @exit_event_get_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @exit_event_get_key(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %4, align 8, !tbaa !6 %5 = tail call i32 @perf_evsel__intval(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #2 store i32 %5, ptr %2, align 8, !tbaa !12 ret void } declare i32 @perf_evsel__intval(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"event_key", !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, !8, i64 0}
fastsocket_kernel_tools_perf_extr_builtin-kvm.c_exit_event_get_key
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-ptm/src/extr_ifxmips_ptm_vdsl.c_ptm_stop.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-ptm/src/extr_ifxmips_ptm_vdsl.c_ptm_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr } @g_net_dev = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"incorrect device\00", align 1 @MBOX_IGU1_IER = dso_local local_unnamed_addr global i32 0, align 4 @g_ptm_priv_data = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ptm_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ptm_stop(ptr noundef %0) #0 { %2 = load ptr, ptr @g_net_dev, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @MBOX_IGU1_IER, align 4, !tbaa !9 %8 = tail call i32 @IFX_REG_W32_MASK(i32 noundef 131073, i32 noundef 0, i32 noundef %7) #2 %9 = load ptr, ptr @g_ptm_priv_data, align 8, !tbaa !11 %10 = tail call i32 @napi_disable(ptr noundef %9) #2 %11 = tail call i32 @netif_stop_queue(ptr noundef %0) #2 ret i32 0 } declare i32 @ASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IFX_REG_W32_MASK(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @napi_disable(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/openwrt/package/kernel/lantiq/ltq-ptm/src/extr_ifxmips_ptm_vdsl.c_ptm_stop.c' source_filename = "AnghaBench/openwrt/package/kernel/lantiq/ltq-ptm/src/extr_ifxmips_ptm_vdsl.c_ptm_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } @g_net_dev = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [17 x i8] c"incorrect device\00", align 1 @MBOX_IGU1_IER = common local_unnamed_addr global i32 0, align 4 @g_ptm_priv_data = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @llvm.used = appending global [1 x ptr] [ptr @ptm_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ptm_stop(ptr noundef %0) #0 { %2 = load ptr, ptr @g_net_dev, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, %0 %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = load i32, ptr @MBOX_IGU1_IER, align 4, !tbaa !10 %8 = tail call i32 @IFX_REG_W32_MASK(i32 noundef 131073, i32 noundef 0, i32 noundef %7) #2 %9 = load ptr, ptr @g_ptm_priv_data, align 8, !tbaa !12 %10 = tail call i32 @napi_disable(ptr noundef %9) #2 %11 = tail call i32 @netif_stop_queue(ptr noundef %0) #2 ret i32 0 } declare i32 @ASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @IFX_REG_W32_MASK(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @napi_disable(ptr noundef) local_unnamed_addr #1 declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
openwrt_package_kernel_lantiq_ltq-ptm_src_extr_ifxmips_ptm_vdsl.c_ptm_stop
; ModuleID = 'AnghaBench/freebsd/lib/libc/sys/extr_setcontext.c_setcontext.c' source_filename = "AnghaBench/freebsd/lib/libc/sys/extr_setcontext.c_setcontext.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__libc_interposing = dso_local local_unnamed_addr global ptr null, align 8 @INTERPOS_setcontext = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @setcontext(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @__libc_interposing, align 8, !tbaa !5 %3 = load i64, ptr @INTERPOS_setcontext, align 8, !tbaa !9 %4 = getelementptr inbounds i64, ptr %2, i64 %3 %5 = load i64, ptr %4, align 8, !tbaa !9 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 %6(ptr noundef %0) #1 ret i32 %7 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libc/sys/extr_setcontext.c_setcontext.c' source_filename = "AnghaBench/freebsd/lib/libc/sys/extr_setcontext.c_setcontext.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__libc_interposing = common local_unnamed_addr global ptr null, align 8 @INTERPOS_setcontext = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @setcontext(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @__libc_interposing, align 8, !tbaa !6 %3 = load i64, ptr @INTERPOS_setcontext, align 8, !tbaa !10 %4 = getelementptr inbounds i64, ptr %2, i64 %3 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 %6(ptr noundef %0) #1 ret i32 %7 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_lib_libc_sys_extr_setcontext.c_setcontext
; ModuleID = 'AnghaBench/linux/tools/perf/bench/extr_mem-functions.c_do_memcpy_cycles.c' source_filename = "AnghaBench/linux/tools/perf/bench/extr_mem-functions.c_do_memcpy_cycles.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @nr_loops = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_memcpy_cycles], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @do_memcpy_cycles(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i64 noundef %1) #2 %7 = tail call i32 %5(ptr noundef %3, ptr noundef %2, i64 noundef %1) #2 %8 = tail call i64 (...) @get_cycles() #2 %9 = load i32, ptr @nr_loops, align 4, !tbaa !11 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %4, %11 %12 = phi i32 [ %14, %11 ], [ 0, %4 ] %13 = tail call i32 %5(ptr noundef %3, ptr noundef %2, i64 noundef %1) #2 %14 = add nuw nsw i32 %12, 1 %15 = load i32, ptr @nr_loops, align 4, !tbaa !11 %16 = icmp slt i32 %14, %15 br i1 %16, label %11, label %17, !llvm.loop !13 17: ; preds = %11, %4 %18 = tail call i64 (...) @get_cycles() #2 %19 = sub i64 %18, %8 ret i64 %19 } declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @get_cycles(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"function", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/perf/bench/extr_mem-functions.c_do_memcpy_cycles.c' source_filename = "AnghaBench/linux/tools/perf/bench/extr_mem-functions.c_do_memcpy_cycles.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nr_loops = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_memcpy_cycles], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @do_memcpy_cycles(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i64 noundef %1) #2 %7 = tail call i32 %5(ptr noundef %3, ptr noundef %2, i64 noundef %1) #2 %8 = tail call i64 @get_cycles() #2 %9 = load i32, ptr @nr_loops, align 4, !tbaa !12 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %4, %11 %12 = phi i32 [ %14, %11 ], [ 0, %4 ] %13 = tail call i32 %5(ptr noundef %3, ptr noundef %2, i64 noundef %1) #2 %14 = add nuw nsw i32 %12, 1 %15 = load i32, ptr @nr_loops, align 4, !tbaa !12 %16 = icmp slt i32 %14, %15 br i1 %16, label %11, label %17, !llvm.loop !14 17: ; preds = %11, %4 %18 = tail call i64 @get_cycles() #2 %19 = sub i64 %18, %8 ret i64 %19 } declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @get_cycles(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"function", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_tools_perf_bench_extr_mem-functions.c_do_memcpy_cycles
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_qoriq_gpio.c_qoriq_gpio_pin_max.c' source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_qoriq_gpio.c_qoriq_gpio_pin_max.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXPIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qoriq_gpio_pin_max], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @qoriq_gpio_pin_max(i32 %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @MAXPIN, align 4, !tbaa !5 store i32 %3, ptr %1, align 4, !tbaa !5 ret i32 0 } 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"}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_qoriq_gpio.c_qoriq_gpio_pin_max.c' source_filename = "AnghaBench/freebsd/sys/powerpc/mpc85xx/extr_qoriq_gpio.c_qoriq_gpio_pin_max.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXPIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qoriq_gpio_pin_max], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @qoriq_gpio_pin_max(i32 %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @MAXPIN, align 4, !tbaa !6 store i32 %3, ptr %1, align 4, !tbaa !6 ret i32 0 } 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"}
freebsd_sys_powerpc_mpc85xx_extr_qoriq_gpio.c_qoriq_gpio_pin_max
; ModuleID = 'AnghaBench/libgit2/src/extr_refs.c_git_reference__update_terminal.c' source_filename = "AnghaBench/libgit2/src/extr_refs.c_git_reference__update_terminal.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_7__ } %struct.TYPE_7__ = type { ptr, i32 } @GIT_ENOTFOUND = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REFERENCE_SYMBOLIC = dso_local local_unnamed_addr global i64 0, align 8 @GIT_REFERENCE_DIRECT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @git_reference__update_terminal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !5 %9 = icmp eq ptr %3, null br i1 %9, label %10, label %15 10: ; preds = %5 %11 = call i32 @git_reference__log_signature(ptr noundef nonnull %8, ptr noundef %0) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %58, label %13 13: ; preds = %10 %14 = load ptr, ptr %8, align 8 br label %15 15: ; preds = %13, %5 %16 = phi ptr [ %14, %13 ], [ %3, %5 ] %17 = call i32 @get_terminal(ptr noundef nonnull %6, ptr noundef %0, ptr noundef %1, i32 noundef 0) #3 %18 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !9 %19 = icmp eq i32 %17, %18 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null %22 = select i1 %19, i1 %21, i1 false br i1 %22, label %23, label %34 23: ; preds = %15 %24 = call i64 @git_reference_type(ptr noundef nonnull %20) #3 %25 = load i64, ptr @GIT_REFERENCE_SYMBOLIC, align 8, !tbaa !11 %26 = icmp eq i64 %24, %25 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) #3 %29 = call i32 (...) @git_error_clear() #3 %30 = load ptr, ptr %6, align 8, !tbaa !5 %31 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 0, i32 1 %32 = load ptr, ptr %31, align 8, !tbaa !13 %33 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %32, ptr noundef %2, ptr noundef null, i32 noundef 0, ptr noundef %16, ptr noundef %4, ptr noundef null, ptr noundef null) #3 br label %50 34: ; preds = %15 br i1 %19, label %35, label %38 35: ; preds = %34 %36 = call i32 (...) @git_error_clear() #3 %37 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 0, ptr noundef %16, ptr noundef %4, ptr noundef null, ptr noundef null) #3 br label %50 38: ; preds = %34 %39 = icmp eq i32 %17, 0 br i1 %39, label %40, label %50 40: ; preds = %38 %41 = call i64 @git_reference_type(ptr noundef %20) #3 %42 = load i64, ptr @GIT_REFERENCE_DIRECT, align 8, !tbaa !11 %43 = icmp eq i64 %41, %42 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) #3 %46 = load ptr, ptr %6, align 8, !tbaa !5 %47 = load ptr, ptr %46, align 8, !tbaa !16 %48 = getelementptr inbounds %struct.TYPE_8__, ptr %46, i64 0, i32 1, i32 1 %49 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %47, ptr noundef %2, ptr noundef null, i32 noundef 1, ptr noundef %16, ptr noundef %4, ptr noundef nonnull %48, ptr noundef null) #3 br label %50 50: ; preds = %35, %40, %38, %23 %51 = phi i32 [ %33, %23 ], [ %37, %35 ], [ %49, %40 ], [ %17, %38 ] %52 = load ptr, ptr %7, align 8, !tbaa !5 %53 = call i32 @git_reference_free(ptr noundef %52) #3 %54 = load ptr, ptr %6, align 8, !tbaa !5 %55 = call i32 @git_reference_free(ptr noundef %54) #3 %56 = load ptr, ptr %8, align 8, !tbaa !5 %57 = call i32 @git_signature_free(ptr noundef %56) #3 br label %58 58: ; preds = %10, %50 %59 = phi i32 [ %51, %50 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @git_reference__log_signature(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_terminal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @git_reference_type(ptr noundef) local_unnamed_addr #2 declare i32 @git_error_clear(...) local_unnamed_addr #2 declare i32 @reference__create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_signature_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"TYPE_8__", !6, i64 0, !15, i64 8} !15 = !{!"TYPE_7__", !6, i64 0, !10, i64 8} !16 = !{!14, !6, i64 0}
; ModuleID = 'AnghaBench/libgit2/src/extr_refs.c_git_reference__update_terminal.c' source_filename = "AnghaBench/libgit2/src/extr_refs.c_git_reference__update_terminal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GIT_ENOTFOUND = common local_unnamed_addr global i32 0, align 4 @GIT_REFERENCE_SYMBOLIC = common local_unnamed_addr global i64 0, align 8 @GIT_REFERENCE_DIRECT = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @git_reference__update_terminal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 store ptr null, ptr %7, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !6 %9 = icmp eq ptr %3, null br i1 %9, label %10, label %15 10: ; preds = %5 %11 = call i32 @git_reference__log_signature(ptr noundef nonnull %8, ptr noundef %0) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %58, label %13 13: ; preds = %10 %14 = load ptr, ptr %8, align 8 br label %15 15: ; preds = %13, %5 %16 = phi ptr [ %14, %13 ], [ %3, %5 ] %17 = call i32 @get_terminal(ptr noundef nonnull %6, ptr noundef %0, ptr noundef %1, i32 noundef 0) #3 %18 = load i32, ptr @GIT_ENOTFOUND, align 4, !tbaa !10 %19 = icmp eq i32 %17, %18 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null %22 = select i1 %19, i1 %21, i1 false br i1 %22, label %23, label %34 23: ; preds = %15 %24 = call i64 @git_reference_type(ptr noundef nonnull %20) #3 %25 = load i64, ptr @GIT_REFERENCE_SYMBOLIC, align 8, !tbaa !12 %26 = icmp eq i64 %24, %25 %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) #3 %29 = call i32 @git_error_clear() #3 %30 = load ptr, ptr %6, align 8, !tbaa !6 %31 = getelementptr inbounds i8, ptr %30, i64 8 %32 = load ptr, ptr %31, align 8, !tbaa !14 %33 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %32, ptr noundef %2, ptr noundef null, i32 noundef 0, ptr noundef %16, ptr noundef %4, ptr noundef null, ptr noundef null) #3 br label %50 34: ; preds = %15 br i1 %19, label %35, label %38 35: ; preds = %34 %36 = call i32 @git_error_clear() #3 %37 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef null, i32 noundef 0, ptr noundef %16, ptr noundef %4, ptr noundef null, ptr noundef null) #3 br label %50 38: ; preds = %34 %39 = icmp eq i32 %17, 0 br i1 %39, label %40, label %50 40: ; preds = %38 %41 = call i64 @git_reference_type(ptr noundef %20) #3 %42 = load i64, ptr @GIT_REFERENCE_DIRECT, align 8, !tbaa !12 %43 = icmp eq i64 %41, %42 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) #3 %46 = load ptr, ptr %6, align 8, !tbaa !6 %47 = load ptr, ptr %46, align 8, !tbaa !17 %48 = getelementptr inbounds i8, ptr %46, i64 16 %49 = call i32 @reference__create(ptr noundef nonnull %7, ptr noundef %0, ptr noundef %47, ptr noundef %2, ptr noundef null, i32 noundef 1, ptr noundef %16, ptr noundef %4, ptr noundef nonnull %48, ptr noundef null) #3 br label %50 50: ; preds = %35, %40, %38, %23 %51 = phi i32 [ %33, %23 ], [ %37, %35 ], [ %49, %40 ], [ %17, %38 ] %52 = load ptr, ptr %7, align 8, !tbaa !6 %53 = call i32 @git_reference_free(ptr noundef %52) #3 %54 = load ptr, ptr %6, align 8, !tbaa !6 %55 = call i32 @git_reference_free(ptr noundef %54) #3 %56 = load ptr, ptr %8, align 8, !tbaa !6 %57 = call i32 @git_signature_free(ptr noundef %56) #3 br label %58 58: ; preds = %10, %50 %59 = phi i32 [ %51, %50 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @git_reference__log_signature(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_terminal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @git_reference_type(ptr noundef) local_unnamed_addr #2 declare i32 @git_error_clear(...) local_unnamed_addr #2 declare i32 @reference__create(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_signature_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_8__", !7, i64 0, !16, i64 8} !16 = !{!"TYPE_7__", !7, i64 0, !11, i64 8} !17 = !{!15, !7, i64 0}
libgit2_src_extr_refs.c_git_reference__update_terminal
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_expand_set.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_expand_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @image_transform_png_set_expand_set], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @image_transform_png_set_expand_set(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @png_set_expand(i32 noundef %2) #2 %6 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %4 store i32 1, ptr %1, align 8, !tbaa !12 br label %10 10: ; preds = %9, %4 %11 = load ptr, ptr %0, align 8, !tbaa !13 %12 = load ptr, ptr %11, align 8, !tbaa !16 %13 = tail call i32 %12(ptr noundef nonnull %11, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @png_set_expand(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"TYPE_9__", !7, i64 0} !7 = !{!"TYPE_8__", !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 = !{!6, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_11__", !15, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_expand_set.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_expand_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @image_transform_png_set_expand_set], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @image_transform_png_set_expand_set(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @png_set_expand(i32 noundef %2) #2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %4 store i32 1, ptr %1, align 8, !tbaa !13 br label %10 10: ; preds = %9, %4 %11 = load ptr, ptr %0, align 8, !tbaa !14 %12 = load ptr, ptr %11, align 8, !tbaa !17 %13 = tail call i32 %12(ptr noundef nonnull %11, ptr noundef nonnull %1, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @png_set_expand(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"TYPE_9__", !8, i64 0} !8 = !{!"TYPE_8__", !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 = !{!7, !9, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"any pointer", !10, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_11__", !16, i64 0}
Provenance_Cores_Mupen64Plus_png_contrib_libtests_extr_pngvalid.c_image_transform_png_set_expand_set
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_virtio_scsi.c_virtscsi_map_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_virtio_scsi.c_virtscsi_map_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.virtio_scsi_cmd = type { i32, i32, ptr } %struct.scatterlist = type { i32 } @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i64 0, align 8 @DMA_TO_DEVICE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @virtscsi_map_cmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @virtscsi_map_cmd(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = getelementptr inbounds %struct.virtio_scsi_cmd, ptr %1, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load ptr, ptr %0, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 1, ptr %7, align 4, !tbaa !13 %11 = getelementptr inbounds %struct.virtio_scsi_cmd, ptr %1, i64 0, i32 1 %12 = tail call i32 @sg_set_buf(ptr noundef %10, ptr noundef nonnull %11, i64 noundef %4) #3 %13 = icmp eq ptr %9, null br i1 %13, label %34, label %14 14: ; preds = %6 %15 = load i64, ptr %9, align 8, !tbaa !14 %16 = load i64, ptr @DMA_FROM_DEVICE, align 8, !tbaa !17 %17 = icmp eq i64 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = tail call i32 @scsi_out(ptr noundef nonnull %9) #3 %20 = call i32 @virtscsi_map_sgl(ptr noundef %10, ptr noundef nonnull %7, i32 noundef %19) #3 %21 = load i32, ptr %7, align 4, !tbaa !13 br label %22 22: ; preds = %14, %18 %23 = phi i32 [ 1, %14 ], [ %21, %18 ] store i32 %23, ptr %2, align 4, !tbaa !13 %24 = add i32 %23, 1 store i32 %24, ptr %7, align 4, !tbaa !13 %25 = zext i32 %23 to i64 %26 = getelementptr inbounds %struct.scatterlist, ptr %10, i64 %25 %27 = call i32 @sg_set_buf(ptr noundef %26, ptr noundef nonnull %1, i64 noundef %5) #3 %28 = load i64, ptr %9, align 8, !tbaa !14 %29 = load i64, ptr @DMA_TO_DEVICE, align 8, !tbaa !17 %30 = icmp eq i64 %28, %29 br i1 %30, label %37, label %31 31: ; preds = %22 %32 = call i32 @scsi_in(ptr noundef nonnull %9) #3 %33 = call i32 @virtscsi_map_sgl(ptr noundef %10, ptr noundef nonnull %7, i32 noundef %32) #3 br label %37 34: ; preds = %6 store i32 1, ptr %2, align 4, !tbaa !13 store i32 2, ptr %7, align 4, !tbaa !13 %35 = getelementptr inbounds %struct.scatterlist, ptr %10, i64 1 %36 = tail call i32 @sg_set_buf(ptr noundef nonnull %35, ptr noundef nonnull %1, i64 noundef %5) #3 br label %37 37: ; preds = %34, %31, %22 %38 = load i32, ptr %7, align 4, !tbaa !13 %39 = load i32, ptr %2, align 4, !tbaa !13 %40 = sub i32 %38, %39 store i32 %40, ptr %3, align 4, !tbaa !13 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #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 @sg_set_buf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @virtscsi_map_sgl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @scsi_out(ptr noundef) local_unnamed_addr #2 declare i32 @scsi_in(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, !10, i64 8} !6 = !{!"virtio_scsi_cmd", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"virtio_scsi_target_state", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"scsi_cmnd", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_virtio_scsi.c_virtscsi_map_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_virtio_scsi.c_virtscsi_map_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.scatterlist = type { i32 } @DMA_FROM_DEVICE = common local_unnamed_addr global i64 0, align 8 @DMA_TO_DEVICE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @virtscsi_map_cmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @virtscsi_map_cmd(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load ptr, ptr %0, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 1, ptr %7, align 4, !tbaa !14 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = tail call i32 @sg_set_buf(ptr noundef %10, ptr noundef nonnull %11, i64 noundef %4) #3 %13 = icmp eq ptr %9, null br i1 %13, label %34, label %14 14: ; preds = %6 %15 = load i64, ptr %9, align 8, !tbaa !15 %16 = load i64, ptr @DMA_FROM_DEVICE, align 8, !tbaa !18 %17 = icmp eq i64 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = tail call i32 @scsi_out(ptr noundef nonnull %9) #3 %20 = call i32 @virtscsi_map_sgl(ptr noundef %10, ptr noundef nonnull %7, i32 noundef %19) #3 %21 = load i32, ptr %7, align 4, !tbaa !14 br label %22 22: ; preds = %14, %18 %23 = phi i32 [ 1, %14 ], [ %21, %18 ] store i32 %23, ptr %2, align 4, !tbaa !14 %24 = add i32 %23, 1 store i32 %24, ptr %7, align 4, !tbaa !14 %25 = zext i32 %23 to i64 %26 = getelementptr inbounds %struct.scatterlist, ptr %10, i64 %25 %27 = call i32 @sg_set_buf(ptr noundef %26, ptr noundef nonnull %1, i64 noundef %5) #3 %28 = load i64, ptr %9, align 8, !tbaa !15 %29 = load i64, ptr @DMA_TO_DEVICE, align 8, !tbaa !18 %30 = icmp eq i64 %28, %29 br i1 %30, label %37, label %31 31: ; preds = %22 %32 = call i32 @scsi_in(ptr noundef nonnull %9) #3 %33 = call i32 @virtscsi_map_sgl(ptr noundef %10, ptr noundef nonnull %7, i32 noundef %32) #3 br label %37 34: ; preds = %6 store i32 1, ptr %2, align 4, !tbaa !14 store i32 2, ptr %7, align 4, !tbaa !14 %35 = getelementptr inbounds i8, ptr %10, i64 4 %36 = tail call i32 @sg_set_buf(ptr noundef nonnull %35, ptr noundef nonnull %1, i64 noundef %5) #3 br label %37 37: ; preds = %34, %31, %22 %38 = load i32, ptr %7, align 4, !tbaa !14 %39 = load i32, ptr %2, align 4, !tbaa !14 %40 = sub i32 %38, %39 store i32 %40, ptr %3, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #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 @sg_set_buf(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @virtscsi_map_sgl(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @scsi_out(ptr noundef) local_unnamed_addr #2 declare i32 @scsi_in(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, !11, i64 8} !7 = !{!"virtio_scsi_cmd", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"virtio_scsi_target_state", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"scsi_cmnd", !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!17, !17, i64 0}
fastsocket_kernel_drivers_scsi_extr_virtio_scsi.c_virtscsi_map_cmd
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_queue.c_queue_initialise.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_queue.c_queue_initialise.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { ptr, i32, i32, i32 } %struct.TYPE_7__ = type { i32, ptr } @NR_QE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @QUEUE_MAGIC_FREE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @queue_initialise(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @NR_QE, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3 %4 = tail call i32 @spin_lock_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #2 %9 = shl i32 %2, 4 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %11 = tail call ptr @kmalloc(i32 noundef %9, i32 noundef %10) #2 store ptr %11, ptr %0, align 8, !tbaa !9 %12 = icmp ne ptr %11, null %13 = icmp ne i32 %2, 0 %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %15, label %27 15: ; preds = %1, %15 %16 = phi i32 [ %23, %15 ], [ %2, %1 ] %17 = phi ptr [ %22, %15 ], [ %11, %1 ] %18 = load i32, ptr @QUEUE_MAGIC_FREE, align 4, !tbaa !5 %19 = tail call i32 @SET_MAGIC(ptr noundef nonnull %17, i32 noundef %18) #2 %20 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 0, i32 1 store ptr null, ptr %20, align 8, !tbaa !12 %21 = tail call i32 @list_add(ptr noundef nonnull %17, ptr noundef nonnull %7) #2 %22 = getelementptr inbounds %struct.TYPE_7__, ptr %17, i64 1 %23 = add i32 %16, -1 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %15 25: ; preds = %15 %26 = load ptr, ptr %0, align 8, !tbaa !9 br label %27 27: ; preds = %25, %1 %28 = phi ptr [ %26, %25 ], [ %11, %1 ] %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 ret i32 %30 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_MAGIC(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_7__", !6, i64 0, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_queue.c_queue_initialise.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/arm/extr_queue.c_queue_initialise.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NR_QE = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @QUEUE_MAGIC_FREE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @queue_initialise(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @NR_QE, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = tail call i32 @spin_lock_init(ptr noundef nonnull %3) #2 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %7) #2 %9 = shl i32 %2, 4 %10 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %11 = tail call ptr @kmalloc(i32 noundef %9, i32 noundef %10) #2 store ptr %11, ptr %0, align 8, !tbaa !10 %12 = icmp ne ptr %11, null %13 = icmp ne i32 %2, 0 %14 = select i1 %12, i1 %13, i1 false br i1 %14, label %15, label %27 15: ; preds = %1, %15 %16 = phi i32 [ %23, %15 ], [ %2, %1 ] %17 = phi ptr [ %22, %15 ], [ %11, %1 ] %18 = load i32, ptr @QUEUE_MAGIC_FREE, align 4, !tbaa !6 %19 = tail call i32 @SET_MAGIC(ptr noundef nonnull %17, i32 noundef %18) #2 %20 = getelementptr inbounds i8, ptr %17, i64 8 store ptr null, ptr %20, align 8, !tbaa !13 %21 = tail call i32 @list_add(ptr noundef nonnull %17, ptr noundef nonnull %7) #2 %22 = getelementptr inbounds i8, ptr %17, i64 16 %23 = add i32 %16, -1 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %15 25: ; preds = %15 %26 = load ptr, ptr %0, align 8, !tbaa !10 br label %27 27: ; preds = %25, %1 %28 = phi ptr [ %26, %25 ], [ %11, %1 ] %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 ret i32 %30 } declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SET_MAGIC(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_7__", !7, i64 0, !12, i64 8}
fastsocket_kernel_drivers_scsi_arm_extr_queue.c_queue_initialise
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_effect-parser.c_ep_parse_other.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_effect-parser.c_ep_parse_other.c" target datalayout = "e-m:e-p270:32:32-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 [5 x i8] c"type\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c";\00", align 1 @PARSE_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"name\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"property\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"const\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"uniform\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ep_parse_other], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ep_parse_other(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !9 %7 = call i32 @ep_get_var_specifiers(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %40, label %9 9: ; preds = %1 %10 = call i64 @cf_get_name(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %11 = load i64, ptr @PARSE_SUCCESS, align 8, !tbaa !11 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %40 13: ; preds = %9 %14 = call i64 @cf_next_name(ptr noundef %0, ptr noundef nonnull %6, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #3 %15 = load i64, ptr @PARSE_SUCCESS, align 8, !tbaa !11 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %40 17: ; preds = %13 %18 = call i32 @cf_next_valid_token(ptr noundef %0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %40, label %20 20: ; preds = %17 %21 = call i64 @cf_token_is(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %33, label %23 23: ; preds = %20 %24 = load i32, ptr %2, align 4, !tbaa !5 %25 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %24) #3 %26 = load i32, ptr %3, align 4, !tbaa !5 %27 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %26) #3 %28 = load i32, ptr %4, align 4, !tbaa !5 %29 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %28) #3 %30 = load ptr, ptr %5, align 8, !tbaa !9 %31 = load ptr, ptr %6, align 8, !tbaa !9 %32 = call i32 @ep_parse_function(ptr noundef %0, ptr noundef %30, ptr noundef %31) #3 br label %45 33: ; preds = %20 %34 = load ptr, ptr %5, align 8, !tbaa !9 %35 = load ptr, ptr %6, align 8, !tbaa !9 %36 = load i32, ptr %2, align 4, !tbaa !5 %37 = load i32, ptr %3, align 4, !tbaa !5 %38 = load i32, ptr %4, align 4, !tbaa !5 %39 = call i32 @ep_parse_param(ptr noundef %0, ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38) #3 br label %45 40: ; preds = %17, %13, %9, %1 %41 = load ptr, ptr %5, align 8, !tbaa !9 %42 = call i32 @bfree(ptr noundef %41) #3 %43 = load ptr, ptr %6, align 8, !tbaa !9 %44 = call i32 @bfree(ptr noundef %43) #3 br label %45 45: ; preds = %40, %33, %23 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 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 @ep_get_var_specifiers(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cf_get_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cf_next_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cf_next_valid_token(ptr noundef) local_unnamed_addr #2 declare i64 @cf_token_is(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @report_invalid_func_keyword(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ep_parse_function(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ep_parse_param(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/graphics/extr_effect-parser.c_ep_parse_other.c' source_filename = "AnghaBench/obs-studio/libobs/graphics/extr_effect-parser.c_ep_parse_other.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 [5 x i8] c"type\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c";\00", align 1 @PARSE_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [5 x i8] c"name\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"property\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"const\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"uniform\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ep_parse_other], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ep_parse_other(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 store i32 0, ptr %3, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 store ptr null, ptr %5, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 store ptr null, ptr %6, align 8, !tbaa !10 %7 = call i32 @ep_get_var_specifiers(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %40, label %9 9: ; preds = %1 %10 = call i64 @cf_get_name(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #3 %11 = load i64, ptr @PARSE_SUCCESS, align 8, !tbaa !12 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %40 13: ; preds = %9 %14 = call i64 @cf_next_name(ptr noundef %0, ptr noundef nonnull %6, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1) #3 %15 = load i64, ptr @PARSE_SUCCESS, align 8, !tbaa !12 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %40 17: ; preds = %13 %18 = call i32 @cf_next_valid_token(ptr noundef %0) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %40, label %20 20: ; preds = %17 %21 = call i64 @cf_token_is(ptr noundef %0, ptr noundef nonnull @.str.3) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %33, label %23 23: ; preds = %20 %24 = load i32, ptr %2, align 4, !tbaa !6 %25 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %24) #3 %26 = load i32, ptr %3, align 4, !tbaa !6 %27 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %26) #3 %28 = load i32, ptr %4, align 4, !tbaa !6 %29 = call i32 @report_invalid_func_keyword(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %28) #3 %30 = load ptr, ptr %5, align 8, !tbaa !10 %31 = load ptr, ptr %6, align 8, !tbaa !10 %32 = call i32 @ep_parse_function(ptr noundef %0, ptr noundef %30, ptr noundef %31) #3 br label %45 33: ; preds = %20 %34 = load ptr, ptr %5, align 8, !tbaa !10 %35 = load ptr, ptr %6, align 8, !tbaa !10 %36 = load i32, ptr %2, align 4, !tbaa !6 %37 = load i32, ptr %3, align 4, !tbaa !6 %38 = load i32, ptr %4, align 4, !tbaa !6 %39 = call i32 @ep_parse_param(ptr noundef %0, ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, i32 noundef %38) #3 br label %45 40: ; preds = %17, %13, %9, %1 %41 = load ptr, ptr %5, align 8, !tbaa !10 %42 = call i32 @bfree(ptr noundef %41) #3 %43 = load ptr, ptr %6, align 8, !tbaa !10 %44 = call i32 @bfree(ptr noundef %43) #3 br label %45 45: ; preds = %40, %33, %23 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 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 @ep_get_var_specifiers(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cf_get_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cf_next_name(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cf_next_valid_token(ptr noundef) local_unnamed_addr #2 declare i64 @cf_token_is(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @report_invalid_func_keyword(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ep_parse_function(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ep_parse_param(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bfree(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
obs-studio_libobs_graphics_extr_effect-parser.c_ep_parse_other
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_siena_sriov.c_efx_sriov_mac_address_changed.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_siena_sriov.c_efx_sriov_mac_address_changed.c" target datalayout = "e-m:e-p270:32:32-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.efx_nic = type { i32, ptr, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr } @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 @vfdi_workqueue = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @efx_sriov_mac_address_changed(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.efx_nic, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.efx_nic, ptr %0, i64 0, i32 3 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i32, ptr %8, align 4, !tbaa !15 %10 = getelementptr inbounds %struct.efx_nic, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !17 %12 = load i32, ptr %11, align 4, !tbaa !18 %13 = load i32, ptr @ETH_ALEN, align 4, !tbaa !20 %14 = tail call i32 @memcpy(i32 noundef %9, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @vfdi_workqueue, align 4, !tbaa !20 %16 = tail call i32 @queue_work(i32 noundef %15, ptr noundef nonnull %0) #2 br label %17 17: ; preds = %1, %5 ret void } declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"efx_nic", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_4__", !10, i64 0} !12 = !{!6, !10, i64 24} !13 = !{!14, !10, i64 0} !14 = !{!"vfdi_status", !10, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_5__", !7, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_6__", !7, i64 0} !20 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_siena_sriov.c_efx_sriov_mac_address_changed.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_siena_sriov.c_efx_sriov_mac_address_changed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 @vfdi_workqueue = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @efx_sriov_mac_address_changed(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %17, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = load i32, ptr %8, align 4, !tbaa !16 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !18 %12 = load i32, ptr %11, align 4, !tbaa !19 %13 = load i32, ptr @ETH_ALEN, align 4, !tbaa !21 %14 = tail call i32 @memcpy(i32 noundef %9, i32 noundef %12, i32 noundef %13) #2 %15 = load i32, ptr @vfdi_workqueue, align 4, !tbaa !21 %16 = tail call i32 @queue_work(i32 noundef %15, ptr noundef nonnull %0) #2 br label %17 17: ; preds = %1, %5 ret void } declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"efx_nic", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_4__", !11, i64 0} !13 = !{!7, !11, i64 24} !14 = !{!15, !11, i64 0} !15 = !{!"vfdi_status", !11, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_5__", !8, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_6__", !8, i64 0} !21 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_net_sfc_extr_siena_sriov.c_efx_sriov_mac_address_changed
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_ps_test.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_ps_test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i64, i64, i64 } @pagesizes = dso_local local_unnamed_addr global ptr null, align 8 @PS_NONE_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @PS_ALL_DIRTY = dso_local local_unnamed_addr global i32 0, align 4 @VM_PAGE_BITS_ALL = dso_local local_unnamed_addr global i64 0, align 8 @PS_ALL_VALID = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @vm_page_ps_test(ptr noundef %0, i32 noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %2, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i64, ptr %2, align 8, !tbaa !5 %8 = icmp eq i64 %7, %4 br i1 %8, label %9, label %55 9: ; preds = %6, %3 %10 = tail call i32 @VM_OBJECT_ASSERT_LOCKED(i64 noundef %4) #2 %11 = load ptr, ptr @pagesizes, align 8, !tbaa !10 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !12 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !13 %16 = tail call i32 @atop(i32 noundef %15) #2 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %55 18: ; preds = %9 %19 = zext nneg i32 %16 to i64 br label %20 20: ; preds = %18, %52 %21 = phi i64 [ 0, %18 ], [ %53, %52 ] %22 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 %21 %23 = load i64, ptr %22, align 8, !tbaa !5 %24 = icmp eq i64 %23, %4 br i1 %24, label %25, label %55 25: ; preds = %20 %26 = icmp eq ptr %22, %2 br i1 %26, label %52, label %27 27: ; preds = %25 %28 = load i32, ptr @PS_NONE_BUSY, align 4, !tbaa !13 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %27 %32 = tail call i64 @vm_page_busied(ptr noundef nonnull %22) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %55 34: ; preds = %31, %27 %35 = load i32, ptr @PS_ALL_DIRTY, align 4, !tbaa !13 %36 = and i32 %35, %1 %37 = icmp eq i32 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %34 %39 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 %21, i32 2 %40 = load i64, ptr %39, align 8, !tbaa !15 %41 = load i64, ptr @VM_PAGE_BITS_ALL, align 8, !tbaa !16 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %55 43: ; preds = %38, %34 %44 = load i32, ptr @PS_ALL_VALID, align 4, !tbaa !13 %45 = and i32 %44, %1 %46 = icmp eq i32 %45, 0 br i1 %46, label %52, label %47 47: ; preds = %43 %48 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 %21, i32 3 %49 = load i64, ptr %48, align 8, !tbaa !17 %50 = load i64, ptr @VM_PAGE_BITS_ALL, align 8, !tbaa !16 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %43, %47, %25 %53 = add nuw nsw i64 %21, 1 %54 = icmp eq i64 %53, %19 br i1 %54, label %55, label %20, !llvm.loop !18 55: ; preds = %20, %31, %38, %47, %52, %9, %6 %56 = phi i32 [ 0, %6 ], [ 1, %9 ], [ 0, %20 ], [ 0, %31 ], [ 0, %38 ], [ 0, %47 ], [ 1, %52 ] ret i32 %56 } declare i32 @VM_OBJECT_ASSERT_LOCKED(i64 noundef) local_unnamed_addr #1 declare i32 @atop(i32 noundef) local_unnamed_addr #1 declare i64 @vm_page_busied(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 8, !7, i64 16, !7, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!6, !7, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_ps_test.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_ps_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i64, i64, i64, i64 } @pagesizes = common local_unnamed_addr global ptr null, align 8 @PS_NONE_BUSY = common local_unnamed_addr global i32 0, align 4 @PS_ALL_DIRTY = common local_unnamed_addr global i32 0, align 4 @VM_PAGE_BITS_ALL = common local_unnamed_addr global i64 0, align 8 @PS_ALL_VALID = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @vm_page_ps_test(ptr noundef %0, i32 noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %2, null br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i64, ptr %2, align 8, !tbaa !6 %8 = icmp eq i64 %7, %4 br i1 %8, label %9, label %55 9: ; preds = %6, %3 %10 = tail call i32 @VM_OBJECT_ASSERT_LOCKED(i64 noundef %4) #2 %11 = load ptr, ptr @pagesizes, align 8, !tbaa !11 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = tail call i32 @atop(i32 noundef %15) #2 %17 = icmp sgt i32 %16, 0 br i1 %17, label %18, label %55 18: ; preds = %9 %19 = zext nneg i32 %16 to i64 br label %20 20: ; preds = %18, %52 %21 = phi i64 [ 0, %18 ], [ %53, %52 ] %22 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 %21 %23 = load i64, ptr %22, align 8, !tbaa !6 %24 = icmp eq i64 %23, %4 br i1 %24, label %25, label %55 25: ; preds = %20 %26 = icmp eq ptr %22, %2 br i1 %26, label %52, label %27 27: ; preds = %25 %28 = load i32, ptr @PS_NONE_BUSY, align 4, !tbaa !14 %29 = and i32 %28, %1 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %27 %32 = tail call i64 @vm_page_busied(ptr noundef nonnull %22) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %55 34: ; preds = %31, %27 %35 = load i32, ptr @PS_ALL_DIRTY, align 4, !tbaa !14 %36 = and i32 %35, %1 %37 = icmp eq i32 %36, 0 br i1 %37, label %43, label %38 38: ; preds = %34 %39 = getelementptr inbounds i8, ptr %22, i64 16 %40 = load i64, ptr %39, align 8, !tbaa !16 %41 = load i64, ptr @VM_PAGE_BITS_ALL, align 8, !tbaa !17 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %55 43: ; preds = %38, %34 %44 = load i32, ptr @PS_ALL_VALID, align 4, !tbaa !14 %45 = and i32 %44, %1 %46 = icmp eq i32 %45, 0 br i1 %46, label %52, label %47 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %22, i64 24 %49 = load i64, ptr %48, align 8, !tbaa !18 %50 = load i64, ptr @VM_PAGE_BITS_ALL, align 8, !tbaa !17 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %55 52: ; preds = %43, %47, %25 %53 = add nuw nsw i64 %21, 1 %54 = icmp eq i64 %53, %19 br i1 %54, label %55, label %20, !llvm.loop !19 55: ; preds = %20, %31, %38, %47, %52, %9, %6 %56 = phi i32 [ 0, %6 ], [ 1, %9 ], [ 0, %20 ], [ 0, %31 ], [ 0, %38 ], [ 0, %47 ], [ 1, %52 ] ret i32 %56 } declare i32 @VM_OBJECT_ASSERT_LOCKED(i64 noundef) local_unnamed_addr #1 declare i32 @atop(i32 noundef) local_unnamed_addr #1 declare i64 @vm_page_busied(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 8, !8, i64 16, !8, i64 24} !8 = !{!"long", !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} !13 = !{!7, !8, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!8, !8, i64 0} !18 = !{!7, !8, i64 24} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_sys_vm_extr_vm_page.c_vm_page_ps_test
; ModuleID = 'AnghaBench/freebsd/sys/amd64/linux/extr_linux_ptrace.c_linux_ptrace_getregs.c' source_filename = "AnghaBench/freebsd/sys/amd64/linux/extr_linux_ptrace.c_linux_ptrace_getregs.c" target datalayout = "e-m:e-p270:32:32-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.ptrace_lwpinfo = type { i32 } %struct.reg = type { i32 } %struct.linux_pt_reg = type { i32, i32, i32 } @PT_GETREGS = dso_local local_unnamed_addr global i32 0, align 4 @PT_LWPINFO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"PT_LWPINFO failed with error %d\00", align 1 @PL_FLAG_SCE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @linux_ptrace_getregs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @linux_ptrace_getregs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.ptrace_lwpinfo, align 4 %5 = alloca %struct.reg, align 4 %6 = alloca %struct.linux_pt_reg, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3 %7 = load i32, ptr @PT_GETREGS, align 4, !tbaa !5 %8 = call i32 @kern_ptrace(ptr noundef %0, i32 noundef %7, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 0) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %3 %11 = call i32 @map_regs_to_linux(ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %12 = load i32, ptr @PT_LWPINFO, align 4, !tbaa !5 %13 = call i32 @kern_ptrace(ptr noundef %0, i32 noundef %12, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %10 %16 = call i32 @linux_msg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13) #3 br label %28 17: ; preds = %10 %18 = load i32, ptr %4, align 4, !tbaa !9 %19 = load i32, ptr @PL_FLAG_SCE, align 4, !tbaa !5 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %17 store i32 -38, ptr %6, align 4, !tbaa !11 %23 = getelementptr inbounds %struct.linux_pt_reg, ptr %6, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = getelementptr inbounds %struct.linux_pt_reg, ptr %6, i64 0, i32 2 store i32 %24, ptr %25, align 4, !tbaa !14 br label %26 26: ; preds = %22, %17 %27 = call i32 @copyout(ptr noundef nonnull %6, ptr noundef %2, i32 noundef 12) #3 br label %28 28: ; preds = %3, %26, %15 %29 = phi i32 [ %13, %15 ], [ %27, %26 ], [ %8, %3 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kern_ptrace(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @map_regs_to_linux(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @linux_msg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copyout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ptrace_lwpinfo", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"linux_pt_reg", !6, i64 0, !6, i64 4, !6, i64 8} !13 = !{!12, !6, i64 4} !14 = !{!12, !6, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/linux/extr_linux_ptrace.c_linux_ptrace_getregs.c' source_filename = "AnghaBench/freebsd/sys/amd64/linux/extr_linux_ptrace.c_linux_ptrace_getregs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ptrace_lwpinfo = type { i32 } %struct.reg = type { i32 } %struct.linux_pt_reg = type { i32, i32, i32 } @PT_GETREGS = common local_unnamed_addr global i32 0, align 4 @PT_LWPINFO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"PT_LWPINFO failed with error %d\00", align 1 @PL_FLAG_SCE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @linux_ptrace_getregs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @linux_ptrace_getregs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.ptrace_lwpinfo, align 4 %5 = alloca %struct.reg, align 4 %6 = alloca %struct.linux_pt_reg, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #3 %7 = load i32, ptr @PT_GETREGS, align 4, !tbaa !6 %8 = call i32 @kern_ptrace(ptr noundef %0, i32 noundef %7, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 0) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %3 %11 = call i32 @map_regs_to_linux(ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %12 = load i32, ptr @PT_LWPINFO, align 4, !tbaa !6 %13 = call i32 @kern_ptrace(ptr noundef %0, i32 noundef %12, i32 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %10 %16 = call i32 @linux_msg(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %13) #3 br label %28 17: ; preds = %10 %18 = load i32, ptr %4, align 4, !tbaa !10 %19 = load i32, ptr @PL_FLAG_SCE, align 4, !tbaa !6 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %26, label %22 22: ; preds = %17 store i32 -38, ptr %6, align 4, !tbaa !12 %23 = getelementptr inbounds i8, ptr %6, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = getelementptr inbounds i8, ptr %6, i64 8 store i32 %24, ptr %25, align 4, !tbaa !15 br label %26 26: ; preds = %22, %17 %27 = call i32 @copyout(ptr noundef nonnull %6, ptr noundef %2, i32 noundef 12) #3 br label %28 28: ; preds = %3, %26, %15 %29 = phi i32 [ %13, %15 ], [ %27, %26 ], [ %8, %3 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %29 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kern_ptrace(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @map_regs_to_linux(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @linux_msg(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @copyout(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ptrace_lwpinfo", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"linux_pt_reg", !7, i64 0, !7, i64 4, !7, i64 8} !14 = !{!13, !7, i64 4} !15 = !{!13, !7, i64 8}
freebsd_sys_amd64_linux_extr_linux_ptrace.c_linux_ptrace_getregs
; ModuleID = 'AnghaBench/mimikatz/modules/extr_kull_m_net.c_kull_m_net_getDC.c' source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_net.c_kull_m_net_getDC.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @DS_IS_DNS_NAME = dso_local local_unnamed_addr global i64 0, align 8 @DS_RETURN_DNS_NAME = dso_local local_unnamed_addr global i64 0, align 8 @ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @LPTR = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i32] [i32 68, i32 115, i32 71, i32 101, i32 116, i32 68, i32 99, i32 78, i32 97, i32 109, i32 101, i32 58, i32 32, i32 37, i32 117, i32 10, i32 0], align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @kull_m_net_getDC(i32 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = load i32, ptr @FALSE, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !9 %6 = load i64, ptr @DS_IS_DNS_NAME, align 8, !tbaa !11 %7 = or i64 %6, %1 %8 = load i64, ptr @DS_RETURN_DNS_NAME, align 8, !tbaa !11 %9 = or i64 %7, %8 %10 = call i64 @DsGetDcName(ptr noundef null, i32 noundef %0, ptr noundef null, ptr noundef null, i64 noundef %9, ptr noundef nonnull %4) #3 %11 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %3 %14 = load ptr, ptr %4, align 8, !tbaa !9 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = add nsw i64 %15, 2 %17 = call i64 @wcslen(i64 noundef %16) #3 %18 = shl i64 %17, 2 %19 = add i64 %18, 4 %20 = load i32, ptr @LPTR, align 4, !tbaa !5 %21 = call i64 @LocalAlloc(i32 noundef %20, i64 noundef %19) #3 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %2, align 8, !tbaa !9 %23 = icmp eq i64 %21, 0 br i1 %23, label %30, label %24 24: ; preds = %13 %25 = load i32, ptr @TRUE, align 4, !tbaa !5 %26 = load ptr, ptr %4, align 8, !tbaa !9 %27 = load i64, ptr %26, align 8, !tbaa !13 %28 = add nsw i64 %27, 2 %29 = call i32 @RtlCopyMemory(ptr noundef nonnull %22, i64 noundef %28, i64 noundef %19) #3 br label %30 30: ; preds = %24, %13 %31 = phi i32 [ %25, %24 ], [ %5, %13 ] %32 = load ptr, ptr %4, align 8, !tbaa !9 %33 = call i32 @NetApiBufferFree(ptr noundef %32) #3 br label %36 34: ; preds = %3 %35 = call i32 @PRINT_ERROR(ptr noundef nonnull @.str, i64 noundef %10) #3 br label %36 36: ; preds = %34, %30 %37 = phi i32 [ %31, %30 ], [ %5, %34 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @DsGetDcName(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @wcslen(i64 noundef) local_unnamed_addr #2 declare i64 @LocalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @RtlCopyMemory(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @NetApiBufferFree(ptr noundef) local_unnamed_addr #2 declare i32 @PRINT_ERROR(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_4__", !12, i64 0}
; ModuleID = 'AnghaBench/mimikatz/modules/extr_kull_m_net.c_kull_m_net_getDC.c' source_filename = "AnghaBench/mimikatz/modules/extr_kull_m_net.c_kull_m_net_getDC.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @DS_IS_DNS_NAME = common local_unnamed_addr global i64 0, align 8 @DS_RETURN_DNS_NAME = common local_unnamed_addr global i64 0, align 8 @ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8 @LPTR = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i32] [i32 68, i32 115, i32 71, i32 101, i32 116, i32 68, i32 99, i32 78, i32 97, i32 109, i32 101, i32 58, i32 32, i32 37, i32 117, i32 10, i32 0], align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kull_m_net_getDC(i32 noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = load i32, ptr @FALSE, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !10 %6 = load i64, ptr @DS_IS_DNS_NAME, align 8, !tbaa !12 %7 = or i64 %6, %1 %8 = load i64, ptr @DS_RETURN_DNS_NAME, align 8, !tbaa !12 %9 = or i64 %7, %8 %10 = call i64 @DsGetDcName(ptr noundef null, i32 noundef %0, ptr noundef null, ptr noundef null, i64 noundef %9, ptr noundef nonnull %4) #3 %11 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %3 %14 = load ptr, ptr %4, align 8, !tbaa !10 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = add nsw i64 %15, 2 %17 = call i64 @wcslen(i64 noundef %16) #3 %18 = shl i64 %17, 2 %19 = add i64 %18, 4 %20 = load i32, ptr @LPTR, align 4, !tbaa !6 %21 = call i64 @LocalAlloc(i32 noundef %20, i64 noundef %19) #3 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %2, align 8, !tbaa !10 %23 = icmp eq i64 %21, 0 br i1 %23, label %30, label %24 24: ; preds = %13 %25 = load i32, ptr @TRUE, align 4, !tbaa !6 %26 = load ptr, ptr %4, align 8, !tbaa !10 %27 = load i64, ptr %26, align 8, !tbaa !14 %28 = add nsw i64 %27, 2 %29 = call i32 @RtlCopyMemory(ptr noundef nonnull %22, i64 noundef %28, i64 noundef %19) #3 br label %30 30: ; preds = %24, %13 %31 = phi i32 [ %25, %24 ], [ %5, %13 ] %32 = load ptr, ptr %4, align 8, !tbaa !10 %33 = call i32 @NetApiBufferFree(ptr noundef %32) #3 br label %36 34: ; preds = %3 %35 = call i32 @PRINT_ERROR(ptr noundef nonnull @.str, i64 noundef %10) #3 br label %36 36: ; preds = %34, %30 %37 = phi i32 [ %31, %30 ], [ %5, %34 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @DsGetDcName(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @wcslen(i64 noundef) local_unnamed_addr #2 declare i64 @LocalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @RtlCopyMemory(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @NetApiBufferFree(ptr noundef) local_unnamed_addr #2 declare i32 @PRINT_ERROR(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_4__", !13, i64 0}
mimikatz_modules_extr_kull_m_net.c_kull_m_net_getDC
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_tx.c_mt76_wake_tx_queue.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_tx.c_mt76_wake_tx_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.mt76_dev = type { i32, i32 } @MT76_STATE_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mt76_wake_tx_queue(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr @MT76_STATE_RUNNING, align 4, !tbaa !10 %5 = getelementptr inbounds %struct.mt76_dev, ptr %3, i64 0, i32 1 %6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @tasklet_schedule(ptr noundef %3) #2 br label %10 10: ; preds = %2, %8 ret void } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_schedule(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 = !{!"ieee80211_hw", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_tx.c_mt76_wake_tx_queue.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_tx.c_mt76_wake_tx_queue.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT76_STATE_RUNNING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mt76_wake_tx_queue(ptr nocapture noundef readonly %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr @MT76_STATE_RUNNING, align 4, !tbaa !11 %5 = getelementptr inbounds i8, ptr %3, i64 4 %6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @tasklet_schedule(ptr noundef %3) #2 br label %10 10: ; preds = %2, %8 ret void } declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tasklet_schedule(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 = !{!"ieee80211_hw", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_net_wireless_mediatek_mt76_extr_tx.c_mt76_wake_tx_queue
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FmPortConfigAutoResForDeepSleepSupport1.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FmPortConfigAutoResForDeepSleepSupport1.c" target datalayout = "e-m:e-p270:32:32-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 { i64, ptr, i32, %struct.TYPE_7__ } %struct.TYPE_7__ = type { ptr } %struct.TYPE_10__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64 } @E_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @FmPortConfigAutoResForDeepSleepSupport1], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @FmPortConfigAutoResForDeepSleepSupport1(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @ROUND_UP(i32 noundef 4, i32 noundef 4) #2 %5 = load i32, ptr %3, align 8, !tbaa !13 %6 = shl i32 %5, 2 %7 = add i32 %4, 8 %8 = add i32 %7, %6 %9 = tail call i32 @ROUND_UP(i32 noundef %8, i32 noundef 4) #2 %10 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !15 %12 = shl i32 %11, 2 %13 = add i32 %9, 8 %14 = add i32 %13, %12 %15 = tail call i32 @ROUND_UP(i32 noundef %14, i32 noundef 4) #2 %16 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 2 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = shl i32 %17, 2 %19 = add i32 %15, 8 %20 = add i32 %19, %18 %21 = tail call i32 @ROUND_UP(i32 noundef %20, i32 noundef 4) #2 %22 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 3 %23 = load i32, ptr %22, align 4, !tbaa !17 %24 = shl i32 %23, 2 %25 = add i32 %21, 8 %26 = add i32 %25, %24 %27 = tail call i32 @ROUND_UP(i32 noundef %26, i32 noundef 4) #2 %28 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 4 %29 = load i32, ptr %28, align 8, !tbaa !18 %30 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 5 %31 = load i32, ptr %30, align 4, !tbaa !19 %32 = add i32 %31, %29 %33 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 6 %34 = load i32, ptr %33, align 8, !tbaa !20 %35 = add i32 %32, %34 %36 = shl i32 %35, 2 %37 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 10 %38 = load i64, ptr %37, align 8, !tbaa !21 %39 = trunc i64 %38 to i32 %40 = add i32 %27, 8 %41 = add i32 %40, %36 %42 = add i32 %41, %39 %43 = tail call i32 @ROUND_UP(i32 noundef %42, i32 noundef 4) #2 %44 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 9 %45 = load i64, ptr %44, align 8, !tbaa !22 %46 = trunc i64 %45 to i32 %47 = add i32 %43, %46 %48 = tail call i32 @ROUND_UP(i32 noundef %47, i32 noundef 4) #2 %49 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 7 %50 = load i32, ptr %49, align 4, !tbaa !23 %51 = shl i32 %50, 2 %52 = add i32 %51, %48 %53 = tail call i32 @ROUND_UP(i32 noundef %52, i32 noundef 4) #2 %54 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 8 %55 = load i32, ptr %54, align 8, !tbaa !24 %56 = shl i32 %55, 2 %57 = add i32 %56, %53 %58 = tail call i32 @ROUND_UP(i32 noundef %57, i32 noundef 4) #2 %59 = add i32 %58, 4 %60 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %61 = load i32, ptr %60, align 8, !tbaa !25 %62 = tail call ptr @FM_MURAM_AllocMem(i32 noundef %61, i32 noundef %59, i32 noundef 16) #2 %63 = load i64, ptr %0, align 8, !tbaa !26 %64 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 %65 = load ptr, ptr %64, align 8, !tbaa !27 %66 = load i32, ptr %65, align 4, !tbaa !28 %67 = tail call i64 @GET_UINT32(i32 noundef %66) #2 %68 = add nsw i64 %67, %63 %69 = tail call ptr @XX_PhysToVirt(i64 noundef %68) #2 %70 = load i32, ptr %69, align 4, !tbaa !31 %71 = tail call i64 @XX_VirtToPhys(ptr noundef %62) #2 %72 = load i64, ptr %0, align 8, !tbaa !26 %73 = sub nsw i64 %71, %72 %74 = trunc i64 %73 to i32 %75 = tail call i32 @WRITE_UINT32(i32 noundef %70, i32 noundef %74) #2 %76 = load i32, ptr @E_OK, align 4, !tbaa !31 ret i32 %76 } declare i32 @ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @FM_MURAM_AllocMem(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @XX_PhysToVirt(i64 noundef) local_unnamed_addr #1 declare i64 @GET_UINT32(i32 noundef) local_unnamed_addr #1 declare i32 @WRITE_UINT32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @XX_VirtToPhys(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 = !{!"TYPE_11__", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24} !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 = !{!"TYPE_7__", !10, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_10__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !7, i64 40, !7, i64 48} !15 = !{!14, !11, i64 4} !16 = !{!14, !11, i64 8} !17 = !{!14, !11, i64 12} !18 = !{!14, !11, i64 16} !19 = !{!14, !11, i64 20} !20 = !{!14, !11, i64 24} !21 = !{!14, !7, i64 48} !22 = !{!14, !7, i64 40} !23 = !{!14, !11, i64 28} !24 = !{!14, !11, i64 32} !25 = !{!6, !11, i64 16} !26 = !{!6, !7, i64 0} !27 = !{!6, !10, i64 8} !28 = !{!29, !11, i64 0} !29 = !{!"TYPE_9__", !30, i64 0} !30 = !{!"TYPE_8__", !11, i64 0} !31 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FmPortConfigAutoResForDeepSleepSupport1.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/extr_fm_port.c_FmPortConfigAutoResForDeepSleepSupport1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @E_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @FmPortConfigAutoResForDeepSleepSupport1], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @FmPortConfigAutoResForDeepSleepSupport1(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @ROUND_UP(i32 noundef 4, i32 noundef 4) #2 %5 = load i32, ptr %3, align 8, !tbaa !14 %6 = shl i32 %5, 2 %7 = add i32 %4, 8 %8 = add i32 %7, %6 %9 = tail call i32 @ROUND_UP(i32 noundef %8, i32 noundef 4) #2 %10 = getelementptr inbounds i8, ptr %3, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !16 %12 = shl i32 %11, 2 %13 = add i32 %9, 8 %14 = add i32 %13, %12 %15 = tail call i32 @ROUND_UP(i32 noundef %14, i32 noundef 4) #2 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !17 %18 = shl i32 %17, 2 %19 = add i32 %15, 8 %20 = add i32 %19, %18 %21 = tail call i32 @ROUND_UP(i32 noundef %20, i32 noundef 4) #2 %22 = getelementptr inbounds i8, ptr %3, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !18 %24 = shl i32 %23, 2 %25 = add i32 %21, 8 %26 = add i32 %25, %24 %27 = tail call i32 @ROUND_UP(i32 noundef %26, i32 noundef 4) #2 %28 = getelementptr inbounds i8, ptr %3, i64 16 %29 = load i32, ptr %28, align 8, !tbaa !19 %30 = getelementptr inbounds i8, ptr %3, i64 20 %31 = load i32, ptr %30, align 4, !tbaa !20 %32 = add i32 %31, %29 %33 = getelementptr inbounds i8, ptr %3, i64 24 %34 = load i32, ptr %33, align 8, !tbaa !21 %35 = add i32 %32, %34 %36 = shl i32 %35, 2 %37 = getelementptr inbounds i8, ptr %3, i64 48 %38 = load i64, ptr %37, align 8, !tbaa !22 %39 = trunc i64 %38 to i32 %40 = add i32 %27, 8 %41 = add i32 %40, %36 %42 = add i32 %41, %39 %43 = tail call i32 @ROUND_UP(i32 noundef %42, i32 noundef 4) #2 %44 = getelementptr inbounds i8, ptr %3, i64 40 %45 = load i64, ptr %44, align 8, !tbaa !23 %46 = trunc i64 %45 to i32 %47 = add i32 %43, %46 %48 = tail call i32 @ROUND_UP(i32 noundef %47, i32 noundef 4) #2 %49 = getelementptr inbounds i8, ptr %3, i64 28 %50 = load i32, ptr %49, align 4, !tbaa !24 %51 = shl i32 %50, 2 %52 = add i32 %51, %48 %53 = tail call i32 @ROUND_UP(i32 noundef %52, i32 noundef 4) #2 %54 = getelementptr inbounds i8, ptr %3, i64 32 %55 = load i32, ptr %54, align 8, !tbaa !25 %56 = shl i32 %55, 2 %57 = add i32 %56, %53 %58 = tail call i32 @ROUND_UP(i32 noundef %57, i32 noundef 4) #2 %59 = add i32 %58, 4 %60 = getelementptr inbounds i8, ptr %0, i64 16 %61 = load i32, ptr %60, align 8, !tbaa !26 %62 = tail call ptr @FM_MURAM_AllocMem(i32 noundef %61, i32 noundef %59, i32 noundef 16) #2 %63 = load i64, ptr %0, align 8, !tbaa !27 %64 = getelementptr inbounds i8, ptr %0, i64 8 %65 = load ptr, ptr %64, align 8, !tbaa !28 %66 = load i32, ptr %65, align 4, !tbaa !29 %67 = tail call i64 @GET_UINT32(i32 noundef %66) #2 %68 = add nsw i64 %67, %63 %69 = tail call ptr @XX_PhysToVirt(i64 noundef %68) #2 %70 = load i32, ptr %69, align 4, !tbaa !32 %71 = tail call i64 @XX_VirtToPhys(ptr noundef %62) #2 %72 = load i64, ptr %0, align 8, !tbaa !27 %73 = sub nsw i64 %71, %72 %74 = trunc i64 %73 to i32 %75 = tail call i32 @WRITE_UINT32(i32 noundef %70, i32 noundef %74) #2 %76 = load i32, ptr @E_OK, align 4, !tbaa !32 ret i32 %76 } declare i32 @ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @FM_MURAM_AllocMem(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @XX_PhysToVirt(i64 noundef) local_unnamed_addr #1 declare i64 @GET_UINT32(i32 noundef) local_unnamed_addr #1 declare i32 @WRITE_UINT32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @XX_VirtToPhys(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 = !{!"TYPE_11__", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24} !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 = !{!"TYPE_7__", !11, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_10__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !8, i64 40, !8, i64 48} !16 = !{!15, !12, i64 4} !17 = !{!15, !12, i64 8} !18 = !{!15, !12, i64 12} !19 = !{!15, !12, i64 16} !20 = !{!15, !12, i64 20} !21 = !{!15, !12, i64 24} !22 = !{!15, !8, i64 48} !23 = !{!15, !8, i64 40} !24 = !{!15, !12, i64 28} !25 = !{!15, !12, i64 32} !26 = !{!7, !12, i64 16} !27 = !{!7, !8, i64 0} !28 = !{!7, !11, i64 8} !29 = !{!30, !12, i64 0} !30 = !{!"TYPE_9__", !31, i64 0} !31 = !{!"TYPE_8__", !12, i64 0} !32 = !{!12, !12, i64 0}
freebsd_sys_contrib_ncsw_Peripherals_FM_Port_extr_fm_port.c_FmPortConfigAutoResForDeepSleepSupport1
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_if_usb.c_if_usb_free.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_if_usb.c_if_usb_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.if_usb_card = type { ptr, ptr, ptr, ptr } @LBTF_DEB_USB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @if_usb_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @if_usb_free(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @LBTF_DEB_USB, align 4, !tbaa !5 %3 = tail call i32 @lbtf_deb_enter(i32 noundef %2) #2 %4 = getelementptr inbounds %struct.if_usb_card, ptr %0, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = tail call i32 @usb_kill_urb(ptr noundef %5) #2 %7 = getelementptr inbounds %struct.if_usb_card, ptr %0, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = tail call i32 @usb_kill_urb(ptr noundef %8) #2 %10 = getelementptr inbounds %struct.if_usb_card, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = tail call i32 @usb_kill_urb(ptr noundef %11) #2 %13 = load ptr, ptr %4, align 8, !tbaa !9 %14 = tail call i32 @usb_free_urb(ptr noundef %13) #2 store ptr null, ptr %4, align 8, !tbaa !9 %15 = load ptr, ptr %7, align 8, !tbaa !12 %16 = tail call i32 @usb_free_urb(ptr noundef %15) #2 store ptr null, ptr %7, align 8, !tbaa !12 %17 = load ptr, ptr %10, align 8, !tbaa !13 %18 = tail call i32 @usb_free_urb(ptr noundef %17) #2 store ptr null, ptr %10, align 8, !tbaa !13 %19 = load ptr, ptr %0, align 8, !tbaa !14 %20 = tail call i32 @kfree(ptr noundef %19) #2 store ptr null, ptr %0, align 8, !tbaa !14 %21 = load i32, ptr @LBTF_DEB_USB, align 4, !tbaa !5 %22 = tail call i32 @lbtf_deb_leave(i32 noundef %21) #2 ret void } declare i32 @lbtf_deb_enter(i32 noundef) local_unnamed_addr #1 declare i32 @usb_kill_urb(ptr noundef) local_unnamed_addr #1 declare i32 @usb_free_urb(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @lbtf_deb_leave(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 24} !10 = !{!"if_usb_card", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_if_usb.c_if_usb_free.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_if_usb.c_if_usb_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LBTF_DEB_USB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @if_usb_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @if_usb_free(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @LBTF_DEB_USB, align 4, !tbaa !6 %3 = tail call i32 @lbtf_deb_enter(i32 noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @usb_kill_urb(ptr noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = tail call i32 @usb_kill_urb(ptr noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = tail call i32 @usb_kill_urb(ptr noundef %11) #2 %13 = load ptr, ptr %4, align 8, !tbaa !10 %14 = tail call i32 @usb_free_urb(ptr noundef %13) #2 store ptr null, ptr %4, align 8, !tbaa !10 %15 = load ptr, ptr %7, align 8, !tbaa !13 %16 = tail call i32 @usb_free_urb(ptr noundef %15) #2 store ptr null, ptr %7, align 8, !tbaa !13 %17 = load ptr, ptr %10, align 8, !tbaa !14 %18 = tail call i32 @usb_free_urb(ptr noundef %17) #2 store ptr null, ptr %10, align 8, !tbaa !14 %19 = load ptr, ptr %0, align 8, !tbaa !15 %20 = tail call i32 @kfree(ptr noundef %19) #2 store ptr null, ptr %0, align 8, !tbaa !15 %21 = load i32, ptr @LBTF_DEB_USB, align 4, !tbaa !6 %22 = tail call i32 @lbtf_deb_leave(i32 noundef %21) #2 ret void } declare i32 @lbtf_deb_enter(i32 noundef) local_unnamed_addr #1 declare i32 @usb_kill_urb(ptr noundef) local_unnamed_addr #1 declare i32 @usb_free_urb(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @lbtf_deb_leave(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 24} !11 = !{!"if_usb_card", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 0}
fastsocket_kernel_drivers_net_wireless_libertas_tf_extr_if_usb.c_if_usb_free
; ModuleID = 'AnghaBench/Cinder/src/freetype/type1/extr_t1driver.c_t1_get_ps_name.c' source_filename = "AnghaBench/Cinder/src/freetype/type1/extr_t1driver.c_t1_get_ps_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @t1_get_ps_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @t1_get_ps_name(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = inttoptr i64 %2 to ptr ret ptr %3 } 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, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Cinder/src/freetype/type1/extr_t1driver.c_t1_get_ps_name.c' source_filename = "AnghaBench/Cinder/src/freetype/type1/extr_t1driver.c_t1_get_ps_name.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 @t1_get_ps_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @t1_get_ps_name(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = inttoptr i64 %2 to ptr ret ptr %3 } 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, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
Cinder_src_freetype_type1_extr_t1driver.c_t1_get_ps_name
; ModuleID = 'AnghaBench/obs-studio/deps/w32-pthreads/tests/extr_valid1.c_main.c' source_filename = "AnghaBench/obs-studio/deps/w32-pthreads/tests/extr_valid1.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @washere = dso_local local_unnamed_addr global i32 0, align 4 @func = dso_local local_unnamed_addr global i32 0, align 4 @ESRCH = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !5 store i32 0, ptr @washere, align 4, !tbaa !9 %3 = load i32, ptr @func, align 4, !tbaa !9 %4 = call i64 @pthread_create(ptr noundef nonnull %1, ptr noundef null, i32 noundef %3, ptr noundef null) #3 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) #3 %8 = load i32, ptr %1, align 4, !tbaa !9 %9 = call i64 @pthread_join(i32 noundef %8, ptr noundef nonnull %2) #3 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) #3 %13 = load ptr, ptr %2, align 8, !tbaa !5 %14 = ptrtoint ptr %13 to i64 %15 = and i64 %14, 4294967295 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) #3 %19 = load i32, ptr @washere, align 4, !tbaa !9 %20 = icmp eq i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) #3 %23 = call i32 (...) @sched_yield() #3 %24 = load i32, ptr %1, align 4, !tbaa !9 %25 = call i64 @pthread_kill(i32 noundef %24, i32 noundef 0) #3 %26 = load i64, ptr @ESRCH, align 8, !tbaa !11 %27 = icmp eq i64 %25, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sched_yield(...) local_unnamed_addr #2 declare i64 @pthread_kill(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/obs-studio/deps/w32-pthreads/tests/extr_valid1.c_main.c' source_filename = "AnghaBench/obs-studio/deps/w32-pthreads/tests/extr_valid1.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @washere = common local_unnamed_addr global i32 0, align 4 @func = common local_unnamed_addr global i32 0, align 4 @ESRCH = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !6 store i32 0, ptr @washere, align 4, !tbaa !10 %3 = load i32, ptr @func, align 4, !tbaa !10 %4 = call i64 @pthread_create(ptr noundef nonnull %1, ptr noundef null, i32 noundef %3, ptr noundef null) #3 %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) #3 %8 = load i32, ptr %1, align 4, !tbaa !10 %9 = call i64 @pthread_join(i32 noundef %8, ptr noundef nonnull %2) #3 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) #3 %13 = load ptr, ptr %2, align 8, !tbaa !6 %14 = ptrtoint ptr %13 to i64 %15 = and i64 %14, 4294967295 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) #3 %19 = load i32, ptr @washere, align 4, !tbaa !10 %20 = icmp eq i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) #3 %23 = call i32 @sched_yield() #3 %24 = load i32, ptr %1, align 4, !tbaa !10 %25 = call i64 @pthread_kill(i32 noundef %24, i32 noundef 0) #3 %26 = load i64, ptr @ESRCH, align 8, !tbaa !12 %27 = icmp eq i64 %25, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @pthread_create(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sched_yield(...) local_unnamed_addr #2 declare i64 @pthread_kill(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
obs-studio_deps_w32-pthreads_tests_extr_valid1.c_main
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_hpf_put.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_hpf_put.c" target datalayout = "e-m:e-p270:32:32-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.oxygen = type { i32, ptr } @WM8785_R2 = dso_local local_unnamed_addr global i64 0, align 8 @WM8785_HPFR = dso_local local_unnamed_addr global i32 0, align 4 @WM8785_HPFL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hpf_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @hpf_put(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.oxygen, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @mutex_lock(ptr noundef %3) #2 %7 = load ptr, ptr %5, align 8, !tbaa !13 %8 = load i64, ptr @WM8785_R2, align 8, !tbaa !15 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = load i32, ptr @WM8785_HPFR, align 4, !tbaa !17 %12 = load i32, ptr @WM8785_HPFL, align 4, !tbaa !17 %13 = or i32 %12, %11 %14 = xor i32 %13, -1 %15 = and i32 %10, %14 %16 = load ptr, ptr %1, align 8, !tbaa !18 %17 = load i64, ptr %16, align 8, !tbaa !15 %18 = icmp eq i64 %17, 0 %19 = or i32 %13, %10 %20 = select i1 %18, i32 %15, i32 %19 %21 = icmp ne i32 %20, %10 br i1 %21, label %22, label %24 22: ; preds = %2 %23 = tail call i32 @wm8785_write(ptr noundef nonnull %3, i64 noundef %8, i32 noundef %20) #2 br label %24 24: ; preds = %22, %2 %25 = zext i1 %21 to i32 %26 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 ret i32 %25 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @wm8785_write(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_kcontrol", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"oxygen", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"generic_data", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"snd_ctl_elem_value", !20, i64 0} !20 = !{!"TYPE_4__", !21, i64 0} !21 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_hpf_put.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_hpf_put.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WM8785_R2 = common local_unnamed_addr global i64 0, align 8 @WM8785_HPFR = common local_unnamed_addr global i32 0, align 4 @WM8785_HPFL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hpf_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @hpf_put(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @mutex_lock(ptr noundef %3) #2 %7 = load ptr, ptr %5, align 8, !tbaa !14 %8 = load i64, ptr @WM8785_R2, align 8, !tbaa !16 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !18 %11 = load i32, ptr @WM8785_HPFR, align 4, !tbaa !18 %12 = load i32, ptr @WM8785_HPFL, align 4, !tbaa !18 %13 = or i32 %12, %11 %14 = xor i32 %13, -1 %15 = and i32 %10, %14 %16 = load ptr, ptr %1, align 8, !tbaa !19 %17 = load i64, ptr %16, align 8, !tbaa !16 %18 = icmp eq i64 %17, 0 %19 = or i32 %13, %10 %20 = select i1 %18, i32 %15, i32 %19 %21 = icmp ne i32 %20, %10 br i1 %21, label %22, label %24 22: ; preds = %2 %23 = tail call i32 @wm8785_write(ptr noundef nonnull %3, i64 noundef %8, i32 noundef %20) #2 br label %24 24: ; preds = %22, %2 %25 = zext i1 %21 to i32 %26 = tail call i32 @mutex_unlock(ptr noundef nonnull %3) #2 ret i32 %25 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @wm8785_write(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_kcontrol", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"oxygen", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"generic_data", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"snd_ctl_elem_value", !21, i64 0} !21 = !{!"TYPE_4__", !22, i64 0} !22 = !{!"TYPE_3__", !8, i64 0}
linux_sound_pci_oxygen_extr_oxygen.c_hpf_put
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_proc.c_bits_names.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_proc.c_bits_names.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @bits_names.buf = internal global [128 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @bits_names], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @bits_names(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %31 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %25 %8 = phi i64 [ 0, %5 ], [ %27, %25 ] %9 = phi i32 [ 0, %5 ], [ %26, %25 ] %10 = trunc i64 %8 to i32 %11 = shl nuw i32 1, %10 %12 = and i32 %11, %0 %13 = icmp eq i32 %12, 0 br i1 %13, label %25, label %14 14: ; preds = %7 %15 = getelementptr inbounds ptr, ptr %1, i64 %8 %16 = load ptr, ptr %15, align 8, !tbaa !5 %17 = icmp eq ptr %16, null br i1 %17, label %25, label %18 18: ; preds = %14 %19 = sext i32 %9 to i64 %20 = getelementptr inbounds i8, ptr @bits_names.buf, i64 %19 %21 = sub i32 128, %9 %22 = tail call i64 @snprintf(ptr noundef nonnull %20, i32 noundef %21, ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 %23 = trunc i64 %22 to i32 %24 = add i32 %9, %23 br label %25 25: ; preds = %7, %14, %18 %26 = phi i32 [ %24, %18 ], [ %9, %14 ], [ %9, %7 ] %27 = add nuw nsw i64 %8, 1 %28 = icmp eq i64 %27, %6 br i1 %28, label %29, label %7, !llvm.loop !9 29: ; preds = %25 %30 = sext i32 %26 to i64 br label %31 31: ; preds = %29, %3 %32 = phi i64 [ 0, %3 ], [ %30, %29 ] %33 = getelementptr inbounds [128 x i8], ptr @bits_names.buf, i64 0, i64 %32 store i8 0, ptr %33, align 1, !tbaa !11 ret ptr @bits_names.buf } declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_proc.c_bits_names.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_proc.c_bits_names.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @bits_names.buf = internal global [128 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @bits_names], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @bits_names(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %31 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %25 %8 = phi i64 [ 0, %5 ], [ %27, %25 ] %9 = phi i32 [ 0, %5 ], [ %26, %25 ] %10 = trunc nuw nsw i64 %8 to i32 %11 = shl nuw i32 1, %10 %12 = and i32 %11, %0 %13 = icmp eq i32 %12, 0 br i1 %13, label %25, label %14 14: ; preds = %7 %15 = getelementptr inbounds ptr, ptr %1, i64 %8 %16 = load ptr, ptr %15, align 8, !tbaa !6 %17 = icmp eq ptr %16, null br i1 %17, label %25, label %18 18: ; preds = %14 %19 = sext i32 %9 to i64 %20 = getelementptr inbounds i8, ptr @bits_names.buf, i64 %19 %21 = sub i32 128, %9 %22 = tail call i64 @snprintf(ptr noundef nonnull %20, i32 noundef %21, ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 %23 = trunc i64 %22 to i32 %24 = add i32 %9, %23 br label %25 25: ; preds = %7, %14, %18 %26 = phi i32 [ %24, %18 ], [ %9, %14 ], [ %9, %7 ] %27 = add nuw nsw i64 %8, 1 %28 = icmp eq i64 %27, %6 br i1 %28, label %29, label %7, !llvm.loop !10 29: ; preds = %25 %30 = sext i32 %26 to i64 br label %31 31: ; preds = %29, %3 %32 = phi i64 [ 0, %3 ], [ %30, %29 ] %33 = getelementptr inbounds [128 x i8], ptr @bits_names.buf, i64 0, i64 %32 store i8 0, ptr %33, align 1, !tbaa !12 ret ptr @bits_names.buf } declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!8, !8, i64 0}
fastsocket_kernel_sound_pci_hda_extr_hda_proc.c_bits_names
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/co60/rev6/extr_led.c_breathing_period_default.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/co60/rev6/extr_led.c_breathing_period_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" @BREATHING_PERIOD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @breathing_period_default() local_unnamed_addr #0 { %1 = load i32, ptr @BREATHING_PERIOD, align 4, !tbaa !5 %2 = tail call i32 @breathing_period_set(i32 noundef %1) #2 ret void } declare i32 @breathing_period_set(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/qmk_firmware/keyboards/handwired/co60/rev6/extr_led.c_breathing_period_default.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/co60/rev6/extr_led.c_breathing_period_default.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BREATHING_PERIOD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @breathing_period_default() local_unnamed_addr #0 { %1 = load i32, ptr @BREATHING_PERIOD, align 4, !tbaa !6 %2 = tail call i32 @breathing_period_set(i32 noundef %1) #2 ret void } declare i32 @breathing_period_set(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"}
qmk_firmware_keyboards_handwired_co60_rev6_extr_led.c_breathing_period_default
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_namei.c_ocfs2_orphan_add.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_namei.c_ocfs2_orphan_add.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ocfs2_dinode = type { ptr, i32, ptr } %struct.TYPE_2__ = type { i64, i32 } @OCFS2_DIO_ORPHAN_PREFIX_LEN = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_ORPHAN_NAMELEN = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_JOURNAL_ACCESS_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_DIO_ORPHANED_FL = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_ORPHANED_FL = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_INODE_SKIP_ORPHAN_DIR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_orphan_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ocfs2_orphan_add(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !5 %10 = load i64, ptr %3, align 8, !tbaa !9 %11 = inttoptr i64 %10 to ptr %12 = icmp eq i32 %7, 0 %13 = load i32, ptr @OCFS2_DIO_ORPHAN_PREFIX_LEN, align 4 %14 = load i32, ptr @OCFS2_ORPHAN_NAMELEN, align 4 %15 = select i1 %12, i32 0, i32 %13 %16 = add nsw i32 %14, %15 %17 = tail call ptr @OCFS2_I(ptr noundef %2) #3 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = tail call i32 @trace_ocfs2_orphan_add_begin(i64 noundef %18) #3 %20 = call i32 @ocfs2_read_inode_block(ptr noundef %6, ptr noundef nonnull %9) #3 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %8 %23 = call i32 @mlog_errno(i32 noundef %20) #3 br label %97 24: ; preds = %8 %25 = call i32 @INODE_CACHE(ptr noundef %6) #3 %26 = load ptr, ptr %9, align 8, !tbaa !5 %27 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !15 %28 = call i32 @ocfs2_journal_access_di(ptr noundef %1, i32 noundef %25, ptr noundef %26, i32 noundef %27) #3 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 @mlog_errno(i32 noundef %28) #3 br label %97 32: ; preds = %24 %33 = call i32 @INODE_CACHE(ptr noundef %2) #3 %34 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !15 %35 = call i32 @ocfs2_journal_access_di(ptr noundef %1, i32 noundef %33, ptr noundef nonnull %3, i32 noundef %34) #3 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = call i32 @mlog_errno(i32 noundef %35) #3 br label %97 39: ; preds = %32 %40 = load ptr, ptr %9, align 8, !tbaa !5 %41 = load i64, ptr %40, align 8, !tbaa !9 %42 = inttoptr i64 %41 to ptr %43 = load i32, ptr %2, align 4, !tbaa !16 %44 = call i64 @S_ISDIR(i32 noundef %43) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %39 %47 = call i32 @ocfs2_add_links_count(ptr noundef %42, i32 noundef 1) #3 br label %48 48: ; preds = %46, %39 %49 = call i32 @ocfs2_read_links_count(ptr noundef %42) #3 %50 = call i32 @set_nlink(ptr noundef %6, i32 noundef %49) #3 %51 = load ptr, ptr %9, align 8, !tbaa !5 %52 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %51) #3 %53 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %54 = load i64, ptr %53, align 8, !tbaa !12 %55 = load ptr, ptr %9, align 8, !tbaa !5 %56 = call i32 @__ocfs2_add_entry(ptr noundef %1, ptr noundef %6, ptr noundef %4, i32 noundef %16, ptr noundef nonnull %2, i64 noundef %54, ptr noundef %55, ptr noundef %5) #3 %57 = icmp slt i32 %56, 0 br i1 %57, label %87, label %58 58: ; preds = %48 %59 = getelementptr inbounds %struct.ocfs2_dinode, ptr %11, i64 0, i32 1 br i1 %12, label %68, label %60 60: ; preds = %58 %61 = load i32, ptr @OCFS2_DIO_ORPHANED_FL, align 4, !tbaa !15 %62 = call i32 @cpu_to_le32(i32 noundef %61) #3 %63 = load i32, ptr %59, align 8, !tbaa !18 %64 = or i32 %63, %62 store i32 %64, ptr %59, align 8, !tbaa !18 %65 = load i32, ptr %0, align 4, !tbaa !20 %66 = call ptr @cpu_to_le16(i32 noundef %65) #3 %67 = getelementptr inbounds %struct.ocfs2_dinode, ptr %11, i64 0, i32 2 store ptr %66, ptr %67, align 8, !tbaa !22 br label %81 68: ; preds = %58 %69 = load i32, ptr @OCFS2_ORPHANED_FL, align 4, !tbaa !15 %70 = call i32 @cpu_to_le32(i32 noundef %69) #3 %71 = load i32, ptr %59, align 8, !tbaa !18 %72 = or i32 %71, %70 store i32 %72, ptr %59, align 8, !tbaa !18 %73 = load i32, ptr @OCFS2_INODE_SKIP_ORPHAN_DIR, align 4, !tbaa !15 %74 = xor i32 %73, -1 %75 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %76 = getelementptr inbounds %struct.TYPE_2__, ptr %75, i64 0, i32 1 %77 = load i32, ptr %76, align 8, !tbaa !23 %78 = and i32 %77, %74 store i32 %78, ptr %76, align 8, !tbaa !23 %79 = load i32, ptr %0, align 4, !tbaa !20 %80 = call ptr @cpu_to_le16(i32 noundef %79) #3 store ptr %80, ptr %11, align 8, !tbaa !24 br label %81 81: ; preds = %60, %68 %82 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef nonnull %3) #3 %83 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %84 = load i64, ptr %83, align 8, !tbaa !12 %85 = load i32, ptr %0, align 4, !tbaa !20 %86 = call i32 @trace_ocfs2_orphan_add_end(i64 noundef %84, i32 noundef %85) #3 br label %97 87: ; preds = %48 %88 = call i32 @mlog_errno(i32 noundef %56) #3 %89 = load i32, ptr %2, align 4, !tbaa !16 %90 = call i64 @S_ISDIR(i32 noundef %89) #3 %91 = icmp eq i64 %90, 0 br i1 %91, label %94, label %92 92: ; preds = %87 %93 = call i32 @ocfs2_add_links_count(ptr noundef %42, i32 noundef -1) #3 br label %94 94: ; preds = %92, %87 %95 = call i32 @ocfs2_read_links_count(ptr noundef %42) #3 %96 = call i32 @set_nlink(ptr noundef %6, i32 noundef %95) #3 br label %97 97: ; preds = %81, %94, %37, %30, %22 %98 = phi i32 [ %20, %22 ], [ %28, %30 ], [ %35, %37 ], [ %56, %94 ], [ %56, %81 ] %99 = load ptr, ptr %9, align 8, !tbaa !5 %100 = call i32 @brelse(ptr noundef %99) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 ret i32 %98 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace_ocfs2_orphan_add_begin(i64 noundef) local_unnamed_addr #2 declare ptr @OCFS2_I(ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_access_di(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_add_links_count(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_nlink(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_links_count(ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @__ocfs2_add_entry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @trace_ocfs2_orphan_add_end(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @brelse(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"buffer_head", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0, !14, i64 8} !14 = !{!"int", !7, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"inode", !14, i64 0} !18 = !{!19, !14, i64 8} !19 = !{!"ocfs2_dinode", !6, i64 0, !14, i64 8, !6, i64 16} !20 = !{!21, !14, i64 0} !21 = !{!"ocfs2_super", !14, i64 0} !22 = !{!19, !6, i64 16} !23 = !{!13, !14, i64 8} !24 = !{!19, !6, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_namei.c_ocfs2_orphan_add.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_namei.c_ocfs2_orphan_add.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OCFS2_DIO_ORPHAN_PREFIX_LEN = common local_unnamed_addr global i32 0, align 4 @OCFS2_ORPHAN_NAMELEN = common local_unnamed_addr global i32 0, align 4 @OCFS2_JOURNAL_ACCESS_WRITE = common local_unnamed_addr global i32 0, align 4 @OCFS2_DIO_ORPHANED_FL = common local_unnamed_addr global i32 0, align 4 @OCFS2_ORPHANED_FL = common local_unnamed_addr global i32 0, align 4 @OCFS2_INODE_SKIP_ORPHAN_DIR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ocfs2_orphan_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ocfs2_orphan_add(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 store ptr null, ptr %9, align 8, !tbaa !6 %10 = load i64, ptr %3, align 8, !tbaa !10 %11 = inttoptr i64 %10 to ptr %12 = icmp eq i32 %7, 0 %13 = load i32, ptr @OCFS2_DIO_ORPHAN_PREFIX_LEN, align 4 %14 = load i32, ptr @OCFS2_ORPHAN_NAMELEN, align 4 %15 = select i1 %12, i32 0, i32 %13 %16 = add nsw i32 %14, %15 %17 = tail call ptr @OCFS2_I(ptr noundef %2) #3 %18 = load i64, ptr %17, align 8, !tbaa !13 %19 = tail call i32 @trace_ocfs2_orphan_add_begin(i64 noundef %18) #3 %20 = call i32 @ocfs2_read_inode_block(ptr noundef %6, ptr noundef nonnull %9) #3 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %8 %23 = call i32 @mlog_errno(i32 noundef %20) #3 br label %97 24: ; preds = %8 %25 = call i32 @INODE_CACHE(ptr noundef %6) #3 %26 = load ptr, ptr %9, align 8, !tbaa !6 %27 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !16 %28 = call i32 @ocfs2_journal_access_di(ptr noundef %1, i32 noundef %25, ptr noundef %26, i32 noundef %27) #3 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %24 %31 = call i32 @mlog_errno(i32 noundef %28) #3 br label %97 32: ; preds = %24 %33 = call i32 @INODE_CACHE(ptr noundef %2) #3 %34 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !16 %35 = call i32 @ocfs2_journal_access_di(ptr noundef %1, i32 noundef %33, ptr noundef nonnull %3, i32 noundef %34) #3 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %32 %38 = call i32 @mlog_errno(i32 noundef %35) #3 br label %97 39: ; preds = %32 %40 = load ptr, ptr %9, align 8, !tbaa !6 %41 = load i64, ptr %40, align 8, !tbaa !10 %42 = inttoptr i64 %41 to ptr %43 = load i32, ptr %2, align 4, !tbaa !17 %44 = call i64 @S_ISDIR(i32 noundef %43) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %39 %47 = call i32 @ocfs2_add_links_count(ptr noundef %42, i32 noundef 1) #3 br label %48 48: ; preds = %46, %39 %49 = call i32 @ocfs2_read_links_count(ptr noundef %42) #3 %50 = call i32 @set_nlink(ptr noundef %6, i32 noundef %49) #3 %51 = load ptr, ptr %9, align 8, !tbaa !6 %52 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %51) #3 %53 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %54 = load i64, ptr %53, align 8, !tbaa !13 %55 = load ptr, ptr %9, align 8, !tbaa !6 %56 = call i32 @__ocfs2_add_entry(ptr noundef %1, ptr noundef %6, ptr noundef %4, i32 noundef %16, ptr noundef nonnull %2, i64 noundef %54, ptr noundef %55, ptr noundef %5) #3 %57 = icmp slt i32 %56, 0 br i1 %57, label %87, label %58 58: ; preds = %48 %59 = getelementptr inbounds i8, ptr %11, i64 8 br i1 %12, label %68, label %60 60: ; preds = %58 %61 = load i32, ptr @OCFS2_DIO_ORPHANED_FL, align 4, !tbaa !16 %62 = call i32 @cpu_to_le32(i32 noundef %61) #3 %63 = load i32, ptr %59, align 8, !tbaa !19 %64 = or i32 %63, %62 store i32 %64, ptr %59, align 8, !tbaa !19 %65 = load i32, ptr %0, align 4, !tbaa !21 %66 = call ptr @cpu_to_le16(i32 noundef %65) #3 %67 = getelementptr inbounds i8, ptr %11, i64 16 store ptr %66, ptr %67, align 8, !tbaa !23 br label %81 68: ; preds = %58 %69 = load i32, ptr @OCFS2_ORPHANED_FL, align 4, !tbaa !16 %70 = call i32 @cpu_to_le32(i32 noundef %69) #3 %71 = load i32, ptr %59, align 8, !tbaa !19 %72 = or i32 %71, %70 store i32 %72, ptr %59, align 8, !tbaa !19 %73 = load i32, ptr @OCFS2_INODE_SKIP_ORPHAN_DIR, align 4, !tbaa !16 %74 = xor i32 %73, -1 %75 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %76 = getelementptr inbounds i8, ptr %75, i64 8 %77 = load i32, ptr %76, align 8, !tbaa !24 %78 = and i32 %77, %74 store i32 %78, ptr %76, align 8, !tbaa !24 %79 = load i32, ptr %0, align 4, !tbaa !21 %80 = call ptr @cpu_to_le16(i32 noundef %79) #3 store ptr %80, ptr %11, align 8, !tbaa !25 br label %81 81: ; preds = %60, %68 %82 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef nonnull %3) #3 %83 = call ptr @OCFS2_I(ptr noundef nonnull %2) #3 %84 = load i64, ptr %83, align 8, !tbaa !13 %85 = load i32, ptr %0, align 4, !tbaa !21 %86 = call i32 @trace_ocfs2_orphan_add_end(i64 noundef %84, i32 noundef %85) #3 br label %97 87: ; preds = %48 %88 = call i32 @mlog_errno(i32 noundef %56) #3 %89 = load i32, ptr %2, align 4, !tbaa !17 %90 = call i64 @S_ISDIR(i32 noundef %89) #3 %91 = icmp eq i64 %90, 0 br i1 %91, label %94, label %92 92: ; preds = %87 %93 = call i32 @ocfs2_add_links_count(ptr noundef %42, i32 noundef -1) #3 br label %94 94: ; preds = %92, %87 %95 = call i32 @ocfs2_read_links_count(ptr noundef %42) #3 %96 = call i32 @set_nlink(ptr noundef %6, i32 noundef %95) #3 br label %97 97: ; preds = %81, %94, %37, %30, %22 %98 = phi i32 [ %20, %22 ], [ %28, %30 ], [ %35, %37 ], [ %56, %94 ], [ %56, %81 ] %99 = load ptr, ptr %9, align 8, !tbaa !6 %100 = call i32 @brelse(ptr noundef %99) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 ret i32 %98 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace_ocfs2_orphan_add_begin(i64 noundef) local_unnamed_addr #2 declare ptr @OCFS2_I(ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_access_di(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_add_links_count(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_nlink(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_links_count(ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @__ocfs2_add_entry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #2 declare i32 @trace_ocfs2_orphan_add_end(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @brelse(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"buffer_head", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_2__", !12, i64 0, !15, i64 8} !15 = !{!"int", !8, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!18, !15, i64 0} !18 = !{!"inode", !15, i64 0} !19 = !{!20, !15, i64 8} !20 = !{!"ocfs2_dinode", !7, i64 0, !15, i64 8, !7, i64 16} !21 = !{!22, !15, i64 0} !22 = !{!"ocfs2_super", !15, i64 0} !23 = !{!20, !7, i64 16} !24 = !{!14, !15, i64 8} !25 = !{!20, !7, i64 0}
linux_fs_ocfs2_extr_namei.c_ocfs2_orphan_add
; ModuleID = 'AnghaBench/zfs/module/icp/os/extr_modhash.c_mod_hash_cancel.c' source_filename = "AnghaBench/zfs/module/icp/os/extr_modhash.c_mod_hash_cancel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mh_e_cache = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mod_hash_cancel(ptr nocapture noundef readnone %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @mh_e_cache, align 4, !tbaa !5 %4 = load i64, ptr %1, align 8, !tbaa !9 %5 = tail call i32 @kmem_cache_free(i32 noundef %3, i64 noundef %4) #2 store i64 0, ptr %1, align 8, !tbaa !9 ret void } declare i32 @kmem_cache_free(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/zfs/module/icp/os/extr_modhash.c_mod_hash_cancel.c' source_filename = "AnghaBench/zfs/module/icp/os/extr_modhash.c_mod_hash_cancel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mh_e_cache = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mod_hash_cancel(ptr nocapture noundef readnone %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @mh_e_cache, align 4, !tbaa !6 %4 = load i64, ptr %1, align 8, !tbaa !10 %5 = tail call i32 @kmem_cache_free(i32 noundef %3, i64 noundef %4) #2 store i64 0, ptr %1, align 8, !tbaa !10 ret void } declare i32 @kmem_cache_free(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
zfs_module_icp_os_extr_modhash.c_mod_hash_cancel
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/pseries/extr_........driverspcipci.h_pci_create_firmware_label_files.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_........driverspcipci.h_pci_create_firmware_label_files.c" target datalayout = "e-m:e-p270:32:32-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 @pci_create_firmware_label_files], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @pci_create_firmware_label_files(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/pseries/extr_........driverspcipci.h_pci_create_firmware_label_files.c' source_filename = "AnghaBench/linux/arch/powerpc/platforms/pseries/extr_........driverspcipci.h_pci_create_firmware_label_files.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 @pci_create_firmware_label_files], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @pci_create_firmware_label_files(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_arch_powerpc_platforms_pseries_extr_........driverspcipci.h_pci_create_firmware_label_files
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_imagelist.c_check_ImageList_DrawIndirect.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_imagelist.c_check_ImageList_DrawIndirect.c" target datalayout = "e-m:e-p270:32:32-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 [81 x i8] c"ImageList_DrawIndirect: Pixel %08X, Expected a close match to %08X from line %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_ImageList_DrawIndirect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @check_ImageList_DrawIndirect(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 { store i32 16777215, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @pImageList_DrawIndirect(ptr noundef %0) #2 %6 = load i32, ptr %1, align 4, !tbaa !5 %7 = tail call i32 @colour_match(i32 noundef %6, i32 noundef %2) #2 %8 = load i32, ptr %1, align 4, !tbaa !5 %9 = and i32 %8, 16777215 %10 = tail call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @pImageList_DrawIndirect(ptr noundef) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @colour_match(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_imagelist.c_check_ImageList_DrawIndirect.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_imagelist.c_check_ImageList_DrawIndirect.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 [81 x i8] c"ImageList_DrawIndirect: Pixel %08X, Expected a close match to %08X from line %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @check_ImageList_DrawIndirect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @check_ImageList_DrawIndirect(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3) #0 { store i32 16777215, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @pImageList_DrawIndirect(ptr noundef %0) #2 %6 = load i32, ptr %1, align 4, !tbaa !6 %7 = tail call i32 @colour_match(i32 noundef %6, i32 noundef %2) #2 %8 = load i32, ptr %1, align 4, !tbaa !6 %9 = and i32 %8, 16777215 %10 = tail call i32 @ok(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @pImageList_DrawIndirect(ptr noundef) local_unnamed_addr #1 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @colour_match(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"}
reactos_modules_rostests_winetests_comctl32_extr_imagelist.c_check_ImageList_DrawIndirect
; ModuleID = 'AnghaBench/freebsd/contrib/mtree/extr_only.c_hash_str.c' source_filename = "AnghaBench/freebsd/contrib/mtree/extr_only.c_hash_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 @hash_str], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @hash_str(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ 0, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = sext i8 %5 to i32 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = mul nsw i32 %6, 33 %11 = add nsw i32 %10, %8 %12 = load i8, ptr %9, align 1, !tbaa !5 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !8 14: ; preds = %4, %1 %15 = phi i32 [ 0, %1 ], [ %11, %4 ] %16 = ashr i32 %15, 5 %17 = add nsw i32 %16, %15 ret i32 %17 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/mtree/extr_only.c_hash_str.c' source_filename = "AnghaBench/freebsd/contrib/mtree/extr_only.c_hash_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 @hash_str], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @hash_str(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ 0, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = sext i8 %5 to i32 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = mul nsw i32 %6, 33 %11 = add nsw i32 %10, %8 %12 = load i8, ptr %9, align 1, !tbaa !6 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !9 14: ; preds = %4, %1 %15 = phi i32 [ 0, %1 ], [ %11, %4 ] %16 = ashr i32 %15, 5 %17 = add nsw i32 %16, %15 ret i32 %17 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_mtree_extr_only.c_hash_str
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_oggenc.c_ogg_update_checksum.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_oggenc.c_ogg_update_checksum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ogg_update_checksum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ogg_update_checksum(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @avio_tell(ptr noundef %1) #2 %5 = tail call i32 @ffio_get_checksum(ptr noundef %1) #2 %6 = load i32, ptr @SEEK_SET, align 4, !tbaa !5 %7 = tail call i32 @avio_seek(ptr noundef %1, i32 noundef %2, i32 noundef %6) #2 %8 = tail call i32 @avio_wb32(ptr noundef %1, i32 noundef %5) #2 %9 = load i32, ptr @SEEK_SET, align 4, !tbaa !5 %10 = tail call i32 @avio_seek(ptr noundef %1, i32 noundef %4, i32 noundef %9) #2 ret void } declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1 declare i32 @ffio_get_checksum(ptr noundef) local_unnamed_addr #1 declare i32 @avio_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wb32(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/FFmpeg/libavformat/extr_oggenc.c_ogg_update_checksum.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_oggenc.c_ogg_update_checksum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SEEK_SET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ogg_update_checksum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ogg_update_checksum(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @avio_tell(ptr noundef %1) #2 %5 = tail call i32 @ffio_get_checksum(ptr noundef %1) #2 %6 = load i32, ptr @SEEK_SET, align 4, !tbaa !6 %7 = tail call i32 @avio_seek(ptr noundef %1, i32 noundef %2, i32 noundef %6) #2 %8 = tail call i32 @avio_wb32(ptr noundef %1, i32 noundef %5) #2 %9 = load i32, ptr @SEEK_SET, align 4, !tbaa !6 %10 = tail call i32 @avio_seek(ptr noundef %1, i32 noundef %4, i32 noundef %9) #2 ret void } declare i32 @avio_tell(ptr noundef) local_unnamed_addr #1 declare i32 @ffio_get_checksum(ptr noundef) local_unnamed_addr #1 declare i32 @avio_seek(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wb32(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"}
FFmpeg_libavformat_extr_oggenc.c_ogg_update_checksum
; ModuleID = 'AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_mem_align.c' source_filename = "AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_mem_align.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GPMC_CHUNK_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gpmc_mem_align], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i64 @gpmc_mem_align(i64 noundef %0) #0 { %2 = add i64 %0, -1 %3 = load i32, ptr @GPMC_CHUNK_SHIFT, align 4, !tbaa !5 %4 = add nsw i32 %3, -1 %5 = zext nneg i32 %4 to i64 %6 = lshr i64 %2, %5 br label %7 7: ; preds = %7, %1 %8 = phi i64 [ %6, %1 ], [ %10, %7 ] %9 = phi i32 [ %4, %1 ], [ %11, %7 ] %10 = lshr i64 %8, 1 %11 = add nsw i32 %9, 1 %12 = icmp ult i64 %8, 2 br i1 %12, label %13, label %7, !llvm.loop !9 13: ; preds = %7 %14 = shl nuw i32 1, %11 %15 = sext i32 %14 to i64 ret i64 %15 } attributes #0 = { nofree norecurse nosync nounwind 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"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_mem_align.c' source_filename = "AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_mem_align.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GPMC_CHUNK_SHIFT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gpmc_mem_align], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i64 -2147483648, 2147483648) i64 @gpmc_mem_align(i64 noundef %0) #0 { %2 = add i64 %0, -1 %3 = load i32, ptr @GPMC_CHUNK_SHIFT, align 4, !tbaa !6 %4 = add nsw i32 %3, -1 %5 = zext nneg i32 %4 to i64 %6 = lshr i64 %2, %5 br label %7 7: ; preds = %7, %1 %8 = phi i64 [ %6, %1 ], [ %10, %7 ] %9 = phi i32 [ %4, %1 ], [ %11, %7 ] %10 = lshr i64 %8, 1 %11 = add nsw i32 %9, 1 %12 = icmp ult i64 %8, 2 br i1 %12, label %13, label %7, !llvm.loop !10 13: ; preds = %7 %14 = shl nuw i32 1, %11 %15 = sext i32 %14 to i64 ret i64 %15 } attributes #0 = { nofree norecurse nosync nounwind ssp 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"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_memory_extr_omap-gpmc.c_gpmc_mem_align
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_generichash/blake2b/extr_generichash_blake2.c_crypto_generichash_blake2b_bytes_max.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_generichash/blake2b/extr_generichash_blake2.c_crypto_generichash_blake2b_bytes_max.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_generichash_blake2b_BYTES_MAX = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @crypto_generichash_blake2b_bytes_max() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_generichash_blake2b_BYTES_MAX, align 8, !tbaa !5 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_generichash/blake2b/extr_generichash_blake2.c_crypto_generichash_blake2b_bytes_max.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_generichash/blake2b/extr_generichash_blake2.c_crypto_generichash_blake2b_bytes_max.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_generichash_blake2b_BYTES_MAX = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @crypto_generichash_blake2b_bytes_max() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_generichash_blake2b_BYTES_MAX, align 8, !tbaa !6 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libsodium_src_libsodium_crypto_generichash_blake2b_extr_generichash_blake2.c_crypto_generichash_blake2b_bytes_max
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/contrib/experimental_dict_builders/randomDictBuilder/extr_random.c_RANDOM_selectSegment.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/contrib/experimental_dict_builders/randomDictBuilder/extr_random.c_RANDOM_selectSegment.c" target datalayout = "e-m:e-p270:32:32-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 @RANDOM_selectSegment], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @RANDOM_selectSegment(i64 noundef %0, i64 %1) #0 { %3 = tail call i64 (...) @rand() #2 %4 = add i64 %0, 1 %5 = sub i64 %4, %1 %6 = urem i64 %3, %5 %7 = and i64 %6, 4294967295 %8 = add i64 %6, %1 %9 = shl i64 %8, 32 %10 = add i64 %9, -4294967296 %11 = or disjoint i64 %10, %7 ret i64 %11 } declare i64 @rand(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/contrib/zstd/contrib/experimental_dict_builders/randomDictBuilder/extr_random.c_RANDOM_selectSegment.c' source_filename = "AnghaBench/freebsd/sys/contrib/zstd/contrib/experimental_dict_builders/randomDictBuilder/extr_random.c_RANDOM_selectSegment.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 @RANDOM_selectSegment], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @RANDOM_selectSegment(i64 noundef %0, i64 %1) #0 { %3 = tail call i64 @rand() #2 %4 = add i64 %0, 1 %5 = sub i64 %4, %1 %6 = urem i64 %3, %5 %7 = and i64 %6, 4294967295 %8 = add i64 %6, %1 %9 = shl i64 %8, 32 %10 = add i64 %9, -4294967296 %11 = or disjoint i64 %10, %7 ret i64 %11 } declare i64 @rand(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_contrib_zstd_contrib_experimental_dict_builders_randomDictBuilder_extr_random.c_RANDOM_selectSegment
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_osm.c_ahd_linux_target_destroy.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_osm.c_ahd_linux_target_destroy.c" target datalayout = "e-m:e-p270:32:32-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 @ahd_linux_target_destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ahd_linux_target_destroy(ptr noundef %0) #0 { %2 = tail call ptr @ahd_linux_target_in_softc(ptr noundef %0) #2 store ptr null, ptr %2, align 8, !tbaa !5 ret void } declare ptr @ahd_linux_target_in_softc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_osm.c_ahd_linux_target_destroy.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_osm.c_ahd_linux_target_destroy.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 @ahd_linux_target_destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ahd_linux_target_destroy(ptr noundef %0) #0 { %2 = tail call ptr @ahd_linux_target_in_softc(ptr noundef %0) #2 store ptr null, ptr %2, align 8, !tbaa !6 ret void } declare ptr @ahd_linux_target_in_softc(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_aic7xxx_extr_aic79xx_osm.c_ahd_linux_target_destroy
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_file.c_drm_event_cancel_free.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_file.c_drm_event_cancel_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.drm_pending_event = type { i64, i32, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local void @drm_event_cancel_free(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %4 = getelementptr inbounds %struct.drm_pending_event, ptr %1, i64 0, i32 3 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %16, label %7 7: ; preds = %2 %8 = getelementptr inbounds %struct.drm_pending_event, ptr %1, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %5, align 4, !tbaa !15 %12 = trunc i64 %10 to i32 %13 = add i32 %11, %12 store i32 %13, ptr %5, align 4, !tbaa !15 %14 = getelementptr inbounds %struct.drm_pending_event, ptr %1, i64 0, i32 1 %15 = tail call i32 @list_del(ptr noundef nonnull %14) #2 br label %16 16: ; preds = %7, %2 %17 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %18 = load i64, ptr %1, align 8, !tbaa !17 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @dma_fence_put(i64 noundef %18) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dma_fence_put(i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"drm_pending_event", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_4__", !7, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_3__", !10, i64 0} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_file.c_drm_event_cancel_free.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_file.c_drm_event_cancel_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 @drm_event_cancel_free(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %4 = getelementptr inbounds i8, ptr %1, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %16, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr %5, align 4, !tbaa !16 %12 = trunc i64 %10 to i32 %13 = add i32 %11, %12 store i32 %13, ptr %5, align 4, !tbaa !16 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = tail call i32 @list_del(ptr noundef nonnull %14) #2 br label %16 16: ; preds = %7, %2 %17 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 %18 = load i64, ptr %1, align 8, !tbaa !18 %19 = icmp eq i64 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @dma_fence_put(i64 noundef %18) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 @kfree(ptr noundef nonnull %1) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @dma_fence_put(i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"drm_pending_event", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_4__", !8, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0} !18 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_extr_drm_file.c_drm_event_cancel_free
; ModuleID = 'AnghaBench/linux/kernel/power/extr_swap.c_hib_init_batch.c' source_filename = "AnghaBench/linux/kernel/power/extr_swap.c_hib_init_batch.c" target datalayout = "e-m:e-p270:32:32-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.hib_bio_batch = type { i32, i32, i32 } @BLK_STS_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hib_init_batch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hib_init_batch(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.hib_bio_batch, ptr %0, i64 0, i32 2 %3 = tail call i32 @atomic_set(ptr noundef nonnull %2, i32 noundef 0) #2 %4 = getelementptr inbounds %struct.hib_bio_batch, ptr %0, i64 0, i32 1 %5 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %4) #2 %6 = load i32, ptr @BLK_STS_OK, align 4, !tbaa !5 store i32 %6, ptr %0, align 4, !tbaa !9 ret void } declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(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 = !{!"hib_bio_batch", !6, i64 0, !6, i64 4, !6, i64 8}
; ModuleID = 'AnghaBench/linux/kernel/power/extr_swap.c_hib_init_batch.c' source_filename = "AnghaBench/linux/kernel/power/extr_swap.c_hib_init_batch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BLK_STS_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hib_init_batch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hib_init_batch(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i32 @atomic_set(ptr noundef nonnull %2, i32 noundef 0) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %4) #2 %6 = load i32, ptr @BLK_STS_OK, align 4, !tbaa !6 store i32 %6, ptr %0, align 4, !tbaa !10 ret void } declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(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 = !{!"hib_bio_batch", !7, i64 0, !7, i64 4, !7, i64 8}
linux_kernel_power_extr_swap.c_hib_init_batch
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_get_bits.h_get_xbits.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_get_bits.h_get_xbits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @re = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_xbits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_xbits(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @re, align 4, !tbaa !5 %4 = tail call i32 @OPEN_READER(i32 noundef %3, ptr noundef %0) #2 %5 = add i32 %1, -1 %6 = icmp ult i32 %5, 25 %7 = zext i1 %6 to i32 %8 = tail call i32 @av_assert2(i32 noundef %7) #2 %9 = load i32, ptr @re, align 4, !tbaa !5 %10 = tail call i32 @UPDATE_CACHE(i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @re, align 4, !tbaa !5 %12 = tail call i32 @GET_CACHE(i32 noundef %11, ptr noundef %0) #2 %13 = icmp sgt i32 %12, -1 %14 = sext i1 %13 to i32 %15 = load i32, ptr @re, align 4, !tbaa !5 %16 = tail call i32 @LAST_SKIP_BITS(i32 noundef %15, ptr noundef %0, i32 noundef %1) #2 %17 = load i32, ptr @re, align 4, !tbaa !5 %18 = tail call i32 @CLOSE_READER(i32 noundef %17, ptr noundef %0) #2 %19 = xor i32 %12, %14 %20 = tail call i32 @NEG_USR32(i32 noundef %19, i32 noundef %1) #2 %21 = xor i32 %20, %14 %22 = sub nsw i32 %21, %14 ret i32 %22 } declare i32 @OPEN_READER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @av_assert2(i32 noundef) local_unnamed_addr #1 declare i32 @UPDATE_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GET_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @LAST_SKIP_BITS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CLOSE_READER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @NEG_USR32(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/FFmpeg/libavcodec/extr_get_bits.h_get_xbits.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_get_bits.h_get_xbits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @re = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_xbits], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_xbits(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @re, align 4, !tbaa !6 %4 = tail call i32 @OPEN_READER(i32 noundef %3, ptr noundef %0) #2 %5 = add i32 %1, -1 %6 = icmp ult i32 %5, 25 %7 = zext i1 %6 to i32 %8 = tail call i32 @av_assert2(i32 noundef %7) #2 %9 = load i32, ptr @re, align 4, !tbaa !6 %10 = tail call i32 @UPDATE_CACHE(i32 noundef %9, ptr noundef %0) #2 %11 = load i32, ptr @re, align 4, !tbaa !6 %12 = tail call i32 @GET_CACHE(i32 noundef %11, ptr noundef %0) #2 %13 = icmp sgt i32 %12, -1 %14 = sext i1 %13 to i32 %15 = load i32, ptr @re, align 4, !tbaa !6 %16 = tail call i32 @LAST_SKIP_BITS(i32 noundef %15, ptr noundef %0, i32 noundef %1) #2 %17 = load i32, ptr @re, align 4, !tbaa !6 %18 = tail call i32 @CLOSE_READER(i32 noundef %17, ptr noundef %0) #2 %19 = xor i32 %12, %14 %20 = tail call i32 @NEG_USR32(i32 noundef %19, i32 noundef %1) #2 %21 = sub i32 0, %20 %22 = select i1 %13, i32 %21, i32 %20 ret i32 %22 } declare i32 @OPEN_READER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @av_assert2(i32 noundef) local_unnamed_addr #1 declare i32 @UPDATE_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @GET_CACHE(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @LAST_SKIP_BITS(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CLOSE_READER(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @NEG_USR32(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"}
FFmpeg_libavcodec_extr_get_bits.h_get_xbits
; ModuleID = 'AnghaBench/postgres/src/backend/utils/misc/extr_guc.c_ResetAllOptions.c' source_filename = "AnghaBench/postgres/src/backend/utils/misc/extr_guc.c_ResetAllOptions.c" target datalayout = "e-m:e-p270:32:32-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.config_generic = type { i64, i32, i64, i32, i64, i32, i32 } %struct.config_bool = type { i32, %struct.TYPE_2__, i32, ptr, ptr } %struct.TYPE_2__ = type { i32 } %struct.config_int = type { i32, %struct.TYPE_2__, i32, ptr, ptr } %struct.config_real = type { i32, %struct.TYPE_2__, i32, ptr, ptr } %struct.config_string = type { i32, %struct.TYPE_2__, i32, i32, ptr } %struct.config_enum = type { i32, %struct.TYPE_2__, i32, ptr, ptr } @num_guc_variables = dso_local local_unnamed_addr global i32 0, align 4 @guc_variables = dso_local local_unnamed_addr global ptr null, align 8 @PGC_SUSET = dso_local local_unnamed_addr global i64 0, align 8 @PGC_USERSET = dso_local local_unnamed_addr global i64 0, align 8 @GUC_NO_RESET_ALL = dso_local local_unnamed_addr global i32 0, align 4 @PGC_S_OVERRIDE = dso_local local_unnamed_addr global i64 0, align 8 @GUC_ACTION_SET = dso_local local_unnamed_addr global i32 0, align 4 @GUC_REPORT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ResetAllOptions() local_unnamed_addr #0 { %1 = load i32, ptr @num_guc_variables, align 4, !tbaa !5 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %114 3: ; preds = %0, %109 %4 = phi i64 [ %110, %109 ], [ 0, %0 ] %5 = load ptr, ptr @guc_variables, align 8, !tbaa !9 %6 = getelementptr inbounds ptr, ptr %5, i64 %4 %7 = load ptr, ptr %6, align 8, !tbaa !9 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = load i64, ptr @PGC_SUSET, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 %11 = load i64, ptr @PGC_USERSET, align 8 %12 = icmp eq i64 %8, %11 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %109 14: ; preds = %3 %15 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 1 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = load i32, ptr @GUC_NO_RESET_ALL, align 4, !tbaa !5 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %109 20: ; preds = %14 %21 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 2 %22 = load i64, ptr %21, align 8, !tbaa !16 %23 = load i64, ptr @PGC_S_OVERRIDE, align 8, !tbaa !14 %24 = icmp sgt i64 %22, %23 br i1 %24, label %25, label %109 25: ; preds = %20 %26 = load i32, ptr @GUC_ACTION_SET, align 4, !tbaa !5 %27 = tail call i32 @push_old_value(ptr noundef nonnull %7, i32 noundef %26) #2 %28 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 3 %29 = load i32, ptr %28, align 8, !tbaa !17 switch i32 %29, label %97 [ i32 132, label %30 i32 130, label %43 i32 129, label %56 i32 128, label %69 i32 131, label %84 ] 30: ; preds = %25 %31 = load ptr, ptr %28, align 8, !tbaa !18 %32 = icmp eq ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %30 %34 = load i32, ptr %15, align 8, !tbaa !21 %35 = load i32, ptr %7, align 8, !tbaa !22 %36 = tail call i32 %31(i32 noundef %34, i32 noundef %35) #2 br label %37 37: ; preds = %33, %30 %38 = load i32, ptr %15, align 8, !tbaa !21 %39 = load ptr, ptr %21, align 8, !tbaa !23 store i32 %38, ptr %39, align 4, !tbaa !5 %40 = getelementptr inbounds %struct.config_bool, ptr %7, i64 0, i32 1 %41 = load i32, ptr %7, align 8, !tbaa !22 %42 = tail call i32 @set_extra_field(ptr noundef nonnull %40, ptr noundef nonnull %40, i32 noundef %41) #2 br label %97 43: ; preds = %25 %44 = load ptr, ptr %28, align 8, !tbaa !24 %45 = icmp eq ptr %44, null br i1 %45, label %50, label %46 46: ; preds = %43 %47 = load i32, ptr %15, align 8, !tbaa !26 %48 = load i32, ptr %7, align 8, !tbaa !27 %49 = tail call i32 %44(i32 noundef %47, i32 noundef %48) #2 br label %50 50: ; preds = %46, %43 %51 = load i32, ptr %15, align 8, !tbaa !26 %52 = load ptr, ptr %21, align 8, !tbaa !28 store i32 %51, ptr %52, align 4, !tbaa !5 %53 = getelementptr inbounds %struct.config_int, ptr %7, i64 0, i32 1 %54 = load i32, ptr %7, align 8, !tbaa !27 %55 = tail call i32 @set_extra_field(ptr noundef nonnull %53, ptr noundef nonnull %53, i32 noundef %54) #2 br label %97 56: ; preds = %25 %57 = load ptr, ptr %28, align 8, !tbaa !29 %58 = icmp eq ptr %57, null br i1 %58, label %63, label %59 59: ; preds = %56 %60 = load i32, ptr %15, align 8, !tbaa !31 %61 = load i32, ptr %7, align 8, !tbaa !32 %62 = tail call i32 %57(i32 noundef %60, i32 noundef %61) #2 br label %63 63: ; preds = %59, %56 %64 = load i32, ptr %15, align 8, !tbaa !31 %65 = load ptr, ptr %21, align 8, !tbaa !33 store i32 %64, ptr %65, align 4, !tbaa !5 %66 = getelementptr inbounds %struct.config_real, ptr %7, i64 0, i32 1 %67 = load i32, ptr %7, align 8, !tbaa !32 %68 = tail call i32 @set_extra_field(ptr noundef nonnull %66, ptr noundef nonnull %66, i32 noundef %67) #2 br label %97 69: ; preds = %25 %70 = load ptr, ptr %21, align 8, !tbaa !34 %71 = icmp eq ptr %70, null br i1 %71, label %76, label %72 72: ; preds = %69 %73 = load i32, ptr %15, align 8, !tbaa !36 %74 = load i32, ptr %7, align 8, !tbaa !37 %75 = tail call i32 %70(i32 noundef %73, i32 noundef %74) #2 br label %76 76: ; preds = %72, %69 %77 = getelementptr inbounds %struct.config_string, ptr %7, i64 0, i32 3 %78 = load i32, ptr %77, align 4, !tbaa !38 %79 = load i32, ptr %15, align 8, !tbaa !36 %80 = tail call i32 @set_string_field(ptr noundef nonnull %7, i32 noundef %78, i32 noundef %79) #2 %81 = getelementptr inbounds %struct.config_string, ptr %7, i64 0, i32 1 %82 = load i32, ptr %7, align 8, !tbaa !37 %83 = tail call i32 @set_extra_field(ptr noundef nonnull %81, ptr noundef nonnull %81, i32 noundef %82) #2 br label %97 84: ; preds = %25 %85 = load ptr, ptr %28, align 8, !tbaa !39 %86 = icmp eq ptr %85, null br i1 %86, label %91, label %87 87: ; preds = %84 %88 = load i32, ptr %15, align 8, !tbaa !41 %89 = load i32, ptr %7, align 8, !tbaa !42 %90 = tail call i32 %85(i32 noundef %88, i32 noundef %89) #2 br label %91 91: ; preds = %87, %84 %92 = load i32, ptr %15, align 8, !tbaa !41 %93 = load ptr, ptr %21, align 8, !tbaa !43 store i32 %92, ptr %93, align 4, !tbaa !5 %94 = getelementptr inbounds %struct.config_enum, ptr %7, i64 0, i32 1 %95 = load i32, ptr %7, align 8, !tbaa !42 %96 = tail call i32 @set_extra_field(ptr noundef nonnull %94, ptr noundef nonnull %94, i32 noundef %95) #2 br label %97 97: ; preds = %25, %91, %76, %63, %50, %37 %98 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 4 %99 = load i64, ptr %98, align 8, !tbaa !44 store i64 %99, ptr %21, align 8, !tbaa !16 %100 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 5 %101 = load i32, ptr %100, align 8, !tbaa !45 %102 = getelementptr inbounds %struct.config_generic, ptr %7, i64 0, i32 6 store i32 %101, ptr %102, align 4, !tbaa !46 %103 = load i32, ptr %15, align 8, !tbaa !15 %104 = load i32, ptr @GUC_REPORT, align 4, !tbaa !5 %105 = and i32 %104, %103 %106 = icmp eq i32 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %97 %108 = tail call i32 @ReportGUCOption(ptr noundef nonnull %7) #2 br label %109 109: ; preds = %97, %107, %20, %14, %3 %110 = add nuw nsw i64 %4, 1 %111 = load i32, ptr @num_guc_variables, align 4, !tbaa !5 %112 = sext i32 %111 to i64 %113 = icmp slt i64 %110, %112 br i1 %113, label %3, label %114, !llvm.loop !47 114: ; preds = %109, %0 ret void } declare i32 @push_old_value(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_extra_field(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_string_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ReportGUCOption(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"config_generic", !13, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !6, i64 40, !6, i64 44} !13 = !{!"long", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !6, i64 8} !16 = !{!12, !13, i64 16} !17 = !{!12, !6, i64 24} !18 = !{!19, !10, i64 24} !19 = !{!"config_bool", !6, i64 0, !20, i64 4, !6, i64 8, !10, i64 16, !10, i64 24} !20 = !{!"TYPE_2__", !6, i64 0} !21 = !{!19, !6, i64 8} !22 = !{!19, !6, i64 0} !23 = !{!19, !10, i64 16} !24 = !{!25, !10, i64 24} !25 = !{!"config_int", !6, i64 0, !20, i64 4, !6, i64 8, !10, i64 16, !10, i64 24} !26 = !{!25, !6, i64 8} !27 = !{!25, !6, i64 0} !28 = !{!25, !10, i64 16} !29 = !{!30, !10, i64 24} !30 = !{!"config_real", !6, i64 0, !20, i64 4, !6, i64 8, !10, i64 16, !10, i64 24} !31 = !{!30, !6, i64 8} !32 = !{!30, !6, i64 0} !33 = !{!30, !10, i64 16} !34 = !{!35, !10, i64 16} !35 = !{!"config_string", !6, i64 0, !20, i64 4, !6, i64 8, !6, i64 12, !10, i64 16} !36 = !{!35, !6, i64 8} !37 = !{!35, !6, i64 0} !38 = !{!35, !6, i64 12} !39 = !{!40, !10, i64 24} !40 = !{!"config_enum", !6, i64 0, !20, i64 4, !6, i64 8, !10, i64 16, !10, i64 24} !41 = !{!40, !6, i64 8} !42 = !{!40, !6, i64 0} !43 = !{!40, !10, i64 16} !44 = !{!12, !13, i64 32} !45 = !{!12, !6, i64 40} !46 = !{!12, !6, i64 44} !47 = distinct !{!47, !48} !48 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/misc/extr_guc.c_ResetAllOptions.c' source_filename = "AnghaBench/postgres/src/backend/utils/misc/extr_guc.c_ResetAllOptions.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @num_guc_variables = common local_unnamed_addr global i32 0, align 4 @guc_variables = common local_unnamed_addr global ptr null, align 8 @PGC_SUSET = common local_unnamed_addr global i64 0, align 8 @PGC_USERSET = common local_unnamed_addr global i64 0, align 8 @GUC_NO_RESET_ALL = common local_unnamed_addr global i32 0, align 4 @PGC_S_OVERRIDE = common local_unnamed_addr global i64 0, align 8 @GUC_ACTION_SET = common local_unnamed_addr global i32 0, align 4 @GUC_REPORT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ResetAllOptions() local_unnamed_addr #0 { %1 = load i32, ptr @num_guc_variables, align 4, !tbaa !6 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %103 3: ; preds = %0, %98 %4 = phi i64 [ %99, %98 ], [ 0, %0 ] %5 = load ptr, ptr @guc_variables, align 8, !tbaa !10 %6 = getelementptr inbounds ptr, ptr %5, i64 %4 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr @PGC_SUSET, align 8, !tbaa !15 %10 = icmp eq i64 %8, %9 %11 = load i64, ptr @PGC_USERSET, align 8 %12 = icmp eq i64 %8, %11 %13 = select i1 %10, i1 true, i1 %12 br i1 %13, label %14, label %98 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %7, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !16 %17 = load i32, ptr @GUC_NO_RESET_ALL, align 4, !tbaa !6 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %98 20: ; preds = %14 %21 = getelementptr inbounds i8, ptr %7, i64 16 %22 = load i64, ptr %21, align 8, !tbaa !17 %23 = load i64, ptr @PGC_S_OVERRIDE, align 8, !tbaa !15 %24 = icmp sgt i64 %22, %23 br i1 %24, label %25, label %98 25: ; preds = %20 %26 = load i32, ptr @GUC_ACTION_SET, align 4, !tbaa !6 %27 = tail call i32 @push_old_value(ptr noundef nonnull %7, i32 noundef %26) #2 %28 = getelementptr inbounds i8, ptr %7, i64 24 %29 = load i32, ptr %28, align 8, !tbaa !18 switch i32 %29, label %86 [ i32 132, label %30 i32 130, label %40 i32 129, label %50 i32 128, label %60 i32 131, label %72 ] 30: ; preds = %25 %31 = load ptr, ptr %28, align 8, !tbaa !19 %32 = icmp eq ptr %31, null br i1 %32, label %37, label %33 33: ; preds = %30 %34 = load i32, ptr %15, align 8, !tbaa !22 %35 = load i32, ptr %7, align 8, !tbaa !23 %36 = tail call i32 %31(i32 noundef %34, i32 noundef %35) #2 br label %37 37: ; preds = %33, %30 %38 = load i32, ptr %15, align 8, !tbaa !22 %39 = load ptr, ptr %21, align 8, !tbaa !24 store i32 %38, ptr %39, align 4, !tbaa !6 br label %82 40: ; preds = %25 %41 = load ptr, ptr %28, align 8, !tbaa !25 %42 = icmp eq ptr %41, null br i1 %42, label %47, label %43 43: ; preds = %40 %44 = load i32, ptr %15, align 8, !tbaa !27 %45 = load i32, ptr %7, align 8, !tbaa !28 %46 = tail call i32 %41(i32 noundef %44, i32 noundef %45) #2 br label %47 47: ; preds = %43, %40 %48 = load i32, ptr %15, align 8, !tbaa !27 %49 = load ptr, ptr %21, align 8, !tbaa !29 store i32 %48, ptr %49, align 4, !tbaa !6 br label %82 50: ; preds = %25 %51 = load ptr, ptr %28, align 8, !tbaa !30 %52 = icmp eq ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %50 %54 = load i32, ptr %15, align 8, !tbaa !32 %55 = load i32, ptr %7, align 8, !tbaa !33 %56 = tail call i32 %51(i32 noundef %54, i32 noundef %55) #2 br label %57 57: ; preds = %53, %50 %58 = load i32, ptr %15, align 8, !tbaa !32 %59 = load ptr, ptr %21, align 8, !tbaa !34 store i32 %58, ptr %59, align 4, !tbaa !6 br label %82 60: ; preds = %25 %61 = load ptr, ptr %21, align 8, !tbaa !35 %62 = icmp eq ptr %61, null br i1 %62, label %67, label %63 63: ; preds = %60 %64 = load i32, ptr %15, align 8, !tbaa !37 %65 = load i32, ptr %7, align 8, !tbaa !38 %66 = tail call i32 %61(i32 noundef %64, i32 noundef %65) #2 br label %67 67: ; preds = %63, %60 %68 = getelementptr inbounds i8, ptr %7, i64 12 %69 = load i32, ptr %68, align 4, !tbaa !39 %70 = load i32, ptr %15, align 8, !tbaa !37 %71 = tail call i32 @set_string_field(ptr noundef nonnull %7, i32 noundef %69, i32 noundef %70) #2 br label %82 72: ; preds = %25 %73 = load ptr, ptr %28, align 8, !tbaa !40 %74 = icmp eq ptr %73, null br i1 %74, label %79, label %75 75: ; preds = %72 %76 = load i32, ptr %15, align 8, !tbaa !42 %77 = load i32, ptr %7, align 8, !tbaa !43 %78 = tail call i32 %73(i32 noundef %76, i32 noundef %77) #2 br label %79 79: ; preds = %75, %72 %80 = load i32, ptr %15, align 8, !tbaa !42 %81 = load ptr, ptr %21, align 8, !tbaa !44 store i32 %80, ptr %81, align 4, !tbaa !6 br label %82 82: ; preds = %37, %47, %57, %67, %79 %83 = getelementptr inbounds i8, ptr %7, i64 4 %84 = load i32, ptr %7, align 8, !tbaa !6 %85 = tail call i32 @set_extra_field(ptr noundef nonnull %83, ptr noundef nonnull %83, i32 noundef %84) #2 br label %86 86: ; preds = %82, %25 %87 = getelementptr inbounds i8, ptr %7, i64 32 %88 = load i64, ptr %87, align 8, !tbaa !45 store i64 %88, ptr %21, align 8, !tbaa !17 %89 = getelementptr inbounds i8, ptr %7, i64 40 %90 = load i32, ptr %89, align 8, !tbaa !46 %91 = getelementptr inbounds i8, ptr %7, i64 44 store i32 %90, ptr %91, align 4, !tbaa !47 %92 = load i32, ptr %15, align 8, !tbaa !16 %93 = load i32, ptr @GUC_REPORT, align 4, !tbaa !6 %94 = and i32 %93, %92 %95 = icmp eq i32 %94, 0 br i1 %95, label %98, label %96 96: ; preds = %86 %97 = tail call i32 @ReportGUCOption(ptr noundef nonnull %7) #2 br label %98 98: ; preds = %86, %96, %20, %14, %3 %99 = add nuw nsw i64 %4, 1 %100 = load i32, ptr @num_guc_variables, align 4, !tbaa !6 %101 = sext i32 %100 to i64 %102 = icmp slt i64 %99, %101 br i1 %102, label %3, label %103, !llvm.loop !48 103: ; preds = %98, %0 ret void } declare i32 @push_old_value(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_extra_field(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_string_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ReportGUCOption(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"config_generic", !14, i64 0, !7, i64 8, !14, i64 16, !7, i64 24, !14, i64 32, !7, i64 40, !7, i64 44} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !7, i64 8} !17 = !{!13, !14, i64 16} !18 = !{!13, !7, i64 24} !19 = !{!20, !11, i64 24} !20 = !{!"config_bool", !7, i64 0, !21, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !21 = !{!"TYPE_2__", !7, i64 0} !22 = !{!20, !7, i64 8} !23 = !{!20, !7, i64 0} !24 = !{!20, !11, i64 16} !25 = !{!26, !11, i64 24} !26 = !{!"config_int", !7, i64 0, !21, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !27 = !{!26, !7, i64 8} !28 = !{!26, !7, i64 0} !29 = !{!26, !11, i64 16} !30 = !{!31, !11, i64 24} !31 = !{!"config_real", !7, i64 0, !21, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !32 = !{!31, !7, i64 8} !33 = !{!31, !7, i64 0} !34 = !{!31, !11, i64 16} !35 = !{!36, !11, i64 16} !36 = !{!"config_string", !7, i64 0, !21, i64 4, !7, i64 8, !7, i64 12, !11, i64 16} !37 = !{!36, !7, i64 8} !38 = !{!36, !7, i64 0} !39 = !{!36, !7, i64 12} !40 = !{!41, !11, i64 24} !41 = !{!"config_enum", !7, i64 0, !21, i64 4, !7, i64 8, !11, i64 16, !11, i64 24} !42 = !{!41, !7, i64 8} !43 = !{!41, !7, i64 0} !44 = !{!41, !11, i64 16} !45 = !{!13, !14, i64 32} !46 = !{!13, !7, i64 40} !47 = !{!13, !7, i64 44} !48 = distinct !{!48, !49} !49 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_utils_misc_extr_guc.c_ResetAllOptions
; ModuleID = 'AnghaBench/freebsd/sys/dev/mwl/extr_if_mwl.c_addht40channels.c' source_filename = "AnghaBench/freebsd/sys/dev/mwl/extr_if_mwl.c_addht40channels.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr } %struct.mwl_hal_channel = type { i32, i32 } @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @addht40channels], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @addht40channels(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 { %6 = load i32, ptr %3, align 8, !tbaa !5 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %27 8: ; preds = %5 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 br label %15 10: ; preds = %15 %11 = add nuw nsw i64 %16, 1 %12 = load i32, ptr %3, align 8, !tbaa !5 %13 = sext i32 %12 to i64 %14 = icmp slt i64 %11, %13 br i1 %14, label %15, label %27, !llvm.loop !11 15: ; preds = %8, %10 %16 = phi i64 [ 0, %8 ], [ %11, %10 ] %17 = load ptr, ptr %9, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.mwl_hal_channel, ptr %17, i64 %16 %19 = getelementptr inbounds %struct.mwl_hal_channel, ptr %17, i64 %16, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = load i32, ptr %18, align 4, !tbaa !16 %22 = tail call i32 @ieee80211_add_channel_ht40(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %20, i32 noundef %21, i32 noundef %4) #2 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr @ENOENT, align 4 %25 = icmp eq i32 %22, %24 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %10, label %27 27: ; preds = %10, %15, %5 ret void } declare i32 @ieee80211_add_channel_ht40(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!6, !10, i64 8} !14 = !{!15, !7, i64 4} !15 = !{!"mwl_hal_channel", !7, i64 0, !7, i64 4} !16 = !{!15, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/mwl/extr_if_mwl.c_addht40channels.c' source_filename = "AnghaBench/freebsd/sys/dev/mwl/extr_if_mwl.c_addht40channels.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mwl_hal_channel = type { i32, i32 } @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @addht40channels], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @addht40channels(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) #0 { %6 = load i32, ptr %3, align 8, !tbaa !6 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %27 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %3, i64 8 br label %15 10: ; preds = %15 %11 = add nuw nsw i64 %16, 1 %12 = load i32, ptr %3, align 8, !tbaa !6 %13 = sext i32 %12 to i64 %14 = icmp slt i64 %11, %13 br i1 %14, label %15, label %27, !llvm.loop !12 15: ; preds = %8, %10 %16 = phi i64 [ 0, %8 ], [ %11, %10 ] %17 = load ptr, ptr %9, align 8, !tbaa !14 %18 = getelementptr inbounds %struct.mwl_hal_channel, ptr %17, i64 %16 %19 = getelementptr inbounds i8, ptr %18, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = load i32, ptr %18, align 4, !tbaa !17 %22 = tail call i32 @ieee80211_add_channel_ht40(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %20, i32 noundef %21, i32 noundef %4) #2 %23 = icmp eq i32 %22, 0 %24 = load i32, ptr @ENOENT, align 4 %25 = icmp eq i32 %22, %24 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %10, label %27 27: ; preds = %10, %15, %5 ret void } declare i32 @ieee80211_add_channel_ht40(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!7, !11, i64 8} !15 = !{!16, !8, i64 4} !16 = !{!"mwl_hal_channel", !8, i64 0, !8, i64 4} !17 = !{!16, !8, i64 0}
freebsd_sys_dev_mwl_extr_if_mwl.c_addht40channels
; ModuleID = 'AnghaBench/freebsd/sys/fs/smbfs/extr_smbfs_smb.c_smbfs_findopenLM1.c' source_filename = "AnghaBench/freebsd/sys/fs/smbfs/extr_smbfs_smb.c_smbfs_findopenLM1.c" target datalayout = "e-m:e-p270:32:32-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.smbfs_fctx = type { i32, ptr, i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"*.*\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @smbfs_findopenLM1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal noundef i32 @smbfs_findopenLM1(ptr nocapture noundef %0, ptr nocapture readnone %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture readnone %5) #0 { store i32 %4, ptr %0, align 8, !tbaa !5 %7 = icmp eq ptr %2, null br i1 %7, label %14, label %8 8: ; preds = %6 %9 = icmp eq i32 %3, 1 br i1 %9, label %10, label %13 10: ; preds = %8 %11 = load i8, ptr %2, align 1, !tbaa !11 %12 = icmp eq i8 %11, 42 br i1 %12, label %14, label %13 13: ; preds = %10, %8 br label %14 14: ; preds = %6, %10, %13 %15 = phi ptr [ %2, %13 ], [ @.str, %10 ], [ null, %6 ] %16 = phi i32 [ %3, %13 ], [ 3, %10 ], [ 0, %6 ] %17 = getelementptr inbounds %struct.smbfs_fctx, ptr %0, i64 0, i32 1 store ptr %15, ptr %17, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.smbfs_fctx, ptr %0, i64 0, i32 2 store i32 %16, ptr %18, align 8, !tbaa !13 %19 = getelementptr inbounds %struct.smbfs_fctx, ptr %0, i64 0, i32 3 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = getelementptr inbounds %struct.smbfs_fctx, ptr %0, i64 0, i32 4 store i32 %20, ptr %21, align 8, !tbaa !15 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"smbfs_fctx", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !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 = !{!8, !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 16} !14 = !{!6, !7, i64 20} !15 = !{!6, !7, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/fs/smbfs/extr_smbfs_smb.c_smbfs_findopenLM1.c' source_filename = "AnghaBench/freebsd/sys/fs/smbfs/extr_smbfs_smb.c_smbfs_findopenLM1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"*.*\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @smbfs_findopenLM1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal noundef i32 @smbfs_findopenLM1(ptr nocapture noundef %0, ptr nocapture readnone %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture readnone %5) #0 { store i32 %4, ptr %0, align 8, !tbaa !6 %7 = icmp eq ptr %2, null br i1 %7, label %14, label %8 8: ; preds = %6 %9 = icmp eq i32 %3, 1 br i1 %9, label %10, label %13 10: ; preds = %8 %11 = load i8, ptr %2, align 1, !tbaa !12 %12 = icmp eq i8 %11, 42 br i1 %12, label %14, label %13 13: ; preds = %10, %8 br label %14 14: ; preds = %6, %10, %13 %15 = phi ptr [ %2, %13 ], [ @.str, %10 ], [ null, %6 ] %16 = phi i32 [ %3, %13 ], [ 3, %10 ], [ 0, %6 ] %17 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %15, ptr %17, align 8, !tbaa !13 %18 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %16, ptr %18, align 8, !tbaa !14 %19 = getelementptr inbounds i8, ptr %0, i64 20 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %20, ptr %21, align 8, !tbaa !16 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"smbfs_fctx", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !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 = !{!9, !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 16} !15 = !{!7, !8, i64 20} !16 = !{!7, !8, i64 24}
freebsd_sys_fs_smbfs_extr_smbfs_smb.c_smbfs_findopenLM1
; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd_io_file.c_filePutbuf.c' source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd_io_file.c_filePutbuf.c" target datalayout = "e-m:e-p270:32:32-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 @filePutbuf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @filePutbuf(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @fwrite(ptr noundef %1, i32 noundef 1, i32 noundef %2, i32 noundef %4) #2 ret i32 %5 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/ext/gd/libgd/extr_gd_io_file.c_filePutbuf.c' source_filename = "AnghaBench/php-src/ext/gd/libgd/extr_gd_io_file.c_filePutbuf.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 @filePutbuf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @filePutbuf(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @fwrite(ptr noundef %1, i32 noundef 1, i32 noundef %2, i32 noundef %4) #2 ret i32 %5 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
php-src_ext_gd_libgd_extr_gd_io_file.c_filePutbuf
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_raid10.c_wait_barrier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_raid10.c_wait_barrier.c" target datalayout = "e-m:e-p270:32:32-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.r10conf = type { i32, i64, i32, i64, i32 } %struct.TYPE_2__ = type { i64, i64 } @current = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @wait_barrier], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wait_barrier(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.r10conf, ptr %0, i64 0, i32 3 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %31, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.r10conf, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = add nsw i32 %8, 1 store i32 %9, ptr %7, align 8, !tbaa !11 %10 = getelementptr inbounds %struct.r10conf, ptr %0, i64 0, i32 4 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.r10conf, ptr %0, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %6 %16 = load ptr, ptr @current, align 8, !tbaa !14 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i64, ptr %16, align 8, !tbaa !18 %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i32 br label %24 24: ; preds = %6, %15, %20 %25 = phi i32 [ 0, %15 ], [ 0, %6 ], [ %23, %20 ] %26 = load i32, ptr %0, align 8, !tbaa !19 %27 = tail call i32 @md_raid10_unplug_device(ptr noundef nonnull %0) #2 %28 = tail call i32 @wait_event_lock_irq(i32 noundef %11, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 %29 = load i32, ptr %7, align 8, !tbaa !11 %30 = add nsw i32 %29, -1 store i32 %30, ptr %7, align 8, !tbaa !11 br label %31 31: ; preds = %24, %1 %32 = getelementptr inbounds %struct.r10conf, ptr %0, i64 0, i32 1 %33 = load i64, ptr %32, align 8, !tbaa !13 %34 = add nsw i64 %33, 1 store i64 %34, ptr %32, align 8, !tbaa !13 %35 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %0) #2 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @wait_event_lock_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @md_raid10_unplug_device(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"r10conf", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 16} !12 = !{!6, !7, i64 32} !13 = !{!6, !10, i64 8} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !10, i64 8} !17 = !{!"TYPE_2__", !10, i64 0, !10, i64 8} !18 = !{!17, !10, i64 0} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/md/extr_raid10.c_wait_barrier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/md/extr_raid10.c_wait_barrier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @wait_barrier], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wait_barrier(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irq(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %31, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = add nsw i32 %8, 1 store i32 %9, ptr %7, align 8, !tbaa !12 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %6 %16 = load ptr, ptr @current, align 8, !tbaa !15 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load i64, ptr %17, align 8, !tbaa !17 %19 = icmp eq i64 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %15 %21 = load i64, ptr %16, align 8, !tbaa !19 %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i32 br label %24 24: ; preds = %6, %15, %20 %25 = phi i32 [ 0, %15 ], [ 0, %6 ], [ %23, %20 ] %26 = load i32, ptr %0, align 8, !tbaa !20 %27 = tail call i32 @md_raid10_unplug_device(ptr noundef nonnull %0) #2 %28 = tail call i32 @wait_event_lock_irq(i32 noundef %11, i32 noundef %25, i32 noundef %26, i32 noundef %27) #2 %29 = load i32, ptr %7, align 8, !tbaa !12 %30 = add nsw i32 %29, -1 store i32 %30, ptr %7, align 8, !tbaa !12 br label %31 31: ; preds = %24, %1 %32 = getelementptr inbounds i8, ptr %0, i64 8 %33 = load i64, ptr %32, align 8, !tbaa !14 %34 = add nsw i64 %33, 1 store i64 %34, ptr %32, align 8, !tbaa !14 %35 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %0) #2 ret void } declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @wait_event_lock_irq(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @md_raid10_unplug_device(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"r10conf", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 16} !13 = !{!7, !8, i64 32} !14 = !{!7, !11, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !11, i64 8} !18 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !19 = !{!18, !11, i64 0} !20 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_md_extr_raid10.c_wait_barrier
; ModuleID = 'AnghaBench/linux/sound/soc/pxa/extr_mmp-pcm.c_mmp_pcm_new.c' source_filename = "AnghaBench/linux/sound/soc/pxa/extr_mmp-pcm.c_mmp_pcm_new.c" target datalayout = "e-m:e-p270:32:32-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 @mmp_pcm_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mmp_pcm_new(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = tail call i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef %4, i32 noundef 0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %2, align 8, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef %10, i32 noundef 1) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %7, %1 %14 = phi i32 [ %5, %1 ], [ %11, %7 ] %15 = tail call i32 @mmp_pcm_free_dma_buffers(ptr noundef nonnull %2) #2 br label %16 16: ; preds = %7, %13 %17 = phi i32 [ %14, %13 ], [ 0, %7 ] ret i32 %17 } declare i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmp_pcm_free_dma_buffers(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_soc_pcm_runtime", !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 = !{!"snd_pcm", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/pxa/extr_mmp-pcm.c_mmp_pcm_new.c' source_filename = "AnghaBench/linux/sound/soc/pxa/extr_mmp-pcm.c_mmp_pcm_new.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 @mmp_pcm_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mmp_pcm_new(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = tail call i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef %4, i32 noundef 0) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %2, align 8, !tbaa !11 %9 = getelementptr inbounds i8, ptr %8, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef %10, i32 noundef 1) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %7, %1 %14 = phi i32 [ %5, %1 ], [ %11, %7 ] %15 = tail call i32 @mmp_pcm_free_dma_buffers(ptr noundef nonnull %2) #2 br label %16 16: ; preds = %7, %13 %17 = phi i32 [ %14, %13 ], [ 0, %7 ] ret i32 %17 } declare i32 @mmp_pcm_preallocate_dma_buffer(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmp_pcm_free_dma_buffers(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_soc_pcm_runtime", !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 = !{!"snd_pcm", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0}
linux_sound_soc_pxa_extr_mmp-pcm.c_mmp_pcm_new
; ModuleID = 'AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_attach_ifp.c' source_filename = "AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_attach_ifp.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_9__, ptr, i32, i32 } %struct.TYPE_9__ = type { i32 } %struct.TYPE_11__ = type { i32, i32, i32, i32, i64, i32, i32, i32, %struct.TYPE_12__, i32, i32, ptr, i32, i32, i32, i32 } %struct.TYPE_12__ = type { i64 } @IFT_ETHER = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @IFM_IMASK = dso_local local_unnamed_addr global i32 0, align 4 @oce_media_change = dso_local local_unnamed_addr global i32 0, align 4 @oce_media_status = dso_local local_unnamed_addr global i32 0, align 4 @IFM_ETHER = dso_local local_unnamed_addr global i32 0, align 4 @IFM_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @IFF_BROADCAST = dso_local local_unnamed_addr global i32 0, align 4 @IFF_MULTICAST = dso_local local_unnamed_addr global i32 0, align 4 @oce_ioctl = dso_local local_unnamed_addr global i32 0, align 4 @oce_start = dso_local local_unnamed_addr global i32 0, align 4 @oce_init = dso_local local_unnamed_addr global i32 0, align 4 @ETHERMTU = dso_local local_unnamed_addr global i32 0, align 4 @OCE_MAX_TX_DESC = dso_local local_unnamed_addr global i64 0, align 8 @OCE_IF_HWASSIST = dso_local local_unnamed_addr global i32 0, align 4 @CSUM_TSO = dso_local local_unnamed_addr global i32 0, align 4 @CSUM_IP = dso_local local_unnamed_addr global i32 0, align 4 @CSUM_TCP = dso_local local_unnamed_addr global i32 0, align 4 @CSUM_UDP = dso_local local_unnamed_addr global i32 0, align 4 @OCE_IF_CAPABILITIES = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_HWCSUM = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWFILTER = dso_local local_unnamed_addr global i32 0, align 4 @ETHER_HDR_LEN = dso_local local_unnamed_addr global i64 0, align 8 @ETHER_VLAN_ENCAP_LEN = dso_local local_unnamed_addr global i64 0, align 8 @IFCAP_LRO = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_TSO = dso_local local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTSO = dso_local local_unnamed_addr global i32 0, align 4 @OCE_MAX_TX_ELEMENTS = dso_local local_unnamed_addr global i32 0, align 4 @oce_multiq_flush = dso_local local_unnamed_addr global i32 0, align 4 @oce_multiq_start = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @oce_attach_ifp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @oce_attach_ifp(ptr noundef %0) #0 { %2 = load i32, ptr @IFT_ETHER, align 4, !tbaa !5 %3 = tail call ptr @if_alloc(i32 noundef %2) #2 %4 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 store ptr %3, ptr %4, align 8, !tbaa !9 %5 = icmp eq ptr %3, null br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %72 8: ; preds = %1 %9 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 3 %10 = load i32, ptr @IFM_IMASK, align 4, !tbaa !5 %11 = load i32, ptr @oce_media_change, align 4, !tbaa !5 %12 = load i32, ptr @oce_media_status, align 4, !tbaa !5 %13 = tail call i32 @ifmedia_init(ptr noundef nonnull %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @IFM_ETHER, align 4, !tbaa !5 %15 = load i32, ptr @IFM_AUTO, align 4, !tbaa !5 %16 = or i32 %15, %14 %17 = tail call i32 @ifmedia_add(ptr noundef nonnull %9, i32 noundef %16, i32 noundef 0, ptr noundef null) #2 %18 = load i32, ptr @IFM_ETHER, align 4, !tbaa !5 %19 = load i32, ptr @IFM_AUTO, align 4, !tbaa !5 %20 = or i32 %19, %18 %21 = tail call i32 @ifmedia_set(ptr noundef nonnull %9, i32 noundef %20) #2 %22 = load i32, ptr @IFF_BROADCAST, align 4, !tbaa !5 %23 = load i32, ptr @IFF_MULTICAST, align 4, !tbaa !5 %24 = or i32 %23, %22 %25 = load ptr, ptr %4, align 8, !tbaa !9 store i32 %24, ptr %25, align 8, !tbaa !13 %26 = load i32, ptr @oce_ioctl, align 4, !tbaa !5 %27 = getelementptr inbounds %struct.TYPE_11__, ptr %25, i64 0, i32 15 store i32 %26, ptr %27, align 4, !tbaa !17 %28 = load i32, ptr @oce_start, align 4, !tbaa !5 %29 = getelementptr inbounds %struct.TYPE_11__, ptr %25, i64 0, i32 14 store i32 %28, ptr %29, align 8, !tbaa !18 %30 = load i32, ptr @oce_init, align 4, !tbaa !5 %31 = getelementptr inbounds %struct.TYPE_11__, ptr %25, i64 0, i32 13 store i32 %30, ptr %31, align 4, !tbaa !19 %32 = load i32, ptr @ETHERMTU, align 4, !tbaa !5 %33 = getelementptr inbounds %struct.TYPE_11__, ptr %25, i64 0, i32 12 store i32 %32, ptr %33, align 8, !tbaa !20 %34 = getelementptr inbounds %struct.TYPE_11__, ptr %25, i64 0, i32 11 store ptr %0, ptr %34, align 8, !tbaa !21 %35 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %36 = load i32, ptr %35, align 8, !tbaa !22 %37 = tail call i32 @device_get_name(i32 noundef %36) #2 %38 = load i32, ptr %35, align 8, !tbaa !22 %39 = tail call i32 @device_get_unit(i32 noundef %38) #2 %40 = tail call i32 @if_initname(ptr noundef nonnull %25, i32 noundef %37, i32 noundef %39) #2 %41 = load i64, ptr @OCE_MAX_TX_DESC, align 8, !tbaa !23 %42 = add nsw i64 %41, -1 %43 = load ptr, ptr %4, align 8, !tbaa !9 %44 = getelementptr inbounds %struct.TYPE_11__, ptr %43, i64 0, i32 8 store i64 %42, ptr %44, align 8, !tbaa !24 %45 = tail call i32 @IFQ_SET_MAXLEN(ptr noundef nonnull %44, i64 noundef %42) #2 %46 = load ptr, ptr %4, align 8, !tbaa !9 %47 = getelementptr inbounds %struct.TYPE_11__, ptr %46, i64 0, i32 8 %48 = tail call i32 @IFQ_SET_READY(ptr noundef nonnull %47) #2 %49 = load i32, ptr @OCE_IF_HWASSIST, align 4, !tbaa !5 %50 = load ptr, ptr %4, align 8, !tbaa !9 %51 = getelementptr inbounds %struct.TYPE_11__, ptr %50, i64 0, i32 1 %52 = load i32, ptr @CSUM_TSO, align 4, !tbaa !5 %53 = or i32 %52, %49 %54 = load i32, ptr @CSUM_IP, align 4, !tbaa !5 %55 = load i32, ptr @CSUM_TCP, align 4, !tbaa !5 %56 = load i32, ptr @CSUM_UDP, align 4, !tbaa !5 %57 = or i32 %54, %55 %58 = or i32 %57, %56 %59 = or i32 %58, %53 store i32 %59, ptr %51, align 4, !tbaa !25 %60 = load i32, ptr @OCE_IF_CAPABILITIES, align 4, !tbaa !5 %61 = getelementptr inbounds %struct.TYPE_11__, ptr %50, i64 0, i32 6 %62 = load i32, ptr @IFCAP_HWCSUM, align 4, !tbaa !5 %63 = or i32 %62, %60 %64 = load i32, ptr @IFCAP_VLAN_HWFILTER, align 4, !tbaa !5 %65 = or i32 %64, %63 store i32 %65, ptr %61, align 4, !tbaa !26 %66 = getelementptr inbounds %struct.TYPE_11__, ptr %50, i64 0, i32 7 store i32 %65, ptr %66, align 8, !tbaa !27 %67 = tail call i32 @IF_Gbps(i32 noundef 10) #2 %68 = load ptr, ptr %4, align 8, !tbaa !9 %69 = getelementptr inbounds %struct.TYPE_11__, ptr %68, i64 0, i32 5 store i32 %67, ptr %69, align 8, !tbaa !28 %70 = load i32, ptr %0, align 8, !tbaa !29 %71 = tail call i32 @ether_ifattach(ptr noundef %68, i32 noundef %70) #2 br label %72 72: ; preds = %8, %6 %73 = phi i32 [ 0, %8 ], [ %7, %6 ] ret i32 %73 } declare ptr @if_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ifmedia_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @if_initname(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_name(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @IFQ_SET_MAXLEN(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @IFQ_SET_READY(ptr noundef) local_unnamed_addr #1 declare i32 @IF_Gbps(i32 noundef) local_unnamed_addr #1 declare i32 @ether_ifattach(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, !12, i64 8} !10 = !{!"TYPE_10__", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"TYPE_9__", !6, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !15, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !16, i64 40, !6, i64 48, !6, i64 52, !12, i64 56, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76} !15 = !{!"long", !7, i64 0} !16 = !{!"TYPE_12__", !15, i64 0} !17 = !{!14, !6, i64 76} !18 = !{!14, !6, i64 72} !19 = !{!14, !6, i64 68} !20 = !{!14, !6, i64 64} !21 = !{!14, !12, i64 56} !22 = !{!10, !6, i64 16} !23 = !{!15, !15, i64 0} !24 = !{!14, !15, i64 40} !25 = !{!14, !6, i64 4} !26 = !{!14, !6, i64 28} !27 = !{!14, !6, i64 32} !28 = !{!14, !6, i64 24} !29 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_attach_ifp.c' source_filename = "AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_attach_ifp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFT_ETHER = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @IFM_IMASK = common local_unnamed_addr global i32 0, align 4 @oce_media_change = common local_unnamed_addr global i32 0, align 4 @oce_media_status = common local_unnamed_addr global i32 0, align 4 @IFM_ETHER = common local_unnamed_addr global i32 0, align 4 @IFM_AUTO = common local_unnamed_addr global i32 0, align 4 @IFF_BROADCAST = common local_unnamed_addr global i32 0, align 4 @IFF_MULTICAST = common local_unnamed_addr global i32 0, align 4 @oce_ioctl = common local_unnamed_addr global i32 0, align 4 @oce_start = common local_unnamed_addr global i32 0, align 4 @oce_init = common local_unnamed_addr global i32 0, align 4 @ETHERMTU = common local_unnamed_addr global i32 0, align 4 @OCE_MAX_TX_DESC = common local_unnamed_addr global i64 0, align 8 @OCE_IF_HWASSIST = common local_unnamed_addr global i32 0, align 4 @CSUM_TSO = common local_unnamed_addr global i32 0, align 4 @CSUM_IP = common local_unnamed_addr global i32 0, align 4 @CSUM_TCP = common local_unnamed_addr global i32 0, align 4 @CSUM_UDP = common local_unnamed_addr global i32 0, align 4 @OCE_IF_CAPABILITIES = common local_unnamed_addr global i32 0, align 4 @IFCAP_HWCSUM = common local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWFILTER = common local_unnamed_addr global i32 0, align 4 @ETHER_HDR_LEN = common local_unnamed_addr global i64 0, align 8 @ETHER_VLAN_ENCAP_LEN = common local_unnamed_addr global i64 0, align 8 @IFCAP_LRO = common local_unnamed_addr global i32 0, align 4 @IFCAP_TSO = common local_unnamed_addr global i32 0, align 4 @IFCAP_VLAN_HWTSO = common local_unnamed_addr global i32 0, align 4 @OCE_MAX_TX_ELEMENTS = common local_unnamed_addr global i32 0, align 4 @oce_multiq_flush = common local_unnamed_addr global i32 0, align 4 @oce_multiq_start = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @oce_attach_ifp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @oce_attach_ifp(ptr noundef %0) #0 { %2 = load i32, ptr @IFT_ETHER, align 4, !tbaa !6 %3 = tail call ptr @if_alloc(i32 noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %3, ptr %4, align 8, !tbaa !10 %5 = icmp eq ptr %3, null br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %72 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 20 %10 = load i32, ptr @IFM_IMASK, align 4, !tbaa !6 %11 = load i32, ptr @oce_media_change, align 4, !tbaa !6 %12 = load i32, ptr @oce_media_status, align 4, !tbaa !6 %13 = tail call i32 @ifmedia_init(ptr noundef nonnull %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @IFM_ETHER, align 4, !tbaa !6 %15 = load i32, ptr @IFM_AUTO, align 4, !tbaa !6 %16 = or i32 %15, %14 %17 = tail call i32 @ifmedia_add(ptr noundef nonnull %9, i32 noundef %16, i32 noundef 0, ptr noundef null) #2 %18 = load i32, ptr @IFM_ETHER, align 4, !tbaa !6 %19 = load i32, ptr @IFM_AUTO, align 4, !tbaa !6 %20 = or i32 %19, %18 %21 = tail call i32 @ifmedia_set(ptr noundef nonnull %9, i32 noundef %20) #2 %22 = load i32, ptr @IFF_BROADCAST, align 4, !tbaa !6 %23 = load i32, ptr @IFF_MULTICAST, align 4, !tbaa !6 %24 = or i32 %23, %22 %25 = load ptr, ptr %4, align 8, !tbaa !10 store i32 %24, ptr %25, align 8, !tbaa !14 %26 = load i32, ptr @oce_ioctl, align 4, !tbaa !6 %27 = getelementptr inbounds i8, ptr %25, i64 76 store i32 %26, ptr %27, align 4, !tbaa !18 %28 = load i32, ptr @oce_start, align 4, !tbaa !6 %29 = getelementptr inbounds i8, ptr %25, i64 72 store i32 %28, ptr %29, align 8, !tbaa !19 %30 = load i32, ptr @oce_init, align 4, !tbaa !6 %31 = getelementptr inbounds i8, ptr %25, i64 68 store i32 %30, ptr %31, align 4, !tbaa !20 %32 = load i32, ptr @ETHERMTU, align 4, !tbaa !6 %33 = getelementptr inbounds i8, ptr %25, i64 64 store i32 %32, ptr %33, align 8, !tbaa !21 %34 = getelementptr inbounds i8, ptr %25, i64 56 store ptr %0, ptr %34, align 8, !tbaa !22 %35 = getelementptr inbounds i8, ptr %0, i64 16 %36 = load i32, ptr %35, align 8, !tbaa !23 %37 = tail call i32 @device_get_name(i32 noundef %36) #2 %38 = load i32, ptr %35, align 8, !tbaa !23 %39 = tail call i32 @device_get_unit(i32 noundef %38) #2 %40 = tail call i32 @if_initname(ptr noundef nonnull %25, i32 noundef %37, i32 noundef %39) #2 %41 = load i64, ptr @OCE_MAX_TX_DESC, align 8, !tbaa !24 %42 = add nsw i64 %41, -1 %43 = load ptr, ptr %4, align 8, !tbaa !10 %44 = getelementptr inbounds i8, ptr %43, i64 40 store i64 %42, ptr %44, align 8, !tbaa !25 %45 = tail call i32 @IFQ_SET_MAXLEN(ptr noundef nonnull %44, i64 noundef %42) #2 %46 = load ptr, ptr %4, align 8, !tbaa !10 %47 = getelementptr inbounds i8, ptr %46, i64 40 %48 = tail call i32 @IFQ_SET_READY(ptr noundef nonnull %47) #2 %49 = load i32, ptr @OCE_IF_HWASSIST, align 4, !tbaa !6 %50 = load ptr, ptr %4, align 8, !tbaa !10 %51 = getelementptr inbounds i8, ptr %50, i64 4 %52 = load i32, ptr @CSUM_TSO, align 4, !tbaa !6 %53 = or i32 %52, %49 %54 = load i32, ptr @CSUM_IP, align 4, !tbaa !6 %55 = load i32, ptr @CSUM_TCP, align 4, !tbaa !6 %56 = load i32, ptr @CSUM_UDP, align 4, !tbaa !6 %57 = or i32 %54, %55 %58 = or i32 %57, %56 %59 = or i32 %58, %53 store i32 %59, ptr %51, align 4, !tbaa !26 %60 = load i32, ptr @OCE_IF_CAPABILITIES, align 4, !tbaa !6 %61 = getelementptr inbounds i8, ptr %50, i64 28 %62 = load i32, ptr @IFCAP_HWCSUM, align 4, !tbaa !6 %63 = or i32 %62, %60 %64 = load i32, ptr @IFCAP_VLAN_HWFILTER, align 4, !tbaa !6 %65 = or i32 %64, %63 store i32 %65, ptr %61, align 4, !tbaa !27 %66 = getelementptr inbounds i8, ptr %50, i64 32 store i32 %65, ptr %66, align 8, !tbaa !28 %67 = tail call i32 @IF_Gbps(i32 noundef 10) #2 %68 = load ptr, ptr %4, align 8, !tbaa !10 %69 = getelementptr inbounds i8, ptr %68, i64 24 store i32 %67, ptr %69, align 8, !tbaa !29 %70 = load i32, ptr %0, align 8, !tbaa !30 %71 = tail call i32 @ether_ifattach(ptr noundef %68, i32 noundef %70) #2 br label %72 72: ; preds = %8, %6 %73 = phi i32 [ 0, %8 ], [ %7, %6 ] ret i32 %73 } declare ptr @if_alloc(i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ifmedia_add(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ifmedia_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @if_initname(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_name(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @IFQ_SET_MAXLEN(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @IFQ_SET_READY(ptr noundef) local_unnamed_addr #1 declare i32 @IF_Gbps(i32 noundef) local_unnamed_addr #1 declare i32 @ether_ifattach(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, !13, i64 8} !11 = !{!"TYPE_10__", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"TYPE_9__", !7, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !16, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !17, i64 40, !7, i64 48, !7, i64 52, !13, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76} !16 = !{!"long", !8, i64 0} !17 = !{!"TYPE_12__", !16, i64 0} !18 = !{!15, !7, i64 76} !19 = !{!15, !7, i64 72} !20 = !{!15, !7, i64 68} !21 = !{!15, !7, i64 64} !22 = !{!15, !13, i64 56} !23 = !{!11, !7, i64 16} !24 = !{!16, !16, i64 0} !25 = !{!15, !16, i64 40} !26 = !{!15, !7, i64 4} !27 = !{!15, !7, i64 28} !28 = !{!15, !7, i64 32} !29 = !{!15, !7, i64 24} !30 = !{!11, !7, i64 0}
freebsd_sys_dev_oce_extr_oce_if.c_oce_attach_ifp
; ModuleID = 'AnghaBench/reactos/base/applications/mstsc/extr_tcp.c_tcp_connect.c' source_filename = "AnghaBench/reactos/base/applications/mstsc/extr_tcp.c_tcp_connect.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.sockaddr_in = type { i32, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.TYPE_5__ = type { i32, ptr } @INADDR_NONE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%s: unable to resolve host\0A\00", align 1 @False = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = dso_local local_unnamed_addr global i32 0, align 4 @g_sock = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1 @TCP_STRERROR = dso_local local_unnamed_addr global ptr null, align 8 @g_tcp_port_rdp = dso_local local_unnamed_addr global i32 0, align 4 @g_reconnect_loop = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"connect: %s\0A\00", align 1 @IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4 @TCP_NODELAY = dso_local local_unnamed_addr global i32 0, align 4 @SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4 @SO_RCVBUF = dso_local local_unnamed_addr global i32 0, align 4 @g_in = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @STREAM_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @g_out = dso_local local_unnamed_addr global ptr null, align 8 @True = dso_local local_unnamed_addr global i32 0, align 4 @AF_UNSPEC = dso_local local_unnamed_addr global i32 0, align 4 @g_ssl_server = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @tcp_connect(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = tail call ptr @gethostbyname(ptr noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 2 %9 = load i32, ptr %5, align 4, !tbaa !5 %10 = call i32 @memcpy(ptr noundef nonnull %8, i32 noundef %9, i32 noundef 4) #3 br label %18 11: ; preds = %1 %12 = tail call i32 @inet_addr(ptr noundef %0) #3 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 2 store i32 %12, ptr %13, align 4, !tbaa !10 %14 = load i32, ptr @INADDR_NONE, align 4, !tbaa !13 %15 = icmp eq i32 %12, %14 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3 br label %78 18: ; preds = %11, %7 %19 = load i32, ptr @AF_INET, align 4, !tbaa !13 %20 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !13 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) #3 store i32 %21, ptr @g_sock, align 4, !tbaa !13 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load ptr, ptr @TCP_STRERROR, align 8, !tbaa !14 %25 = call i32 @error(ptr noundef nonnull @.str.1, ptr noundef %24) #3 br label %78 26: ; preds = %18 %27 = load i32, ptr @AF_INET, align 4, !tbaa !13 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i64 0, i32 1 store i32 %27, ptr %28, align 4, !tbaa !16 %29 = load i32, ptr @g_tcp_port_rdp, align 4, !tbaa !13 %30 = call i32 @htons(i32 noundef %29) #3 store i32 %30, ptr %4, align 4, !tbaa !17 %31 = load i32, ptr @g_sock, align 4, !tbaa !13 %32 = call i64 @connect(i32 noundef %31, ptr noundef nonnull %4, i32 noundef 4) #3 %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %26 %35 = load i32, ptr @g_reconnect_loop, align 4, !tbaa !13 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load ptr, ptr @TCP_STRERROR, align 8, !tbaa !14 %39 = call i32 @error(ptr noundef nonnull @.str.2, ptr noundef %38) #3 br label %40 40: ; preds = %37, %34 %41 = load i32, ptr @g_sock, align 4, !tbaa !13 %42 = call i32 @TCP_CLOSE(i32 noundef %41) #3 store i32 -1, ptr @g_sock, align 4, !tbaa !13 br label %78 43: ; preds = %26 store i32 1, ptr %3, align 4, !tbaa !13 store i32 4, ptr %2, align 4, !tbaa !13 %44 = load i32, ptr @g_sock, align 4, !tbaa !13 %45 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !13 %46 = load i32, ptr @TCP_NODELAY, align 4, !tbaa !13 %47 = call i32 @setsockopt(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef nonnull %3, i32 noundef 4) #3 %48 = load i32, ptr @g_sock, align 4, !tbaa !13 %49 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !13 %50 = load i32, ptr @SO_RCVBUF, align 4, !tbaa !13 %51 = call i64 @getsockopt(i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %52 = icmp eq i64 %51, 0 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %53, 16384 %55 = select i1 %52, i1 %54, i1 false br i1 %55, label %56, label %61 56: ; preds = %43 store i32 16384, ptr %3, align 4, !tbaa !13 store i32 4, ptr %2, align 4, !tbaa !13 %57 = load i32, ptr @g_sock, align 4, !tbaa !13 %58 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !13 %59 = load i32, ptr @SO_RCVBUF, align 4, !tbaa !13 %60 = call i32 @setsockopt(i32 noundef %57, i32 noundef %58, i32 noundef %59, ptr noundef nonnull %3, i32 noundef 4) #3 br label %61 61: ; preds = %56, %43 store i32 4096, ptr @g_in, align 8, !tbaa !18 %62 = call i64 @xmalloc(i32 noundef 4096) #3 %63 = inttoptr i64 %62 to ptr store ptr %63, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @g_in, i64 0, i32 1), align 8, !tbaa !20 %64 = load i32, ptr @STREAM_COUNT, align 4, !tbaa !13 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %78 66: ; preds = %61, %66 %67 = phi i64 [ %74, %66 ], [ 0, %61 ] %68 = load ptr, ptr @g_out, align 8, !tbaa !14 %69 = getelementptr inbounds %struct.TYPE_5__, ptr %68, i64 %67 store i32 4096, ptr %69, align 8, !tbaa !21 %70 = call i64 @xmalloc(i32 noundef 4096) #3 %71 = inttoptr i64 %70 to ptr %72 = load ptr, ptr @g_out, align 8, !tbaa !14 %73 = getelementptr inbounds %struct.TYPE_5__, ptr %72, i64 %67, i32 1 store ptr %71, ptr %73, align 8, !tbaa !23 %74 = add nuw nsw i64 %67, 1 %75 = load i32, ptr @STREAM_COUNT, align 4, !tbaa !13 %76 = sext i32 %75 to i64 %77 = icmp slt i64 %74, %76 br i1 %77, label %66, label %78, !llvm.loop !24 78: ; preds = %66, %61, %40, %23, %16 %79 = phi ptr [ @False, %23 ], [ @False, %40 ], [ @False, %16 ], [ @True, %61 ], [ @True, %66 ] %80 = load i32, ptr %79, align 4, !tbaa !13 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @inet_addr(ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TCP_CLOSE(i32 noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hostent", !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 = !{!"sockaddr_in", !7, i64 0, !7, i64 4, !12, i64 8} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!11, !7, i64 4} !17 = !{!11, !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_6__", !7, i64 0, !15, i64 8} !20 = !{!19, !15, i64 8} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_5__", !7, i64 0, !15, i64 8} !23 = !{!22, !15, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/base/applications/mstsc/extr_tcp.c_tcp_connect.c' source_filename = "AnghaBench/reactos/base/applications/mstsc/extr_tcp.c_tcp_connect.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, ptr } %struct.sockaddr_in = type { i32, i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.TYPE_5__ = type { i32, ptr } @INADDR_NONE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"%s: unable to resolve host\0A\00", align 1 @False = common local_unnamed_addr global i32 0, align 4 @AF_INET = common local_unnamed_addr global i32 0, align 4 @SOCK_STREAM = common local_unnamed_addr global i32 0, align 4 @g_sock = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1 @TCP_STRERROR = common local_unnamed_addr global ptr null, align 8 @g_tcp_port_rdp = common local_unnamed_addr global i32 0, align 4 @g_reconnect_loop = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"connect: %s\0A\00", align 1 @IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4 @TCP_NODELAY = common local_unnamed_addr global i32 0, align 4 @SOL_SOCKET = common local_unnamed_addr global i32 0, align 4 @SO_RCVBUF = common local_unnamed_addr global i32 0, align 4 @g_in = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8 @STREAM_COUNT = common local_unnamed_addr global i32 0, align 4 @g_out = common local_unnamed_addr global ptr null, align 8 @True = common local_unnamed_addr global i32 0, align 4 @AF_UNSPEC = common local_unnamed_addr global i32 0, align 4 @g_ssl_server = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tcp_connect(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = tail call ptr @gethostbyname(ptr noundef %0) #3 %6 = icmp eq ptr %5, null br i1 %6, label %11, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = load i32, ptr %5, align 4, !tbaa !6 %10 = call i32 @memcpy(ptr noundef nonnull %8, i32 noundef %9, i32 noundef 4) #3 br label %18 11: ; preds = %1 %12 = tail call i32 @inet_addr(ptr noundef %0) #3 %13 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %12, ptr %13, align 4, !tbaa !11 %14 = load i32, ptr @INADDR_NONE, align 4, !tbaa !14 %15 = icmp eq i32 %12, %14 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3 br label %78 18: ; preds = %11, %7 %19 = load i32, ptr @AF_INET, align 4, !tbaa !14 %20 = load i32, ptr @SOCK_STREAM, align 4, !tbaa !14 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) #3 store i32 %21, ptr @g_sock, align 4, !tbaa !14 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load ptr, ptr @TCP_STRERROR, align 8, !tbaa !15 %25 = call i32 @error(ptr noundef nonnull @.str.1, ptr noundef %24) #3 br label %78 26: ; preds = %18 %27 = load i32, ptr @AF_INET, align 4, !tbaa !14 %28 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %27, ptr %28, align 4, !tbaa !17 %29 = load i32, ptr @g_tcp_port_rdp, align 4, !tbaa !14 %30 = call i32 @htons(i32 noundef %29) #3 store i32 %30, ptr %4, align 4, !tbaa !18 %31 = load i32, ptr @g_sock, align 4, !tbaa !14 %32 = call i64 @connect(i32 noundef %31, ptr noundef nonnull %4, i32 noundef 4) #3 %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %26 %35 = load i32, ptr @g_reconnect_loop, align 4, !tbaa !14 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = load ptr, ptr @TCP_STRERROR, align 8, !tbaa !15 %39 = call i32 @error(ptr noundef nonnull @.str.2, ptr noundef %38) #3 br label %40 40: ; preds = %37, %34 %41 = load i32, ptr @g_sock, align 4, !tbaa !14 %42 = call i32 @TCP_CLOSE(i32 noundef %41) #3 store i32 -1, ptr @g_sock, align 4, !tbaa !14 br label %78 43: ; preds = %26 store i32 1, ptr %3, align 4, !tbaa !14 store i32 4, ptr %2, align 4, !tbaa !14 %44 = load i32, ptr @g_sock, align 4, !tbaa !14 %45 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !14 %46 = load i32, ptr @TCP_NODELAY, align 4, !tbaa !14 %47 = call i32 @setsockopt(i32 noundef %44, i32 noundef %45, i32 noundef %46, ptr noundef nonnull %3, i32 noundef 4) #3 %48 = load i32, ptr @g_sock, align 4, !tbaa !14 %49 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !14 %50 = load i32, ptr @SO_RCVBUF, align 4, !tbaa !14 %51 = call i64 @getsockopt(i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef nonnull %3, ptr noundef nonnull %2) #3 %52 = icmp eq i64 %51, 0 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %53, 16384 %55 = select i1 %52, i1 %54, i1 false br i1 %55, label %56, label %61 56: ; preds = %43 store i32 16384, ptr %3, align 4, !tbaa !14 store i32 4, ptr %2, align 4, !tbaa !14 %57 = load i32, ptr @g_sock, align 4, !tbaa !14 %58 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !14 %59 = load i32, ptr @SO_RCVBUF, align 4, !tbaa !14 %60 = call i32 @setsockopt(i32 noundef %57, i32 noundef %58, i32 noundef %59, ptr noundef nonnull %3, i32 noundef 4) #3 br label %61 61: ; preds = %56, %43 store i32 4096, ptr @g_in, align 8, !tbaa !19 %62 = call i64 @xmalloc(i32 noundef 4096) #3 %63 = inttoptr i64 %62 to ptr store ptr %63, ptr getelementptr inbounds (i8, ptr @g_in, i64 8), align 8, !tbaa !21 %64 = load i32, ptr @STREAM_COUNT, align 4, !tbaa !14 %65 = icmp sgt i32 %64, 0 br i1 %65, label %66, label %78 66: ; preds = %61, %66 %67 = phi i64 [ %74, %66 ], [ 0, %61 ] %68 = load ptr, ptr @g_out, align 8, !tbaa !15 %69 = getelementptr inbounds %struct.TYPE_5__, ptr %68, i64 %67 store i32 4096, ptr %69, align 8, !tbaa !22 %70 = call i64 @xmalloc(i32 noundef 4096) #3 %71 = inttoptr i64 %70 to ptr %72 = load ptr, ptr @g_out, align 8, !tbaa !15 %73 = getelementptr inbounds %struct.TYPE_5__, ptr %72, i64 %67, i32 1 store ptr %71, ptr %73, align 8, !tbaa !24 %74 = add nuw nsw i64 %67, 1 %75 = load i32, ptr @STREAM_COUNT, align 4, !tbaa !14 %76 = sext i32 %75 to i64 %77 = icmp slt i64 %74, %76 br i1 %77, label %66, label %78, !llvm.loop !25 78: ; preds = %66, %61, %40, %23, %16 %79 = phi ptr [ @False, %23 ], [ @False, %40 ], [ @False, %16 ], [ @True, %61 ], [ @True, %66 ] %80 = load i32, ptr %79, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @inet_addr(ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @htons(i32 noundef) local_unnamed_addr #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @TCP_CLOSE(i32 noundef) local_unnamed_addr #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xmalloc(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hostent", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"sockaddr_in", !8, i64 0, !8, i64 4, !13, i64 8} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!12, !8, i64 4} !18 = !{!12, !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_6__", !8, i64 0, !16, i64 8} !21 = !{!20, !16, i64 8} !22 = !{!23, !8, i64 0} !23 = !{!"TYPE_5__", !8, i64 0, !16, i64 8} !24 = !{!23, !16, i64 8} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
reactos_base_applications_mstsc_extr_tcp.c_tcp_connect
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-x3proto/extr_ilsel.c_ilsel_enable.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-x3proto/extr_ilsel.c_ilsel_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ILSEL_KEY = dso_local local_unnamed_addr global i64 0, align 8 @ilsel_level_map = dso_local global i32 0, align 4 @ILSEL_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ilsel_enable(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @ILSEL_KEY, align 8, !tbaa !5 %3 = icmp slt i64 %2, %0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 br label %6 6: ; preds = %6, %1 %7 = load i32, ptr @ILSEL_LEVELS, align 4, !tbaa !9 %8 = tail call i32 @find_first_zero_bit(ptr noundef nonnull @ilsel_level_map, i32 noundef %7) #2 %9 = tail call i64 @test_and_set_bit(i32 noundef %8, ptr noundef nonnull @ilsel_level_map) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %6, !llvm.loop !11 11: ; preds = %6 %12 = tail call i32 @__ilsel_enable(i64 noundef %0, i32 noundef %8) #2 ret i32 %8 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @find_first_zero_bit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__ilsel_enable(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 = !{!"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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sh/boards/mach-x3proto/extr_ilsel.c_ilsel_enable.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sh/boards/mach-x3proto/extr_ilsel.c_ilsel_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ILSEL_KEY = common local_unnamed_addr global i64 0, align 8 @ilsel_level_map = common global i32 0, align 4 @ILSEL_LEVELS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @ilsel_enable(i64 noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @ILSEL_KEY, align 8, !tbaa !6 %3 = icmp slt i64 %2, %0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 br label %6 6: ; preds = %6, %1 %7 = load i32, ptr @ILSEL_LEVELS, align 4, !tbaa !10 %8 = tail call i32 @find_first_zero_bit(ptr noundef nonnull @ilsel_level_map, i32 noundef %7) #2 %9 = tail call i64 @test_and_set_bit(i32 noundef %8, ptr noundef nonnull @ilsel_level_map) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %6, !llvm.loop !12 11: ; preds = %6 %12 = tail call i32 @__ilsel_enable(i64 noundef %0, i32 noundef %8) #2 ret i32 %8 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @find_first_zero_bit(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__ilsel_enable(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 = !{!"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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_sh_boards_mach-x3proto_extr_ilsel.c_ilsel_enable
; ModuleID = 'AnghaBench/linux/drivers/misc/altera-stapl/extr_altera-jtag.c_altera_set_drstop.c' source_filename = "AnghaBench/linux/drivers/misc/altera-stapl/extr_altera-jtag.c_altera_set_drstop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local noundef i32 @altera_set_drstop(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !tbaa !5 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"altera_jtag", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/misc/altera-stapl/extr_altera-jtag.c_altera_set_drstop.c' source_filename = "AnghaBench/linux/drivers/misc/altera-stapl/extr_altera-jtag.c_altera_set_drstop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define noundef i32 @altera_set_drstop(ptr nocapture noundef writeonly %0, i32 noundef %1) local_unnamed_addr #0 { store i32 %1, ptr %0, align 4, !tbaa !6 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"altera_jtag", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_misc_altera-stapl_extr_altera-jtag.c_altera_set_drstop
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_sysfs.c_sdev_show_eh_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_sysfs.c_sdev_show_eh_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @HZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sdev_show_eh_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sdev_show_eh_timeout(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_scsi_device(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr @HZ, align 4, !tbaa !10 %7 = sdiv i32 %5, %6 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str, i32 noundef %7) #2 ret i32 %8 } declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"scsi_device", !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/scsi/extr_scsi_sysfs.c_sdev_show_eh_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_sysfs.c_sdev_show_eh_timeout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @HZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sdev_show_eh_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sdev_show_eh_timeout(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_scsi_device(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr @HZ, align 4, !tbaa !11 %7 = sdiv i32 %5, %6 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef 20, ptr noundef nonnull @.str, i32 noundef %7) #2 ret i32 %8 } declare ptr @to_scsi_device(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"scsi_device", !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_scsi_extr_scsi_sysfs.c_sdev_show_eh_timeout
; ModuleID = 'AnghaBench/linux/sound/hda/extr_hdac_regmap.c_snd_hdac_regmap_update_raw.c' source_filename = "AnghaBench/linux/sound/hda/extr_hdac_regmap.c_snd_hdac_regmap_update_raw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @snd_hdac_regmap_update_raw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @snd_hdac_regmap_read_raw(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5) #3 %7 = icmp slt i32 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %4 %9 = and i32 %3, %2 %10 = load i32, ptr %5, align 4, !tbaa !5 %11 = xor i32 %2, -1 %12 = and i32 %10, %11 %13 = or disjoint i32 %12, %9 %14 = icmp eq i32 %13, %10 br i1 %14, label %19, label %15 15: ; preds = %8 %16 = call i32 @snd_hdac_regmap_write_raw(ptr noundef %0, i32 noundef %1, i32 noundef %13) #3 %17 = icmp slt i32 %16, 0 %18 = select i1 %17, i32 %16, i32 1 br label %19 19: ; preds = %15, %8, %4 %20 = phi i32 [ %6, %4 ], [ 0, %8 ], [ %18, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @snd_hdac_regmap_read_raw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_hdac_regmap_write_raw(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/hda/extr_hdac_regmap.c_snd_hdac_regmap_update_raw.c' source_filename = "AnghaBench/linux/sound/hda/extr_hdac_regmap.c_snd_hdac_regmap_update_raw.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 -2147483648, 2) i32 @snd_hdac_regmap_update_raw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = call i32 @snd_hdac_regmap_read_raw(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %5) #3 %7 = icmp slt i32 %6, 0 br i1 %7, label %19, label %8 8: ; preds = %4 %9 = and i32 %3, %2 %10 = load i32, ptr %5, align 4, !tbaa !6 %11 = xor i32 %2, -1 %12 = and i32 %10, %11 %13 = or disjoint i32 %12, %9 %14 = icmp eq i32 %13, %10 br i1 %14, label %19, label %15 15: ; preds = %8 %16 = call i32 @snd_hdac_regmap_write_raw(ptr noundef %0, i32 noundef %1, i32 noundef %13) #3 %17 = icmp slt i32 %16, 0 %18 = select i1 %17, i32 %16, i32 1 br label %19 19: ; preds = %15, %8, %4 %20 = phi i32 [ %6, %4 ], [ 0, %8 ], [ %18, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %20 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @snd_hdac_regmap_read_raw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @snd_hdac_regmap_write_raw(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_hda_extr_hdac_regmap.c_snd_hdac_regmap_update_raw
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_paprd.c_paprd_abs.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_paprd.c_paprd_abs.c" target datalayout = "e-m:e-p270:32:32-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 @paprd_abs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @paprd_abs(i32 noundef %0) #0 { %2 = tail call i32 @llvm.abs.i32(i32 %0, i1 true) ret i32 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #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" } attributes #1 = { 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)"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_paprd.c_paprd_abs.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_paprd.c_paprd_abs.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 @paprd_abs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, -2147483648) i32 @paprd_abs(i32 noundef %0) #0 { %2 = tail call i32 @llvm.abs.i32(i32 %0, i1 true) ret i32 %2 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.abs.i32(i32, i1 immarg) #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" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_contrib_dev_ath_ath_hal_ar9300_extr_ar9300_paprd.c_paprd_abs
; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_suspend.c' source_filename = "AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_suspend.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vm = type { i32, i32, i32 } @VM_SUSPEND_NONE = dso_local local_unnamed_addr global i32 0, align 4 @VM_SUSPEND_LAST = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"virtual machine already suspended %d/%d\00", align 1 @EALREADY = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"virtual machine successfully suspended %d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @vm_suspend(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @VM_SUSPEND_NONE, align 4, !tbaa !5 %4 = icmp ult i32 %3, %1 %5 = load i32, ptr @VM_SUSPEND_LAST, align 4 %6 = icmp ugt i32 %5, %1 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %10, label %8 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %34 10: ; preds = %2 %11 = getelementptr inbounds %struct.vm, ptr %0, i64 0, i32 2 %12 = tail call i64 @atomic_cmpset_int(ptr noundef nonnull %11, i32 noundef 0, i32 noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %11, align 4, !tbaa !9 %16 = tail call i32 @VM_CTR2(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %1) #2 %17 = load i32, ptr @EALREADY, align 4, !tbaa !5 br label %34 18: ; preds = %10 %19 = tail call i32 @VM_CTR1(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1) #2 %20 = load i32, ptr %0, align 4, !tbaa !11 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %34 22: ; preds = %18 %23 = getelementptr inbounds %struct.vm, ptr %0, i64 0, i32 1 br label %24 24: ; preds = %22, %30 %25 = phi i32 [ 0, %22 ], [ %31, %30 ] %26 = tail call i64 @CPU_ISSET(i32 noundef %25, ptr noundef nonnull %23) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %24 %29 = tail call i32 @vcpu_notify_event(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 0) #2 br label %30 30: ; preds = %24, %28 %31 = add nuw nsw i32 %25, 1 %32 = load i32, ptr %0, align 4, !tbaa !11 %33 = icmp slt i32 %31, %32 br i1 %33, label %24, label %34, !llvm.loop !12 34: ; preds = %30, %18, %14, %8 %35 = phi i32 [ %9, %8 ], [ %17, %14 ], [ 0, %18 ], [ 0, %30 ] ret i32 %35 } declare i64 @atomic_cmpset_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VM_CTR2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VM_CTR1(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CPU_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vcpu_notify_event(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"vm", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_suspend.c' source_filename = "AnghaBench/freebsd/sys/amd64/vmm/extr_vmm.c_vm_suspend.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VM_SUSPEND_NONE = common local_unnamed_addr global i32 0, align 4 @VM_SUSPEND_LAST = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"virtual machine already suspended %d/%d\00", align 1 @EALREADY = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"virtual machine successfully suspended %d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vm_suspend(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @VM_SUSPEND_NONE, align 4, !tbaa !6 %4 = icmp ult i32 %3, %1 %5 = load i32, ptr @VM_SUSPEND_LAST, align 4 %6 = icmp ugt i32 %5, %1 %7 = select i1 %4, i1 %6, i1 false br i1 %7, label %10, label %8 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %34 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = tail call i64 @atomic_cmpset_int(ptr noundef nonnull %11, i32 noundef 0, i32 noundef %1) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %11, align 4, !tbaa !10 %16 = tail call i32 @VM_CTR2(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %1) #2 %17 = load i32, ptr @EALREADY, align 4, !tbaa !6 br label %34 18: ; preds = %10 %19 = tail call i32 @VM_CTR1(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %1) #2 %20 = load i32, ptr %0, align 4, !tbaa !12 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %34 22: ; preds = %18 %23 = getelementptr inbounds i8, ptr %0, i64 4 br label %24 24: ; preds = %22, %30 %25 = phi i32 [ 0, %22 ], [ %31, %30 ] %26 = tail call i64 @CPU_ISSET(i32 noundef %25, ptr noundef nonnull %23) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %24 %29 = tail call i32 @vcpu_notify_event(ptr noundef nonnull %0, i32 noundef %25, i32 noundef 0) #2 br label %30 30: ; preds = %24, %28 %31 = add nuw nsw i32 %25, 1 %32 = load i32, ptr %0, align 4, !tbaa !12 %33 = icmp slt i32 %31, %32 br i1 %33, label %24, label %34, !llvm.loop !13 34: ; preds = %30, %18, %14, %8 %35 = phi i32 [ %9, %8 ], [ %17, %14 ], [ 0, %18 ], [ 0, %30 ] ret i32 %35 } declare i64 @atomic_cmpset_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VM_CTR2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @VM_CTR1(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @CPU_ISSET(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vcpu_notify_event(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"vm", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_sys_amd64_vmm_extr_vmm.c_vm_suspend
; ModuleID = 'AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_find_option.c' source_filename = "AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_find_option.c" target datalayout = "e-m:e-p270:32:32-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.option = type { i64, i32, i64 } @OPTION_END = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_option], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @find_option(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @OPTION_END, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 br i1 %6, label %32, label %7 7: ; preds = %3 %8 = icmp eq i32 %1, 0 %9 = icmp ne ptr %2, null br label %10 10: ; preds = %7, %27 %11 = phi i64 [ %5, %7 ], [ %28, %27 ] %12 = phi ptr [ %0, %7 ], [ %29, %27 ] br i1 %8, label %17, label %13 13: ; preds = %10 %14 = getelementptr inbounds %struct.option, ptr %12, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !12 %16 = icmp eq i32 %15, %1 br i1 %16, label %32, label %17 17: ; preds = %13, %10 %18 = getelementptr inbounds %struct.option, ptr %12, i64 0, i32 2 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp ne i64 %19, 0 %21 = and i1 %9, %20 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = tail call i32 @strcmp(i64 noundef %19, ptr noundef nonnull %2) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %22 %26 = load i64, ptr @OPTION_END, align 8, !tbaa !11 br label %27 27: ; preds = %25, %17 %28 = phi i64 [ %26, %25 ], [ %11, %17 ] %29 = getelementptr inbounds %struct.option, ptr %12, i64 1 %30 = load i64, ptr %29, align 8, !tbaa !5 %31 = icmp eq i64 %30, %28 br i1 %31, label %32, label %10, !llvm.loop !14 32: ; preds = %22, %13, %27, %3 %33 = phi ptr [ null, %3 ], [ null, %27 ], [ %12, %13 ], [ %12, %22 ] ret ptr %33 } declare i32 @strcmp(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 = !{!"option", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!6, !7, i64 16} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_find_option.c' source_filename = "AnghaBench/linux/tools/lib/subcmd/extr_parse-options.c_find_option.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OPTION_END = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_option], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @find_option(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @OPTION_END, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 br i1 %6, label %32, label %7 7: ; preds = %3 %8 = icmp eq i32 %1, 0 %9 = icmp ne ptr %2, null br label %10 10: ; preds = %7, %27 %11 = phi i64 [ %5, %7 ], [ %28, %27 ] %12 = phi ptr [ %0, %7 ], [ %29, %27 ] br i1 %8, label %17, label %13 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %12, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = icmp eq i32 %15, %1 br i1 %16, label %32, label %17 17: ; preds = %13, %10 %18 = getelementptr inbounds i8, ptr %12, i64 16 %19 = load i64, ptr %18, align 8, !tbaa !14 %20 = icmp ne i64 %19, 0 %21 = and i1 %9, %20 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = tail call i32 @strcmp(i64 noundef %19, ptr noundef nonnull %2) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %22 %26 = load i64, ptr @OPTION_END, align 8, !tbaa !12 br label %27 27: ; preds = %25, %17 %28 = phi i64 [ %26, %25 ], [ %11, %17 ] %29 = getelementptr inbounds i8, ptr %12, i64 24 %30 = load i64, ptr %29, align 8, !tbaa !6 %31 = icmp eq i64 %30, %28 br i1 %31, label %32, label %10, !llvm.loop !15 32: ; preds = %22, %13, %27, %3 %33 = phi ptr [ null, %3 ], [ null, %27 ], [ %12, %13 ], [ %12, %22 ] ret ptr %33 } declare i32 @strcmp(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 = !{!"option", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!7, !8, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_tools_lib_subcmd_extr_parse-options.c_find_option
; ModuleID = 'AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_sigmatel_stac9708_specific.c' source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_sigmatel_stac9708_specific.c" target datalayout = "e-m:e-p270:32:32-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 [20 x i8] c"PCM Out Path & Mute\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Headphone Playback\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Sigmatel Surround Playback\00", align 1 @snd_ac97_stac9708_bias_control = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @patch_sigmatel_stac9708_specific], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @patch_sigmatel_stac9708_specific(ptr noundef %0) #0 { %2 = tail call i32 @snd_ac97_remove_ctl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef null) #2 %3 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2 %4 = tail call i32 @patch_build_controls(ptr noundef %0, ptr noundef nonnull @snd_ac97_stac9708_bias_control, i32 noundef 1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @patch_sigmatel_stac97xx_specific(ptr noundef %0) #2 br label %8 8: ; preds = %1, %6 %9 = phi i32 [ %7, %6 ], [ %4, %1 ] ret i32 %9 } declare i32 @snd_ac97_remove_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_ac97_rename_vol_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @patch_build_controls(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @patch_sigmatel_stac97xx_specific(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/sound/pci/ac97/extr_ac97_patch.c_patch_sigmatel_stac9708_specific.c' source_filename = "AnghaBench/linux/sound/pci/ac97/extr_ac97_patch.c_patch_sigmatel_stac9708_specific.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 [20 x i8] c"PCM Out Path & Mute\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Headphone Playback\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Sigmatel Surround Playback\00", align 1 @snd_ac97_stac9708_bias_control = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @patch_sigmatel_stac9708_specific], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @patch_sigmatel_stac9708_specific(ptr noundef %0) #0 { %2 = tail call i32 @snd_ac97_remove_ctl(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef null) #2 %3 = tail call i32 @snd_ac97_rename_vol_ctl(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #2 %4 = tail call i32 @patch_build_controls(ptr noundef %0, ptr noundef nonnull @snd_ac97_stac9708_bias_control, i32 noundef 1) #2 %5 = icmp slt i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @patch_sigmatel_stac97xx_specific(ptr noundef %0) #2 br label %8 8: ; preds = %1, %6 %9 = phi i32 [ %7, %6 ], [ %4, %1 ] ret i32 %9 } declare i32 @snd_ac97_remove_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snd_ac97_rename_vol_ctl(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @patch_build_controls(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @patch_sigmatel_stac97xx_specific(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_sound_pci_ac97_extr_ac97_patch.c_patch_sigmatel_stac9708_specific
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_generic.c_init_amp.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_generic.c_init_amp.c" target datalayout = "e-m:e-p270:32:32-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 @init_amp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_amp(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @query_amp_caps(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 %6 = tail call i32 @get_amp_val_to_activate(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5, i32 noundef 0) #2 %7 = tail call i32 @snd_hda_codec_amp_init_stereo(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 255, i32 noundef %6) #2 ret void } declare i32 @query_amp_caps(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_amp_val_to_activate(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_amp_init_stereo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_generic.c_init_amp.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/hda/extr_hda_generic.c_init_amp.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 @init_amp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_amp(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @query_amp_caps(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2 %6 = tail call i32 @get_amp_val_to_activate(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %5, i32 noundef 0) #2 %7 = tail call i32 @snd_hda_codec_amp_init_stereo(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 255, i32 noundef %6) #2 ret void } declare i32 @query_amp_caps(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_amp_val_to_activate(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_codec_amp_init_stereo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_sound_pci_hda_extr_hda_generic.c_init_amp
; ModuleID = 'AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_set_data.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_set_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @item_cur = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable define dso_local void @item_set_data(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @item_cur, align 8, !tbaa !5 store ptr %0, ptr %2, align 8, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_set_data.c' source_filename = "AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_item_set_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @item_cur = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define void @item_set_data(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @item_cur, align 8, !tbaa !6 store ptr %0, ptr %2, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !7, i64 0}
linux_scripts_kconfig_lxdialog_extr_util.c_item_set_data
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_a_strex.c_send_fp_chars.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_a_strex.c_send_fp_chars.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @send_fp_chars], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @send_fp_chars(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %9, label %5 5: ; preds = %3 %6 = tail call i32 @fwrite(ptr noundef %1, i32 noundef 1, i32 noundef %2, ptr noundef nonnull %0) #2 %7 = icmp eq i32 %6, %2 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %5, %3 %10 = phi i32 [ 1, %3 ], [ %8, %5 ] ret i32 %10 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_a_strex.c_send_fp_chars.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_a_strex.c_send_fp_chars.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @send_fp_chars], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @send_fp_chars(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %9, label %5 5: ; preds = %3 %6 = tail call i32 @fwrite(ptr noundef %1, i32 noundef 1, i32 noundef %2, ptr noundef nonnull %0) #2 %7 = icmp eq i32 %6, %2 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %5, %3 %10 = phi i32 [ 1, %3 ], [ %8, %5 ] ret i32 %10 } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_openssl_crypto_asn1_extr_a_strex.c_send_fp_chars
; ModuleID = 'AnghaBench/freebsd/sys/fs/nfsclient/extr_nfs_clbio.c_ncl_meta_setsize.c' source_filename = "AnghaBench/freebsd/sys/fs/nfsclient/extr_nfs_clbio.c_ncl_meta_setsize.c" target datalayout = "e-m:e-p270:32:32-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.buf = type { i64, i64, i64, i32 } @EINTR = dso_local local_unnamed_addr global i32 0, align 4 @B_RELBUF = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ncl_meta_setsize(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @VTONFS(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @NFSLOCKNODE(ptr noundef %4) #2 %7 = load i64, ptr %4, align 8, !tbaa !11 store i64 %2, ptr %4, align 8, !tbaa !11 %8 = tail call i32 @NFSUNLOCKNODE(ptr noundef nonnull %4) #2 %9 = icmp sgt i64 %7, %2 br i1 %9, label %10, label %39 10: ; preds = %3 %11 = tail call i32 @vtruncbuf(ptr noundef nonnull %0, i64 noundef %2, i32 noundef %5) #2 %12 = sext i32 %5 to i64 %13 = sdiv i64 %2, %12 %14 = trunc i64 %13 to i32 %15 = mul nsw i32 %5, %14 %16 = trunc i64 %2 to i32 %17 = sub i32 %16, %15 %18 = tail call ptr @nfs_getcacheblk(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %17, ptr noundef %1) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %10 %21 = load i32, ptr @EINTR, align 4, !tbaa !14 br label %41 22: ; preds = %10 %23 = load i64, ptr %18, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.buf, ptr %18, i64 0, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !17 %26 = icmp sgt i64 %23, %25 br i1 %26, label %27, label %28 27: ; preds = %22 store i64 %25, ptr %18, align 8, !tbaa !15 br label %28 28: ; preds = %27, %22 %29 = getelementptr inbounds %struct.buf, ptr %18, i64 0, i32 2 %30 = load i64, ptr %29, align 8, !tbaa !18 %31 = icmp sgt i64 %30, %25 br i1 %31, label %32, label %33 32: ; preds = %28 store i64 %25, ptr %29, align 8, !tbaa !18 br label %33 33: ; preds = %32, %28 %34 = load i32, ptr @B_RELBUF, align 4, !tbaa !14 %35 = getelementptr inbounds %struct.buf, ptr %18, i64 0, i32 3 %36 = load i32, ptr %35, align 8, !tbaa !19 %37 = or i32 %36, %34 store i32 %37, ptr %35, align 8, !tbaa !19 %38 = tail call i32 @brelse(ptr noundef nonnull %18) #2 br label %41 39: ; preds = %3 %40 = tail call i32 @vnode_pager_setsize(ptr noundef nonnull %0, i64 noundef %2) #2 br label %41 41: ; preds = %20, %33, %39 %42 = phi i32 [ 0, %39 ], [ %11, %33 ], [ %21, %20 ] ret i32 %42 } declare ptr @VTONFS(ptr noundef) local_unnamed_addr #1 declare i32 @NFSLOCKNODE(ptr noundef) local_unnamed_addr #1 declare i32 @NFSUNLOCKNODE(ptr noundef) local_unnamed_addr #1 declare i32 @vtruncbuf(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nfs_getcacheblk(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brelse(ptr noundef) local_unnamed_addr #1 declare i32 @vnode_pager_setsize(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, !8, i64 0} !6 = !{!"vnode", !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 = !{!12, !13, i64 0} !12 = !{!"nfsnode", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"buf", !13, i64 0, !13, i64 8, !13, i64 16, !8, i64 24} !17 = !{!16, !13, i64 8} !18 = !{!16, !13, i64 16} !19 = !{!16, !8, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/fs/nfsclient/extr_nfs_clbio.c_ncl_meta_setsize.c' source_filename = "AnghaBench/freebsd/sys/fs/nfsclient/extr_nfs_clbio.c_ncl_meta_setsize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINTR = common local_unnamed_addr global i32 0, align 4 @B_RELBUF = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ncl_meta_setsize(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @VTONFS(ptr noundef %0) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @NFSLOCKNODE(ptr noundef %4) #2 %7 = load i64, ptr %4, align 8, !tbaa !12 store i64 %2, ptr %4, align 8, !tbaa !12 %8 = tail call i32 @NFSUNLOCKNODE(ptr noundef nonnull %4) #2 %9 = icmp sgt i64 %7, %2 br i1 %9, label %10, label %39 10: ; preds = %3 %11 = tail call i32 @vtruncbuf(ptr noundef nonnull %0, i64 noundef %2, i32 noundef %5) #2 %12 = sext i32 %5 to i64 %13 = sdiv i64 %2, %12 %14 = trunc i64 %13 to i32 %15 = mul nsw i32 %5, %14 %16 = trunc i64 %2 to i32 %17 = sub i32 %16, %15 %18 = tail call ptr @nfs_getcacheblk(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %17, ptr noundef %1) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %10 %21 = load i32, ptr @EINTR, align 4, !tbaa !15 br label %41 22: ; preds = %10 %23 = load i64, ptr %18, align 8, !tbaa !16 %24 = getelementptr inbounds i8, ptr %18, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !18 %26 = icmp sgt i64 %23, %25 br i1 %26, label %27, label %28 27: ; preds = %22 store i64 %25, ptr %18, align 8, !tbaa !16 br label %28 28: ; preds = %27, %22 %29 = getelementptr inbounds i8, ptr %18, i64 16 %30 = load i64, ptr %29, align 8, !tbaa !19 %31 = icmp sgt i64 %30, %25 br i1 %31, label %32, label %33 32: ; preds = %28 store i64 %25, ptr %29, align 8, !tbaa !19 br label %33 33: ; preds = %28, %32 %34 = load i32, ptr @B_RELBUF, align 4, !tbaa !15 %35 = getelementptr inbounds i8, ptr %18, i64 24 %36 = load i32, ptr %35, align 8, !tbaa !20 %37 = or i32 %36, %34 store i32 %37, ptr %35, align 8, !tbaa !20 %38 = tail call i32 @brelse(ptr noundef nonnull %18) #2 br label %41 39: ; preds = %3 %40 = tail call i32 @vnode_pager_setsize(ptr noundef nonnull %0, i64 noundef %2) #2 br label %41 41: ; preds = %39, %33, %20 %42 = phi i32 [ %21, %20 ], [ %11, %33 ], [ 0, %39 ] ret i32 %42 } declare ptr @VTONFS(ptr noundef) local_unnamed_addr #1 declare i32 @NFSLOCKNODE(ptr noundef) local_unnamed_addr #1 declare i32 @NFSUNLOCKNODE(ptr noundef) local_unnamed_addr #1 declare i32 @vtruncbuf(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nfs_getcacheblk(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brelse(ptr noundef) local_unnamed_addr #1 declare i32 @vnode_pager_setsize(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, !9, i64 0} !7 = !{!"vnode", !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 = !{!13, !14, i64 0} !13 = !{!"nfsnode", !14, i64 0} !14 = !{!"long", !10, i64 0} !15 = !{!9, !9, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"buf", !14, i64 0, !14, i64 8, !14, i64 16, !9, i64 24} !18 = !{!17, !14, i64 8} !19 = !{!17, !14, i64 16} !20 = !{!17, !9, i64 24}
freebsd_sys_fs_nfsclient_extr_nfs_clbio.c_ncl_meta_setsize
; ModuleID = 'AnghaBench/freebsd/contrib/ncurses/form/extr_frm_driver.c_Undo_Justification.c' source_filename = "AnghaBench/freebsd/contrib/ncurses/form/extr_frm_driver.c_Undo_Justification.c" target datalayout = "e-m:e-p270:32:32-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 @Undo_Justification], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @Undo_Justification(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @Buffer_Length(ptr noundef nonnull %0) #2 %5 = tail call ptr @Get_Start_Of_Data(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @Buffer_Length(ptr noundef nonnull %0) #2 %8 = tail call ptr @After_End_Of_Data(i32 noundef %6, i32 noundef %7) #2 %9 = ptrtoint ptr %8 to i64 %10 = ptrtoint ptr %5 to i64 %11 = sub i64 %9, %10 %12 = lshr exact i64 %11, 2 %13 = trunc i64 %12 to i32 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = tail call i32 @assert(ptr noundef %1) #2 %17 = tail call i32 @wmove(ptr noundef %1, i32 noundef 0, i32 noundef 0) #2 %18 = tail call i32 @myADDNSTR(ptr noundef %1, ptr noundef %5, i32 noundef %13) #2 br label %19 19: ; preds = %15, %2 ret void } declare ptr @Get_Start_Of_Data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Buffer_Length(ptr noundef) local_unnamed_addr #1 declare ptr @After_End_Of_Data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @myADDNSTR(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, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ncurses/form/extr_frm_driver.c_Undo_Justification.c' source_filename = "AnghaBench/freebsd/contrib/ncurses/form/extr_frm_driver.c_Undo_Justification.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 @Undo_Justification], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @Undo_Justification(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @Buffer_Length(ptr noundef nonnull %0) #2 %5 = tail call ptr @Get_Start_Of_Data(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @Buffer_Length(ptr noundef nonnull %0) #2 %8 = tail call ptr @After_End_Of_Data(i32 noundef %6, i32 noundef %7) #2 %9 = ptrtoint ptr %8 to i64 %10 = ptrtoint ptr %5 to i64 %11 = sub i64 %9, %10 %12 = lshr exact i64 %11, 2 %13 = trunc i64 %12 to i32 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = tail call i32 @assert(ptr noundef %1) #2 %17 = tail call i32 @wmove(ptr noundef %1, i32 noundef 0, i32 noundef 0) #2 %18 = tail call i32 @myADDNSTR(ptr noundef %1, ptr noundef %5, i32 noundef %13) #2 br label %19 19: ; preds = %15, %2 ret void } declare ptr @Get_Start_Of_Data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @Buffer_Length(ptr noundef) local_unnamed_addr #1 declare ptr @After_End_Of_Data(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @myADDNSTR(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, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ncurses_form_extr_frm_driver.c_Undo_Justification
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_ipv6.c_sctp_v6_to_sk_saddr.c' source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_ipv6.c_sctp_v6_to_sk_saddr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AF_INET = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sctp_v6_to_sk_saddr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sctp_v6_to_sk_saddr(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @AF_INET, align 8, !tbaa !8 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %24 6: ; preds = %2 %7 = tail call ptr @sctp_sk(ptr noundef %1) #2 %8 = load i64, ptr %7, align 8, !tbaa !10 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %6 %11 = tail call ptr @inet6_sk(ptr noundef %1) #2 %12 = load ptr, ptr %11, align 8, !tbaa !12 store i64 0, ptr %12, align 8, !tbaa !8 %13 = tail call ptr @inet6_sk(ptr noundef %1) #2 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 0, ptr %15, align 8, !tbaa !8 %16 = tail call i64 @htonl(i32 noundef 65535) #2 %17 = tail call ptr @inet6_sk(ptr noundef %1) #2 %18 = load ptr, ptr %17, align 8, !tbaa !12 %19 = getelementptr inbounds i64, ptr %18, i64 2 store i64 %16, ptr %19, align 8, !tbaa !8 %20 = load i64, ptr %0, align 8, !tbaa !5 %21 = tail call ptr @inet6_sk(ptr noundef %1) #2 %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = getelementptr inbounds i64, ptr %22, i64 3 store i64 %20, ptr %23, align 8, !tbaa !8 br label %27 24: ; preds = %6, %2 %25 = tail call ptr @inet6_sk(ptr noundef %1) #2 %26 = load i64, ptr %0, align 8, !tbaa !16 store i64 %26, ptr %25, align 8, !tbaa !16 br label %27 27: ; preds = %24, %10 ret void } declare ptr @sctp_sk(ptr noundef) local_unnamed_addr #1 declare ptr @inet6_sk(ptr noundef) local_unnamed_addr #1 declare i64 @htonl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"long", !6, i64 0} !10 = !{!11, !9, i64 0} !11 = !{!"TYPE_13__", !9, i64 0} !12 = !{!13, !15, i64 0} !13 = !{!"TYPE_14__", !14, i64 0} !14 = !{!"TYPE_10__", !15, i64 0} !15 = !{!"any pointer", !6, i64 0} !16 = !{!15, !15, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_ipv6.c_sctp_v6_to_sk_saddr.c' source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_ipv6.c_sctp_v6_to_sk_saddr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AF_INET = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @sctp_v6_to_sk_saddr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sctp_v6_to_sk_saddr(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @AF_INET, align 8, !tbaa !9 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %24 6: ; preds = %2 %7 = tail call ptr @sctp_sk(ptr noundef %1) #2 %8 = load i64, ptr %7, align 8, !tbaa !11 %9 = icmp eq i64 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %6 %11 = tail call ptr @inet6_sk(ptr noundef %1) #2 %12 = load ptr, ptr %11, align 8, !tbaa !13 store i64 0, ptr %12, align 8, !tbaa !9 %13 = tail call ptr @inet6_sk(ptr noundef %1) #2 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = getelementptr inbounds i8, ptr %14, i64 8 store i64 0, ptr %15, align 8, !tbaa !9 %16 = tail call i64 @htonl(i32 noundef 65535) #2 %17 = tail call ptr @inet6_sk(ptr noundef %1) #2 %18 = load ptr, ptr %17, align 8, !tbaa !13 %19 = getelementptr inbounds i8, ptr %18, i64 16 store i64 %16, ptr %19, align 8, !tbaa !9 %20 = load i64, ptr %0, align 8, !tbaa !6 %21 = tail call ptr @inet6_sk(ptr noundef %1) #2 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = getelementptr inbounds i8, ptr %22, i64 24 store i64 %20, ptr %23, align 8, !tbaa !9 br label %27 24: ; preds = %6, %2 %25 = tail call ptr @inet6_sk(ptr noundef %1) #2 %26 = load i64, ptr %0, align 8, !tbaa !17 store i64 %26, ptr %25, align 8, !tbaa !17 br label %27 27: ; preds = %24, %10 ret void } declare ptr @sctp_sk(ptr noundef) local_unnamed_addr #1 declare ptr @inet6_sk(ptr noundef) local_unnamed_addr #1 declare i64 @htonl(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_13__", !10, i64 0} !13 = !{!14, !16, i64 0} !14 = !{!"TYPE_14__", !15, i64 0} !15 = !{!"TYPE_10__", !16, i64 0} !16 = !{!"any pointer", !7, i64 0} !17 = !{!16, !16, i64 0}
fastsocket_kernel_net_sctp_extr_ipv6.c_sctp_v6_to_sk_saddr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_msix_ring.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_msix_ring.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @igb_msix_ring], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @igb_msix_ring(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @igb_write_itr(ptr noundef %1) #2 %4 = tail call i32 @napi_schedule(ptr noundef %1) #2 %5 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %5 } declare i32 @igb_write_itr(ptr noundef) local_unnamed_addr #1 declare i32 @napi_schedule(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_msix_ring.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_igb_main.c_igb_msix_ring.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @igb_msix_ring], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @igb_msix_ring(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @igb_write_itr(ptr noundef %1) #2 %4 = tail call i32 @napi_schedule(ptr noundef %1) #2 %5 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %5 } declare i32 @igb_write_itr(ptr noundef) local_unnamed_addr #1 declare i32 @napi_schedule(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_igb_extr_igb_main.c_igb_msix_ring
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/pci/extr_ops-bonito64.c_bonito64_pcibios_config_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/pci/extr_ops-bonito64.c_bonito64_pcibios_config_access.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX_DEV_NUM = dso_local local_unnamed_addr global i32 0, align 4 @ID_SEL_BEGIN = dso_local local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD_MABORT_CLR = dso_local local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD_MTABORT_CLR = dso_local local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD = dso_local local_unnamed_addr global i32 0, align 4 @BONITO_PCIMAP_CFG = dso_local local_unnamed_addr global i32 0, align 4 @PCI_ACCESS_WRITE = dso_local local_unnamed_addr global i8 0, align 1 @BONITO_PCIMSTAT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bonito64_pcibios_config_access], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bonito64_pcibios_config_access(i8 noundef zeroext %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %1, align 4, !tbaa !5 %7 = tail call i32 @PCI_SLOT(i32 noundef %2) #2 %8 = tail call i32 @PCI_FUNC(i32 noundef %2) #2 %9 = and i32 %3, -4 %10 = icmp eq i32 %6, 0 br i1 %10, label %11, label %18 11: ; preds = %5 %12 = load i32, ptr @MAX_DEV_NUM, align 4, !tbaa !10 %13 = icmp sgt i32 %7, %12 br i1 %13, label %60, label %14 14: ; preds = %11 %15 = load i32, ptr @ID_SEL_BEGIN, align 4, !tbaa !10 %16 = add nsw i32 %15, %7 %17 = shl nuw i32 1, %16 br label %22 18: ; preds = %5 %19 = shl i32 %6, 16 %20 = shl i32 %7, 11 %21 = or i32 %20, %19 br label %22 22: ; preds = %18, %14 %23 = phi i32 [ %21, %18 ], [ %17, %14 ] %24 = phi i32 [ 65536, %18 ], [ 0, %14 ] %25 = shl i32 %8, 8 %26 = or i32 %23, %25 %27 = or i32 %26, %9 %28 = load i32, ptr @BONITO_PCICMD_MABORT_CLR, align 4, !tbaa !10 %29 = load i32, ptr @BONITO_PCICMD_MTABORT_CLR, align 4, !tbaa !10 %30 = or i32 %29, %28 %31 = load i32, ptr @BONITO_PCICMD, align 4, !tbaa !10 %32 = or i32 %30, %31 store i32 %32, ptr @BONITO_PCICMD, align 4, !tbaa !10 %33 = ashr i32 %27, 16 %34 = or i32 %33, %24 store i32 %34, ptr @BONITO_PCIMAP_CFG, align 4, !tbaa !10 %35 = tail call i32 (...) @mmiowb() #2 %36 = and i32 %27, 65535 %37 = tail call ptr @CFG_SPACE_REG(i32 noundef %36) #2 %38 = load i8, ptr @PCI_ACCESS_WRITE, align 1, !tbaa !11 %39 = icmp eq i8 %38, %0 br i1 %39, label %40, label %48 40: ; preds = %22 %41 = load i32, ptr %4, align 4, !tbaa !10 %42 = tail call i32 @cpu_to_le32(i32 noundef %41) #2 %43 = tail call i32 @writel(i32 noundef %42, ptr noundef %37) #2 %44 = load i32, ptr @BONITO_PCIMSTAT, align 4, !tbaa !10 %45 = and i32 %44, 15 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47, !llvm.loop !12 47: ; preds = %40, %47 br label %47 48: ; preds = %22 %49 = tail call i32 @readl(ptr noundef %37) #2 %50 = tail call i32 @le32_to_cpu(i32 noundef %49) #2 store i32 %50, ptr %4, align 4, !tbaa !10 br label %51 51: ; preds = %40, %48 %52 = load i32, ptr @BONITO_PCICMD, align 4, !tbaa !10 %53 = load i32, ptr @BONITO_PCICMD_MABORT_CLR, align 4, !tbaa !10 %54 = load i32, ptr @BONITO_PCICMD_MTABORT_CLR, align 4, !tbaa !10 %55 = or i32 %54, %53 %56 = and i32 %55, %52 %57 = icmp eq i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %51 %59 = or i32 %55, %52 store i32 %59, ptr @BONITO_PCICMD, align 4, !tbaa !10 br label %60 60: ; preds = %51, %11, %58 %61 = phi i32 [ -1, %58 ], [ -1, %11 ], [ 0, %51 ] ret i32 %61 } declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_FUNC(i32 noundef) local_unnamed_addr #1 declare i32 @mmiowb(...) local_unnamed_addr #1 declare ptr @CFG_SPACE_REG(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @readl(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 = !{!"pci_bus", !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 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/pci/extr_ops-bonito64.c_bonito64_pcibios_config_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/pci/extr_ops-bonito64.c_bonito64_pcibios_config_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_DEV_NUM = common local_unnamed_addr global i32 0, align 4 @ID_SEL_BEGIN = common local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD_MABORT_CLR = common local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD_MTABORT_CLR = common local_unnamed_addr global i32 0, align 4 @BONITO_PCICMD = common local_unnamed_addr global i32 0, align 4 @BONITO_PCIMAP_CFG = common local_unnamed_addr global i32 0, align 4 @PCI_ACCESS_WRITE = common local_unnamed_addr global i8 0, align 1 @BONITO_PCIMSTAT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bonito64_pcibios_config_access], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @bonito64_pcibios_config_access(i8 noundef zeroext %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %1, align 4, !tbaa !6 %7 = tail call i32 @PCI_SLOT(i32 noundef %2) #2 %8 = tail call i32 @PCI_FUNC(i32 noundef %2) #2 %9 = and i32 %3, -4 %10 = icmp eq i32 %6, 0 br i1 %10, label %11, label %18 11: ; preds = %5 %12 = load i32, ptr @MAX_DEV_NUM, align 4, !tbaa !11 %13 = icmp sgt i32 %7, %12 br i1 %13, label %60, label %14 14: ; preds = %11 %15 = load i32, ptr @ID_SEL_BEGIN, align 4, !tbaa !11 %16 = add nsw i32 %15, %7 %17 = shl nuw i32 1, %16 br label %22 18: ; preds = %5 %19 = shl i32 %6, 16 %20 = shl i32 %7, 11 %21 = or i32 %20, %19 br label %22 22: ; preds = %18, %14 %23 = phi i32 [ %21, %18 ], [ %17, %14 ] %24 = phi i32 [ 65536, %18 ], [ 0, %14 ] %25 = shl i32 %8, 8 %26 = or i32 %23, %25 %27 = or i32 %26, %9 %28 = load i32, ptr @BONITO_PCICMD_MABORT_CLR, align 4, !tbaa !11 %29 = load i32, ptr @BONITO_PCICMD_MTABORT_CLR, align 4, !tbaa !11 %30 = or i32 %29, %28 %31 = load i32, ptr @BONITO_PCICMD, align 4, !tbaa !11 %32 = or i32 %30, %31 store i32 %32, ptr @BONITO_PCICMD, align 4, !tbaa !11 %33 = ashr i32 %27, 16 %34 = or i32 %33, %24 store i32 %34, ptr @BONITO_PCIMAP_CFG, align 4, !tbaa !11 %35 = tail call i32 @mmiowb() #2 %36 = and i32 %27, 65535 %37 = tail call ptr @CFG_SPACE_REG(i32 noundef %36) #2 %38 = load i8, ptr @PCI_ACCESS_WRITE, align 1, !tbaa !12 %39 = icmp eq i8 %38, %0 br i1 %39, label %40, label %48 40: ; preds = %22 %41 = load i32, ptr %4, align 4, !tbaa !11 %42 = tail call i32 @cpu_to_le32(i32 noundef %41) #2 %43 = tail call i32 @writel(i32 noundef %42, ptr noundef %37) #2 %44 = load i32, ptr @BONITO_PCIMSTAT, align 4, !tbaa !11 %45 = and i32 %44, 15 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47, !llvm.loop !13 47: ; preds = %40, %47 br label %47 48: ; preds = %22 %49 = tail call i32 @readl(ptr noundef %37) #2 %50 = tail call i32 @le32_to_cpu(i32 noundef %49) #2 store i32 %50, ptr %4, align 4, !tbaa !11 br label %51 51: ; preds = %40, %48 %52 = load i32, ptr @BONITO_PCICMD, align 4, !tbaa !11 %53 = load i32, ptr @BONITO_PCICMD_MABORT_CLR, align 4, !tbaa !11 %54 = load i32, ptr @BONITO_PCICMD_MTABORT_CLR, align 4, !tbaa !11 %55 = or i32 %54, %53 %56 = and i32 %55, %52 %57 = icmp eq i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %51 %59 = or i32 %55, %52 store i32 %59, ptr @BONITO_PCICMD, align 4, !tbaa !11 br label %60 60: ; preds = %51, %11, %58 %61 = phi i32 [ -1, %58 ], [ -1, %11 ], [ 0, %51 ] ret i32 %61 } declare i32 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 declare i32 @PCI_FUNC(i32 noundef) local_unnamed_addr #1 declare i32 @mmiowb(...) local_unnamed_addr #1 declare ptr @CFG_SPACE_REG(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @readl(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 = !{!"pci_bus", !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 = !{!9, !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_mips_pci_extr_ops-bonito64.c_bonito64_pcibios_config_access
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ax25/extr_ax25_ds_timer.c_ax25_ds_idletimer_expiry.c' source_filename = "AnghaBench/fastsocket/kernel/net/ax25/extr_ax25_ds_timer.c_ax25_ds_idletimer_expiry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_12__ = type { ptr, i32, i64 } %struct.TYPE_13__ = type { ptr, i32, i64, i32 } @AX25_STATE_2 = dso_local local_unnamed_addr global i32 0, align 4 @TCP_CLOSE = dso_local local_unnamed_addr global i32 0, align 4 @SEND_SHUTDOWN = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_DEAD = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ax25_ds_idletimer_expiry(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ax25_clear_queues(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 store i64 0, ptr %3, align 8, !tbaa !5 %4 = load i32, ptr @AX25_STATE_2, align 4, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 store i32 %4, ptr %5, align 8, !tbaa !13 %6 = tail call i32 @ax25_calculate_t1(ptr noundef %0) #2 %7 = tail call i32 @ax25_start_t1timer(ptr noundef %0) #2 %8 = tail call i32 @ax25_stop_t3timer(ptr noundef %0) #2 %9 = load ptr, ptr %0, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %34, label %11 11: ; preds = %1 %12 = tail call i32 @bh_lock_sock(ptr noundef nonnull %9) #2 %13 = load i32, ptr @TCP_CLOSE, align 4, !tbaa !12 %14 = load ptr, ptr %0, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 0, i32 3 store i32 %13, ptr %15, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 0, i32 2 store i64 0, ptr %16, align 8, !tbaa !17 %17 = load i32, ptr @SEND_SHUTDOWN, align 4, !tbaa !12 %18 = getelementptr inbounds %struct.TYPE_13__, ptr %14, i64 0, i32 1 %19 = load i32, ptr %18, align 8, !tbaa !18 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 8, !tbaa !18 %21 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !12 %22 = tail call i32 @sock_flag(ptr noundef %14, i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %11 %25 = load ptr, ptr %0, align 8, !tbaa !14 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = tail call i32 %26(ptr noundef nonnull %25) #2 %28 = load ptr, ptr %0, align 8, !tbaa !14 %29 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !12 %30 = tail call i32 @sock_set_flag(ptr noundef %28, i32 noundef %29) #2 br label %31 31: ; preds = %24, %11 %32 = load ptr, ptr %0, align 8, !tbaa !14 %33 = tail call i32 @bh_unlock_sock(ptr noundef %32) #2 br label %34 34: ; preds = %31, %1 ret void } declare i32 @ax25_clear_queues(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_calculate_t1(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_start_t1timer(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_stop_t3timer(ptr noundef) local_unnamed_addr #1 declare i32 @bh_lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bh_unlock_sock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"TYPE_12__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !7, i64 0} !15 = !{!16, !10, i64 24} !16 = !{!"TYPE_13__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24} !17 = !{!16, !11, i64 16} !18 = !{!16, !10, i64 8} !19 = !{!16, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ax25/extr_ax25_ds_timer.c_ax25_ds_idletimer_expiry.c' source_filename = "AnghaBench/fastsocket/kernel/net/ax25/extr_ax25_ds_timer.c_ax25_ds_idletimer_expiry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AX25_STATE_2 = common local_unnamed_addr global i32 0, align 4 @TCP_CLOSE = common local_unnamed_addr global i32 0, align 4 @SEND_SHUTDOWN = common local_unnamed_addr global i32 0, align 4 @SOCK_DEAD = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ax25_ds_idletimer_expiry(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ax25_clear_queues(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %3, align 8, !tbaa !6 %4 = load i32, ptr @AX25_STATE_2, align 4, !tbaa !13 %5 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %4, ptr %5, align 8, !tbaa !14 %6 = tail call i32 @ax25_calculate_t1(ptr noundef %0) #2 %7 = tail call i32 @ax25_start_t1timer(ptr noundef %0) #2 %8 = tail call i32 @ax25_stop_t3timer(ptr noundef %0) #2 %9 = load ptr, ptr %0, align 8, !tbaa !15 %10 = icmp eq ptr %9, null br i1 %10, label %34, label %11 11: ; preds = %1 %12 = tail call i32 @bh_lock_sock(ptr noundef nonnull %9) #2 %13 = load i32, ptr @TCP_CLOSE, align 4, !tbaa !13 %14 = load ptr, ptr %0, align 8, !tbaa !15 %15 = getelementptr inbounds i8, ptr %14, i64 24 store i32 %13, ptr %15, align 8, !tbaa !16 %16 = getelementptr inbounds i8, ptr %14, i64 16 store i64 0, ptr %16, align 8, !tbaa !18 %17 = load i32, ptr @SEND_SHUTDOWN, align 4, !tbaa !13 %18 = getelementptr inbounds i8, ptr %14, i64 8 %19 = load i32, ptr %18, align 8, !tbaa !19 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 8, !tbaa !19 %21 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !13 %22 = tail call i32 @sock_flag(ptr noundef %14, i32 noundef %21) #2 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %11 %25 = load ptr, ptr %0, align 8, !tbaa !15 %26 = load ptr, ptr %25, align 8, !tbaa !20 %27 = tail call i32 %26(ptr noundef nonnull %25) #2 %28 = load ptr, ptr %0, align 8, !tbaa !15 %29 = load i32, ptr @SOCK_DEAD, align 4, !tbaa !13 %30 = tail call i32 @sock_set_flag(ptr noundef %28, i32 noundef %29) #2 br label %31 31: ; preds = %24, %11 %32 = load ptr, ptr %0, align 8, !tbaa !15 %33 = tail call i32 @bh_unlock_sock(ptr noundef %32) #2 br label %34 34: ; preds = %31, %1 ret void } declare i32 @ax25_clear_queues(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_calculate_t1(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_start_t1timer(ptr noundef) local_unnamed_addr #1 declare i32 @ax25_stop_t3timer(ptr noundef) local_unnamed_addr #1 declare i32 @bh_lock_sock(ptr noundef) local_unnamed_addr #1 declare i32 @sock_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_set_flag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bh_unlock_sock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"TYPE_12__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !8, i64 0} !16 = !{!17, !11, i64 24} !17 = !{!"TYPE_13__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24} !18 = !{!17, !12, i64 16} !19 = !{!17, !11, i64 8} !20 = !{!17, !8, i64 0}
fastsocket_kernel_net_ax25_extr_ax25_ds_timer.c_ax25_ds_idletimer_expiry
; ModuleID = 'AnghaBench/freebsd/contrib/apr/poll/unix/extr_pollset.c_create_wakeup_pipe.c' source_filename = "AnghaBench/freebsd/contrib/apr/poll/unix/extr_pollset.c_create_wakeup_pipe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @APR_ENOTIMPL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_wakeup_pipe], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @create_wakeup_pipe(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @APR_ENOTIMPL, align 4, !tbaa !5 ret i32 %2 } 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/freebsd/contrib/apr/poll/unix/extr_pollset.c_create_wakeup_pipe.c' source_filename = "AnghaBench/freebsd/contrib/apr/poll/unix/extr_pollset.c_create_wakeup_pipe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @APR_ENOTIMPL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @create_wakeup_pipe], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @create_wakeup_pipe(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @APR_ENOTIMPL, align 4, !tbaa !6 ret i32 %2 } 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"}
freebsd_contrib_apr_poll_unix_extr_pollset.c_create_wakeup_pipe
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_detach.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @omap4_wugen_detach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @omap4_wugen_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !10 %7 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %6, i32 noundef 0, ptr noundef nonnull %3) #2 store ptr null, ptr %2, align 8, !tbaa !5 br label %8 8: ; preds = %5, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"omap4_wugen_sc", !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/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_detach.c' source_filename = "AnghaBench/freebsd/sys/arm/ti/omap4/extr_omap4_wugen.c_omap4_wugen_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @omap4_wugen_detach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @omap4_wugen_detach(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %1 %6 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !11 %7 = tail call i32 @bus_release_resource(i32 noundef %0, i32 noundef %6, i32 noundef 0, ptr noundef nonnull %3) #2 store ptr null, ptr %2, align 8, !tbaa !6 br label %8 8: ; preds = %5, %1 ret i32 0 } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"omap4_wugen_sc", !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}
freebsd_sys_arm_ti_omap4_extr_omap4_wugen.c_omap4_wugen_detach
; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_hba.c_check_hostname.c' source_filename = "AnghaBench/postgres/src/backend/libpq/extr_hba.c_check_hostname.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, %struct.TYPE_7__, i32 } %struct.TYPE_7__ = type { %struct.TYPE_9__, i32 } %struct.TYPE_9__ = type { i64 } %struct.addrinfo = type { ptr, ptr } @NI_MAXHOST = dso_local local_unnamed_addr global i32 0, align 4 @NI_NAMEREQD = dso_local local_unnamed_addr global i32 0, align 4 @AF_INET = dso_local local_unnamed_addr global i64 0, align 8 @DEBUG2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [112 x i8] c"pg_hba.conf host name \22%s\22 rejected because address resolution did not return a match with IP address of client\00", align 1 @AF_INET6 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_hostname], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @check_hostname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp slt i32 %4, 0 br i1 %5, label %79, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %26 10: ; preds = %6 %11 = load i32, ptr @NI_MAXHOST, align 4, !tbaa !14 %12 = zext i32 %11 to i64 %13 = tail call ptr @llvm.stacksave.p0() %14 = alloca i8, i64 %12, align 16 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = load i32, ptr @NI_NAMEREQD, align 4, !tbaa !14 %19 = call i32 @pg_getnameinfo_all(ptr noundef nonnull %15, i32 noundef %17, ptr noundef nonnull %14, i32 noundef %11, ptr noundef null, i32 noundef 0, i32 noundef %18) #4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %10 %22 = call i32 @pstrdup(ptr noundef nonnull %14) #4 store i32 %22, ptr %7, align 8, !tbaa !13 call void @llvm.stackrestore.p0(ptr %13) %23 = load i32, ptr %7, align 8, !tbaa !13 br label %26 24: ; preds = %10 store i32 -2, ptr %0, align 8, !tbaa !5 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store i32 %19, ptr %25, align 4, !tbaa !16 call void @llvm.stackrestore.p0(ptr %13) br label %79 26: ; preds = %21, %6 %27 = phi i32 [ %23, %21 ], [ %8, %6 ] %28 = call i32 @hostname_match(ptr noundef %1, i32 noundef %27) #4 %29 = icmp eq i32 %28, 0 br i1 %29, label %79, label %30 30: ; preds = %26 %31 = load i32, ptr %0, align 8, !tbaa !5 %32 = icmp eq i32 %31, 1 br i1 %32, label %79, label %33 33: ; preds = %30 %34 = load i32, ptr %7, align 8, !tbaa !13 %35 = call i32 @getaddrinfo(i32 noundef %34, ptr noundef null, ptr noundef null, ptr noundef nonnull %3) #4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %33 %38 = load ptr, ptr %3, align 8, !tbaa !17 %39 = icmp eq ptr %38, null br i1 %39, label %73, label %40 40: ; preds = %37 %41 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %42 = load i64, ptr @AF_INET, align 8 br label %45 43: ; preds = %33 store i32 -2, ptr %0, align 8, !tbaa !5 %44 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store i32 %35, ptr %44, align 4, !tbaa !16 br label %79 45: ; preds = %40, %58 %46 = phi i64 [ %42, %40 ], [ %59, %58 ] %47 = phi ptr [ %38, %40 ], [ %61, %58 ] %48 = load ptr, ptr %47, align 8, !tbaa !19 %49 = load i64, ptr %48, align 8, !tbaa !21 %50 = load i64, ptr %41, align 8, !tbaa !23 %51 = icmp eq i64 %49, %50 %52 = icmp eq i64 %49, %46 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %58 54: ; preds = %45 %55 = call i64 @ipv4eq(ptr noundef nonnull %48, ptr noundef nonnull %41) #4 %56 = icmp eq i64 %55, 0 %57 = load i64, ptr @AF_INET, align 8 br i1 %56, label %58, label %66 58: ; preds = %45, %54 %59 = phi i64 [ %46, %45 ], [ %57, %54 ] %60 = getelementptr inbounds %struct.addrinfo, ptr %47, i64 0, i32 1 %61 = load ptr, ptr %60, align 8, !tbaa !17 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %45, !llvm.loop !24 63: ; preds = %58 %64 = load ptr, ptr %3, align 8, !tbaa !17 %65 = icmp eq ptr %64, null br i1 %65, label %73, label %71 66: ; preds = %54 %67 = load ptr, ptr %3, align 8, !tbaa !17 %68 = icmp eq ptr %67, null br i1 %68, label %76, label %69 69: ; preds = %66 %70 = call i32 @freeaddrinfo(ptr noundef nonnull %67) #4 br label %76 71: ; preds = %63 %72 = call i32 @freeaddrinfo(ptr noundef nonnull %64) #4 br label %73 73: ; preds = %63, %71, %37 %74 = load i32, ptr @DEBUG2, align 4, !tbaa !14 %75 = call i32 @elog(i32 noundef %74, ptr noundef nonnull @.str, ptr noundef %1) #4 br label %76 76: ; preds = %66, %69, %73 %77 = phi i32 [ 0, %73 ], [ 1, %69 ], [ 1, %66 ] %78 = phi i32 [ -1, %73 ], [ 1, %69 ], [ 1, %66 ] store i32 %78, ptr %0, align 8, !tbaa !5 br label %79 79: ; preds = %24, %30, %26, %2, %76, %43 %80 = phi i32 [ 0, %43 ], [ %77, %76 ], [ 0, %24 ], [ 0, %2 ], [ 0, %26 ], [ 1, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @pg_getnameinfo_all(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pstrdup(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 declare i32 @hostname_match(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @getaddrinfo(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ipv4eq(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #3 declare i32 @elog(i32 noundef, ptr noundef, 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 nosync nounwind willreturn } 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, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_7__", !11, i64 0, !7, i64 8} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 24} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !7, i64 4} !17 = !{!18, !18, i64 0} !18 = !{!"any pointer", !8, i64 0} !19 = !{!20, !18, i64 0} !20 = !{!"addrinfo", !18, i64 0, !18, i64 8} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_6__", !12, i64 0} !23 = !{!6, !12, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/libpq/extr_hba.c_check_hostname.c' source_filename = "AnghaBench/postgres/src/backend/libpq/extr_hba.c_check_hostname.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NI_MAXHOST = common local_unnamed_addr global i32 0, align 4 @NI_NAMEREQD = common local_unnamed_addr global i32 0, align 4 @AF_INET = common local_unnamed_addr global i64 0, align 8 @DEBUG2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [112 x i8] c"pg_hba.conf host name \22%s\22 rejected because address resolution did not return a match with IP address of client\00", align 1 @AF_INET6 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @check_hostname], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @check_hostname(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp slt i32 %4, 0 br i1 %5, label %79, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i32, ptr %7, align 8, !tbaa !14 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %26 10: ; preds = %6 %11 = load i32, ptr @NI_MAXHOST, align 4, !tbaa !15 %12 = zext i32 %11 to i64 %13 = tail call ptr @llvm.stacksave.p0() %14 = alloca i8, i64 %12, align 1 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = load i32, ptr @NI_NAMEREQD, align 4, !tbaa !15 %19 = call i32 @pg_getnameinfo_all(ptr noundef nonnull %15, i32 noundef %17, ptr noundef nonnull %14, i32 noundef %11, ptr noundef null, i32 noundef 0, i32 noundef %18) #4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %10 %22 = call i32 @pstrdup(ptr noundef nonnull %14) #4 store i32 %22, ptr %7, align 8, !tbaa !14 call void @llvm.stackrestore.p0(ptr %13) %23 = load i32, ptr %7, align 8, !tbaa !14 br label %26 24: ; preds = %10 store i32 -2, ptr %0, align 8, !tbaa !6 %25 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %19, ptr %25, align 4, !tbaa !17 call void @llvm.stackrestore.p0(ptr %13) br label %79 26: ; preds = %21, %6 %27 = phi i32 [ %23, %21 ], [ %8, %6 ] %28 = call i32 @hostname_match(ptr noundef %1, i32 noundef %27) #4 %29 = icmp eq i32 %28, 0 br i1 %29, label %79, label %30 30: ; preds = %26 %31 = load i32, ptr %0, align 8, !tbaa !6 %32 = icmp eq i32 %31, 1 br i1 %32, label %79, label %33 33: ; preds = %30 %34 = load i32, ptr %7, align 8, !tbaa !14 %35 = call i32 @getaddrinfo(i32 noundef %34, ptr noundef null, ptr noundef null, ptr noundef nonnull %3) #4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %33 %38 = load ptr, ptr %3, align 8, !tbaa !18 %39 = icmp eq ptr %38, null br i1 %39, label %73, label %40 40: ; preds = %37 %41 = getelementptr inbounds i8, ptr %0, i64 8 %42 = load i64, ptr @AF_INET, align 8 br label %45 43: ; preds = %33 store i32 -2, ptr %0, align 8, !tbaa !6 %44 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %35, ptr %44, align 4, !tbaa !17 br label %79 45: ; preds = %40, %58 %46 = phi i64 [ %42, %40 ], [ %59, %58 ] %47 = phi ptr [ %38, %40 ], [ %61, %58 ] %48 = load ptr, ptr %47, align 8, !tbaa !20 %49 = load i64, ptr %48, align 8, !tbaa !22 %50 = load i64, ptr %41, align 8, !tbaa !24 %51 = icmp eq i64 %49, %50 %52 = icmp eq i64 %49, %46 %53 = select i1 %51, i1 %52, i1 false br i1 %53, label %54, label %58 54: ; preds = %45 %55 = call i64 @ipv4eq(ptr noundef nonnull %48, ptr noundef nonnull %41) #4 %56 = icmp eq i64 %55, 0 %57 = load i64, ptr @AF_INET, align 8 br i1 %56, label %58, label %66 58: ; preds = %45, %54 %59 = phi i64 [ %46, %45 ], [ %57, %54 ] %60 = getelementptr inbounds i8, ptr %47, i64 8 %61 = load ptr, ptr %60, align 8, !tbaa !18 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %45, !llvm.loop !25 63: ; preds = %58 %64 = load ptr, ptr %3, align 8, !tbaa !18 %65 = icmp eq ptr %64, null br i1 %65, label %73, label %71 66: ; preds = %54 %67 = load ptr, ptr %3, align 8, !tbaa !18 %68 = icmp eq ptr %67, null br i1 %68, label %76, label %69 69: ; preds = %66 %70 = call i32 @freeaddrinfo(ptr noundef nonnull %67) #4 br label %76 71: ; preds = %63 %72 = call i32 @freeaddrinfo(ptr noundef nonnull %64) #4 br label %73 73: ; preds = %63, %71, %37 %74 = load i32, ptr @DEBUG2, align 4, !tbaa !15 %75 = call i32 @elog(i32 noundef %74, ptr noundef nonnull @.str, ptr noundef %1) #4 br label %76 76: ; preds = %66, %69, %73 %77 = phi i32 [ 0, %73 ], [ 1, %69 ], [ 1, %66 ] %78 = phi i32 [ -1, %73 ], [ 1, %69 ], [ 1, %66 ] store i32 %78, ptr %0, align 8, !tbaa !6 br label %79 79: ; preds = %24, %30, %26, %2, %76, %43 %80 = phi i32 [ 0, %43 ], [ %77, %76 ], [ 0, %24 ], [ 0, %2 ], [ 0, %26 ], [ 1, %30 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4 ret i32 %80 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @pg_getnameinfo_all(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @pstrdup(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 declare i32 @hostname_match(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @getaddrinfo(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ipv4eq(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @freeaddrinfo(ptr noundef) local_unnamed_addr #3 declare i32 @elog(i32 noundef, ptr noundef, 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 nosync nounwind willreturn } 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, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_7__", !12, i64 0, !8, i64 8} !12 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!7, !8, i64 24} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!7, !8, i64 4} !18 = !{!19, !19, i64 0} !19 = !{!"any pointer", !9, i64 0} !20 = !{!21, !19, i64 0} !21 = !{!"addrinfo", !19, i64 0, !19, i64 8} !22 = !{!23, !13, i64 0} !23 = !{!"TYPE_6__", !13, i64 0} !24 = !{!7, !13, i64 8} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_libpq_extr_hba.c_check_hostname
; ModuleID = 'AnghaBench/vlc/modules/lua/libs/extr_objects.c_vlclua_vout_release.c' source_filename = "AnghaBench/vlc/modules/lua/libs/extr_objects.c_vlclua_vout_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"vlc_object\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vlclua_vout_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vlclua_vout_release(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkudata(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str) #2 %3 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2 %4 = load ptr, ptr %2, align 8, !tbaa !5 %5 = tail call i32 @vout_Release(ptr noundef %4) #2 ret i32 0 } declare ptr @luaL_checkudata(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vout_Release(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/vlc/modules/lua/libs/extr_objects.c_vlclua_vout_release.c' source_filename = "AnghaBench/vlc/modules/lua/libs/extr_objects.c_vlclua_vout_release.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 [11 x i8] c"vlc_object\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vlclua_vout_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vlclua_vout_release(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkudata(ptr noundef %0, i32 noundef 1, ptr noundef nonnull @.str) #2 %3 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 1) #2 %4 = load ptr, ptr %2, align 8, !tbaa !6 %5 = tail call i32 @vout_Release(ptr noundef %4) #2 ret i32 0 } declare ptr @luaL_checkudata(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vout_Release(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
vlc_modules_lua_libs_extr_objects.c_vlclua_vout_release
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/not_so_minidox/extr_serial.c_serial_read_byte.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/not_so_minidox/extr_serial.c_serial_read_byte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @serial_read_byte], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @serial_read_byte() #0 { %1 = tail call i32 (...) @serial_input() #2 %2 = tail call i32 (...) @serial_read_pin() #2 %3 = tail call i32 (...) @serial_delay() #2 %4 = tail call i32 @_delay_us(i32 noundef 1) #2 %5 = tail call i32 (...) @serial_read_pin() #2 %6 = tail call i32 (...) @serial_delay() #2 %7 = tail call i32 @_delay_us(i32 noundef 1) #2 %8 = shl i32 %2, 2 %9 = shl i32 %5, 1 %10 = or i32 %8, %9 %11 = tail call i32 (...) @serial_read_pin() #2 %12 = or i32 %11, %10 %13 = tail call i32 (...) @serial_delay() #2 %14 = tail call i32 @_delay_us(i32 noundef 1) #2 %15 = tail call i32 (...) @serial_read_pin() #2 %16 = tail call i32 (...) @serial_delay() #2 %17 = tail call i32 @_delay_us(i32 noundef 1) #2 %18 = shl i32 %12, 2 %19 = shl i32 %15, 1 %20 = or i32 %18, %19 %21 = tail call i32 (...) @serial_read_pin() #2 %22 = or i32 %21, %20 %23 = tail call i32 (...) @serial_delay() #2 %24 = tail call i32 @_delay_us(i32 noundef 1) #2 %25 = tail call i32 (...) @serial_read_pin() #2 %26 = tail call i32 (...) @serial_delay() #2 %27 = tail call i32 @_delay_us(i32 noundef 1) #2 %28 = shl i32 %22, 2 %29 = shl i32 %25, 1 %30 = or i32 %28, %29 %31 = tail call i32 (...) @serial_read_pin() #2 %32 = or i32 %31, %30 %33 = tail call i32 (...) @serial_delay() #2 %34 = tail call i32 @_delay_us(i32 noundef 1) #2 %35 = shl i32 %32, 1 %36 = tail call i32 (...) @serial_read_pin() #2 %37 = or i32 %36, %35 %38 = tail call i32 (...) @serial_delay() #2 %39 = tail call i32 @_delay_us(i32 noundef 1) #2 ret i32 %37 } declare i32 @serial_input(...) local_unnamed_addr #1 declare i32 @serial_read_pin(...) local_unnamed_addr #1 declare i32 @serial_delay(...) local_unnamed_addr #1 declare i32 @_delay_us(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/not_so_minidox/extr_serial.c_serial_read_byte.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/not_so_minidox/extr_serial.c_serial_read_byte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @serial_read_byte], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @serial_read_byte() #0 { %1 = tail call i32 @serial_input() #2 %2 = tail call i32 @serial_read_pin() #2 %3 = tail call i32 @serial_delay() #2 %4 = tail call i32 @_delay_us(i32 noundef 1) #2 %5 = tail call i32 @serial_read_pin() #2 %6 = tail call i32 @serial_delay() #2 %7 = tail call i32 @_delay_us(i32 noundef 1) #2 %8 = shl i32 %2, 2 %9 = shl i32 %5, 1 %10 = or i32 %8, %9 %11 = tail call i32 @serial_read_pin() #2 %12 = or i32 %11, %10 %13 = tail call i32 @serial_delay() #2 %14 = tail call i32 @_delay_us(i32 noundef 1) #2 %15 = tail call i32 @serial_read_pin() #2 %16 = tail call i32 @serial_delay() #2 %17 = tail call i32 @_delay_us(i32 noundef 1) #2 %18 = shl i32 %12, 2 %19 = shl i32 %15, 1 %20 = or i32 %18, %19 %21 = tail call i32 @serial_read_pin() #2 %22 = or i32 %21, %20 %23 = tail call i32 @serial_delay() #2 %24 = tail call i32 @_delay_us(i32 noundef 1) #2 %25 = tail call i32 @serial_read_pin() #2 %26 = tail call i32 @serial_delay() #2 %27 = tail call i32 @_delay_us(i32 noundef 1) #2 %28 = shl i32 %22, 2 %29 = shl i32 %25, 1 %30 = or i32 %28, %29 %31 = tail call i32 @serial_read_pin() #2 %32 = or i32 %31, %30 %33 = tail call i32 @serial_delay() #2 %34 = tail call i32 @_delay_us(i32 noundef 1) #2 %35 = shl i32 %32, 1 %36 = tail call i32 @serial_read_pin() #2 %37 = or i32 %36, %35 %38 = tail call i32 @serial_delay() #2 %39 = tail call i32 @_delay_us(i32 noundef 1) #2 ret i32 %37 } declare i32 @serial_input(...) local_unnamed_addr #1 declare i32 @serial_read_pin(...) local_unnamed_addr #1 declare i32 @serial_delay(...) local_unnamed_addr #1 declare i32 @_delay_us(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_handwired_not_so_minidox_extr_serial.c_serial_read_byte
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_listener.c_evconnlistener_get_fd.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_listener.c_evconnlistener_get_fd.c" target datalayout = "e-m:e-p270:32:32-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 @evconnlistener_get_fd(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @LOCK(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call i32 %4(ptr noundef nonnull %0) #2 %6 = tail call i32 @UNLOCK(ptr noundef nonnull %0) #2 ret i32 %5 } declare i32 @LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"evconnlistener", !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/freebsd/contrib/ntp/sntp/libevent/extr_listener.c_evconnlistener_get_fd.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_listener.c_evconnlistener_get_fd.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 @evconnlistener_get_fd(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @LOCK(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call i32 %4(ptr noundef nonnull %0) #2 %6 = tail call i32 @UNLOCK(ptr noundef nonnull %0) #2 ret i32 %5 } declare i32 @LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"evconnlistener", !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}
freebsd_contrib_ntp_sntp_libevent_extr_listener.c_evconnlistener_get_fd
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ocfs2_empty_dir_priv = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_empty_dir_dx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ocfs2_empty_dir_dx(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !5 store i32 1, ptr %1, align 4, !tbaa !9 %5 = call i32 @ocfs2_read_inode_block(ptr noundef %0, ptr noundef nonnull %3) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 @mlog_errno(i32 noundef %5) #3 br label %26 9: ; preds = %2 %10 = load ptr, ptr %3, align 8, !tbaa !5 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = inttoptr i64 %11 to ptr %13 = call i32 @ocfs2_read_dx_root(ptr noundef %0, ptr noundef %12, ptr noundef nonnull %4) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %9 %16 = call i32 @mlog_errno(i32 noundef %13) #3 br label %26 17: ; preds = %9 %18 = load ptr, ptr %4, align 8, !tbaa !5 %19 = load i64, ptr %18, align 8, !tbaa !12 %20 = inttoptr i64 %19 to ptr %21 = load i32, ptr %20, align 4, !tbaa !15 %22 = call i32 @le32_to_cpu(i32 noundef %21) #3 %23 = icmp eq i32 %22, 2 br i1 %23, label %26, label %24 24: ; preds = %17 %25 = getelementptr inbounds %struct.ocfs2_empty_dir_priv, ptr %1, i64 0, i32 1 store i32 1, ptr %25, align 4, !tbaa !17 br label %26 26: ; preds = %17, %24, %15, %7 %27 = phi i32 [ %5, %7 ], [ %13, %15 ], [ 0, %24 ], [ 0, %17 ] %28 = load ptr, ptr %3, align 8, !tbaa !5 %29 = call i32 @brelse(ptr noundef %28) #3 %30 = load ptr, ptr %4, align 8, !tbaa !5 %31 = call i32 @brelse(ptr noundef %30) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_dx_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @brelse(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"ocfs2_empty_dir_priv", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"buffer_head", !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"ocfs2_dx_root_block", !11, i64 0} !17 = !{!10, !11, i64 4}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_dir.c_ocfs2_empty_dir_dx.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 @ocfs2_empty_dir_dx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ocfs2_empty_dir_dx(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !6 store i32 1, ptr %1, align 4, !tbaa !10 %5 = call i32 @ocfs2_read_inode_block(ptr noundef %0, ptr noundef nonnull %3) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 @mlog_errno(i32 noundef %5) #3 br label %26 9: ; preds = %2 %10 = load ptr, ptr %3, align 8, !tbaa !6 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = inttoptr i64 %11 to ptr %13 = call i32 @ocfs2_read_dx_root(ptr noundef %0, ptr noundef %12, ptr noundef nonnull %4) #3 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %9 %16 = call i32 @mlog_errno(i32 noundef %13) #3 br label %26 17: ; preds = %9 %18 = load ptr, ptr %4, align 8, !tbaa !6 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = inttoptr i64 %19 to ptr %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = call i32 @le32_to_cpu(i32 noundef %21) #3 %23 = icmp eq i32 %22, 2 br i1 %23, label %26, label %24 24: ; preds = %17 %25 = getelementptr inbounds i8, ptr %1, i64 4 store i32 1, ptr %25, align 4, !tbaa !18 br label %26 26: ; preds = %17, %24, %15, %7 %27 = phi i32 [ %5, %7 ], [ %13, %15 ], [ 0, %24 ], [ 0, %17 ] %28 = load ptr, ptr %3, align 8, !tbaa !6 %29 = call i32 @brelse(ptr noundef %28) #3 %30 = load ptr, ptr %4, align 8, !tbaa !6 %31 = call i32 @brelse(ptr noundef %30) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ocfs2_read_inode_block(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_read_dx_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @brelse(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"ocfs2_empty_dir_priv", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"buffer_head", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"ocfs2_dx_root_block", !12, i64 0} !18 = !{!11, !12, i64 4}
linux_fs_ocfs2_extr_dir.c_ocfs2_empty_dir_dx
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000e_write_itr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000e_write_itr.c" target datalayout = "e-m:e-p270:32:32-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.e1000_adapter = type { i32, i64, %struct.e1000_hw } %struct.e1000_hw = type { i64 } @ITR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @e1000e_write_itr(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 2 %4 = icmp eq i32 %1, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = shl nsw i32 %1, 8 %7 = sdiv i32 1000000000, %6 br label %8 8: ; preds = %2, %5 %9 = phi i32 [ %7, %5 ], [ 0, %2 ] %10 = getelementptr inbounds %struct.e1000_adapter, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %25, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 8, !tbaa !12 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %13, %16 %17 = phi i32 [ %22, %16 ], [ 0, %13 ] %18 = load i64, ptr %3, align 8, !tbaa !13 %19 = tail call i64 @E1000_EITR_82574(i32 noundef %17) #2 %20 = add nsw i64 %19, %18 %21 = tail call i32 @writel(i32 noundef %9, i64 noundef %20) #2 %22 = add nuw nsw i32 %17, 1 %23 = load i32, ptr %0, align 8, !tbaa !12 %24 = icmp slt i32 %22, %23 br i1 %24, label %16, label %28, !llvm.loop !14 25: ; preds = %8 %26 = load i32, ptr @ITR, align 4, !tbaa !16 %27 = tail call i32 @ew32(i32 noundef %26, i32 noundef %9) #2 br label %28 28: ; preds = %16, %13, %25 ret void } declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @E1000_EITR_82574(i32 noundef) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"e1000_adapter", !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 = !{!"long", !8, i64 0} !11 = !{!"e1000_hw", !10, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!11, !10, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000e_write_itr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000e_write_itr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ITR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @e1000e_write_itr(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = icmp eq i32 %1, 0 br i1 %4, label %8, label %5 5: ; preds = %2 %6 = shl nsw i32 %1, 8 %7 = sdiv i32 1000000000, %6 br label %8 8: ; preds = %2, %5 %9 = phi i32 [ %7, %5 ], [ 0, %2 ] %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %25, label %13 13: ; preds = %8 %14 = load i32, ptr %0, align 8, !tbaa !13 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %13, %16 %17 = phi i32 [ %22, %16 ], [ 0, %13 ] %18 = load i64, ptr %3, align 8, !tbaa !14 %19 = tail call i64 @E1000_EITR_82574(i32 noundef %17) #2 %20 = add nsw i64 %19, %18 %21 = tail call i32 @writel(i32 noundef %9, i64 noundef %20) #2 %22 = add nuw nsw i32 %17, 1 %23 = load i32, ptr %0, align 8, !tbaa !13 %24 = icmp slt i32 %22, %23 br i1 %24, label %16, label %28, !llvm.loop !15 25: ; preds = %8 %26 = load i32, ptr @ITR, align 4, !tbaa !17 %27 = tail call i32 @ew32(i32 noundef %26, i32 noundef %9) #2 br label %28 28: ; preds = %16, %13, %25 ret void } declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @E1000_EITR_82574(i32 noundef) local_unnamed_addr #1 declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"e1000_adapter", !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 = !{!"long", !9, i64 0} !12 = !{!"e1000_hw", !11, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!12, !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_intel_e1000e_extr_netdev.c_e1000e_write_itr
; ModuleID = 'AnghaBench/RetroArch/deps/discord-rpc/examples/send-presence/extr_send-presence.c_handleDiscordError.c' source_filename = "AnghaBench/RetroArch/deps/discord-rpc/examples/send-presence/extr_send-presence.c_handleDiscordError.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"\0ADiscord: error (%d: %s)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @handleDiscordError], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @handleDiscordError(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @printf(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)"}
; ModuleID = 'AnghaBench/RetroArch/deps/discord-rpc/examples/send-presence/extr_send-presence.c_handleDiscordError.c' source_filename = "AnghaBench/RetroArch/deps/discord-rpc/examples/send-presence/extr_send-presence.c_handleDiscordError.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [26 x i8] c"\0ADiscord: error (%d: %s)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @handleDiscordError], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @handleDiscordError(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0, ptr noundef %1) #2 ret void } declare i32 @printf(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)"}
RetroArch_deps_discord-rpc_examples_send-presence_extr_send-presence.c_handleDiscordError
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_cxt.c_ecore_cxt_get_total_srq_count.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_cxt.c_ecore_cxt_get_total_srq_count.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ecore_cxt_mngr = type { i64, i32 } ; Function Attrs: nounwind uwtable define dso_local i32 @ecore_cxt_get_total_srq_count(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.ecore_cxt_mngr, ptr %2, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr %2, align 8, !tbaa !14 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = tail call i64 @ecore_cxt_srqs_per_page(ptr noundef nonnull %0) #2 %9 = trunc i64 %8 to i32 %10 = add i32 %4, %9 br label %11 11: ; preds = %7, %1 %12 = phi i32 [ %10, %7 ], [ %4, %1 ] ret i32 %12 } declare i64 @ecore_cxt_srqs_per_page(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 = !{!"ecore_hwfn", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"ecore_cxt_mngr", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_cxt.c_ecore_cxt_get_total_srq_count.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_cxt.c_ecore_cxt_get_total_srq_count.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 @ecore_cxt_get_total_srq_count(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = load i64, ptr %2, align 8, !tbaa !15 %6 = icmp eq i64 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = tail call i64 @ecore_cxt_srqs_per_page(ptr noundef nonnull %0) #2 %9 = trunc i64 %8 to i32 %10 = add i32 %4, %9 br label %11 11: ; preds = %7, %1 %12 = phi i32 [ %10, %7 ], [ %4, %1 ] ret i32 %12 } declare i64 @ecore_cxt_srqs_per_page(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 = !{!"ecore_hwfn", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 8} !12 = !{!"ecore_cxt_mngr", !13, i64 0, !14, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!12, !13, i64 0}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_cxt.c_ecore_cxt_get_total_srq_count
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/d3dcompiler_43/extr_asm.c_ps_3_0_test.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/d3dcompiler_43/extr_asm.c_ps_3_0_test.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.shader_test = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"ps_3_0\0Amov r0, c0\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"ps_3_0\0Adcl_normal5 v0\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"ps_3_0\0Amov r0, vPos\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"ps_3_0\0Amov r0, vFace\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"ps_3_0\0Amov r0, v[ aL + 12 ]\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"ps_3_0\0Aloop aL, i0\0Amov r0, v0[aL]\0Aendloop\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"ps_3_0\0Atexldl r0, v0, s0\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"ps_3_0\0Aadd_pp r0, r0, r1\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"ps_3_0\0Adsx_sat r0, r1\0A\00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"ps_3_0\0Atexldd_pp r0, r1, r2, r3, r4\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"ps_3_0\0Atexkill v0\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"ps_3_0\0Aadd oC3, r0, r1\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"ps_3_0\0Adcl_texcoord0_centroid v0\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"ps_3_0\0Adcl_2d_centroid s0\0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"ps.3.0\0Adcl_2d_pp s0\0A\00", align 1 @__const.ps_3_0_test.tests = private unnamed_addr constant [15 x %struct.shader_test] [%struct.shader_test { ptr @.str, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1595670528, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.1, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -2147155965, i32 -1878065152, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.2, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1864101888, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.3, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1864101887, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.4, %struct.TYPE_2__ { i32 -64768, i32 50331649, i32 -2146500608, i32 -1864097780, i32 -253491200, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.5, %struct.TYPE_2__ { i32 -64768, i32 33554459, i32 -253491200, i32 -253493248, i32 50331649, i32 -2146500608, i32 -1864097792, i32 -253491200, i32 29, i32 65535 } }, %struct.shader_test { ptr @.str.6, %struct.TYPE_2__ { i32 -64768, i32 50331743, i32 -2146500608, i32 -1864105984, i32 -1595668480, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.7, %struct.TYPE_2__ { i32 -64768, i32 50331650, i32 -2144403456, i32 -2132541440, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.8, %struct.TYPE_2__ { i32 -64768, i32 33554523, i32 -2145452032, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.9, %struct.TYPE_2__ { i32 -64768, i32 83886173, i32 -2144403456, i32 -2132541439, i32 -2132541438, i32 -2132541437, i32 -2132541436, i32 65535, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.10, %struct.TYPE_2__ { i32 -64768, i32 16777281, i32 -1878065152, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.11, %struct.TYPE_2__ { i32 -64768, i32 50331650, i32 -2146498557, i32 -2132541440, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.12, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -2147483643, i32 -1873870848, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.13, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -1879048192, i32 -1605433344, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.14, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -1879048192, i32 -1607530496, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }], align 16 @.str.15 = private unnamed_addr constant [7 x i8] c"ps_3_0\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ps_3_0_test], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ps_3_0_test() #0 { %1 = alloca [15 x %struct.shader_test], align 16 call void @llvm.lifetime.start.p0(i64 720, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(720) %1, ptr noundef nonnull align 16 dereferenceable(720) @__const.ps_3_0_test.tests, i64 720, i1 false) %2 = call i32 @ARRAY_SIZE(ptr noundef nonnull %1) #4 %3 = call i32 @exec_tests(ptr noundef nonnull @.str.15, ptr noundef nonnull %1, i32 noundef %2) #4 call void @llvm.lifetime.end.p0(i64 720, 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 @exec_tests(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ARRAY_SIZE(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)"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/d3dcompiler_43/extr_asm.c_ps_3_0_test.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/d3dcompiler_43/extr_asm.c_ps_3_0_test.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.shader_test = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"ps_3_0\0Amov r0, c0\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"ps_3_0\0Adcl_normal5 v0\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"ps_3_0\0Amov r0, vPos\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"ps_3_0\0Amov r0, vFace\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"ps_3_0\0Amov r0, v[ aL + 12 ]\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"ps_3_0\0Aloop aL, i0\0Amov r0, v0[aL]\0Aendloop\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"ps_3_0\0Atexldl r0, v0, s0\0A\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"ps_3_0\0Aadd_pp r0, r0, r1\0A\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"ps_3_0\0Adsx_sat r0, r1\0A\00", align 1 @.str.9 = private unnamed_addr constant [37 x i8] c"ps_3_0\0Atexldd_pp r0, r1, r2, r3, r4\0A\00", align 1 @.str.10 = private unnamed_addr constant [19 x i8] c"ps_3_0\0Atexkill v0\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"ps_3_0\0Aadd oC3, r0, r1\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"ps_3_0\0Adcl_texcoord0_centroid v0\0A\00", align 1 @.str.13 = private unnamed_addr constant [27 x i8] c"ps_3_0\0Adcl_2d_centroid s0\0A\00", align 1 @.str.14 = private unnamed_addr constant [21 x i8] c"ps.3.0\0Adcl_2d_pp s0\0A\00", align 1 @__const.ps_3_0_test.tests = private unnamed_addr constant [15 x %struct.shader_test] [%struct.shader_test { ptr @.str, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1595670528, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.1, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -2147155965, i32 -1878065152, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.2, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1864101888, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.3, %struct.TYPE_2__ { i32 -64768, i32 33554433, i32 -2146500608, i32 -1864101887, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.4, %struct.TYPE_2__ { i32 -64768, i32 50331649, i32 -2146500608, i32 -1864097780, i32 -253491200, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.5, %struct.TYPE_2__ { i32 -64768, i32 33554459, i32 -253491200, i32 -253493248, i32 50331649, i32 -2146500608, i32 -1864097792, i32 -253491200, i32 29, i32 65535 } }, %struct.shader_test { ptr @.str.6, %struct.TYPE_2__ { i32 -64768, i32 50331743, i32 -2146500608, i32 -1864105984, i32 -1595668480, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.7, %struct.TYPE_2__ { i32 -64768, i32 50331650, i32 -2144403456, i32 -2132541440, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.8, %struct.TYPE_2__ { i32 -64768, i32 33554523, i32 -2145452032, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.9, %struct.TYPE_2__ { i32 -64768, i32 83886173, i32 -2144403456, i32 -2132541439, i32 -2132541438, i32 -2132541437, i32 -2132541436, i32 65535, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.10, %struct.TYPE_2__ { i32 -64768, i32 16777281, i32 -1878065152, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.11, %struct.TYPE_2__ { i32 -64768, i32 50331650, i32 -2146498557, i32 -2132541440, i32 -2132541439, i32 65535, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.12, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -2147483643, i32 -1873870848, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.13, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -1879048192, i32 -1605433344, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }, %struct.shader_test { ptr @.str.14, %struct.TYPE_2__ { i32 -64768, i32 33554463, i32 -1879048192, i32 -1607530496, i32 65535, i32 0, i32 0, i32 0, i32 0, i32 0 } }], align 8 @.str.15 = private unnamed_addr constant [7 x i8] c"ps_3_0\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ps_3_0_test], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ps_3_0_test() #0 { %1 = alloca [15 x %struct.shader_test], align 8 call void @llvm.lifetime.start.p0(i64 720, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(720) %1, ptr noundef nonnull align 8 dereferenceable(720) @__const.ps_3_0_test.tests, i64 720, i1 false) %2 = call i32 @ARRAY_SIZE(ptr noundef nonnull %1) #4 %3 = call i32 @exec_tests(ptr noundef nonnull @.str.15, ptr noundef nonnull %1, i32 noundef %2) #4 call void @llvm.lifetime.end.p0(i64 720, 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 @exec_tests(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ARRAY_SIZE(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)"}
reactos_modules_rostests_winetests_d3dcompiler_43_extr_asm.c_ps_3_0_test
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_dag.c_svn_fs_base__dag_get_predecessor_id.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_dag.c_svn_fs_base__dag_get_predecessor_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.TYPE_6__ = type { i32, i32 } @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_base__dag_get_predecessor_id(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i32, ptr %1, align 4, !tbaa !10 %9 = call i32 @svn_fs_bdb__get_node_revision(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %8, ptr noundef %2, ptr noundef %3) #3 %10 = call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %5, align 8, !tbaa !11 %12 = load ptr, ptr %11, align 8, !tbaa !13 store ptr %12, ptr %0, align 8, !tbaa !11 %13 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_bdb__get_node_revision(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_5__", !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_dag.c_svn_fs_base__dag_get_predecessor_id.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_dag.c_svn_fs_base__dag_get_predecessor_id.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 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_base__dag_get_predecessor_id(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = getelementptr inbounds i8, ptr %1, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i32, ptr %1, align 4, !tbaa !11 %9 = call i32 @svn_fs_bdb__get_node_revision(ptr noundef nonnull %5, i32 noundef %7, i32 noundef %8, ptr noundef %2, ptr noundef %3) #3 %10 = call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %5, align 8, !tbaa !12 %12 = load ptr, ptr %11, align 8, !tbaa !14 store ptr %12, ptr %0, align 8, !tbaa !12 %13 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %13 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_bdb__get_node_revision(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_5__", !13, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_base_extr_dag.c_svn_fs_base__dag_get_predecessor_id
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aic.c_unquant_block.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aic.c_unquant_block.c" target datalayout = "e-m:e-p270:32:32-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 @unquant_block], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @unquant_block(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr i8, ptr %0, i64 256 %5 = getelementptr i8, ptr %2, i64 256 %6 = icmp ugt ptr %5, %0 %7 = icmp ugt ptr %4, %2 %8 = and i1 %6, %7 br i1 %8, label %28, label %9 9: ; preds = %3 %10 = insertelement <4 x i32> poison, i32 %1, i64 0 %11 = shufflevector <4 x i32> %10, <4 x i32> poison, <4 x i32> zeroinitializer br label %12 12: ; preds = %12, %9 %13 = phi i64 [ 0, %9 ], [ %26, %12 ] %14 = getelementptr inbounds i32, ptr %0, i64 %13 %15 = load <4 x i32>, ptr %14, align 4, !tbaa !5, !alias.scope !9, !noalias !12 %16 = and <4 x i32> %15, <i32 1, i32 1, i32 1, i32 1> %17 = ashr <4 x i32> %15, <i32 1, i32 1, i32 1, i32 1> %18 = sub nsw <4 x i32> zeroinitializer, %16 %19 = xor <4 x i32> %17, %18 %20 = getelementptr inbounds i32, ptr %2, i64 %13 %21 = load <4 x i32>, ptr %20, align 4, !tbaa !5, !alias.scope !12 %22 = mul <4 x i32> %21, %11 %23 = mul <4 x i32> %22, %19 %24 = ashr <4 x i32> %23, <i32 4, i32 4, i32 4, i32 4> %25 = add nsw <4 x i32> %24, %16 store <4 x i32> %25, ptr %14, align 4, !tbaa !5, !alias.scope !9, !noalias !12 %26 = add nuw i64 %13, 4 %27 = icmp eq i64 %26, 64 br i1 %27, label %57, label %12, !llvm.loop !14 28: ; preds = %3, %28 %29 = phi i64 [ %55, %28 ], [ 0, %3 ] %30 = getelementptr inbounds i32, ptr %0, i64 %29 %31 = load i32, ptr %30, align 4, !tbaa !5 %32 = and i32 %31, 1 %33 = ashr i32 %31, 1 %34 = sub nsw i32 0, %32 %35 = xor i32 %33, %34 %36 = getelementptr inbounds i32, ptr %2, i64 %29 %37 = load i32, ptr %36, align 4, !tbaa !5 %38 = mul i32 %37, %1 %39 = mul i32 %38, %35 %40 = ashr i32 %39, 4 %41 = add nsw i32 %40, %32 store i32 %41, ptr %30, align 4, !tbaa !5 %42 = or disjoint i64 %29, 1 %43 = getelementptr inbounds i32, ptr %0, i64 %42 %44 = load i32, ptr %43, align 4, !tbaa !5 %45 = and i32 %44, 1 %46 = ashr i32 %44, 1 %47 = sub nsw i32 0, %45 %48 = xor i32 %46, %47 %49 = getelementptr inbounds i32, ptr %2, i64 %42 %50 = load i32, ptr %49, align 4, !tbaa !5 %51 = mul i32 %50, %1 %52 = mul i32 %51, %48 %53 = ashr i32 %52, 4 %54 = add nsw i32 %53, %45 store i32 %54, ptr %43, align 4, !tbaa !5 %55 = add nuw nsw i64 %29, 2 %56 = icmp eq i64 %55, 64 br i1 %56, label %57, label %28, !llvm.loop !18 57: ; preds = %12, %28 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10} !10 = distinct !{!10, !11} !11 = distinct !{!11, !"LVerDomain"} !12 = !{!13} !13 = distinct !{!13, !11} !14 = distinct !{!14, !15, !16, !17} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!"llvm.loop.isvectorized", i32 1} !17 = !{!"llvm.loop.unroll.runtime.disable"} !18 = distinct !{!18, !15, !16}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_aic.c_unquant_block.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_aic.c_unquant_block.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 @unquant_block], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) define internal void @unquant_block(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = getelementptr i8, ptr %0, i64 256 %5 = getelementptr i8, ptr %2, i64 256 %6 = icmp ugt ptr %5, %0 %7 = icmp ugt ptr %4, %2 %8 = and i1 %6, %7 br i1 %8, label %64, label %9 9: ; preds = %3 %10 = insertelement <4 x i32> poison, i32 %1, i64 0 %11 = shufflevector <4 x i32> %10, <4 x i32> poison, <4 x i32> zeroinitializer br label %12 12: ; preds = %12, %9 %13 = phi i64 [ 0, %9 ], [ %62, %12 ] %14 = getelementptr inbounds i32, ptr %0, i64 %13 %15 = getelementptr inbounds i8, ptr %14, i64 16 %16 = getelementptr inbounds i8, ptr %14, i64 32 %17 = getelementptr inbounds i8, ptr %14, i64 48 %18 = load <4 x i32>, ptr %14, align 4, !tbaa !6, !alias.scope !10, !noalias !13 %19 = load <4 x i32>, ptr %15, align 4, !tbaa !6, !alias.scope !10, !noalias !13 %20 = load <4 x i32>, ptr %16, align 4, !tbaa !6, !alias.scope !10, !noalias !13 %21 = load <4 x i32>, ptr %17, align 4, !tbaa !6, !alias.scope !10, !noalias !13 %22 = and <4 x i32> %18, <i32 1, i32 1, i32 1, i32 1> %23 = and <4 x i32> %19, <i32 1, i32 1, i32 1, i32 1> %24 = and <4 x i32> %20, <i32 1, i32 1, i32 1, i32 1> %25 = and <4 x i32> %21, <i32 1, i32 1, i32 1, i32 1> %26 = ashr <4 x i32> %18, <i32 1, i32 1, i32 1, i32 1> %27 = ashr <4 x i32> %19, <i32 1, i32 1, i32 1, i32 1> %28 = ashr <4 x i32> %20, <i32 1, i32 1, i32 1, i32 1> %29 = ashr <4 x i32> %21, <i32 1, i32 1, i32 1, i32 1> %30 = sub nsw <4 x i32> zeroinitializer, %22 %31 = sub nsw <4 x i32> zeroinitializer, %23 %32 = sub nsw <4 x i32> zeroinitializer, %24 %33 = sub nsw <4 x i32> zeroinitializer, %25 %34 = xor <4 x i32> %26, %30 %35 = xor <4 x i32> %27, %31 %36 = xor <4 x i32> %28, %32 %37 = xor <4 x i32> %29, %33 %38 = getelementptr inbounds i32, ptr %2, i64 %13 %39 = getelementptr inbounds i8, ptr %38, i64 16 %40 = getelementptr inbounds i8, ptr %38, i64 32 %41 = getelementptr inbounds i8, ptr %38, i64 48 %42 = load <4 x i32>, ptr %38, align 4, !tbaa !6, !alias.scope !13 %43 = load <4 x i32>, ptr %39, align 4, !tbaa !6, !alias.scope !13 %44 = load <4 x i32>, ptr %40, align 4, !tbaa !6, !alias.scope !13 %45 = load <4 x i32>, ptr %41, align 4, !tbaa !6, !alias.scope !13 %46 = mul <4 x i32> %42, %11 %47 = mul <4 x i32> %43, %11 %48 = mul <4 x i32> %44, %11 %49 = mul <4 x i32> %45, %11 %50 = mul <4 x i32> %46, %34 %51 = mul <4 x i32> %47, %35 %52 = mul <4 x i32> %48, %36 %53 = mul <4 x i32> %49, %37 %54 = ashr <4 x i32> %50, <i32 4, i32 4, i32 4, i32 4> %55 = ashr <4 x i32> %51, <i32 4, i32 4, i32 4, i32 4> %56 = ashr <4 x i32> %52, <i32 4, i32 4, i32 4, i32 4> %57 = ashr <4 x i32> %53, <i32 4, i32 4, i32 4, i32 4> %58 = add nsw <4 x i32> %54, %22 %59 = add nsw <4 x i32> %55, %23 %60 = add nsw <4 x i32> %56, %24 %61 = add nsw <4 x i32> %57, %25 store <4 x i32> %58, ptr %14, align 4, !tbaa !6, !alias.scope !10, !noalias !13 store <4 x i32> %59, ptr %15, align 4, !tbaa !6, !alias.scope !10, !noalias !13 store <4 x i32> %60, ptr %16, align 4, !tbaa !6, !alias.scope !10, !noalias !13 store <4 x i32> %61, ptr %17, align 4, !tbaa !6, !alias.scope !10, !noalias !13 %62 = add nuw i64 %13, 16 %63 = icmp eq i64 %62, 64 br i1 %63, label %80, label %12, !llvm.loop !15 64: ; preds = %3, %64 %65 = phi i64 [ %78, %64 ], [ 0, %3 ] %66 = getelementptr inbounds i32, ptr %0, i64 %65 %67 = load i32, ptr %66, align 4, !tbaa !6 %68 = and i32 %67, 1 %69 = ashr i32 %67, 1 %70 = sub nsw i32 0, %68 %71 = xor i32 %69, %70 %72 = getelementptr inbounds i32, ptr %2, i64 %65 %73 = load i32, ptr %72, align 4, !tbaa !6 %74 = mul i32 %73, %1 %75 = mul i32 %74, %71 %76 = ashr i32 %75, 4 %77 = add nsw i32 %76, %68 store i32 %77, ptr %66, align 4, !tbaa !6 %78 = add nuw nsw i64 %65, 1 %79 = icmp eq i64 %78, 64 br i1 %79, label %80, label %64, !llvm.loop !19 80: ; preds = %12, %64 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11} !11 = distinct !{!11, !12} !12 = distinct !{!12, !"LVerDomain"} !13 = !{!14} !14 = distinct !{!14, !12} !15 = distinct !{!15, !16, !17, !18} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!"llvm.loop.isvectorized", i32 1} !18 = !{!"llvm.loop.unroll.runtime.disable"} !19 = distinct !{!19, !16, !17}
FFmpeg_libavcodec_extr_aic.c_unquant_block
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_pci.c_pcim_enable_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_pci.c_pcim_enable_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @pcim_enable_device(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @get_pci_dr(ptr noundef %0) #2 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %17 10: ; preds = %1 %11 = load i32, ptr %2, align 4, !tbaa !9 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = tail call i32 @pci_enable_device(ptr noundef %0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %0, align 4, !tbaa !11 store i32 1, ptr %2, align 4, !tbaa !9 br label %17 17: ; preds = %13, %16, %10, %7 %18 = phi i32 [ %9, %7 ], [ 0, %10 ], [ 0, %16 ], [ %14, %13 ] ret i32 %18 } declare ptr @get_pci_dr(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pci_enable_device(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 = !{!"pci_devres", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"pci_dev", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/pci/extr_pci.c_pcim_enable_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/pci/extr_pci.c_pcim_enable_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @pcim_enable_device(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @get_pci_dr(ptr noundef %0) #2 %3 = icmp eq ptr %2, null %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %17 10: ; preds = %1 %11 = load i32, ptr %2, align 4, !tbaa !10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %10 %14 = tail call i32 @pci_enable_device(ptr noundef %0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %0, align 4, !tbaa !12 store i32 1, ptr %2, align 4, !tbaa !10 br label %17 17: ; preds = %13, %16, %10, %7 %18 = phi i32 [ %9, %7 ], [ 0, %10 ], [ 0, %16 ], [ %14, %13 ] ret i32 %18 } declare ptr @get_pci_dr(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pci_enable_device(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 = !{!"pci_devres", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"pci_dev", !7, i64 0}
fastsocket_kernel_drivers_pci_extr_pci.c_pcim_enable_device
; ModuleID = 'AnghaBench/linux/tools/perf/tests/extr_..perf-sys.h_sys_perf_event_open.c' source_filename = "AnghaBench/linux/tools/perf/tests/extr_..perf-sys.h_sys_perf_event_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" @__NR_perf_event_open = dso_local local_unnamed_addr global i32 0, align 4 @test_attr__enabled = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sys_perf_event_open], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @sys_perf_event_open(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = load i32, ptr @__NR_perf_event_open, align 4, !tbaa !5 %7 = tail call i32 @syscall(i32 noundef %6, ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #2 ret i32 %7 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/perf/tests/extr_..perf-sys.h_sys_perf_event_open.c' source_filename = "AnghaBench/linux/tools/perf/tests/extr_..perf-sys.h_sys_perf_event_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__NR_perf_event_open = common local_unnamed_addr global i32 0, align 4 @test_attr__enabled = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sys_perf_event_open], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @sys_perf_event_open(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = load i32, ptr @__NR_perf_event_open, align 4, !tbaa !6 %7 = tail call i32 @syscall(i32 noundef %6, ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #2 ret i32 %7 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_perf_tests_extr_..perf-sys.h_sys_perf_event_open
; ModuleID = 'AnghaBench/git/trace2/extr_tr2_tgt_perf.c_fn_param_fl.c' source_filename = "AnghaBench/git/trace2/extr_tr2_tgt_perf.c_fn_param_fl.c" target datalayout = "e-m:e-p270:32:32-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.strbuf = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"def_param\00", align 1 @STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fn_param_fl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fn_param_fl(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.strbuf, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !5 store i32 %6, ptr %5, align 4, !tbaa !5 %7 = call i32 @strbuf_addf(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef %2, ptr noundef %3) #3 %8 = call i32 @perf_io_write_fl(ptr noundef %0, i32 noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %5) #3 %9 = call i32 @strbuf_release(ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @perf_io_write_fl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strbuf_release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/git/trace2/extr_tr2_tgt_perf.c_fn_param_fl.c' source_filename = "AnghaBench/git/trace2/extr_tr2_tgt_perf.c_fn_param_fl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.strbuf = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"def_param\00", align 1 @STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s:%s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fn_param_fl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fn_param_fl(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.strbuf, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr @STRBUF_INIT, align 4, !tbaa !6 store i32 %6, ptr %5, align 4, !tbaa !6 %7 = call i32 @strbuf_addf(ptr noundef nonnull %5, ptr noundef nonnull @.str.1, ptr noundef %2, ptr noundef %3) #3 %8 = call i32 @perf_io_write_fl(ptr noundef %0, i32 noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %5) #3 %9 = call i32 @strbuf_release(ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_addf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @perf_io_write_fl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strbuf_release(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"}
git_trace2_extr_tr2_tgt_perf.c_fn_param_fl
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_signalled.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_signalled.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @annotation_level = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"\0A\1A\1Asignalled\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @annotate_signalled() local_unnamed_addr #0 { %1 = tail call i32 (...) @annotate_signalled_hook() #2 %2 = load i32, ptr @annotation_level, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @annotate_signalled_hook(...) local_unnamed_addr #1 declare i32 @printf_filtered(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/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_signalled.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_signalled.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @annotation_level = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"\0A\1A\1Asignalled\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @annotate_signalled() local_unnamed_addr #0 { %1 = tail call i32 @annotate_signalled_hook() #2 %2 = load i32, ptr @annotation_level, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2 br label %6 6: ; preds = %4, %0 ret void } declare i32 @annotate_signalled_hook(...) local_unnamed_addr #1 declare i32 @printf_filtered(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"}
freebsd_contrib_gdb_gdb_extr_annotate.c_annotate_signalled
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_hw_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_hw_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_GATING_DISABLE = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES = dso_local local_unnamed_addr global i32 0, align 4 @AUDIO_RATE_CAPABILITIES = dso_local local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES = dso_local local_unnamed_addr global i32 0, align 4 @CLKSTOP = dso_local local_unnamed_addr global i32 0, align 4 @EPSS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @dce_aud_hw_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @DCE_AUD(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %25 5: ; preds = %1 %6 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !10 %7 = tail call i32 @AZ_REG_READ(i32 noundef %6) #2 %8 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !10 %9 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !10 %10 = tail call i32 @set_reg_field_value(i32 noundef %7, i32 noundef 1, i32 noundef %8, i32 noundef %9) #2 %11 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !10 %12 = tail call i32 @AZ_REG_WRITE(i32 noundef %11, i32 noundef %7) #2 %13 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES, align 4, !tbaa !10 %14 = load i32, ptr @AUDIO_RATE_CAPABILITIES, align 4, !tbaa !10 %15 = tail call i32 @REG_UPDATE(i32 noundef %13, i32 noundef %14, i32 noundef 112) #2 %16 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES, align 4, !tbaa !10 %17 = load i32, ptr @CLKSTOP, align 4, !tbaa !10 %18 = load i32, ptr @EPSS, align 4, !tbaa !10 %19 = tail call i32 @REG_UPDATE_2(i32 noundef %16, i32 noundef %17, i32 noundef 1, i32 noundef %18, i32 noundef 1) #2 %20 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !10 %21 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !10 %22 = tail call i32 @set_reg_field_value(i32 noundef %7, i32 noundef 0, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !10 %24 = tail call i32 @AZ_REG_WRITE(i32 noundef %23, i32 noundef %7) #2 br label %25 25: ; preds = %1, %5 ret void } declare ptr @DCE_AUD(ptr noundef) local_unnamed_addr #1 declare i32 @AZ_REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @set_reg_field_value(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AZ_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"audio", !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}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_hw_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dce/extr_dce_audio.c_dce_aud_hw_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL = common local_unnamed_addr global i32 0, align 4 @CLOCK_GATING_DISABLE = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES = common local_unnamed_addr global i32 0, align 4 @AUDIO_RATE_CAPABILITIES = common local_unnamed_addr global i32 0, align 4 @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES = common local_unnamed_addr global i32 0, align 4 @CLKSTOP = common local_unnamed_addr global i32 0, align 4 @EPSS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @dce_aud_hw_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @DCE_AUD(ptr noundef %0) #2 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %25 5: ; preds = %1 %6 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !11 %7 = tail call i32 @AZ_REG_READ(i32 noundef %6) #2 %8 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !11 %9 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !11 %10 = tail call i32 @set_reg_field_value(i32 noundef %7, i32 noundef 1, i32 noundef %8, i32 noundef %9) #2 %11 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !11 %12 = tail call i32 @AZ_REG_WRITE(i32 noundef %11, i32 noundef %7) #2 %13 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_SUPPORTED_SIZE_RATES, align 4, !tbaa !11 %14 = load i32, ptr @AUDIO_RATE_CAPABILITIES, align 4, !tbaa !11 %15 = tail call i32 @REG_UPDATE(i32 noundef %13, i32 noundef %14, i32 noundef 112) #2 %16 = load i32, ptr @AZALIA_F0_CODEC_FUNCTION_PARAMETER_POWER_STATES, align 4, !tbaa !11 %17 = load i32, ptr @CLKSTOP, align 4, !tbaa !11 %18 = load i32, ptr @EPSS, align 4, !tbaa !11 %19 = tail call i32 @REG_UPDATE_2(i32 noundef %16, i32 noundef %17, i32 noundef 1, i32 noundef %18, i32 noundef 1) #2 %20 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !11 %21 = load i32, ptr @CLOCK_GATING_DISABLE, align 4, !tbaa !11 %22 = tail call i32 @set_reg_field_value(i32 noundef %7, i32 noundef 0, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @AZALIA_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, align 4, !tbaa !11 %24 = tail call i32 @AZ_REG_WRITE(i32 noundef %23, i32 noundef %7) #2 br label %25 25: ; preds = %1, %5 ret void } declare ptr @DCE_AUD(ptr noundef) local_unnamed_addr #1 declare i32 @AZ_REG_READ(i32 noundef) local_unnamed_addr #1 declare i32 @set_reg_field_value(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AZ_REG_WRITE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_UPDATE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @REG_UPDATE_2(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"audio", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_gpu_drm_amd_display_dc_dce_extr_dce_audio.c_dce_aud_hw_init
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_gpt.c_gptfind.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_gpt.c_gptfind.c" target datalayout = "e-m:e-p270:32:32-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.gpt_ent = type { i32, i32, i32 } %struct.dsk = type { i32, i32 } %struct.TYPE_5__ = type { i32 } @gpthdr = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"%s: invalid partition index\0A\00", align 1 @BOOTPROG = dso_local local_unnamed_addr global ptr null, align 8 @gpttable = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [36 x i8] c"%s: specified partition is not UFS\0A\00", align 1 @curent = dso_local local_unnamed_addr global i32 0, align 4 @bootonce = dso_local local_unnamed_addr global i64 0, align 8 @GPT_ENT_ATTR_BOOTME = dso_local local_unnamed_addr global i32 0, align 4 @GPT_ENT_ATTR_BOOTONCE = dso_local local_unnamed_addr global i32 0, align 4 @hdr_primary_lba = dso_local local_unnamed_addr global i64 0, align 8 @table_primary = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"primary\00", align 1 @hdr_primary = dso_local global i32 0, align 4 @hdr_backup_lba = dso_local local_unnamed_addr global i64 0, align 8 @table_backup = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"backup\00", align 1 @hdr_backup = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @gptfind(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, -1 br i1 %4, label %5, label %25 5: ; preds = %3 %6 = icmp eq i32 %2, 0 br i1 %6, label %11, label %7 7: ; preds = %5 %8 = load ptr, ptr @gpthdr, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = icmp slt i32 %9, %2 br i1 %10, label %11, label %14 11: ; preds = %7, %5 %12 = load ptr, ptr @BOOTPROG, align 8, !tbaa !5 %13 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %12) #2 br label %145 14: ; preds = %7 %15 = load ptr, ptr @gpttable, align 8, !tbaa !5 %16 = add nsw i32 %2, -1 %17 = zext nneg i32 %16 to i64 %18 = getelementptr inbounds %struct.gpt_ent, ptr %15, i64 %17, i32 2 %19 = tail call i64 @bcmp(ptr noundef nonnull %18, ptr noundef %0, i32 noundef 4) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load ptr, ptr @BOOTPROG, align 8, !tbaa !5 %23 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %22) #2 br label %145 24: ; preds = %14 store i32 %16, ptr @curent, align 4, !tbaa !12 br label %107 25: ; preds = %3 %26 = load i32, ptr @curent, align 4, !tbaa !12 %27 = icmp eq i32 %26, -1 %28 = add nsw i32 %26, 1 store i32 %28, ptr @curent, align 4, !tbaa !12 %29 = load ptr, ptr @gpthdr, align 8, !tbaa !5 %30 = load i32, ptr %29, align 4, !tbaa !9 %31 = icmp slt i32 %28, %30 br i1 %31, label %33, label %32 32: ; preds = %25 store i32 %30, ptr @curent, align 4, !tbaa !12 br label %145 33: ; preds = %25 %34 = load i64, ptr @bootonce, align 8, !tbaa !13 %35 = icmp eq i64 %34, 0 br i1 %35, label %61, label %36 36: ; preds = %33, %53 %37 = phi i32 [ %55, %53 ], [ %28, %33 ] %38 = load ptr, ptr @gpttable, align 8, !tbaa !5 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds %struct.gpt_ent, ptr %38, i64 %39, i32 2 %41 = tail call i64 @bcmp(ptr noundef nonnull %40, ptr noundef %0, i32 noundef 4) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %53 43: ; preds = %36 %44 = getelementptr inbounds %struct.gpt_ent, ptr %38, i64 %39 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !12 %47 = and i32 %46, %45 %48 = icmp eq i32 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %43 %50 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !12 %51 = and i32 %50, %45 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %107 53: ; preds = %49, %43, %36 %54 = load i32, ptr @curent, align 4, !tbaa !12 %55 = add nsw i32 %54, 1 store i32 %55, ptr @curent, align 4, !tbaa !12 %56 = load ptr, ptr @gpthdr, align 8, !tbaa !5 %57 = load i32, ptr %56, align 4, !tbaa !9 %58 = icmp slt i32 %55, %57 br i1 %58, label %36, label %59, !llvm.loop !17 59: ; preds = %53 store i64 0, ptr @bootonce, align 8, !tbaa !13 store i32 0, ptr @curent, align 4, !tbaa !12 %60 = load i32, ptr %56, align 4, !tbaa !9 br label %61 61: ; preds = %59, %33 %62 = phi i32 [ %60, %59 ], [ %30, %33 ] %63 = phi ptr [ %56, %59 ], [ %29, %33 ] %64 = phi i32 [ 0, %59 ], [ %28, %33 ] %65 = icmp slt i32 %64, %62 br i1 %65, label %66, label %89 66: ; preds = %61, %83 %67 = phi i32 [ %85, %83 ], [ %64, %61 ] %68 = load ptr, ptr @gpttable, align 8, !tbaa !5 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds %struct.gpt_ent, ptr %68, i64 %69, i32 2 %71 = tail call i64 @bcmp(ptr noundef nonnull %70, ptr noundef %0, i32 noundef 4) #2 %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %83 73: ; preds = %66 %74 = getelementptr inbounds %struct.gpt_ent, ptr %68, i64 %69 %75 = load i32, ptr %74, align 4, !tbaa !15 %76 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !12 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %73 %80 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !12 %81 = and i32 %80, %75 %82 = icmp eq i32 %81, 0 br i1 %82, label %107, label %83 83: ; preds = %79, %73, %66 %84 = load i32, ptr @curent, align 4, !tbaa !12 %85 = add nsw i32 %84, 1 store i32 %85, ptr @curent, align 4, !tbaa !12 %86 = load ptr, ptr @gpthdr, align 8, !tbaa !5 %87 = load i32, ptr %86, align 4, !tbaa !9 %88 = icmp slt i32 %85, %87 br i1 %88, label %66, label %89, !llvm.loop !19 89: ; preds = %83, %61 %90 = phi ptr [ %63, %61 ], [ %86, %83 ] br i1 %27, label %91, label %145 91: ; preds = %89 store i32 0, ptr @curent, align 4, !tbaa !12 %92 = load i32, ptr %90, align 4, !tbaa !9 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %145 94: ; preds = %91, %101 %95 = phi i32 [ %103, %101 ], [ 0, %91 ] %96 = load ptr, ptr @gpttable, align 8, !tbaa !5 %97 = sext i32 %95 to i64 %98 = getelementptr inbounds %struct.gpt_ent, ptr %96, i64 %97, i32 2 %99 = tail call i64 @bcmp(ptr noundef nonnull %98, ptr noundef %0, i32 noundef 4) #2 %100 = icmp eq i64 %99, 0 br i1 %100, label %107, label %101 101: ; preds = %94 %102 = load i32, ptr @curent, align 4, !tbaa !12 %103 = add nsw i32 %102, 1 store i32 %103, ptr @curent, align 4, !tbaa !12 %104 = load ptr, ptr @gpthdr, align 8, !tbaa !5 %105 = load i32, ptr %104, align 4, !tbaa !9 %106 = icmp slt i32 %103, %105 br i1 %106, label %94, label %145, !llvm.loop !20 107: ; preds = %49, %79, %94, %24 %108 = load i32, ptr @curent, align 4, !tbaa !12 %109 = add nsw i32 %108, 1 store i32 %109, ptr %1, align 4, !tbaa !21 %110 = load ptr, ptr @gpttable, align 8, !tbaa !5 %111 = load i32, ptr @curent, align 4, !tbaa !12 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds %struct.gpt_ent, ptr %110, i64 %112 %114 = getelementptr inbounds %struct.gpt_ent, ptr %110, i64 %112, i32 1 %115 = load i32, ptr %114, align 4, !tbaa !23 %116 = getelementptr inbounds %struct.dsk, ptr %1, i64 0, i32 1 store i32 %115, ptr %116, align 4, !tbaa !24 %117 = load i32, ptr %113, align 4, !tbaa !15 %118 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !12 %119 = and i32 %118, %117 %120 = icmp eq i32 %119, 0 br i1 %120, label %145, label %121 121: ; preds = %107 %122 = load i64, ptr @hdr_primary_lba, align 8, !tbaa !13 %123 = icmp sgt i64 %122, 0 br i1 %123, label %124, label %132 124: ; preds = %121 %125 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !12 %126 = xor i32 %125, -1 %127 = load ptr, ptr @table_primary, align 8, !tbaa !5 %128 = getelementptr inbounds %struct.TYPE_5__, ptr %127, i64 %112 %129 = load i32, ptr %128, align 4, !tbaa !25 %130 = and i32 %129, %126 store i32 %130, ptr %128, align 4, !tbaa !25 %131 = tail call i32 @gptupdate(ptr noundef nonnull @.str.2, ptr noundef nonnull %1, ptr noundef nonnull @hdr_primary, ptr noundef %127) #2 br label %132 132: ; preds = %124, %121 %133 = load i64, ptr @hdr_backup_lba, align 8, !tbaa !13 %134 = icmp sgt i64 %133, 0 br i1 %134, label %135, label %145 135: ; preds = %132 %136 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !12 %137 = xor i32 %136, -1 %138 = load ptr, ptr @table_backup, align 8, !tbaa !5 %139 = load i32, ptr @curent, align 4, !tbaa !12 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds %struct.TYPE_5__, ptr %138, i64 %140 %142 = load i32, ptr %141, align 4, !tbaa !25 %143 = and i32 %142, %137 store i32 %143, ptr %141, align 4, !tbaa !25 %144 = tail call i32 @gptupdate(ptr noundef nonnull @.str.3, ptr noundef nonnull %1, ptr noundef nonnull @hdr_backup, ptr noundef %138) #2 br label %145 145: ; preds = %101, %91, %107, %135, %132, %89, %32, %21, %11 %146 = phi i32 [ -1, %11 ], [ -1, %21 ], [ -1, %32 ], [ -1, %89 ], [ 0, %132 ], [ 0, %135 ], [ 0, %107 ], [ -1, %91 ], [ -1, %101 ] ret i32 %146 } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @bcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gptupdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"gpt_ent", !11, i64 0, !11, i64 4, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18} !21 = !{!22, !11, i64 0} !22 = !{!"dsk", !11, i64 0, !11, i64 4} !23 = !{!16, !11, i64 4} !24 = !{!22, !11, i64 4} !25 = !{!26, !11, i64 0} !26 = !{!"TYPE_5__", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/stand/libsa/extr_gpt.c_gptfind.c' source_filename = "AnghaBench/freebsd/stand/libsa/extr_gpt.c_gptfind.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.gpt_ent = type { i32, i32, i32 } %struct.TYPE_5__ = type { i32 } @gpthdr = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"%s: invalid partition index\0A\00", align 1 @BOOTPROG = common local_unnamed_addr global ptr null, align 8 @gpttable = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [36 x i8] c"%s: specified partition is not UFS\0A\00", align 1 @curent = common local_unnamed_addr global i32 0, align 4 @bootonce = common local_unnamed_addr global i64 0, align 8 @GPT_ENT_ATTR_BOOTME = common local_unnamed_addr global i32 0, align 4 @GPT_ENT_ATTR_BOOTONCE = common local_unnamed_addr global i32 0, align 4 @hdr_primary_lba = common local_unnamed_addr global i64 0, align 8 @table_primary = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [8 x i8] c"primary\00", align 1 @hdr_primary = common global i32 0, align 4 @hdr_backup_lba = common local_unnamed_addr global i64 0, align 8 @table_backup = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"backup\00", align 1 @hdr_backup = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @gptfind(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, -1 br i1 %4, label %5, label %25 5: ; preds = %3 %6 = icmp eq i32 %2, 0 br i1 %6, label %11, label %7 7: ; preds = %5 %8 = load ptr, ptr @gpthdr, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = icmp slt i32 %9, %2 br i1 %10, label %11, label %14 11: ; preds = %7, %5 %12 = load ptr, ptr @BOOTPROG, align 8, !tbaa !6 %13 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %12) #2 br label %145 14: ; preds = %7 %15 = load ptr, ptr @gpttable, align 8, !tbaa !6 %16 = add nsw i32 %2, -1 %17 = zext nneg i32 %16 to i64 %18 = getelementptr inbounds %struct.gpt_ent, ptr %15, i64 %17, i32 2 %19 = tail call i64 @bcmp(ptr noundef nonnull %18, ptr noundef %0, i32 noundef 4) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %14 %22 = load ptr, ptr @BOOTPROG, align 8, !tbaa !6 %23 = tail call i32 @printf(ptr noundef nonnull @.str.1, ptr noundef %22) #2 br label %145 24: ; preds = %14 store i32 %16, ptr @curent, align 4, !tbaa !13 br label %107 25: ; preds = %3 %26 = load i32, ptr @curent, align 4, !tbaa !13 %27 = icmp eq i32 %26, -1 %28 = add nsw i32 %26, 1 store i32 %28, ptr @curent, align 4, !tbaa !13 %29 = load ptr, ptr @gpthdr, align 8, !tbaa !6 %30 = load i32, ptr %29, align 4, !tbaa !10 %31 = icmp slt i32 %28, %30 br i1 %31, label %33, label %32 32: ; preds = %25 store i32 %30, ptr @curent, align 4, !tbaa !13 br label %145 33: ; preds = %25 %34 = load i64, ptr @bootonce, align 8, !tbaa !14 %35 = icmp eq i64 %34, 0 br i1 %35, label %61, label %36 36: ; preds = %33, %53 %37 = phi i32 [ %55, %53 ], [ %28, %33 ] %38 = load ptr, ptr @gpttable, align 8, !tbaa !6 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds %struct.gpt_ent, ptr %38, i64 %39 %41 = getelementptr inbounds i8, ptr %40, i64 8 %42 = tail call i64 @bcmp(ptr noundef nonnull %41, ptr noundef %0, i32 noundef 4) #2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %53 44: ; preds = %36 %45 = load i32, ptr %40, align 4, !tbaa !16 %46 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !13 %47 = and i32 %46, %45 %48 = icmp eq i32 %47, 0 br i1 %48, label %53, label %49 49: ; preds = %44 %50 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !13 %51 = and i32 %50, %45 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %107 53: ; preds = %49, %44, %36 %54 = load i32, ptr @curent, align 4, !tbaa !13 %55 = add nsw i32 %54, 1 store i32 %55, ptr @curent, align 4, !tbaa !13 %56 = load ptr, ptr @gpthdr, align 8, !tbaa !6 %57 = load i32, ptr %56, align 4, !tbaa !10 %58 = icmp slt i32 %55, %57 br i1 %58, label %36, label %59, !llvm.loop !18 59: ; preds = %53 store i64 0, ptr @bootonce, align 8, !tbaa !14 store i32 0, ptr @curent, align 4, !tbaa !13 %60 = load i32, ptr %56, align 4, !tbaa !10 br label %61 61: ; preds = %59, %33 %62 = phi i32 [ %60, %59 ], [ %30, %33 ] %63 = phi ptr [ %56, %59 ], [ %29, %33 ] %64 = phi i32 [ 0, %59 ], [ %28, %33 ] %65 = icmp slt i32 %64, %62 br i1 %65, label %66, label %89 66: ; preds = %61, %83 %67 = phi i32 [ %85, %83 ], [ %64, %61 ] %68 = load ptr, ptr @gpttable, align 8, !tbaa !6 %69 = sext i32 %67 to i64 %70 = getelementptr inbounds %struct.gpt_ent, ptr %68, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 8 %72 = tail call i64 @bcmp(ptr noundef nonnull %71, ptr noundef %0, i32 noundef 4) #2 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %83 74: ; preds = %66 %75 = load i32, ptr %70, align 4, !tbaa !16 %76 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !13 %77 = and i32 %76, %75 %78 = icmp eq i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %74 %80 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !13 %81 = and i32 %80, %75 %82 = icmp eq i32 %81, 0 br i1 %82, label %107, label %83 83: ; preds = %79, %74, %66 %84 = load i32, ptr @curent, align 4, !tbaa !13 %85 = add nsw i32 %84, 1 store i32 %85, ptr @curent, align 4, !tbaa !13 %86 = load ptr, ptr @gpthdr, align 8, !tbaa !6 %87 = load i32, ptr %86, align 4, !tbaa !10 %88 = icmp slt i32 %85, %87 br i1 %88, label %66, label %89, !llvm.loop !20 89: ; preds = %83, %61 %90 = phi ptr [ %63, %61 ], [ %86, %83 ] br i1 %27, label %91, label %145 91: ; preds = %89 store i32 0, ptr @curent, align 4, !tbaa !13 %92 = load i32, ptr %90, align 4, !tbaa !10 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %145 94: ; preds = %91, %101 %95 = phi i32 [ %103, %101 ], [ 0, %91 ] %96 = load ptr, ptr @gpttable, align 8, !tbaa !6 %97 = sext i32 %95 to i64 %98 = getelementptr inbounds %struct.gpt_ent, ptr %96, i64 %97, i32 2 %99 = tail call i64 @bcmp(ptr noundef nonnull %98, ptr noundef %0, i32 noundef 4) #2 %100 = icmp eq i64 %99, 0 br i1 %100, label %107, label %101 101: ; preds = %94 %102 = load i32, ptr @curent, align 4, !tbaa !13 %103 = add nsw i32 %102, 1 store i32 %103, ptr @curent, align 4, !tbaa !13 %104 = load ptr, ptr @gpthdr, align 8, !tbaa !6 %105 = load i32, ptr %104, align 4, !tbaa !10 %106 = icmp slt i32 %103, %105 br i1 %106, label %94, label %145, !llvm.loop !21 107: ; preds = %49, %79, %94, %24 %108 = load i32, ptr @curent, align 4, !tbaa !13 %109 = add nsw i32 %108, 1 store i32 %109, ptr %1, align 4, !tbaa !22 %110 = load ptr, ptr @gpttable, align 8, !tbaa !6 %111 = load i32, ptr @curent, align 4, !tbaa !13 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds %struct.gpt_ent, ptr %110, i64 %112 %114 = getelementptr inbounds i8, ptr %113, i64 4 %115 = load i32, ptr %114, align 4, !tbaa !24 %116 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %115, ptr %116, align 4, !tbaa !25 %117 = load i32, ptr %113, align 4, !tbaa !16 %118 = load i32, ptr @GPT_ENT_ATTR_BOOTONCE, align 4, !tbaa !13 %119 = and i32 %118, %117 %120 = icmp eq i32 %119, 0 br i1 %120, label %145, label %121 121: ; preds = %107 %122 = load i64, ptr @hdr_primary_lba, align 8, !tbaa !14 %123 = icmp sgt i64 %122, 0 br i1 %123, label %124, label %132 124: ; preds = %121 %125 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !13 %126 = xor i32 %125, -1 %127 = load ptr, ptr @table_primary, align 8, !tbaa !6 %128 = getelementptr inbounds %struct.TYPE_5__, ptr %127, i64 %112 %129 = load i32, ptr %128, align 4, !tbaa !26 %130 = and i32 %129, %126 store i32 %130, ptr %128, align 4, !tbaa !26 %131 = tail call i32 @gptupdate(ptr noundef nonnull @.str.2, ptr noundef nonnull %1, ptr noundef nonnull @hdr_primary, ptr noundef %127) #2 br label %132 132: ; preds = %124, %121 %133 = load i64, ptr @hdr_backup_lba, align 8, !tbaa !14 %134 = icmp sgt i64 %133, 0 br i1 %134, label %135, label %145 135: ; preds = %132 %136 = load i32, ptr @GPT_ENT_ATTR_BOOTME, align 4, !tbaa !13 %137 = xor i32 %136, -1 %138 = load ptr, ptr @table_backup, align 8, !tbaa !6 %139 = load i32, ptr @curent, align 4, !tbaa !13 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds %struct.TYPE_5__, ptr %138, i64 %140 %142 = load i32, ptr %141, align 4, !tbaa !26 %143 = and i32 %142, %137 store i32 %143, ptr %141, align 4, !tbaa !26 %144 = tail call i32 @gptupdate(ptr noundef nonnull @.str.3, ptr noundef nonnull %1, ptr noundef nonnull @hdr_backup, ptr noundef %138) #2 br label %145 145: ; preds = %101, %91, %107, %135, %132, %89, %32, %21, %11 %146 = phi i32 [ -1, %11 ], [ -1, %21 ], [ -1, %32 ], [ -1, %89 ], [ 0, %132 ], [ 0, %135 ], [ 0, %107 ], [ -1, %91 ], [ -1, %101 ] ret i32 %146 } declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @bcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gptupdate(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"gpt_ent", !12, i64 0, !12, i64 4, !12, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = distinct !{!21, !19} !22 = !{!23, !12, i64 0} !23 = !{!"dsk", !12, i64 0, !12, i64 4} !24 = !{!17, !12, i64 4} !25 = !{!23, !12, i64 4} !26 = !{!27, !12, i64 0} !27 = !{!"TYPE_5__", !12, i64 0}
freebsd_stand_libsa_extr_gpt.c_gptfind
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_sap.c_openssl_no_config_int.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_sap.c_openssl_no_config_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" @openssl_configured = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @openssl_no_config_int() local_unnamed_addr #0 { store i32 1, ptr @openssl_configured, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_sap.c_openssl_no_config_int.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/conf/extr_conf_sap.c_openssl_no_config_int.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @openssl_configured = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @openssl_no_config_int() local_unnamed_addr #0 { store i32 1, ptr @openssl_configured, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_conf_extr_conf_sap.c_openssl_no_config_int
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_randkey_c.c_kadm5_c_randkey_principal.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_randkey_c.c_kadm5_c_randkey_principal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENOMEM = dso_local local_unnamed_addr global i64 0, align 8 @kadm_randkey = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @kadm5_c_randkey_principal(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca [1024 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = tail call i64 @_kadm5_connect(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %65 10: ; preds = %4 %11 = call ptr @krb5_storage_from_mem(ptr noundef nonnull %5, i32 noundef 1024) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %0, align 4, !tbaa !5 %15 = call i32 @krb5_clear_error_message(i32 noundef %14) #3 %16 = load i64, ptr @ENOMEM, align 8, !tbaa !10 br label %65 17: ; preds = %10 %18 = load i32, ptr @kadm_randkey, align 4, !tbaa !12 %19 = call i32 @krb5_store_int32(ptr noundef nonnull %11, i32 noundef %18) #3 %20 = call i32 @krb5_store_principal(ptr noundef nonnull %11, i32 noundef %1) #3 %21 = call i64 @_kadm5_client_send(ptr noundef %0, ptr noundef nonnull %11) #3 %22 = call i32 @krb5_storage_free(ptr noundef nonnull %11) #3 %23 = icmp eq i64 %21, 0 br i1 %23, label %24, label %65 24: ; preds = %17 %25 = call i64 @_kadm5_client_recv(ptr noundef %0, ptr noundef nonnull %7) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %65 27: ; preds = %24 %28 = call ptr @krb5_storage_from_data(ptr noundef nonnull %7) #3 %29 = icmp eq ptr %28, null %30 = load i32, ptr %0, align 4, !tbaa !5 %31 = call i32 @krb5_clear_error_message(i32 noundef %30) #3 br i1 %29, label %32, label %35 32: ; preds = %27 %33 = call i32 @krb5_data_free(ptr noundef nonnull %7) #3 %34 = load i64, ptr @ENOMEM, align 8, !tbaa !10 br label %65 35: ; preds = %27 %36 = call i32 @krb5_ret_int32(ptr noundef nonnull %28, ptr noundef nonnull %6) #3 %37 = load i32, ptr %6, align 4, !tbaa !12 %38 = sext i32 %37 to i64 %39 = icmp eq i32 %37, 0 br i1 %39, label %40, label %61 40: ; preds = %35 %41 = call i32 @krb5_ret_int32(ptr noundef nonnull %28, ptr noundef nonnull %6) #3 %42 = load i32, ptr %6, align 4, !tbaa !12 %43 = shl i32 %42, 2 %44 = call ptr @malloc(i32 noundef %43) #3 %45 = icmp eq ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %40 %47 = load i32, ptr %6, align 4, !tbaa !12 %48 = icmp sgt i32 %47, 0 br i1 %48, label %51, label %59 49: ; preds = %40 %50 = load i64, ptr @ENOMEM, align 8, !tbaa !10 br label %61 51: ; preds = %46, %51 %52 = phi i64 [ %55, %51 ], [ 0, %46 ] %53 = getelementptr inbounds i32, ptr %44, i64 %52 %54 = call i32 @krb5_ret_keyblock(ptr noundef nonnull %28, ptr noundef nonnull %53) #3 %55 = add nuw nsw i64 %52, 1 %56 = load i32, ptr %6, align 4, !tbaa !12 %57 = sext i32 %56 to i64 %58 = icmp slt i64 %55, %57 br i1 %58, label %51, label %59, !llvm.loop !13 59: ; preds = %51, %46 %60 = phi i32 [ %47, %46 ], [ %56, %51 ] store i32 %60, ptr %3, align 4, !tbaa !12 store ptr %44, ptr %2, align 8, !tbaa !15 br label %61 61: ; preds = %59, %49, %35 %62 = phi i64 [ %38, %35 ], [ %50, %49 ], [ 0, %59 ] %63 = call i32 @krb5_storage_free(ptr noundef nonnull %28) #3 %64 = call i32 @krb5_data_free(ptr noundef nonnull %7) #3 br label %65 65: ; preds = %24, %17, %4, %61, %32, %13 %66 = phi i64 [ %16, %13 ], [ %34, %32 ], [ %62, %61 ], [ %8, %4 ], [ %21, %17 ], [ %25, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 ret i64 %66 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @_kadm5_connect(ptr noundef) local_unnamed_addr #2 declare ptr @krb5_storage_from_mem(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @krb5_clear_error_message(i32 noundef) local_unnamed_addr #2 declare i32 @krb5_store_int32(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @krb5_store_principal(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @_kadm5_client_send(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @krb5_storage_free(ptr noundef) local_unnamed_addr #2 declare i64 @_kadm5_client_recv(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @krb5_storage_from_data(ptr noundef) local_unnamed_addr #2 declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2 declare i32 @krb5_ret_int32(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @krb5_ret_keyblock(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 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_randkey_c.c_kadm5_c_randkey_principal.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/kadm5/extr_randkey_c.c_kadm5_c_randkey_principal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i64 0, align 8 @kadm_randkey = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @kadm5_c_randkey_principal(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca [1024 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %8 = tail call i64 @_kadm5_connect(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %65 10: ; preds = %4 %11 = call ptr @krb5_storage_from_mem(ptr noundef nonnull %5, i32 noundef 1024) #3 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %10 %14 = load i32, ptr %0, align 4, !tbaa !6 %15 = call i32 @krb5_clear_error_message(i32 noundef %14) #3 %16 = load i64, ptr @ENOMEM, align 8, !tbaa !11 br label %65 17: ; preds = %10 %18 = load i32, ptr @kadm_randkey, align 4, !tbaa !13 %19 = call i32 @krb5_store_int32(ptr noundef nonnull %11, i32 noundef %18) #3 %20 = call i32 @krb5_store_principal(ptr noundef nonnull %11, i32 noundef %1) #3 %21 = call i64 @_kadm5_client_send(ptr noundef %0, ptr noundef nonnull %11) #3 %22 = call i32 @krb5_storage_free(ptr noundef nonnull %11) #3 %23 = icmp eq i64 %21, 0 br i1 %23, label %24, label %65 24: ; preds = %17 %25 = call i64 @_kadm5_client_recv(ptr noundef %0, ptr noundef nonnull %7) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %65 27: ; preds = %24 %28 = call ptr @krb5_storage_from_data(ptr noundef nonnull %7) #3 %29 = icmp eq ptr %28, null %30 = load i32, ptr %0, align 4, !tbaa !6 %31 = call i32 @krb5_clear_error_message(i32 noundef %30) #3 br i1 %29, label %32, label %35 32: ; preds = %27 %33 = call i32 @krb5_data_free(ptr noundef nonnull %7) #3 %34 = load i64, ptr @ENOMEM, align 8, !tbaa !11 br label %65 35: ; preds = %27 %36 = call i32 @krb5_ret_int32(ptr noundef nonnull %28, ptr noundef nonnull %6) #3 %37 = load i32, ptr %6, align 4, !tbaa !13 %38 = sext i32 %37 to i64 %39 = icmp eq i32 %37, 0 br i1 %39, label %40, label %61 40: ; preds = %35 %41 = call i32 @krb5_ret_int32(ptr noundef nonnull %28, ptr noundef nonnull %6) #3 %42 = load i32, ptr %6, align 4, !tbaa !13 %43 = shl i32 %42, 2 %44 = call ptr @malloc(i32 noundef %43) #3 %45 = icmp eq ptr %44, null br i1 %45, label %49, label %46 46: ; preds = %40 %47 = load i32, ptr %6, align 4, !tbaa !13 %48 = icmp sgt i32 %47, 0 br i1 %48, label %51, label %59 49: ; preds = %40 %50 = load i64, ptr @ENOMEM, align 8, !tbaa !11 br label %61 51: ; preds = %46, %51 %52 = phi i64 [ %55, %51 ], [ 0, %46 ] %53 = getelementptr inbounds i32, ptr %44, i64 %52 %54 = call i32 @krb5_ret_keyblock(ptr noundef nonnull %28, ptr noundef nonnull %53) #3 %55 = add nuw nsw i64 %52, 1 %56 = load i32, ptr %6, align 4, !tbaa !13 %57 = sext i32 %56 to i64 %58 = icmp slt i64 %55, %57 br i1 %58, label %51, label %59, !llvm.loop !14 59: ; preds = %51, %46 %60 = phi i32 [ %47, %46 ], [ %56, %51 ] store i32 %60, ptr %3, align 4, !tbaa !13 store ptr %44, ptr %2, align 8, !tbaa !16 br label %61 61: ; preds = %59, %49, %35 %62 = phi i64 [ %38, %35 ], [ %50, %49 ], [ 0, %59 ] %63 = call i32 @krb5_storage_free(ptr noundef nonnull %28) #3 %64 = call i32 @krb5_data_free(ptr noundef nonnull %7) #3 br label %65 65: ; preds = %24, %17, %4, %61, %32, %13 %66 = phi i64 [ %16, %13 ], [ %34, %32 ], [ %62, %61 ], [ %8, %4 ], [ %21, %17 ], [ %25, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3 ret i64 %66 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @_kadm5_connect(ptr noundef) local_unnamed_addr #2 declare ptr @krb5_storage_from_mem(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @krb5_clear_error_message(i32 noundef) local_unnamed_addr #2 declare i32 @krb5_store_int32(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @krb5_store_principal(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @_kadm5_client_send(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @krb5_storage_free(ptr noundef) local_unnamed_addr #2 declare i64 @_kadm5_client_recv(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @krb5_storage_from_data(ptr noundef) local_unnamed_addr #2 declare i32 @krb5_data_free(ptr noundef) local_unnamed_addr #2 declare i32 @krb5_ret_int32(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @krb5_ret_keyblock(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 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0}
freebsd_crypto_heimdal_lib_kadm5_extr_randkey_c.c_kadm5_c_randkey_principal
; ModuleID = 'AnghaBench/reactos/dll/win32/usp10/extr_shape.c_ContextualShape_Devanagari.c' source_filename = "AnghaBench/reactos/dll/win32/usp10/extr_shape.c_ContextualShape_Devanagari.c" target datalayout = "e-m:e-p270:32:32-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 [59 x i8] c"Number of Glyphs and Chars need to match at the beginning\0A\00", align 1 @Devanagari_consonants = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"New composed string %s (%i)\0A\00", align 1 @devanagari_lex = dso_local local_unnamed_addr global i32 0, align 4 @Reorder_Like_Devanagari = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"reordered string %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ContextualShape_Devanagari], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ContextualShape_Devanagari(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 store i32 %4, ptr %10, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 store ptr null, ptr %11, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3 store i32 0, ptr %12, align 4, !tbaa !5 %13 = tail call i32 @get_GSUB_Indic2(ptr noundef %2, ptr noundef %1) #3 %14 = load i32, ptr %6, align 4, !tbaa !5 %15 = icmp eq i32 %14, %4 br i1 %15, label %18, label %16 16: ; preds = %9 %17 = tail call i32 @ERR(ptr noundef nonnull @.str) #3 br label %45 18: ; preds = %9 %19 = shl i32 %4, 2 %20 = tail call ptr @heap_alloc(i32 noundef %19) #3 %21 = tail call i32 @memcpy(ptr noundef %20, ptr noundef %3, i32 noundef %19) #3 %22 = load i32, ptr @Devanagari_consonants, align 4, !tbaa !5 %23 = call i32 @ComposeConsonants(i32 noundef %0, ptr noundef %20, ptr noundef nonnull %10, i32 noundef %22, ptr noundef %8) #3 %24 = load i32, ptr %10, align 4, !tbaa !5 %25 = call i32 @debugstr_wn(ptr noundef %20, i32 noundef %24) #3 %26 = load i32, ptr %10, align 4, !tbaa !5 %27 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.1, i32 noundef %25, i32 noundef %26) #3 %28 = load i32, ptr %10, align 4, !tbaa !5 %29 = load i32, ptr @devanagari_lex, align 4, !tbaa !5 %30 = load i32, ptr @Reorder_Like_Devanagari, align 4, !tbaa !5 %31 = call i32 @Indic_ReorderCharacters(i32 noundef %0, ptr noundef %2, ptr noundef %1, ptr noundef %20, i32 noundef %28, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %29, i32 noundef %30, i32 noundef %13) #3 %32 = load i32, ptr %10, align 4, !tbaa !5 %33 = call i32 @debugstr_wn(ptr noundef %20, i32 noundef %32) #3 %34 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.2, i32 noundef %33) #3 %35 = load i32, ptr %10, align 4, !tbaa !5 %36 = call i32 @GetGlyphIndicesW(i32 noundef %0, ptr noundef %20, i32 noundef %35, ptr noundef %5, i32 noundef 0) #3 %37 = load i32, ptr %10, align 4, !tbaa !5 store i32 %37, ptr %6, align 4, !tbaa !5 %38 = load ptr, ptr %11, align 8, !tbaa !9 %39 = load i32, ptr %12, align 4, !tbaa !5 %40 = load i32, ptr @devanagari_lex, align 4, !tbaa !5 %41 = call i32 @ShapeIndicSyllables(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %20, i32 noundef %4, ptr noundef %38, i32 noundef %39, ptr noundef %5, ptr noundef nonnull %6, ptr noundef %8, i32 noundef %40, ptr noundef null, i32 noundef %13) #3 %42 = call i32 @heap_free(ptr noundef %20) #3 %43 = load ptr, ptr %11, align 8, !tbaa !9 %44 = call i32 @heap_free(ptr noundef %43) #3 br label %45 45: ; preds = %18, %16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #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 @get_GSUB_Indic2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR(ptr noundef) local_unnamed_addr #2 declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ComposeConsonants(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @TRACE(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @debugstr_wn(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Indic_ReorderCharacters(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetGlyphIndicesW(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ShapeIndicSyllables(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @heap_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/usp10/extr_shape.c_ContextualShape_Devanagari.c' source_filename = "AnghaBench/reactos/dll/win32/usp10/extr_shape.c_ContextualShape_Devanagari.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 [59 x i8] c"Number of Glyphs and Chars need to match at the beginning\0A\00", align 1 @Devanagari_consonants = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"New composed string %s (%i)\0A\00", align 1 @devanagari_lex = common local_unnamed_addr global i32 0, align 4 @Reorder_Like_Devanagari = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"reordered string %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ContextualShape_Devanagari], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ContextualShape_Devanagari(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 %7, ptr noundef %8) #0 { %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #3 store i32 %4, ptr %10, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 store ptr null, ptr %11, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #3 store i32 0, ptr %12, align 4, !tbaa !6 %13 = tail call i32 @get_GSUB_Indic2(ptr noundef %2, ptr noundef %1) #3 %14 = load i32, ptr %6, align 4, !tbaa !6 %15 = icmp eq i32 %14, %4 br i1 %15, label %18, label %16 16: ; preds = %9 %17 = tail call i32 @ERR(ptr noundef nonnull @.str) #3 br label %45 18: ; preds = %9 %19 = shl i32 %4, 2 %20 = tail call ptr @heap_alloc(i32 noundef %19) #3 %21 = tail call i32 @memcpy(ptr noundef %20, ptr noundef %3, i32 noundef %19) #3 %22 = load i32, ptr @Devanagari_consonants, align 4, !tbaa !6 %23 = call i32 @ComposeConsonants(i32 noundef %0, ptr noundef %20, ptr noundef nonnull %10, i32 noundef %22, ptr noundef %8) #3 %24 = load i32, ptr %10, align 4, !tbaa !6 %25 = call i32 @debugstr_wn(ptr noundef %20, i32 noundef %24) #3 %26 = load i32, ptr %10, align 4, !tbaa !6 %27 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.1, i32 noundef %25, i32 noundef %26) #3 %28 = load i32, ptr %10, align 4, !tbaa !6 %29 = load i32, ptr @devanagari_lex, align 4, !tbaa !6 %30 = load i32, ptr @Reorder_Like_Devanagari, align 4, !tbaa !6 %31 = call i32 @Indic_ReorderCharacters(i32 noundef %0, ptr noundef %2, ptr noundef %1, ptr noundef %20, i32 noundef %28, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %29, i32 noundef %30, i32 noundef %13) #3 %32 = load i32, ptr %10, align 4, !tbaa !6 %33 = call i32 @debugstr_wn(ptr noundef %20, i32 noundef %32) #3 %34 = call i32 (ptr, i32, ...) @TRACE(ptr noundef nonnull @.str.2, i32 noundef %33) #3 %35 = load i32, ptr %10, align 4, !tbaa !6 %36 = call i32 @GetGlyphIndicesW(i32 noundef %0, ptr noundef %20, i32 noundef %35, ptr noundef %5, i32 noundef 0) #3 %37 = load i32, ptr %10, align 4, !tbaa !6 store i32 %37, ptr %6, align 4, !tbaa !6 %38 = load ptr, ptr %11, align 8, !tbaa !10 %39 = load i32, ptr %12, align 4, !tbaa !6 %40 = load i32, ptr @devanagari_lex, align 4, !tbaa !6 %41 = call i32 @ShapeIndicSyllables(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %20, i32 noundef %4, ptr noundef %38, i32 noundef %39, ptr noundef %5, ptr noundef nonnull %6, ptr noundef %8, i32 noundef %40, ptr noundef null, i32 noundef %13) #3 %42 = call i32 @heap_free(ptr noundef %20) #3 %43 = load ptr, ptr %11, align 8, !tbaa !10 %44 = call i32 @heap_free(ptr noundef %43) #3 br label %45 45: ; preds = %18, %16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #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 @get_GSUB_Indic2(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ERR(ptr noundef) local_unnamed_addr #2 declare ptr @heap_alloc(i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ComposeConsonants(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @TRACE(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @debugstr_wn(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @Indic_ReorderCharacters(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetGlyphIndicesW(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ShapeIndicSyllables(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @heap_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
reactos_dll_win32_usp10_extr_shape.c_ContextualShape_Devanagari
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_overlaps.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_overlaps.c" target datalayout = "e-m:e-p270:32:32-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 @overlaps], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @overlaps(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = add nsw i64 %1, %0 %6 = icmp sgt i64 %5, %2 %7 = add nsw i64 %3, %2 %8 = icmp sgt i64 %7, %0 %9 = select i1 %6, i1 %8, i1 false %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md.c_overlaps.c' source_filename = "AnghaBench/linux/drivers/md/extr_md.c_overlaps.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 @overlaps], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @overlaps(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = add nsw i64 %1, %0 %6 = icmp sgt i64 %5, %2 %7 = add nsw i64 %3, %2 %8 = icmp sgt i64 %7, %0 %9 = select i1 %6, i1 %8, i1 false %10 = zext i1 %9 to i32 ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_md_extr_md.c_overlaps
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4state.c_nfs_alloc_seqid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4state.c_nfs_alloc_seqid.c" target datalayout = "e-m:e-p270:32:32-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.nfs_seqid = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local ptr @nfs_alloc_seqid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.nfs_seqid, ptr %3, i64 0, i32 1 store ptr %0, ptr %6, align 8, !tbaa !5 %7 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %3) #2 br label %8 8: ; preds = %5, %2 ret ptr %3 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(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 = !{!"nfs_seqid", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4state.c_nfs_alloc_seqid.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4state.c_nfs_alloc_seqid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @nfs_alloc_seqid(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %0, ptr %6, align 8, !tbaa !6 %7 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %3) #2 br label %8 8: ; preds = %5, %2 ret ptr %3 } declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(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 = !{!"nfs_seqid", !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}
fastsocket_kernel_fs_nfs_extr_nfs4state.c_nfs_alloc_seqid