IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_getessid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_getessid.c" target datalayout = "e-m:e-p270:32:32-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.iw_point = type { i32, i32 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @IW_ESSID_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @orinoco_ioctl_getessid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @orinoco_ioctl_getessid(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = tail call ptr @ndev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %8 = tail call i64 @netif_running(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = call i32 @orinoco_hw_get_essid(ptr noundef %7, ptr noundef nonnull %5, ptr noundef %3) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 store i32 %11, ptr %2, align 4, !tbaa !5 br label %27 14: ; preds = %4 %15 = call i64 @orinoco_lock(ptr noundef %7, ptr noundef nonnull %6) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @EBUSY, align 4, !tbaa !10 %19 = sub nsw i32 0, %18 br label %29 20: ; preds = %14 %21 = load i32, ptr %7, align 4, !tbaa !11 %22 = load i32, ptr @IW_ESSID_MAX_SIZE, align 4, !tbaa !10 %23 = call i32 @memcpy(ptr noundef %3, i32 noundef %21, i32 noundef %22) #3 %24 = load i32, ptr %7, align 4, !tbaa !11 %25 = call i32 @strlen(i32 noundef %24) #3 store i32 %25, ptr %2, align 4, !tbaa !5 %26 = call i32 @orinoco_unlock(ptr noundef nonnull %7, ptr noundef nonnull %6) #3 br label %27 27: ; preds = %20, %13 %28 = getelementptr inbounds %struct.iw_point, ptr %2, i64 0, i32 1 store i32 1, ptr %28, align 4, !tbaa !13 br label %29 29: ; preds = %10, %27, %17 %30 = phi i32 [ 0, %27 ], [ %19, %17 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ndev_priv(ptr noundef) local_unnamed_addr #2 declare i64 @netif_running(ptr noundef) local_unnamed_addr #2 declare i32 @orinoco_hw_get_essid(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @orinoco_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare i32 @orinoco_unlock(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 = !{!"iw_point", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"orinoco_private", !7, i64 0} !13 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_getessid.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/orinoco/extr_wext.c_orinoco_ioctl_getessid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @IW_ESSID_MAX_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @orinoco_ioctl_getessid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @orinoco_ioctl_getessid(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture noundef writeonly %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = tail call ptr @ndev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %8 = tail call i64 @netif_running(ptr noundef %0) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = call i32 @orinoco_hw_get_essid(ptr noundef %7, ptr noundef nonnull %5, ptr noundef %3) #3 %12 = icmp slt i32 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %10 store i32 %11, ptr %2, align 4, !tbaa !6 br label %27 14: ; preds = %4 %15 = call i64 @orinoco_lock(ptr noundef %7, ptr noundef nonnull %6) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @EBUSY, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %29 20: ; preds = %14 %21 = load i32, ptr %7, align 4, !tbaa !12 %22 = load i32, ptr @IW_ESSID_MAX_SIZE, align 4, !tbaa !11 %23 = call i32 @memcpy(ptr noundef %3, i32 noundef %21, i32 noundef %22) #3 %24 = load i32, ptr %7, align 4, !tbaa !12 %25 = call i32 @strlen(i32 noundef %24) #3 store i32 %25, ptr %2, align 4, !tbaa !6 %26 = call i32 @orinoco_unlock(ptr noundef nonnull %7, ptr noundef nonnull %6) #3 br label %27 27: ; preds = %20, %13 %28 = getelementptr inbounds i8, ptr %2, i64 4 store i32 1, ptr %28, align 4, !tbaa !14 br label %29 29: ; preds = %10, %27, %17 %30 = phi i32 [ 0, %27 ], [ %19, %17 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %30 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ndev_priv(ptr noundef) local_unnamed_addr #2 declare i64 @netif_running(ptr noundef) local_unnamed_addr #2 declare i32 @orinoco_hw_get_essid(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @orinoco_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlen(i32 noundef) local_unnamed_addr #2 declare i32 @orinoco_unlock(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 = !{!"iw_point", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"orinoco_private", !8, i64 0} !14 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_net_wireless_orinoco_extr_wext.c_orinoco_ioctl_getessid
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpmodule.c_vfp_sync_state.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpmodule.c_vfp_sync_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FPEXC = dso_local local_unnamed_addr global i32 0, align 4 @FPEXC_EN = dso_local local_unnamed_addr global i32 0, align 4 @last_VFP_context = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @vfp_sync_state(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 (...) @get_cpu() #2 %3 = load i32, ptr @FPEXC, align 4, !tbaa !5 %4 = tail call i32 @fmrx(i32 noundef %3) #2 %5 = load i32, ptr @FPEXC_EN, align 4, !tbaa !5 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %26 8: ; preds = %1 %9 = load ptr, ptr @last_VFP_context, align 8, !tbaa !9 %10 = zext i32 %2 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = icmp eq ptr %12, null br i1 %13, label %26, label %14 14: ; preds = %8 %15 = load i32, ptr @FPEXC, align 4, !tbaa !5 %16 = or i32 %5, %4 %17 = tail call i32 @fmxr(i32 noundef %15, i32 noundef %16) #2 %18 = load ptr, ptr @last_VFP_context, align 8, !tbaa !9 %19 = getelementptr inbounds ptr, ptr %18, i64 %10 %20 = load ptr, ptr %19, align 8, !tbaa !9 %21 = tail call i32 @vfp_save_state(ptr noundef %20, i32 noundef %4) #2 %22 = load i32, ptr @FPEXC, align 4, !tbaa !5 %23 = tail call i32 @fmxr(i32 noundef %22, i32 noundef %4) #2 %24 = load ptr, ptr @last_VFP_context, align 8, !tbaa !9 %25 = getelementptr inbounds ptr, ptr %24, i64 %10 store ptr null, ptr %25, align 8, !tbaa !9 br label %26 26: ; preds = %8, %1, %14 %27 = tail call i32 (...) @put_cpu() #2 ret void } declare i32 @get_cpu(...) local_unnamed_addr #1 declare i32 @fmrx(i32 noundef) local_unnamed_addr #1 declare i32 @fmxr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfp_save_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_cpu(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/fastsocket/kernel/arch/arm/vfp/extr_vfpmodule.c_vfp_sync_state.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/vfp/extr_vfpmodule.c_vfp_sync_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FPEXC = common local_unnamed_addr global i32 0, align 4 @FPEXC_EN = common local_unnamed_addr global i32 0, align 4 @last_VFP_context = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @vfp_sync_state(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { %2 = tail call i32 @get_cpu() #2 %3 = load i32, ptr @FPEXC, align 4, !tbaa !6 %4 = tail call i32 @fmrx(i32 noundef %3) #2 %5 = load i32, ptr @FPEXC_EN, align 4, !tbaa !6 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %26 8: ; preds = %1 %9 = load ptr, ptr @last_VFP_context, align 8, !tbaa !10 %10 = zext i32 %2 to i64 %11 = getelementptr inbounds ptr, ptr %9, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = icmp eq ptr %12, null br i1 %13, label %26, label %14 14: ; preds = %8 %15 = load i32, ptr @FPEXC, align 4, !tbaa !6 %16 = or i32 %5, %4 %17 = tail call i32 @fmxr(i32 noundef %15, i32 noundef %16) #2 %18 = load ptr, ptr @last_VFP_context, align 8, !tbaa !10 %19 = getelementptr inbounds ptr, ptr %18, i64 %10 %20 = load ptr, ptr %19, align 8, !tbaa !10 %21 = tail call i32 @vfp_save_state(ptr noundef %20, i32 noundef %4) #2 %22 = load i32, ptr @FPEXC, align 4, !tbaa !6 %23 = tail call i32 @fmxr(i32 noundef %22, i32 noundef %4) #2 %24 = load ptr, ptr @last_VFP_context, align 8, !tbaa !10 %25 = getelementptr inbounds ptr, ptr %24, i64 %10 store ptr null, ptr %25, align 8, !tbaa !10 br label %26 26: ; preds = %8, %1, %14 %27 = tail call i32 @put_cpu() #2 ret void } declare i32 @get_cpu(...) local_unnamed_addr #1 declare i32 @fmrx(i32 noundef) local_unnamed_addr #1 declare i32 @fmxr(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfp_save_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @put_cpu(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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}
fastsocket_kernel_arch_arm_vfp_extr_vfpmodule.c_vfp_sync_state
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_da9150-charger.c_da9150_charger_battery_voltage_min.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_da9150-charger.c_da9150_charger_battery_voltage_min.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DA9150_PPR_CHGCTRL_C = dso_local local_unnamed_addr global i32 0, align 4 @DA9150_CHG_VFAULT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @da9150_charger_battery_voltage_min], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @da9150_charger_battery_voltage_min(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @DA9150_PPR_CHGCTRL_C, align 4, !tbaa !10 %5 = tail call i32 @da9150_reg_read(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @DA9150_CHG_VFAULT_MASK, align 4, !tbaa !10 %7 = and i32 %6, %5 %8 = mul nsw i32 %7, 50000 %9 = add nsw i32 %8, 2500000 store i32 %9, ptr %1, align 4, !tbaa !11 ret i32 0 } declare i32 @da9150_reg_read(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 = !{!"da9150_charger", !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}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_da9150-charger.c_da9150_charger_battery_voltage_min.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_da9150-charger.c_da9150_charger_battery_voltage_min.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DA9150_PPR_CHGCTRL_C = common local_unnamed_addr global i32 0, align 4 @DA9150_CHG_VFAULT_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @da9150_charger_battery_voltage_min], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @da9150_charger_battery_voltage_min(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @DA9150_PPR_CHGCTRL_C, align 4, !tbaa !11 %5 = tail call i32 @da9150_reg_read(i32 noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @DA9150_CHG_VFAULT_MASK, align 4, !tbaa !11 %7 = and i32 %6, %5 %8 = mul nsw i32 %7, 50000 %9 = add nsw i32 %8, 2500000 store i32 %9, ptr %1, align 4, !tbaa !12 ret i32 0 } declare i32 @da9150_reg_read(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 = !{!"da9150_charger", !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}
linux_drivers_power_supply_extr_da9150-charger.c_da9150_charger_battery_voltage_min
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_toshiba_acpi.c_hci_get_radio_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_toshiba_acpi.c_hci_get_radio_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HCI_WIRELESS = dso_local local_unnamed_addr global i32 0, align 4 @HCI_WIRELESS_KILL_SWITCH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hci_get_radio_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hci_get_radio_state(ptr nocapture noundef writeonly %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %3, align 4, !tbaa !5 store i32 1, ptr %4, align 4, !tbaa !5 %5 = load i32, ptr @HCI_WIRELESS, align 4, !tbaa !5 %6 = call i32 @hci_read2(i32 noundef %5, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %7 = load i32, ptr %3, align 4, !tbaa !5 %8 = load i32, ptr @HCI_WIRELESS_KILL_SWITCH, align 4, !tbaa !5 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !5 %10 = load i32, ptr %2, align 4, !tbaa !5 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 i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hci_read2(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_toshiba_acpi.c_hci_get_radio_state.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_toshiba_acpi.c_hci_get_radio_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCI_WIRELESS = common local_unnamed_addr global i32 0, align 4 @HCI_WIRELESS_KILL_SWITCH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hci_get_radio_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hci_get_radio_state(ptr nocapture noundef writeonly %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %3, align 4, !tbaa !6 store i32 1, ptr %4, align 4, !tbaa !6 %5 = load i32, ptr @HCI_WIRELESS, align 4, !tbaa !6 %6 = call i32 @hci_read2(i32 noundef %5, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2) #3 %7 = load i32, ptr %3, align 4, !tbaa !6 %8 = load i32, ptr @HCI_WIRELESS_KILL_SWITCH, align 4, !tbaa !6 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !6 %10 = load i32, ptr %2, align 4, !tbaa !6 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 i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hci_read2(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_platform_x86_extr_toshiba_acpi.c_hci_get_radio_state
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_loopback.c_f_lb_opts_bulk_buflen_store.c' source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_loopback.c_f_lb_opts_bulk_buflen_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.f_lb_opts = type { i32, i32, i64 } @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @f_lb_opts_bulk_buflen_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @f_lb_opts_bulk_buflen_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @to_f_lb_opts(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @mutex_lock(ptr noundef %5) #3 %7 = getelementptr inbounds %struct.f_lb_opts, ptr %5, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !5 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EBUSY, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 br label %20 13: ; preds = %3 %14 = call i32 @kstrtou32(ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load i32, ptr %4, align 4, !tbaa !11 %18 = getelementptr inbounds %struct.f_lb_opts, ptr %5, i64 0, i32 1 store i32 %17, ptr %18, align 4, !tbaa !12 %19 = trunc i64 %2 to i32 br label %20 20: ; preds = %13, %16, %10 %21 = phi i32 [ %12, %10 ], [ %14, %13 ], [ %19, %16 ] %22 = call i32 @mutex_unlock(ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_f_lb_opts(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtou32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(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 = !{!"f_lb_opts", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/usb/gadget/function/extr_f_loopback.c_f_lb_opts_bulk_buflen_store.c' source_filename = "AnghaBench/linux/drivers/usb/gadget/function/extr_f_loopback.c_f_lb_opts_bulk_buflen_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @f_lb_opts_bulk_buflen_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @f_lb_opts_bulk_buflen_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @to_f_lb_opts(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @mutex_lock(ptr noundef %5) #3 %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !6 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr @EBUSY, align 4, !tbaa !12 %12 = sub nsw i32 0, %11 br label %20 13: ; preds = %3 %14 = call i32 @kstrtou32(ptr noundef %1, i32 noundef 0, ptr noundef nonnull %4) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load i32, ptr %4, align 4, !tbaa !12 %18 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %17, ptr %18, align 4, !tbaa !13 %19 = trunc i64 %2 to i32 br label %20 20: ; preds = %13, %16, %10 %21 = phi i32 [ %12, %10 ], [ %14, %13 ], [ %19, %16 ] %22 = call i32 @mutex_unlock(ptr noundef nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_f_lb_opts(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtou32(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(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 = !{!"f_lb_opts", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4}
linux_drivers_usb_gadget_function_extr_f_loopback.c_f_lb_opts_bulk_buflen_store
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_jsonfuncs.c_get_array_element_end.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_jsonfuncs.c_get_array_element_end.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr, ptr, i64 } %struct.TYPE_3__ = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_array_element_end], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @get_array_element_end(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = icmp sgt i32 %5, %6 br i1 %7, label %54, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = add nsw i32 %5, -1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !16 %15 = icmp eq i32 %14, 0 br i1 %15, label %54, label %16 16: ; preds = %8 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = icmp eq ptr %18, null br i1 %19, label %54, label %20 20: ; preds = %16 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = getelementptr inbounds i64, ptr %22, i64 %12 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = getelementptr inbounds i64, ptr %18, i64 %12 %26 = load i64, ptr %25, align 8, !tbaa !19 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %54 28: ; preds = %20 %29 = icmp slt i32 %5, %6 br i1 %29, label %30, label %33 30: ; preds = %28 %31 = sext i32 %5 to i64 %32 = getelementptr inbounds i32, ptr %10, i64 %31 store i32 0, ptr %32, align 4, !tbaa !16 br label %54 33: ; preds = %28 %34 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %35 = load ptr, ptr %34, align 8, !tbaa !20 %36 = icmp eq ptr %35, null br i1 %36, label %54, label %37 37: ; preds = %33 %38 = icmp eq i32 %1, 0 br i1 %38, label %43, label %39 39: ; preds = %37 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 7 %41 = load i64, ptr %40, align 8, !tbaa !21 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %39, %37 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 %45 = load ptr, ptr %44, align 8, !tbaa !22 %46 = ptrtoint ptr %45 to i64 %47 = ptrtoint ptr %35 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = tail call ptr @cstring_to_text_with_len(ptr noundef nonnull %35, i32 noundef %49) #2 br label %51 51: ; preds = %39, %43 %52 = phi ptr [ %50, %43 ], [ null, %39 ] %53 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5 store ptr %52, ptr %53, align 8, !tbaa !23 store ptr null, ptr %34, align 8, !tbaa !20 br label %54 54: ; preds = %30, %20, %16, %8, %2, %51, %33 ret void } declare ptr @cstring_to_text_with_len(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 48} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !14 = !{!6, !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!6, !10, i64 16} !18 = !{!6, !10, i64 24} !19 = !{!11, !11, i64 0} !20 = !{!6, !10, i64 32} !21 = !{!6, !11, i64 56} !22 = !{!13, !10, i64 8} !23 = !{!6, !10, i64 40}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_jsonfuncs.c_get_array_element_end.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_jsonfuncs.c_get_array_element_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_array_element_end], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @get_array_element_end(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 48 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 8, !tbaa !13 %6 = load i32, ptr %0, align 8, !tbaa !15 %7 = icmp sgt i32 %5, %6 br i1 %7, label %54, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = add nsw i32 %5, -1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !17 %15 = icmp eq i32 %14, 0 br i1 %15, label %54, label %16 16: ; preds = %8 %17 = getelementptr inbounds i8, ptr %0, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !18 %19 = icmp eq ptr %18, null br i1 %19, label %54, label %20 20: ; preds = %16 %21 = getelementptr inbounds i8, ptr %0, i64 24 %22 = load ptr, ptr %21, align 8, !tbaa !19 %23 = getelementptr inbounds i64, ptr %22, i64 %12 %24 = load i64, ptr %23, align 8, !tbaa !20 %25 = getelementptr inbounds i64, ptr %18, i64 %12 %26 = load i64, ptr %25, align 8, !tbaa !20 %27 = icmp eq i64 %24, %26 br i1 %27, label %28, label %54 28: ; preds = %20 %29 = icmp slt i32 %5, %6 br i1 %29, label %30, label %33 30: ; preds = %28 %31 = sext i32 %5 to i64 %32 = getelementptr inbounds i32, ptr %10, i64 %31 store i32 0, ptr %32, align 4, !tbaa !17 br label %54 33: ; preds = %28 %34 = getelementptr inbounds i8, ptr %0, i64 32 %35 = load ptr, ptr %34, align 8, !tbaa !21 %36 = icmp eq ptr %35, null br i1 %36, label %54, label %37 37: ; preds = %33 %38 = icmp eq i32 %1, 0 br i1 %38, label %43, label %39 39: ; preds = %37 %40 = getelementptr inbounds i8, ptr %0, i64 56 %41 = load i64, ptr %40, align 8, !tbaa !22 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %39, %37 %44 = getelementptr inbounds i8, ptr %4, i64 8 %45 = load ptr, ptr %44, align 8, !tbaa !23 %46 = ptrtoint ptr %45 to i64 %47 = ptrtoint ptr %35 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = tail call ptr @cstring_to_text_with_len(ptr noundef nonnull %35, i32 noundef %49) #2 br label %51 51: ; preds = %39, %43 %52 = phi ptr [ %50, %43 ], [ null, %39 ] %53 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %52, ptr %53, align 8, !tbaa !24 store ptr null, ptr %34, align 8, !tbaa !21 br label %54 54: ; preds = %30, %20, %16, %8, %2, %51, %33 ret void } declare ptr @cstring_to_text_with_len(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 48} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !15 = !{!7, !8, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!7, !11, i64 16} !19 = !{!7, !11, i64 24} !20 = !{!12, !12, i64 0} !21 = !{!7, !11, i64 32} !22 = !{!7, !12, i64 56} !23 = !{!14, !11, i64 8} !24 = !{!7, !11, i64 40}
postgres_src_backend_utils_adt_extr_jsonfuncs.c_get_array_element_end
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_mad.c_port_mad_size.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_mad.c_port_mad_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ib_mad_port_private = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @port_mad_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @port_mad_size(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.ib_mad_port_private, ptr %0, i64 0, i32 1 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = tail call i64 @rdma_max_mad_size(i32 noundef %3, i32 noundef %4) #2 ret i64 %5 } declare i64 @rdma_max_mad_size(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 4} !6 = !{!"ib_mad_port_private", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/core/extr_mad.c_port_mad_size.c' source_filename = "AnghaBench/linux/drivers/infiniband/core/extr_mad.c_port_mad_size.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 @port_mad_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @port_mad_size(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = load i32, ptr %0, align 4, !tbaa !11 %5 = tail call i64 @rdma_max_mad_size(i32 noundef %3, i32 noundef %4) #2 ret i64 %5 } declare i64 @rdma_max_mad_size(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 4} !7 = !{!"ib_mad_port_private", !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}
linux_drivers_infiniband_core_extr_mad.c_port_mad_size
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/devices/extr_block2mtd.c_add_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/devices/extr_block2mtd.c_add_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.block2mtd_dev = type { %struct.TYPE_4__, i32, ptr, i32 } %struct.TYPE_4__ = type { ptr, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32 } %struct.block_device = type { ptr, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @FMODE_READ = dso_local local_unnamed_addr global i32 0, align 4 @FMODE_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"error: cannot open device %s\00", align 1 @MTD_BLOCK_MAJOR = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [50 x i8] c"attempting to use an MTD device as a block device\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"block2mtd: %s\00", align 1 @PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @MTD_RAM = dso_local local_unnamed_addr global i32 0, align 4 @MTD_CAP_RAM = dso_local local_unnamed_addr global i32 0, align 4 @block2mtd_erase = dso_local local_unnamed_addr global i32 0, align 4 @block2mtd_write = dso_local local_unnamed_addr global i32 0, align 4 @default_mtd_writev = dso_local local_unnamed_addr global i32 0, align 4 @block2mtd_sync = dso_local local_unnamed_addr global i32 0, align 4 @block2mtd_read = dso_local local_unnamed_addr global i32 0, align 4 @THIS_MODULE = dso_local local_unnamed_addr global i32 0, align 4 @blkmtd_device_list = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"mtd%d: [%s] erase_size = %dKiB [%d]\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"block2mtd: \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @add_device], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @add_device(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %89, label %4 4: ; preds = %2 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %6 = tail call ptr @kzalloc(i32 noundef 96, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %89, label %8 8: ; preds = %4 %9 = load i32, ptr @FMODE_READ, align 4, !tbaa !5 %10 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !5 %11 = or i32 %10, %9 %12 = tail call ptr @open_bdev_exclusive(ptr noundef nonnull %0, i32 noundef %11, ptr noundef null) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %8 %16 = tail call i64 @name_to_dev_t(ptr noundef nonnull %0) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %15 %19 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !5 %20 = load i32, ptr @FMODE_READ, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = tail call ptr @open_by_devnum(i64 noundef %16, i32 noundef %21) #2 br label %23 23: ; preds = %15, %18, %8 %24 = phi ptr [ %12, %8 ], [ %22, %18 ], [ %12, %15 ] %25 = tail call i64 @IS_ERR(ptr noundef %24) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 (ptr, ...) @ERROR(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 br label %87 29: ; preds = %23 %30 = getelementptr inbounds %struct.block2mtd_dev, ptr %6, i64 0, i32 2 store ptr %24, ptr %30, align 8, !tbaa !9 %31 = getelementptr inbounds %struct.block_device, ptr %24, i64 0, i32 1 %32 = load i32, ptr %31, align 8, !tbaa !13 %33 = tail call i64 @MAJOR(i32 noundef %32) #2 %34 = load i64, ptr @MTD_BLOCK_MAJOR, align 8, !tbaa !15 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = tail call i32 (ptr, ...) @ERROR(ptr noundef nonnull @.str.1) #2 br label %87 38: ; preds = %29 %39 = getelementptr inbounds %struct.block2mtd_dev, ptr %6, i64 0, i32 3 %40 = tail call i32 @mutex_init(ptr noundef nonnull %39) #2 %41 = tail call i32 @strlen(ptr noundef nonnull %0) #2 %42 = add i32 %41, 13 %43 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %44 = tail call ptr @kmalloc(i32 noundef %42, i32 noundef %43) #2 %45 = icmp eq ptr %44, null br i1 %45, label %87, label %46 46: ; preds = %38 %47 = tail call i32 @sprintf(ptr noundef nonnull %44, ptr noundef nonnull @.str.2, ptr noundef nonnull %0) #2 store ptr %44, ptr %6, align 8, !tbaa !17 %48 = load ptr, ptr %30, align 8, !tbaa !9 %49 = load ptr, ptr %48, align 8, !tbaa !18 %50 = load i32, ptr %49, align 4, !tbaa !19 %51 = load i32, ptr @PAGE_MASK, align 4, !tbaa !5 %52 = and i32 %51, %50 %53 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 1 store i32 %52, ptr %53, align 8, !tbaa !21 %54 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 2 store i32 %1, ptr %54, align 4, !tbaa !22 %55 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 3 store i32 1, ptr %55, align 8, !tbaa !23 %56 = load i32, ptr @MTD_RAM, align 4, !tbaa !5 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 13 store i32 %56, ptr %57, align 8, !tbaa !24 %58 = load i32, ptr @MTD_CAP_RAM, align 4, !tbaa !5 %59 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 12 store i32 %58, ptr %59, align 4, !tbaa !25 %60 = load i32, ptr @block2mtd_erase, align 4, !tbaa !5 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 11 store i32 %60, ptr %61, align 8, !tbaa !26 %62 = load i32, ptr @block2mtd_write, align 4, !tbaa !5 %63 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 10 store i32 %62, ptr %63, align 4, !tbaa !27 %64 = load i32, ptr @default_mtd_writev, align 4, !tbaa !5 %65 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 9 store i32 %64, ptr %65, align 8, !tbaa !28 %66 = load i32, ptr @block2mtd_sync, align 4, !tbaa !5 %67 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 8 store i32 %66, ptr %67, align 4, !tbaa !29 %68 = load i32, ptr @block2mtd_read, align 4, !tbaa !5 %69 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 7 store i32 %68, ptr %69, align 8, !tbaa !30 %70 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 6 store ptr %6, ptr %70, align 8, !tbaa !31 %71 = load i32, ptr @THIS_MODULE, align 4, !tbaa !5 %72 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 5 store i32 %71, ptr %72, align 8, !tbaa !32 %73 = tail call i64 @add_mtd_device(ptr noundef nonnull %6) #2 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %87 75: ; preds = %46 %76 = getelementptr inbounds %struct.block2mtd_dev, ptr %6, i64 0, i32 1 %77 = tail call i32 @list_add(ptr noundef nonnull %76, ptr noundef nonnull @blkmtd_device_list) #2 %78 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 4 %79 = load i32, ptr %78, align 4, !tbaa !33 %80 = load ptr, ptr %6, align 8, !tbaa !17 %81 = tail call i32 @strlen(ptr noundef nonnull @.str.4) #2 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i32, ptr %54, align 4, !tbaa !22 %85 = ashr i32 %84, 10 %86 = tail call i32 @INFO(ptr noundef nonnull @.str.3, i32 noundef %79, ptr noundef %83, i32 noundef %85, i32 noundef %84) #2 br label %89 87: ; preds = %46, %38, %36, %27 %88 = tail call i32 @block2mtd_free_device(ptr noundef nonnull %6) #2 br label %89 89: ; preds = %4, %2, %87, %75 %90 = phi ptr [ null, %87 ], [ %6, %75 ], [ null, %2 ], [ null, %4 ] ret ptr %90 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @open_bdev_exclusive(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @name_to_dev_t(ptr noundef) local_unnamed_addr #1 declare ptr @open_by_devnum(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @add_mtd_device(ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INFO(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @block2mtd_free_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, !12, i64 80} !10 = !{!"block2mtd_dev", !11, i64 0, !6, i64 72, !12, i64 80, !6, i64 88} !11 = !{!"TYPE_4__", !12, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !12, i64 32, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"block_device", !12, i64 0, !6, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"long", !7, i64 0} !17 = !{!10, !12, i64 0} !18 = !{!14, !12, i64 0} !19 = !{!20, !6, i64 0} !20 = !{!"TYPE_3__", !6, i64 0} !21 = !{!10, !6, i64 8} !22 = !{!10, !6, i64 12} !23 = !{!10, !6, i64 16} !24 = !{!10, !6, i64 64} !25 = !{!10, !6, i64 60} !26 = !{!10, !6, i64 56} !27 = !{!10, !6, i64 52} !28 = !{!10, !6, i64 48} !29 = !{!10, !6, i64 44} !30 = !{!10, !6, i64 40} !31 = !{!10, !12, i64 32} !32 = !{!10, !6, i64 24} !33 = !{!10, !6, i64 20}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/devices/extr_block2mtd.c_add_device.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/devices/extr_block2mtd.c_add_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @FMODE_READ = common local_unnamed_addr global i32 0, align 4 @FMODE_WRITE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"error: cannot open device %s\00", align 1 @MTD_BLOCK_MAJOR = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [50 x i8] c"attempting to use an MTD device as a block device\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"block2mtd: %s\00", align 1 @PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @MTD_RAM = common local_unnamed_addr global i32 0, align 4 @MTD_CAP_RAM = common local_unnamed_addr global i32 0, align 4 @block2mtd_erase = common local_unnamed_addr global i32 0, align 4 @block2mtd_write = common local_unnamed_addr global i32 0, align 4 @default_mtd_writev = common local_unnamed_addr global i32 0, align 4 @block2mtd_sync = common local_unnamed_addr global i32 0, align 4 @block2mtd_read = common local_unnamed_addr global i32 0, align 4 @THIS_MODULE = common local_unnamed_addr global i32 0, align 4 @blkmtd_device_list = common global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"mtd%d: [%s] erase_size = %dKiB [%d]\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"block2mtd: \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @add_device], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @add_device(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %89, label %4 4: ; preds = %2 %5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %6 = tail call ptr @kzalloc(i32 noundef 96, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %89, label %8 8: ; preds = %4 %9 = load i32, ptr @FMODE_READ, align 4, !tbaa !6 %10 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = tail call ptr @open_bdev_exclusive(ptr noundef nonnull %0, i32 noundef %11, ptr noundef null) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %23, label %15 15: ; preds = %8 %16 = tail call i64 @name_to_dev_t(ptr noundef nonnull %0) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %15 %19 = load i32, ptr @FMODE_WRITE, align 4, !tbaa !6 %20 = load i32, ptr @FMODE_READ, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = tail call ptr @open_by_devnum(i64 noundef %16, i32 noundef %21) #2 br label %23 23: ; preds = %15, %18, %8 %24 = phi ptr [ %12, %8 ], [ %22, %18 ], [ %12, %15 ] %25 = tail call i64 @IS_ERR(ptr noundef %24) #2 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 (ptr, ...) @ERROR(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 br label %87 29: ; preds = %23 %30 = getelementptr inbounds i8, ptr %6, i64 80 store ptr %24, ptr %30, align 8, !tbaa !10 %31 = getelementptr inbounds i8, ptr %24, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !14 %33 = tail call i64 @MAJOR(i32 noundef %32) #2 %34 = load i64, ptr @MTD_BLOCK_MAJOR, align 8, !tbaa !16 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = tail call i32 (ptr, ...) @ERROR(ptr noundef nonnull @.str.1) #2 br label %87 38: ; preds = %29 %39 = getelementptr inbounds i8, ptr %6, i64 88 %40 = tail call i32 @mutex_init(ptr noundef nonnull %39) #2 %41 = tail call i32 @strlen(ptr noundef nonnull %0) #2 %42 = add i32 %41, 13 %43 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %44 = tail call ptr @kmalloc(i32 noundef %42, i32 noundef %43) #2 %45 = icmp eq ptr %44, null br i1 %45, label %87, label %46 46: ; preds = %38 %47 = tail call i32 @sprintf(ptr noundef nonnull %44, ptr noundef nonnull @.str.2, ptr noundef nonnull %0) #2 store ptr %44, ptr %6, align 8, !tbaa !18 %48 = load ptr, ptr %30, align 8, !tbaa !10 %49 = load ptr, ptr %48, align 8, !tbaa !19 %50 = load i32, ptr %49, align 4, !tbaa !20 %51 = load i32, ptr @PAGE_MASK, align 4, !tbaa !6 %52 = and i32 %51, %50 %53 = getelementptr inbounds i8, ptr %6, i64 8 store i32 %52, ptr %53, align 8, !tbaa !22 %54 = getelementptr inbounds i8, ptr %6, i64 12 store i32 %1, ptr %54, align 4, !tbaa !23 %55 = getelementptr inbounds i8, ptr %6, i64 16 store i32 1, ptr %55, align 8, !tbaa !24 %56 = load i32, ptr @MTD_RAM, align 4, !tbaa !6 %57 = getelementptr inbounds i8, ptr %6, i64 64 store i32 %56, ptr %57, align 8, !tbaa !25 %58 = load i32, ptr @MTD_CAP_RAM, align 4, !tbaa !6 %59 = getelementptr inbounds i8, ptr %6, i64 60 store i32 %58, ptr %59, align 4, !tbaa !26 %60 = load i32, ptr @block2mtd_erase, align 4, !tbaa !6 %61 = getelementptr inbounds i8, ptr %6, i64 56 store i32 %60, ptr %61, align 8, !tbaa !27 %62 = load i32, ptr @block2mtd_write, align 4, !tbaa !6 %63 = getelementptr inbounds i8, ptr %6, i64 52 store i32 %62, ptr %63, align 4, !tbaa !28 %64 = load i32, ptr @default_mtd_writev, align 4, !tbaa !6 %65 = getelementptr inbounds i8, ptr %6, i64 48 store i32 %64, ptr %65, align 8, !tbaa !29 %66 = load i32, ptr @block2mtd_sync, align 4, !tbaa !6 %67 = getelementptr inbounds i8, ptr %6, i64 44 store i32 %66, ptr %67, align 4, !tbaa !30 %68 = load i32, ptr @block2mtd_read, align 4, !tbaa !6 %69 = getelementptr inbounds i8, ptr %6, i64 40 store i32 %68, ptr %69, align 8, !tbaa !31 %70 = getelementptr inbounds i8, ptr %6, i64 32 store ptr %6, ptr %70, align 8, !tbaa !32 %71 = load i32, ptr @THIS_MODULE, align 4, !tbaa !6 %72 = getelementptr inbounds i8, ptr %6, i64 24 store i32 %71, ptr %72, align 8, !tbaa !33 %73 = tail call i64 @add_mtd_device(ptr noundef nonnull %6) #2 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %87 75: ; preds = %46 %76 = getelementptr inbounds i8, ptr %6, i64 72 %77 = tail call i32 @list_add(ptr noundef nonnull %76, ptr noundef nonnull @blkmtd_device_list) #2 %78 = getelementptr inbounds i8, ptr %6, i64 20 %79 = load i32, ptr %78, align 4, !tbaa !34 %80 = load ptr, ptr %6, align 8, !tbaa !18 %81 = tail call i32 @strlen(ptr noundef nonnull @.str.4) #2 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i32, ptr %54, align 4, !tbaa !23 %85 = ashr i32 %84, 10 %86 = tail call i32 @INFO(ptr noundef nonnull @.str.3, i32 noundef %79, ptr noundef %83, i32 noundef %85, i32 noundef %84) #2 br label %89 87: ; preds = %46, %38, %36, %27 %88 = tail call i32 @block2mtd_free_device(ptr noundef nonnull %6) #2 br label %89 89: ; preds = %4, %2, %87, %75 %90 = phi ptr [ null, %87 ], [ %6, %75 ], [ null, %2 ], [ null, %4 ] ret ptr %90 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @open_bdev_exclusive(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @name_to_dev_t(ptr noundef) local_unnamed_addr #1 declare ptr @open_by_devnum(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @MAJOR(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @add_mtd_device(ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INFO(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @block2mtd_free_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, !13, i64 80} !11 = !{!"block2mtd_dev", !12, i64 0, !7, i64 72, !13, i64 80, !7, i64 88} !12 = !{!"TYPE_4__", !13, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !13, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"block_device", !13, i64 0, !7, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!11, !13, i64 0} !19 = !{!15, !13, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_3__", !7, i64 0} !22 = !{!11, !7, i64 8} !23 = !{!11, !7, i64 12} !24 = !{!11, !7, i64 16} !25 = !{!11, !7, i64 64} !26 = !{!11, !7, i64 60} !27 = !{!11, !7, i64 56} !28 = !{!11, !7, i64 52} !29 = !{!11, !7, i64 48} !30 = !{!11, !7, i64 44} !31 = !{!11, !7, i64 40} !32 = !{!11, !13, i64 32} !33 = !{!11, !7, i64 24} !34 = !{!11, !7, i64 20}
fastsocket_kernel_drivers_mtd_devices_extr_block2mtd.c_add_device
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_arc-dis.c_cond_code_name.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_arc-dis.c_cond_code_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.arcDisState = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @cond_code_name], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @cond_code_name(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.arcDisState, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = tail call ptr %3(i32 noundef %7, i32 noundef %1) #1 br label %9 9: ; preds = %2, %5 %10 = phi ptr [ %8, %5 ], [ null, %2 ] ret ptr %10 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"arcDisState", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/opcodes/extr_arc-dis.c_cond_code_name.c' source_filename = "AnghaBench/freebsd/contrib/binutils/opcodes/extr_arc-dis.c_cond_code_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 @cond_code_name], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @cond_code_name(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call ptr %3(i32 noundef %7, i32 noundef %1) #1 br label %9 9: ; preds = %2, %5 %10 = phi ptr [ %8, %5 ], [ null, %2 ] ret ptr %10 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"arcDisState", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
freebsd_contrib_binutils_opcodes_extr_arc-dis.c_cond_code_name
; ModuleID = 'AnghaBench/hashcat/src/modules/extr_module_00130.c_module_init.c' source_filename = "AnghaBench/hashcat/src/modules/extr_module_00130.c_module_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 } @MODULE_CONTEXT_SIZE_CURRENT = dso_local local_unnamed_addr global i32 0, align 4 @MODULE_INTERFACE_VERSION_CURRENT = dso_local local_unnamed_addr global i32 0, align 4 @module_attack_exec = dso_local local_unnamed_addr global i32 0, align 4 @MODULE_DEFAULT = dso_local local_unnamed_addr global ptr null, align 8 @module_dgst_pos0 = dso_local local_unnamed_addr global i32 0, align 4 @module_dgst_pos1 = dso_local local_unnamed_addr global i32 0, align 4 @module_dgst_pos2 = dso_local local_unnamed_addr global i32 0, align 4 @module_dgst_pos3 = dso_local local_unnamed_addr global i32 0, align 4 @module_dgst_size = dso_local local_unnamed_addr global i32 0, align 4 @module_hash_decode = dso_local local_unnamed_addr global i32 0, align 4 @module_hash_encode = dso_local local_unnamed_addr global i32 0, align 4 @module_hash_category = dso_local local_unnamed_addr global i32 0, align 4 @module_hash_name = dso_local local_unnamed_addr global i32 0, align 4 @module_kern_type = dso_local local_unnamed_addr global i32 0, align 4 @module_opti_type = dso_local local_unnamed_addr global i32 0, align 4 @module_opts_type = dso_local local_unnamed_addr global i32 0, align 4 @module_salt_type = dso_local local_unnamed_addr global i32 0, align 4 @module_st_hash = dso_local local_unnamed_addr global i32 0, align 4 @module_st_pass = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define dso_local void @module_init(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @MODULE_CONTEXT_SIZE_CURRENT, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 67 store i32 %2, ptr %3, align 8, !tbaa !9 %4 = load i32, ptr @MODULE_INTERFACE_VERSION_CURRENT, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 66 store i32 %4, ptr %5, align 4, !tbaa !12 %6 = load i32, ptr @module_attack_exec, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 65 store i32 %6, ptr %7, align 8, !tbaa !13 %8 = load ptr, ptr @MODULE_DEFAULT, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 64 store ptr %8, ptr %9, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 63 store ptr %8, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 62 store ptr %8, ptr %11, align 8, !tbaa !17 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 61 store ptr %8, ptr %12, align 8, !tbaa !18 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 60 store ptr %8, ptr %13, align 8, !tbaa !19 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 59 store ptr %8, ptr %14, align 8, !tbaa !20 %15 = load i32, ptr @module_dgst_pos0, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 58 store i32 %15, ptr %16, align 8, !tbaa !21 %17 = load i32, ptr @module_dgst_pos1, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 57 store i32 %17, ptr %18, align 4, !tbaa !22 %19 = load i32, ptr @module_dgst_pos2, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 56 store i32 %19, ptr %20, align 8, !tbaa !23 %21 = load i32, ptr @module_dgst_pos3, align 4, !tbaa !5 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 55 store i32 %21, ptr %22, align 4, !tbaa !24 %23 = load i32, ptr @module_dgst_size, align 4, !tbaa !5 %24 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 54 store i32 %23, ptr %24, align 8, !tbaa !25 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 53 store ptr %8, ptr %25, align 8, !tbaa !26 %26 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 52 store ptr %8, ptr %26, align 8, !tbaa !27 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 51 store ptr %8, ptr %27, align 8, !tbaa !28 %28 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 50 store ptr %8, ptr %28, align 8, !tbaa !29 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 49 store ptr %8, ptr %29, align 8, !tbaa !30 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 48 store ptr %8, ptr %30, align 8, !tbaa !31 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 47 store ptr %8, ptr %31, align 8, !tbaa !32 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 46 store ptr %8, ptr %32, align 8, !tbaa !33 %33 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 45 store ptr %8, ptr %33, align 8, !tbaa !34 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 44 store ptr %8, ptr %34, align 8, !tbaa !35 %35 = load i32, ptr @module_hash_decode, align 4, !tbaa !5 %36 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 43 store i32 %35, ptr %36, align 8, !tbaa !36 %37 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 42 store ptr %8, ptr %37, align 8, !tbaa !37 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 41 store ptr %8, ptr %38, align 8, !tbaa !38 %39 = load i32, ptr @module_hash_encode, align 4, !tbaa !5 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 40 store i32 %39, ptr %40, align 8, !tbaa !39 %41 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 39 store ptr %8, ptr %41, align 8, !tbaa !40 %42 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 38 store ptr %8, ptr %42, align 8, !tbaa !41 %43 = load i32, ptr @module_hash_category, align 4, !tbaa !5 %44 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 37 store i32 %43, ptr %44, align 4, !tbaa !42 %45 = load i32, ptr @module_hash_name, align 4, !tbaa !5 %46 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 36 store i32 %45, ptr %46, align 8, !tbaa !43 %47 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 35 store ptr %8, ptr %47, align 8, !tbaa !44 %48 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 34 store ptr %8, ptr %48, align 8, !tbaa !45 %49 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 33 store ptr %8, ptr %49, align 8, !tbaa !46 %50 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 32 store ptr %8, ptr %50, align 8, !tbaa !47 %51 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 31 store ptr %8, ptr %51, align 8, !tbaa !48 %52 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 30 store ptr %8, ptr %52, align 8, !tbaa !49 %53 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 29 store ptr %8, ptr %53, align 8, !tbaa !50 %54 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 28 store ptr %8, ptr %54, align 8, !tbaa !51 %55 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 27 store ptr %8, ptr %55, align 8, !tbaa !52 %56 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 26 store ptr %8, ptr %56, align 8, !tbaa !53 %57 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 25 store ptr %8, ptr %57, align 8, !tbaa !54 %58 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 24 store ptr %8, ptr %58, align 8, !tbaa !55 %59 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 23 store ptr %8, ptr %59, align 8, !tbaa !56 %60 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 22 store ptr %8, ptr %60, align 8, !tbaa !57 %61 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 21 store ptr %8, ptr %61, align 8, !tbaa !58 %62 = load i32, ptr @module_kern_type, align 4, !tbaa !5 %63 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 20 store i32 %62, ptr %63, align 8, !tbaa !59 %64 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 19 store ptr %8, ptr %64, align 8, !tbaa !60 %65 = load i32, ptr @module_opti_type, align 4, !tbaa !5 %66 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 18 store i32 %65, ptr %66, align 4, !tbaa !61 %67 = load i32, ptr @module_opts_type, align 4, !tbaa !5 %68 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 17 store i32 %67, ptr %68, align 8, !tbaa !62 %69 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 16 store ptr %8, ptr %69, align 8, !tbaa !63 %70 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 15 store ptr %8, ptr %70, align 8, !tbaa !64 %71 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 14 store ptr %8, ptr %71, align 8, !tbaa !65 %72 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 13 store ptr %8, ptr %72, align 8, !tbaa !66 %73 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 12 store ptr %8, ptr %73, align 8, !tbaa !67 %74 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 11 store ptr %8, ptr %74, align 8, !tbaa !68 %75 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 10 store ptr %8, ptr %75, align 8, !tbaa !69 %76 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 9 store ptr %8, ptr %76, align 8, !tbaa !70 %77 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 8 store ptr %8, ptr %77, align 8, !tbaa !71 %78 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 7 store ptr %8, ptr %78, align 8, !tbaa !72 %79 = load i32, ptr @module_salt_type, align 4, !tbaa !5 %80 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 6 store i32 %79, ptr %80, align 8, !tbaa !73 %81 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 store ptr %8, ptr %81, align 8, !tbaa !74 %82 = load i32, ptr @module_st_hash, align 4, !tbaa !5 %83 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store i32 %82, ptr %83, align 4, !tbaa !75 %84 = load i32, ptr @module_st_pass, align 4, !tbaa !5 %85 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store i32 %84, ptr %85, align 8, !tbaa !76 %86 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store ptr %8, ptr %86, align 8, !tbaa !77 %87 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store ptr %8, ptr %87, align 8, !tbaa !78 store ptr %8, ptr %0, align 8, !tbaa !79 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 488} !10 = !{!"TYPE_3__", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 28, !11, i64 32, !6, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !6, i64 128, !6, i64 132, !11, i64 136, !6, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !6, i64 272, !6, i64 276, !11, i64 280, !11, i64 288, !6, i64 296, !11, i64 304, !11, i64 312, !6, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !6, i64 408, !6, i64 412, !6, i64 416, !6, i64 420, !6, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !6, i64 480, !6, i64 484, !6, i64 488} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 484} !13 = !{!10, !6, i64 480} !14 = !{!11, !11, i64 0} !15 = !{!10, !11, i64 472} !16 = !{!10, !11, i64 464} !17 = !{!10, !11, i64 456} !18 = !{!10, !11, i64 448} !19 = !{!10, !11, i64 440} !20 = !{!10, !11, i64 432} !21 = !{!10, !6, i64 424} !22 = !{!10, !6, i64 420} !23 = !{!10, !6, i64 416} !24 = !{!10, !6, i64 412} !25 = !{!10, !6, i64 408} !26 = !{!10, !11, i64 400} !27 = !{!10, !11, i64 392} !28 = !{!10, !11, i64 384} !29 = !{!10, !11, i64 376} !30 = !{!10, !11, i64 368} !31 = !{!10, !11, i64 360} !32 = !{!10, !11, i64 352} !33 = !{!10, !11, i64 344} !34 = !{!10, !11, i64 336} !35 = !{!10, !11, i64 328} !36 = !{!10, !6, i64 320} !37 = !{!10, !11, i64 312} !38 = !{!10, !11, i64 304} !39 = !{!10, !6, i64 296} !40 = !{!10, !11, i64 288} !41 = !{!10, !11, i64 280} !42 = !{!10, !6, i64 276} !43 = !{!10, !6, i64 272} !44 = !{!10, !11, i64 264} !45 = !{!10, !11, i64 256} !46 = !{!10, !11, i64 248} !47 = !{!10, !11, i64 240} !48 = !{!10, !11, i64 232} !49 = !{!10, !11, i64 224} !50 = !{!10, !11, i64 216} !51 = !{!10, !11, i64 208} !52 = !{!10, !11, i64 200} !53 = !{!10, !11, i64 192} !54 = !{!10, !11, i64 184} !55 = !{!10, !11, i64 176} !56 = !{!10, !11, i64 168} !57 = !{!10, !11, i64 160} !58 = !{!10, !11, i64 152} !59 = !{!10, !6, i64 144} !60 = !{!10, !11, i64 136} !61 = !{!10, !6, i64 132} !62 = !{!10, !6, i64 128} !63 = !{!10, !11, i64 120} !64 = !{!10, !11, i64 112} !65 = !{!10, !11, i64 104} !66 = !{!10, !11, i64 96} !67 = !{!10, !11, i64 88} !68 = !{!10, !11, i64 80} !69 = !{!10, !11, i64 72} !70 = !{!10, !11, i64 64} !71 = !{!10, !11, i64 56} !72 = !{!10, !11, i64 48} !73 = !{!10, !6, i64 40} !74 = !{!10, !11, i64 32} !75 = !{!10, !6, i64 28} !76 = !{!10, !6, i64 24} !77 = !{!10, !11, i64 16} !78 = !{!10, !11, i64 8} !79 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/hashcat/src/modules/extr_module_00130.c_module_init.c' source_filename = "AnghaBench/hashcat/src/modules/extr_module_00130.c_module_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MODULE_CONTEXT_SIZE_CURRENT = common local_unnamed_addr global i32 0, align 4 @MODULE_INTERFACE_VERSION_CURRENT = common local_unnamed_addr global i32 0, align 4 @module_attack_exec = common local_unnamed_addr global i32 0, align 4 @MODULE_DEFAULT = common local_unnamed_addr global ptr null, align 8 @module_dgst_pos0 = common local_unnamed_addr global i32 0, align 4 @module_dgst_pos1 = common local_unnamed_addr global i32 0, align 4 @module_dgst_pos2 = common local_unnamed_addr global i32 0, align 4 @module_dgst_pos3 = common local_unnamed_addr global i32 0, align 4 @module_dgst_size = common local_unnamed_addr global i32 0, align 4 @module_hash_decode = common local_unnamed_addr global i32 0, align 4 @module_hash_encode = common local_unnamed_addr global i32 0, align 4 @module_hash_category = common local_unnamed_addr global i32 0, align 4 @module_hash_name = common local_unnamed_addr global i32 0, align 4 @module_kern_type = common local_unnamed_addr global i32 0, align 4 @module_opti_type = common local_unnamed_addr global i32 0, align 4 @module_opts_type = common local_unnamed_addr global i32 0, align 4 @module_salt_type = common local_unnamed_addr global i32 0, align 4 @module_st_hash = common local_unnamed_addr global i32 0, align 4 @module_st_pass = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define void @module_init(ptr noundef writeonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @MODULE_CONTEXT_SIZE_CURRENT, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 488 store i32 %2, ptr %3, align 8, !tbaa !10 %4 = load i32, ptr @MODULE_INTERFACE_VERSION_CURRENT, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 484 store i32 %4, ptr %5, align 4, !tbaa !13 %6 = load i32, ptr @module_attack_exec, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %0, i64 480 store i32 %6, ptr %7, align 8, !tbaa !14 %8 = load ptr, ptr @MODULE_DEFAULT, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %0, i64 472 store ptr %8, ptr %9, align 8, !tbaa !16 %10 = getelementptr inbounds i8, ptr %0, i64 464 store ptr %8, ptr %10, align 8, !tbaa !17 %11 = getelementptr inbounds i8, ptr %0, i64 456 store ptr %8, ptr %11, align 8, !tbaa !18 %12 = getelementptr inbounds i8, ptr %0, i64 448 store ptr %8, ptr %12, align 8, !tbaa !19 %13 = getelementptr inbounds i8, ptr %0, i64 440 store ptr %8, ptr %13, align 8, !tbaa !20 %14 = getelementptr inbounds i8, ptr %0, i64 432 store ptr %8, ptr %14, align 8, !tbaa !21 %15 = load i32, ptr @module_dgst_pos0, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %0, i64 424 store i32 %15, ptr %16, align 8, !tbaa !22 %17 = load i32, ptr @module_dgst_pos1, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %0, i64 420 store i32 %17, ptr %18, align 4, !tbaa !23 %19 = load i32, ptr @module_dgst_pos2, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %0, i64 416 store i32 %19, ptr %20, align 8, !tbaa !24 %21 = load i32, ptr @module_dgst_pos3, align 4, !tbaa !6 %22 = getelementptr inbounds i8, ptr %0, i64 412 store i32 %21, ptr %22, align 4, !tbaa !25 %23 = load i32, ptr @module_dgst_size, align 4, !tbaa !6 %24 = getelementptr inbounds i8, ptr %0, i64 408 store i32 %23, ptr %24, align 8, !tbaa !26 %25 = getelementptr inbounds i8, ptr %0, i64 400 store ptr %8, ptr %25, align 8, !tbaa !27 %26 = getelementptr inbounds i8, ptr %0, i64 392 store ptr %8, ptr %26, align 8, !tbaa !28 %27 = getelementptr inbounds i8, ptr %0, i64 384 store ptr %8, ptr %27, align 8, !tbaa !29 %28 = getelementptr inbounds i8, ptr %0, i64 376 store ptr %8, ptr %28, align 8, !tbaa !30 %29 = getelementptr inbounds i8, ptr %0, i64 368 store ptr %8, ptr %29, align 8, !tbaa !31 %30 = getelementptr inbounds i8, ptr %0, i64 360 store ptr %8, ptr %30, align 8, !tbaa !32 %31 = getelementptr inbounds i8, ptr %0, i64 352 store ptr %8, ptr %31, align 8, !tbaa !33 %32 = getelementptr inbounds i8, ptr %0, i64 344 store ptr %8, ptr %32, align 8, !tbaa !34 %33 = getelementptr inbounds i8, ptr %0, i64 336 store ptr %8, ptr %33, align 8, !tbaa !35 %34 = getelementptr inbounds i8, ptr %0, i64 328 store ptr %8, ptr %34, align 8, !tbaa !36 %35 = load i32, ptr @module_hash_decode, align 4, !tbaa !6 %36 = getelementptr inbounds i8, ptr %0, i64 320 store i32 %35, ptr %36, align 8, !tbaa !37 %37 = getelementptr inbounds i8, ptr %0, i64 312 store ptr %8, ptr %37, align 8, !tbaa !38 %38 = getelementptr inbounds i8, ptr %0, i64 304 store ptr %8, ptr %38, align 8, !tbaa !39 %39 = load i32, ptr @module_hash_encode, align 4, !tbaa !6 %40 = getelementptr inbounds i8, ptr %0, i64 296 store i32 %39, ptr %40, align 8, !tbaa !40 %41 = getelementptr inbounds i8, ptr %0, i64 288 store ptr %8, ptr %41, align 8, !tbaa !41 %42 = getelementptr inbounds i8, ptr %0, i64 280 store ptr %8, ptr %42, align 8, !tbaa !42 %43 = load i32, ptr @module_hash_category, align 4, !tbaa !6 %44 = getelementptr inbounds i8, ptr %0, i64 276 store i32 %43, ptr %44, align 4, !tbaa !43 %45 = load i32, ptr @module_hash_name, align 4, !tbaa !6 %46 = getelementptr inbounds i8, ptr %0, i64 272 store i32 %45, ptr %46, align 8, !tbaa !44 %47 = getelementptr inbounds i8, ptr %0, i64 264 store ptr %8, ptr %47, align 8, !tbaa !45 %48 = getelementptr inbounds i8, ptr %0, i64 256 store ptr %8, ptr %48, align 8, !tbaa !46 %49 = getelementptr inbounds i8, ptr %0, i64 248 store ptr %8, ptr %49, align 8, !tbaa !47 %50 = getelementptr inbounds i8, ptr %0, i64 240 store ptr %8, ptr %50, align 8, !tbaa !48 %51 = getelementptr inbounds i8, ptr %0, i64 232 store ptr %8, ptr %51, align 8, !tbaa !49 %52 = getelementptr inbounds i8, ptr %0, i64 224 store ptr %8, ptr %52, align 8, !tbaa !50 %53 = getelementptr inbounds i8, ptr %0, i64 216 store ptr %8, ptr %53, align 8, !tbaa !51 %54 = getelementptr inbounds i8, ptr %0, i64 208 store ptr %8, ptr %54, align 8, !tbaa !52 %55 = getelementptr inbounds i8, ptr %0, i64 200 store ptr %8, ptr %55, align 8, !tbaa !53 %56 = getelementptr inbounds i8, ptr %0, i64 192 store ptr %8, ptr %56, align 8, !tbaa !54 %57 = getelementptr inbounds i8, ptr %0, i64 184 store ptr %8, ptr %57, align 8, !tbaa !55 %58 = getelementptr inbounds i8, ptr %0, i64 176 store ptr %8, ptr %58, align 8, !tbaa !56 %59 = getelementptr inbounds i8, ptr %0, i64 168 store ptr %8, ptr %59, align 8, !tbaa !57 %60 = getelementptr inbounds i8, ptr %0, i64 160 store ptr %8, ptr %60, align 8, !tbaa !58 %61 = getelementptr inbounds i8, ptr %0, i64 152 store ptr %8, ptr %61, align 8, !tbaa !59 %62 = load i32, ptr @module_kern_type, align 4, !tbaa !6 %63 = getelementptr inbounds i8, ptr %0, i64 144 store i32 %62, ptr %63, align 8, !tbaa !60 %64 = getelementptr inbounds i8, ptr %0, i64 136 store ptr %8, ptr %64, align 8, !tbaa !61 %65 = load i32, ptr @module_opti_type, align 4, !tbaa !6 %66 = getelementptr inbounds i8, ptr %0, i64 132 store i32 %65, ptr %66, align 4, !tbaa !62 %67 = load i32, ptr @module_opts_type, align 4, !tbaa !6 %68 = getelementptr inbounds i8, ptr %0, i64 128 store i32 %67, ptr %68, align 8, !tbaa !63 %69 = getelementptr inbounds i8, ptr %0, i64 120 store ptr %8, ptr %69, align 8, !tbaa !64 %70 = getelementptr inbounds i8, ptr %0, i64 112 store ptr %8, ptr %70, align 8, !tbaa !65 %71 = getelementptr inbounds i8, ptr %0, i64 104 store ptr %8, ptr %71, align 8, !tbaa !66 %72 = getelementptr inbounds i8, ptr %0, i64 96 store ptr %8, ptr %72, align 8, !tbaa !67 %73 = getelementptr inbounds i8, ptr %0, i64 88 store ptr %8, ptr %73, align 8, !tbaa !68 %74 = getelementptr inbounds i8, ptr %0, i64 80 store ptr %8, ptr %74, align 8, !tbaa !69 %75 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %8, ptr %75, align 8, !tbaa !70 %76 = getelementptr inbounds i8, ptr %0, i64 64 store ptr %8, ptr %76, align 8, !tbaa !71 %77 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %8, ptr %77, align 8, !tbaa !72 %78 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %8, ptr %78, align 8, !tbaa !73 %79 = load i32, ptr @module_salt_type, align 4, !tbaa !6 %80 = getelementptr inbounds i8, ptr %0, i64 40 store i32 %79, ptr %80, align 8, !tbaa !74 %81 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %8, ptr %81, align 8, !tbaa !75 %82 = load i32, ptr @module_st_hash, align 4, !tbaa !6 %83 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %82, ptr %83, align 4, !tbaa !76 %84 = load i32, ptr @module_st_pass, align 4, !tbaa !6 %85 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %84, ptr %85, align 8, !tbaa !77 %86 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %8, ptr %86, align 8, !tbaa !78 %87 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %8, ptr %87, align 8, !tbaa !79 store ptr %8, ptr %0, align 8, !tbaa !80 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 488} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 28, !12, i64 32, !7, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !7, i64 128, !7, i64 132, !12, i64 136, !7, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !7, i64 272, !7, i64 276, !12, i64 280, !12, i64 288, !7, i64 296, !12, i64 304, !12, i64 312, !7, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !12, i64 360, !12, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !12, i64 432, !12, i64 440, !12, i64 448, !12, i64 456, !12, i64 464, !12, i64 472, !7, i64 480, !7, i64 484, !7, i64 488} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 484} !14 = !{!11, !7, i64 480} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 472} !17 = !{!11, !12, i64 464} !18 = !{!11, !12, i64 456} !19 = !{!11, !12, i64 448} !20 = !{!11, !12, i64 440} !21 = !{!11, !12, i64 432} !22 = !{!11, !7, i64 424} !23 = !{!11, !7, i64 420} !24 = !{!11, !7, i64 416} !25 = !{!11, !7, i64 412} !26 = !{!11, !7, i64 408} !27 = !{!11, !12, i64 400} !28 = !{!11, !12, i64 392} !29 = !{!11, !12, i64 384} !30 = !{!11, !12, i64 376} !31 = !{!11, !12, i64 368} !32 = !{!11, !12, i64 360} !33 = !{!11, !12, i64 352} !34 = !{!11, !12, i64 344} !35 = !{!11, !12, i64 336} !36 = !{!11, !12, i64 328} !37 = !{!11, !7, i64 320} !38 = !{!11, !12, i64 312} !39 = !{!11, !12, i64 304} !40 = !{!11, !7, i64 296} !41 = !{!11, !12, i64 288} !42 = !{!11, !12, i64 280} !43 = !{!11, !7, i64 276} !44 = !{!11, !7, i64 272} !45 = !{!11, !12, i64 264} !46 = !{!11, !12, i64 256} !47 = !{!11, !12, i64 248} !48 = !{!11, !12, i64 240} !49 = !{!11, !12, i64 232} !50 = !{!11, !12, i64 224} !51 = !{!11, !12, i64 216} !52 = !{!11, !12, i64 208} !53 = !{!11, !12, i64 200} !54 = !{!11, !12, i64 192} !55 = !{!11, !12, i64 184} !56 = !{!11, !12, i64 176} !57 = !{!11, !12, i64 168} !58 = !{!11, !12, i64 160} !59 = !{!11, !12, i64 152} !60 = !{!11, !7, i64 144} !61 = !{!11, !12, i64 136} !62 = !{!11, !7, i64 132} !63 = !{!11, !7, i64 128} !64 = !{!11, !12, i64 120} !65 = !{!11, !12, i64 112} !66 = !{!11, !12, i64 104} !67 = !{!11, !12, i64 96} !68 = !{!11, !12, i64 88} !69 = !{!11, !12, i64 80} !70 = !{!11, !12, i64 72} !71 = !{!11, !12, i64 64} !72 = !{!11, !12, i64 56} !73 = !{!11, !12, i64 48} !74 = !{!11, !7, i64 40} !75 = !{!11, !12, i64 32} !76 = !{!11, !7, i64 28} !77 = !{!11, !7, i64 24} !78 = !{!11, !12, i64 16} !79 = !{!11, !12, i64 8} !80 = !{!11, !12, i64 0}
hashcat_src_modules_extr_module_00130.c_module_init
; ModuleID = 'AnghaBench/mjolnir/Mjolnir/lua/extr_loadlib.c_ll_loadlib.c' source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_loadlib.c_ll_loadlib.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ERRLIB = dso_local local_unnamed_addr global i32 0, align 4 @LIB_FAIL = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"init\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ll_loadlib], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ll_loadlib(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 1) #2 %3 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 2) #2 %4 = tail call i32 @lookforfunc(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = tail call i32 @lua_pushnil(ptr noundef %0) #2 %8 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef -2) #2 %9 = load i32, ptr @ERRLIB, align 4, !tbaa !5 %10 = icmp eq i32 %4, %9 %11 = load ptr, ptr @LIB_FAIL, align 8 %12 = select i1 %10, ptr %11, ptr @.str %13 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef %12) #2 br label %14 14: ; preds = %1, %6 %15 = phi i32 [ 3, %6 ], [ 1, %1 ] ret i32 %15 } declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lookforfunc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #1 declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushstring(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mjolnir/Mjolnir/lua/extr_loadlib.c_ll_loadlib.c' source_filename = "AnghaBench/mjolnir/Mjolnir/lua/extr_loadlib.c_ll_loadlib.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERRLIB = common local_unnamed_addr global i32 0, align 4 @LIB_FAIL = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"init\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ll_loadlib], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 1, 4) i32 @ll_loadlib(ptr noundef %0) #0 { %2 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 1) #2 %3 = tail call ptr @luaL_checkstring(ptr noundef %0, i32 noundef 2) #2 %4 = tail call i32 @lookforfunc(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %14, label %6 6: ; preds = %1 %7 = tail call i32 @lua_pushnil(ptr noundef %0) #2 %8 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef -2) #2 %9 = load i32, ptr @ERRLIB, align 4, !tbaa !6 %10 = icmp eq i32 %4, %9 %11 = load ptr, ptr @LIB_FAIL, align 8 %12 = select i1 %10, ptr %11, ptr @.str %13 = tail call i32 @lua_pushstring(ptr noundef %0, ptr noundef %12) #2 br label %14 14: ; preds = %1, %6 %15 = phi i32 [ 3, %6 ], [ 1, %1 ] ret i32 %15 } declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lookforfunc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #1 declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_pushstring(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"}
mjolnir_Mjolnir_lua_extr_loadlib.c_ll_loadlib
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/whci/extr_....wusbhc.h_usb_hcd_get_by_usb_dev.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/whci/extr_....wusbhc.h_usb_hcd_get_by_usb_dev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @usb_hcd_get_by_usb_dev], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @usb_hcd_get_by_usb_dev(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @bus_to_hcd(i32 noundef %2) #2 %4 = tail call ptr @usb_get_hcd(ptr noundef %3) #2 ret ptr %4 } declare ptr @bus_to_hcd(i32 noundef) local_unnamed_addr #1 declare ptr @usb_get_hcd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"usb_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/wusbcore/host/whci/extr_....wusbhc.h_usb_hcd_get_by_usb_dev.c' source_filename = "AnghaBench/linux/drivers/staging/wusbcore/host/whci/extr_....wusbhc.h_usb_hcd_get_by_usb_dev.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 @usb_hcd_get_by_usb_dev], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @usb_hcd_get_by_usb_dev(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @bus_to_hcd(i32 noundef %2) #2 %4 = tail call ptr @usb_get_hcd(ptr noundef %3) #2 ret ptr %4 } declare ptr @bus_to_hcd(i32 noundef) local_unnamed_addr #1 declare ptr @usb_get_hcd(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"usb_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_wusbcore_host_whci_extr_....wusbhc.h_usb_hcd_get_by_usb_dev
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_sjson.c_enc_push_stack.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_sjson.c_enc_push_stack.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_4__ = type { i64, i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"encoder stack overflow\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @enc_push_stack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @enc_push_stack(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = add nsw i64 %4, 1 store i64 %5, ptr %1, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = icmp slt i64 %5, %7 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %9, %3 %12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %2) #2 %13 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = load i64, ptr %1, align 8, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 %17 = tail call i32 @lua_ref(ptr noundef %0, i32 noundef 1) #2 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15, i32 2 store i32 %17, ptr %18, align 4, !tbaa !13 %19 = tail call i32 @sjson_encoder_get_table_size(ptr noundef %0, i32 noundef %2) #2 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15, i32 1 store i32 %19, ptr %20, align 8, !tbaa !16 store i64 0, ptr %16, align 8, !tbaa !17 ret void } declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_ref(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sjson_encoder_get_table_size(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_5__", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !10, i64 16} !13 = !{!14, !15, i64 12} !14 = !{!"TYPE_4__", !7, i64 0, !15, i64 8, !15, i64 12} !15 = !{!"int", !8, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_sjson.c_enc_push_stack.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_sjson.c_enc_push_stack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i64, i32, i32 } @.str = private unnamed_addr constant [23 x i8] c"encoder stack overflow\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @enc_push_stack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @enc_push_stack(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = add nsw i64 %4, 1 store i64 %5, ptr %1, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp slt i64 %5, %7 br i1 %8, label %11, label %9 9: ; preds = %3 %10 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %9, %3 %12 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef %2) #2 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = load i64, ptr %1, align 8, !tbaa !6 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %14, i64 %15 %17 = tail call i32 @lua_ref(ptr noundef %0, i32 noundef 1) #2 %18 = getelementptr inbounds i8, ptr %16, i64 12 store i32 %17, ptr %18, align 4, !tbaa !14 %19 = tail call i32 @sjson_encoder_get_table_size(ptr noundef %0, i32 noundef %2) #2 %20 = getelementptr inbounds i8, ptr %16, i64 8 store i32 %19, ptr %20, align 8, !tbaa !17 store i64 0, ptr %16, align 8, !tbaa !18 ret void } declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_ref(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sjson_encoder_get_table_size(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_5__", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !11, i64 16} !14 = !{!15, !16, i64 12} !15 = !{!"TYPE_4__", !8, i64 0, !16, i64 8, !16, i64 12} !16 = !{!"int", !9, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!15, !8, i64 0}
nodemcu-firmware_app_modules_extr_sjson.c_enc_push_stack
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdspm.c_snd_hdspm_use_is_exclusive.c' source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdspm.c_snd_hdspm_use_is_exclusive.c" target datalayout = "e-m:e-p270:32:32-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.hdspm = type { i64, i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_hdspm_use_is_exclusive], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_hdspm_use_is_exclusive(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.hdspm, ptr %0, i64 0, i32 2 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.hdspm, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %4, %6 %8 = or i64 %6, %4 %9 = icmp slt i64 %8, 0 %10 = or i1 %7, %9 %11 = zext i1 %10 to i32 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 ret i32 %11 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hdspm", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_hdspm.c_snd_hdspm_use_is_exclusive.c' source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_hdspm.c_snd_hdspm_use_is_exclusive.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 @snd_hdspm_use_is_exclusive], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @snd_hdspm_use_is_exclusive(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = icmp eq i64 %4, %6 %8 = or i64 %6, %4 %9 = icmp slt i64 %8, 0 %10 = or i1 %7, %9 %11 = zext i1 %10 to i32 %12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 ret i32 %11 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hdspm", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8}
linux_sound_pci_rme9652_extr_hdspm.c_snd_hdspm_use_is_exclusive
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5StructureInvalidate.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5StructureInvalidate.c" target datalayout = "e-m:e-p270:32:32-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 @fts5StructureInvalidate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fts5StructureInvalidate(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @fts5StructureRelease(i64 noundef %2) #2 store i64 0, ptr %0, align 8, !tbaa !5 br label %6 6: ; preds = %4, %1 ret void } declare i32 @fts5StructureRelease(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5StructureInvalidate.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_index.c_fts5StructureInvalidate.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 @fts5StructureInvalidate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fts5StructureInvalidate(ptr nocapture noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @fts5StructureRelease(i64 noundef %2) #2 store i64 0, ptr %0, align 8, !tbaa !6 br label %6 6: ; preds = %4, %1 ret void } declare i32 @fts5StructureRelease(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
sqlcipher_ext_fts5_extr_fts5_index.c_fts5StructureInvalidate
; ModuleID = 'AnghaBench/linux/drivers/input/keyboard/extr_twl4030_keypad.c_do_kp_irq.c' source_filename = "AnghaBench/linux/drivers/input/keyboard/extr_twl4030_keypad.c_do_kp_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KEYP_ISR1 = dso_local local_unnamed_addr global i32 0, align 4 @KEYP_IMR1_KP = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_kp_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @do_kp_irq(i32 %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @KEYP_ISR1, align 4, !tbaa !5 %5 = call i32 @twl4030_kpread(ptr noundef %1, ptr noundef nonnull %3, i32 noundef %4, i32 noundef 1) #3 %6 = icmp sgt i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr %3, align 4, !tbaa !5 %9 = load i32, ptr @KEYP_IMR1_KP, align 4, !tbaa !5 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %2 br label %13 13: ; preds = %7, %12 %14 = phi i32 [ 1, %12 ], [ 0, %7 ] %15 = call i32 @twl4030_kp_scan(ptr noundef %1, i32 noundef %14) #3 %16 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @twl4030_kpread(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl4030_kp_scan(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/input/keyboard/extr_twl4030_keypad.c_do_kp_irq.c' source_filename = "AnghaBench/linux/drivers/input/keyboard/extr_twl4030_keypad.c_do_kp_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KEYP_ISR1 = common local_unnamed_addr global i32 0, align 4 @KEYP_IMR1_KP = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_kp_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @do_kp_irq(i32 %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @KEYP_ISR1, align 4, !tbaa !6 %5 = call i32 @twl4030_kpread(ptr noundef %1, ptr noundef nonnull %3, i32 noundef %4, i32 noundef 1) #3 %6 = icmp sgt i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load i32, ptr %3, align 4, !tbaa !6 %9 = load i32, ptr @KEYP_IMR1_KP, align 4, !tbaa !6 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %2 br label %13 13: ; preds = %7, %12 %14 = phi i32 [ 1, %12 ], [ 0, %7 ] %15 = call i32 @twl4030_kp_scan(ptr noundef %1, i32 noundef %14) #3 %16 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @twl4030_kpread(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl4030_kp_scan(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"}
linux_drivers_input_keyboard_extr_twl4030_keypad.c_do_kp_irq
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_cacheinfo.c_associativity_show.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_cacheinfo.c_associativity_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @associativity_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @associativity_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @index_kobj_to_cache(ptr noundef %0) #3 %6 = call i64 @cache_associativity(ptr noundef %5, ptr noundef nonnull %4) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %3 %9 = load i32, ptr @ENODEV, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %14 11: ; preds = %3 %12 = load i32, ptr %4, align 4, !tbaa !5 %13 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %12) #3 br label %14 14: ; preds = %11, %8 %15 = phi i32 [ %10, %8 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @index_kobj_to_cache(ptr noundef) local_unnamed_addr #2 declare i64 @cache_associativity(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(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"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kernel/extr_cacheinfo.c_associativity_show.c' source_filename = "AnghaBench/linux/arch/powerpc/kernel/extr_cacheinfo.c_associativity_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @associativity_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @associativity_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call ptr @index_kobj_to_cache(ptr noundef %0) #3 %6 = call i64 @cache_associativity(ptr noundef %5, ptr noundef nonnull %4) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %3 %9 = load i32, ptr @ENODEV, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %14 11: ; preds = %3 %12 = load i32, ptr %4, align 4, !tbaa !6 %13 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %12) #3 br label %14 14: ; preds = %11, %8 %15 = phi i32 [ %10, %8 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @index_kobj_to_cache(ptr noundef) local_unnamed_addr #2 declare i64 @cache_associativity(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(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"}
linux_arch_powerpc_kernel_extr_cacheinfo.c_associativity_show
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_h264_set_aso_slice_order_v6.c' source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_h264_set_aso_slice_order_v6.c" target datalayout = "e-m:e-p270:32:32-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.s5p_mfc_ctx = type { %struct.s5p_mfc_enc_params, ptr } %struct.s5p_mfc_enc_params = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { %struct.s5p_mfc_h264_enc_params } %struct.s5p_mfc_h264_enc_params = type { ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @s5p_mfc_h264_set_aso_slice_order_v6], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @s5p_mfc_h264_set_aso_slice_order_v6(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.s5p_mfc_ctx, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !14 %5 = getelementptr inbounds %struct.s5p_mfc_h264_enc_params, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !16 %7 = icmp eq i64 %6, 0 br i1 %7, label %26, label %8 8: ; preds = %1 %9 = load ptr, ptr %0, align 8, !tbaa !17 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #2 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %8, %12 %13 = phi i64 [ %21, %12 ], [ 0, %8 ] %14 = load ptr, ptr %0, align 8, !tbaa !17 %15 = getelementptr inbounds i32, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = load i64, ptr %4, align 8, !tbaa !20 %18 = shl nsw i64 %13, 2 %19 = add nsw i64 %17, %18 %20 = tail call i32 @writel(i32 noundef %16, i64 noundef %19) #2 %21 = add nuw nsw i64 %13, 1 %22 = load ptr, ptr %0, align 8, !tbaa !17 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %21, %24 br i1 %25, label %12, label %26, !llvm.loop !22 26: ; preds = %12, %8, %1 ret i32 0 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"s5p_mfc_ctx", !7, i64 0, !10, i64 16} !7 = !{!"s5p_mfc_enc_params", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"s5p_mfc_h264_enc_params", !10, i64 0, !13, i64 8} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"long", !11, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"s5p_mfc_dev", !10, i64 0} !16 = !{!9, !13, i64 8} !17 = !{!9, !10, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"int", !11, i64 0} !20 = !{!21, !13, i64 0} !21 = !{!"s5p_mfc_regs", !13, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_h264_set_aso_slice_order_v6.c' source_filename = "AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr_v6.c_s5p_mfc_h264_set_aso_slice_order_v6.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 @s5p_mfc_h264_set_aso_slice_order_v6], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @s5p_mfc_h264_set_aso_slice_order_v6(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !15 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !17 %7 = icmp eq i64 %6, 0 br i1 %7, label %26, label %8 8: ; preds = %1 %9 = load ptr, ptr %0, align 8, !tbaa !18 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #2 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %8, %12 %13 = phi i64 [ %21, %12 ], [ 0, %8 ] %14 = load ptr, ptr %0, align 8, !tbaa !18 %15 = getelementptr inbounds i32, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = load i64, ptr %4, align 8, !tbaa !21 %18 = shl nsw i64 %13, 2 %19 = add nsw i64 %17, %18 %20 = tail call i32 @writel(i32 noundef %16, i64 noundef %19) #2 %21 = add nuw nsw i64 %13, 1 %22 = load ptr, ptr %0, align 8, !tbaa !18 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %21, %24 br i1 %25, label %12, label %26, !llvm.loop !23 26: ; preds = %12, %8, %1 ret i32 0 } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"s5p_mfc_ctx", !8, i64 0, !11, i64 16} !8 = !{!"s5p_mfc_enc_params", !9, i64 0} !9 = !{!"TYPE_2__", !10, i64 0} !10 = !{!"s5p_mfc_h264_enc_params", !11, i64 0, !14, i64 8} !11 = !{!"any pointer", !12, i64 0} !12 = !{!"omnipotent char", !13, i64 0} !13 = !{!"Simple C/C++ TBAA"} !14 = !{!"long", !12, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"s5p_mfc_dev", !11, i64 0} !17 = !{!10, !14, i64 8} !18 = !{!10, !11, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"int", !12, i64 0} !21 = !{!22, !14, i64 0} !22 = !{!"s5p_mfc_regs", !14, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_platform_s5p-mfc_extr_s5p_mfc_opr_v6.c_s5p_mfc_h264_set_aso_slice_order_v6
; ModuleID = 'AnghaBench/jq/src/extr_inject_errors.c_fwrite.c' source_filename = "AnghaBench/jq/src/extr_inject_errors.c_fwrite.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @fail_write = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @GET_REAL(ptr noundef nonnull @fwrite) #2 %6 = tail call i64 @real_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #2 %7 = load ptr, ptr @fail_write, align 8, !tbaa !5 %8 = icmp eq ptr %7, %3 %9 = select i1 %8, i64 0, i64 %6 ret i64 %9 } declare i32 @GET_REAL(ptr noundef) local_unnamed_addr #1 declare i64 @real_fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/jq/src/extr_inject_errors.c_fwrite.c' source_filename = "AnghaBench/jq/src/extr_inject_errors.c_fwrite.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @fail_write = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call i32 @GET_REAL(ptr noundef nonnull @fwrite) #2 %6 = tail call i64 @real_fwrite(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #2 %7 = load ptr, ptr @fail_write, align 8, !tbaa !6 %8 = icmp eq ptr %7, %3 %9 = select i1 %8, i64 0, i64 %6 ret i64 %9 } declare i32 @GET_REAL(ptr noundef) local_unnamed_addr #1 declare i64 @real_fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
jq_src_extr_inject_errors.c_fwrite
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_io_error_detected.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_io_error_detected.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pci_channel_io_perm_failure = dso_local local_unnamed_addr global i64 0, align 8 @PCI_ERS_RESULT_DISCONNECT = dso_local local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_NEED_RESET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @atl1c_io_error_detected], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @atl1c_io_error_detected(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %4 = tail call ptr @netdev_priv(ptr noundef %3) #2 %5 = tail call i32 @netif_device_detach(ptr noundef %3) #2 %6 = load i64, ptr @pci_channel_io_perm_failure, align 8, !tbaa !5 %7 = icmp eq i64 %6, %1 br i1 %7, label %15, label %8 8: ; preds = %2 %9 = tail call i64 @netif_running(ptr noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @atl1c_down(ptr noundef %4) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @pci_disable_device(ptr noundef %0) #2 br label %15 15: ; preds = %2, %13 %16 = phi ptr [ @PCI_ERS_RESULT_NEED_RESET, %13 ], [ @PCI_ERS_RESULT_DISCONNECT, %2 ] %17 = load i32, ptr %16, align 4, !tbaa !9 ret i32 %17 } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_device_detach(ptr noundef) local_unnamed_addr #1 declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @atl1c_down(ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_io_error_detected.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/atl1c/extr_atl1c_main.c_atl1c_io_error_detected.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pci_channel_io_perm_failure = common local_unnamed_addr global i64 0, align 8 @PCI_ERS_RESULT_DISCONNECT = common local_unnamed_addr global i32 0, align 4 @PCI_ERS_RESULT_NEED_RESET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @atl1c_io_error_detected], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @atl1c_io_error_detected(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %4 = tail call ptr @netdev_priv(ptr noundef %3) #2 %5 = tail call i32 @netif_device_detach(ptr noundef %3) #2 %6 = load i64, ptr @pci_channel_io_perm_failure, align 8, !tbaa !6 %7 = icmp eq i64 %6, %1 br i1 %7, label %15, label %8 8: ; preds = %2 %9 = tail call i64 @netif_running(ptr noundef %3) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %8 %12 = tail call i32 @atl1c_down(ptr noundef %4) #2 br label %13 13: ; preds = %11, %8 %14 = tail call i32 @pci_disable_device(ptr noundef %0) #2 br label %15 15: ; preds = %2, %13 %16 = phi ptr [ @PCI_ERS_RESULT_NEED_RESET, %13 ], [ @PCI_ERS_RESULT_DISCONNECT, %2 ] %17 = load i32, ptr %16, align 4, !tbaa !10 ret i32 %17 } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @netif_device_detach(ptr noundef) local_unnamed_addr #1 declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @atl1c_down(ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_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 = !{!"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}
linux_drivers_net_ethernet_atheros_atl1c_extr_atl1c_main.c_atl1c_io_error_detected
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_v4l2.c_uvc_v4l2_get_format.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_v4l2.c_uvc_v4l2_get_format.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uvc_streaming = type { i64, i32, %struct.TYPE_4__, ptr, ptr } %struct.TYPE_4__ = type { i32 } %struct.uvc_format = type { i32, i32 } %struct.v4l2_format = type { i64, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i32, i32, i32, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_FIELD_NONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uvc_v4l2_get_format], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @uvc_v4l2_get_format(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !13 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !17 %8 = sub nsw i32 0, %7 br label %40 9: ; preds = %2 %10 = getelementptr inbounds %struct.uvc_streaming, ptr %0, i64 0, i32 1 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds %struct.uvc_streaming, ptr %0, i64 0, i32 4 %13 = load ptr, ptr %12, align 8, !tbaa !18 %14 = getelementptr inbounds %struct.uvc_streaming, ptr %0, i64 0, i32 3 %15 = load ptr, ptr %14, align 8, !tbaa !19 %16 = icmp eq ptr %13, null %17 = icmp eq ptr %15, null %18 = select i1 %16, i1 true, i1 %17 br i1 %18, label %19, label %22 19: ; preds = %9 %20 = load i32, ptr @EINVAL, align 4, !tbaa !17 %21 = sub nsw i32 0, %20 br label %37 22: ; preds = %9 %23 = getelementptr inbounds %struct.uvc_format, ptr %13, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !20 %25 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1 %26 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1, i32 0, i32 6 store i32 %24, ptr %26, align 8, !tbaa !22 %27 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1, i32 0, i32 4 %28 = load <2 x i32>, ptr %15, align 4, !tbaa !17 store <2 x i32> %28, ptr %27, align 8, !tbaa !17 %29 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !17 %30 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1, i32 0, i32 3 store i32 %29, ptr %30, align 4, !tbaa !23 %31 = tail call i32 @uvc_v4l2_get_bytesperline(ptr noundef nonnull %13, ptr noundef nonnull %15) #2 %32 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1, i32 0, i32 2 store i32 %31, ptr %32, align 8, !tbaa !24 %33 = getelementptr inbounds %struct.uvc_streaming, ptr %0, i64 0, i32 2 %34 = load i32, ptr %33, align 4, !tbaa !25 %35 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1, i32 0, i32 1 store i32 %34, ptr %35, align 4, !tbaa !26 %36 = load i32, ptr %13, align 4, !tbaa !27 store i32 %36, ptr %25, align 8, !tbaa !28 br label %37 37: ; preds = %22, %19 %38 = phi i32 [ %21, %19 ], [ 0, %22 ] %39 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 br label %40 40: ; preds = %37, %6 %41 = phi i32 [ %8, %6 ], [ %38, %37 ] ret i32 %41 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @uvc_v4l2_get_bytesperline(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"v4l2_format", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"uvc_streaming", !7, i64 0, !12, i64 8, !15, i64 12, !16, i64 16, !16, i64 24} !15 = !{!"TYPE_4__", !12, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!14, !16, i64 24} !19 = !{!14, !16, i64 16} !20 = !{!21, !12, i64 4} !21 = !{!"uvc_format", !12, i64 0, !12, i64 4} !22 = !{!6, !12, i64 32} !23 = !{!6, !12, i64 20} !24 = !{!6, !12, i64 16} !25 = !{!14, !12, i64 12} !26 = !{!6, !12, i64 12} !27 = !{!21, !12, i64 0} !28 = !{!6, !12, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_v4l2.c_uvc_v4l2_get_format.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_v4l2.c_uvc_v4l2_get_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @V4L2_FIELD_NONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uvc_v4l2_get_format], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @uvc_v4l2_get_format(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !14 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !18 %8 = sub nsw i32 0, %7 br label %40 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = tail call i32 @mutex_lock(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load ptr, ptr %12, align 8, !tbaa !19 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load ptr, ptr %14, align 8, !tbaa !20 %16 = icmp eq ptr %13, null %17 = icmp eq ptr %15, null %18 = select i1 %16, i1 true, i1 %17 br i1 %18, label %19, label %22 19: ; preds = %9 %20 = load i32, ptr @EINVAL, align 4, !tbaa !18 %21 = sub nsw i32 0, %20 br label %37 22: ; preds = %9 %23 = getelementptr inbounds i8, ptr %13, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !21 %25 = getelementptr inbounds i8, ptr %1, i64 8 %26 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %24, ptr %26, align 8, !tbaa !23 %27 = getelementptr inbounds i8, ptr %1, i64 24 %28 = load <2 x i32>, ptr %15, align 4, !tbaa !18 store <2 x i32> %28, ptr %27, align 8, !tbaa !18 %29 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !18 %30 = getelementptr inbounds i8, ptr %1, i64 20 store i32 %29, ptr %30, align 4, !tbaa !24 %31 = tail call i32 @uvc_v4l2_get_bytesperline(ptr noundef nonnull %13, ptr noundef nonnull %15) #2 %32 = getelementptr inbounds i8, ptr %1, i64 16 store i32 %31, ptr %32, align 8, !tbaa !25 %33 = getelementptr inbounds i8, ptr %0, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !26 %35 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %34, ptr %35, align 4, !tbaa !27 %36 = load i32, ptr %13, align 4, !tbaa !28 store i32 %36, ptr %25, align 8, !tbaa !29 br label %37 37: ; preds = %22, %19 %38 = phi i32 [ %21, %19 ], [ 0, %22 ] %39 = tail call i32 @mutex_unlock(ptr noundef nonnull %10) #2 br label %40 40: ; preds = %37, %6 %41 = phi i32 [ %8, %6 ], [ %38, %37 ] ret i32 %41 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @uvc_v4l2_get_bytesperline(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"v4l2_format", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"uvc_streaming", !8, i64 0, !13, i64 8, !16, i64 12, !17, i64 16, !17, i64 24} !16 = !{!"TYPE_4__", !13, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!15, !17, i64 24} !20 = !{!15, !17, i64 16} !21 = !{!22, !13, i64 4} !22 = !{!"uvc_format", !13, i64 0, !13, i64 4} !23 = !{!7, !13, i64 32} !24 = !{!7, !13, i64 20} !25 = !{!7, !13, i64 16} !26 = !{!15, !13, i64 12} !27 = !{!7, !13, i64 12} !28 = !{!22, !13, i64 0} !29 = !{!7, !13, i64 8}
linux_drivers_media_usb_uvc_extr_uvc_v4l2.c_uvc_v4l2_get_format
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_PrintDio.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_PrintDio.c" target datalayout = "e-m:e-p270:32:32-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 [61 x i8] c"TLAN: Contents of internal registers for io base 0x%04hx.\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"TLAN: Off. +0 +4\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"TLAN: 0x%02x 0x%08x 0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @TLan_PrintDio], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @TLan_PrintDio(i32 noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %0) #2 %3 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1) #2 %4 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 0) #2 %5 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 4) #2 %6 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 0, i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 8) #2 %8 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 12) #2 %9 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 8, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 16) #2 %11 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 20) #2 %12 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 16, i32 noundef %10, i32 noundef %11) #2 %13 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 24) #2 %14 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 28) #2 %15 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 24, i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 32) #2 %17 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 36) #2 %18 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 32, i32 noundef %16, i32 noundef %17) #2 %19 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 40) #2 %20 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 44) #2 %21 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 40, i32 noundef %19, i32 noundef %20) #2 %22 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 48) #2 %23 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 52) #2 %24 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 48, i32 noundef %22, i32 noundef %23) #2 %25 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 56) #2 %26 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 60) #2 %27 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 56, i32 noundef %25, i32 noundef %26) #2 %28 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 64) #2 %29 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 68) #2 %30 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 64, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 72) #2 %32 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 76) #2 %33 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 72, i32 noundef %31, i32 noundef %32) #2 ret void } declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @TLan_DioRead32(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/drivers/net/extr_tlan.c_TLan_PrintDio.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_tlan.c_TLan_PrintDio.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 [61 x i8] c"TLAN: Contents of internal registers for io base 0x%04hx.\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"TLAN: Off. +0 +4\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"TLAN: 0x%02x 0x%08x 0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @TLan_PrintDio], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @TLan_PrintDio(i32 noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str, i32 noundef %0) #2 %3 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1) #2 %4 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 0) #2 %5 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 4) #2 %6 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 0, i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 8) #2 %8 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 12) #2 %9 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 8, i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 16) #2 %11 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 20) #2 %12 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 16, i32 noundef %10, i32 noundef %11) #2 %13 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 24) #2 %14 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 28) #2 %15 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 24, i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 32) #2 %17 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 36) #2 %18 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 32, i32 noundef %16, i32 noundef %17) #2 %19 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 40) #2 %20 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 44) #2 %21 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 40, i32 noundef %19, i32 noundef %20) #2 %22 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 48) #2 %23 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 52) #2 %24 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 48, i32 noundef %22, i32 noundef %23) #2 %25 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 56) #2 %26 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 60) #2 %27 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 56, i32 noundef %25, i32 noundef %26) #2 %28 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 64) #2 %29 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 68) #2 %30 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 64, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 72) #2 %32 = tail call i32 @TLan_DioRead32(i32 noundef %0, i32 noundef 76) #2 %33 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.2, i32 noundef 72, i32 noundef %31, i32 noundef %32) #2 ret void } declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @TLan_DioRead32(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_drivers_net_extr_tlan.c_TLan_PrintDio
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslresource.c_RsSetFlagBits.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslresource.c_RsSetFlagBits.c" target datalayout = "e-m:e-p270:32:32-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, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i64 } @PARSEOP_DEFAULT_ARG = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @RsSetFlagBits(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr @PARSEOP_DEFAULT_ARG, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = shl i32 %3, %2 %10 = load i32, ptr %0, align 4, !tbaa !13 br label %17 11: ; preds = %4 %12 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = trunc i64 %13 to i32 %15 = shl i32 %14, %2 %16 = load i32, ptr %0, align 4, !tbaa !13 br label %17 17: ; preds = %11, %8 %18 = phi i32 [ %16, %11 ], [ %9, %8 ] %19 = phi i32 [ %15, %11 ], [ %10, %8 ] %20 = or i32 %19, %18 store i32 %20, ptr %0, align 4, !tbaa !13 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_5__", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!6, !8, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslresource.c_RsSetFlagBits.c' source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslresource.c_RsSetFlagBits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PARSEOP_DEFAULT_ARG = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @RsSetFlagBits(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr @PARSEOP_DEFAULT_ARG, align 8, !tbaa !13 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %12 8: ; preds = %4 %9 = shl i32 %3, %2 %10 = load i32, ptr %0, align 4, !tbaa !14 %11 = or i32 %10, %9 br label %19 12: ; preds = %4 %13 = getelementptr inbounds i8, ptr %1, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = trunc i64 %14 to i32 %16 = shl i32 %15, %2 %17 = load i32, ptr %0, align 4, !tbaa !14 %18 = or i32 %16, %17 br label %19 19: ; preds = %12, %8 %20 = phi i32 [ %18, %12 ], [ %11, %8 ] store i32 %20, ptr %0, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_5__", !9, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !10, i64 0} !16 = !{!7, !9, i64 8}
freebsd_sys_contrib_dev_acpica_compiler_extr_aslresource.c_RsSetFlagBits
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_set_frame_format.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_set_frame_format.c" target datalayout = "e-m:e-p270:32:32-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.TYPE_3__ = type { i32 } @ccdc_if_type = dso_local local_unnamed_addr global i64 0, align 8 @VPFE_RAW_BAYER = dso_local local_unnamed_addr global i64 0, align 8 @ccdc_hw_params_raw = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ccdc_hw_params_ycbcr = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ccdc_set_frame_format], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @ccdc_set_frame_format(i32 noundef %0) #0 { %2 = load i64, ptr @ccdc_if_type, align 8, !tbaa !5 %3 = load i64, ptr @VPFE_RAW_BAYER, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, ptr @ccdc_hw_params_raw, ptr @ccdc_hw_params_ycbcr store i32 %0, ptr %5, align 4, !tbaa !9 ret i32 0 } 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_set_frame_format.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm355_ccdc.c_ccdc_set_frame_format.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 } %struct.TYPE_3__ = type { i32 } @ccdc_if_type = common local_unnamed_addr global i64 0, align 8 @VPFE_RAW_BAYER = common local_unnamed_addr global i64 0, align 8 @ccdc_hw_params_raw = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ccdc_hw_params_ycbcr = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @ccdc_set_frame_format], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: write, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @ccdc_set_frame_format(i32 noundef %0) #0 { %2 = load i64, ptr @ccdc_if_type, align 8, !tbaa !6 %3 = load i64, ptr @VPFE_RAW_BAYER, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, ptr @ccdc_hw_params_raw, ptr @ccdc_hw_params_ycbcr store i32 %0, ptr %5, align 4, !tbaa !10 ret i32 0 } 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 = !{!"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}
fastsocket_kernel_drivers_media_video_davinci_extr_dm355_ccdc.c_ccdc_set_frame_format
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-debugfs.c_ccp5_debugfs_setup.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-debugfs.c_ccp5_debugfs_setup.c" target datalayout = "e-m:e-p270:32:32-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.ccp_device = type { ptr, i32, i32, ptr, ptr } %struct.ccp_cmd_queue = type { ptr, i32, i32, ptr, ptr } @MAX_NAME_LEN = dso_local local_unnamed_addr global i32 0, align 4 @ccp_debugfs_lock = dso_local global i32 0, align 4 @ccp_debugfs_dir = dso_local local_unnamed_addr global ptr null, align 8 @KBUILD_MODNAME = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"info\00", align 1 @ccp_debugfs_info_ops = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"stats\00", align 1 @ccp_debugfs_stats_ops = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"q%d\00", align 1 @ccp_debugfs_queue_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ccp5_debugfs_setup(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @MAX_NAME_LEN, align 4, !tbaa !5 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = tail call i32 (...) @debugfs_initialized() #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %45, label %8 8: ; preds = %1 %9 = tail call i32 @mutex_lock(ptr noundef nonnull @ccp_debugfs_lock) #2 %10 = load ptr, ptr @ccp_debugfs_dir, align 8, !tbaa !9 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load ptr, ptr @KBUILD_MODNAME, align 8, !tbaa !9 %14 = tail call ptr @debugfs_create_dir(ptr noundef %13, ptr noundef null) #2 store ptr %14, ptr @ccp_debugfs_dir, align 8, !tbaa !9 br label %15 15: ; preds = %12, %8 %16 = tail call i32 @mutex_unlock(ptr noundef nonnull @ccp_debugfs_lock) #2 %17 = load ptr, ptr %0, align 8, !tbaa !11 %18 = load ptr, ptr @ccp_debugfs_dir, align 8, !tbaa !9 %19 = tail call ptr @debugfs_create_dir(ptr noundef %17, ptr noundef %18) #2 %20 = getelementptr inbounds %struct.ccp_device, ptr %0, i64 0, i32 3 store ptr %19, ptr %20, align 8, !tbaa !13 %21 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str, i32 noundef 256, ptr noundef %19, ptr noundef nonnull %0, ptr noundef nonnull @ccp_debugfs_info_ops) #2 %22 = load ptr, ptr %20, align 8, !tbaa !13 %23 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 384, ptr noundef %22, ptr noundef nonnull %0, ptr noundef nonnull @ccp_debugfs_stats_ops) #2 %24 = getelementptr inbounds %struct.ccp_device, ptr %0, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !14 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %45 27: ; preds = %15 %28 = getelementptr inbounds %struct.ccp_device, ptr %0, i64 0, i32 4 br label %29 29: ; preds = %27, %29 %30 = phi i64 [ 0, %27 ], [ %41, %29 ] %31 = load ptr, ptr %28, align 8, !tbaa !15 %32 = getelementptr inbounds %struct.ccp_device, ptr %31, i64 %30 %33 = load i32, ptr @MAX_NAME_LEN, align 4, !tbaa !5 %34 = add nsw i32 %33, -1 %35 = getelementptr inbounds %struct.ccp_cmd_queue, ptr %32, i64 0, i32 2 %36 = load i32, ptr %35, align 4, !tbaa !16 %37 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %34, ptr noundef nonnull @.str.2, i32 noundef %36) #2 %38 = load ptr, ptr %20, align 8, !tbaa !13 %39 = call ptr @debugfs_create_dir(ptr noundef nonnull %5, ptr noundef %38) #2 %40 = call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 384, ptr noundef %39, ptr noundef %32, ptr noundef nonnull @ccp_debugfs_queue_ops) #2 %41 = add nuw nsw i64 %30, 1 %42 = load i32, ptr %24, align 8, !tbaa !14 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %29, label %45, !llvm.loop !18 45: ; preds = %29, %15, %1 ret void } declare i32 @debugfs_initialized(...) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @debugfs_create_dir(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_create_file(ptr noundef, i32 noundef, ptr noundef, ptr noundef, 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, !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, !10, i64 0} !12 = !{!"ccp_device", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24} !13 = !{!12, !10, i64 16} !14 = !{!12, !6, i64 8} !15 = !{!12, !10, i64 24} !16 = !{!17, !6, i64 12} !17 = !{!"ccp_cmd_queue", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccp/extr_ccp-debugfs.c_ccp5_debugfs_setup.c' source_filename = "AnghaBench/linux/drivers/crypto/ccp/extr_ccp-debugfs.c_ccp5_debugfs_setup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ccp_device = type { ptr, i32, i32, ptr, ptr } @MAX_NAME_LEN = common local_unnamed_addr global i32 0, align 4 @ccp_debugfs_lock = common global i32 0, align 4 @ccp_debugfs_dir = common local_unnamed_addr global ptr null, align 8 @KBUILD_MODNAME = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [5 x i8] c"info\00", align 1 @ccp_debugfs_info_ops = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"stats\00", align 1 @ccp_debugfs_stats_ops = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c"q%d\00", align 1 @ccp_debugfs_queue_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ccp5_debugfs_setup(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @MAX_NAME_LEN, align 4, !tbaa !6 %3 = add nsw i32 %2, 1 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = tail call i32 @debugfs_initialized() #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %45, label %8 8: ; preds = %1 %9 = tail call i32 @mutex_lock(ptr noundef nonnull @ccp_debugfs_lock) #2 %10 = load ptr, ptr @ccp_debugfs_dir, align 8, !tbaa !10 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %8 %13 = load ptr, ptr @KBUILD_MODNAME, align 8, !tbaa !10 %14 = tail call ptr @debugfs_create_dir(ptr noundef %13, ptr noundef null) #2 store ptr %14, ptr @ccp_debugfs_dir, align 8, !tbaa !10 br label %15 15: ; preds = %12, %8 %16 = tail call i32 @mutex_unlock(ptr noundef nonnull @ccp_debugfs_lock) #2 %17 = load ptr, ptr %0, align 8, !tbaa !12 %18 = load ptr, ptr @ccp_debugfs_dir, align 8, !tbaa !10 %19 = tail call ptr @debugfs_create_dir(ptr noundef %17, ptr noundef %18) #2 %20 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %19, ptr %20, align 8, !tbaa !14 %21 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str, i32 noundef 256, ptr noundef %19, ptr noundef nonnull %0, ptr noundef nonnull @ccp_debugfs_info_ops) #2 %22 = load ptr, ptr %20, align 8, !tbaa !14 %23 = tail call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 384, ptr noundef %22, ptr noundef nonnull %0, ptr noundef nonnull @ccp_debugfs_stats_ops) #2 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !15 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %45 27: ; preds = %15 %28 = getelementptr inbounds i8, ptr %0, i64 24 br label %29 29: ; preds = %27, %29 %30 = phi i64 [ 0, %27 ], [ %41, %29 ] %31 = load ptr, ptr %28, align 8, !tbaa !16 %32 = getelementptr inbounds %struct.ccp_device, ptr %31, i64 %30 %33 = load i32, ptr @MAX_NAME_LEN, align 4, !tbaa !6 %34 = add nsw i32 %33, -1 %35 = getelementptr inbounds i8, ptr %32, i64 12 %36 = load i32, ptr %35, align 4, !tbaa !17 %37 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %34, ptr noundef nonnull @.str.2, i32 noundef %36) #2 %38 = load ptr, ptr %20, align 8, !tbaa !14 %39 = call ptr @debugfs_create_dir(ptr noundef nonnull %5, ptr noundef %38) #2 %40 = call i32 @debugfs_create_file(ptr noundef nonnull @.str.1, i32 noundef 384, ptr noundef %39, ptr noundef %32, ptr noundef nonnull @ccp_debugfs_queue_ops) #2 %41 = add nuw nsw i64 %30, 1 %42 = load i32, ptr %24, align 8, !tbaa !15 %43 = sext i32 %42 to i64 %44 = icmp slt i64 %41, %43 br i1 %44, label %29, label %45, !llvm.loop !19 45: ; preds = %29, %15, %1 ret void } declare i32 @debugfs_initialized(...) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @debugfs_create_dir(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @debugfs_create_file(ptr noundef, i32 noundef, ptr noundef, ptr noundef, 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, !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, !11, i64 0} !13 = !{!"ccp_device", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16, !11, i64 24} !14 = !{!13, !11, i64 16} !15 = !{!13, !7, i64 8} !16 = !{!13, !11, i64 24} !17 = !{!18, !7, i64 12} !18 = !{!"ccp_cmd_queue", !11, i64 0, !7, i64 8, !7, i64 12, !11, i64 16, !11, i64 24} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
linux_drivers_crypto_ccp_extr_ccp-debugfs.c_ccp5_debugfs_setup
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uslcom.c_uslcom_control_callback.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uslcom.c_uslcom_control_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_device_request = type { i32, i32, i32, i32, i32 } %struct.uslcom_softc = type { i32, i32, i32 } @USLCOM_MHS_CTS = dso_local local_unnamed_addr global i32 0, align 4 @SER_CTS = dso_local local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_DSR = dso_local local_unnamed_addr global i32 0, align 4 @SER_DSR = dso_local local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_RI = dso_local local_unnamed_addr global i32 0, align 4 @SER_RI = dso_local local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_DCD = dso_local local_unnamed_addr global i32 0, align 4 @SER_DCD = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"status change msr=0x%02x (was 0x%02x)\0A\00", align 1 @USLCOM_READ = dso_local local_unnamed_addr global i32 0, align 4 @USLCOM_GET_MDMSTS = dso_local local_unnamed_addr global i32 0, align 4 @USB_ERR_CANCELLED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"error=%s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uslcom_control_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uslcom_control_callback(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.usb_device_request, align 4 %4 = alloca i32, align 4 %5 = tail call ptr @usbd_xfer_softc(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @USB_GET_STATE(ptr noundef %0) #3 switch i32 %6, label %56 [ i32 128, label %7 i32 129, label %40 ] 7: ; preds = %2 %8 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 1) #3 %9 = call i32 @usbd_copy_out(ptr noundef %8, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4) #3 %10 = load i32, ptr %4, align 4, !tbaa !5 %11 = load i32, ptr @USLCOM_MHS_CTS, align 4, !tbaa !5 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @SER_CTS, align 4 %15 = select i1 %13, i32 0, i32 %14 %16 = load i32, ptr @USLCOM_MHS_DSR, align 4, !tbaa !5 %17 = and i32 %16, %10 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr @SER_DSR, align 4 %20 = select i1 %18, i32 0, i32 %19 %21 = or i32 %20, %15 %22 = load i32, ptr @USLCOM_MHS_RI, align 4, !tbaa !5 %23 = and i32 %22, %10 %24 = icmp eq i32 %23, 0 %25 = load i32, ptr @SER_RI, align 4 %26 = select i1 %24, i32 0, i32 %25 %27 = or i32 %21, %26 %28 = load i32, ptr @USLCOM_MHS_DCD, align 4, !tbaa !5 %29 = and i32 %28, %10 %30 = icmp eq i32 %29, 0 %31 = load i32, ptr @SER_DCD, align 4 %32 = select i1 %30, i32 0, i32 %31 %33 = or i32 %27, %32 %34 = load i32, ptr %5, align 4, !tbaa !9 %35 = icmp eq i32 %33, %34 br i1 %35, label %62, label %36 36: ; preds = %7 %37 = call i32 (ptr, i32, ...) @DPRINTF(ptr noundef nonnull @.str, i32 noundef %33, i32 noundef %34) #3 store i32 %33, ptr %5, align 4, !tbaa !9 %38 = getelementptr inbounds %struct.uslcom_softc, ptr %5, i64 0, i32 2 %39 = call i32 @ucom_status_change(ptr noundef nonnull %38) #3 br label %62 40: ; preds = %2 %41 = load i32, ptr @USLCOM_READ, align 4, !tbaa !5 %42 = getelementptr inbounds %struct.usb_device_request, ptr %3, i64 0, i32 4 store i32 %41, ptr %42, align 4, !tbaa !11 %43 = load i32, ptr @USLCOM_GET_MDMSTS, align 4, !tbaa !5 %44 = getelementptr inbounds %struct.usb_device_request, ptr %3, i64 0, i32 3 store i32 %43, ptr %44, align 4, !tbaa !13 %45 = tail call i32 @USETW(i32 noundef undef, i32 noundef 0) #3 %46 = getelementptr inbounds %struct.uslcom_softc, ptr %5, i64 0, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !14 %48 = tail call i32 @USETW(i32 noundef undef, i32 noundef %47) #3 %49 = tail call i32 @USETW(i32 noundef undef, i32 noundef 4) #3 %50 = tail call i32 @usbd_xfer_set_frames(ptr noundef %0, i32 noundef 2) #3 %51 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 0, i32 noundef 20) #3 %52 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 1, i32 noundef 4) #3 %53 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 0) #3 %54 = call i32 @usbd_copy_in(ptr noundef %53, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 20) #3 %55 = call i32 @usbd_transfer_submit(ptr noundef %0) #3 br label %62 56: ; preds = %2 %57 = load i32, ptr @USB_ERR_CANCELLED, align 4, !tbaa !5 %58 = icmp eq i32 %57, %1 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = tail call i32 @usbd_errstr(i32 noundef %1) #3 %61 = tail call i32 (ptr, i32, ...) @DPRINTF(ptr noundef nonnull @.str.1, i32 noundef %60) #3 br label %62 62: ; preds = %56, %59, %7, %36, %40 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #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 @usbd_xfer_softc(ptr noundef) local_unnamed_addr #2 declare i32 @USB_GET_STATE(ptr noundef) local_unnamed_addr #2 declare ptr @usbd_xfer_get_frame(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_copy_out(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DPRINTF(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @ucom_status_change(ptr noundef) local_unnamed_addr #2 declare i32 @USETW(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_xfer_set_frames(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_xfer_set_frame_len(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_copy_in(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_transfer_submit(ptr noundef) local_unnamed_addr #2 declare i32 @usbd_errstr(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 = !{!"uslcom_softc", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!12, !6, i64 16} !12 = !{!"usb_device_request", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16} !13 = !{!12, !6, i64 12} !14 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/serial/extr_uslcom.c_uslcom_control_callback.c' source_filename = "AnghaBench/freebsd/sys/dev/usb/serial/extr_uslcom.c_uslcom_control_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.usb_device_request = type { i32, i32, i32, i32, i32 } @USLCOM_MHS_CTS = common local_unnamed_addr global i32 0, align 4 @SER_CTS = common local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_DSR = common local_unnamed_addr global i32 0, align 4 @SER_DSR = common local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_RI = common local_unnamed_addr global i32 0, align 4 @SER_RI = common local_unnamed_addr global i32 0, align 4 @USLCOM_MHS_DCD = common local_unnamed_addr global i32 0, align 4 @SER_DCD = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"status change msr=0x%02x (was 0x%02x)\0A\00", align 1 @USLCOM_READ = common local_unnamed_addr global i32 0, align 4 @USLCOM_GET_MDMSTS = common local_unnamed_addr global i32 0, align 4 @USB_ERR_CANCELLED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"error=%s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uslcom_control_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uslcom_control_callback(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.usb_device_request, align 4 %4 = alloca i32, align 4 %5 = tail call ptr @usbd_xfer_softc(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = tail call i32 @USB_GET_STATE(ptr noundef %0) #3 switch i32 %6, label %56 [ i32 128, label %7 i32 129, label %40 ] 7: ; preds = %2 %8 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 1) #3 %9 = call i32 @usbd_copy_out(ptr noundef %8, i32 noundef 0, ptr noundef nonnull %4, i32 noundef 4) #3 %10 = load i32, ptr %4, align 4, !tbaa !6 %11 = load i32, ptr @USLCOM_MHS_CTS, align 4, !tbaa !6 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @SER_CTS, align 4 %15 = select i1 %13, i32 0, i32 %14 %16 = load i32, ptr @USLCOM_MHS_DSR, align 4, !tbaa !6 %17 = and i32 %16, %10 %18 = icmp eq i32 %17, 0 %19 = load i32, ptr @SER_DSR, align 4 %20 = select i1 %18, i32 0, i32 %19 %21 = or i32 %20, %15 %22 = load i32, ptr @USLCOM_MHS_RI, align 4, !tbaa !6 %23 = and i32 %22, %10 %24 = icmp eq i32 %23, 0 %25 = load i32, ptr @SER_RI, align 4 %26 = select i1 %24, i32 0, i32 %25 %27 = or i32 %21, %26 %28 = load i32, ptr @USLCOM_MHS_DCD, align 4, !tbaa !6 %29 = and i32 %28, %10 %30 = icmp eq i32 %29, 0 %31 = load i32, ptr @SER_DCD, align 4 %32 = select i1 %30, i32 0, i32 %31 %33 = or i32 %27, %32 %34 = load i32, ptr %5, align 4, !tbaa !10 %35 = icmp eq i32 %33, %34 br i1 %35, label %62, label %36 36: ; preds = %7 %37 = call i32 (ptr, i32, ...) @DPRINTF(ptr noundef nonnull @.str, i32 noundef %33, i32 noundef %34) #3 store i32 %33, ptr %5, align 4, !tbaa !10 %38 = getelementptr inbounds i8, ptr %5, i64 8 %39 = call i32 @ucom_status_change(ptr noundef nonnull %38) #3 br label %62 40: ; preds = %2 %41 = load i32, ptr @USLCOM_READ, align 4, !tbaa !6 %42 = getelementptr inbounds i8, ptr %3, i64 16 store i32 %41, ptr %42, align 4, !tbaa !12 %43 = load i32, ptr @USLCOM_GET_MDMSTS, align 4, !tbaa !6 %44 = getelementptr inbounds i8, ptr %3, i64 12 store i32 %43, ptr %44, align 4, !tbaa !14 %45 = tail call i32 @USETW(i32 noundef undef, i32 noundef 0) #3 %46 = getelementptr inbounds i8, ptr %5, i64 4 %47 = load i32, ptr %46, align 4, !tbaa !15 %48 = tail call i32 @USETW(i32 noundef undef, i32 noundef %47) #3 %49 = tail call i32 @USETW(i32 noundef undef, i32 noundef 4) #3 %50 = tail call i32 @usbd_xfer_set_frames(ptr noundef %0, i32 noundef 2) #3 %51 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 0, i32 noundef 20) #3 %52 = tail call i32 @usbd_xfer_set_frame_len(ptr noundef %0, i32 noundef 1, i32 noundef 4) #3 %53 = tail call ptr @usbd_xfer_get_frame(ptr noundef %0, i32 noundef 0) #3 %54 = call i32 @usbd_copy_in(ptr noundef %53, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 20) #3 %55 = call i32 @usbd_transfer_submit(ptr noundef %0) #3 br label %62 56: ; preds = %2 %57 = load i32, ptr @USB_ERR_CANCELLED, align 4, !tbaa !6 %58 = icmp eq i32 %57, %1 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = tail call i32 @usbd_errstr(i32 noundef %1) #3 %61 = tail call i32 (ptr, i32, ...) @DPRINTF(ptr noundef nonnull @.str.1, i32 noundef %60) #3 br label %62 62: ; preds = %56, %59, %7, %36, %40 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %3) #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 @usbd_xfer_softc(ptr noundef) local_unnamed_addr #2 declare i32 @USB_GET_STATE(ptr noundef) local_unnamed_addr #2 declare ptr @usbd_xfer_get_frame(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_copy_out(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @DPRINTF(ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @ucom_status_change(ptr noundef) local_unnamed_addr #2 declare i32 @USETW(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_xfer_set_frames(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_xfer_set_frame_len(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_copy_in(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbd_transfer_submit(ptr noundef) local_unnamed_addr #2 declare i32 @usbd_errstr(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 = !{!"uslcom_softc", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!13, !7, i64 16} !13 = !{!"usb_device_request", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !14 = !{!13, !7, i64 12} !15 = !{!11, !7, i64 4}
freebsd_sys_dev_usb_serial_extr_uslcom.c_uslcom_control_callback
; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-job.c_bus_job_track_handler.c' source_filename = "AnghaBench/systemd/src/core/extr_dbus-job.c_bus_job_track_handler.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bus_job_track_handler], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bus_job_track_handler(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = tail call i32 @sd_bus_track_unref(i32 noundef %5) #2 store i32 %6, ptr %1, align 4, !tbaa !5 %7 = tail call i32 @job_add_to_gc_queue(ptr noundef nonnull %1) #2 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_bus_track_unref(i32 noundef) local_unnamed_addr #1 declare i32 @job_add_to_gc_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-job.c_bus_job_track_handler.c' source_filename = "AnghaBench/systemd/src/core/extr_dbus-job.c_bus_job_track_handler.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 @bus_job_track_handler], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @bus_job_track_handler(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @assert(ptr noundef %0) #2 %4 = tail call i32 @assert(ptr noundef %1) #2 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = tail call i32 @sd_bus_track_unref(i32 noundef %5) #2 store i32 %6, ptr %1, align 4, !tbaa !6 %7 = tail call i32 @job_add_to_gc_queue(ptr noundef nonnull %1) #2 ret i32 0 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_bus_track_unref(i32 noundef) local_unnamed_addr #1 declare i32 @job_add_to_gc_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
systemd_src_core_extr_dbus-job.c_bus_job_track_handler
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_nf_conntrack_reasm.c_nf_ct_frag6_init.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_nf_conntrack_reasm.c_nf_ct_frag6_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, ptr, i32 } @ip6frag_init = dso_local local_unnamed_addr global i32 0, align 4 @nf_frags = dso_local global %struct.TYPE_4__ zeroinitializer, align 8 @nf_ct_frag6_expire = dso_local local_unnamed_addr global i32 0, align 4 @nf_frags_cache_name = dso_local local_unnamed_addr global i32 0, align 4 @nfct_rhash_params = dso_local local_unnamed_addr global i32 0, align 4 @nf_ct_net_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nf_ct_frag6_init() local_unnamed_addr #0 { %1 = load i32, ptr @ip6frag_init, align 4, !tbaa !5 store i32 %1, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @nf_frags, i64 0, i32 5), align 8, !tbaa !9 store ptr null, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @nf_frags, i64 0, i32 4), align 8, !tbaa !12 store i32 4, ptr @nf_frags, align 8, !tbaa !13 %2 = load i32, ptr @nf_ct_frag6_expire, align 4, !tbaa !5 store i32 %2, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @nf_frags, i64 0, i32 3), align 4, !tbaa !14 %3 = load i32, ptr @nf_frags_cache_name, align 4, !tbaa !5 store i32 %3, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @nf_frags, i64 0, i32 2), align 8, !tbaa !15 %4 = load i32, ptr @nfct_rhash_params, align 4, !tbaa !5 store i32 %4, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @nf_frags, i64 0, i32 1), align 4, !tbaa !16 %5 = tail call i32 @inet_frags_init(ptr noundef nonnull @nf_frags) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = tail call i32 @register_pernet_subsys(ptr noundef nonnull @nf_ct_net_ops) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @inet_frags_fini(ptr noundef nonnull @nf_frags) #2 br label %12 12: ; preds = %7, %10, %0 %13 = phi i32 [ %5, %0 ], [ %8, %10 ], [ 0, %7 ] ret i32 %13 } declare i32 @inet_frags_init(ptr noundef) local_unnamed_addr #1 declare i32 @register_pernet_subsys(ptr noundef) local_unnamed_addr #1 declare i32 @inet_frags_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 24} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !6, i64 0} !14 = !{!10, !6, i64 12} !15 = !{!10, !6, i64 8} !16 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/net/ipv6/netfilter/extr_nf_conntrack_reasm.c_nf_ct_frag6_init.c' source_filename = "AnghaBench/linux/net/ipv6/netfilter/extr_nf_conntrack_reasm.c_nf_ct_frag6_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32, i32, i32, ptr, i32 } @ip6frag_init = common local_unnamed_addr global i32 0, align 4 @nf_frags = common global %struct.TYPE_4__ zeroinitializer, align 8 @nf_ct_frag6_expire = common local_unnamed_addr global i32 0, align 4 @nf_frags_cache_name = common local_unnamed_addr global i32 0, align 4 @nfct_rhash_params = common local_unnamed_addr global i32 0, align 4 @nf_ct_net_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @nf_ct_frag6_init() local_unnamed_addr #0 { %1 = load i32, ptr @ip6frag_init, align 4, !tbaa !6 store i32 %1, ptr getelementptr inbounds (i8, ptr @nf_frags, i64 24), align 8, !tbaa !10 store ptr null, ptr getelementptr inbounds (i8, ptr @nf_frags, i64 16), align 8, !tbaa !13 store i32 4, ptr @nf_frags, align 8, !tbaa !14 %2 = load i32, ptr @nf_ct_frag6_expire, align 4, !tbaa !6 store i32 %2, ptr getelementptr inbounds (i8, ptr @nf_frags, i64 12), align 4, !tbaa !15 %3 = load i32, ptr @nf_frags_cache_name, align 4, !tbaa !6 store i32 %3, ptr getelementptr inbounds (i8, ptr @nf_frags, i64 8), align 8, !tbaa !16 %4 = load i32, ptr @nfct_rhash_params, align 4, !tbaa !6 store i32 %4, ptr getelementptr inbounds (i8, ptr @nf_frags, i64 4), align 4, !tbaa !17 %5 = tail call i32 @inet_frags_init(ptr noundef nonnull @nf_frags) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = tail call i32 @register_pernet_subsys(ptr noundef nonnull @nf_ct_net_ops) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %7 %11 = tail call i32 @inet_frags_fini(ptr noundef nonnull @nf_frags) #2 br label %12 12: ; preds = %7, %10, %0 %13 = phi i32 [ %5, %0 ], [ %8, %10 ], [ 0, %7 ] ret i32 %13 } declare i32 @inet_frags_init(ptr noundef) local_unnamed_addr #1 declare i32 @register_pernet_subsys(ptr noundef) local_unnamed_addr #1 declare i32 @inet_frags_fini(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 24} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !7, i64 0} !15 = !{!11, !7, i64 12} !16 = !{!11, !7, i64 8} !17 = !{!11, !7, i64 4}
linux_net_ipv6_netfilter_extr_nf_conntrack_reasm.c_nf_ct_frag6_init
; ModuleID = 'AnghaBench/linux/arch/sparc/mm/extr_srmmu.c_alloc_context.c' source_filename = "AnghaBench/linux/arch/sparc/mm/extr_srmmu.c_alloc_context.c" target datalayout = "e-m:e-p270:32:32-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.ctx_list = type { i32, ptr, ptr } @ctx_free = dso_local global %struct.ctx_list zeroinitializer, align 8 @ctx_used = dso_local global %struct.ctx_list zeroinitializer, align 8 @.str = private unnamed_addr constant [20 x i8] c"out of mmu contexts\00", align 1 @NO_CONTEXT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @alloc_context], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @alloc_context(ptr noundef readnone %0, ptr noundef %1) #0 { %3 = load ptr, ptr getelementptr inbounds (%struct.ctx_list, ptr @ctx_free, i64 0, i32 2), align 8, !tbaa !5 %4 = icmp eq ptr %3, @ctx_free br i1 %4, label %10, label %5 5: ; preds = %2 %6 = tail call i32 @remove_from_ctx_list(ptr noundef %3) #2 %7 = tail call i32 @add_to_used_ctxlist(ptr noundef %3) #2 %8 = load i32, ptr %3, align 8, !tbaa !11 store i32 %8, ptr %1, align 4, !tbaa !12 %9 = getelementptr inbounds %struct.ctx_list, ptr %3, i64 0, i32 1 store ptr %1, ptr %9, align 8, !tbaa !14 br label %34 10: ; preds = %2 %11 = load ptr, ptr getelementptr inbounds (%struct.ctx_list, ptr @ctx_used, i64 0, i32 2), align 8, !tbaa !5 %12 = getelementptr inbounds %struct.ctx_list, ptr %11, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = icmp eq ptr %13, %0 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = getelementptr inbounds %struct.ctx_list, ptr %11, i64 0, i32 2 %17 = load ptr, ptr %16, align 8, !tbaa !5 br label %18 18: ; preds = %15, %10 %19 = phi ptr [ %17, %15 ], [ %11, %10 ] %20 = icmp eq ptr %19, @ctx_used br i1 %20, label %21, label %23 21: ; preds = %18 %22 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %23 23: ; preds = %21, %18 %24 = getelementptr inbounds %struct.ctx_list, ptr %19, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = tail call i32 @flush_cache_mm(ptr noundef %25) #2 %27 = load ptr, ptr %24, align 8, !tbaa !14 %28 = tail call i32 @flush_tlb_mm(ptr noundef %27) #2 %29 = tail call i32 @remove_from_ctx_list(ptr noundef %19) #2 %30 = tail call i32 @add_to_used_ctxlist(ptr noundef %19) #2 %31 = load i32, ptr @NO_CONTEXT, align 4, !tbaa !15 %32 = load ptr, ptr %24, align 8, !tbaa !14 store i32 %31, ptr %32, align 4, !tbaa !12 store ptr %1, ptr %24, align 8, !tbaa !14 %33 = load i32, ptr %19, align 8, !tbaa !11 store i32 %33, ptr %1, align 4, !tbaa !12 br label %34 34: ; preds = %23, %5 ret void } declare i32 @remove_from_ctx_list(ptr noundef) local_unnamed_addr #1 declare i32 @add_to_used_ctxlist(ptr noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare i32 @flush_cache_mm(ptr noundef) local_unnamed_addr #1 declare i32 @flush_tlb_mm(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"ctx_list", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"mm_struct", !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/sparc/mm/extr_srmmu.c_alloc_context.c' source_filename = "AnghaBench/linux/arch/sparc/mm/extr_srmmu.c_alloc_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ctx_list = type { i32, ptr, ptr } @ctx_free = common global %struct.ctx_list zeroinitializer, align 8 @ctx_used = common global %struct.ctx_list zeroinitializer, align 8 @.str = private unnamed_addr constant [20 x i8] c"out of mmu contexts\00", align 1 @NO_CONTEXT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @alloc_context], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @alloc_context(ptr noundef readnone %0, ptr noundef %1) #0 { %3 = load ptr, ptr getelementptr inbounds (i8, ptr @ctx_free, i64 16), align 8, !tbaa !6 %4 = icmp eq ptr %3, @ctx_free br i1 %4, label %10, label %5 5: ; preds = %2 %6 = tail call i32 @remove_from_ctx_list(ptr noundef %3) #2 %7 = tail call i32 @add_to_used_ctxlist(ptr noundef %3) #2 %8 = load i32, ptr %3, align 8, !tbaa !12 store i32 %8, ptr %1, align 4, !tbaa !13 %9 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %1, ptr %9, align 8, !tbaa !15 br label %34 10: ; preds = %2 %11 = load ptr, ptr getelementptr inbounds (i8, ptr @ctx_used, i64 16), align 8, !tbaa !6 %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = icmp eq ptr %13, %0 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = getelementptr inbounds i8, ptr %11, i64 16 %17 = load ptr, ptr %16, align 8, !tbaa !6 br label %18 18: ; preds = %15, %10 %19 = phi ptr [ %17, %15 ], [ %11, %10 ] %20 = icmp eq ptr %19, @ctx_used br i1 %20, label %21, label %23 21: ; preds = %18 %22 = tail call i32 @panic(ptr noundef nonnull @.str) #2 br label %23 23: ; preds = %21, %18 %24 = getelementptr inbounds i8, ptr %19, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = tail call i32 @flush_cache_mm(ptr noundef %25) #2 %27 = load ptr, ptr %24, align 8, !tbaa !15 %28 = tail call i32 @flush_tlb_mm(ptr noundef %27) #2 %29 = tail call i32 @remove_from_ctx_list(ptr noundef %19) #2 %30 = tail call i32 @add_to_used_ctxlist(ptr noundef %19) #2 %31 = load i32, ptr @NO_CONTEXT, align 4, !tbaa !16 %32 = load ptr, ptr %24, align 8, !tbaa !15 store i32 %31, ptr %32, align 4, !tbaa !13 store ptr %1, ptr %24, align 8, !tbaa !15 %33 = load i32, ptr %19, align 8, !tbaa !12 store i32 %33, ptr %1, align 4, !tbaa !13 br label %34 34: ; preds = %23, %5 ret void } declare i32 @remove_from_ctx_list(ptr noundef) local_unnamed_addr #1 declare i32 @add_to_used_ctxlist(ptr noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 declare i32 @flush_cache_mm(ptr noundef) local_unnamed_addr #1 declare i32 @flush_tlb_mm(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"ctx_list", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"mm_struct", !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!8, !8, i64 0}
linux_arch_sparc_mm_extr_srmmu.c_alloc_context
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_count_dos_name_entries.c' source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_count_dos_name_entries.c" target datalayout = "e-m:e-p270:32:32-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.chain_t = type { i64, i64, i32 } %struct.fs_info_t = type { i32, i32, ptr, i64 } @TYPE_UNUSED = dso_local local_unnamed_addr global i64 0, align 8 @TYPE_CRITICAL_PRI = dso_local local_unnamed_addr global i64 0, align 8 @TYPE_BENIGN_PRI = dso_local local_unnamed_addr global i64 0, align 8 @TYPE_ALL = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @count_dos_name_entries(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.chain_t, align 16 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = tail call ptr @EXFAT_SB(ptr noundef %0) #3 %6 = load i64, ptr %1, align 8, !tbaa !5 %7 = tail call i64 @CLUSTER_32(i32 noundef 0) #3 %8 = icmp eq i64 %6, %7 %9 = getelementptr inbounds %struct.fs_info_t, ptr %5, i64 0, i32 1 %10 = select i1 %8, ptr %5, ptr %9 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = getelementptr inbounds %struct.chain_t, ptr %4, i64 0, i32 1 %13 = load <2 x i64>, ptr %1, align 8, !tbaa !12 store <2 x i64> %13, ptr %4, align 16, !tbaa !12 %14 = getelementptr inbounds %struct.chain_t, ptr %1, i64 0, i32 2 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = getelementptr inbounds %struct.chain_t, ptr %4, i64 0, i32 2 store i32 %15, ptr %16, align 16, !tbaa !13 %17 = tail call i64 @CLUSTER_32(i32 noundef -1) #3 %18 = extractelement <2 x i64> %13, i64 0 %19 = icmp eq i64 %18, %17 br i1 %19, label %86, label %20 20: ; preds = %3 %21 = getelementptr inbounds %struct.fs_info_t, ptr %5, i64 0, i32 3 %22 = icmp sgt i32 %11, 0 %23 = getelementptr inbounds %struct.fs_info_t, ptr %5, i64 0, i32 2 br label %24 24: ; preds = %20, %82 %25 = phi i32 [ 0, %20 ], [ %60, %82 ] %26 = load i64, ptr %21, align 8, !tbaa !14 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %86 28: ; preds = %24 br i1 %22, label %29, label %59 29: ; preds = %28, %55 %30 = phi i32 [ %57, %55 ], [ 0, %28 ] %31 = phi i32 [ %56, %55 ], [ %25, %28 ] %32 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %30, ptr noundef null) #3 %33 = icmp eq ptr %32, null br i1 %33, label %86, label %34 34: ; preds = %29 %35 = load ptr, ptr %23, align 8, !tbaa !17 %36 = load ptr, ptr %35, align 8, !tbaa !18 %37 = call i64 %36(ptr noundef nonnull %32) #3 %38 = load i64, ptr @TYPE_UNUSED, align 8, !tbaa !12 %39 = icmp eq i64 %37, %38 br i1 %39, label %86, label %40 40: ; preds = %34 %41 = load i64, ptr @TYPE_CRITICAL_PRI, align 8, !tbaa !12 %42 = and i64 %41, %2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load i64, ptr @TYPE_BENIGN_PRI, align 8, !tbaa !12 %46 = and i64 %45, %2 %47 = icmp eq i64 %46, 0 br i1 %47, label %55, label %48 48: ; preds = %44, %40 %49 = load i64, ptr @TYPE_ALL, align 8, !tbaa !12 %50 = icmp eq i64 %49, %2 %51 = icmp eq i64 %37, %2 %52 = or i1 %51, %50 %53 = zext i1 %52 to i32 %54 = add nsw i32 %31, %53 br label %55 55: ; preds = %48, %44 %56 = phi i32 [ %31, %44 ], [ %54, %48 ] %57 = add nuw nsw i32 %30, 1 %58 = icmp eq i32 %57, %11 br i1 %58, label %59, label %29, !llvm.loop !20 59: ; preds = %55, %28 %60 = phi i32 [ %25, %28 ], [ %56, %55 ] %61 = load i64, ptr %1, align 8, !tbaa !5 %62 = call i64 @CLUSTER_32(i32 noundef 0) #3 %63 = icmp eq i64 %61, %62 br i1 %63, label %86, label %64 64: ; preds = %59 %65 = load i32, ptr %16, align 16, !tbaa !13 %66 = icmp eq i32 %65, 3 br i1 %66, label %67, label %76 67: ; preds = %64 %68 = load i64, ptr %12, align 8, !tbaa !22 %69 = add nsw i64 %68, -1 store i64 %69, ptr %12, align 8, !tbaa !22 %70 = icmp sgt i64 %68, 1 br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load i64, ptr %4, align 16, !tbaa !5 %73 = add nsw i64 %72, 1 store i64 %73, ptr %4, align 16, !tbaa !5 br label %82 74: ; preds = %67 %75 = call i64 @CLUSTER_32(i32 noundef -1) #3 store i64 %75, ptr %4, align 16, !tbaa !5 br label %82 76: ; preds = %64 %77 = load i64, ptr %4, align 16, !tbaa !5 %78 = call i64 @FAT_read(ptr noundef %0, i64 noundef %77, ptr noundef nonnull %4) #3 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %86 80: ; preds = %76 %81 = load i64, ptr %4, align 16, !tbaa !5 br label %82 82: ; preds = %80, %71, %74 %83 = phi i64 [ %81, %80 ], [ %73, %71 ], [ %75, %74 ] %84 = call i64 @CLUSTER_32(i32 noundef -1) #3 %85 = icmp eq i64 %83, %84 br i1 %85, label %86, label %24, !llvm.loop !23 86: ; preds = %76, %59, %24, %82, %34, %29, %3 %87 = phi i32 [ 0, %3 ], [ %31, %34 ], [ -1, %29 ], [ -1, %76 ], [ %60, %59 ], [ %25, %24 ], [ %60, %82 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %87 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @EXFAT_SB(ptr noundef) local_unnamed_addr #2 declare i64 @CLUSTER_32(i32 noundef) local_unnamed_addr #2 declare ptr @get_entry_in_dir(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAT_read(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"chain_t", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 16} !14 = !{!15, !7, i64 16} !15 = !{!"fs_info_t", !10, i64 0, !10, i64 4, !16, i64 8, !7, i64 16} !16 = !{!"any pointer", !8, i64 0} !17 = !{!15, !16, i64 8} !18 = !{!19, !16, i64 0} !19 = !{!"TYPE_3__", !16, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !7, i64 8} !23 = distinct !{!23, !21}
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_count_dos_name_entries.c' source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_core.c_count_dos_name_entries.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.chain_t = type { i64, i64, i32 } @TYPE_UNUSED = common local_unnamed_addr global i64 0, align 8 @TYPE_CRITICAL_PRI = common local_unnamed_addr global i64 0, align 8 @TYPE_BENIGN_PRI = common local_unnamed_addr global i64 0, align 8 @TYPE_ALL = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @count_dos_name_entries(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.chain_t, align 16 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = tail call ptr @EXFAT_SB(ptr noundef %0) #3 %6 = load i64, ptr %1, align 8, !tbaa !6 %7 = tail call i64 @CLUSTER_32(i32 noundef 0) #3 %8 = icmp eq i64 %6, %7 %9 = select i1 %8, i64 0, i64 4 %10 = getelementptr inbounds i8, ptr %5, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = getelementptr inbounds i8, ptr %4, i64 8 %13 = load <2 x i64>, ptr %1, align 8, !tbaa !13 store <2 x i64> %13, ptr %4, align 16, !tbaa !13 %14 = getelementptr inbounds i8, ptr %1, i64 16 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %15, ptr %16, align 16, !tbaa !14 %17 = tail call i64 @CLUSTER_32(i32 noundef -1) #3 %18 = extractelement <2 x i64> %13, i64 0 %19 = icmp eq i64 %18, %17 br i1 %19, label %86, label %20 20: ; preds = %3 %21 = getelementptr inbounds i8, ptr %5, i64 16 %22 = icmp sgt i32 %11, 0 %23 = getelementptr inbounds i8, ptr %5, i64 8 br label %24 24: ; preds = %20, %82 %25 = phi i32 [ 0, %20 ], [ %60, %82 ] %26 = load i64, ptr %21, align 8, !tbaa !15 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %86 28: ; preds = %24 br i1 %22, label %29, label %59 29: ; preds = %28, %55 %30 = phi i32 [ %57, %55 ], [ 0, %28 ] %31 = phi i32 [ %56, %55 ], [ %25, %28 ] %32 = call ptr @get_entry_in_dir(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %30, ptr noundef null) #3 %33 = icmp eq ptr %32, null br i1 %33, label %86, label %34 34: ; preds = %29 %35 = load ptr, ptr %23, align 8, !tbaa !18 %36 = load ptr, ptr %35, align 8, !tbaa !19 %37 = call i64 %36(ptr noundef nonnull %32) #3 %38 = load i64, ptr @TYPE_UNUSED, align 8, !tbaa !13 %39 = icmp eq i64 %37, %38 br i1 %39, label %86, label %40 40: ; preds = %34 %41 = load i64, ptr @TYPE_CRITICAL_PRI, align 8, !tbaa !13 %42 = and i64 %41, %2 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load i64, ptr @TYPE_BENIGN_PRI, align 8, !tbaa !13 %46 = and i64 %45, %2 %47 = icmp eq i64 %46, 0 br i1 %47, label %55, label %48 48: ; preds = %44, %40 %49 = load i64, ptr @TYPE_ALL, align 8, !tbaa !13 %50 = icmp eq i64 %49, %2 %51 = icmp eq i64 %37, %2 %52 = or i1 %51, %50 %53 = zext i1 %52 to i32 %54 = add nsw i32 %31, %53 br label %55 55: ; preds = %48, %44 %56 = phi i32 [ %31, %44 ], [ %54, %48 ] %57 = add nuw nsw i32 %30, 1 %58 = icmp eq i32 %57, %11 br i1 %58, label %59, label %29, !llvm.loop !21 59: ; preds = %55, %28 %60 = phi i32 [ %25, %28 ], [ %56, %55 ] %61 = load i64, ptr %1, align 8, !tbaa !6 %62 = call i64 @CLUSTER_32(i32 noundef 0) #3 %63 = icmp eq i64 %61, %62 br i1 %63, label %86, label %64 64: ; preds = %59 %65 = load i32, ptr %16, align 16, !tbaa !14 %66 = icmp eq i32 %65, 3 br i1 %66, label %67, label %76 67: ; preds = %64 %68 = load i64, ptr %12, align 8, !tbaa !23 %69 = add nsw i64 %68, -1 store i64 %69, ptr %12, align 8, !tbaa !23 %70 = icmp sgt i64 %68, 1 br i1 %70, label %71, label %74 71: ; preds = %67 %72 = load i64, ptr %4, align 16, !tbaa !6 %73 = add nsw i64 %72, 1 store i64 %73, ptr %4, align 16, !tbaa !6 br label %82 74: ; preds = %67 %75 = call i64 @CLUSTER_32(i32 noundef -1) #3 store i64 %75, ptr %4, align 16, !tbaa !6 br label %82 76: ; preds = %64 %77 = load i64, ptr %4, align 16, !tbaa !6 %78 = call i64 @FAT_read(ptr noundef %0, i64 noundef %77, ptr noundef nonnull %4) #3 %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %86 80: ; preds = %76 %81 = load i64, ptr %4, align 16, !tbaa !6 br label %82 82: ; preds = %80, %71, %74 %83 = phi i64 [ %81, %80 ], [ %73, %71 ], [ %75, %74 ] %84 = call i64 @CLUSTER_32(i32 noundef -1) #3 %85 = icmp eq i64 %83, %84 br i1 %85, label %86, label %24, !llvm.loop !24 86: ; preds = %76, %59, %24, %82, %34, %29, %3 %87 = phi i32 [ 0, %3 ], [ %31, %34 ], [ -1, %29 ], [ -1, %76 ], [ %60, %59 ], [ %25, %24 ], [ %60, %82 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %87 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @EXFAT_SB(ptr noundef) local_unnamed_addr #2 declare i64 @CLUSTER_32(i32 noundef) local_unnamed_addr #2 declare ptr @get_entry_in_dir(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @FAT_read(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"chain_t", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 16} !15 = !{!16, !8, i64 16} !16 = !{!"fs_info_t", !11, i64 0, !11, i64 4, !17, i64 8, !8, i64 16} !17 = !{!"any pointer", !9, i64 0} !18 = !{!16, !17, i64 8} !19 = !{!20, !17, i64 0} !20 = !{!"TYPE_3__", !17, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !8, i64 8} !24 = distinct !{!24, !22}
linux_drivers_staging_exfat_extr_exfat_core.c_count_dos_name_entries
; ModuleID = 'AnghaBench/linux/arch/sparc/prom/extr_tree_32.c_prom_getstring.c' source_filename = "AnghaBench/linux/arch/sparc/prom/extr_tree_32.c_prom_getstring.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @prom_getstring(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @prom_getproperty(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %4 store i8 0, ptr %2, align 1, !tbaa !5 br label %8 8: ; preds = %4, %7 ret void } declare i32 @prom_getproperty(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/sparc/prom/extr_tree_32.c_prom_getstring.c' source_filename = "AnghaBench/linux/arch/sparc/prom/extr_tree_32.c_prom_getstring.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 @prom_getstring(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @prom_getproperty(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %4 store i8 0, ptr %2, align 1, !tbaa !6 br label %8 8: ; preds = %4, %7 ret void } declare i32 @prom_getproperty(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
linux_arch_sparc_prom_extr_tree_32.c_prom_getstring
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_mmconf-fam10h_64.c_get_fam10h_pci_mmconf_base.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_mmconf-fam10h_64.c_get_fam10h_pci_mmconf_base.c" target datalayout = "e-m:e-p270:32:32-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.range = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32, i32, i32 } @FAM10H_PCI_MMCONF_BASE = dso_local local_unnamed_addr global i32 0, align 4 @fam10h_pci_mmconf_base = dso_local local_unnamed_addr global i32 0, align 4 @pci_probes = dso_local local_unnamed_addr global ptr null, align 8 @PCI_VENDOR_ID = dso_local local_unnamed_addr global i32 0, align 4 @MSR_K8_SYSCFG = dso_local local_unnamed_addr global i32 0, align 4 @MSR_K8_TOP_MEM2 = dso_local local_unnamed_addr global i32 0, align 4 @MMCONF_UNIT = dso_local local_unnamed_addr global i32 0, align 4 @MMCONF_MASK = dso_local local_unnamed_addr global i32 0, align 4 @cmp_range = dso_local local_unnamed_addr global i32 0, align 4 @MMCONF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_fam10h_pci_mmconf_base], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @get_fam10h_pci_mmconf_base() #0 { %1 = alloca [8 x %struct.range], align 16 %2 = load i32, ptr @FAM10H_PCI_MMCONF_BASE, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #3 %3 = load i32, ptr @fam10h_pci_mmconf_base, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %145 5: ; preds = %0 %6 = tail call i32 (...) @early_pci_allowed() #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %145, label %8 8: ; preds = %5 %9 = load ptr, ptr @pci_probes, align 8, !tbaa !9 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %145 12: ; preds = %8, %31 %13 = phi i64 [ %32, %31 ], [ 0, %8 ] %14 = load ptr, ptr @pci_probes, align 8, !tbaa !9 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 %13, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = load i32, ptr @PCI_VENDOR_ID, align 4, !tbaa !5 %20 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 0, i32 noundef %19) #3 %21 = and i32 %20, 65535 %22 = load ptr, ptr @pci_probes, align 8, !tbaa !9 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %13, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = icmp eq i32 %24, %21 br i1 %25, label %26, label %31 26: ; preds = %12 %27 = lshr i32 %20, 16 %28 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %13, i32 3 %29 = load i32, ptr %28, align 4, !tbaa !15 %30 = icmp eq i32 %29, %27 br i1 %30, label %36, label %31 31: ; preds = %12, %26 %32 = add nuw nsw i64 %13, 1 %33 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %22) #3 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %32, %34 br i1 %35, label %12, label %145, !llvm.loop !16 36: ; preds = %26 %37 = load i32, ptr @MSR_K8_SYSCFG, align 4, !tbaa !5 %38 = tail call i32 @rdmsrl(i32 noundef %37, i32 noundef undef) #3 %39 = icmp slt i32 %2, 1 br i1 %39, label %40, label %46 40: ; preds = %36 %41 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !5 %42 = shl nsw i32 %41, 1 %43 = add nsw i32 %42, -1 %44 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !5 %45 = and i32 %43, %44 br label %46 46: ; preds = %40, %36 %47 = phi i32 [ %45, %40 ], [ %2, %36 ] br label %48 48: ; preds = %46, %69 %49 = phi i32 [ 0, %46 ], [ %71, %69 ] %50 = phi i32 [ 0, %46 ], [ %70, %69 ] %51 = shl nuw nsw i32 %49, 3 %52 = or disjoint i32 %51, 128 %53 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 1, i32 noundef %52) #3 %54 = and i32 %53, 3 %55 = icmp eq i32 %54, 0 br i1 %55, label %69, label %56 56: ; preds = %48 %57 = or disjoint i32 %51, 132 %58 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 1, i32 noundef %57) #3 %59 = shl i32 %58, 8 %60 = icmp slt i32 %59, 0 br i1 %60, label %69, label %61 61: ; preds = %56 %62 = or i32 %59, 65535 %63 = shl i32 %53, 8 %64 = and i32 %63, -65536 %65 = sext i32 %50 to i64 %66 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %65 store i32 %64, ptr %66, align 8, !tbaa !18 %67 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %65, i32 1 store i32 %62, ptr %67, align 4, !tbaa !20 %68 = add nsw i32 %50, 1 br label %69 69: ; preds = %56, %48, %61 %70 = phi i32 [ %68, %61 ], [ %50, %48 ], [ %50, %56 ] %71 = add nuw nsw i32 %49, 1 %72 = icmp eq i32 %71, 8 br i1 %72, label %73, label %48, !llvm.loop !21 73: ; preds = %69 %74 = icmp eq i32 %70, 0 br i1 %74, label %143, label %75 75: ; preds = %73 %76 = load i32, ptr @cmp_range, align 4, !tbaa !5 %77 = call i32 @sort(ptr noundef nonnull %1, i32 noundef %70, i32 noundef 8, i32 noundef %76, ptr noundef null) #3 %78 = add nsw i32 %70, -1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %79, i32 1 %81 = load i32, ptr %80, align 4, !tbaa !20 %82 = icmp slt i32 %81, %47 br i1 %82, label %143, label %83 83: ; preds = %75 %84 = load i32, ptr %1, align 16, !tbaa !18 %85 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !5 %86 = add nsw i32 %85, %47 %87 = icmp sgt i32 %84, %86 br i1 %87, label %143, label %88 88: ; preds = %83 %89 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !5 %90 = and i32 %89, %84 %91 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !5 %92 = sub nsw i32 %90, %91 %93 = icmp sgt i32 %92, 0 br i1 %93, label %94, label %101 94: ; preds = %88 %95 = call i64 @BASE_VALID(i32 noundef %92) #3 %96 = icmp eq i64 %95, 0 br i1 %96, label %97, label %143 97: ; preds = %94 %98 = load i32, ptr %80, align 4, !tbaa !20 %99 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !5 %100 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !5 br label %101 101: ; preds = %97, %88 %102 = phi i32 [ %100, %97 ], [ %89, %88 ] %103 = phi i32 [ %99, %97 ], [ %91, %88 ] %104 = phi i32 [ %98, %97 ], [ %81, %88 ] %105 = add nsw i32 %103, %104 %106 = and i32 %105, %102 %107 = call i64 @BASE_VALID(i32 noundef %106) #3 %108 = icmp eq i64 %107, 0 br i1 %108, label %109, label %143 109: ; preds = %101 %110 = icmp sgt i32 %70, 1 br i1 %110, label %111, label %145 111: ; preds = %109 %112 = zext nneg i32 %70 to i64 %113 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !5 %114 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !5 %115 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !5 br label %116 116: ; preds = %111, %137 %117 = phi i32 [ %115, %111 ], [ %138, %137 ] %118 = phi i32 [ %114, %111 ], [ %139, %137 ] %119 = phi i32 [ %113, %111 ], [ %140, %137 ] %120 = phi i64 [ 1, %111 ], [ %141, %137 ] %121 = add nsw i64 %120, -1 %122 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %121, i32 1 %123 = load i32, ptr %122, align 4, !tbaa !20 %124 = add nsw i32 %119, %123 %125 = and i32 %124, %118 %126 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %120 %127 = load i32, ptr %126, align 8, !tbaa !18 %128 = and i32 %127, %118 %129 = add nsw i32 %117, %125 %130 = icmp slt i32 %128, %129 br i1 %130, label %137, label %131 131: ; preds = %116 %132 = call i64 @BASE_VALID(i32 noundef %125) #3 %133 = icmp eq i64 %132, 0 %134 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !5 %135 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !5 %136 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !5 br i1 %133, label %137, label %143 137: ; preds = %116, %131 %138 = phi i32 [ %117, %116 ], [ %136, %131 ] %139 = phi i32 [ %118, %116 ], [ %135, %131 ] %140 = phi i32 [ %119, %116 ], [ %134, %131 ] %141 = add nuw nsw i64 %120, 1 %142 = icmp eq i64 %141, %112 br i1 %142, label %145, label %116, !llvm.loop !22 143: ; preds = %131, %101, %94, %83, %75, %73 %144 = phi i32 [ %47, %75 ], [ %47, %83 ], [ %92, %94 ], [ %106, %101 ], [ %47, %73 ], [ %125, %131 ] store i32 %144, ptr @fam10h_pci_mmconf_base, align 4, !tbaa !5 br label %145 145: ; preds = %31, %137, %8, %109, %5, %0, %143 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @early_pci_allowed(...) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @read_pci_config(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdmsrl(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sort(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @BASE_VALID(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !13 = !{!12, !6, i64 4} !14 = !{!12, !6, i64 8} !15 = !{!12, !6, i64 12} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!19, !6, i64 0} !19 = !{!"range", !6, i64 0, !6, i64 4} !20 = !{!19, !6, i64 4} !21 = distinct !{!21, !17} !22 = distinct !{!22, !17}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/extr_mmconf-fam10h_64.c_get_fam10h_pci_mmconf_base.c' source_filename = "AnghaBench/linux/arch/x86/kernel/extr_mmconf-fam10h_64.c_get_fam10h_pci_mmconf_base.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.range = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32, i32, i32 } @FAM10H_PCI_MMCONF_BASE = common local_unnamed_addr global i32 0, align 4 @fam10h_pci_mmconf_base = common local_unnamed_addr global i32 0, align 4 @pci_probes = common local_unnamed_addr global ptr null, align 8 @PCI_VENDOR_ID = common local_unnamed_addr global i32 0, align 4 @MSR_K8_SYSCFG = common local_unnamed_addr global i32 0, align 4 @MSR_K8_TOP_MEM2 = common local_unnamed_addr global i32 0, align 4 @MMCONF_UNIT = common local_unnamed_addr global i32 0, align 4 @MMCONF_MASK = common local_unnamed_addr global i32 0, align 4 @cmp_range = common local_unnamed_addr global i32 0, align 4 @MMCONF_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @get_fam10h_pci_mmconf_base], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @get_fam10h_pci_mmconf_base() #0 { %1 = alloca [8 x %struct.range], align 4 %2 = load i32, ptr @FAM10H_PCI_MMCONF_BASE, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #3 %3 = load i32, ptr @fam10h_pci_mmconf_base, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %146 5: ; preds = %0 %6 = tail call i32 @early_pci_allowed() #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %146, label %8 8: ; preds = %5 %9 = load ptr, ptr @pci_probes, align 8, !tbaa !10 %10 = tail call i32 @ARRAY_SIZE(ptr noundef %9) #3 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %146 12: ; preds = %8, %32 %13 = phi i64 [ %33, %32 ], [ 0, %8 ] %14 = load ptr, ptr @pci_probes, align 8, !tbaa !10 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 %13 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = getelementptr inbounds i8, ptr %15, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = load i32, ptr @PCI_VENDOR_ID, align 4, !tbaa !6 %20 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 0, i32 noundef %19) #3 %21 = and i32 %20, 65535 %22 = load ptr, ptr @pci_probes, align 8, !tbaa !10 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %22, i64 %13 %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = icmp eq i32 %25, %21 br i1 %26, label %27, label %32 27: ; preds = %12 %28 = lshr i32 %20, 16 %29 = getelementptr inbounds i8, ptr %23, i64 12 %30 = load i32, ptr %29, align 4, !tbaa !16 %31 = icmp eq i32 %30, %28 br i1 %31, label %37, label %32 32: ; preds = %12, %27 %33 = add nuw nsw i64 %13, 1 %34 = tail call i32 @ARRAY_SIZE(ptr noundef nonnull %22) #3 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %33, %35 br i1 %36, label %12, label %146, !llvm.loop !17 37: ; preds = %27 %38 = load i32, ptr @MSR_K8_SYSCFG, align 4, !tbaa !6 %39 = tail call i32 @rdmsrl(i32 noundef %38, i32 noundef undef) #3 %40 = icmp slt i32 %2, 1 br i1 %40, label %41, label %47 41: ; preds = %37 %42 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !6 %43 = shl nsw i32 %42, 1 %44 = add nsw i32 %43, -1 %45 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !6 %46 = and i32 %44, %45 br label %47 47: ; preds = %41, %37 %48 = phi i32 [ %46, %41 ], [ %2, %37 ] br label %49 49: ; preds = %47, %70 %50 = phi i32 [ 0, %47 ], [ %72, %70 ] %51 = phi i32 [ 0, %47 ], [ %71, %70 ] %52 = shl nuw nsw i32 %50, 3 %53 = or disjoint i32 %52, 128 %54 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 1, i32 noundef %53) #3 %55 = and i32 %54, 3 %56 = icmp eq i32 %55, 0 br i1 %56, label %70, label %57 57: ; preds = %49 %58 = or disjoint i32 %52, 132 %59 = tail call i32 @read_pci_config(i32 noundef %16, i32 noundef %18, i32 noundef 1, i32 noundef %58) #3 %60 = shl i32 %59, 8 %61 = icmp slt i32 %60, 0 br i1 %61, label %70, label %62 62: ; preds = %57 %63 = or i32 %60, 65535 %64 = shl i32 %54, 8 %65 = and i32 %64, -65536 %66 = sext i32 %51 to i64 %67 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %66 store i32 %65, ptr %67, align 4, !tbaa !19 %68 = getelementptr inbounds i8, ptr %67, i64 4 store i32 %63, ptr %68, align 4, !tbaa !21 %69 = add nsw i32 %51, 1 br label %70 70: ; preds = %57, %49, %62 %71 = phi i32 [ %69, %62 ], [ %51, %49 ], [ %51, %57 ] %72 = add nuw nsw i32 %50, 1 %73 = icmp eq i32 %72, 8 br i1 %73, label %74, label %49, !llvm.loop !22 74: ; preds = %70 %75 = icmp eq i32 %71, 0 br i1 %75, label %144, label %76 76: ; preds = %74 %77 = load i32, ptr @cmp_range, align 4, !tbaa !6 %78 = call i32 @sort(ptr noundef nonnull %1, i32 noundef %71, i32 noundef 8, i32 noundef %77, ptr noundef null) #3 %79 = add nsw i32 %71, -1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %80, i32 1 %82 = load i32, ptr %81, align 4, !tbaa !21 %83 = icmp slt i32 %82, %48 br i1 %83, label %144, label %84 84: ; preds = %76 %85 = load i32, ptr %1, align 4, !tbaa !19 %86 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !6 %87 = add nsw i32 %86, %48 %88 = icmp sgt i32 %85, %87 br i1 %88, label %144, label %89 89: ; preds = %84 %90 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !6 %91 = and i32 %90, %85 %92 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !6 %93 = sub nsw i32 %91, %92 %94 = icmp sgt i32 %93, 0 br i1 %94, label %95, label %102 95: ; preds = %89 %96 = call i64 @BASE_VALID(i32 noundef %93) #3 %97 = icmp eq i64 %96, 0 br i1 %97, label %98, label %144 98: ; preds = %95 %99 = load i32, ptr %81, align 4, !tbaa !21 %100 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !6 %101 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !6 br label %102 102: ; preds = %98, %89 %103 = phi i32 [ %101, %98 ], [ %90, %89 ] %104 = phi i32 [ %100, %98 ], [ %92, %89 ] %105 = phi i32 [ %99, %98 ], [ %82, %89 ] %106 = add nsw i32 %104, %105 %107 = and i32 %106, %103 %108 = call i64 @BASE_VALID(i32 noundef %107) #3 %109 = icmp eq i64 %108, 0 br i1 %109, label %110, label %144 110: ; preds = %102 %111 = icmp sgt i32 %71, 1 br i1 %111, label %112, label %146 112: ; preds = %110 %113 = zext nneg i32 %71 to i64 %114 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !6 %115 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !6 %116 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !6 br label %117 117: ; preds = %112, %138 %118 = phi i32 [ %116, %112 ], [ %139, %138 ] %119 = phi i32 [ %115, %112 ], [ %140, %138 ] %120 = phi i32 [ %114, %112 ], [ %141, %138 ] %121 = phi i64 [ 1, %112 ], [ %142, %138 ] %122 = add nsw i64 %121, -1 %123 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %122, i32 1 %124 = load i32, ptr %123, align 4, !tbaa !21 %125 = add nsw i32 %120, %124 %126 = and i32 %125, %119 %127 = getelementptr inbounds [8 x %struct.range], ptr %1, i64 0, i64 %121 %128 = load i32, ptr %127, align 4, !tbaa !19 %129 = and i32 %128, %119 %130 = add nsw i32 %118, %126 %131 = icmp slt i32 %129, %130 br i1 %131, label %138, label %132 132: ; preds = %117 %133 = call i64 @BASE_VALID(i32 noundef %126) #3 %134 = icmp eq i64 %133, 0 %135 = load i32, ptr @MMCONF_UNIT, align 4, !tbaa !6 %136 = load i32, ptr @MMCONF_MASK, align 4, !tbaa !6 %137 = load i32, ptr @MMCONF_SIZE, align 4, !tbaa !6 br i1 %134, label %138, label %144 138: ; preds = %117, %132 %139 = phi i32 [ %118, %117 ], [ %137, %132 ] %140 = phi i32 [ %119, %117 ], [ %136, %132 ] %141 = phi i32 [ %120, %117 ], [ %135, %132 ] %142 = add nuw nsw i64 %121, 1 %143 = icmp eq i64 %142, %113 br i1 %143, label %146, label %117, !llvm.loop !23 144: ; preds = %132, %102, %95, %84, %76, %74 %145 = phi i32 [ %48, %76 ], [ %48, %84 ], [ %93, %95 ], [ %107, %102 ], [ %48, %74 ], [ %126, %132 ] store i32 %145, ptr @fam10h_pci_mmconf_base, align 4, !tbaa !6 br label %146 146: ; preds = %32, %138, %8, %110, %5, %0, %144 call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @early_pci_allowed(...) local_unnamed_addr #2 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #2 declare i32 @read_pci_config(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @rdmsrl(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sort(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @BASE_VALID(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!13, !7, i64 4} !15 = !{!13, !7, i64 8} !16 = !{!13, !7, i64 12} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !7, i64 0} !20 = !{!"range", !7, i64 0, !7, i64 4} !21 = !{!20, !7, i64 4} !22 = distinct !{!22, !18} !23 = distinct !{!23, !18}
linux_arch_x86_kernel_extr_mmconf-fam10h_64.c_get_fam10h_pci_mmconf_base
; ModuleID = 'AnghaBench/linux/sound/pci/pcxhr/extr_pcxhr_hwdep.c_pcxhr_config_pipes.c' source_filename = "AnghaBench/linux/sound/pci/pcxhr/extr_pcxhr_hwdep.c_pcxhr_config_pipes.c" target datalayout = "e-m:e-p270:32:32-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.pcxhr_mgr = type { i32, ptr } %struct.snd_pcxhr = type { i32, i32, ptr, ptr, ptr, %struct.pcxhr_pipe } %struct.pcxhr_pipe = type { i32 } %struct.TYPE_3__ = type { ptr } %struct.TYPE_4__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @pcxhr_config_pipes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pcxhr_config_pipes(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %74 4: ; preds = %1 %5 = getelementptr inbounds %struct.pcxhr_mgr, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %69 %7 = phi i64 [ 0, %4 ], [ %70, %69 ] %8 = load ptr, ptr %5, align 8, !tbaa !11 %9 = getelementptr inbounds ptr, ptr %8, i64 %7 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = icmp eq i32 %11, 0 br i1 %12, label %46, label %13 13: ; preds = %6 %14 = getelementptr inbounds %struct.snd_pcxhr, ptr %10, i64 0, i32 5 %15 = trunc i64 %7 to i32 %16 = shl i32 %15, 1 %17 = tail call i32 @pcxhr_dsp_allocate_pipe(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 0, i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %74 19: ; preds = %13 %20 = load i32, ptr %10, align 8, !tbaa !13 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %46 22: ; preds = %19 %23 = getelementptr inbounds %struct.snd_pcxhr, ptr %10, i64 0, i32 4 %24 = load ptr, ptr %23, align 8, !tbaa !16 %25 = zext nneg i32 %20 to i64 %26 = icmp ult i32 %20, 4 br i1 %26, label %39, label %27 27: ; preds = %22 %28 = and i64 %25, 2147483644 %29 = insertelement <2 x ptr> poison, ptr %14, i64 0 %30 = shufflevector <2 x ptr> %29, <2 x ptr> poison, <2 x i32> zeroinitializer br label %31 31: ; preds = %31, %27 %32 = phi i64 [ 0, %27 ], [ %35, %31 ] %33 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i64 %32 %34 = getelementptr inbounds ptr, ptr %33, i64 2 store <2 x ptr> %30, ptr %33, align 8, !tbaa !17 store <2 x ptr> %30, ptr %34, align 8, !tbaa !17 %35 = add nuw i64 %32, 4 %36 = icmp eq i64 %35, %28 br i1 %36, label %37, label %31, !llvm.loop !19 37: ; preds = %31 %38 = icmp eq i64 %28, %25 br i1 %38, label %46, label %39 39: ; preds = %22, %37 %40 = phi i64 [ 0, %22 ], [ %28, %37 ] br label %41 41: ; preds = %39, %41 %42 = phi i64 [ %44, %41 ], [ %40, %39 ] %43 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i64 %42 store ptr %14, ptr %43, align 8, !tbaa !17 %44 = add nuw nsw i64 %42, 1 %45 = icmp eq i64 %44, %25 br i1 %45, label %46, label %41, !llvm.loop !23 46: ; preds = %41, %37, %19, %6 %47 = getelementptr inbounds %struct.snd_pcxhr, ptr %10, i64 0, i32 1 %48 = load i32, ptr %47, align 4, !tbaa !24 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %69 50: ; preds = %46 %51 = getelementptr inbounds %struct.snd_pcxhr, ptr %10, i64 0, i32 3 %52 = shl nuw nsw i64 %7, 1 %53 = getelementptr inbounds %struct.snd_pcxhr, ptr %10, i64 0, i32 2 br label %54 54: ; preds = %50, %62 %55 = phi i64 [ 0, %50 ], [ %65, %62 ] %56 = load ptr, ptr %51, align 8, !tbaa !25 %57 = getelementptr inbounds %struct.pcxhr_pipe, ptr %56, i64 %55 %58 = add nuw nsw i64 %55, %52 %59 = trunc i64 %58 to i32 %60 = tail call i32 @pcxhr_dsp_allocate_pipe(ptr noundef nonnull %0, ptr noundef %57, i32 noundef 1, i32 noundef %59) #2 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %74 62: ; preds = %54 %63 = load ptr, ptr %53, align 8, !tbaa !26 %64 = getelementptr inbounds %struct.TYPE_4__, ptr %63, i64 %55 store ptr %57, ptr %64, align 8, !tbaa !27 %65 = add nuw nsw i64 %55, 1 %66 = load i32, ptr %47, align 4, !tbaa !24 %67 = sext i32 %66 to i64 %68 = icmp slt i64 %65, %67 br i1 %68, label %54, label %69, !llvm.loop !29 69: ; preds = %62, %46 %70 = add nuw nsw i64 %7, 1 %71 = load i32, ptr %0, align 8, !tbaa !5 %72 = sext i32 %71 to i64 %73 = icmp slt i64 %70, %72 br i1 %73, label %6, label %74, !llvm.loop !30 74: ; preds = %13, %69, %54, %1 %75 = phi i32 [ 0, %1 ], [ %60, %54 ], [ %17, %13 ], [ 0, %69 ] ret i32 %75 } declare i32 @pcxhr_dsp_allocate_pipe(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pcxhr_mgr", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"snd_pcxhr", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !15, i64 32} !15 = !{!"pcxhr_pipe", !7, i64 0} !16 = !{!14, !10, i64 24} !17 = !{!18, !10, i64 0} !18 = !{!"TYPE_3__", !10, i64 0} !19 = distinct !{!19, !20, !21, !22} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!"llvm.loop.isvectorized", i32 1} !22 = !{!"llvm.loop.unroll.runtime.disable"} !23 = distinct !{!23, !20, !22, !21} !24 = !{!14, !7, i64 4} !25 = !{!14, !10, i64 16} !26 = !{!14, !10, i64 8} !27 = !{!28, !10, i64 0} !28 = !{!"TYPE_4__", !10, i64 0} !29 = distinct !{!29, !20} !30 = distinct !{!30, !20}
; ModuleID = 'AnghaBench/linux/sound/pci/pcxhr/extr_pcxhr_hwdep.c_pcxhr_config_pipes.c' source_filename = "AnghaBench/linux/sound/pci/pcxhr/extr_pcxhr_hwdep.c_pcxhr_config_pipes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr } %struct.pcxhr_pipe = type { i32 } %struct.TYPE_4__ = type { ptr } @llvm.used = appending global [1 x ptr] [ptr @pcxhr_config_pipes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pcxhr_config_pipes(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %76 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %6 6: ; preds = %4, %71 %7 = phi i64 [ 0, %4 ], [ %72, %71 ] %8 = load ptr, ptr %5, align 8, !tbaa !12 %9 = getelementptr inbounds ptr, ptr %8, i64 %7 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = load i32, ptr %10, align 8, !tbaa !14 %12 = icmp eq i32 %11, 0 br i1 %12, label %48, label %13 13: ; preds = %6 %14 = getelementptr inbounds i8, ptr %10, i64 32 %15 = trunc i64 %7 to i32 %16 = shl i32 %15, 1 %17 = tail call i32 @pcxhr_dsp_allocate_pipe(ptr noundef nonnull %0, ptr noundef nonnull %14, i32 noundef 0, i32 noundef %16) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %76 19: ; preds = %13 %20 = load i32, ptr %10, align 8, !tbaa !14 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %48 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %10, i64 24 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = zext nneg i32 %20 to i64 %26 = icmp ult i32 %20, 8 br i1 %26, label %41, label %27 27: ; preds = %22 %28 = and i64 %25, 2147483640 %29 = insertelement <2 x ptr> poison, ptr %14, i64 0 %30 = shufflevector <2 x ptr> %29, <2 x ptr> poison, <2 x i32> zeroinitializer br label %31 31: ; preds = %31, %27 %32 = phi i64 [ 0, %27 ], [ %37, %31 ] %33 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i64 %32 %34 = getelementptr inbounds i8, ptr %33, i64 16 %35 = getelementptr inbounds i8, ptr %33, i64 32 %36 = getelementptr inbounds i8, ptr %33, i64 48 store <2 x ptr> %30, ptr %33, align 8, !tbaa !18 store <2 x ptr> %30, ptr %34, align 8, !tbaa !18 store <2 x ptr> %30, ptr %35, align 8, !tbaa !18 store <2 x ptr> %30, ptr %36, align 8, !tbaa !18 %37 = add nuw i64 %32, 8 %38 = icmp eq i64 %37, %28 br i1 %38, label %39, label %31, !llvm.loop !20 39: ; preds = %31 %40 = icmp eq i64 %28, %25 br i1 %40, label %48, label %41 41: ; preds = %39, %22 %42 = phi i64 [ 0, %22 ], [ %28, %39 ] br label %43 43: ; preds = %41, %43 %44 = phi i64 [ %46, %43 ], [ %42, %41 ] %45 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i64 %44 store ptr %14, ptr %45, align 8, !tbaa !18 %46 = add nuw nsw i64 %44, 1 %47 = icmp eq i64 %46, %25 br i1 %47, label %48, label %43, !llvm.loop !24 48: ; preds = %43, %39, %19, %6 %49 = getelementptr inbounds i8, ptr %10, i64 4 %50 = load i32, ptr %49, align 4, !tbaa !25 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %71 52: ; preds = %48 %53 = getelementptr inbounds i8, ptr %10, i64 16 %54 = shl nuw nsw i64 %7, 1 %55 = getelementptr inbounds i8, ptr %10, i64 8 br label %56 56: ; preds = %52, %64 %57 = phi i64 [ 0, %52 ], [ %67, %64 ] %58 = load ptr, ptr %53, align 8, !tbaa !26 %59 = getelementptr inbounds %struct.pcxhr_pipe, ptr %58, i64 %57 %60 = add nuw nsw i64 %57, %54 %61 = trunc nuw i64 %60 to i32 %62 = tail call i32 @pcxhr_dsp_allocate_pipe(ptr noundef nonnull %0, ptr noundef %59, i32 noundef 1, i32 noundef %61) #2 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %76 64: ; preds = %56 %65 = load ptr, ptr %55, align 8, !tbaa !27 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %65, i64 %57 store ptr %59, ptr %66, align 8, !tbaa !28 %67 = add nuw nsw i64 %57, 1 %68 = load i32, ptr %49, align 4, !tbaa !25 %69 = sext i32 %68 to i64 %70 = icmp slt i64 %67, %69 br i1 %70, label %56, label %71, !llvm.loop !30 71: ; preds = %64, %48 %72 = add nuw nsw i64 %7, 1 %73 = load i32, ptr %0, align 8, !tbaa !6 %74 = sext i32 %73 to i64 %75 = icmp slt i64 %72, %74 br i1 %75, label %6, label %76, !llvm.loop !31 76: ; preds = %13, %71, %56, %1 %77 = phi i32 [ 0, %1 ], [ %62, %56 ], [ %17, %13 ], [ 0, %71 ] ret i32 %77 } declare i32 @pcxhr_dsp_allocate_pipe(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pcxhr_mgr", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"snd_pcxhr", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !16, i64 32} !16 = !{!"pcxhr_pipe", !8, i64 0} !17 = !{!15, !11, i64 24} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_3__", !11, i64 0} !20 = distinct !{!20, !21, !22, !23} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!"llvm.loop.isvectorized", i32 1} !23 = !{!"llvm.loop.unroll.runtime.disable"} !24 = distinct !{!24, !21, !23, !22} !25 = !{!15, !8, i64 4} !26 = !{!15, !11, i64 16} !27 = !{!15, !11, i64 8} !28 = !{!29, !11, i64 0} !29 = !{!"TYPE_4__", !11, i64 0} !30 = distinct !{!30, !21} !31 = distinct !{!31, !21}
linux_sound_pci_pcxhr_extr_pcxhr_hwdep.c_pcxhr_config_pipes
; ModuleID = 'AnghaBench/reactos/sdk/lib/drivers/lwip/test/unit/extr_tcp..lwip_check.h_create_suite.c' source_filename = "AnghaBench/reactos/sdk/lib/drivers/lwip/test/unit/extr_tcp..lwip_check.h_create_suite.c" target datalayout = "e-m:e-p270:32:32-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"Core\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_suite], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @create_suite(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = tail call ptr @suite_create(ptr noundef %0) #2 %7 = icmp eq i64 %2, 0 br i1 %7, label %24, label %8 8: ; preds = %5 %9 = icmp ne ptr %3, null %10 = icmp ne ptr %4, null %11 = or i1 %9, %10 br label %12 12: ; preds = %8, %17 %13 = phi i64 [ 0, %8 ], [ %22, %17 ] %14 = tail call ptr @tcase_create(ptr noundef nonnull @.str) #2 br i1 %11, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @tcase_add_checked_fixture(ptr noundef %14, ptr noundef %3, ptr noundef %4) #2 br label %17 17: ; preds = %12, %15 %18 = getelementptr inbounds i32, ptr %1, i64 %13 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = tail call i32 @tcase_add_test(ptr noundef %14, i32 noundef %19) #2 %21 = tail call i32 @suite_add_tcase(ptr noundef %6, ptr noundef %14) #2 %22 = add nuw i64 %13, 1 %23 = icmp eq i64 %22, %2 br i1 %23, label %24, label %12, !llvm.loop !9 24: ; preds = %17, %5 ret ptr %6 } declare ptr @suite_create(ptr noundef) local_unnamed_addr #1 declare ptr @tcase_create(ptr noundef) local_unnamed_addr #1 declare i32 @tcase_add_checked_fixture(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tcase_add_test(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @suite_add_tcase(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/drivers/lwip/test/unit/extr_tcp..lwip_check.h_create_suite.c' source_filename = "AnghaBench/reactos/sdk/lib/drivers/lwip/test/unit/extr_tcp..lwip_check.h_create_suite.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"Core\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @create_suite], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @create_suite(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = tail call ptr @suite_create(ptr noundef %0) #2 %7 = icmp eq i64 %2, 0 br i1 %7, label %24, label %8 8: ; preds = %5 %9 = icmp ne ptr %3, null %10 = icmp ne ptr %4, null %11 = or i1 %9, %10 br label %12 12: ; preds = %8, %17 %13 = phi i64 [ 0, %8 ], [ %22, %17 ] %14 = tail call ptr @tcase_create(ptr noundef nonnull @.str) #2 br i1 %11, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @tcase_add_checked_fixture(ptr noundef %14, ptr noundef %3, ptr noundef %4) #2 br label %17 17: ; preds = %12, %15 %18 = getelementptr inbounds i32, ptr %1, i64 %13 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = tail call i32 @tcase_add_test(ptr noundef %14, i32 noundef %19) #2 %21 = tail call i32 @suite_add_tcase(ptr noundef %6, ptr noundef %14) #2 %22 = add nuw i64 %13, 1 %23 = icmp eq i64 %22, %2 br i1 %23, label %24, label %12, !llvm.loop !10 24: ; preds = %17, %5 ret ptr %6 } declare ptr @suite_create(ptr noundef) local_unnamed_addr #1 declare ptr @tcase_create(ptr noundef) local_unnamed_addr #1 declare i32 @tcase_add_checked_fixture(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tcase_add_test(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @suite_add_tcase(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
reactos_sdk_lib_drivers_lwip_test_unit_extr_tcp..lwip_check.h_create_suite
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hw.c_ath9k_hw_phy_disable.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hw.c_ath9k_hw_phy_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ATH9K_RESET_WARM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ath9k_hw_phy_disable(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ath9k_hw_mci_is_enabled(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ar9003_mci_bt_gain_ctrl(ptr noundef %0) #2 br label %6 6: ; preds = %4, %1 %7 = load i32, ptr @ATH9K_RESET_WARM, align 4, !tbaa !5 %8 = tail call i32 @ath9k_hw_set_reset_reg(ptr noundef %0, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 @ath9k_hw_init_pll(ptr noundef %0, ptr noundef null) #2 store i32 1, ptr %0, align 4, !tbaa !9 br label %12 12: ; preds = %6, %10 %13 = phi i32 [ 1, %10 ], [ 0, %6 ] ret i32 %13 } declare i64 @ath9k_hw_mci_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @ar9003_mci_bt_gain_ctrl(ptr noundef) local_unnamed_addr #1 declare i32 @ath9k_hw_set_reset_reg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath9k_hw_init_pll(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, !6, i64 0} !10 = !{!"ath_hw", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hw.c_ath9k_hw_phy_disable.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath9k/extr_hw.c_ath9k_hw_phy_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ATH9K_RESET_WARM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @ath9k_hw_phy_disable(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @ath9k_hw_mci_is_enabled(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ar9003_mci_bt_gain_ctrl(ptr noundef %0) #2 br label %6 6: ; preds = %4, %1 %7 = load i32, ptr @ATH9K_RESET_WARM, align 4, !tbaa !6 %8 = tail call i32 @ath9k_hw_set_reset_reg(ptr noundef %0, i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %6 %11 = tail call i32 @ath9k_hw_init_pll(ptr noundef %0, ptr noundef null) #2 store i32 1, ptr %0, align 4, !tbaa !10 br label %12 12: ; preds = %6, %10 %13 = phi i32 [ 1, %10 ], [ 0, %6 ] ret i32 %13 } declare i64 @ath9k_hw_mci_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @ar9003_mci_bt_gain_ctrl(ptr noundef) local_unnamed_addr #1 declare i32 @ath9k_hw_set_reset_reg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath9k_hw_init_pll(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, !7, i64 0} !11 = !{!"ath_hw", !7, i64 0}
linux_drivers_net_wireless_ath_ath9k_extr_hw.c_ath9k_hw_phy_disable
; ModuleID = 'AnghaBench/lab/engine/code/sdl/extr_sdl_glimp.c_GLimp_GetProcAddress.c' source_filename = "AnghaBench/lab/engine/code/sdl/extr_sdl_glimp.c_GLimp_GetProcAddress.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" ; Function Attrs: nounwind uwtable define dso_local i8* @GLimp_GetProcAddress(i8* noundef %0) local_unnamed_addr #0 { %2 = tail call i8* @SDL_GL_GetProcAddress(i8* noundef %0) #2 ret i8* %2 } declare i8* @SDL_GL_GetProcAddress(i8* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
; ModuleID = 'AnghaBench/lab/engine/code/sdl/extr_sdl_glimp.c_GLimp_GetProcAddress.c' source_filename = "AnghaBench/lab/engine/code/sdl/extr_sdl_glimp.c_GLimp_GetProcAddress.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 @GLimp_GetProcAddress(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @SDL_GL_GetProcAddress(ptr noundef %0) #2 ret ptr %2 } declare ptr @SDL_GL_GetProcAddress(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)"}
lab_engine_code_sdl_extr_sdl_glimp.c_GLimp_GetProcAddress
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_coredump.h_ath10k_coredump_get_mem_layout.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_coredump.h_ath10k_coredump_get_mem_layout.c" target datalayout = "e-m:e-p270:32:32-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 @ath10k_coredump_get_mem_layout], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noalias noundef ptr @ath10k_coredump_get_mem_layout(ptr nocapture readnone %0) #0 { ret ptr null } 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/net/wireless/ath/ath10k/extr_coredump.h_ath10k_coredump_get_mem_layout.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_coredump.h_ath10k_coredump_get_mem_layout.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 @ath10k_coredump_get_mem_layout], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noalias noundef ptr @ath10k_coredump_get_mem_layout(ptr nocapture readnone %0) #0 { ret ptr null } 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_net_wireless_ath_ath10k_extr_coredump.h_ath10k_coredump_get_mem_layout
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libelf/extr_libelf_ar_util.c__libelf_ar_get_raw_name.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libelf/extr_libelf_ar_util.c__libelf_ar_get_raw_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" @RESOURCE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @_libelf_ar_get_raw_name(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) %3 = icmp eq ptr %2, null br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @RESOURCE, align 4, !tbaa !5 %6 = tail call i32 @LIBELF_SET_ERROR(i32 noundef %5, i32 noundef 0) #3 br label %11 7: ; preds = %1 %8 = load i32, ptr %0, align 4, !tbaa !9 %9 = tail call i32 @strncpy(ptr noundef nonnull %2, i32 noundef %8, i64 noundef 4) #3 %10 = getelementptr inbounds i8, ptr %2, i64 4 store i8 0, ptr %10, align 1, !tbaa !11 br label %11 11: ; preds = %7, %4 ret ptr %2 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 declare i32 @LIBELF_SET_ERROR(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = !{!"ar_hdr", !6, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libelf/extr_libelf_ar_util.c__libelf_ar_get_raw_name.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libelf/extr_libelf_ar_util.c__libelf_ar_get_raw_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RESOURCE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @_libelf_ar_get_raw_name(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call dereferenceable_or_null(5) ptr @malloc(i64 noundef 5) %3 = icmp eq ptr %2, null br i1 %3, label %4, label %7 4: ; preds = %1 %5 = load i32, ptr @RESOURCE, align 4, !tbaa !6 %6 = tail call i32 @LIBELF_SET_ERROR(i32 noundef %5, i32 noundef 0) #3 br label %11 7: ; preds = %1 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call i32 @strncpy(ptr noundef nonnull %2, i32 noundef %8, i64 noundef 4) #3 %10 = getelementptr inbounds i8, ptr %2, i64 4 store i8 0, ptr %10, align 1, !tbaa !12 br label %11 11: ; preds = %7, %4 ret ptr %2 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 declare i32 @LIBELF_SET_ERROR(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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 = !{!"ar_hdr", !7, i64 0} !12 = !{!8, !8, i64 0}
freebsd_contrib_elftoolchain_libelf_extr_libelf_ar_util.c__libelf_ar_get_raw_name
; ModuleID = 'AnghaBench/freebsd/sys/dev/pci/extr_pci.c_pci_enable_busmaster_method.c' source_filename = "AnghaBench/freebsd/sys/dev/pci/extr_pci.c_pci_enable_busmaster_method.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCIM_CMD_BUSMASTEREN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pci_enable_busmaster_method(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @PCIM_CMD_BUSMASTEREN, align 4, !tbaa !5 %4 = tail call i32 @pci_set_command_bit(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2 ret i32 0 } declare i32 @pci_set_command_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/pci/extr_pci.c_pci_enable_busmaster_method.c' source_filename = "AnghaBench/freebsd/sys/dev/pci/extr_pci.c_pci_enable_busmaster_method.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCIM_CMD_BUSMASTEREN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @pci_enable_busmaster_method(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @PCIM_CMD_BUSMASTEREN, align 4, !tbaa !6 %4 = tail call i32 @pci_set_command_bit(i32 noundef %0, i32 noundef %1, i32 noundef %3) #2 ret i32 0 } declare i32 @pci_set_command_bit(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_pci_extr_pci.c_pci_enable_busmaster_method
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.h_kvm_s390_get_regs_rre.c' source_filename = "AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.h_kvm_s390_get_regs_rre.c" target datalayout = "e-m:e-p270:32:32-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 @kvm_s390_get_regs_rre], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @kvm_s390_get_regs_rre(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %10, label %5 5: ; preds = %3 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = lshr i32 %7, 20 %9 = and i32 %8, 15 store i32 %9, ptr %1, align 4, !tbaa !14 br label %10 10: ; preds = %5, %3 %11 = icmp eq ptr %2, null br i1 %11, label %17, label %12 12: ; preds = %10 %13 = load ptr, ptr %0, align 8, !tbaa !5 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = lshr i32 %14, 16 %16 = and i32 %15, 15 store i32 %16, ptr %2, align 4, !tbaa !14 br label %17 17: ; preds = %12, %10 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"kvm_vcpu", !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, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.h_kvm_s390_get_regs_rre.c' source_filename = "AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.h_kvm_s390_get_regs_rre.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 @kvm_s390_get_regs_rre], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @kvm_s390_get_regs_rre(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %10, label %5 5: ; preds = %3 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = lshr i32 %7, 20 %9 = and i32 %8, 15 store i32 %9, ptr %1, align 4, !tbaa !15 br label %10 10: ; preds = %5, %3 %11 = icmp eq ptr %2, null br i1 %11, label %17, label %12 12: ; preds = %10 %13 = load ptr, ptr %0, align 8, !tbaa !6 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = lshr i32 %14, 16 %16 = and i32 %15, 15 store i32 %16, ptr %2, align 4, !tbaa !15 br label %17 17: ; preds = %12, %10 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"kvm_vcpu", !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, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!14, !14, i64 0}
linux_arch_s390_kvm_extr_kvm-s390.h_kvm_s390_get_regs_rre
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_debug_fs.c_table_open2.c' source_filename = "AnghaBench/linux/fs/dlm/extr_debug_fs.c_table_open2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @format2_seq_ops = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @table_open2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @table_open2(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @seq_open(ptr noundef %1, ptr noundef nonnull @format2_seq_ops) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !5 %7 = load i32, ptr %0, align 4, !tbaa !10 store i32 %7, ptr %6, align 4, !tbaa !13 br label %8 8: ; preds = %2, %5 ret i32 %3 } declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"file", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"inode", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"seq_file", !12, i64 0}
; ModuleID = 'AnghaBench/linux/fs/dlm/extr_debug_fs.c_table_open2.c' source_filename = "AnghaBench/linux/fs/dlm/extr_debug_fs.c_table_open2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @format2_seq_ops = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @table_open2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @table_open2(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = tail call i32 @seq_open(ptr noundef %1, ptr noundef nonnull @format2_seq_ops) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load ptr, ptr %1, align 8, !tbaa !6 %7 = load i32, ptr %0, align 4, !tbaa !11 store i32 %7, ptr %6, align 4, !tbaa !14 br label %8 8: ; preds = %2, %5 ret i32 %3 } declare i32 @seq_open(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"file", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"inode", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"seq_file", !13, i64 0}
linux_fs_dlm_extr_debug_fs.c_table_open2
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_memguard.c_v2sizep.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_memguard.c_v2sizep.c" target datalayout = "e-m:e-p270:32:32-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_page = type { i64, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [36 x i8] c"MemGuard detected double-free of %p\00", align 1 @PQ_NONE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @v2sizep], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal nonnull ptr @v2sizep(i64 noundef %0) #0 { %2 = tail call i64 @pmap_kextract(i64 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = inttoptr i64 %0 to ptr %6 = tail call i32 @panic(ptr noundef nonnull @.str, ptr noundef %5) #2 br label %7 7: ; preds = %4, %1 %8 = tail call ptr @PHYS_TO_VM_PAGE(i64 noundef %2) #2 %9 = tail call i64 @vm_page_wired(ptr noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %7 %12 = load i64, ptr %8, align 8, !tbaa !5 %13 = load i64, ptr @PQ_NONE, align 8, !tbaa !13 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 br label %16 16: ; preds = %11, %7 %17 = phi i32 [ 0, %7 ], [ %15, %11 ] %18 = tail call i32 @KASSERT(i32 noundef %17, ptr noundef %8) #2 %19 = getelementptr inbounds %struct.vm_page, ptr %8, i64 0, i32 1 ret ptr %19 } declare i64 @pmap_kextract(i64 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @PHYS_TO_VM_PAGE(i64 noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @vm_page_wired(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 = !{!"vm_page", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_memguard.c_v2sizep.c' source_filename = "AnghaBench/freebsd/sys/vm/extr_memguard.c_v2sizep.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 [36 x i8] c"MemGuard detected double-free of %p\00", align 1 @PQ_NONE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @v2sizep], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal nonnull ptr @v2sizep(i64 noundef %0) #0 { %2 = tail call i64 @pmap_kextract(i64 noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = inttoptr i64 %0 to ptr %6 = tail call i32 @panic(ptr noundef nonnull @.str, ptr noundef %5) #2 br label %7 7: ; preds = %4, %1 %8 = tail call ptr @PHYS_TO_VM_PAGE(i64 noundef %2) #2 %9 = tail call i64 @vm_page_wired(ptr noundef %8) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %7 %12 = load i64, ptr %8, align 8, !tbaa !6 %13 = load i64, ptr @PQ_NONE, align 8, !tbaa !14 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 br label %16 16: ; preds = %11, %7 %17 = phi i32 [ 0, %7 ], [ %15, %11 ] %18 = tail call i32 @KASSERT(i32 noundef %17, ptr noundef %8) #2 %19 = getelementptr inbounds i8, ptr %8, i64 8 ret ptr %19 } declare i64 @pmap_kextract(i64 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @PHYS_TO_VM_PAGE(i64 noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @vm_page_wired(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 = !{!"vm_page", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!8, !8, i64 0}
freebsd_sys_vm_extr_memguard.c_v2sizep
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace_events_trigger.c_event_enable_get_trigger_ops.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_trigger.c_event_enable_get_trigger_ops.c" target datalayout = "e-m:e-p270:32:32-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_trigger_ops = type { i32 } @ENABLE_EVENT_STR = dso_local local_unnamed_addr global i32 0, align 4 @event_enable_count_trigger_ops = dso_local global %struct.event_trigger_ops zeroinitializer, align 4 @event_enable_trigger_ops = dso_local global %struct.event_trigger_ops zeroinitializer, align 4 @event_disable_count_trigger_ops = dso_local global %struct.event_trigger_ops zeroinitializer, align 4 @event_disable_trigger_ops = dso_local global %struct.event_trigger_ops zeroinitializer, align 4 @ENABLE_HIST_STR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @event_enable_get_trigger_ops], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal nonnull ptr @event_enable_get_trigger_ops(ptr noundef %0, ptr noundef readnone %1) #0 { %3 = load i32, ptr @ENABLE_EVENT_STR, align 4, !tbaa !5 %4 = tail call i64 @strcmp(ptr noundef %0, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 %6 = icmp eq ptr %1, null %7 = select i1 %6, ptr @event_enable_trigger_ops, ptr @event_enable_count_trigger_ops %8 = select i1 %6, ptr @event_disable_trigger_ops, ptr @event_disable_count_trigger_ops %9 = select i1 %5, ptr %7, ptr %8 ret ptr %9 } declare i64 @strcmp(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/linux/kernel/trace/extr_trace_events_trigger.c_event_enable_get_trigger_ops.c' source_filename = "AnghaBench/linux/kernel/trace/extr_trace_events_trigger.c_event_enable_get_trigger_ops.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.event_trigger_ops = type { i32 } @ENABLE_EVENT_STR = common local_unnamed_addr global i32 0, align 4 @event_enable_count_trigger_ops = common global %struct.event_trigger_ops zeroinitializer, align 4 @event_enable_trigger_ops = common global %struct.event_trigger_ops zeroinitializer, align 4 @event_disable_count_trigger_ops = common global %struct.event_trigger_ops zeroinitializer, align 4 @event_disable_trigger_ops = common global %struct.event_trigger_ops zeroinitializer, align 4 @ENABLE_HIST_STR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @event_enable_get_trigger_ops], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal nonnull ptr @event_enable_get_trigger_ops(ptr noundef %0, ptr noundef readnone %1) #0 { %3 = load i32, ptr @ENABLE_EVENT_STR, align 4, !tbaa !6 %4 = tail call i64 @strcmp(ptr noundef %0, i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 %6 = icmp eq ptr %1, null %7 = select i1 %6, ptr @event_enable_trigger_ops, ptr @event_enable_count_trigger_ops %8 = select i1 %6, ptr @event_disable_trigger_ops, ptr @event_disable_count_trigger_ops %9 = select i1 %5, ptr %7, ptr %8 ret ptr %9 } declare i64 @strcmp(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"}
linux_kernel_trace_extr_trace_events_trigger.c_event_enable_get_trigger_ops
; ModuleID = 'AnghaBench/linux/net/sunrpc/xprtrdma/extr_svc_rdma_recvfrom.c_rdma_read_complete.c' source_filename = "AnghaBench/linux/net/sunrpc/xprtrdma/extr_svc_rdma_recvfrom.c_rdma_read_complete.c" target datalayout = "e-m:e-p270:32:32-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.svc_rqst = type { %struct.TYPE_3__, ptr, ptr, ptr } %struct.TYPE_3__ = type { i32, i32, ptr, ptr, i32, ptr } %struct.svc_rdma_recv_ctxt = type { i32, i64, %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32, i32, ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @rdma_read_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rdma_read_complete(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 %5 = getelementptr inbounds %struct.svc_rqst, ptr %0, i64 0, i32 3 br i1 %4, label %8, label %6 6: ; preds = %2 %7 = load ptr, ptr %5, align 8, !tbaa !13 br label %28 8: ; preds = %2 %9 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 3 %10 = load ptr, ptr %5, align 8, !tbaa !13 br label %11 11: ; preds = %8, %11 %12 = phi ptr [ %10, %8 ], [ %20, %11 ] %13 = phi i64 [ 0, %8 ], [ %22, %11 ] %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 @put_page(i32 noundef %15) #2 %17 = load ptr, ptr %9, align 8, !tbaa !17 %18 = getelementptr inbounds i32, ptr %17, i64 %13 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = load ptr, ptr %5, align 8, !tbaa !13 %21 = getelementptr inbounds i32, ptr %20, i64 %13 store i32 %19, ptr %21, align 4, !tbaa !16 %22 = add nuw nsw i64 %13, 1 %23 = load i32, ptr %1, align 8, !tbaa !5 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %22, %24 br i1 %25, label %11, label %26, !llvm.loop !18 26: ; preds = %11 %27 = and i64 %22, 4294967295 br label %28 28: ; preds = %6, %26 %29 = phi ptr [ %7, %6 ], [ %20, %26 ] %30 = phi i64 [ 0, %6 ], [ %27, %26 ] store i32 0, ptr %1, align 8, !tbaa !5 %31 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 1 %32 = load i64, ptr %31, align 8, !tbaa !20 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 store ptr %33, ptr %34, align 8, !tbaa !21 %35 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 2 %36 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 2, i32 4 %37 = load i32, ptr %36, align 8, !tbaa !22 %38 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store i32 %37, ptr %38, align 8, !tbaa !23 %39 = getelementptr inbounds i32, ptr %29, i64 %30 %40 = getelementptr inbounds %struct.svc_rqst, ptr %0, i64 0, i32 1 store ptr %39, ptr %40, align 8, !tbaa !24 %41 = getelementptr inbounds i32, ptr %39, i64 1 %42 = getelementptr inbounds %struct.svc_rqst, ptr %0, i64 0, i32 2 store ptr %41, ptr %42, align 8, !tbaa !25 %43 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 2, i32 3 %44 = load ptr, ptr %43, align 8, !tbaa !26 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %47 = load ptr, ptr %46, align 8, !tbaa !27 store i32 %45, ptr %47, align 4, !tbaa !16 %48 = getelementptr inbounds %struct.svc_rdma_recv_ctxt, ptr %1, i64 0, i32 2, i32 2 %49 = load ptr, ptr %48, align 8, !tbaa !28 %50 = load i32, ptr %49, align 4, !tbaa !16 %51 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %52 = load ptr, ptr %51, align 8, !tbaa !29 store i32 %50, ptr %52, align 4, !tbaa !16 %53 = load <2 x i32>, ptr %35, align 8, !tbaa !16 store <2 x i32> %53, ptr %0, align 8, !tbaa !16 ret void } declare i32 @put_page(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 = !{!"svc_rdma_recv_ctxt", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 56} !14 = !{!"svc_rqst", !15, i64 0, !12, i64 40, !12, i64 48, !12, i64 56} !15 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32} !16 = !{!7, !7, i64 0} !17 = !{!6, !12, i64 48} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!6, !10, i64 8} !21 = !{!14, !12, i64 32} !22 = !{!6, !7, i64 40} !23 = !{!14, !7, i64 24} !24 = !{!14, !12, i64 40} !25 = !{!14, !12, i64 48} !26 = !{!6, !12, i64 32} !27 = !{!14, !12, i64 16} !28 = !{!6, !12, i64 24} !29 = !{!14, !12, i64 8}
; ModuleID = 'AnghaBench/linux/net/sunrpc/xprtrdma/extr_svc_rdma_recvfrom.c_rdma_read_complete.c' source_filename = "AnghaBench/linux/net/sunrpc/xprtrdma/extr_svc_rdma_recvfrom.c_rdma_read_complete.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 @rdma_read_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rdma_read_complete(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 %5 = getelementptr inbounds i8, ptr %0, i64 56 br i1 %4, label %8, label %6 6: ; preds = %2 %7 = load ptr, ptr %5, align 8, !tbaa !14 br label %28 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 48 %10 = load ptr, ptr %5, align 8, !tbaa !14 br label %11 11: ; preds = %8, %11 %12 = phi ptr [ %10, %8 ], [ %20, %11 ] %13 = phi i64 [ 0, %8 ], [ %22, %11 ] %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = tail call i32 @put_page(i32 noundef %15) #2 %17 = load ptr, ptr %9, align 8, !tbaa !18 %18 = getelementptr inbounds i32, ptr %17, i64 %13 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = load ptr, ptr %5, align 8, !tbaa !14 %21 = getelementptr inbounds i32, ptr %20, i64 %13 store i32 %19, ptr %21, align 4, !tbaa !17 %22 = add nuw nsw i64 %13, 1 %23 = load i32, ptr %1, align 8, !tbaa !6 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %22, %24 br i1 %25, label %11, label %26, !llvm.loop !19 26: ; preds = %11 %27 = and i64 %22, 4294967295 br label %28 28: ; preds = %6, %26 %29 = phi ptr [ %7, %6 ], [ %20, %26 ] %30 = phi i64 [ 0, %6 ], [ %27, %26 ] store i32 0, ptr %1, align 8, !tbaa !6 %31 = getelementptr inbounds i8, ptr %1, i64 8 %32 = load i64, ptr %31, align 8, !tbaa !21 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = getelementptr inbounds i8, ptr %0, i64 32 store ptr %33, ptr %34, align 8, !tbaa !22 %35 = getelementptr inbounds i8, ptr %1, i64 16 %36 = getelementptr inbounds i8, ptr %1, i64 40 %37 = load i32, ptr %36, align 8, !tbaa !23 %38 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %37, ptr %38, align 8, !tbaa !24 %39 = getelementptr inbounds i32, ptr %29, i64 %30 %40 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %39, ptr %40, align 8, !tbaa !25 %41 = getelementptr inbounds i8, ptr %39, i64 4 %42 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %41, ptr %42, align 8, !tbaa !26 %43 = getelementptr inbounds i8, ptr %1, i64 32 %44 = load ptr, ptr %43, align 8, !tbaa !27 %45 = load i32, ptr %44, align 4, !tbaa !17 %46 = getelementptr inbounds i8, ptr %0, i64 16 %47 = load ptr, ptr %46, align 8, !tbaa !28 store i32 %45, ptr %47, align 4, !tbaa !17 %48 = getelementptr inbounds i8, ptr %1, i64 24 %49 = load ptr, ptr %48, align 8, !tbaa !29 %50 = load i32, ptr %49, align 4, !tbaa !17 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load ptr, ptr %51, align 8, !tbaa !30 store i32 %50, ptr %52, align 4, !tbaa !17 %53 = load <2 x i32>, ptr %35, align 8, !tbaa !17 store <2 x i32> %53, ptr %0, align 8, !tbaa !17 ret void } declare i32 @put_page(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 = !{!"svc_rdma_recv_ctxt", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !13, i64 8, !13, i64 16, !8, i64 24} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 56} !15 = !{!"svc_rqst", !16, i64 0, !13, i64 40, !13, i64 48, !13, i64 56} !16 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !13, i64 8, !13, i64 16, !8, i64 24, !13, i64 32} !17 = !{!8, !8, i64 0} !18 = !{!7, !13, i64 48} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!7, !11, i64 8} !22 = !{!15, !13, i64 32} !23 = !{!7, !8, i64 40} !24 = !{!15, !8, i64 24} !25 = !{!15, !13, i64 40} !26 = !{!15, !13, i64 48} !27 = !{!7, !13, i64 32} !28 = !{!15, !13, i64 16} !29 = !{!7, !13, i64 24} !30 = !{!15, !13, i64 8}
linux_net_sunrpc_xprtrdma_extr_svc_rdma_recvfrom.c_rdma_read_complete
; ModuleID = 'AnghaBench/memcached/extr_thread.c_item_link.c' source_filename = "AnghaBench/memcached/extr_thread.c_item_link.c" target datalayout = "e-m:e-p270:32:32-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 @item_link(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ITEM_key(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @hash(i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @item_lock(i32 noundef %4) #2 %6 = tail call i32 @do_item_link(ptr noundef nonnull %0, i32 noundef %4) #2 %7 = tail call i32 @item_unlock(i32 noundef %4) #2 ret i32 %6 } declare i32 @hash(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ITEM_key(ptr noundef) local_unnamed_addr #1 declare i32 @item_lock(i32 noundef) local_unnamed_addr #1 declare i32 @do_item_link(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @item_unlock(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_5__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/memcached/extr_thread.c_item_link.c' source_filename = "AnghaBench/memcached/extr_thread.c_item_link.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 @item_link(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @ITEM_key(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @hash(i32 noundef %2, i32 noundef %3) #2 %5 = tail call i32 @item_lock(i32 noundef %4) #2 %6 = tail call i32 @do_item_link(ptr noundef nonnull %0, i32 noundef %4) #2 %7 = tail call i32 @item_unlock(i32 noundef %4) #2 ret i32 %6 } declare i32 @hash(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ITEM_key(ptr noundef) local_unnamed_addr #1 declare i32 @item_lock(i32 noundef) local_unnamed_addr #1 declare i32 @do_item_link(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @item_unlock(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_5__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
memcached_extr_thread.c_item_link
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_of_device_32.c_of_bus_sbus_get_flags.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_of_device_32.c_of_bus_sbus_get_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IORESOURCE_MEM = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @of_bus_sbus_get_flags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i64 @of_bus_sbus_get_flags(ptr nocapture readnone %0, i64 %1) #0 { %3 = load i64, ptr @IORESOURCE_MEM, align 8, !tbaa !5 ret i64 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_of_device_32.c_of_bus_sbus_get_flags.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_of_device_32.c_of_bus_sbus_get_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IORESOURCE_MEM = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @of_bus_sbus_get_flags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i64 @of_bus_sbus_get_flags(ptr nocapture readnone %0, i64 %1) #0 { %3 = load i64, ptr @IORESOURCE_MEM, align 8, !tbaa !6 ret i64 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_sparc_kernel_extr_of_device_32.c_of_bus_sbus_get_flags
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/extr_mrbc.c_mrb_init_mrbgems.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/extr_mrbc.c_mrb_init_mrbgems.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @mrb_init_mrbgems(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/extr_mrbc.c_mrb_init_mrbgems.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-bin-mrbc/tools/mrbc/extr_mrbc.c_mrb_init_mrbgems.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @mrb_init_mrbgems(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
h2o_deps_mruby_mrbgems_mruby-bin-mrbc_tools_mrbc_extr_mrbc.c_mrb_init_mrbgems
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ixp2000/extr_core.c_ixp2000_GPIO_irq_mask_ack.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ixp2000/extr_core.c_ixp2000_GPIO_irq_mask_ack.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IXP2000_GPIO_INCR = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_IXP2000_GPIO0 = dso_local local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_EDSR = dso_local local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_LDSR = dso_local local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_INST = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ixp2000_GPIO_irq_mask_ack], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ixp2000_GPIO_irq_mask_ack(i32 noundef %0) #0 { %2 = load i32, ptr @IXP2000_GPIO_INCR, align 4, !tbaa !5 %3 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !5 %4 = sub i32 %0, %3 %5 = shl nuw i32 1, %4 %6 = tail call i32 @ixp2000_reg_write(i32 noundef %2, i32 noundef %5) #2 %7 = load i32, ptr @IXP2000_GPIO_EDSR, align 4, !tbaa !5 %8 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !5 %9 = sub i32 %0, %8 %10 = shl nuw i32 1, %9 %11 = tail call i32 @ixp2000_reg_write(i32 noundef %7, i32 noundef %10) #2 %12 = load i32, ptr @IXP2000_GPIO_LDSR, align 4, !tbaa !5 %13 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !5 %14 = sub i32 %0, %13 %15 = shl nuw i32 1, %14 %16 = tail call i32 @ixp2000_reg_write(i32 noundef %12, i32 noundef %15) #2 %17 = load i32, ptr @IXP2000_GPIO_INST, align 4, !tbaa !5 %18 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !5 %19 = sub i32 %0, %18 %20 = shl nuw i32 1, %19 %21 = tail call i32 @ixp2000_reg_wrb(i32 noundef %17, i32 noundef %20) #2 ret void } declare i32 @ixp2000_reg_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixp2000_reg_wrb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-ixp2000/extr_core.c_ixp2000_GPIO_irq_mask_ack.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-ixp2000/extr_core.c_ixp2000_GPIO_irq_mask_ack.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IXP2000_GPIO_INCR = common local_unnamed_addr global i32 0, align 4 @IRQ_IXP2000_GPIO0 = common local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_EDSR = common local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_LDSR = common local_unnamed_addr global i32 0, align 4 @IXP2000_GPIO_INST = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ixp2000_GPIO_irq_mask_ack], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ixp2000_GPIO_irq_mask_ack(i32 noundef %0) #0 { %2 = load i32, ptr @IXP2000_GPIO_INCR, align 4, !tbaa !6 %3 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !6 %4 = sub i32 %0, %3 %5 = shl nuw i32 1, %4 %6 = tail call i32 @ixp2000_reg_write(i32 noundef %2, i32 noundef %5) #2 %7 = load i32, ptr @IXP2000_GPIO_EDSR, align 4, !tbaa !6 %8 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !6 %9 = sub i32 %0, %8 %10 = shl nuw i32 1, %9 %11 = tail call i32 @ixp2000_reg_write(i32 noundef %7, i32 noundef %10) #2 %12 = load i32, ptr @IXP2000_GPIO_LDSR, align 4, !tbaa !6 %13 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !6 %14 = sub i32 %0, %13 %15 = shl nuw i32 1, %14 %16 = tail call i32 @ixp2000_reg_write(i32 noundef %12, i32 noundef %15) #2 %17 = load i32, ptr @IXP2000_GPIO_INST, align 4, !tbaa !6 %18 = load i32, ptr @IRQ_IXP2000_GPIO0, align 4, !tbaa !6 %19 = sub i32 %0, %18 %20 = shl nuw i32 1, %19 %21 = tail call i32 @ixp2000_reg_wrb(i32 noundef %17, i32 noundef %20) #2 ret void } declare i32 @ixp2000_reg_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixp2000_reg_wrb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_arm_mach-ixp2000_extr_core.c_ixp2000_GPIO_irq_mask_ack
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_conex.c_sd_init.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_conex.c_sd_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @sd_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sd_init(ptr noundef %0) #0 { %2 = tail call i32 @cx11646_init1(ptr noundef %0) #2 %3 = tail call i32 @cx11646_initsize(ptr noundef %0) #2 %4 = tail call i32 @cx11646_fw(ptr noundef %0) #2 %5 = tail call i32 @cx_sensor(ptr noundef %0) #2 %6 = tail call i32 @cx11646_jpegInit(ptr noundef %0) #2 ret i32 0 } declare i32 @cx11646_init1(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_initsize(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_fw(ptr noundef) local_unnamed_addr #1 declare i32 @cx_sensor(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_jpegInit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_conex.c_sd_init.c' source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_conex.c_sd_init.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 @sd_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sd_init(ptr noundef %0) #0 { %2 = tail call i32 @cx11646_init1(ptr noundef %0) #2 %3 = tail call i32 @cx11646_initsize(ptr noundef %0) #2 %4 = tail call i32 @cx11646_fw(ptr noundef %0) #2 %5 = tail call i32 @cx_sensor(ptr noundef %0) #2 %6 = tail call i32 @cx11646_jpegInit(ptr noundef %0) #2 ret i32 0 } declare i32 @cx11646_init1(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_initsize(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_fw(ptr noundef) local_unnamed_addr #1 declare i32 @cx_sensor(ptr noundef) local_unnamed_addr #1 declare i32 @cx11646_jpegInit(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_usb_gspca_extr_conex.c_sd_init
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_pulse.c_set_format.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_pulse.c_set_format.c" target datalayout = "e-m:e-p270:32:32-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.pa_channel_map = type { i32 } %struct.format_map = type { i64, i32 } %struct.ao = type { i64, i64, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32 } @PA_ENCODING_PCM = dso_local local_unnamed_addr global i64 0, align 8 @format_maps = dso_local local_unnamed_addr global ptr null, align 8 @AF_FORMAT_UNKNOWN = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [35 x i8] c"Unsupported format, using default\0A\00", align 1 @PA_RATE_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_format], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_format(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.pa_channel_map, align 4 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = tail call i64 @af_fmt_from_planar(i64 noundef %4) #3 store i64 %5, ptr %0, align 8, !tbaa !5 %6 = tail call i64 @map_digital_format(i64 noundef %5) #3 store i64 %6, ptr %1, align 8, !tbaa !12 %7 = load i64, ptr @PA_ENCODING_PCM, align 8, !tbaa !14 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %34 9: ; preds = %2 %10 = load ptr, ptr @format_maps, align 8, !tbaa !15 %11 = load i64, ptr %0, align 8, !tbaa !5 %12 = load i64, ptr %10, align 8, !tbaa !17 %13 = icmp eq i64 %12, %11 br i1 %13, label %28, label %14 14: ; preds = %9 %15 = load i64, ptr @AF_FORMAT_UNKNOWN, align 8, !tbaa !14 br label %16 16: ; preds = %14, %24 %17 = phi i64 [ %12, %14 ], [ %26, %24 ] %18 = phi ptr [ %10, %14 ], [ %25, %24 ] %19 = icmp eq i64 %17, %15 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = tail call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %22 = load ptr, ptr @format_maps, align 8, !tbaa !15 %23 = load i64, ptr %22, align 8, !tbaa !17 br label %28 24: ; preds = %16 %25 = getelementptr inbounds %struct.format_map, ptr %18, i64 1 %26 = load i64, ptr %25, align 8, !tbaa !17 %27 = icmp eq i64 %26, %11 br i1 %27, label %28, label %16, !llvm.loop !19 28: ; preds = %24, %9, %20 %29 = phi i64 [ %23, %20 ], [ %11, %9 ], [ %11, %24 ] %30 = phi ptr [ %22, %20 ], [ %10, %9 ], [ %25, %24 ] store i64 %29, ptr %0, align 8, !tbaa !5 %31 = getelementptr inbounds %struct.format_map, ptr %30, i64 0, i32 1 %32 = load i32, ptr %31, align 8, !tbaa !21 %33 = tail call i32 @pa_format_info_set_sample_format(ptr noundef nonnull %1, i32 noundef %32) #3 br label %34 34: ; preds = %28, %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %35 = call i32 @select_chmap(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %36 = icmp eq i32 %35, 0 br i1 %36, label %52, label %37 37: ; preds = %34 %38 = getelementptr inbounds %struct.ao, ptr %0, i64 0, i32 1 %39 = load i64, ptr %38, align 8, !tbaa !22 %40 = call i32 @pa_format_info_set_rate(ptr noundef nonnull %1, i64 noundef %39) #3 %41 = getelementptr inbounds %struct.ao, ptr %0, i64 0, i32 2 %42 = load i32, ptr %41, align 8, !tbaa !23 %43 = call i32 @pa_format_info_set_channels(ptr noundef nonnull %1, i32 noundef %42) #3 %44 = call i32 @pa_format_info_set_channel_map(ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %45 = load i64, ptr %38, align 8, !tbaa !22 %46 = load i64, ptr @PA_RATE_MAX, align 8, !tbaa !14 %47 = icmp slt i64 %45, %46 br i1 %47, label %48, label %52 48: ; preds = %37 %49 = call i64 @pa_format_info_valid(ptr noundef nonnull %1) #3 %50 = icmp ne i64 %49, 0 %51 = zext i1 %50 to i32 br label %52 52: ; preds = %37, %48, %34 %53 = phi i32 [ 0, %34 ], [ 0, %37 ], [ %51, %48 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %53 } declare i64 @af_fmt_from_planar(i64 noundef) local_unnamed_addr #1 declare i64 @map_digital_format(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @MP_VERBOSE(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_sample_format(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @select_chmap(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_rate(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_channels(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_channel_map(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @pa_format_info_valid(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ao", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_10__", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"format_map", !7, i64 0, !11, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!18, !11, i64 8} !22 = !{!6, !7, i64 8} !23 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/mpv/audio/out/extr_ao_pulse.c_set_format.c' source_filename = "AnghaBench/mpv/audio/out/extr_ao_pulse.c_set_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.pa_channel_map = type { i32 } @PA_ENCODING_PCM = common local_unnamed_addr global i64 0, align 8 @format_maps = common local_unnamed_addr global ptr null, align 8 @AF_FORMAT_UNKNOWN = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [35 x i8] c"Unsupported format, using default\0A\00", align 1 @PA_RATE_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @set_format], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @set_format(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.pa_channel_map, align 4 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = tail call i64 @af_fmt_from_planar(i64 noundef %4) #3 store i64 %5, ptr %0, align 8, !tbaa !6 %6 = tail call i64 @map_digital_format(i64 noundef %5) #3 store i64 %6, ptr %1, align 8, !tbaa !13 %7 = load i64, ptr @PA_ENCODING_PCM, align 8, !tbaa !15 %8 = icmp eq i64 %6, %7 br i1 %8, label %9, label %34 9: ; preds = %2 %10 = load ptr, ptr @format_maps, align 8, !tbaa !16 %11 = load i64, ptr %0, align 8, !tbaa !6 %12 = load i64, ptr %10, align 8, !tbaa !18 %13 = icmp eq i64 %12, %11 br i1 %13, label %28, label %14 14: ; preds = %9 %15 = load i64, ptr @AF_FORMAT_UNKNOWN, align 8, !tbaa !15 br label %16 16: ; preds = %14, %24 %17 = phi i64 [ %12, %14 ], [ %26, %24 ] %18 = phi ptr [ %10, %14 ], [ %25, %24 ] %19 = icmp eq i64 %17, %15 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = tail call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %22 = load ptr, ptr @format_maps, align 8, !tbaa !16 %23 = load i64, ptr %22, align 8, !tbaa !18 br label %28 24: ; preds = %16 %25 = getelementptr inbounds i8, ptr %18, i64 16 %26 = load i64, ptr %25, align 8, !tbaa !18 %27 = icmp eq i64 %26, %11 br i1 %27, label %28, label %16, !llvm.loop !20 28: ; preds = %24, %9, %20 %29 = phi i64 [ %23, %20 ], [ %11, %9 ], [ %11, %24 ] %30 = phi ptr [ %22, %20 ], [ %10, %9 ], [ %25, %24 ] store i64 %29, ptr %0, align 8, !tbaa !6 %31 = getelementptr inbounds i8, ptr %30, i64 8 %32 = load i32, ptr %31, align 8, !tbaa !22 %33 = tail call i32 @pa_format_info_set_sample_format(ptr noundef nonnull %1, i32 noundef %32) #3 br label %34 34: ; preds = %28, %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %35 = call i32 @select_chmap(ptr noundef nonnull %0, ptr noundef nonnull %3) #3 %36 = icmp eq i32 %35, 0 br i1 %36, label %52, label %37 37: ; preds = %34 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = load i64, ptr %38, align 8, !tbaa !23 %40 = call i32 @pa_format_info_set_rate(ptr noundef nonnull %1, i64 noundef %39) #3 %41 = getelementptr inbounds i8, ptr %0, i64 16 %42 = load i32, ptr %41, align 8, !tbaa !24 %43 = call i32 @pa_format_info_set_channels(ptr noundef nonnull %1, i32 noundef %42) #3 %44 = call i32 @pa_format_info_set_channel_map(ptr noundef nonnull %1, ptr noundef nonnull %3) #3 %45 = load i64, ptr %38, align 8, !tbaa !23 %46 = load i64, ptr @PA_RATE_MAX, align 8, !tbaa !15 %47 = icmp slt i64 %45, %46 br i1 %47, label %48, label %52 48: ; preds = %37 %49 = call i64 @pa_format_info_valid(ptr noundef nonnull %1) #3 %50 = icmp ne i64 %49, 0 %51 = zext i1 %50 to i32 br label %52 52: ; preds = %37, %48, %34 %53 = phi i32 [ 0, %34 ], [ 0, %37 ], [ %51, %48 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %53 } declare i64 @af_fmt_from_planar(i64 noundef) local_unnamed_addr #1 declare i64 @map_digital_format(i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @MP_VERBOSE(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_sample_format(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 declare i32 @select_chmap(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_rate(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_channels(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pa_format_info_set_channel_map(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @pa_format_info_valid(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ao", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_10__", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"format_map", !8, i64 0, !12, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!19, !12, i64 8} !23 = !{!7, !8, i64 8} !24 = !{!7, !12, i64 16}
mpv_audio_out_extr_ao_pulse.c_set_format
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-timechart.c_process_exit_poll.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-timechart.c_process_exit_poll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.perf_sample = type { i32, i32 } @.str = private unnamed_addr constant [4 x i8] c"ret\00", align 1 @IOTYPE_POLL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @process_exit_poll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @process_exit_poll(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @perf_evsel__intval(ptr noundef %1, ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = getelementptr inbounds %struct.perf_sample, ptr %2, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr @IOTYPE_POLL, align 4, !tbaa !10 %8 = load i32, ptr %2, align 4, !tbaa !11 %9 = tail call i32 @pid_end_io_sample(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef %8, i64 noundef %4) #2 ret i32 %9 } declare i64 @perf_evsel__intval(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pid_end_io_sample(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"perf_sample", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-timechart.c_process_exit_poll.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-timechart.c_process_exit_poll.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"ret\00", align 1 @IOTYPE_POLL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @process_exit_poll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @process_exit_poll(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i64 @perf_evsel__intval(ptr noundef %1, ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = getelementptr inbounds i8, ptr %2, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr @IOTYPE_POLL, align 4, !tbaa !11 %8 = load i32, ptr %2, align 4, !tbaa !12 %9 = tail call i32 @pid_end_io_sample(ptr noundef %0, i32 noundef %6, i32 noundef %7, i32 noundef %8, i64 noundef %4) #2 ret i32 %9 } declare i64 @perf_evsel__intval(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pid_end_io_sample(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"perf_sample", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
linux_tools_perf_extr_builtin-timechart.c_process_exit_poll
; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-si476x.c_si476x_radio_g_volatile_ctrl.c' source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-si476x.c_si476x_radio_g_volatile_ctrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_ctrl = type { i32, i32, i32 } %struct.si476x_radio = type { i32, ptr } %struct.TYPE_2__ = type { ptr, i32 } @ENOTTY = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @si476x_radio_g_volatile_ctrl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @si476x_radio_g_volatile_ctrl(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.v4l2_ctrl, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call ptr @v4l2_ctrl_handler_to_radio(i32 noundef %3) #2 %5 = load i32, ptr %4, align 8, !tbaa !10 %6 = tail call i32 @si476x_core_lock(i32 noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !13 %8 = icmp eq i32 %7, 128 br i1 %8, label %9, label %35 9: ; preds = %1 %10 = load i32, ptr %4, align 8, !tbaa !10 %11 = tail call i32 @si476x_core_has_diversity(i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %32, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.si476x_radio, ptr %4, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = icmp eq i32 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %13 %20 = load ptr, ptr %15, align 8, !tbaa !17 %21 = load i32, ptr %4, align 8, !tbaa !10 %22 = tail call i32 %20(i32 noundef %21) #2 %23 = icmp slt i32 %22, 0 br i1 %23, label %38, label %24 24: ; preds = %19 %25 = tail call i32 @SI476X_PHDIV_STATUS_LINK_LOCKED(i32 noundef %22) #2 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i32 %28 = getelementptr inbounds %struct.v4l2_ctrl, ptr %0, i64 0, i32 1 store i32 %27, ptr %28, align 4, !tbaa !18 br label %38 29: ; preds = %13 %30 = load i32, ptr @ENOTTY, align 4, !tbaa !19 %31 = sub nsw i32 0, %30 br label %38 32: ; preds = %9 %33 = load i32, ptr @EINVAL, align 4, !tbaa !19 %34 = sub nsw i32 0, %33 br label %38 35: ; preds = %1 %36 = load i32, ptr @EINVAL, align 4, !tbaa !19 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %19, %35, %32, %29, %24 %39 = phi i32 [ %22, %19 ], [ 0, %24 ], [ %31, %29 ], [ %34, %32 ], [ %37, %35 ] %40 = load i32, ptr %4, align 8, !tbaa !10 %41 = tail call i32 @si476x_core_unlock(i32 noundef %40) #2 ret i32 %39 } declare ptr @v4l2_ctrl_handler_to_radio(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_lock(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_has_diversity(i32 noundef) local_unnamed_addr #1 declare i32 @SI476X_PHDIV_STATUS_LINK_LOCKED(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_unlock(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"v4l2_ctrl", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"si476x_radio", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!16, !7, i64 8} !16 = !{!"TYPE_2__", !12, i64 0, !7, i64 8} !17 = !{!16, !12, i64 0} !18 = !{!6, !7, i64 4} !19 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/radio/extr_radio-si476x.c_si476x_radio_g_volatile_ctrl.c' source_filename = "AnghaBench/linux/drivers/media/radio/extr_radio-si476x.c_si476x_radio_g_volatile_ctrl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOTTY = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @si476x_radio_g_volatile_ctrl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @si476x_radio_g_volatile_ctrl(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call ptr @v4l2_ctrl_handler_to_radio(i32 noundef %3) #2 %5 = load i32, ptr %4, align 8, !tbaa !11 %6 = tail call i32 @si476x_core_lock(i32 noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !14 %8 = icmp eq i32 %7, 128 br i1 %8, label %9, label %35 9: ; preds = %1 %10 = load i32, ptr %4, align 8, !tbaa !11 %11 = tail call i32 @si476x_core_has_diversity(i32 noundef %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %32, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %4, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %15, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = icmp eq i32 %17, 0 br i1 %18, label %29, label %19 19: ; preds = %13 %20 = load ptr, ptr %15, align 8, !tbaa !18 %21 = load i32, ptr %4, align 8, !tbaa !11 %22 = tail call i32 %20(i32 noundef %21) #2 %23 = icmp slt i32 %22, 0 br i1 %23, label %38, label %24 24: ; preds = %19 %25 = tail call i32 @SI476X_PHDIV_STATUS_LINK_LOCKED(i32 noundef %22) #2 %26 = icmp ne i32 %25, 0 %27 = zext i1 %26 to i32 %28 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %27, ptr %28, align 4, !tbaa !19 br label %38 29: ; preds = %13 %30 = load i32, ptr @ENOTTY, align 4, !tbaa !20 %31 = sub nsw i32 0, %30 br label %38 32: ; preds = %9 %33 = load i32, ptr @EINVAL, align 4, !tbaa !20 %34 = sub nsw i32 0, %33 br label %38 35: ; preds = %1 %36 = load i32, ptr @EINVAL, align 4, !tbaa !20 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %19, %35, %32, %29, %24 %39 = phi i32 [ %22, %19 ], [ 0, %24 ], [ %31, %29 ], [ %34, %32 ], [ %37, %35 ] %40 = load i32, ptr %4, align 8, !tbaa !11 %41 = tail call i32 @si476x_core_unlock(i32 noundef %40) #2 ret i32 %39 } declare ptr @v4l2_ctrl_handler_to_radio(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_lock(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_has_diversity(i32 noundef) local_unnamed_addr #1 declare i32 @SI476X_PHDIV_STATUS_LINK_LOCKED(i32 noundef) local_unnamed_addr #1 declare i32 @si476x_core_unlock(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"v4l2_ctrl", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"si476x_radio", !8, i64 0, !13, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!17, !8, i64 8} !17 = !{!"TYPE_2__", !13, i64 0, !8, i64 8} !18 = !{!17, !13, i64 0} !19 = !{!7, !8, i64 4} !20 = !{!8, !8, i64 0}
linux_drivers_media_radio_extr_radio-si476x.c_si476x_radio_g_volatile_ctrl
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_hash_resize.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_hash_resize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, ptr } %struct.TYPE_7__ = type { ptr, ptr } @KM_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dtrace_hash_resize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dtrace_hash_resize(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = shl i32 %2, 1 %4 = add nsw i32 %3, -1 %5 = tail call i32 @llvm.ctpop.i32(i32 %3), !range !11 %6 = icmp ult i32 %5, 2 %7 = zext i1 %6 to i32 %8 = tail call i32 @ASSERT(i32 noundef %7) #3 %9 = shl i32 %2, 4 %10 = load i32, ptr @KM_SLEEP, align 4, !tbaa !12 %11 = tail call ptr @kmem_zalloc(i32 noundef %9, i32 noundef %10) #3 %12 = icmp sgt i32 %2, 0 br i1 %12, label %13, label %39 13: ; preds = %1 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %15 = zext nneg i32 %2 to i64 br label %16 16: ; preds = %13, %36 %17 = phi i64 [ 0, %13 ], [ %37, %36 ] %18 = load ptr, ptr %14, align 8, !tbaa !13 %19 = getelementptr inbounds ptr, ptr %18, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %36, label %22 22: ; preds = %16, %22 %23 = phi ptr [ %31, %22 ], [ %20, %16 ] %24 = getelementptr inbounds %struct.TYPE_7__, ptr %23, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = icmp ne ptr %25, null %27 = zext i1 %26 to i32 %28 = tail call i32 @ASSERT(i32 noundef %27) #3 %29 = tail call i32 @DTRACE_HASHSTR(ptr noundef nonnull %0, ptr noundef %25) #3 %30 = and i32 %29, %4 %31 = load ptr, ptr %23, align 8, !tbaa !17 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds ptr, ptr %11, i64 %32 %34 = load ptr, ptr %33, align 8, !tbaa !14 store ptr %34, ptr %23, align 8, !tbaa !17 store ptr %23, ptr %33, align 8, !tbaa !14 %35 = icmp eq ptr %31, null br i1 %35, label %36, label %22, !llvm.loop !18 36: ; preds = %22, %16 %37 = add nuw nsw i64 %17, 1 %38 = icmp eq i64 %37, %15 br i1 %38, label %39, label %16, !llvm.loop !20 39: ; preds = %36, %1 %40 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %41 = load ptr, ptr %40, align 8, !tbaa !13 %42 = load i32, ptr %0, align 8, !tbaa !5 %43 = shl i32 %42, 3 %44 = tail call i32 @kmem_free(ptr noundef %41, i32 noundef %43) #3 store ptr %11, ptr %40, align 8, !tbaa !13 store i32 %3, ptr %0, align 8, !tbaa !5 %45 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 store i32 %4, ptr %45, align 4, !tbaa !21 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare ptr @kmem_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DTRACE_HASHSTR(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.ctpop.i32(i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !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 = !{i32 0, i32 32} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!16, !10, i64 8} !16 = !{!"TYPE_7__", !10, i64 0, !10, i64 8} !17 = !{!16, !10, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_hash_resize.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/dtrace/extr_dtrace.c_dtrace_hash_resize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KM_SLEEP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dtrace_hash_resize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dtrace_hash_resize(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = shl i32 %2, 1 %4 = add nsw i32 %3, -1 %5 = tail call range(i32 0, 32) i32 @llvm.ctpop.i32(i32 %3) %6 = icmp ult i32 %5, 2 %7 = zext i1 %6 to i32 %8 = tail call i32 @ASSERT(i32 noundef %7) #3 %9 = shl i32 %2, 4 %10 = load i32, ptr @KM_SLEEP, align 4, !tbaa !12 %11 = tail call ptr @kmem_zalloc(i32 noundef %9, i32 noundef %10) #3 %12 = icmp sgt i32 %2, 0 br i1 %12, label %13, label %39 13: ; preds = %1 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = zext nneg i32 %2 to i64 br label %16 16: ; preds = %13, %36 %17 = phi i64 [ 0, %13 ], [ %37, %36 ] %18 = load ptr, ptr %14, align 8, !tbaa !13 %19 = getelementptr inbounds ptr, ptr %18, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %36, label %22 22: ; preds = %16, %22 %23 = phi ptr [ %31, %22 ], [ %20, %16 ] %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !15 %26 = icmp ne ptr %25, null %27 = zext i1 %26 to i32 %28 = tail call i32 @ASSERT(i32 noundef %27) #3 %29 = tail call i32 @DTRACE_HASHSTR(ptr noundef nonnull %0, ptr noundef %25) #3 %30 = and i32 %29, %4 %31 = load ptr, ptr %23, align 8, !tbaa !17 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds ptr, ptr %11, i64 %32 %34 = load ptr, ptr %33, align 8, !tbaa !14 store ptr %34, ptr %23, align 8, !tbaa !17 store ptr %23, ptr %33, align 8, !tbaa !14 %35 = icmp eq ptr %31, null br i1 %35, label %36, label %22, !llvm.loop !18 36: ; preds = %22, %16 %37 = add nuw nsw i64 %17, 1 %38 = icmp eq i64 %37, %15 br i1 %38, label %39, label %16, !llvm.loop !20 39: ; preds = %36, %1 %40 = getelementptr inbounds i8, ptr %0, i64 8 %41 = load ptr, ptr %40, align 8, !tbaa !13 %42 = load i32, ptr %0, align 8, !tbaa !6 %43 = shl i32 %42, 3 %44 = tail call i32 @kmem_free(ptr noundef %41, i32 noundef %43) #3 store ptr %11, ptr %40, align 8, !tbaa !13 store i32 %3, ptr %0, align 8, !tbaa !6 %45 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %4, ptr %45, align 4, !tbaa !21 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare ptr @kmem_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DTRACE_HASHSTR(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kmem_free(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.ctpop.i32(i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !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 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"TYPE_7__", !11, i64 0, !11, i64 8} !17 = !{!16, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = !{!7, !8, i64 4}
darwin-xnu_bsd_dev_dtrace_extr_dtrace.c_dtrace_hash_resize
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/controls/extr_combo.c_COMBO_SelectString.c' source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_combo.c_COMBO_SelectString.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32 } @LB_SELECTSTRING = dso_local local_unnamed_addr global i32 0, align 4 @CBF_EDIT = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @COMBO_SelectString], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @COMBO_SelectString(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = icmp eq i64 %3, 0 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i32, ptr @LB_SELECTSTRING, align 4, !tbaa !10 %9 = trunc i64 %1 to i32 br i1 %5, label %12, label %10 10: ; preds = %4 %11 = tail call i64 @SendMessageW(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %2) #2 br label %14 12: ; preds = %4 %13 = tail call i64 @SendMessageA(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %2) #2 br label %14 14: ; preds = %12, %10 %15 = phi i64 [ %11, %10 ], [ %13, %12 ] %16 = icmp sgt i64 %15, -1 br i1 %16, label %17, label %30 17: ; preds = %14 %18 = load i32, ptr %0, align 4, !tbaa !11 %19 = load i32, ptr @CBF_EDIT, align 4, !tbaa !10 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @CBUpdateEdit(ptr noundef nonnull %0, i64 noundef %15) #2 br label %30 24: ; preds = %17 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %26 = load i32, ptr %25, align 4, !tbaa !12 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %28 = load i32, ptr @TRUE, align 4, !tbaa !10 %29 = tail call i32 @InvalidateRect(i32 noundef %26, ptr noundef nonnull %27, i32 noundef %28) #2 br label %30 30: ; preds = %22, %24, %14 %31 = trunc i64 %15 to i32 ret i32 %31 } declare i64 @SendMessageW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @SendMessageA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CBUpdateEdit(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @InvalidateRect(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 12} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/controls/extr_combo.c_COMBO_SelectString.c' source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_combo.c_COMBO_SelectString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LB_SELECTSTRING = common local_unnamed_addr global i32 0, align 4 @CBF_EDIT = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @COMBO_SelectString], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @COMBO_SelectString(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = icmp eq i64 %3, 0 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i32, ptr @LB_SELECTSTRING, align 4, !tbaa !11 %9 = trunc i64 %1 to i32 br i1 %5, label %12, label %10 10: ; preds = %4 %11 = tail call i64 @SendMessageW(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %2) #2 br label %14 12: ; preds = %4 %13 = tail call i64 @SendMessageA(i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %2) #2 br label %14 14: ; preds = %12, %10 %15 = phi i64 [ %11, %10 ], [ %13, %12 ] %16 = icmp sgt i64 %15, -1 br i1 %16, label %17, label %30 17: ; preds = %14 %18 = load i32, ptr %0, align 4, !tbaa !12 %19 = load i32, ptr @CBF_EDIT, align 4, !tbaa !11 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = tail call i32 @CBUpdateEdit(ptr noundef nonnull %0, i64 noundef %15) #2 br label %30 24: ; preds = %17 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i32, ptr %25, align 4, !tbaa !13 %27 = getelementptr inbounds i8, ptr %0, i64 4 %28 = load i32, ptr @TRUE, align 4, !tbaa !11 %29 = tail call i32 @InvalidateRect(i32 noundef %26, ptr noundef nonnull %27, i32 noundef %28) #2 br label %30 30: ; preds = %22, %24, %14 %31 = trunc i64 %15 to i32 ret i32 %31 } declare i64 @SendMessageW(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @SendMessageA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CBUpdateEdit(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @InvalidateRect(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 12} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 8}
reactos_win32ss_user_user32_controls_extr_combo.c_COMBO_SelectString
; ModuleID = 'AnghaBench/exploitdb/exploits/windows_x86-64/local/extr_41020.c_AllocateClipBoard2.c' source_filename = "AnghaBench/exploitdb/exploits/windows_x86-64/local/extr_41020.c_AllocateClipBoard2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GMEM_MOVEABLE = dso_local local_unnamed_addr global i32 0, align 4 @CF_TEXT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @AllocateClipBoard2(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @malloc(i32 noundef %0) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 65, i32 noundef %0) #2 %4 = add i32 %0, -1 %5 = zext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %2, i64 %5 store i32 0, ptr %6, align 4, !tbaa !5 %7 = zext i32 %0 to i64 %8 = load i32, ptr @GMEM_MOVEABLE, align 4, !tbaa !5 %9 = tail call i32 @GlobalAlloc(i32 noundef %8, i64 noundef %7) #2 %10 = tail call i32 @GlobalLock(i32 noundef %9) #2 %11 = tail call i32 @memcpy(i32 noundef %10, ptr noundef %2, i64 noundef %7) #2 %12 = tail call i32 @GlobalUnlock(i32 noundef %9) #2 %13 = load i32, ptr @CF_TEXT, align 4, !tbaa !5 %14 = tail call i32 @SetClipboardData(i32 noundef %13, i32 noundef %9) #2 ret void } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GlobalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @GlobalLock(i32 noundef) local_unnamed_addr #1 declare i32 @GlobalUnlock(i32 noundef) local_unnamed_addr #1 declare i32 @SetClipboardData(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/exploitdb/exploits/windows_x86-64/local/extr_41020.c_AllocateClipBoard2.c' source_filename = "AnghaBench/exploitdb/exploits/windows_x86-64/local/extr_41020.c_AllocateClipBoard2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GMEM_MOVEABLE = common local_unnamed_addr global i32 0, align 4 @CF_TEXT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @AllocateClipBoard2(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @malloc(i32 noundef %0) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 65, i32 noundef %0) #2 %4 = add i32 %0, -1 %5 = zext i32 %4 to i64 %6 = getelementptr inbounds i32, ptr %2, i64 %5 store i32 0, ptr %6, align 4, !tbaa !6 %7 = zext i32 %0 to i64 %8 = load i32, ptr @GMEM_MOVEABLE, align 4, !tbaa !6 %9 = tail call i32 @GlobalAlloc(i32 noundef %8, i64 noundef %7) #2 %10 = tail call i32 @GlobalLock(i32 noundef %9) #2 %11 = tail call i32 @memcpy(i32 noundef %10, ptr noundef %2, i64 noundef %7) #2 %12 = tail call i32 @GlobalUnlock(i32 noundef %9) #2 %13 = load i32, ptr @CF_TEXT, align 4, !tbaa !6 %14 = tail call i32 @SetClipboardData(i32 noundef %13, i32 noundef %9) #2 ret void } declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GlobalAlloc(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @GlobalLock(i32 noundef) local_unnamed_addr #1 declare i32 @GlobalUnlock(i32 noundef) local_unnamed_addr #1 declare i32 @SetClipboardData(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"}
exploitdb_exploits_windows_x86-64_local_extr_41020.c_AllocateClipBoard2
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_zip.c_archive_write_zip_set_compression_deflate.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_zip.c_archive_write_zip_set_compression_deflate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ARCHIVE_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_WRITE_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_NEW = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"archive_write_zip_set_compression_deflate\00", align 1 @ARCHIVE_FORMAT_ZIP = dso_local local_unnamed_addr global i64 0, align 8 @ARCHIVE_ERRNO_MISC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [71 x i8] c"Can only use archive_write_zip_set_compression_deflate with zip format\00", align 1 @ARCHIVE_FATAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"deflate compression not supported\00", align 1 @ARCHIVE_OK = dso_local local_unnamed_addr global i32 0, align 4 @COMPRESSION_DEFLATE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @archive_write_zip_set_compression_deflate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ARCHIVE_WRITE_MAGIC, align 4, !tbaa !5 %3 = load i32, ptr @ARCHIVE_STATE_NEW, align 4, !tbaa !5 %4 = load i32, ptr @ARCHIVE_STATE_HEADER, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @ARCHIVE_STATE_DATA, align 4, !tbaa !5 %7 = or i32 %5, %6 %8 = tail call i32 @archive_check_magic(ptr noundef %0, i32 noundef %2, i32 noundef %7, ptr noundef nonnull @.str) #2 %9 = load i64, ptr %0, align 8, !tbaa !9 %10 = load i64, ptr @ARCHIVE_FORMAT_ZIP, align 8, !tbaa !14 %11 = icmp eq i64 %9, %10 %12 = load i32, ptr @ARCHIVE_ERRNO_MISC, align 4, !tbaa !5 %13 = select i1 %11, ptr @.str.2, ptr @.str.1 %14 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull %13) #2 %15 = load i32, ptr @ARCHIVE_FAILED, align 4 %16 = load i32, ptr @ARCHIVE_FATAL, align 4 %17 = select i1 %11, i32 %15, i32 %16 ret i32 %17 } declare i32 @archive_check_magic(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"archive_write", !11, i64 0, !13, i64 8} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_zip.c_archive_write_zip_set_compression_deflate.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_zip.c_archive_write_zip_set_compression_deflate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ARCHIVE_FAILED = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_WRITE_MAGIC = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_NEW = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_HEADER = common local_unnamed_addr global i32 0, align 4 @ARCHIVE_STATE_DATA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"archive_write_zip_set_compression_deflate\00", align 1 @ARCHIVE_FORMAT_ZIP = common local_unnamed_addr global i64 0, align 8 @ARCHIVE_ERRNO_MISC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [71 x i8] c"Can only use archive_write_zip_set_compression_deflate with zip format\00", align 1 @ARCHIVE_FATAL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"deflate compression not supported\00", align 1 @ARCHIVE_OK = common local_unnamed_addr global i32 0, align 4 @COMPRESSION_DEFLATE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @archive_write_zip_set_compression_deflate(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @ARCHIVE_WRITE_MAGIC, align 4, !tbaa !6 %3 = load i32, ptr @ARCHIVE_STATE_NEW, align 4, !tbaa !6 %4 = load i32, ptr @ARCHIVE_STATE_HEADER, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @ARCHIVE_STATE_DATA, align 4, !tbaa !6 %7 = or i32 %5, %6 %8 = tail call i32 @archive_check_magic(ptr noundef %0, i32 noundef %2, i32 noundef %7, ptr noundef nonnull @.str) #2 %9 = load i64, ptr %0, align 8, !tbaa !10 %10 = load i64, ptr @ARCHIVE_FORMAT_ZIP, align 8, !tbaa !15 %11 = icmp eq i64 %9, %10 %12 = load i32, ptr @ARCHIVE_ERRNO_MISC, align 4, !tbaa !6 %13 = select i1 %11, ptr @.str.2, ptr @.str.1 %14 = tail call i32 @archive_set_error(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull %13) #2 %15 = load i32, ptr @ARCHIVE_FAILED, align 4 %16 = load i32, ptr @ARCHIVE_FATAL, align 4 %17 = select i1 %11, i32 %15, i32 %16 ret i32 %17 } declare i32 @archive_check_magic(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @archive_set_error(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"archive_write", !12, i64 0, !14, i64 8} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !13, i64 0}
freebsd_contrib_libarchive_libarchive_extr_archive_write_set_format_zip.c_archive_write_zip_set_compression_deflate
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_a3d.c_vortex_A3dSourceHw_Initialize.c' source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_a3d.c_vortex_A3dSourceHw_Initialize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @vortex_A3dSourceHw_Initialize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vortex_A3dSourceHw_Initialize(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = shl nsw i32 %2, 2 %6 = add nsw i32 %5, %1 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %7 %9 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %7, i32 2 store ptr %0, ptr %9, align 8, !tbaa !10 store i32 %1, ptr %8, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %7, i32 1 store i32 %2, ptr %10, align 4, !tbaa !14 %11 = tail call i32 @a3dsrc_ZeroState(ptr noundef nonnull %8) #2 %12 = tail call i32 @a3dsrc_SetA3DSampleRate(ptr noundef nonnull %8, i32 noundef 17) #2 ret void } declare i32 @a3dsrc_ZeroState(ptr noundef) local_unnamed_addr #1 declare i32 @a3dsrc_SetA3DSampleRate(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 4, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_a3d.c_vortex_A3dSourceHw_Initialize.c' source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_a3d.c_vortex_A3dSourceHw_Initialize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { i32, i32, ptr } @llvm.used = appending global [1 x ptr] [ptr @vortex_A3dSourceHw_Initialize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vortex_A3dSourceHw_Initialize(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = shl nsw i32 %2, 2 %6 = add nsw i32 %5, %1 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 %7 %9 = getelementptr inbounds i8, ptr %8, i64 8 store ptr %0, ptr %9, align 8, !tbaa !11 store i32 %1, ptr %8, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %8, i64 4 store i32 %2, ptr %10, align 4, !tbaa !15 %11 = tail call i32 @a3dsrc_ZeroState(ptr noundef nonnull %8) #2 %12 = tail call i32 @a3dsrc_SetA3DSampleRate(ptr noundef nonnull %8, i32 noundef 17) #2 ret void } declare i32 @a3dsrc_ZeroState(ptr noundef) local_unnamed_addr #1 declare i32 @a3dsrc_SetA3DSampleRate(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"TYPE_7__", !13, i64 0, !13, i64 4, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!12, !13, i64 4}
linux_sound_pci_au88x0_extr_au88x0_a3d.c_vortex_A3dSourceHw_Initialize
; ModuleID = 'AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_php_worker_run_net_query_packet.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_php_worker_run_net_query_packet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @php_worker_run_net_query_packet(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 switch i32 %3, label %12 [ i32 130, label %4 i32 128, label %6 i32 129, label %8 i32 132, label %10 i32 131, label %10 ] 4: ; preds = %2 %5 = tail call i32 @php_worker_run_mc_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 6: ; preds = %2 %7 = tail call i32 @php_worker_run_sql_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 8: ; preds = %2 %9 = tail call i32 @php_worker_run_rpc_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 10: ; preds = %2, %2 %11 = tail call i32 @php_worker_run_get_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 12: ; preds = %2 %13 = tail call i32 @assert(i32 noundef 0) #2 br label %14 14: ; preds = %12, %10, %8, %6, %4 ret void } declare i32 @php_worker_run_mc_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_sql_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_rpc_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_get_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_php_worker_run_net_query_packet.c' source_filename = "AnghaBench/kphp-kdb/KPHP/extr_php-engine.c_php_worker_run_net_query_packet.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 @php_worker_run_net_query_packet(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 switch i32 %3, label %12 [ i32 130, label %4 i32 128, label %6 i32 129, label %8 i32 132, label %10 i32 131, label %10 ] 4: ; preds = %2 %5 = tail call i32 @php_worker_run_mc_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 6: ; preds = %2 %7 = tail call i32 @php_worker_run_sql_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 8: ; preds = %2 %9 = tail call i32 @php_worker_run_rpc_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 10: ; preds = %2, %2 %11 = tail call i32 @php_worker_run_get_query_packet(ptr noundef %0, ptr noundef nonnull %1) #2 br label %14 12: ; preds = %2 %13 = tail call i32 @assert(i32 noundef 0) #2 br label %14 14: ; preds = %12, %10, %8, %6, %4 ret void } declare i32 @php_worker_run_mc_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_sql_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_rpc_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @php_worker_run_get_query_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
kphp-kdb_KPHP_extr_php-engine.c_php_worker_run_net_query_packet
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_pnd2_edac.c_pnd2_remove.c' source_filename = "AnghaBench/linux/drivers/edac/extr_pnd2_edac.c_pnd2_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @pnd2_mci = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pnd2_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pnd2_remove() #0 { %1 = tail call i32 @edac_dbg(i32 noundef 0, ptr noundef nonnull @.str) #2 %2 = load i32, ptr @pnd2_mci, align 4, !tbaa !5 %3 = tail call i32 @pnd2_unregister_mci(i32 noundef %2) #2 ret void } declare i32 @edac_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pnd2_unregister_mci(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_pnd2_edac.c_pnd2_remove.c' source_filename = "AnghaBench/linux/drivers/edac/extr_pnd2_edac.c_pnd2_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @pnd2_mci = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pnd2_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pnd2_remove() #0 { %1 = tail call i32 @edac_dbg(i32 noundef 0, ptr noundef nonnull @.str) #2 %2 = load i32, ptr @pnd2_mci, align 4, !tbaa !6 %3 = tail call i32 @pnd2_unregister_mci(i32 noundef %2) #2 ret void } declare i32 @edac_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pnd2_unregister_mci(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_edac_extr_pnd2_edac.c_pnd2_remove
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_config_pool.c_find_config.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_config_pool.c_find_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @find_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = tail call ptr @checksum_as_key(ptr noundef %3, ptr noundef %5) #3 %9 = tail call i32 @svn_object_pool__lookup(ptr noundef %0, ptr noundef %1, ptr noundef %8, ptr noundef %4) #3 %10 = tail call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %0, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %23 13: ; preds = %6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %14 = tail call ptr @svn_object_pool__new_item_pool(ptr noundef %1) #3 %15 = load i32, ptr @FALSE, align 4, !tbaa !9 %16 = call i32 @svn_config_parse(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %15, i32 noundef %15, ptr noundef %14) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = load ptr, ptr %7, align 8, !tbaa !5 %19 = call i32 @svn_config__set_read_only(ptr noundef %18, ptr noundef %14) #3 %20 = load ptr, ptr %7, align 8, !tbaa !5 %21 = call i32 @svn_object_pool__insert(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %8, ptr noundef %20, ptr noundef %14, ptr noundef %4) #3 %22 = call i32 @SVN_ERR(i32 noundef %21) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %23 23: ; preds = %13, %6 %24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 ret ptr %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @checksum_as_key(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_object_pool__lookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_object_pool__new_item_pool(ptr noundef) local_unnamed_addr #2 declare i32 @svn_config_parse(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_config__set_read_only(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_object_pool__insert(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_config_pool.c_find_config.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_repos/extr_config_pool.c_find_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FALSE = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @find_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = tail call ptr @checksum_as_key(ptr noundef %3, ptr noundef %5) #3 %9 = tail call i32 @svn_object_pool__lookup(ptr noundef %0, ptr noundef %1, ptr noundef %8, ptr noundef %4) #3 %10 = tail call i32 @SVN_ERR(i32 noundef %9) #3 %11 = load ptr, ptr %0, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %23 13: ; preds = %6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %14 = tail call ptr @svn_object_pool__new_item_pool(ptr noundef %1) #3 %15 = load i32, ptr @FALSE, align 4, !tbaa !10 %16 = call i32 @svn_config_parse(ptr noundef nonnull %7, ptr noundef %2, i32 noundef %15, i32 noundef %15, ptr noundef %14) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = load ptr, ptr %7, align 8, !tbaa !6 %19 = call i32 @svn_config__set_read_only(ptr noundef %18, ptr noundef %14) #3 %20 = load ptr, ptr %7, align 8, !tbaa !6 %21 = call i32 @svn_object_pool__insert(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %8, ptr noundef %20, ptr noundef %14, ptr noundef %4) #3 %22 = call i32 @SVN_ERR(i32 noundef %21) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %23 23: ; preds = %13, %6 %24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 ret ptr %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @checksum_as_key(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_object_pool__lookup(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_object_pool__new_item_pool(ptr noundef) local_unnamed_addr #2 declare i32 @svn_config_parse(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_config__set_read_only(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_object_pool__insert(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
freebsd_contrib_subversion_subversion_libsvn_repos_extr_config_pool.c_find_config
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_read_counter.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_read_counter.c" target datalayout = "e-m:e-p270:32:32-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 @uncore_read_counter], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @uncore_read_counter(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = tail call i32 %6(ptr noundef nonnull %0, ptr noundef %1) #1 ret i32 %7 } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"intel_uncore_box", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_5__", !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_4__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_read_counter.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/cpu/extr_perf_event_intel_uncore.h_uncore_read_counter.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 @uncore_read_counter], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @uncore_read_counter(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load ptr, ptr %5, align 8, !tbaa !15 %7 = tail call i32 %6(ptr noundef nonnull %0, ptr noundef %1) #1 ret i32 %7 } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"intel_uncore_box", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_5__", !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_4__", !8, i64 0}
fastsocket_kernel_arch_x86_kernel_cpu_extr_perf_event_intel_uncore.h_uncore_read_counter
; ModuleID = 'AnghaBench/nginx/src/core/extr_nginx.c_ngx_cleanup_environment.c' source_filename = "AnghaBench/nginx/src/core/extr_nginx.c_ngx_cleanup_environment.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @environ = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_cleanup_environment], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ngx_cleanup_environment(ptr noundef %0) #0 { %2 = load ptr, ptr @environ, align 8, !tbaa !5 %3 = icmp eq ptr %2, %0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ngx_free(ptr noundef %0) #2 br label %6 6: ; preds = %1, %4 ret void } declare i32 @ngx_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/nginx/src/core/extr_nginx.c_ngx_cleanup_environment.c' source_filename = "AnghaBench/nginx/src/core/extr_nginx.c_ngx_cleanup_environment.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @environ = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ngx_cleanup_environment], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ngx_cleanup_environment(ptr noundef %0) #0 { %2 = load ptr, ptr @environ, align 8, !tbaa !6 %3 = icmp eq ptr %2, %0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @ngx_free(ptr noundef %0) #2 br label %6 6: ; preds = %1, %4 ret void } declare i32 @ngx_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
nginx_src_core_extr_nginx.c_ngx_cleanup_environment
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/hexon38/keymaps/default/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/hexon38/keymaps/default/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/handwired/hexon38/keymaps/default/extr_keymap.c_matrix_scan_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/handwired/hexon38/keymaps/default/extr_keymap.c_matrix_scan_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @matrix_scan_user() local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_handwired_hexon38_keymaps_default_extr_keymap.c_matrix_scan_user
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_webp.c_inv_predict_2.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_webp.c_inv_predict_2.c" target datalayout = "e-m:e-p270:32:32-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 @inv_predict_2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @inv_predict_2(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call i32 @AV_COPY32(ptr noundef %0, ptr noundef %3) #2 ret void } declare i32 @AV_COPY32(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_webp.c_inv_predict_2.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_webp.c_inv_predict_2.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 @inv_predict_2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @inv_predict_2(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr noundef %3, ptr nocapture readnone %4) #0 { %6 = tail call i32 @AV_COPY32(ptr noundef %0, ptr noundef %3) #2 ret void } declare i32 @AV_COPY32(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)"}
FFmpeg_libavcodec_extr_webp.c_inv_predict_2
; ModuleID = 'AnghaBench/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_get_callback.c' source_filename = "AnghaBench/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_get_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local noundef i32 @ASYNC_WAIT_CTX_get_callback(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %3 store ptr %5, ptr %1, align 8, !tbaa !10 %8 = load ptr, ptr %0, align 8, !tbaa !11 store ptr %8, ptr %2, align 8, !tbaa !10 br label %9 9: ; preds = %3, %7 %10 = phi i32 [ 1, %7 ], [ 0, %3 ] ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_get_callback.c' source_filename = "AnghaBench/openssl/crypto/async/extr_async_wait.c_ASYNC_WAIT_CTX_get_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define range(i32 0, 2) i32 @ASYNC_WAIT_CTX_get_callback(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %3 store ptr %5, ptr %1, align 8, !tbaa !11 %8 = load ptr, ptr %0, align 8, !tbaa !12 store ptr %8, ptr %2, align 8, !tbaa !11 br label %9 9: ; preds = %3, %7 %10 = phi i32 [ 1, %7 ], [ 0, %3 ] ret i32 %10 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 0}
openssl_crypto_async_extr_async_wait.c_ASYNC_WAIT_CTX_get_callback
; ModuleID = 'AnghaBench/esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/extr_spp_task.c_spp_task_task_shut_down.c' source_filename = "AnghaBench/esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/extr_spp_task.c_spp_task_task_shut_down.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @spp_task_task_handle = dso_local local_unnamed_addr global ptr null, align 8 @spp_task_task_queue = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @spp_task_task_shut_down() local_unnamed_addr #0 { %1 = load ptr, ptr @spp_task_task_handle, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @vTaskDelete(ptr noundef nonnull %1) #2 store ptr null, ptr @spp_task_task_handle, align 8, !tbaa !5 br label %5 5: ; preds = %3, %0 %6 = load ptr, ptr @spp_task_task_queue, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @vQueueDelete(ptr noundef nonnull %6) #2 store ptr null, ptr @spp_task_task_queue, align 8, !tbaa !5 br label %10 10: ; preds = %8, %5 ret void } declare i32 @vTaskDelete(ptr noundef) local_unnamed_addr #1 declare i32 @vQueueDelete(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/esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/extr_spp_task.c_spp_task_task_shut_down.c' source_filename = "AnghaBench/esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/extr_spp_task.c_spp_task_task_shut_down.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spp_task_task_handle = common local_unnamed_addr global ptr null, align 8 @spp_task_task_queue = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @spp_task_task_shut_down() local_unnamed_addr #0 { %1 = load ptr, ptr @spp_task_task_handle, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @vTaskDelete(ptr noundef nonnull %1) #2 store ptr null, ptr @spp_task_task_handle, align 8, !tbaa !6 br label %5 5: ; preds = %3, %0 %6 = load ptr, ptr @spp_task_task_queue, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @vQueueDelete(ptr noundef nonnull %6) #2 store ptr null, ptr @spp_task_task_queue, align 8, !tbaa !6 br label %10 10: ; preds = %8, %5 ret void } declare i32 @vTaskDelete(ptr noundef) local_unnamed_addr #1 declare i32 @vQueueDelete(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"}
esp-idf_examples_bluetooth_bluedroid_classic_bt_bt_spp_vfs_initiator_main_extr_spp_task.c_spp_task_task_shut_down
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_synch.h_mtx_destroy.c' source_filename = "AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_synch.h_mtx_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 @mtx_destroy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @mtx_destroy(ptr noundef %0) #0 { %2 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @PJDLOG_ASSERT(i32 noundef %4) #2 ret void } declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @PJDLOG_ASSERT(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/freebsd/contrib/openbsm/bin/auditdistd/extr_synch.h_mtx_destroy.c' source_filename = "AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_synch.h_mtx_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 @mtx_destroy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @mtx_destroy(ptr noundef %0) #0 { %2 = tail call i32 @pthread_mutex_destroy(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @PJDLOG_ASSERT(i32 noundef %4) #2 ret void } declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @PJDLOG_ASSERT(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)"}
freebsd_contrib_openbsm_bin_auditdistd_extr_synch.h_mtx_destroy
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libparse/extr_trim_info.c_trimble_convert.c' source_filename = "AnghaBench/freebsd/contrib/ntp/libparse/extr_trim_info.c_trimble_convert.c" target datalayout = "e-m:e-p270:32:32-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 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local ptr @trimble_convert(i32 noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, 255 br i1 %4, label %16, label %10 5: ; preds = %10 %6 = add nuw i64 %11, 1 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = icmp eq i32 %8, 255 br i1 %9, label %16, label %10, !llvm.loop !10 10: ; preds = %2, %5 %11 = phi i64 [ %6, %5 ], [ 0, %2 ] %12 = phi i32 [ %8, %5 ], [ %3, %2 ] %13 = icmp eq i32 %12, %0 br i1 %13, label %14, label %5 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 %11 br label %16 16: ; preds = %5, %2, %14 %17 = phi ptr [ %15, %14 ], [ null, %2 ], [ null, %5 ] ret ptr %17 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !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"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/libparse/extr_trim_info.c_trimble_convert.c' source_filename = "AnghaBench/freebsd/contrib/ntp/libparse/extr_trim_info.c_trimble_convert.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 } ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define ptr @trimble_convert(i32 noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, 255 br i1 %4, label %16, label %10 5: ; preds = %10 %6 = add nuw nsw i64 %11, 1 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = icmp eq i32 %8, 255 br i1 %9, label %16, label %10, !llvm.loop !11 10: ; preds = %2, %5 %11 = phi i64 [ %6, %5 ], [ 0, %2 ] %12 = phi i32 [ %8, %5 ], [ %3, %2 ] %13 = icmp eq i32 %12, %0 br i1 %13, label %14, label %5 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 %11 br label %16 16: ; preds = %5, %2, %14 %17 = phi ptr [ %15, %14 ], [ null, %2 ], [ null, %5 ] ret ptr %17 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ntp_libparse_extr_trim_info.c_trimble_convert
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/extr_ethoc.c_ethoc_mdio_write.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/extr_ethoc.c_ethoc_mdio_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MIIADDRESS = dso_local local_unnamed_addr global i32 0, align 4 @MIITX_DATA = dso_local local_unnamed_addr global i32 0, align 4 @MIICOMMAND = dso_local local_unnamed_addr global i32 0, align 4 @MIICOMMAND_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @MIISTATUS = dso_local local_unnamed_addr global i32 0, align 4 @MIISTATUS_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ethoc_mdio_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ethoc_mdio_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = load i32, ptr @MIIADDRESS, align 4, !tbaa !10 %7 = tail call i32 @MIIADDRESS_ADDR(i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @MIITX_DATA, align 4, !tbaa !10 %10 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %9, i32 noundef %3) #2 %11 = load i32, ptr @MIICOMMAND, align 4, !tbaa !10 %12 = load i32, ptr @MIICOMMAND_WRITE, align 4, !tbaa !10 %13 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @MIISTATUS, align 4, !tbaa !10 %15 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %14) #2 %16 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !10 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %43, %36, %29, %22, %4 %20 = load i32, ptr @MIICOMMAND, align 4, !tbaa !10 %21 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %20, i32 noundef 0) #2 br label %54 22: ; preds = %4 %23 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %24 = load i32, ptr @MIISTATUS, align 4, !tbaa !10 %25 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %24) #2 %26 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !10 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 br i1 %28, label %19, label %29 29: ; preds = %22 %30 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %31 = load i32, ptr @MIISTATUS, align 4, !tbaa !10 %32 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %31) #2 %33 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !10 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %19, label %36 36: ; preds = %29 %37 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %38 = load i32, ptr @MIISTATUS, align 4, !tbaa !10 %39 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %38) #2 %40 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !10 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %19, label %43 43: ; preds = %36 %44 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %45 = load i32, ptr @MIISTATUS, align 4, !tbaa !10 %46 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %45) #2 %47 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !10 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %19, label %50 50: ; preds = %43 %51 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %52 = load i32, ptr @EBUSY, align 4, !tbaa !10 %53 = sub nsw i32 0, %52 br label %54 54: ; preds = %19, %50 %55 = phi i32 [ %53, %50 ], [ 0, %19 ] ret i32 %55 } declare i32 @ethoc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MIIADDRESS_ADDR(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usleep_range(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 = !{!"mii_bus", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/extr_ethoc.c_ethoc_mdio_write.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/extr_ethoc.c_ethoc_mdio_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MIIADDRESS = common local_unnamed_addr global i32 0, align 4 @MIITX_DATA = common local_unnamed_addr global i32 0, align 4 @MIICOMMAND = common local_unnamed_addr global i32 0, align 4 @MIICOMMAND_WRITE = common local_unnamed_addr global i32 0, align 4 @MIISTATUS = common local_unnamed_addr global i32 0, align 4 @MIISTATUS_BUSY = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ethoc_mdio_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ethoc_mdio_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = load i32, ptr @MIIADDRESS, align 4, !tbaa !11 %7 = tail call i32 @MIIADDRESS_ADDR(i32 noundef %1, i32 noundef %2) #2 %8 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @MIITX_DATA, align 4, !tbaa !11 %10 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %9, i32 noundef %3) #2 %11 = load i32, ptr @MIICOMMAND, align 4, !tbaa !11 %12 = load i32, ptr @MIICOMMAND_WRITE, align 4, !tbaa !11 %13 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @MIISTATUS, align 4, !tbaa !11 %15 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %14) #2 %16 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !11 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %43, %36, %29, %22, %4 %20 = load i32, ptr @MIICOMMAND, align 4, !tbaa !11 %21 = tail call i32 @ethoc_write(ptr noundef %5, i32 noundef %20, i32 noundef 0) #2 br label %54 22: ; preds = %4 %23 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %24 = load i32, ptr @MIISTATUS, align 4, !tbaa !11 %25 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %24) #2 %26 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !11 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 br i1 %28, label %19, label %29 29: ; preds = %22 %30 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %31 = load i32, ptr @MIISTATUS, align 4, !tbaa !11 %32 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %31) #2 %33 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !11 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %19, label %36 36: ; preds = %29 %37 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %38 = load i32, ptr @MIISTATUS, align 4, !tbaa !11 %39 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %38) #2 %40 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !11 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %19, label %43 43: ; preds = %36 %44 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %45 = load i32, ptr @MIISTATUS, align 4, !tbaa !11 %46 = tail call i32 @ethoc_read(ptr noundef %5, i32 noundef %45) #2 %47 = load i32, ptr @MIISTATUS_BUSY, align 4, !tbaa !11 %48 = and i32 %47, %46 %49 = icmp eq i32 %48, 0 br i1 %49, label %19, label %50 50: ; preds = %43 %51 = tail call i32 @usleep_range(i32 noundef 100, i32 noundef 200) #2 %52 = load i32, ptr @EBUSY, align 4, !tbaa !11 %53 = sub nsw i32 0, %52 br label %54 54: ; preds = %19, %50 %55 = phi i32 [ %53, %50 ], [ 0, %19 ] ret i32 %55 } declare i32 @ethoc_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MIIADDRESS_ADDR(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @usleep_range(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 = !{!"mii_bus", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_extr_ethoc.c_ethoc_mdio_write
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_pcie.c_mwifiex_pcie_card_reset_work.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_pcie.c_mwifiex_pcie_card_reset_work.c" target datalayout = "e-m:e-p270:32:32-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 @mwifiex_pcie_card_reset_work], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mwifiex_pcie_card_reset_work(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr %2, align 4, !tbaa !10 %4 = tail call i32 @pci_try_reset_function(i32 noundef %3) #2 ret void } declare i32 @pci_try_reset_function(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 = !{!"mwifiex_adapter", !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 = !{!"pcie_service_card", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_pcie.c_mwifiex_pcie_card_reset_work.c' source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_pcie.c_mwifiex_pcie_card_reset_work.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 @mwifiex_pcie_card_reset_work], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mwifiex_pcie_card_reset_work(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr %2, align 4, !tbaa !11 %4 = tail call i32 @pci_try_reset_function(i32 noundef %3) #2 ret void } declare i32 @pci_try_reset_function(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 = !{!"mwifiex_adapter", !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 = !{!"pcie_service_card", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_net_wireless_marvell_mwifiex_extr_pcie.c_mwifiex_pcie_card_reset_work
; ModuleID = 'AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_dsp.c_sglist_add_mapping.c' source_filename = "AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_dsp.c_sglist_add_mapping.c" target datalayout = "e-m:e-p270:32:32-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.audiopipe = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } %struct.sg_entry = type { ptr, ptr } @MAX_SGLIST_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"SGlist: too many fragments\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sglist_add_mapping], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sglist_add_mapping(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = load i32, ptr %1, align 8, !tbaa !5 %6 = load i32, ptr @MAX_SGLIST_ENTRIES, align 4, !tbaa !12 %7 = add nsw i32 %6, -1 %8 = icmp slt i32 %5, %7 br i1 %8, label %9, label %20 9: ; preds = %4 %10 = getelementptr inbounds %struct.audiopipe, ptr %1, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = inttoptr i64 %11 to ptr %13 = tail call ptr @cpu_to_le32(i64 noundef %2) #2 %14 = sext i32 %5 to i64 %15 = getelementptr inbounds %struct.sg_entry, ptr %12, i64 %14 %16 = getelementptr inbounds %struct.sg_entry, ptr %12, i64 %14, i32 1 store ptr %13, ptr %16, align 8, !tbaa !14 %17 = tail call ptr @cpu_to_le32(i64 noundef %3) #2 store ptr %17, ptr %15, align 8, !tbaa !17 %18 = load i32, ptr %1, align 8, !tbaa !5 %19 = add nsw i32 %18, 1 store i32 %19, ptr %1, align 8, !tbaa !5 br label %26 20: ; preds = %4 %21 = load ptr, ptr %0, align 8, !tbaa !18 %22 = load i32, ptr %21, align 4, !tbaa !20 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %9, %20 %27 = phi i32 [ 0, %9 ], [ %25, %20 ] ret i32 %27 } declare ptr @cpu_to_le32(i64 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 = !{!"audiopipe", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !11, i64 8} !14 = !{!15, !16, i64 8} !15 = !{!"sg_entry", !16, i64 0, !16, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!15, !16, i64 0} !18 = !{!19, !16, i64 0} !19 = !{!"echoaudio", !16, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_dsp.c_sglist_add_mapping.c' source_filename = "AnghaBench/linux/sound/pci/echoaudio/extr_echoaudio_dsp.c_sglist_add_mapping.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.sg_entry = type { ptr, ptr } @MAX_SGLIST_ENTRIES = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"SGlist: too many fragments\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sglist_add_mapping], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @sglist_add_mapping(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = load i32, ptr %1, align 8, !tbaa !6 %6 = load i32, ptr @MAX_SGLIST_ENTRIES, align 4, !tbaa !13 %7 = add nsw i32 %6, -1 %8 = icmp slt i32 %5, %7 br i1 %8, label %9, label %20 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = inttoptr i64 %11 to ptr %13 = tail call ptr @cpu_to_le32(i64 noundef %2) #2 %14 = sext i32 %5 to i64 %15 = getelementptr inbounds %struct.sg_entry, ptr %12, i64 %14 %16 = getelementptr inbounds i8, ptr %15, i64 8 store ptr %13, ptr %16, align 8, !tbaa !15 %17 = tail call ptr @cpu_to_le32(i64 noundef %3) #2 store ptr %17, ptr %15, align 8, !tbaa !18 %18 = load i32, ptr %1, align 8, !tbaa !6 %19 = add nsw i32 %18, 1 store i32 %19, ptr %1, align 8, !tbaa !6 br label %26 20: ; preds = %4 %21 = load ptr, ptr %0, align 8, !tbaa !19 %22 = load i32, ptr %21, align 4, !tbaa !21 %23 = tail call i32 @dev_err(i32 noundef %22, ptr noundef nonnull @.str) #2 %24 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %25 = sub nsw i32 0, %24 br label %26 26: ; preds = %9, %20 %27 = phi i32 [ 0, %9 ], [ %25, %20 ] ret i32 %27 } declare ptr @cpu_to_le32(i64 noundef) local_unnamed_addr #1 declare i32 @dev_err(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 = !{!"audiopipe", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !12, i64 8} !15 = !{!16, !17, i64 8} !16 = !{!"sg_entry", !17, i64 0, !17, i64 8} !17 = !{!"any pointer", !9, i64 0} !18 = !{!16, !17, i64 0} !19 = !{!20, !17, i64 0} !20 = !{!"echoaudio", !17, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_3__", !8, i64 0}
linux_sound_pci_echoaudio_extr_echoaudio_dsp.c_sglist_add_mapping
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_ip_tunnel.c_ip_tunnel_newlink.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_ip_tunnel.c_ip_tunnel_newlink.c" target datalayout = "e-m:e-p270:32:32-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.ip_tunnel = type { %struct.ip_tunnel_parm, i32 } %struct.ip_tunnel_parm = type { i32 } %struct.net_device = type { i64, i32 } @EEXIST = dso_local local_unnamed_addr global i32 0, align 4 @ARPHRD_ETHER = dso_local local_unnamed_addr global i64 0, align 8 @IFLA_ADDRESS = dso_local local_unnamed_addr global i64 0, align 8 @IFLA_MTU = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @ip_tunnel_newlink(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_net(ptr noundef %0) #2 %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.ip_tunnel, ptr %5, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call ptr @net_generic(ptr noundef %4, i32 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !11 %10 = tail call i64 @ip_tunnel_find(ptr noundef %8, ptr noundef %2, i64 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr @EEXIST, align 4, !tbaa !14 %14 = sub nsw i32 0, %13 br label %40 15: ; preds = %3 %16 = load i32, ptr %2, align 4, !tbaa !14 store i32 %16, ptr %5, align 4, !tbaa !14 %17 = tail call i32 @register_netdevice(ptr noundef nonnull %0) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %15 %20 = load i64, ptr %0, align 8, !tbaa !11 %21 = load i64, ptr @ARPHRD_ETHER, align 8, !tbaa !15 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = load i64, ptr @IFLA_ADDRESS, align 8, !tbaa !15 %25 = getelementptr inbounds ptr, ptr %1, i64 %24 %26 = load ptr, ptr %25, align 8, !tbaa !16 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %23 %29 = tail call i32 @eth_hw_addr_random(ptr noundef nonnull %0) #2 br label %30 30: ; preds = %28, %23, %19 %31 = tail call i32 @ip_tunnel_bind_dev(ptr noundef nonnull %0) #2 %32 = load i64, ptr @IFLA_MTU, align 8, !tbaa !15 %33 = getelementptr inbounds ptr, ptr %1, i64 %32 %34 = load ptr, ptr %33, align 8, !tbaa !16 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %30 %37 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 store i32 %31, ptr %37, align 8, !tbaa !18 br label %38 38: ; preds = %36, %30 %39 = tail call i32 @ip_tunnel_add(ptr noundef %8, ptr noundef nonnull %5) #2 br label %40 40: ; preds = %38, %15, %12 %41 = phi i32 [ %14, %12 ], [ %17, %15 ], [ 0, %38 ] ret i32 %41 } declare ptr @dev_net(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ip_tunnel_find(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @register_netdevice(ptr noundef) local_unnamed_addr #1 declare i32 @eth_hw_addr_random(ptr noundef) local_unnamed_addr #1 declare i32 @ip_tunnel_bind_dev(ptr noundef) local_unnamed_addr #1 declare i32 @ip_tunnel_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, !8, i64 4} !6 = !{!"ip_tunnel", !7, i64 0, !8, i64 4} !7 = !{!"ip_tunnel_parm", !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 = !{!"net_device", !13, i64 0, !8, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!12, !8, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_ip_tunnel.c_ip_tunnel_newlink.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_ip_tunnel.c_ip_tunnel_newlink.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EEXIST = common local_unnamed_addr global i32 0, align 4 @ARPHRD_ETHER = common local_unnamed_addr global i64 0, align 8 @IFLA_ADDRESS = common local_unnamed_addr global i64 0, align 8 @IFLA_MTU = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ip_tunnel_newlink(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_net(ptr noundef %0) #2 %5 = tail call ptr @netdev_priv(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %5, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call ptr @net_generic(ptr noundef %4, i32 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !12 %10 = tail call i64 @ip_tunnel_find(ptr noundef %8, ptr noundef %2, i64 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr @EEXIST, align 4, !tbaa !15 %14 = sub nsw i32 0, %13 br label %40 15: ; preds = %3 %16 = load i32, ptr %2, align 4, !tbaa !15 store i32 %16, ptr %5, align 4, !tbaa !15 %17 = tail call i32 @register_netdevice(ptr noundef nonnull %0) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %15 %20 = load i64, ptr %0, align 8, !tbaa !12 %21 = load i64, ptr @ARPHRD_ETHER, align 8, !tbaa !16 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %30 23: ; preds = %19 %24 = load i64, ptr @IFLA_ADDRESS, align 8, !tbaa !16 %25 = getelementptr inbounds ptr, ptr %1, i64 %24 %26 = load ptr, ptr %25, align 8, !tbaa !17 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %30 28: ; preds = %23 %29 = tail call i32 @eth_hw_addr_random(ptr noundef nonnull %0) #2 br label %30 30: ; preds = %28, %23, %19 %31 = tail call i32 @ip_tunnel_bind_dev(ptr noundef nonnull %0) #2 %32 = load i64, ptr @IFLA_MTU, align 8, !tbaa !16 %33 = getelementptr inbounds ptr, ptr %1, i64 %32 %34 = load ptr, ptr %33, align 8, !tbaa !17 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %30 %37 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %31, ptr %37, align 8, !tbaa !19 br label %38 38: ; preds = %36, %30 %39 = tail call i32 @ip_tunnel_add(ptr noundef %8, ptr noundef nonnull %5) #2 br label %40 40: ; preds = %38, %15, %12 %41 = phi i32 [ %14, %12 ], [ %17, %15 ], [ 0, %38 ] ret i32 %41 } declare ptr @dev_net(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ip_tunnel_find(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @register_netdevice(ptr noundef) local_unnamed_addr #1 declare i32 @eth_hw_addr_random(ptr noundef) local_unnamed_addr #1 declare i32 @ip_tunnel_bind_dev(ptr noundef) local_unnamed_addr #1 declare i32 @ip_tunnel_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, !9, i64 4} !7 = !{!"ip_tunnel", !8, i64 0, !9, i64 4} !8 = !{!"ip_tunnel_parm", !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 = !{!"net_device", !14, i64 0, !9, i64 8} !14 = !{!"long", !10, i64 0} !15 = !{!9, !9, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"any pointer", !10, i64 0} !19 = !{!13, !9, i64 8}
fastsocket_kernel_net_ipv4_extr_ip_tunnel.c_ip_tunnel_newlink
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libfat/extr_directory.c__FAT_directory_entryFromPath.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libfat/extr_directory.c__FAT_directory_entryFromPath.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i64, i64 } %struct.TYPE_13__ = type { ptr, ptr } @MAX_ALIAS_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @DIR_SEPARATOR = dso_local local_unnamed_addr constant i8 0, align 1 @NAME_MAX = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @DIR_ENTRY_attributes = dso_local local_unnamed_addr global i64 0, align 8 @ATTRIB_DIR = dso_local local_unnamed_addr global i32 0, align 4 @CLUSTER_ROOT = dso_local local_unnamed_addr global i64 0, align 8 @FS_FAT32 = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @_FAT_directory_entryFromPath(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef readnone %3) local_unnamed_addr #0 { %5 = load i32, ptr @MAX_ALIAS_LENGTH, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 16 %8 = icmp eq ptr %3, null br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call ptr @strchr(ptr noundef %2, i8 noundef signext 0) #3 br label %11 11: ; preds = %9, %4 %12 = phi ptr [ %10, %9 ], [ %3, %4 ] %13 = load i8, ptr %2, align 1, !tbaa !9 %14 = icmp eq i8 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load i64, ptr %0, align 8, !tbaa !10 br label %17 17: ; preds = %15, %17 %18 = phi ptr [ %2, %15 ], [ %19, %17 ] %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1, !tbaa !9 %21 = icmp eq i8 %20, 0 br i1 %21, label %17, label %22, !llvm.loop !13 22: ; preds = %17 %23 = icmp ult ptr %19, %12 br i1 %23, label %29, label %27 24: ; preds = %11 %25 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 1 %26 = load i64, ptr %25, align 8, !tbaa !15 br label %29 27: ; preds = %22 %28 = tail call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef %1) #3 br label %132 29: ; preds = %22, %24 %30 = phi ptr [ %2, %24 ], [ %19, %22 ] %31 = phi i64 [ %26, %24 ], [ %16, %22 ] %32 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 br label %33 33: ; preds = %29, %127 %34 = phi i64 [ %31, %29 ], [ %129, %127 ] %35 = phi ptr [ %30, %29 ], [ %128, %127 ] %36 = call ptr @strchr(ptr noundef %35, i8 noundef signext 0) #3 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %42 38: ; preds = %33 %39 = ptrtoint ptr %36 to i64 %40 = ptrtoint ptr %35 to i64 %41 = sub i64 %39, %40 br label %44 42: ; preds = %33 %43 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %35) br label %44 44: ; preds = %42, %38 %45 = phi i64 [ %41, %38 ], [ %43, %42 ] %46 = load i64, ptr @NAME_MAX, align 8, !tbaa !16 %47 = icmp ugt i64 %45, %46 br i1 %47, label %152, label %48 48: ; preds = %44 %49 = load i64, ptr %0, align 8, !tbaa !10 %50 = icmp eq i64 %34, %49 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = call i64 @strncmp(ptr noundef nonnull @.str, ptr noundef %35, i64 noundef %45) #3 %53 = icmp eq i64 %52, 0 br i1 %53, label %57, label %54 54: ; preds = %51 %55 = call i64 @strncmp(ptr noundef nonnull @.str.1, ptr noundef %35, i64 noundef %45) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %59 57: ; preds = %51, %54 %58 = call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef %1) #3 br label %99 59: ; preds = %54, %48 %60 = call i32 @_FAT_directory_getFirstEntry(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %34) #3 %61 = icmp eq i32 %60, 0 br i1 %61, label %152, label %62 62: ; preds = %59, %96 %63 = load ptr, ptr %1, align 8, !tbaa !17 %64 = load i64, ptr @NAME_MAX, align 8, !tbaa !16 %65 = trunc i64 %64 to i32 %66 = call i64 @strnlen(ptr noundef %63, i32 noundef %65) #3 %67 = icmp eq i64 %45, %66 br i1 %67, label %68, label %73 68: ; preds = %62 %69 = load ptr, ptr %1, align 8, !tbaa !17 %70 = call i64 @_FAT_directory_mbsncasecmp(ptr noundef %35, ptr noundef %69, i64 noundef %45) #3 %71 = icmp eq i64 %70, 0 %72 = zext i1 %71 to i32 br label %73 73: ; preds = %68, %62 %74 = phi i32 [ 0, %62 ], [ %72, %68 ] %75 = load ptr, ptr %32, align 8, !tbaa !20 %76 = call i32 @_FAT_directory_entryGetAlias(ptr noundef %75, ptr noundef nonnull %7) #3 %77 = load i32, ptr @MAX_ALIAS_LENGTH, align 4, !tbaa !5 %78 = call i64 @strnlen(ptr noundef nonnull %7, i32 noundef %77) #3 %79 = icmp eq i64 %45, %78 br i1 %79, label %80, label %85 80: ; preds = %73 %81 = call i64 @strncasecmp(ptr noundef %35, ptr noundef nonnull %7, i64 noundef %45) #3 %82 = icmp ne i64 %81, 0 %83 = icmp eq i32 %74, 0 %84 = select i1 %82, i1 %83, i1 false br i1 %84, label %96, label %87 85: ; preds = %73 %86 = icmp eq i32 %74, 0 br i1 %86, label %96, label %87 87: ; preds = %80, %85 %88 = load ptr, ptr %32, align 8, !tbaa !20 %89 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !16 %90 = getelementptr inbounds i32, ptr %88, i64 %89 %91 = load i32, ptr %90, align 4, !tbaa !5 %92 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !5 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 %95 = and i1 %37, %94 br i1 %95, label %96, label %99 96: ; preds = %87, %85, %80 %97 = call i32 @_FAT_directory_getNextEntry(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %98 = icmp eq i32 %97, 0 br i1 %98, label %152, label %62, !llvm.loop !21 99: ; preds = %87, %57 %100 = phi i32 [ 0, %57 ], [ 1, %87 ] %101 = icmp ult ptr %36, %12 %102 = select i1 %37, i1 %101, i1 false br i1 %102, label %103, label %132 103: ; preds = %99 %104 = load ptr, ptr %32, align 8, !tbaa !20 %105 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !16 %106 = getelementptr inbounds i32, ptr %104, i64 %105 %107 = load i32, ptr %106, align 4, !tbaa !5 %108 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !5 %109 = and i32 %108, %107 %110 = icmp eq i32 %109, 0 br i1 %110, label %127, label %111 111: ; preds = %103 %112 = call i64 @_FAT_directory_entryGetCluster(ptr noundef nonnull %0, ptr noundef nonnull %104) #3 %113 = load i64, ptr @CLUSTER_ROOT, align 8, !tbaa !16 %114 = icmp eq i64 %112, %113 br i1 %114, label %115, label %117 115: ; preds = %111 %116 = load i64, ptr %0, align 8, !tbaa !10 br label %117 117: ; preds = %115, %111 %118 = phi i64 [ %116, %115 ], [ %112, %111 ] br label %119 119: ; preds = %119, %117 %120 = phi ptr [ %36, %117 ], [ %123, %119 ] %121 = load i8, ptr %120, align 1, !tbaa !9 %122 = icmp eq i8 %121, 0 %123 = getelementptr inbounds i8, ptr %120, i64 1 br i1 %122, label %119, label %124, !llvm.loop !22 124: ; preds = %119 %125 = icmp uge ptr %120, %12 %126 = zext i1 %125 to i32 br label %127 127: ; preds = %124, %103 %128 = phi ptr [ %35, %103 ], [ %120, %124 ] %129 = phi i64 [ %34, %103 ], [ %118, %124 ] %130 = phi i32 [ %100, %103 ], [ %126, %124 ] %131 = icmp eq i32 %130, 0 br i1 %131, label %33, label %132, !llvm.loop !23 132: ; preds = %127, %99, %27 %133 = getelementptr inbounds %struct.TYPE_12__, ptr %0, i64 0, i32 2 %134 = load i64, ptr %133, align 8, !tbaa !24 %135 = load i64, ptr @FS_FAT32, align 8, !tbaa !16 %136 = icmp eq i64 %134, %135 br i1 %136, label %137, label %152 137: ; preds = %132 %138 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %139 = load ptr, ptr %138, align 8, !tbaa !20 %140 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !16 %141 = getelementptr inbounds i32, ptr %139, i64 %140 %142 = load i32, ptr %141, align 4, !tbaa !5 %143 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !5 %144 = and i32 %143, %142 %145 = icmp eq i32 %144, 0 br i1 %145, label %152, label %146 146: ; preds = %137 %147 = call i64 @_FAT_directory_entryGetCluster(ptr noundef nonnull %0, ptr noundef nonnull %139) #3 %148 = load i64, ptr @CLUSTER_ROOT, align 8, !tbaa !16 %149 = icmp eq i64 %147, %148 br i1 %149, label %150, label %152 150: ; preds = %146 %151 = call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 br label %152 152: ; preds = %59, %44, %96, %132, %137, %146, %150 %153 = phi i32 [ 1, %150 ], [ 1, %146 ], [ 1, %137 ], [ 1, %132 ], [ 0, %96 ], [ 0, %44 ], [ 0, %59 ] ret i32 %153 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @_FAT_directory_getRootEntry(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_getFirstEntry(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @strnlen(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @_FAT_directory_mbsncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_entryGetAlias(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_getNextEntry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_FAT_directory_entryGetCluster(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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_12__", !12, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!11, !12, i64 8} !16 = !{!12, !12, i64 0} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_13__", !19, i64 0, !19, i64 8} !19 = !{!"any pointer", !7, i64 0} !20 = !{!18, !19, i64 8} !21 = distinct !{!21, !14} !22 = distinct !{!22, !14} !23 = distinct !{!23, !14} !24 = !{!11, !12, i64 16}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libfat/extr_directory.c__FAT_directory_entryFromPath.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libfat/extr_directory.c__FAT_directory_entryFromPath.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_ALIAS_LENGTH = common local_unnamed_addr global i32 0, align 4 @DIR_SEPARATOR = common local_unnamed_addr global i8 0, align 1 @NAME_MAX = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @DIR_ENTRY_attributes = common local_unnamed_addr global i64 0, align 8 @ATTRIB_DIR = common local_unnamed_addr global i32 0, align 4 @CLUSTER_ROOT = common local_unnamed_addr global i64 0, align 8 @FS_FAT32 = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @_FAT_directory_entryFromPath(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef readnone %3) local_unnamed_addr #0 { %5 = load i32, ptr @MAX_ALIAS_LENGTH, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i8, i64 %6, align 1 %8 = icmp eq ptr %3, null br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call ptr @strchr(ptr noundef %2, i8 noundef signext 0) #3 br label %11 11: ; preds = %9, %4 %12 = phi ptr [ %10, %9 ], [ %3, %4 ] %13 = load i8, ptr %2, align 1, !tbaa !10 %14 = load i8, ptr @DIR_SEPARATOR, align 1, !tbaa !10 %15 = icmp eq i8 %13, %14 br i1 %15, label %16, label %25 16: ; preds = %11 %17 = load i64, ptr %0, align 8, !tbaa !11 br label %18 18: ; preds = %18, %16 %19 = phi ptr [ %2, %16 ], [ %22, %18 ] %20 = load i8, ptr %19, align 1, !tbaa !10 %21 = icmp eq i8 %20, %13 %22 = getelementptr inbounds i8, ptr %19, i64 1 br i1 %21, label %18, label %23, !llvm.loop !14 23: ; preds = %18 %24 = icmp ult ptr %19, %12 br i1 %24, label %30, label %28 25: ; preds = %11 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !16 br label %30 28: ; preds = %23 %29 = tail call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef %1) #3 br label %135 30: ; preds = %23, %25 %31 = phi ptr [ %2, %25 ], [ %19, %23 ] %32 = phi i64 [ %27, %25 ], [ %17, %23 ] %33 = getelementptr inbounds i8, ptr %1, i64 8 br label %34 34: ; preds = %30, %130 %35 = phi i64 [ %32, %30 ], [ %132, %130 ] %36 = phi ptr [ %31, %30 ], [ %131, %130 ] %37 = load i8, ptr @DIR_SEPARATOR, align 1, !tbaa !10 %38 = call ptr @strchr(ptr noundef %36, i8 noundef signext %37) #3 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %44 40: ; preds = %34 %41 = ptrtoint ptr %38 to i64 %42 = ptrtoint ptr %36 to i64 %43 = sub i64 %41, %42 br label %46 44: ; preds = %34 %45 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %36) #3 br label %46 46: ; preds = %44, %40 %47 = phi i64 [ %43, %40 ], [ %45, %44 ] %48 = load i64, ptr @NAME_MAX, align 8, !tbaa !17 %49 = icmp ugt i64 %47, %48 br i1 %49, label %155, label %50 50: ; preds = %46 %51 = load i64, ptr %0, align 8, !tbaa !11 %52 = icmp eq i64 %35, %51 br i1 %52, label %53, label %61 53: ; preds = %50 %54 = call i64 @strncmp(ptr noundef nonnull @.str, ptr noundef %36, i64 noundef %47) #3 %55 = icmp eq i64 %54, 0 br i1 %55, label %59, label %56 56: ; preds = %53 %57 = call i64 @strncmp(ptr noundef nonnull @.str.1, ptr noundef %36, i64 noundef %47) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %53, %56 %60 = call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef %1) #3 br label %101 61: ; preds = %56, %50 %62 = call i32 @_FAT_directory_getFirstEntry(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %35) #3 %63 = icmp eq i32 %62, 0 br i1 %63, label %155, label %64 64: ; preds = %61, %98 %65 = load ptr, ptr %1, align 8, !tbaa !18 %66 = load i64, ptr @NAME_MAX, align 8, !tbaa !17 %67 = trunc i64 %66 to i32 %68 = call i64 @strnlen(ptr noundef %65, i32 noundef %67) #3 %69 = icmp eq i64 %47, %68 br i1 %69, label %70, label %75 70: ; preds = %64 %71 = load ptr, ptr %1, align 8, !tbaa !18 %72 = call i64 @_FAT_directory_mbsncasecmp(ptr noundef %36, ptr noundef %71, i64 noundef %47) #3 %73 = icmp eq i64 %72, 0 %74 = zext i1 %73 to i32 br label %75 75: ; preds = %70, %64 %76 = phi i32 [ 0, %64 ], [ %74, %70 ] %77 = load ptr, ptr %33, align 8, !tbaa !21 %78 = call i32 @_FAT_directory_entryGetAlias(ptr noundef %77, ptr noundef nonnull %7) #3 %79 = load i32, ptr @MAX_ALIAS_LENGTH, align 4, !tbaa !6 %80 = call i64 @strnlen(ptr noundef nonnull %7, i32 noundef %79) #3 %81 = icmp eq i64 %47, %80 br i1 %81, label %82, label %87 82: ; preds = %75 %83 = call i64 @strncasecmp(ptr noundef %36, ptr noundef nonnull %7, i64 noundef %47) #3 %84 = icmp ne i64 %83, 0 %85 = icmp eq i32 %76, 0 %86 = select i1 %84, i1 %85, i1 false br i1 %86, label %98, label %89 87: ; preds = %75 %88 = icmp eq i32 %76, 0 br i1 %88, label %98, label %89 89: ; preds = %82, %87 %90 = load ptr, ptr %33, align 8, !tbaa !21 %91 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !17 %92 = getelementptr inbounds i32, ptr %90, i64 %91 %93 = load i32, ptr %92, align 4, !tbaa !6 %94 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !6 %95 = and i32 %94, %93 %96 = icmp eq i32 %95, 0 %97 = and i1 %39, %96 br i1 %97, label %98, label %101 98: ; preds = %89, %87, %82 %99 = call i32 @_FAT_directory_getNextEntry(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 %100 = icmp eq i32 %99, 0 br i1 %100, label %155, label %64, !llvm.loop !22 101: ; preds = %89, %59 %102 = phi i32 [ 0, %59 ], [ 1, %89 ] %103 = icmp ult ptr %38, %12 %104 = select i1 %39, i1 %103, i1 false br i1 %104, label %105, label %135 105: ; preds = %101 %106 = load ptr, ptr %33, align 8, !tbaa !21 %107 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !17 %108 = getelementptr inbounds i32, ptr %106, i64 %107 %109 = load i32, ptr %108, align 4, !tbaa !6 %110 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !6 %111 = and i32 %110, %109 %112 = icmp eq i32 %111, 0 br i1 %112, label %130, label %113 113: ; preds = %105 %114 = call i64 @_FAT_directory_entryGetCluster(ptr noundef nonnull %0, ptr noundef nonnull %106) #3 %115 = load i64, ptr @CLUSTER_ROOT, align 8, !tbaa !17 %116 = icmp eq i64 %114, %115 br i1 %116, label %117, label %119 117: ; preds = %113 %118 = load i64, ptr %0, align 8, !tbaa !11 br label %119 119: ; preds = %117, %113 %120 = phi i64 [ %118, %117 ], [ %114, %113 ] %121 = load i8, ptr @DIR_SEPARATOR, align 1, !tbaa !10 br label %122 122: ; preds = %122, %119 %123 = phi ptr [ %38, %119 ], [ %126, %122 ] %124 = load i8, ptr %123, align 1, !tbaa !10 %125 = icmp eq i8 %124, %121 %126 = getelementptr inbounds i8, ptr %123, i64 1 br i1 %125, label %122, label %127, !llvm.loop !23 127: ; preds = %122 %128 = icmp uge ptr %123, %12 %129 = zext i1 %128 to i32 br label %130 130: ; preds = %127, %105 %131 = phi ptr [ %36, %105 ], [ %123, %127 ] %132 = phi i64 [ %35, %105 ], [ %120, %127 ] %133 = phi i32 [ %102, %105 ], [ %129, %127 ] %134 = icmp eq i32 %133, 0 br i1 %134, label %34, label %135, !llvm.loop !24 135: ; preds = %130, %101, %28 %136 = getelementptr inbounds i8, ptr %0, i64 16 %137 = load i64, ptr %136, align 8, !tbaa !25 %138 = load i64, ptr @FS_FAT32, align 8, !tbaa !17 %139 = icmp eq i64 %137, %138 br i1 %139, label %140, label %155 140: ; preds = %135 %141 = getelementptr inbounds i8, ptr %1, i64 8 %142 = load ptr, ptr %141, align 8, !tbaa !21 %143 = load i64, ptr @DIR_ENTRY_attributes, align 8, !tbaa !17 %144 = getelementptr inbounds i32, ptr %142, i64 %143 %145 = load i32, ptr %144, align 4, !tbaa !6 %146 = load i32, ptr @ATTRIB_DIR, align 4, !tbaa !6 %147 = and i32 %146, %145 %148 = icmp eq i32 %147, 0 br i1 %148, label %155, label %149 149: ; preds = %140 %150 = call i64 @_FAT_directory_entryGetCluster(ptr noundef nonnull %0, ptr noundef nonnull %142) #3 %151 = load i64, ptr @CLUSTER_ROOT, align 8, !tbaa !17 %152 = icmp eq i64 %150, %151 br i1 %152, label %153, label %155 153: ; preds = %149 %154 = call i32 @_FAT_directory_getRootEntry(ptr noundef nonnull %0, ptr noundef nonnull %1) #3 br label %155 155: ; preds = %61, %46, %98, %135, %140, %149, %153 %156 = phi i32 [ 1, %153 ], [ 1, %149 ], [ 1, %140 ], [ 1, %135 ], [ 0, %98 ], [ 0, %46 ], [ 0, %61 ] ret i32 %156 } declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @_FAT_directory_getRootEntry(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_getFirstEntry(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @strnlen(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @_FAT_directory_mbsncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_entryGetAlias(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @strncasecmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_FAT_directory_getNextEntry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_FAT_directory_entryGetCluster(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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_12__", !13, i64 0, !13, i64 8, !13, i64 16} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!12, !13, i64 8} !17 = !{!13, !13, i64 0} !18 = !{!19, !20, i64 0} !19 = !{!"TYPE_13__", !20, i64 0, !20, i64 8} !20 = !{!"any pointer", !8, i64 0} !21 = !{!19, !20, i64 8} !22 = distinct !{!22, !15} !23 = distinct !{!23, !15} !24 = distinct !{!24, !15} !25 = !{!12, !13, i64 16}
RetroArch_wii_libogc_libfat_extr_directory.c__FAT_directory_entryFromPath
; ModuleID = 'AnghaBench/linux/drivers/thermal/ti-soc-thermal/extr_ti-thermal.h_ti_thermal_expose_sensor.c' source_filename = "AnghaBench/linux/drivers/thermal/ti-soc-thermal/extr_ti-thermal.h_ti_thermal_expose_sensor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ti_thermal_expose_sensor], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ti_thermal_expose_sensor(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2) #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/thermal/ti-soc-thermal/extr_ti-thermal.h_ti_thermal_expose_sensor.c' source_filename = "AnghaBench/linux/drivers/thermal/ti-soc-thermal/extr_ti-thermal.h_ti_thermal_expose_sensor.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 @ti_thermal_expose_sensor], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ti_thermal_expose_sensor(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2) #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_thermal_ti-soc-thermal_extr_ti-thermal.h_ti_thermal_expose_sensor
; ModuleID = 'AnghaBench/goaccess/src/extr_tcabdb.c_inc_si32.c' source_filename = "AnghaBench/goaccess/src/extr_tcabdb.c_inc_si32.c" target datalayout = "e-m:e-p270:32:32-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"Unable to tcadbput\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @inc_si32], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @inc_si32(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %2, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = icmp eq ptr %0, null br i1 %6, label %21, label %7 7: ; preds = %3 %8 = tail call i32 @strlen(ptr noundef %1) #3 %9 = call ptr @tcadbget(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %8, ptr noundef nonnull %5) #3 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %9, align 4, !tbaa !5 %13 = add nsw i32 %12, %2 store i32 %13, ptr %4, align 4, !tbaa !5 %14 = call i32 @free(ptr noundef nonnull %9) #3 br label %15 15: ; preds = %11, %7 %16 = call i32 @strlen(ptr noundef %1) #3 %17 = call i32 @tcadbput(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %16, ptr noundef nonnull %4, i32 noundef 4) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 @LOG_DEBUG(ptr noundef nonnull @.str) #3 br label %21 21: ; preds = %15, %19, %3 %22 = phi i32 [ -1, %3 ], [ 0, %19 ], [ 0, %15 ] 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 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tcadbget(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @tcadbput(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LOG_DEBUG(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/goaccess/src/extr_tcabdb.c_inc_si32.c' source_filename = "AnghaBench/goaccess/src/extr_tcabdb.c_inc_si32.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"Unable to tcadbput\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @inc_si32], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @inc_si32(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 %2, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = icmp eq ptr %0, null br i1 %6, label %21, label %7 7: ; preds = %3 %8 = tail call i32 @strlen(ptr noundef %1) #3 %9 = call ptr @tcadbget(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %8, ptr noundef nonnull %5) #3 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %9, align 4, !tbaa !6 %13 = add nsw i32 %12, %2 store i32 %13, ptr %4, align 4, !tbaa !6 %14 = call i32 @free(ptr noundef nonnull %9) #3 br label %15 15: ; preds = %11, %7 %16 = call i32 @strlen(ptr noundef %1) #3 %17 = call i32 @tcadbput(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %16, ptr noundef nonnull %4, i32 noundef 4) #3 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 @LOG_DEBUG(ptr noundef nonnull @.str) #3 br label %21 21: ; preds = %15, %19, %3 %22 = phi i32 [ -1, %3 ], [ 0, %19 ], [ 0, %15 ] 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 %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @tcadbget(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @tcadbput(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LOG_DEBUG(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"}
goaccess_src_extr_tcabdb.c_inc_si32
; ModuleID = 'AnghaBench/freebsd/contrib/tcpdump/extr_print-juniper.c_juniper_read_tlv_value.c' source_filename = "AnghaBench/freebsd/contrib/tcpdump/extr_print-juniper.c_juniper_read_tlv_value.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @juniper_read_tlv_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @juniper_read_tlv_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp slt i32 %1, 128 br i1 %4, label %5, label %14 5: ; preds = %3 switch i32 %2, label %23 [ i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 ] 6: ; preds = %5 %7 = load i32, ptr %0, align 4, !tbaa !5 br label %23 8: ; preds = %5 %9 = tail call i32 @EXTRACT_LE_16BITS(ptr noundef %0) #2 br label %23 10: ; preds = %5 %11 = tail call i32 @EXTRACT_LE_24BITS(ptr noundef %0) #2 br label %23 12: ; preds = %5 %13 = tail call i32 @EXTRACT_LE_32BITS(ptr noundef %0) #2 br label %23 14: ; preds = %3 switch i32 %2, label %23 [ i32 1, label %15 i32 2, label %17 i32 3, label %19 i32 4, label %21 ] 15: ; preds = %14 %16 = load i32, ptr %0, align 4, !tbaa !5 br label %23 17: ; preds = %14 %18 = tail call i32 @EXTRACT_16BITS(ptr noundef %0) #2 br label %23 19: ; preds = %14 %20 = tail call i32 @EXTRACT_24BITS(ptr noundef %0) #2 br label %23 21: ; preds = %14 %22 = tail call i32 @EXTRACT_32BITS(ptr noundef %0) #2 br label %23 23: ; preds = %14, %5, %15, %17, %19, %21, %6, %8, %10, %12 %24 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %22, %21 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ -1, %5 ], [ -1, %14 ] ret i32 %24 } declare i32 @EXTRACT_LE_16BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_LE_24BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_LE_32BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_16BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_24BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_32BITS(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/tcpdump/extr_print-juniper.c_juniper_read_tlv_value.c' source_filename = "AnghaBench/freebsd/contrib/tcpdump/extr_print-juniper.c_juniper_read_tlv_value.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 @juniper_read_tlv_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @juniper_read_tlv_value(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp slt i32 %1, 128 br i1 %4, label %5, label %14 5: ; preds = %3 switch i32 %2, label %23 [ i32 1, label %6 i32 2, label %8 i32 3, label %10 i32 4, label %12 ] 6: ; preds = %5 %7 = load i32, ptr %0, align 4, !tbaa !6 br label %23 8: ; preds = %5 %9 = tail call i32 @EXTRACT_LE_16BITS(ptr noundef %0) #2 br label %23 10: ; preds = %5 %11 = tail call i32 @EXTRACT_LE_24BITS(ptr noundef %0) #2 br label %23 12: ; preds = %5 %13 = tail call i32 @EXTRACT_LE_32BITS(ptr noundef %0) #2 br label %23 14: ; preds = %3 switch i32 %2, label %23 [ i32 1, label %15 i32 2, label %17 i32 3, label %19 i32 4, label %21 ] 15: ; preds = %14 %16 = load i32, ptr %0, align 4, !tbaa !6 br label %23 17: ; preds = %14 %18 = tail call i32 @EXTRACT_16BITS(ptr noundef %0) #2 br label %23 19: ; preds = %14 %20 = tail call i32 @EXTRACT_24BITS(ptr noundef %0) #2 br label %23 21: ; preds = %14 %22 = tail call i32 @EXTRACT_32BITS(ptr noundef %0) #2 br label %23 23: ; preds = %14, %5, %15, %17, %19, %21, %6, %8, %10, %12 %24 = phi i32 [ %13, %12 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %22, %21 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ -1, %5 ], [ -1, %14 ] ret i32 %24 } declare i32 @EXTRACT_LE_16BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_LE_24BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_LE_32BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_16BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_24BITS(ptr noundef) local_unnamed_addr #1 declare i32 @EXTRACT_32BITS(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_tcpdump_extr_print-juniper.c_juniper_read_tlv_value
; ModuleID = 'AnghaBench/linux/security/keys/extr_dh.c_dh_data_from_key.c' source_filename = "AnghaBench/linux/security/keys/extr_dh.c_dh_data_from_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.key = type { i32, ptr } %struct.user_key_payload = type { i32, i32 } @KEY_NEED_READ = dso_local local_unnamed_addr global i32 0, align 4 @ENOKEY = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @key_type_user = dso_local global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dh_data_from_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dh_data_from_key(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @KEY_NEED_READ, align 4, !tbaa !5 %4 = tail call i32 @lookup_user_key(i32 noundef %0, i32 noundef 0, i32 noundef %3) #2 %5 = tail call i64 @IS_ERR(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ENOKEY, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %40 10: ; preds = %2 %11 = tail call ptr @key_ref_to_ptr(i32 noundef %4) #2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 %14 = getelementptr inbounds %struct.key, ptr %11, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !9 %16 = icmp eq ptr %15, @key_type_user br i1 %16, label %17, label %37 17: ; preds = %10 %18 = tail call i32 @down_read(ptr noundef nonnull %11) #2 %19 = tail call i64 @key_validate(ptr noundef nonnull %11) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = tail call ptr @user_key_payload_locked(ptr noundef nonnull %11) #2 %23 = getelementptr inbounds %struct.user_key_payload, ptr %22, i64 0, i32 1 %24 = load i32, ptr %23, align 4, !tbaa !12 %25 = load i32, ptr %22, align 4, !tbaa !14 %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %27 = tail call ptr @kmemdup(i32 noundef %24, i32 noundef %25, i32 noundef %26) #2 %28 = icmp eq ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %21 store ptr %27, ptr %1, align 8, !tbaa !15 %30 = load i32, ptr %22, align 4, !tbaa !14 br label %34 31: ; preds = %21 %32 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %33 = sub nsw i32 0, %32 br label %34 34: ; preds = %29, %31, %17 %35 = phi i32 [ %13, %17 ], [ %30, %29 ], [ %33, %31 ] %36 = tail call i32 @up_read(ptr noundef nonnull %11) #2 br label %37 37: ; preds = %34, %10 %38 = phi i32 [ %35, %34 ], [ %13, %10 ] %39 = tail call i32 @key_put(ptr noundef nonnull %11) #2 br label %40 40: ; preds = %37, %7 %41 = phi i32 [ %9, %7 ], [ %38, %37 ] ret i32 %41 } declare i32 @lookup_user_key(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare ptr @key_ref_to_ptr(i32 noundef) local_unnamed_addr #1 declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare i64 @key_validate(ptr noundef) local_unnamed_addr #1 declare ptr @user_key_payload_locked(ptr noundef) local_unnamed_addr #1 declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @up_read(ptr noundef) local_unnamed_addr #1 declare i32 @key_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"key", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 4} !13 = !{!"user_key_payload", !6, i64 0, !6, i64 4} !14 = !{!13, !6, i64 0} !15 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/security/keys/extr_dh.c_dh_data_from_key.c' source_filename = "AnghaBench/linux/security/keys/extr_dh.c_dh_data_from_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KEY_NEED_READ = common local_unnamed_addr global i32 0, align 4 @ENOKEY = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @key_type_user = common global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dh_data_from_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dh_data_from_key(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @KEY_NEED_READ, align 4, !tbaa !6 %4 = tail call i32 @lookup_user_key(i32 noundef %0, i32 noundef 0, i32 noundef %3) #2 %5 = tail call i64 @IS_ERR(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @ENOKEY, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %40 10: ; preds = %2 %11 = tail call ptr @key_ref_to_ptr(i32 noundef %4) #2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 %14 = getelementptr inbounds i8, ptr %11, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !10 %16 = icmp eq ptr %15, @key_type_user br i1 %16, label %17, label %37 17: ; preds = %10 %18 = tail call i32 @down_read(ptr noundef nonnull %11) #2 %19 = tail call i64 @key_validate(ptr noundef nonnull %11) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = tail call ptr @user_key_payload_locked(ptr noundef nonnull %11) #2 %23 = getelementptr inbounds i8, ptr %22, i64 4 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = load i32, ptr %22, align 4, !tbaa !15 %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %27 = tail call ptr @kmemdup(i32 noundef %24, i32 noundef %25, i32 noundef %26) #2 %28 = icmp eq ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %21 store ptr %27, ptr %1, align 8, !tbaa !16 %30 = load i32, ptr %22, align 4, !tbaa !15 br label %34 31: ; preds = %21 %32 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %33 = sub nsw i32 0, %32 br label %34 34: ; preds = %29, %31, %17 %35 = phi i32 [ %13, %17 ], [ %30, %29 ], [ %33, %31 ] %36 = tail call i32 @up_read(ptr noundef nonnull %11) #2 br label %37 37: ; preds = %34, %10 %38 = phi i32 [ %35, %34 ], [ %13, %10 ] %39 = tail call i32 @key_put(ptr noundef nonnull %11) #2 br label %40 40: ; preds = %37, %7 %41 = phi i32 [ %9, %7 ], [ %38, %37 ] ret i32 %41 } declare i32 @lookup_user_key(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(i32 noundef) local_unnamed_addr #1 declare ptr @key_ref_to_ptr(i32 noundef) local_unnamed_addr #1 declare i32 @down_read(ptr noundef) local_unnamed_addr #1 declare i64 @key_validate(ptr noundef) local_unnamed_addr #1 declare ptr @user_key_payload_locked(ptr noundef) local_unnamed_addr #1 declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @up_read(ptr noundef) local_unnamed_addr #1 declare i32 @key_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"key", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"user_key_payload", !7, i64 0, !7, i64 4} !15 = !{!14, !7, i64 0} !16 = !{!12, !12, i64 0}
linux_security_keys_extr_dh.c_dh_data_from_key
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_uf_put.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_uf_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_uf_put], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_uf_put(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef %0) #2 ret void } declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_uf_put.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_svc.c_bfa_uf_put.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 @bfa_uf_put], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_uf_put(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @list_add_tail(ptr noundef %1, ptr noundef %0) #2 ret void } declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_scsi_bfa_extr_bfa_svc.c_bfa_uf_put
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_drivers.c_comedi_report_boards.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_drivers.c_comedi_report_boards.c" target datalayout = "e-m:e-p270:32:32-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.comedi_driver = type { ptr, ptr, i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"comedi: valid board names for %s driver are:\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @comedi_report_boards(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @printk(ptr noundef nonnull @.str, ptr noundef %2) #2 %4 = getelementptr inbounds %struct.comedi_driver, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !11 %6 = icmp eq i32 %5, 0 br i1 %6, label %24, label %7 7: ; preds = %1 %8 = getelementptr inbounds %struct.comedi_driver, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds %struct.comedi_driver, ptr %0, i64 0, i32 3 br label %11 11: ; preds = %7, %11 %12 = phi ptr [ %9, %7 ], [ %18, %11 ] %13 = phi i32 [ 0, %7 ], [ %19, %11 ] %14 = load ptr, ptr %12, align 8, !tbaa !13 %15 = tail call i32 @printk(ptr noundef nonnull @.str.1, ptr noundef %14) #2 %16 = load i32, ptr %10, align 4, !tbaa !14 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %12, i64 %17 %19 = add nuw i32 %13, 1 %20 = load i32, ptr %4, align 8, !tbaa !11 %21 = icmp ult i32 %19, %20 br i1 %21, label %11, label %22, !llvm.loop !15 22: ; preds = %11 %23 = icmp eq i32 %20, 0 br i1 %23, label %24, label %27 24: ; preds = %1, %22 %25 = load ptr, ptr %0, align 8, !tbaa !5 %26 = tail call i32 @printk(ptr noundef nonnull @.str.1, ptr noundef %25) #2 br label %27 27: ; preds = %24, %22 ret void } declare i32 @printk(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"comedi_driver", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 16} !12 = !{!6, !7, i64 8} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 20} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_drivers.c_comedi_report_boards.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/extr_drivers.c_comedi_report_boards.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [46 x i8] c"comedi: valid board names for %s driver are:\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" %s\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @comedi_report_boards(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @printk(ptr noundef nonnull @.str, ptr noundef %2) #2 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 8, !tbaa !12 %6 = icmp eq i32 %5, 0 br i1 %6, label %24, label %7 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = getelementptr inbounds i8, ptr %0, i64 20 br label %11 11: ; preds = %7, %11 %12 = phi ptr [ %9, %7 ], [ %18, %11 ] %13 = phi i32 [ 0, %7 ], [ %19, %11 ] %14 = load ptr, ptr %12, align 8, !tbaa !14 %15 = tail call i32 @printk(ptr noundef nonnull @.str.1, ptr noundef %14) #2 %16 = load i32, ptr %10, align 4, !tbaa !15 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %12, i64 %17 %19 = add nuw i32 %13, 1 %20 = load i32, ptr %4, align 8, !tbaa !12 %21 = icmp ult i32 %19, %20 br i1 %21, label %11, label %22, !llvm.loop !16 22: ; preds = %11 %23 = icmp eq i32 %20, 0 br i1 %23, label %24, label %27 24: ; preds = %1, %22 %25 = load ptr, ptr %0, align 8, !tbaa !6 %26 = tail call i32 @printk(ptr noundef nonnull @.str.1, ptr noundef %25) #2 br label %27 27: ; preds = %24, %22 ret void } declare i32 @printk(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"comedi_driver", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 16} !13 = !{!7, !8, i64 8} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 20} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_comedi_extr_drivers.c_comedi_report_boards
; ModuleID = 'AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_wait_until_empty.c' source_filename = "AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_wait_until_empty.c" target datalayout = "e-m:e-p270:32:32-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.netvsc_device = type { i32, ptr } %struct.TYPE_2__ = type { i32, ptr } %struct.vmbus_channel = type { i32, i32 } @RETRY_MAX = dso_local local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @RETRY_US_LO = dso_local local_unnamed_addr global i32 0, align 4 @RETRY_US_HI = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netvsc_wait_until_empty], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @netvsc_wait_until_empty(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.netvsc_device, ptr %0, i64 0, i32 1 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %44 5: ; preds = %1, %38 %6 = phi i32 [ %42, %38 ], [ %3, %1 ] %7 = phi i32 [ %32, %38 ], [ 0, %1 ] br label %8 8: ; preds = %5, %26 %9 = phi i32 [ %27, %26 ], [ %6, %5 ] %10 = phi i64 [ %28, %26 ], [ 0, %5 ] %11 = load ptr, ptr %2, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %26, label %15 15: ; preds = %8 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %17 = tail call i32 @napi_synchronize(ptr noundef %16) #2 %18 = getelementptr inbounds %struct.vmbus_channel, ptr %13, i64 0, i32 1 %19 = tail call i64 @hv_get_bytes_to_read(ptr noundef nonnull %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %31 21: ; preds = %15 %22 = tail call i64 @hv_get_bytes_to_read(ptr noundef nonnull %13) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %0, align 8, !tbaa !5 br label %26 26: ; preds = %24, %8 %27 = phi i32 [ %25, %24 ], [ %9, %8 ] %28 = add nuw nsw i64 %10, 1 %29 = sext i32 %27 to i64 %30 = icmp slt i64 %28, %29 br i1 %30, label %8, label %44, !llvm.loop !14 31: ; preds = %15, %21 %32 = add i32 %7, 1 %33 = load i32, ptr @RETRY_MAX, align 4, !tbaa !16 %34 = icmp ugt i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !16 %37 = sub nsw i32 0, %36 br label %44 38: ; preds = %31 %39 = load i32, ptr @RETRY_US_LO, align 4, !tbaa !16 %40 = load i32, ptr @RETRY_US_HI, align 4, !tbaa !16 %41 = tail call i32 @usleep_range(i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr %0, align 8, !tbaa !5 %43 = icmp sgt i32 %42, 0 br i1 %43, label %5, label %44 44: ; preds = %38, %26, %1, %35 %45 = phi i32 [ %37, %35 ], [ 0, %1 ], [ 0, %26 ], [ 0, %38 ] ret i32 %45 } declare i32 @napi_synchronize(ptr noundef) local_unnamed_addr #1 declare i64 @hv_get_bytes_to_read(ptr noundef) local_unnamed_addr #1 declare i32 @usleep_range(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 = !{!"netvsc_device", !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, !10, i64 8} !13 = !{!"TYPE_2__", !7, i64 0, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_wait_until_empty.c' source_filename = "AnghaBench/linux/drivers/net/hyperv/extr_netvsc_drv.c_netvsc_wait_until_empty.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, ptr } @RETRY_MAX = common local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @RETRY_US_LO = common local_unnamed_addr global i32 0, align 4 @RETRY_US_HI = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netvsc_wait_until_empty], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @netvsc_wait_until_empty(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %44 5: ; preds = %1, %38 %6 = phi i32 [ %42, %38 ], [ %3, %1 ] %7 = phi i32 [ %32, %38 ], [ 0, %1 ] br label %8 8: ; preds = %5, %26 %9 = phi i32 [ %27, %26 ], [ %6, %5 ] %10 = phi i64 [ %28, %26 ], [ 0, %5 ] %11 = load ptr, ptr %2, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = getelementptr inbounds i8, ptr %12, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %26, label %16 16: ; preds = %8 %17 = tail call i32 @napi_synchronize(ptr noundef nonnull %12) #2 %18 = getelementptr inbounds i8, ptr %14, i64 4 %19 = tail call i64 @hv_get_bytes_to_read(ptr noundef nonnull %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %31 21: ; preds = %16 %22 = tail call i64 @hv_get_bytes_to_read(ptr noundef nonnull %14) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %0, align 8, !tbaa !6 br label %26 26: ; preds = %24, %8 %27 = phi i32 [ %25, %24 ], [ %9, %8 ] %28 = add nuw nsw i64 %10, 1 %29 = sext i32 %27 to i64 %30 = icmp slt i64 %28, %29 br i1 %30, label %8, label %44, !llvm.loop !15 31: ; preds = %16, %21 %32 = add i32 %7, 1 %33 = load i32, ptr @RETRY_MAX, align 4, !tbaa !17 %34 = icmp ugt i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !17 %37 = sub nsw i32 0, %36 br label %44 38: ; preds = %31 %39 = load i32, ptr @RETRY_US_LO, align 4, !tbaa !17 %40 = load i32, ptr @RETRY_US_HI, align 4, !tbaa !17 %41 = tail call i32 @usleep_range(i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr %0, align 8, !tbaa !6 %43 = icmp sgt i32 %42, 0 br i1 %43, label %5, label %44 44: ; preds = %38, %26, %1, %35 %45 = phi i32 [ %37, %35 ], [ 0, %1 ], [ 0, %26 ], [ 0, %38 ] ret i32 %45 } declare i32 @napi_synchronize(ptr noundef) local_unnamed_addr #1 declare i64 @hv_get_bytes_to_read(ptr noundef) local_unnamed_addr #1 declare i32 @usleep_range(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 = !{!"netvsc_device", !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, !11, i64 8} !14 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!8, !8, i64 0}
linux_drivers_net_hyperv_extr_netvsc_drv.c_netvsc_wait_until_empty
; ModuleID = 'AnghaBench/sumatrapdf/ext/synctex/extr_synctex_parser.c__synctex_display_hbox.c' source_filename = "AnghaBench/sumatrapdf/ext/synctex/extr_synctex_parser.c__synctex_display_hbox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"....(%i,%i:%i,%i:%i,%i,%i\0A\00", align 1 @str = private unnamed_addr constant [6 x i8] c"....)\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @_synctex_display_hbox(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @SYNCTEX_TAG(i32 noundef %0) #4 %3 = tail call i32 @SYNCTEX_LINE(i32 noundef %0) #4 %4 = tail call i32 @SYNCTEX_HORIZ(i32 noundef %0) #4 %5 = tail call i32 @SYNCTEX_VERT(i32 noundef %0) #4 %6 = tail call i32 @SYNCTEX_WIDTH(i32 noundef %0) #4 %7 = tail call i32 @SYNCTEX_HEIGHT(i32 noundef %0) #4 %8 = tail call i32 @SYNCTEX_DEPTH(i32 noundef %0) #4 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) %10 = tail call i32 @SYNCTEX_CHILD(i32 noundef %0) #4 %11 = tail call i32 @SYNCTEX_DISPLAY(i32 noundef %10) #4 %12 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %13 = tail call i32 @SYNCTEX_SIBLING(i32 noundef %0) #4 %14 = tail call i32 @SYNCTEX_DISPLAY(i32 noundef %13) #4 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare i32 @SYNCTEX_TAG(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_LINE(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_HORIZ(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_VERT(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_WIDTH(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_HEIGHT(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_DEPTH(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_DISPLAY(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_CHILD(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_SIBLING(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/sumatrapdf/ext/synctex/extr_synctex_parser.c__synctex_display_hbox.c' source_filename = "AnghaBench/sumatrapdf/ext/synctex/extr_synctex_parser.c__synctex_display_hbox.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [27 x i8] c"....(%i,%i:%i,%i:%i,%i,%i\0A\00", align 1 @str = private unnamed_addr constant [6 x i8] c"....)\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @_synctex_display_hbox(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @SYNCTEX_TAG(i32 noundef %0) #4 %3 = tail call i32 @SYNCTEX_LINE(i32 noundef %0) #4 %4 = tail call i32 @SYNCTEX_HORIZ(i32 noundef %0) #4 %5 = tail call i32 @SYNCTEX_VERT(i32 noundef %0) #4 %6 = tail call i32 @SYNCTEX_WIDTH(i32 noundef %0) #4 %7 = tail call i32 @SYNCTEX_HEIGHT(i32 noundef %0) #4 %8 = tail call i32 @SYNCTEX_DEPTH(i32 noundef %0) #4 %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) %10 = tail call i32 @SYNCTEX_CHILD(i32 noundef %0) #4 %11 = tail call i32 @SYNCTEX_DISPLAY(i32 noundef %10) #4 %12 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %13 = tail call i32 @SYNCTEX_SIBLING(i32 noundef %0) #4 %14 = tail call i32 @SYNCTEX_DISPLAY(i32 noundef %13) #4 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare i32 @SYNCTEX_TAG(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_LINE(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_HORIZ(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_VERT(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_WIDTH(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_HEIGHT(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_DEPTH(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_DISPLAY(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_CHILD(i32 noundef) local_unnamed_addr #2 declare i32 @SYNCTEX_SIBLING(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
sumatrapdf_ext_synctex_extr_synctex_parser.c__synctex_display_hbox
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_empty_Dfifo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_empty_Dfifo.c" target datalayout = "e-m:e-p270:32:32-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.w6692_hw = type { ptr, i32, i64, %struct.dchannel } %struct.dchannel = type { i32, ptr } @.str = private unnamed_addr constant [20 x i8] c"%s: empty_Dfifo %d\0A\00", align 1 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"%s: D receive out of memory\0A\00", align 1 @W_D_CMDR = dso_local local_unnamed_addr global i32 0, align 4 @W_D_CMDR_RACK = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"%s: empty_Dfifo overrun %d\0A\00", align 1 @W_D_RFIFO = dso_local local_unnamed_addr global i64 0, align 8 @debug = dso_local local_unnamed_addr global i32 0, align 4 @DEBUG_HW_DFIFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"D-recv %s %d \00", align 1 @DUMP_PREFIX_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @W6692_empty_Dfifo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @W6692_empty_Dfifo(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %1) #2 %6 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 3, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %20 9: ; preds = %2 %10 = load i32, ptr %3, align 8, !tbaa !14 %11 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !15 %12 = tail call ptr @mI_alloc_skb(i32 noundef %10, i32 noundef %11) #2 store ptr %12, ptr %6, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %9 %15 = load ptr, ptr %0, align 8, !tbaa !5 %16 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, ptr noundef %15) #2 %17 = load i32, ptr @W_D_CMDR, align 4, !tbaa !15 %18 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !15 %19 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2 br label %54 20: ; preds = %9, %2 %21 = phi ptr [ %12, %9 ], [ %7, %2 ] %22 = load i32, ptr %21, align 4, !tbaa !16 %23 = add nsw i32 %22, %1 %24 = load i32, ptr %3, align 8, !tbaa !18 %25 = icmp slt i32 %23, %24 br i1 %25, label %32, label %26 26: ; preds = %20 %27 = load ptr, ptr %0, align 8, !tbaa !5 %28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2, ptr noundef %27, i32 noundef %23) #2 %29 = load i32, ptr @W_D_CMDR, align 4, !tbaa !15 %30 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !15 %31 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2 br label %54 32: ; preds = %20 %33 = tail call ptr @skb_put(ptr noundef nonnull %21, i32 noundef %1) #2 %34 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 2 %35 = load i64, ptr %34, align 8, !tbaa !19 %36 = load i64, ptr @W_D_RFIFO, align 8, !tbaa !20 %37 = add nsw i64 %36, %35 %38 = tail call i32 @insb(i64 noundef %37, ptr noundef %33, i32 noundef %1) #2 %39 = load i32, ptr @W_D_CMDR, align 4, !tbaa !15 %40 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !15 %41 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr @debug, align 4, !tbaa !15 %43 = load i32, ptr @DEBUG_HW_DFIFO, align 4, !tbaa !15 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %54, label %46 46: ; preds = %32 %47 = getelementptr inbounds %struct.w6692_hw, ptr %0, i64 0, i32 1 %48 = load i32, ptr %47, align 8, !tbaa !21 %49 = load ptr, ptr %0, align 8, !tbaa !5 %50 = tail call i32 @snprintf(i32 noundef %48, i32 noundef 63, ptr noundef nonnull @.str.3, ptr noundef %49, i32 noundef %1) #2 %51 = load i32, ptr %47, align 8, !tbaa !21 %52 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !15 %53 = tail call i32 @print_hex_dump_bytes(i32 noundef %51, i32 noundef %52, ptr noundef %33, i32 noundef %1) #2 br label %54 54: ; preds = %32, %46, %26, %14 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mI_alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WriteW6692(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @insb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_hex_dump_bytes(i32 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 = !{!"w6692_hw", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!"dchannel", !10, i64 0, !7, i64 8} !13 = !{!12, !7, i64 8} !14 = !{!6, !10, i64 24} !15 = !{!10, !10, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"TYPE_3__", !10, i64 0} !18 = !{!12, !10, i64 0} !19 = !{!6, !11, i64 16} !20 = !{!11, !11, i64 0} !21 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_empty_Dfifo.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hardware/mISDN/extr_w6692.c_W6692_empty_Dfifo.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"%s: empty_Dfifo %d\0A\00", align 1 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"%s: D receive out of memory\0A\00", align 1 @W_D_CMDR = common local_unnamed_addr global i32 0, align 4 @W_D_CMDR_RACK = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"%s: empty_Dfifo overrun %d\0A\00", align 1 @W_D_RFIFO = common local_unnamed_addr global i64 0, align 8 @debug = common local_unnamed_addr global i32 0, align 4 @DEBUG_HW_DFIFO = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"D-recv %s %d \00", align 1 @DUMP_PREFIX_OFFSET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @W6692_empty_Dfifo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @W6692_empty_Dfifo(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %4, i32 noundef %1) #2 %6 = getelementptr inbounds i8, ptr %0, i64 32 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %20 9: ; preds = %2 %10 = load i32, ptr %3, align 8, !tbaa !15 %11 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !16 %12 = tail call ptr @mI_alloc_skb(i32 noundef %10, i32 noundef %11) #2 store ptr %12, ptr %6, align 8, !tbaa !14 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %9 %15 = load ptr, ptr %0, align 8, !tbaa !6 %16 = tail call i32 @pr_info(ptr noundef nonnull @.str.1, ptr noundef %15) #2 %17 = load i32, ptr @W_D_CMDR, align 4, !tbaa !16 %18 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !16 %19 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2 br label %54 20: ; preds = %9, %2 %21 = phi ptr [ %12, %9 ], [ %7, %2 ] %22 = load i32, ptr %21, align 4, !tbaa !17 %23 = add nsw i32 %22, %1 %24 = load i32, ptr %3, align 8, !tbaa !19 %25 = icmp slt i32 %23, %24 br i1 %25, label %32, label %26 26: ; preds = %20 %27 = load ptr, ptr %0, align 8, !tbaa !6 %28 = tail call i32 @pr_debug(ptr noundef nonnull @.str.2, ptr noundef %27, i32 noundef %23) #2 %29 = load i32, ptr @W_D_CMDR, align 4, !tbaa !16 %30 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !16 %31 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2 br label %54 32: ; preds = %20 %33 = tail call ptr @skb_put(ptr noundef nonnull %21, i32 noundef %1) #2 %34 = getelementptr inbounds i8, ptr %0, i64 16 %35 = load i64, ptr %34, align 8, !tbaa !20 %36 = load i64, ptr @W_D_RFIFO, align 8, !tbaa !21 %37 = add nsw i64 %36, %35 %38 = tail call i32 @insb(i64 noundef %37, ptr noundef %33, i32 noundef %1) #2 %39 = load i32, ptr @W_D_CMDR, align 4, !tbaa !16 %40 = load i32, ptr @W_D_CMDR_RACK, align 4, !tbaa !16 %41 = tail call i32 @WriteW6692(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %40) #2 %42 = load i32, ptr @debug, align 4, !tbaa !16 %43 = load i32, ptr @DEBUG_HW_DFIFO, align 4, !tbaa !16 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %54, label %46 46: ; preds = %32 %47 = getelementptr inbounds i8, ptr %0, i64 8 %48 = load i32, ptr %47, align 8, !tbaa !22 %49 = load ptr, ptr %0, align 8, !tbaa !6 %50 = tail call i32 @snprintf(i32 noundef %48, i32 noundef 63, ptr noundef nonnull @.str.3, ptr noundef %49, i32 noundef %1) #2 %51 = load i32, ptr %47, align 8, !tbaa !22 %52 = load i32, ptr @DUMP_PREFIX_OFFSET, align 4, !tbaa !16 %53 = tail call i32 @print_hex_dump_bytes(i32 noundef %51, i32 noundef %52, ptr noundef %33, i32 noundef %1) #2 br label %54 54: ; preds = %32, %46, %26, %14 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @mI_alloc_skb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @WriteW6692(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @skb_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @insb(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_hex_dump_bytes(i32 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 = !{!"w6692_hw", !8, i64 0, !11, i64 8, !12, i64 16, !13, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!"dchannel", !11, i64 0, !8, i64 8} !14 = !{!13, !8, i64 8} !15 = !{!7, !11, i64 24} !16 = !{!11, !11, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_3__", !11, i64 0} !19 = !{!13, !11, i64 0} !20 = !{!7, !12, i64 16} !21 = !{!12, !12, i64 0} !22 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_isdn_hardware_mISDN_extr_w6692.c_W6692_empty_Dfifo
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_StartPlacementExecutionOnSession.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_StartPlacementExecutionOnSession.c" target datalayout = "e-m:e-p270:32:32-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_18__ = type { i32, ptr, ptr, ptr } %struct.TYPE_19__ = type { i32, i32, ptr } %struct.TYPE_20__ = type { i32, ptr, ptr } %struct.TYPE_24__ = type { ptr, i32 } @PLACEMENT_EXECUTION_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @MULTI_CONNECTION_LOST = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @StartPlacementExecutionOnSession], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @StartPlacementExecutionOnSession(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_19__, ptr %6, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 2 %11 = load ptr, ptr %10, align 8, !tbaa !15 %12 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 2 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = load ptr, ptr %13, align 8, !tbaa !18 %15 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !20 %17 = tail call ptr @PlacementAccessListForTask(ptr noundef %14, ptr noundef %16) #3 %18 = load ptr, ptr %14, align 8, !tbaa !21 %19 = tail call i32 @AssignPlacementListToConnection(ptr noundef %17, ptr noundef %11) #3 %20 = load i32, ptr %1, align 8, !tbaa !23 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 8, !tbaa !23 %22 = icmp eq i32 %20, 0 br i1 %22, label %23, label %27 23: ; preds = %2 %24 = getelementptr inbounds %struct.TYPE_19__, ptr %6, i64 0, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !24 %26 = add nsw i32 %25, -1 store i32 %26, ptr %24, align 4, !tbaa !24 br label %27 27: ; preds = %23, %2 %28 = load i32, ptr %6, align 8, !tbaa !25 %29 = add nsw i32 %28, -1 store i32 %29, ptr %6, align 8, !tbaa !25 %30 = getelementptr inbounds %struct.TYPE_18__, ptr %1, i64 0, i32 1 store ptr %0, ptr %30, align 8, !tbaa !26 %31 = load i32, ptr @PLACEMENT_EXECUTION_RUNNING, align 4, !tbaa !27 store i32 %31, ptr %0, align 8, !tbaa !28 %32 = icmp eq ptr %9, null br i1 %32, label %40, label %33 33: ; preds = %27 %34 = load i32, ptr %9, align 4, !tbaa !29 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !31 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !31 %35 = tail call ptr @copyParamList(ptr noundef nonnull %9) #3 %36 = call i32 @ExtractParametersForRemoteExecution(ptr noundef %35, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %37 = load ptr, ptr %3, align 8, !tbaa !31 %38 = load ptr, ptr %4, align 8, !tbaa !31 %39 = call i32 @SendRemoteCommandParams(ptr noundef %11, ptr noundef %18, i32 noundef %34, ptr noundef %37, ptr noundef %38) #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 br label %42 40: ; preds = %27 %41 = tail call i32 @SendRemoteCommand(ptr noundef %11, ptr noundef %18) #3 br label %42 42: ; preds = %40, %33 %43 = phi i32 [ %39, %33 ], [ %41, %40 ] %44 = icmp eq i32 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %42 %46 = getelementptr inbounds %struct.TYPE_24__, ptr %11, i64 0, i32 1 %47 = load i32, ptr %46, align 8, !tbaa !32 %48 = call i32 @PQsetSingleRowMode(i32 noundef %47) #3 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %45, %42 %51 = load ptr, ptr @MULTI_CONNECTION_LOST, align 8, !tbaa !31 store ptr %51, ptr %11, align 8, !tbaa !34 br label %52 52: ; preds = %50, %45 %53 = phi i32 [ 1, %45 ], [ 0, %50 ] ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @PlacementAccessListForTask(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AssignPlacementListToConnection(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @copyParamList(ptr noundef) local_unnamed_addr #2 declare i32 @ExtractParametersForRemoteExecution(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SendRemoteCommandParams(ptr noundef, ptr 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 declare i32 @SendRemoteCommand(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PQsetSingleRowMode(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_18__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_19__", !7, i64 0, !7, i64 4, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_25__", !10, i64 0} !15 = !{!6, !10, i64 16} !16 = !{!17, !10, i64 16} !17 = !{!"TYPE_20__", !7, i64 0, !10, i64 8, !10, i64 16} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_22__", !10, i64 0} !20 = !{!17, !10, i64 8} !21 = !{!22, !10, i64 0} !22 = !{!"TYPE_21__", !10, i64 0} !23 = !{!6, !7, i64 0} !24 = !{!12, !7, i64 4} !25 = !{!12, !7, i64 0} !26 = !{!6, !10, i64 8} !27 = !{!7, !7, i64 0} !28 = !{!17, !7, i64 0} !29 = !{!30, !7, i64 0} !30 = !{!"TYPE_23__", !7, i64 0} !31 = !{!10, !10, i64 0} !32 = !{!33, !7, i64 8} !33 = !{!"TYPE_24__", !10, i64 0, !7, i64 8} !34 = !{!33, !10, i64 0}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_StartPlacementExecutionOnSession.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_StartPlacementExecutionOnSession.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PLACEMENT_EXECUTION_RUNNING = common local_unnamed_addr global i32 0, align 4 @MULTI_CONNECTION_LOST = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @StartPlacementExecutionOnSession], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @StartPlacementExecutionOnSession(ptr noundef %0, ptr nocapture noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = getelementptr inbounds i8, ptr %1, i64 24 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = getelementptr inbounds i8, ptr %1, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !16 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load ptr, ptr %12, align 8, !tbaa !17 %14 = load ptr, ptr %13, align 8, !tbaa !19 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !21 %17 = tail call ptr @PlacementAccessListForTask(ptr noundef %14, ptr noundef %16) #3 %18 = load ptr, ptr %14, align 8, !tbaa !22 %19 = tail call i32 @AssignPlacementListToConnection(ptr noundef %17, ptr noundef %11) #3 %20 = load i32, ptr %1, align 8, !tbaa !24 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 8, !tbaa !24 %22 = icmp eq i32 %20, 0 br i1 %22, label %23, label %27 23: ; preds = %2 %24 = getelementptr inbounds i8, ptr %6, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !25 %26 = add nsw i32 %25, -1 store i32 %26, ptr %24, align 4, !tbaa !25 br label %27 27: ; preds = %23, %2 %28 = load i32, ptr %6, align 8, !tbaa !26 %29 = add nsw i32 %28, -1 store i32 %29, ptr %6, align 8, !tbaa !26 %30 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %0, ptr %30, align 8, !tbaa !27 %31 = load i32, ptr @PLACEMENT_EXECUTION_RUNNING, align 4, !tbaa !28 store i32 %31, ptr %0, align 8, !tbaa !29 %32 = icmp eq ptr %9, null br i1 %32, label %40, label %33 33: ; preds = %27 %34 = load i32, ptr %9, align 4, !tbaa !30 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !32 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !32 %35 = tail call ptr @copyParamList(ptr noundef nonnull %9) #3 %36 = call i32 @ExtractParametersForRemoteExecution(ptr noundef %35, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %37 = load ptr, ptr %3, align 8, !tbaa !32 %38 = load ptr, ptr %4, align 8, !tbaa !32 %39 = call i32 @SendRemoteCommandParams(ptr noundef %11, ptr noundef %18, i32 noundef %34, ptr noundef %37, ptr noundef %38) #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 br label %42 40: ; preds = %27 %41 = tail call i32 @SendRemoteCommand(ptr noundef %11, ptr noundef %18) #3 br label %42 42: ; preds = %40, %33 %43 = phi i32 [ %39, %33 ], [ %41, %40 ] %44 = icmp eq i32 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %42 %46 = getelementptr inbounds i8, ptr %11, i64 8 %47 = load i32, ptr %46, align 8, !tbaa !33 %48 = call i32 @PQsetSingleRowMode(i32 noundef %47) #3 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %45, %42 %51 = load ptr, ptr @MULTI_CONNECTION_LOST, align 8, !tbaa !32 store ptr %51, ptr %11, align 8, !tbaa !35 br label %52 52: ; preds = %50, %45 %53 = phi i32 [ 1, %45 ], [ 0, %50 ] ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @PlacementAccessListForTask(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AssignPlacementListToConnection(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @copyParamList(ptr noundef) local_unnamed_addr #2 declare i32 @ExtractParametersForRemoteExecution(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SendRemoteCommandParams(ptr noundef, ptr 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 declare i32 @SendRemoteCommand(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PQsetSingleRowMode(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_18__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_19__", !8, i64 0, !8, i64 4, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_25__", !11, i64 0} !16 = !{!7, !11, i64 16} !17 = !{!18, !11, i64 16} !18 = !{!"TYPE_20__", !8, i64 0, !11, i64 8, !11, i64 16} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_22__", !11, i64 0} !21 = !{!18, !11, i64 8} !22 = !{!23, !11, i64 0} !23 = !{!"TYPE_21__", !11, i64 0} !24 = !{!7, !8, i64 0} !25 = !{!13, !8, i64 4} !26 = !{!13, !8, i64 0} !27 = !{!7, !11, i64 8} !28 = !{!8, !8, i64 0} !29 = !{!18, !8, i64 0} !30 = !{!31, !8, i64 0} !31 = !{!"TYPE_23__", !8, i64 0} !32 = !{!11, !11, i64 0} !33 = !{!34, !8, i64 8} !34 = !{!"TYPE_24__", !11, i64 0, !8, i64 8} !35 = !{!34, !11, i64 0}
citus_src_backend_distributed_executor_extr_adaptive_executor.c_StartPlacementExecutionOnSession
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apple/extr_macmace.c_mace_load_rxdma_base.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/apple/extr_macmace.c_mace_load_rxdma_base.c" target datalayout = "e-m:e-p270:32:32-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.mace_data = type { i64, i64 } @PSC_ENETRD_CMD = dso_local local_unnamed_addr global i64 0, align 8 @PSC_ENETRD_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @PSC_ENETRD_LEN = dso_local local_unnamed_addr global i64 0, align 8 @N_RX_RING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mace_load_rxdma_base], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mace_load_rxdma_base(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i64, ptr @PSC_ENETRD_CMD, align 8, !tbaa !5 %5 = sext i32 %1 to i64 %6 = add nsw i64 %4, %5 %7 = tail call i32 @psc_write_word(i64 noundef %6, i32 noundef 256) #2 %8 = load i64, ptr @PSC_ENETRD_ADDR, align 8, !tbaa !5 %9 = add nsw i64 %8, %5 %10 = getelementptr inbounds %struct.mace_data, ptr %3, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !9 %12 = trunc i64 %11 to i32 %13 = tail call i32 @psc_write_long(i64 noundef %9, i32 noundef %12) #2 %14 = load i64, ptr @PSC_ENETRD_LEN, align 8, !tbaa !5 %15 = add nsw i64 %14, %5 %16 = load i32, ptr @N_RX_RING, align 4, !tbaa !11 %17 = tail call i32 @psc_write_long(i64 noundef %15, i32 noundef %16) #2 %18 = load i64, ptr @PSC_ENETRD_CMD, align 8, !tbaa !5 %19 = add nsw i64 %18, %5 %20 = tail call i32 @psc_write_word(i64 noundef %19, i32 noundef 38912) #2 store i64 0, ptr %3, align 8, !tbaa !13 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @psc_write_word(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @psc_write_long(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, !6, i64 8} !10 = !{!"mace_data", !6, i64 0, !6, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/apple/extr_macmace.c_mace_load_rxdma_base.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/apple/extr_macmace.c_mace_load_rxdma_base.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PSC_ENETRD_CMD = common local_unnamed_addr global i64 0, align 8 @PSC_ENETRD_ADDR = common local_unnamed_addr global i64 0, align 8 @PSC_ENETRD_LEN = common local_unnamed_addr global i64 0, align 8 @N_RX_RING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mace_load_rxdma_base], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mace_load_rxdma_base(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i64, ptr @PSC_ENETRD_CMD, align 8, !tbaa !6 %5 = sext i32 %1 to i64 %6 = add nsw i64 %4, %5 %7 = tail call i32 @psc_write_word(i64 noundef %6, i32 noundef 256) #2 %8 = load i64, ptr @PSC_ENETRD_ADDR, align 8, !tbaa !6 %9 = add nsw i64 %8, %5 %10 = getelementptr inbounds i8, ptr %3, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = trunc i64 %11 to i32 %13 = tail call i32 @psc_write_long(i64 noundef %9, i32 noundef %12) #2 %14 = load i64, ptr @PSC_ENETRD_LEN, align 8, !tbaa !6 %15 = add nsw i64 %14, %5 %16 = load i32, ptr @N_RX_RING, align 4, !tbaa !12 %17 = tail call i32 @psc_write_long(i64 noundef %15, i32 noundef %16) #2 %18 = load i64, ptr @PSC_ENETRD_CMD, align 8, !tbaa !6 %19 = add nsw i64 %18, %5 %20 = tail call i32 @psc_write_word(i64 noundef %19, i32 noundef 38912) #2 store i64 0, ptr %3, align 8, !tbaa !14 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @psc_write_word(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @psc_write_long(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, !7, i64 8} !11 = !{!"mace_data", !7, i64 0, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 0}
linux_drivers_net_ethernet_apple_extr_macmace.c_mace_load_rxdma_base
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md-cluster.c_lockres_free.c' source_filename = "AnghaBench/linux/drivers/md/extr_md-cluster.c_lockres_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.dlm_lock_resource = type { %struct.TYPE_2__, ptr, i32, i32, i32 } %struct.TYPE_2__ = type { ptr, i32 } @DLM_LKF_FORCEUNLOCK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"failed to unlock %s return %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @lockres_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lockres_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 4 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = load i32, ptr @DLM_LKF_FORCEUNLOCK, align 4, !tbaa !13 %9 = tail call i32 @dlm_unlock(i32 noundef %5, i32 noundef %7, i32 noundef %8, ptr noundef nonnull %0, ptr noundef nonnull %0) #2 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i32 %12 = tail call i64 @unlikely(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %3 %15 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = tail call i32 @pr_err(ptr noundef nonnull @.str, ptr noundef %16, i32 noundef %9) #2 br label %24 18: ; preds = %3 %19 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 3 %20 = load i32, ptr %19, align 4, !tbaa !15 %21 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @wait_event(i32 noundef %20, i32 noundef %22) #2 br label %24 24: ; preds = %18, %14 %25 = getelementptr inbounds %struct.dlm_lock_resource, ptr %0, i64 0, i32 1 %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = tail call i32 @kfree(ptr noundef %26) #2 %28 = load ptr, ptr %0, align 8, !tbaa !17 %29 = tail call i32 @kfree(ptr noundef %28) #2 %30 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %1, %24 ret void } declare i32 @dlm_unlock(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wait_event(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, !11, i64 32} !6 = !{!"dlm_lock_resource", !7, i64 0, !8, i64 16, !11, i64 24, !11, i64 28, !11, i64 32} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!6, !8, i64 16} !15 = !{!6, !11, i64 28} !16 = !{!6, !11, i64 24} !17 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_md-cluster.c_lockres_free.c' source_filename = "AnghaBench/linux/drivers/md/extr_md-cluster.c_lockres_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DLM_LKF_FORCEUNLOCK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"failed to unlock %s return %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @lockres_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lockres_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 32 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = load i32, ptr @DLM_LKF_FORCEUNLOCK, align 4, !tbaa !14 %9 = tail call i32 @dlm_unlock(i32 noundef %5, i32 noundef %7, i32 noundef %8, ptr noundef nonnull %0, ptr noundef nonnull %0) #2 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i32 %12 = tail call i64 @unlikely(i32 noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = tail call i32 @pr_err(ptr noundef nonnull @.str, ptr noundef %16, i32 noundef %9) #2 br label %24 18: ; preds = %3 %19 = getelementptr inbounds i8, ptr %0, i64 28 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = getelementptr inbounds i8, ptr %0, i64 24 %22 = load i32, ptr %21, align 8, !tbaa !17 %23 = tail call i32 @wait_event(i32 noundef %20, i32 noundef %22) #2 br label %24 24: ; preds = %18, %14 %25 = getelementptr inbounds i8, ptr %0, i64 16 %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = tail call i32 @kfree(ptr noundef %26) #2 %28 = load ptr, ptr %0, align 8, !tbaa !18 %29 = tail call i32 @kfree(ptr noundef %28) #2 %30 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %1, %24 ret void } declare i32 @dlm_unlock(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wait_event(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, !12, i64 32} !7 = !{!"dlm_lock_resource", !8, i64 0, !9, i64 16, !12, i64 24, !12, i64 28, !12, i64 32} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!7, !9, i64 16} !16 = !{!7, !12, i64 28} !17 = !{!7, !12, i64 24} !18 = !{!7, !9, i64 0}
linux_drivers_md_extr_md-cluster.c_lockres_free
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c__rtl8723e_gen_refresh_led_state.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c__rtl8723e_gen_refresh_led_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rtl_priv = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64 } %struct.TYPE_3__ = type { %struct.rtl_led } %struct.rtl_led = type { i32 } @RF_CHANGE_BY_IPS = dso_local local_unnamed_addr global i64 0, align 8 @RF_CHANGE_BY_INIT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_rtl8723e_gen_refresh_led_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_rtl8723e_gen_refresh_led_state(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call ptr @rtl_psc(ptr noundef %3) #2 %5 = getelementptr inbounds %struct.rtl_priv, ptr %2, i64 0, i32 1 %6 = load i64, ptr %2, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load i64, ptr %4, align 8, !tbaa !14 %10 = load i64, ptr @RF_CHANGE_BY_IPS, align 8, !tbaa !16 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @rtl8723e_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 14: ; preds = %8 %15 = load i64, ptr @RF_CHANGE_BY_INIT, align 8, !tbaa !16 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @rtl8723e_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 19: ; preds = %14 %20 = tail call i32 @rtl8723e_sw_led_off(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 21: ; preds = %12, %19, %17, %1 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare ptr @rtl_psc(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723e_sw_led_on(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723e_sw_led_off(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"rtl_priv", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"rtl_led", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"rtl_ps_ctl", !8, i64 0} !16 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c__rtl8723e_gen_refresh_led_state.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_hw.c__rtl8723e_gen_refresh_led_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RF_CHANGE_BY_IPS = common local_unnamed_addr global i64 0, align 8 @RF_CHANGE_BY_INIT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_rtl8723e_gen_refresh_led_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_rtl8723e_gen_refresh_led_state(ptr noundef %0) #0 { %2 = tail call ptr @rtl_priv(ptr noundef %0) #2 %3 = tail call ptr @rtl_priv(ptr noundef %0) #2 %4 = tail call ptr @rtl_psc(ptr noundef %3) #2 %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = load i64, ptr %2, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %1 %9 = load i64, ptr %4, align 8, !tbaa !15 %10 = load i64, ptr @RF_CHANGE_BY_IPS, align 8, !tbaa !17 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = tail call i32 @rtl8723e_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 14: ; preds = %8 %15 = load i64, ptr @RF_CHANGE_BY_INIT, align 8, !tbaa !17 %16 = icmp eq i64 %9, %15 br i1 %16, label %17, label %19 17: ; preds = %14 %18 = tail call i32 @rtl8723e_sw_led_on(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 19: ; preds = %14 %20 = tail call i32 @rtl8723e_sw_led_off(ptr noundef %0, ptr noundef nonnull %5) #2 br label %21 21: ; preds = %12, %19, %17, %1 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare ptr @rtl_psc(ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723e_sw_led_on(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rtl8723e_sw_led_off(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"rtl_priv", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"rtl_led", !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!16, !9, i64 0} !16 = !{!"rtl_ps_ctl", !9, i64 0} !17 = !{!9, !9, i64 0}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_hw.c__rtl8723e_gen_refresh_led_state
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core_thermal.c_mlxsw_thermal_set_mode.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core_thermal.c_mlxsw_thermal_set_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.thermal_zone_device = type { i32, i32, ptr } %struct.mlxsw_thermal = type { i32, i32 } @THERMAL_DEVICE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @THERMAL_EVENT_UNSPECIFIED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mlxsw_thermal_set_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mlxsw_thermal_set_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.thermal_zone_device, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @mutex_lock(ptr noundef %0) #2 %6 = load i32, ptr @THERMAL_DEVICE_ENABLED, align 4, !tbaa !11 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = getelementptr inbounds %struct.mlxsw_thermal, ptr %4, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !12 br label %11 11: ; preds = %2, %8 %12 = phi i32 [ %10, %8 ], [ 0, %2 ] %13 = getelementptr inbounds %struct.thermal_zone_device, ptr %0, i64 0, i32 1 store i32 %12, ptr %13, align 4 %14 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2 store i32 %1, ptr %4, align 4, !tbaa !14 %15 = load i32, ptr @THERMAL_EVENT_UNSPECIFIED, align 4, !tbaa !11 %16 = tail call i32 @thermal_zone_device_update(ptr noundef nonnull %0, i32 noundef %15) #2 ret i32 0 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @thermal_zone_device_update(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"thermal_zone_device", !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 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 4} !13 = !{!"mlxsw_thermal", !7, i64 0, !7, i64 4} !14 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core_thermal.c_mlxsw_thermal_set_mode.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_core_thermal.c_mlxsw_thermal_set_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @THERMAL_DEVICE_ENABLED = common local_unnamed_addr global i32 0, align 4 @THERMAL_EVENT_UNSPECIFIED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mlxsw_thermal_set_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mlxsw_thermal_set_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @mutex_lock(ptr noundef %0) #2 %6 = load i32, ptr @THERMAL_DEVICE_ENABLED, align 4, !tbaa !12 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %4, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !13 br label %11 11: ; preds = %2, %8 %12 = phi i32 [ %10, %8 ], [ 0, %2 ] %13 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %12, ptr %13, align 4 %14 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2 store i32 %1, ptr %4, align 4, !tbaa !15 %15 = load i32, ptr @THERMAL_EVENT_UNSPECIFIED, align 4, !tbaa !12 %16 = tail call i32 @thermal_zone_device_update(ptr noundef nonnull %0, i32 noundef %15) #2 ret i32 0 } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @thermal_zone_device_update(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"thermal_zone_device", !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 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 4} !14 = !{!"mlxsw_thermal", !8, i64 0, !8, i64 4} !15 = !{!14, !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlxsw_extr_core_thermal.c_mlxsw_thermal_set_mode
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_WriteConfigToFile.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_WriteConfigToFile.c" target datalayout = "e-m:e-p270:32:32-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"Couldn't write %s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"// generated by quake, do not modify\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @Com_WriteConfigToFile(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @FS_FOpenFileWrite(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @Com_Printf(ptr noundef nonnull @.str, ptr noundef %0) #2 br label %11 6: ; preds = %1 %7 = tail call i32 @FS_Printf(i32 noundef %2, ptr noundef nonnull @.str.1) #2 %8 = tail call i32 @Key_WriteBindings(i32 noundef %2) #2 %9 = tail call i32 @Cvar_WriteVariables(i32 noundef %2) #2 %10 = tail call i32 @FS_FCloseFile(i32 noundef %2) #2 br label %11 11: ; preds = %6, %4 ret void } declare i32 @FS_FOpenFileWrite(ptr noundef) local_unnamed_addr #1 declare i32 @Com_Printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FS_Printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Key_WriteBindings(i32 noundef) local_unnamed_addr #1 declare i32 @Cvar_WriteVariables(i32 noundef) local_unnamed_addr #1 declare i32 @FS_FCloseFile(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/Quake-III-Arena/code/qcommon/extr_common.c_Com_WriteConfigToFile.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_common.c_Com_WriteConfigToFile.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"Couldn't write %s.\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"// generated by quake, do not modify\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @Com_WriteConfigToFile(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @FS_FOpenFileWrite(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @Com_Printf(ptr noundef nonnull @.str, ptr noundef %0) #2 br label %11 6: ; preds = %1 %7 = tail call i32 @FS_Printf(i32 noundef %2, ptr noundef nonnull @.str.1) #2 %8 = tail call i32 @Key_WriteBindings(i32 noundef %2) #2 %9 = tail call i32 @Cvar_WriteVariables(i32 noundef %2) #2 %10 = tail call i32 @FS_FCloseFile(i32 noundef %2) #2 br label %11 11: ; preds = %6, %4 ret void } declare i32 @FS_FOpenFileWrite(ptr noundef) local_unnamed_addr #1 declare i32 @Com_Printf(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FS_Printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @Key_WriteBindings(i32 noundef) local_unnamed_addr #1 declare i32 @Cvar_WriteVariables(i32 noundef) local_unnamed_addr #1 declare i32 @FS_FCloseFile(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)"}
Quake-III-Arena_code_qcommon_extr_common.c_Com_WriteConfigToFile
; ModuleID = 'AnghaBench/libevent/extr_bufferevent_filter.c_be_filter_eventcb.c' source_filename = "AnghaBench/libevent/extr_bufferevent_filter.c_be_filter_eventcb.c" target datalayout = "e-m:e-p270:32:32-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 @be_filter_eventcb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @be_filter_eventcb(ptr nocapture readnone %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = tail call ptr @downcast(ptr noundef %2) #2 %5 = tail call ptr @BEV_UPCAST(ptr noundef %4) #2 %6 = tail call i32 @BEV_LOCK(ptr noundef %4) #2 %7 = load i64, ptr %5, align 8, !tbaa !5 %8 = icmp sgt i64 %7, -1 %9 = zext i1 %8 to i32 %10 = tail call i32 @EVUTIL_ASSERT(i32 noundef %9) #2 %11 = load i64, ptr %5, align 8, !tbaa !5 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = tail call i32 @bufferevent_run_eventcb_(ptr noundef %4, i16 noundef signext %1, i32 noundef 0) #2 br label %15 15: ; preds = %13, %3 %16 = tail call i32 @BEV_UNLOCK(ptr noundef %4) #2 ret void } declare ptr @downcast(ptr noundef) local_unnamed_addr #1 declare ptr @BEV_UPCAST(ptr noundef) local_unnamed_addr #1 declare i32 @BEV_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_run_eventcb_(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @BEV_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 = !{!"bufferevent_private", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libevent/extr_bufferevent_filter.c_be_filter_eventcb.c' source_filename = "AnghaBench/libevent/extr_bufferevent_filter.c_be_filter_eventcb.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 @be_filter_eventcb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @be_filter_eventcb(ptr nocapture readnone %0, i16 noundef signext %1, ptr noundef %2) #0 { %4 = tail call ptr @downcast(ptr noundef %2) #2 %5 = tail call ptr @BEV_UPCAST(ptr noundef %4) #2 %6 = tail call i32 @BEV_LOCK(ptr noundef %4) #2 %7 = load i64, ptr %5, align 8, !tbaa !6 %8 = icmp sgt i64 %7, -1 %9 = zext i1 %8 to i32 %10 = tail call i32 @EVUTIL_ASSERT(i32 noundef %9) #2 %11 = load i64, ptr %5, align 8, !tbaa !6 %12 = icmp sgt i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = tail call i32 @bufferevent_run_eventcb_(ptr noundef %4, i16 noundef signext %1, i32 noundef 0) #2 br label %15 15: ; preds = %13, %3 %16 = tail call i32 @BEV_UNLOCK(ptr noundef %4) #2 ret void } declare ptr @downcast(ptr noundef) local_unnamed_addr #1 declare ptr @BEV_UPCAST(ptr noundef) local_unnamed_addr #1 declare i32 @BEV_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @EVUTIL_ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @bufferevent_run_eventcb_(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @BEV_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 = !{!"bufferevent_private", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
libevent_extr_bufferevent_filter.c_be_filter_eventcb
; ModuleID = 'AnghaBench/linux/arch/powerpc/mm/book3s32/extr_tlb.c_flush_tlb_mm.c' source_filename = "AnghaBench/linux/arch/powerpc/mm/book3s32/extr_tlb.c_flush_tlb_mm.c" target datalayout = "e-m:e-p270:32:32-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_area_struct = type { i32, i32, i32, ptr } @Hash = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @flush_tlb_mm(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @Hash, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !9 %6 = icmp eq ptr %5, null br i1 %6, label %20, label %9 7: ; preds = %1 %8 = tail call i32 (...) @_tlbia() #2 br label %20 9: ; preds = %4, %9 %10 = phi ptr [ %18, %9 ], [ %5, %4 ] %11 = getelementptr inbounds %struct.vm_area_struct, ptr %10, i64 0, i32 2 %12 = load i32, ptr %11, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.vm_area_struct, ptr %10, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = load i32, ptr %10, align 8, !tbaa !14 %16 = tail call i32 @flush_range(i32 noundef %12, i32 noundef %14, i32 noundef %15) #2 %17 = getelementptr inbounds %struct.vm_area_struct, ptr %10, i64 0, i32 3 %18 = load ptr, ptr %17, align 8, !tbaa !9 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %9, !llvm.loop !15 20: ; preds = %9, %4, %7 ret void } declare i32 @_tlbia(...) local_unnamed_addr #1 declare i32 @flush_range(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 8} !12 = !{!"vm_area_struct", !6, i64 0, !6, i64 4, !6, i64 8, !10, i64 16} !13 = !{!12, !6, i64 4} !14 = !{!12, !6, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/arch/powerpc/mm/book3s32/extr_tlb.c_flush_tlb_mm.c' source_filename = "AnghaBench/linux/arch/powerpc/mm/book3s32/extr_tlb.c_flush_tlb_mm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @Hash = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @flush_tlb_mm(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @Hash, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = icmp eq ptr %5, null br i1 %6, label %20, label %9 7: ; preds = %1 %8 = tail call i32 @_tlbia() #2 br label %20 9: ; preds = %4, %9 %10 = phi ptr [ %18, %9 ], [ %5, %4 ] %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = getelementptr inbounds i8, ptr %10, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = load i32, ptr %10, align 8, !tbaa !15 %16 = tail call i32 @flush_range(i32 noundef %12, i32 noundef %14, i32 noundef %15) #2 %17 = getelementptr inbounds i8, ptr %10, i64 16 %18 = load ptr, ptr %17, align 8, !tbaa !10 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %9, !llvm.loop !16 20: ; preds = %9, %4, %7 ret void } declare i32 @_tlbia(...) local_unnamed_addr #1 declare i32 @flush_range(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"vm_area_struct", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16} !14 = !{!13, !7, i64 4} !15 = !{!13, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_arch_powerpc_mm_book3s32_extr_tlb.c_flush_tlb_mm
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_p54pci.c_p54p_firmware_step2.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_p54pci.c_p54p_firmware_step2.c" target datalayout = "e-m:e-p270:32:32-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.p54p_priv = type { i32, ptr, ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr } @.str = private unnamed_addr constant [35 x i8] c"Cannot find firmware (isl3886pci)\0A\00", align 1 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @p54p_firmware_step2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @p54p_firmware_step2(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.p54p_priv, ptr %1, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.p54p_priv, ptr %1, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i32 @dev_err(ptr noundef %6, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @ENOENT, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %24 12: ; preds = %2 %13 = getelementptr inbounds %struct.p54p_priv, ptr %1, i64 0, i32 1 store ptr %0, ptr %13, align 8, !tbaa !14 %14 = tail call i32 @p54p_open(ptr noundef %4) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = tail call i32 @p54_read_eeprom(ptr noundef %4) #2 %18 = tail call i32 @p54p_stop(ptr noundef %4) #2 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @p54_register_common(ptr noundef %4, ptr noundef %6) #2 br label %24 22: ; preds = %12, %16 %23 = tail call i32 @complete(ptr noundef nonnull %1) #2 br label %28 24: ; preds = %20, %8 %25 = phi i32 [ %21, %20 ], [ %11, %8 ] %26 = tail call i32 @complete(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %25, 0 br i1 %27, label %37, label %28 28: ; preds = %22, %24 %29 = load ptr, ptr %6, align 8, !tbaa !15 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %28 %32 = tail call i32 @device_lock(ptr noundef nonnull %29) #2 %33 = tail call i32 @device_release_driver(ptr noundef nonnull %6) #2 %34 = tail call i32 @device_unlock(ptr noundef nonnull %29) #2 br label %37 35: ; preds = %28 %36 = tail call i32 @device_release_driver(ptr noundef nonnull %6) #2 br label %37 37: ; preds = %31, %35, %24 %38 = tail call i32 @pci_dev_put(ptr noundef %6) #2 ret void } declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @p54p_open(ptr noundef) local_unnamed_addr #1 declare i32 @p54_read_eeprom(ptr noundef) local_unnamed_addr #1 declare i32 @p54p_stop(ptr noundef) local_unnamed_addr #1 declare i32 @p54_register_common(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @device_lock(ptr noundef) local_unnamed_addr #1 declare i32 @device_release_driver(ptr noundef) local_unnamed_addr #1 declare i32 @device_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @pci_dev_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"p54p_priv", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_5__", !10, i64 0} !12 = !{!6, !10, i64 16} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !10, i64 0} !16 = !{!"pci_dev", !17, i64 0} !17 = !{!"TYPE_6__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_p54pci.c_p54p_firmware_step2.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intersil/p54/extr_p54pci.c_p54p_firmware_step2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [35 x i8] c"Cannot find firmware (isl3886pci)\0A\00", align 1 @ENOENT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @p54p_firmware_step2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @p54p_firmware_step2(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 24 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = icmp eq ptr %0, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i32 @dev_err(ptr noundef %6, ptr noundef nonnull @.str) #2 %10 = load i32, ptr @ENOENT, align 4, !tbaa !14 %11 = sub nsw i32 0, %10 br label %24 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %0, ptr %13, align 8, !tbaa !15 %14 = tail call i32 @p54p_open(ptr noundef %4) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = tail call i32 @p54_read_eeprom(ptr noundef %4) #2 %18 = tail call i32 @p54p_stop(ptr noundef %4) #2 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @p54_register_common(ptr noundef %4, ptr noundef %6) #2 br label %24 22: ; preds = %12, %16 %23 = tail call i32 @complete(ptr noundef nonnull %1) #2 br label %28 24: ; preds = %20, %8 %25 = phi i32 [ %21, %20 ], [ %11, %8 ] %26 = tail call i32 @complete(ptr noundef nonnull %1) #2 %27 = icmp eq i32 %25, 0 br i1 %27, label %37, label %28 28: ; preds = %22, %24 %29 = load ptr, ptr %6, align 8, !tbaa !16 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %28 %32 = tail call i32 @device_lock(ptr noundef nonnull %29) #2 %33 = tail call i32 @device_release_driver(ptr noundef nonnull %6) #2 %34 = tail call i32 @device_unlock(ptr noundef nonnull %29) #2 br label %37 35: ; preds = %28 %36 = tail call i32 @device_release_driver(ptr noundef nonnull %6) #2 br label %37 37: ; preds = %31, %35, %24 %38 = tail call i32 @pci_dev_put(ptr noundef %6) #2 ret void } declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @p54p_open(ptr noundef) local_unnamed_addr #1 declare i32 @p54_read_eeprom(ptr noundef) local_unnamed_addr #1 declare i32 @p54p_stop(ptr noundef) local_unnamed_addr #1 declare i32 @p54_register_common(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @complete(ptr noundef) local_unnamed_addr #1 declare i32 @device_lock(ptr noundef) local_unnamed_addr #1 declare i32 @device_release_driver(ptr noundef) local_unnamed_addr #1 declare i32 @device_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @pci_dev_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"p54p_priv", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_5__", !11, i64 0} !13 = !{!7, !11, i64 16} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !11, i64 0} !17 = !{!"pci_dev", !18, i64 0} !18 = !{!"TYPE_6__", !11, i64 0}
linux_drivers_net_wireless_intersil_p54_extr_p54pci.c_p54p_firmware_step2
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_qcu.c_ath5k_hw_setup_tx_queue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_qcu.c_ath5k_hw_setup_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.ath5k_hw = type { i32, ptr, %struct.TYPE_5__ } %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.TYPE_6__ = type { i32 } @AR5K_TX_QUEUE_ID_NOQCU_DATA = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_NOQCU_BEACON = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_DATA_MIN = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_DATA_MAX = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_UAPSD = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_BEACON = dso_local local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_CAB = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ath5k_hw_setup_tx_queue(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 2 %5 = load i32, ptr %4, align 8, !tbaa !5 %6 = icmp eq i32 %5, 2 br i1 %6, label %7, label %15 7: ; preds = %3 switch i32 %1, label %12 [ i32 129, label %8 i32 131, label %10 i32 130, label %10 ] 8: ; preds = %7 %9 = load i32, ptr @AR5K_TX_QUEUE_ID_NOQCU_DATA, align 4, !tbaa !13 br label %48 10: ; preds = %7, %7 %11 = load i32, ptr @AR5K_TX_QUEUE_ID_NOQCU_BEACON, align 4, !tbaa !13 br label %48 12: ; preds = %7 %13 = load i32, ptr @EINVAL, align 4, !tbaa !13 %14 = sub nsw i32 0, %13 br label %64 15: ; preds = %3 switch i32 %1, label %45 [ i32 129, label %16 i32 128, label %39 i32 131, label %41 i32 130, label %43 ] 16: ; preds = %15 %17 = load i32, ptr @AR5K_TX_QUEUE_ID_DATA_MIN, align 4, !tbaa !13 %18 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = load i32, ptr @AR5K_TX_QUEUE_INACTIVE, align 4, !tbaa !13 %21 = zext i32 %17 to i64 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = icmp eq i32 %23, %20 br i1 %24, label %48, label %25 25: ; preds = %16 %26 = load i32, ptr @AR5K_TX_QUEUE_ID_DATA_MAX, align 4, !tbaa !13 br label %27 27: ; preds = %25, %33 %28 = phi i32 [ %17, %25 ], [ %34, %33 ] %29 = icmp ugt i32 %28, %26 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr @EINVAL, align 4, !tbaa !13 %32 = sub nsw i32 0, %31 br label %64 33: ; preds = %27 %34 = add i32 %28, 1 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !15 %38 = icmp eq i32 %37, %20 br i1 %38, label %48, label %27, !llvm.loop !17 39: ; preds = %15 %40 = load i32, ptr @AR5K_TX_QUEUE_ID_UAPSD, align 4, !tbaa !13 br label %48 41: ; preds = %15 %42 = load i32, ptr @AR5K_TX_QUEUE_ID_BEACON, align 4, !tbaa !13 br label %48 43: ; preds = %15 %44 = load i32, ptr @AR5K_TX_QUEUE_ID_CAB, align 4, !tbaa !13 br label %48 45: ; preds = %15 %46 = load i32, ptr @EINVAL, align 4, !tbaa !13 %47 = sub nsw i32 0, %46 br label %64 48: ; preds = %33, %16, %39, %41, %43, %8, %10 %49 = phi i32 [ %11, %10 ], [ %9, %8 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %17, %16 ], [ %34, %33 ] %50 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 1 %51 = load ptr, ptr %50, align 8, !tbaa !14 %52 = zext i32 %49 to i64 %53 = getelementptr inbounds %struct.TYPE_6__, ptr %51, i64 %52 %54 = tail call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef 4) #2 %55 = load ptr, ptr %50, align 8, !tbaa !14 %56 = getelementptr inbounds %struct.TYPE_6__, ptr %55, i64 %52 store i32 %1, ptr %56, align 4, !tbaa !15 %57 = icmp eq ptr %2, null br i1 %57, label %61, label %58 58: ; preds = %48 store i32 %1, ptr %2, align 4, !tbaa !19 %59 = tail call i32 @ath5k_hw_set_tx_queueprops(ptr noundef nonnull %0, i32 noundef %49, ptr noundef nonnull %2) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %58, %48 %62 = load i32, ptr %0, align 8, !tbaa !21 %63 = tail call i32 @AR5K_Q_ENABLE_BITS(i32 noundef %62, i32 noundef %49) #2 br label %64 64: ; preds = %58, %61, %45, %30, %12 %65 = phi i32 [ %14, %12 ], [ %49, %61 ], [ %47, %45 ], [ %32, %30 ], [ %59, %58 ] ret i32 %65 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath5k_hw_set_tx_queueprops(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AR5K_Q_ENABLE_BITS(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 16} !6 = !{!"ath5k_hw", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_6__", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!20, !7, i64 0} !20 = !{!"ath5k_txq_info", !7, i64 0} !21 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_qcu.c_ath5k_hw_setup_tx_queue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_qcu.c_ath5k_hw_setup_tx_queue.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 } @AR5K_TX_QUEUE_ID_NOQCU_DATA = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_NOQCU_BEACON = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_DATA_MIN = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_INACTIVE = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_DATA_MAX = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_UAPSD = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_BEACON = common local_unnamed_addr global i32 0, align 4 @AR5K_TX_QUEUE_ID_CAB = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ath5k_hw_setup_tx_queue(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 8, !tbaa !6 %6 = icmp eq i32 %5, 2 br i1 %6, label %7, label %15 7: ; preds = %3 switch i32 %1, label %12 [ i32 129, label %8 i32 131, label %10 i32 130, label %10 ] 8: ; preds = %7 %9 = load i32, ptr @AR5K_TX_QUEUE_ID_NOQCU_DATA, align 4, !tbaa !14 br label %48 10: ; preds = %7, %7 %11 = load i32, ptr @AR5K_TX_QUEUE_ID_NOQCU_BEACON, align 4, !tbaa !14 br label %48 12: ; preds = %7 %13 = load i32, ptr @EINVAL, align 4, !tbaa !14 %14 = sub nsw i32 0, %13 br label %64 15: ; preds = %3 switch i32 %1, label %45 [ i32 129, label %16 i32 128, label %39 i32 131, label %41 i32 130, label %43 ] 16: ; preds = %15 %17 = load i32, ptr @AR5K_TX_QUEUE_ID_DATA_MIN, align 4, !tbaa !14 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = load i32, ptr @AR5K_TX_QUEUE_INACTIVE, align 4, !tbaa !14 %21 = zext i32 %17 to i64 %22 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = icmp eq i32 %23, %20 br i1 %24, label %48, label %25 25: ; preds = %16 %26 = load i32, ptr @AR5K_TX_QUEUE_ID_DATA_MAX, align 4, !tbaa !14 br label %27 27: ; preds = %25, %33 %28 = phi i32 [ %17, %25 ], [ %34, %33 ] %29 = icmp ugt i32 %28, %26 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr @EINVAL, align 4, !tbaa !14 %32 = sub nsw i32 0, %31 br label %64 33: ; preds = %27 %34 = add i32 %28, 1 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds %struct.TYPE_6__, ptr %19, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = icmp eq i32 %37, %20 br i1 %38, label %48, label %27, !llvm.loop !18 39: ; preds = %15 %40 = load i32, ptr @AR5K_TX_QUEUE_ID_UAPSD, align 4, !tbaa !14 br label %48 41: ; preds = %15 %42 = load i32, ptr @AR5K_TX_QUEUE_ID_BEACON, align 4, !tbaa !14 br label %48 43: ; preds = %15 %44 = load i32, ptr @AR5K_TX_QUEUE_ID_CAB, align 4, !tbaa !14 br label %48 45: ; preds = %15 %46 = load i32, ptr @EINVAL, align 4, !tbaa !14 %47 = sub nsw i32 0, %46 br label %64 48: ; preds = %33, %16, %39, %41, %43, %8, %10 %49 = phi i32 [ %11, %10 ], [ %9, %8 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %17, %16 ], [ %34, %33 ] %50 = getelementptr inbounds i8, ptr %0, i64 8 %51 = load ptr, ptr %50, align 8, !tbaa !15 %52 = zext i32 %49 to i64 %53 = getelementptr inbounds %struct.TYPE_6__, ptr %51, i64 %52 %54 = tail call i32 @memset(ptr noundef %53, i32 noundef 0, i32 noundef 4) #2 %55 = load ptr, ptr %50, align 8, !tbaa !15 %56 = getelementptr inbounds %struct.TYPE_6__, ptr %55, i64 %52 store i32 %1, ptr %56, align 4, !tbaa !16 %57 = icmp eq ptr %2, null br i1 %57, label %61, label %58 58: ; preds = %48 store i32 %1, ptr %2, align 4, !tbaa !20 %59 = tail call i32 @ath5k_hw_set_tx_queueprops(ptr noundef nonnull %0, i32 noundef %49, ptr noundef nonnull %2) #2 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %58, %48 %62 = load i32, ptr %0, align 8, !tbaa !22 %63 = tail call i32 @AR5K_Q_ENABLE_BITS(i32 noundef %62, i32 noundef %49) #2 br label %64 64: ; preds = %58, %61, %45, %30, %12 %65 = phi i32 [ %14, %12 ], [ %49, %61 ], [ %47, %45 ], [ %32, %30 ], [ %59, %58 ] ret i32 %65 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ath5k_hw_set_tx_queueprops(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AR5K_Q_ENABLE_BITS(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 16} !7 = !{!"ath5k_hw", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"TYPE_4__", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_6__", !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!21, !8, i64 0} !21 = !{!"ath5k_txq_info", !8, i64 0} !22 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_net_wireless_ath_ath5k_extr_qcu.c_ath5k_hw_setup_tx_queue
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509v3/extr_v3_admis.c_PROFESSION_INFO_get0_addProfessionInfo.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509v3/extr_v3_admis.c_PROFESSION_INFO_get0_addProfessionInfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @PROFESSION_INFO_get0_addProfessionInfo(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509v3/extr_v3_admis.c_PROFESSION_INFO_get0_addProfessionInfo.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509v3/extr_v3_admis.c_PROFESSION_INFO_get0_addProfessionInfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define ptr @PROFESSION_INFO_get0_addProfessionInfo(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_openssl_crypto_x509v3_extr_v3_admis.c_PROFESSION_INFO_get0_addProfessionInfo
; ModuleID = 'AnghaBench/freebsd/lib/libc/rpc/extr_svc.c_svc_find.c' source_filename = "AnghaBench/freebsd/lib/libc/rpc/extr_svc.c_svc_find.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.svc_callout = type { i64, i64, ptr, ptr } @svc_head = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @svc_find], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @svc_find(i64 noundef %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef %3) #0 { %5 = icmp ne ptr %2, null %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load ptr, ptr @svc_head, align 8, !tbaa !5 %9 = icmp eq ptr %8, null br i1 %9, label %33, label %10 10: ; preds = %4 %11 = icmp eq ptr %3, null br label %12 12: ; preds = %10, %29 %13 = phi ptr [ %8, %10 ], [ %31, %29 ] %14 = phi ptr [ null, %10 ], [ %13, %29 ] %15 = load i64, ptr %13, align 8, !tbaa !9 %16 = icmp eq i64 %15, %0 br i1 %16, label %17, label %29 17: ; preds = %12 %18 = getelementptr inbounds %struct.svc_callout, ptr %13, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !12 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %29 21: ; preds = %17 br i1 %11, label %33, label %22 22: ; preds = %21 %23 = getelementptr inbounds %struct.svc_callout, ptr %13, i64 0, i32 2 %24 = load ptr, ptr %23, align 8, !tbaa !13 %25 = icmp eq ptr %24, null br i1 %25, label %33, label %26 26: ; preds = %22 %27 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull %24) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26, %17, %12 %30 = getelementptr inbounds %struct.svc_callout, ptr %13, i64 0, i32 3 %31 = load ptr, ptr %30, align 8, !tbaa !5 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %12, !llvm.loop !14 33: ; preds = %29, %26, %22, %21, %4 %34 = phi ptr [ null, %4 ], [ %14, %21 ], [ %14, %22 ], [ %14, %26 ], [ %13, %29 ] %35 = phi ptr [ null, %4 ], [ %13, %21 ], [ %13, %22 ], [ %13, %26 ], [ null, %29 ] store ptr %34, ptr %2, align 8, !tbaa !5 ret ptr %35 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(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 = !{!"svc_callout", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!10, !6, i64 16} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/lib/libc/rpc/extr_svc.c_svc_find.c' source_filename = "AnghaBench/freebsd/lib/libc/rpc/extr_svc.c_svc_find.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @svc_head = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @svc_find], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @svc_find(i64 noundef %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef %3) #0 { %5 = icmp ne ptr %2, null %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load ptr, ptr @svc_head, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %33, label %10 10: ; preds = %4 %11 = icmp eq ptr %3, null br label %12 12: ; preds = %10, %29 %13 = phi ptr [ %8, %10 ], [ %31, %29 ] %14 = phi ptr [ null, %10 ], [ %13, %29 ] %15 = load i64, ptr %13, align 8, !tbaa !10 %16 = icmp eq i64 %15, %0 br i1 %16, label %17, label %29 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %13, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp eq i64 %19, %1 br i1 %20, label %21, label %29 21: ; preds = %17 br i1 %11, label %33, label %22 22: ; preds = %21 %23 = getelementptr inbounds i8, ptr %13, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !14 %25 = icmp eq ptr %24, null br i1 %25, label %33, label %26 26: ; preds = %22 %27 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull %24) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26, %17, %12 %30 = getelementptr inbounds i8, ptr %13, i64 24 %31 = load ptr, ptr %30, align 8, !tbaa !6 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %12, !llvm.loop !15 33: ; preds = %29, %26, %22, %21, %4 %34 = phi ptr [ null, %4 ], [ %14, %21 ], [ %14, %22 ], [ %14, %26 ], [ %13, %29 ] %35 = phi ptr [ null, %4 ], [ %13, %21 ], [ %13, %22 ], [ %13, %26 ], [ null, %29 ] store ptr %34, ptr %2, align 8, !tbaa !6 ret ptr %35 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(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 = !{!"svc_callout", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!11, !7, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
freebsd_lib_libc_rpc_extr_svc.c_svc_find
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_set_post_field.c' source_filename = "AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_set_post_field.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, i32 } @ESP_OK = dso_local local_unnamed_addr global i32 0, align 4 @TAG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"set post file length = %d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Content-Type\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"application/x-www-form-urlencoded\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @esp_http_client_set_post_field(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 store ptr %1, ptr %0, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 store i32 %2, ptr %5, align 8, !tbaa !11 %6 = load i32, ptr @TAG, align 4, !tbaa !12 %7 = tail call i32 @ESP_LOGD(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #3 %8 = load ptr, ptr %0, align 8, !tbaa !5 %9 = icmp eq ptr %8, null br i1 %9, label %22, label %10 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !13 %11 = call i32 @esp_http_client_get_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %12 = load i32, ptr @ESP_OK, align 4, !tbaa !12 %13 = icmp eq i32 %11, %12 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null %16 = select i1 %13, i1 %15, i1 false br i1 %16, label %17, label %19 17: ; preds = %10 %18 = call i32 @esp_http_client_set_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3 br label %19 19: ; preds = %17, %10 %20 = phi i32 [ %11, %10 ], [ %18, %17 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 %21 = select i1 %13, i32 %20, i32 %11 br label %24 22: ; preds = %3 store i32 0, ptr %5, align 8, !tbaa !11 %23 = tail call i32 @esp_http_client_set_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef null) #3 br label %24 24: ; preds = %19, %22 %25 = phi i32 [ %23, %22 ], [ %21, %19 ] ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ESP_LOGD(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @esp_http_client_get_header(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @esp_http_client_set_header(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_set_post_field.c' source_filename = "AnghaBench/esp-idf/components/esp_http_client/extr_esp_http_client.c_esp_http_client_set_post_field.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ESP_OK = common local_unnamed_addr global i32 0, align 4 @TAG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"set post file length = %d\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Content-Type\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"application/x-www-form-urlencoded\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @esp_http_client_set_post_field(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 store ptr %1, ptr %0, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %2, ptr %5, align 8, !tbaa !12 %6 = load i32, ptr @TAG, align 4, !tbaa !13 %7 = tail call i32 @ESP_LOGD(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %2) #3 %8 = load ptr, ptr %0, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %21, label %10 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 store ptr null, ptr %4, align 8, !tbaa !14 %11 = call i32 @esp_http_client_get_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %4) #3 %12 = load i32, ptr @ESP_OK, align 4, !tbaa !13 %13 = icmp eq i32 %11, %12 %14 = load ptr, ptr %4, align 8 %15 = icmp eq ptr %14, null %16 = select i1 %13, i1 %15, i1 false br i1 %16, label %17, label %19 17: ; preds = %10 %18 = call i32 @esp_http_client_set_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #3 br label %19 19: ; preds = %17, %10 %20 = phi i32 [ %11, %10 ], [ %18, %17 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br i1 %13, label %23, label %25 21: ; preds = %3 store i32 0, ptr %5, align 8, !tbaa !12 %22 = tail call i32 @esp_http_client_set_header(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef null) #3 br label %23 23: ; preds = %19, %21 %24 = phi i32 [ %20, %19 ], [ %22, %21 ] br label %25 25: ; preds = %19, %23 %26 = phi i32 [ %24, %23 ], [ %11, %19 ] ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ESP_LOGD(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @esp_http_client_get_header(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @esp_http_client_set_header(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!8, !8, i64 0}
esp-idf_components_esp_http_client_extr_esp_http_client.c_esp_http_client_set_post_field
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_system.c_counter_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_system.c_counter_show.c" target datalayout = "e-m:e-p270:32:32-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 } @counter_attrs = dso_local local_unnamed_addr global ptr null, align 8 @acpi_irq_handled = dso_local local_unnamed_addr global i32 0, align 4 @all_counters = dso_local local_unnamed_addr global ptr null, align 8 @num_gpes = dso_local local_unnamed_addr global i64 0, align 8 @ACPI_NUM_FIXED_EVENTS = dso_local local_unnamed_addr global i64 0, align 8 @COUNT_SCI = dso_local local_unnamed_addr global i64 0, align 8 @acpi_irq_not_handled = dso_local local_unnamed_addr global i32 0, align 4 @COUNT_SCI_NOT = dso_local local_unnamed_addr global i64 0, align 8 @acpi_gpe_count = dso_local local_unnamed_addr global i32 0, align 4 @COUNT_GPE = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%8d\00", align 1 @ACPI_EVENT_FLAG_HANDLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"\09invalid\00", align 1 @ACPI_EVENT_FLAG_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"\09enabled\00", align 1 @ACPI_EVENT_FLAG_WAKE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"\09wake_enabled\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"\09disabled\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @counter_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @counter_show(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load ptr, ptr @counter_attrs, align 8, !tbaa !5 %7 = ptrtoint ptr %1 to i64 %8 = ptrtoint ptr %6 to i64 %9 = sub i64 %7, %8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5 %10 = load i32, ptr @acpi_irq_handled, align 4, !tbaa !9 %11 = load ptr, ptr @all_counters, align 8, !tbaa !5 %12 = load i64, ptr @num_gpes, align 8, !tbaa !11 %13 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !11 %14 = load i64, ptr @COUNT_SCI, align 8, !tbaa !11 %15 = getelementptr %struct.TYPE_2__, ptr %11, i64 %12 %16 = getelementptr %struct.TYPE_2__, ptr %15, i64 %13 %17 = getelementptr %struct.TYPE_2__, ptr %16, i64 %14 store i32 %10, ptr %17, align 4, !tbaa !13 %18 = load i32, ptr @acpi_irq_not_handled, align 4, !tbaa !9 %19 = load i64, ptr @COUNT_SCI_NOT, align 8, !tbaa !11 %20 = getelementptr %struct.TYPE_2__, ptr %16, i64 %19 store i32 %18, ptr %20, align 4, !tbaa !13 %21 = load i32, ptr @acpi_gpe_count, align 4, !tbaa !9 %22 = load i64, ptr @COUNT_GPE, align 8, !tbaa !11 %23 = getelementptr %struct.TYPE_2__, ptr %16, i64 %22 store i32 %21, ptr %23, align 4, !tbaa !13 %24 = shl i64 %9, 30 %25 = ashr i64 %24, 32 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %27) %29 = load i64, ptr @num_gpes, align 8, !tbaa !11 %30 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !11 %31 = add i64 %30, %29 %32 = icmp ult i64 %25, %31 br i1 %32, label %33, label %68 33: ; preds = %3 %34 = lshr exact i64 %9, 2 %35 = trunc i64 %34 to i32 %36 = call i32 @get_status(i32 noundef %35, ptr noundef nonnull %5, ptr noundef nonnull %4) #5 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %65 38: ; preds = %33 %39 = load i32, ptr %5, align 4, !tbaa !9 %40 = load i32, ptr @ACPI_EVENT_FLAG_HANDLE, align 4, !tbaa !9 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %38 %44 = sext i32 %28 to i64 %45 = getelementptr inbounds i8, ptr %2, i64 %44 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %45, ptr noundef nonnull align 1 dereferenceable(9) @.str.1, i64 9, i1 false) %46 = add nsw i32 %28, 8 br label %68 47: ; preds = %38 %48 = load i32, ptr @ACPI_EVENT_FLAG_ENABLED, align 4, !tbaa !9 %49 = and i32 %48, %39 %50 = icmp eq i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %47 %52 = sext i32 %28 to i64 %53 = getelementptr inbounds i8, ptr %2, i64 %52 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %53, ptr noundef nonnull align 1 dereferenceable(9) @.str.2, i64 9, i1 false) %54 = add nsw i32 %28, 8 br label %68 55: ; preds = %47 %56 = load i32, ptr @ACPI_EVENT_FLAG_WAKE_ENABLED, align 4, !tbaa !9 %57 = and i32 %56, %39 %58 = icmp eq i32 %57, 0 %59 = sext i32 %28 to i64 %60 = getelementptr inbounds i8, ptr %2, i64 %59 br i1 %58, label %63, label %61 61: ; preds = %55 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(14) %60, ptr noundef nonnull align 1 dereferenceable(14) @.str.3, i64 14, i1 false) %62 = add nsw i32 %28, 13 br label %68 63: ; preds = %55 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %60, ptr noundef nonnull align 1 dereferenceable(10) @.str.4, i64 10, i1 false) %64 = add nsw i32 %28, 9 br label %68 65: ; preds = %33 %66 = sext i32 %28 to i64 %67 = getelementptr inbounds i8, ptr %2, i64 %66 store i16 10, ptr %67, align 1 br label %73 68: ; preds = %3, %51, %61, %63, %43 %69 = phi i32 [ %46, %43 ], [ %64, %63 ], [ %62, %61 ], [ %54, %51 ], [ %28, %3 ] %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %2, i64 %70 store i16 10, ptr %71, align 1 %72 = add nsw i32 %69, 1 br label %73 73: ; preds = %65, %68 %74 = phi i32 [ %72, %68 ], [ %36, %65 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 ret i32 %74 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @get_status(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 ; Function Attrs: 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) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !10, i64 0} !14 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_system.c_counter_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_system.c_counter_show.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 } @counter_attrs = common local_unnamed_addr global ptr null, align 8 @acpi_irq_handled = common local_unnamed_addr global i32 0, align 4 @all_counters = common local_unnamed_addr global ptr null, align 8 @num_gpes = common local_unnamed_addr global i64 0, align 8 @ACPI_NUM_FIXED_EVENTS = common local_unnamed_addr global i64 0, align 8 @COUNT_SCI = common local_unnamed_addr global i64 0, align 8 @acpi_irq_not_handled = common local_unnamed_addr global i32 0, align 4 @COUNT_SCI_NOT = common local_unnamed_addr global i64 0, align 8 @acpi_gpe_count = common local_unnamed_addr global i32 0, align 4 @COUNT_GPE = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [4 x i8] c"%8d\00", align 1 @ACPI_EVENT_FLAG_HANDLE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"\09invalid\00", align 1 @ACPI_EVENT_FLAG_ENABLED = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [9 x i8] c"\09enabled\00", align 1 @ACPI_EVENT_FLAG_WAKE_ENABLED = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"\09wake_enabled\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"\09disabled\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @counter_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @counter_show(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = load ptr, ptr @counter_attrs, align 8, !tbaa !6 %7 = ptrtoint ptr %1 to i64 %8 = ptrtoint ptr %6 to i64 %9 = sub i64 %7, %8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5 %10 = load i32, ptr @acpi_irq_handled, align 4, !tbaa !10 %11 = load ptr, ptr @all_counters, align 8, !tbaa !6 %12 = load i64, ptr @num_gpes, align 8, !tbaa !12 %13 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !12 %14 = load i64, ptr @COUNT_SCI, align 8, !tbaa !12 %15 = getelementptr %struct.TYPE_2__, ptr %11, i64 %12 %16 = getelementptr %struct.TYPE_2__, ptr %15, i64 %13 %17 = getelementptr %struct.TYPE_2__, ptr %16, i64 %14 store i32 %10, ptr %17, align 4, !tbaa !14 %18 = load i32, ptr @acpi_irq_not_handled, align 4, !tbaa !10 %19 = load i64, ptr @COUNT_SCI_NOT, align 8, !tbaa !12 %20 = getelementptr %struct.TYPE_2__, ptr %16, i64 %19 store i32 %18, ptr %20, align 4, !tbaa !14 %21 = load i32, ptr @acpi_gpe_count, align 4, !tbaa !10 %22 = load i64, ptr @COUNT_GPE, align 8, !tbaa !12 %23 = getelementptr %struct.TYPE_2__, ptr %16, i64 %22 store i32 %21, ptr %23, align 4, !tbaa !14 %24 = shl i64 %9, 30 %25 = ashr i64 %24, 32 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %25 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %27) %29 = load i64, ptr @num_gpes, align 8, !tbaa !12 %30 = load i64, ptr @ACPI_NUM_FIXED_EVENTS, align 8, !tbaa !12 %31 = add i64 %30, %29 %32 = icmp ult i64 %25, %31 br i1 %32, label %33, label %68 33: ; preds = %3 %34 = lshr exact i64 %9, 2 %35 = trunc i64 %34 to i32 %36 = call i32 @get_status(i32 noundef %35, ptr noundef nonnull %5, ptr noundef nonnull %4) #5 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %65 38: ; preds = %33 %39 = load i32, ptr %5, align 4, !tbaa !10 %40 = load i32, ptr @ACPI_EVENT_FLAG_HANDLE, align 4, !tbaa !10 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %38 %44 = sext i32 %28 to i64 %45 = getelementptr inbounds i8, ptr %2, i64 %44 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %45, ptr noundef nonnull align 1 dereferenceable(9) @.str.1, i64 9, i1 false) %46 = add nsw i32 %28, 8 br label %68 47: ; preds = %38 %48 = load i32, ptr @ACPI_EVENT_FLAG_ENABLED, align 4, !tbaa !10 %49 = and i32 %48, %39 %50 = icmp eq i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %47 %52 = sext i32 %28 to i64 %53 = getelementptr inbounds i8, ptr %2, i64 %52 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %53, ptr noundef nonnull align 1 dereferenceable(9) @.str.2, i64 9, i1 false) %54 = add nsw i32 %28, 8 br label %68 55: ; preds = %47 %56 = load i32, ptr @ACPI_EVENT_FLAG_WAKE_ENABLED, align 4, !tbaa !10 %57 = and i32 %56, %39 %58 = icmp eq i32 %57, 0 %59 = sext i32 %28 to i64 %60 = getelementptr inbounds i8, ptr %2, i64 %59 br i1 %58, label %63, label %61 61: ; preds = %55 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(14) %60, ptr noundef nonnull align 1 dereferenceable(14) @.str.3, i64 14, i1 false) %62 = add nsw i32 %28, 13 br label %68 63: ; preds = %55 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %60, ptr noundef nonnull align 1 dereferenceable(10) @.str.4, i64 10, i1 false) %64 = add nsw i32 %28, 9 br label %68 65: ; preds = %33 %66 = sext i32 %28 to i64 %67 = getelementptr inbounds i8, ptr %2, i64 %66 store i16 10, ptr %67, align 1 br label %73 68: ; preds = %3, %51, %61, %63, %43 %69 = phi i32 [ %46, %43 ], [ %64, %63 ], [ %62, %61 ], [ %54, %51 ], [ %28, %3 ] %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %2, i64 %70 store i16 10, ptr %71, align 1 %72 = add nsw i32 %69, 1 br label %73 73: ; preds = %65, %68 %74 = phi i32 [ %72, %68 ], [ %36, %65 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5 ret i32 %74 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @get_status(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 ; Function Attrs: 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) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0}
fastsocket_kernel_drivers_acpi_extr_system.c_counter_show
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci-msm.c_sdhci_msm_mci_variant_writel_relaxed.c' source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci-msm.c_sdhci_msm_mci_variant_writel_relaxed.c" target datalayout = "e-m:e-p270:32:32-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 @sdhci_msm_mci_variant_writel_relaxed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sdhci_msm_mci_variant_writel_relaxed(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @sdhci_priv(ptr noundef %1) #2 %5 = tail call ptr @sdhci_pltfm_priv(ptr noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = add nsw i64 %6, %2 %8 = tail call i32 @writel_relaxed(i64 noundef %0, i64 noundef %7) #2 ret void } declare ptr @sdhci_priv(ptr noundef) local_unnamed_addr #1 declare ptr @sdhci_pltfm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @writel_relaxed(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sdhci_msm_host", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/mmc/host/extr_sdhci-msm.c_sdhci_msm_mci_variant_writel_relaxed.c' source_filename = "AnghaBench/linux/drivers/mmc/host/extr_sdhci-msm.c_sdhci_msm_mci_variant_writel_relaxed.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 @sdhci_msm_mci_variant_writel_relaxed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sdhci_msm_mci_variant_writel_relaxed(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @sdhci_priv(ptr noundef %1) #2 %5 = tail call ptr @sdhci_pltfm_priv(ptr noundef %4) #2 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = add nsw i64 %6, %2 %8 = tail call i32 @writel_relaxed(i64 noundef %0, i64 noundef %7) #2 ret void } declare ptr @sdhci_priv(ptr noundef) local_unnamed_addr #1 declare ptr @sdhci_pltfm_priv(ptr noundef) local_unnamed_addr #1 declare i32 @writel_relaxed(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sdhci_msm_host", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_mmc_host_extr_sdhci-msm.c_sdhci_msm_mci_variant_writel_relaxed
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_txq_sent_desc_proc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_txq_sent_desc_proc.c" target datalayout = "e-m:e-p270:32:32-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 @mvneta_txq_sent_desc_proc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mvneta_txq_sent_desc_proc(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @mvneta_txq_sent_desc_num_get(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @mvneta_txq_sent_desc_dec(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 br label %7 7: ; preds = %5, %2 ret i32 %3 } declare i32 @mvneta_txq_sent_desc_num_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mvneta_txq_sent_desc_dec(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_txq_sent_desc_proc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_txq_sent_desc_proc.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 @mvneta_txq_sent_desc_proc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mvneta_txq_sent_desc_proc(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @mvneta_txq_sent_desc_num_get(ptr noundef %0, ptr noundef %1) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @mvneta_txq_sent_desc_dec(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 br label %7 7: ; preds = %5, %2 ret i32 %3 } declare i32 @mvneta_txq_sent_desc_num_get(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mvneta_txq_sent_desc_dec(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)"}
linux_drivers_net_ethernet_marvell_extr_mvneta.c_mvneta_txq_sent_desc_proc
; ModuleID = 'AnghaBench/openpilot/panda/drivers/linux/extr_panda.c_panda_urb_unlink.c' source_filename = "AnghaBench/openpilot/panda/drivers/linux/extr_panda.c_panda_urb_unlink.c" target datalayout = "e-m:e-p270:32:32-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.panda_inf_priv = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @panda_urb_unlink], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @panda_urb_unlink(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.panda_inf_priv, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @usb_kill_anchored_urbs(ptr noundef %3) #2 %5 = tail call i32 @usb_kill_anchored_urbs(ptr noundef %0) #2 ret void } declare i32 @usb_kill_anchored_urbs(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 = !{!"panda_inf_priv", !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/openpilot/panda/drivers/linux/extr_panda.c_panda_urb_unlink.c' source_filename = "AnghaBench/openpilot/panda/drivers/linux/extr_panda.c_panda_urb_unlink.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 @panda_urb_unlink], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @panda_urb_unlink(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @usb_kill_anchored_urbs(ptr noundef %3) #2 %5 = tail call i32 @usb_kill_anchored_urbs(ptr noundef %0) #2 ret void } declare i32 @usb_kill_anchored_urbs(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 = !{!"panda_inf_priv", !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}
openpilot_panda_drivers_linux_extr_panda.c_panda_urb_unlink
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa_misc.c_spa_mode.c' source_filename = "AnghaBench/zfs/module/zfs/extr_spa_misc.c_spa_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @spa_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_spa_misc.c_spa_mode.c' source_filename = "AnghaBench/zfs/module/zfs/extr_spa_misc.c_spa_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @spa_mode(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
zfs_module_zfs_extr_spa_misc.c_spa_mode