IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_pf_failed.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_pf_failed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @IOC_E_PFFAILED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_ioc_pf_failed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bfa_ioc_pf_failed(ptr noundef %0) #0 { %2 = load i32, ptr @IOC_E_PFFAILED, align 4, !tbaa !5 %3 = tail call i32 @bfa_fsm_send_event(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @bfa_fsm_send_event(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/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_pf_failed.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bfa_ioc.c_bfa_ioc_pf_failed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IOC_E_PFFAILED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bfa_ioc_pf_failed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bfa_ioc_pf_failed(ptr noundef %0) #0 { %2 = load i32, ptr @IOC_E_PFFAILED, align 4, !tbaa !6 %3 = tail call i32 @bfa_fsm_send_event(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @bfa_fsm_send_event(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_drivers_net_ethernet_brocade_bna_extr_bfa_ioc.c_bfa_ioc_pf_failed
; ModuleID = 'AnghaBench/linux/drivers/clk/tegra/extr_clk-dfll.c_dfll_build_lut.c' source_filename = "AnghaBench/linux/drivers/clk/tegra/extr_clk-dfll.c_dfll_build_lut.c" target datalayout = "e-m:e-p270:32:32-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.tegra_dfll = type { i64, i32, ptr } @ULONG_MAX = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [41 x i8] c"couldn't get vmax opp, empty opp table?\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @TEGRA_DFLL_PMU_PWM = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dfll_build_lut], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dfll_build_lut(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i64, ptr @ULONG_MAX, align 8, !tbaa !5 store i64 %3, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.tegra_dfll, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = call ptr @dev_pm_opp_find_freq_floor(i32 noundef %6, ptr noundef nonnull %2) #3 %8 = call i64 @IS_ERR(ptr noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %1 %11 = getelementptr inbounds %struct.tegra_dfll, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !15 %13 = call i32 @dev_err(i32 noundef %12, ptr noundef nonnull @.str) #3 %14 = load i32, ptr @EINVAL, align 4, !tbaa !16 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %1 %17 = call i64 @dev_pm_opp_get_voltage(ptr noundef %7) #3 %18 = call i32 @dev_pm_opp_put(ptr noundef %7) #3 %19 = load i64, ptr %0, align 8, !tbaa !17 %20 = load i64, ptr @TEGRA_DFLL_PMU_PWM, align 8, !tbaa !5 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = call i32 @dfll_build_pwm_lut(ptr noundef nonnull %0, i64 noundef %17) #3 br label %26 24: ; preds = %16 %25 = call i32 @dfll_build_i2c_lut(ptr noundef nonnull %0, i64 noundef %17) #3 br label %26 26: ; preds = %24, %22, %10 %27 = phi i32 [ %15, %10 ], [ %23, %22 ], [ %25, %24 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_pm_opp_find_freq_floor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @dev_pm_opp_get_voltage(ptr noundef) local_unnamed_addr #2 declare i32 @dev_pm_opp_put(ptr noundef) local_unnamed_addr #2 declare i32 @dfll_build_pwm_lut(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @dfll_build_i2c_lut(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 16} !10 = !{!"tegra_dfll", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_2__", !11, i64 0} !15 = !{!10, !11, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/tegra/extr_clk-dfll.c_dfll_build_lut.c' source_filename = "AnghaBench/linux/drivers/clk/tegra/extr_clk-dfll.c_dfll_build_lut.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ULONG_MAX = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [41 x i8] c"couldn't get vmax opp, empty opp table?\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @TEGRA_DFLL_PMU_PWM = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @dfll_build_lut], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dfll_build_lut(ptr noundef %0) #0 { %2 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i64, ptr @ULONG_MAX, align 8, !tbaa !6 store i64 %3, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !14 %7 = call ptr @dev_pm_opp_find_freq_floor(i32 noundef %6, ptr noundef nonnull %2) #3 %8 = call i64 @IS_ERR(ptr noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %1 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !16 %13 = call i32 @dev_err(i32 noundef %12, ptr noundef nonnull @.str) #3 %14 = load i32, ptr @EINVAL, align 4, !tbaa !17 %15 = sub nsw i32 0, %14 br label %26 16: ; preds = %1 %17 = call i64 @dev_pm_opp_get_voltage(ptr noundef %7) #3 %18 = call i32 @dev_pm_opp_put(ptr noundef %7) #3 %19 = load i64, ptr %0, align 8, !tbaa !18 %20 = load i64, ptr @TEGRA_DFLL_PMU_PWM, align 8, !tbaa !6 %21 = icmp eq i64 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = call i32 @dfll_build_pwm_lut(ptr noundef nonnull %0, i64 noundef %17) #3 br label %26 24: ; preds = %16 %25 = call i32 @dfll_build_i2c_lut(ptr noundef nonnull %0, i64 noundef %17) #3 br label %26 26: ; preds = %24, %22, %10 %27 = phi i32 [ %15, %10 ], [ %23, %22 ], [ %25, %24 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_pm_opp_find_freq_floor(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @dev_pm_opp_get_voltage(ptr noundef) local_unnamed_addr #2 declare i32 @dev_pm_opp_put(ptr noundef) local_unnamed_addr #2 declare i32 @dfll_build_pwm_lut(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @dfll_build_i2c_lut(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 16} !11 = !{!"tegra_dfll", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_2__", !12, i64 0} !16 = !{!11, !12, i64 8} !17 = !{!12, !12, i64 0} !18 = !{!11, !7, i64 0}
linux_drivers_clk_tegra_extr_clk-dfll.c_dfll_build_lut
; ModuleID = 'AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_sqlite3Fts2Init.c' source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_sqlite3Fts2Init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_NOMEM = dso_local local_unnamed_addr global i32 0, align 4 @FTS2_HASH_STRING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"simple\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"porter\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"fts2_tokenizer\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"snippet\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"offsets\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"optimize\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"fts2\00", align 1 @fts2Module = dso_local global i32 0, align 4 @hashDestroy = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sqlite3Fts2Init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !9 %5 = call i32 @sqlite3Fts2SimpleTokenizerModule(ptr noundef nonnull %2) #3 %6 = call i32 @sqlite3Fts2PorterTokenizerModule(ptr noundef nonnull %3) #3 %7 = call ptr @sqlite3_malloc(i32 noundef 4) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !5 br label %14 11: ; preds = %1 %12 = load i32, ptr @FTS2_HASH_STRING, align 4, !tbaa !5 %13 = call i32 @sqlite3Fts2HashInit(ptr noundef nonnull %7, i32 noundef %12, i32 noundef 1) #3 br label %14 14: ; preds = %11, %9 %15 = phi i32 [ %4, %11 ], [ %10, %9 ] %16 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %28 18: ; preds = %14 %19 = load ptr, ptr %2, align 8, !tbaa !9 %20 = call i64 @sqlite3Fts2HashInsert(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 7, ptr noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load ptr, ptr %3, align 8, !tbaa !9 %24 = call i64 @sqlite3Fts2HashInsert(ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef 7, ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %22, %18 %27 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !5 br label %28 28: ; preds = %22, %26, %14 %29 = phi i32 [ %27, %26 ], [ %15, %14 ], [ %15, %22 ] %30 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %31 = icmp eq i32 %30, %29 br i1 %31, label %32, label %52 32: ; preds = %28 %33 = call i32 @sqlite3Fts2InitHashTable(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.3) #3 %34 = icmp eq i32 %29, %33 %35 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 br i1 %34, label %36, label %52 36: ; preds = %32 %37 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef -1) #3 %38 = icmp eq i32 %35, %37 %39 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 br i1 %38, label %40, label %52 40: ; preds = %36 %41 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef -1) #3 %42 = icmp eq i32 %39, %41 %43 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 br i1 %42, label %44, label %52 44: ; preds = %40 %45 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef -1) #3 %46 = icmp eq i32 %43, %45 br i1 %46, label %49, label %47 47: ; preds = %44 %48 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 br label %52 49: ; preds = %44 %50 = load i32, ptr @hashDestroy, align 4, !tbaa !5 %51 = call i32 @sqlite3_create_module_v2(ptr noundef %0, ptr noundef nonnull @.str.7, ptr noundef nonnull @fts2Module, ptr noundef %7, i32 noundef %50) #3 br label %61 52: ; preds = %47, %40, %36, %32, %28 %53 = phi i32 [ %48, %47 ], [ %43, %40 ], [ %39, %36 ], [ %35, %32 ], [ %30, %28 ] %54 = phi i32 [ %45, %47 ], [ %41, %40 ], [ %37, %36 ], [ %33, %32 ], [ %29, %28 ] %55 = icmp ne i32 %54, %53 %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) #3 br i1 %8, label %61, label %58 58: ; preds = %52 %59 = call i32 @sqlite3Fts2HashClear(ptr noundef nonnull %7) #3 %60 = call i32 @sqlite3_free(ptr noundef nonnull %7) #3 br label %61 61: ; preds = %52, %58, %49 %62 = phi i32 [ %51, %49 ], [ %54, %58 ], [ %54, %52 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3Fts2SimpleTokenizerModule(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2PorterTokenizerModule(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2HashInit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3Fts2HashInsert(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2InitHashTable(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_overload_function(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_create_module_v2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2HashClear(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_sqlite3Fts2Init.c' source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_sqlite3Fts2Init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @SQLITE_NOMEM = common local_unnamed_addr global i32 0, align 4 @FTS2_HASH_STRING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"simple\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"porter\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"fts2_tokenizer\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"snippet\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"offsets\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"optimize\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"fts2\00", align 1 @fts2Module = common global i32 0, align 4 @hashDestroy = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sqlite3Fts2Init(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !10 %5 = call i32 @sqlite3Fts2SimpleTokenizerModule(ptr noundef nonnull %2) #3 %6 = call i32 @sqlite3Fts2PorterTokenizerModule(ptr noundef nonnull %3) #3 %7 = call ptr @sqlite3_malloc(i32 noundef 4) #3 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !6 br label %14 11: ; preds = %1 %12 = load i32, ptr @FTS2_HASH_STRING, align 4, !tbaa !6 %13 = call i32 @sqlite3Fts2HashInit(ptr noundef nonnull %7, i32 noundef %12, i32 noundef 1) #3 br label %14 14: ; preds = %11, %9 %15 = phi i32 [ %4, %11 ], [ %10, %9 ] %16 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %28 18: ; preds = %14 %19 = load ptr, ptr %2, align 8, !tbaa !10 %20 = call i64 @sqlite3Fts2HashInsert(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 7, ptr noundef %19) #3 %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load ptr, ptr %3, align 8, !tbaa !10 %24 = call i64 @sqlite3Fts2HashInsert(ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef 7, ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %22, %18 %27 = load i32, ptr @SQLITE_NOMEM, align 4, !tbaa !6 br label %28 28: ; preds = %22, %26, %14 %29 = phi i32 [ %27, %26 ], [ %15, %14 ], [ %15, %22 ] %30 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %31 = icmp eq i32 %30, %29 br i1 %31, label %32, label %52 32: ; preds = %28 %33 = call i32 @sqlite3Fts2InitHashTable(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.3) #3 %34 = icmp eq i32 %29, %33 %35 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 br i1 %34, label %36, label %52 36: ; preds = %32 %37 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef -1) #3 %38 = icmp eq i32 %35, %37 %39 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 br i1 %38, label %40, label %52 40: ; preds = %36 %41 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef -1) #3 %42 = icmp eq i32 %39, %41 %43 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 br i1 %42, label %44, label %52 44: ; preds = %40 %45 = call i32 @sqlite3_overload_function(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef -1) #3 %46 = icmp eq i32 %43, %45 br i1 %46, label %49, label %47 47: ; preds = %44 %48 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 br label %52 49: ; preds = %44 %50 = load i32, ptr @hashDestroy, align 4, !tbaa !6 %51 = call i32 @sqlite3_create_module_v2(ptr noundef %0, ptr noundef nonnull @.str.7, ptr noundef nonnull @fts2Module, ptr noundef %7, i32 noundef %50) #3 br label %61 52: ; preds = %47, %40, %36, %32, %28 %53 = phi i32 [ %48, %47 ], [ %43, %40 ], [ %39, %36 ], [ %35, %32 ], [ %30, %28 ] %54 = phi i32 [ %45, %47 ], [ %41, %40 ], [ %37, %36 ], [ %33, %32 ], [ %29, %28 ] %55 = icmp ne i32 %54, %53 %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) #3 br i1 %8, label %61, label %58 58: ; preds = %52 %59 = call i32 @sqlite3Fts2HashClear(ptr noundef nonnull %7) #3 %60 = call i32 @sqlite3_free(ptr noundef nonnull %7) #3 br label %61 61: ; preds = %52, %58, %49 %62 = phi i32 [ %51, %49 ], [ %54, %58 ], [ %54, %52 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %62 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3Fts2SimpleTokenizerModule(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2PorterTokenizerModule(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_malloc(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2HashInit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3Fts2HashInsert(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2InitHashTable(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_overload_function(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_create_module_v2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3Fts2HashClear(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
sqlcipher_ext_fts2_extr_fts2.c_sqlite3Fts2Init
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_enqueue_event_relative.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_enqueue_event_relative.c" target datalayout = "e-m:e-p270:32:32-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 } ; Function Attrs: nounwind uwtable define dso_local i32 @kcm_enqueue_event_relative(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i64, ptr %1, align 4 %5 = trunc i64 %4 to i32 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !5 %7 = tail call i64 @time(ptr noundef null) #3 %8 = trunc i64 %7 to i32 %9 = add i32 %5, %8 store i32 %9, ptr %3, align 4, !tbaa !10 %10 = call i32 @kcm_enqueue_event(i32 noundef %0, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @time(ptr noundef) local_unnamed_addr #2 declare i32 @kcm_enqueue_event(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_4__", !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/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_enqueue_event_relative.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/kcm/extr_events.c_kcm_enqueue_event_relative.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 } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @kcm_enqueue_event_relative(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_4__, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i64, ptr %1, align 4 %5 = trunc i64 %4 to i32 %6 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %5, ptr %6, align 4, !tbaa !6 %7 = tail call i64 @time(ptr noundef null) #3 %8 = trunc i64 %7 to i32 %9 = add i32 %5, %8 store i32 %9, ptr %3, align 4, !tbaa !11 %10 = call i32 @kcm_enqueue_event(i32 noundef %0, ptr noundef nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %10 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @time(ptr noundef) local_unnamed_addr #2 declare i32 @kcm_enqueue_event(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_4__", !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}
freebsd_crypto_heimdal_kcm_extr_events.c_kcm_enqueue_event_relative
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_lmedm04.c_lme2510_identify_state.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_lmedm04.c_lme2510_identify_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.dvb_usb_device = type { ptr, i32, ptr } @dvb_usb_lme2510_firmware = dso_local local_unnamed_addr global i32 0, align 4 @COLD = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @WARM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lme2510_identify_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lme2510_identify_state(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.dvb_usb_device, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.dvb_usb_device, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = tail call i32 @usb_reset_configuration(i32 noundef %6) #2 %8 = load i32, ptr %5, align 8, !tbaa !11 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i32 @usb_set_interface(i32 noundef %8, i32 noundef %10, i32 noundef 1) #2 %12 = load i32, ptr @dvb_usb_lme2510_firmware, align 4, !tbaa !15 store i32 %12, ptr %4, align 4, !tbaa !16 %13 = tail call i32 @lme2510_return_status(ptr noundef nonnull %0) #2 switch i32 %13, label %17 [ i32 68, label %14 i32 71, label %20 ] 14: ; preds = %2 %15 = tail call ptr @lme_firmware_switch(ptr noundef nonnull %0, i32 noundef 0) #2 store ptr %15, ptr %1, align 8, !tbaa !18 %16 = load i32, ptr @COLD, align 4, !tbaa !15 br label %22 17: ; preds = %2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !15 %19 = sub nsw i32 0, %18 br label %22 20: ; preds = %2 %21 = load i32, ptr @WARM, align 4, !tbaa !15 br label %22 22: ; preds = %20, %17, %14 %23 = phi i32 [ %16, %14 ], [ %19, %17 ], [ %21, %20 ] ret i32 %23 } declare i32 @usb_reset_configuration(i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_interface(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lme2510_return_status(ptr noundef) local_unnamed_addr #1 declare ptr @lme_firmware_switch(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"dvb_usb_device", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_2__", !10, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!17, !10, i64 0} !17 = !{!"lme2510_state", !10, i64 0} !18 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_lmedm04.c_lme2510_identify_state.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_lmedm04.c_lme2510_identify_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dvb_usb_lme2510_firmware = common local_unnamed_addr global i32 0, align 4 @COLD = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @WARM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lme2510_identify_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lme2510_identify_state(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = tail call i32 @usb_reset_configuration(i32 noundef %6) #2 %8 = load i32, ptr %5, align 8, !tbaa !12 %9 = load ptr, ptr %0, align 8, !tbaa !13 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i32 @usb_set_interface(i32 noundef %8, i32 noundef %10, i32 noundef 1) #2 %12 = load i32, ptr @dvb_usb_lme2510_firmware, align 4, !tbaa !16 store i32 %12, ptr %4, align 4, !tbaa !17 %13 = tail call i32 @lme2510_return_status(ptr noundef nonnull %0) #2 switch i32 %13, label %17 [ i32 68, label %14 i32 71, label %20 ] 14: ; preds = %2 %15 = tail call ptr @lme_firmware_switch(ptr noundef nonnull %0, i32 noundef 0) #2 store ptr %15, ptr %1, align 8, !tbaa !19 %16 = load i32, ptr @COLD, align 4, !tbaa !16 br label %22 17: ; preds = %2 %18 = load i32, ptr @EINVAL, align 4, !tbaa !16 %19 = sub nsw i32 0, %18 br label %22 20: ; preds = %2 %21 = load i32, ptr @WARM, align 4, !tbaa !16 br label %22 22: ; preds = %20, %17, %14 %23 = phi i32 [ %16, %14 ], [ %19, %17 ], [ %21, %20 ] ret i32 %23 } declare i32 @usb_reset_configuration(i32 noundef) local_unnamed_addr #1 declare i32 @usb_set_interface(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lme2510_return_status(ptr noundef) local_unnamed_addr #1 declare ptr @lme_firmware_switch(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"dvb_usb_device", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_2__", !11, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"lme2510_state", !11, i64 0} !19 = !{!8, !8, i64 0}
linux_drivers_media_usb_dvb-usb-v2_extr_lmedm04.c_lme2510_identify_state
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_v3_purp.c_check_ssl_ca.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_v3_purp.c_check_ssl_ca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NS_SSL_CA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_ssl_ca], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @check_ssl_ca(ptr noundef %0) #0 { %2 = tail call i32 @check_ca(ptr noundef %0) #2 switch i32 %2, label %8 [ i32 0, label %9 i32 5, label %3 ] 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @NS_SSL_CA, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1, %3 br label %9 9: ; preds = %3, %1, %8 %10 = phi i32 [ %2, %8 ], [ %2, %1 ], [ 0, %3 ] ret i32 %10 } declare i32 @check_ca(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/crypto/x509/extr_v3_purp.c_check_ssl_ca.c' source_filename = "AnghaBench/openssl/crypto/x509/extr_v3_purp.c_check_ssl_ca.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NS_SSL_CA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @check_ssl_ca], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @check_ssl_ca(ptr noundef %0) #0 { %2 = tail call i32 @check_ca(ptr noundef %0) #2 switch i32 %2, label %8 [ i32 0, label %9 i32 5, label %3 ] 3: ; preds = %1 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @NS_SSL_CA, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %9, label %8 8: ; preds = %1, %3 br label %9 9: ; preds = %3, %1, %8 %10 = phi i32 [ %2, %8 ], [ %2, %1 ], [ 0, %3 ] ret i32 %10 } declare i32 @check_ca(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
openssl_crypto_x509_extr_v3_purp.c_check_ssl_ca
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-mongo.c_buffer_reserve.c' source_filename = "AnghaBench/skynet/lualib-src/extr_lua-mongo.c_buffer_reserve.c" target datalayout = "e-m:e-p270:32:32-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.buffer = type { i32, i32, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @buffer_reserve], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @buffer_reserve(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = add nsw i32 %3, %1 %5 = getelementptr inbounds %struct.buffer, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = icmp sgt i32 %4, %6 br i1 %7, label %8, label %25 8: ; preds = %2, %8 %9 = phi i32 [ %10, %8 ], [ %6, %2 ] %10 = shl nsw i32 %9, 1 %11 = icmp sgt i32 %10, %4 br i1 %11, label %12, label %8, !llvm.loop !12 12: ; preds = %8 store i32 %10, ptr %5, align 4, !tbaa !11 %13 = getelementptr inbounds %struct.buffer, ptr %0, i64 0, i32 2 %14 = load i64, ptr %13, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.buffer, ptr %0, i64 0, i32 3 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = icmp eq i64 %14, %16 br i1 %17, label %18, label %23 18: ; preds = %12 %19 = tail call i64 @skynet_malloc(i32 noundef %10) #2 store i64 %19, ptr %13, align 8, !tbaa !14 %20 = load i64, ptr %15, align 8, !tbaa !15 %21 = load i32, ptr %0, align 8, !tbaa !5 %22 = tail call i32 @memcpy(i64 noundef %19, i64 noundef %20, i32 noundef %21) #2 br label %25 23: ; preds = %12 %24 = tail call i64 @skynet_realloc(i64 noundef %14, i32 noundef %10) #2 store i64 %24, ptr %13, align 8, !tbaa !14 br label %25 25: ; preds = %2, %23, %18 ret void } declare i64 @skynet_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skynet_realloc(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"buffer", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!6, !10, i64 8} !15 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/skynet/lualib-src/extr_lua-mongo.c_buffer_reserve.c' source_filename = "AnghaBench/skynet/lualib-src/extr_lua-mongo.c_buffer_reserve.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 @buffer_reserve], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @buffer_reserve(ptr nocapture noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = add nsw i32 %3, %1 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = icmp sgt i32 %4, %6 br i1 %7, label %8, label %25 8: ; preds = %2, %8 %9 = phi i32 [ %10, %8 ], [ %6, %2 ] %10 = shl nsw i32 %9, 1 %11 = icmp sgt i32 %10, %4 br i1 %11, label %12, label %8, !llvm.loop !13 12: ; preds = %8 store i32 %10, ptr %5, align 4, !tbaa !12 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp eq i64 %14, %16 br i1 %17, label %18, label %23 18: ; preds = %12 %19 = tail call i64 @skynet_malloc(i32 noundef %10) #2 store i64 %19, ptr %13, align 8, !tbaa !15 %20 = load i64, ptr %15, align 8, !tbaa !16 %21 = load i32, ptr %0, align 8, !tbaa !6 %22 = tail call i32 @memcpy(i64 noundef %19, i64 noundef %20, i32 noundef %21) #2 br label %25 23: ; preds = %12 %24 = tail call i64 @skynet_realloc(i64 noundef %14, i32 noundef %10) #2 store i64 %24, ptr %13, align 8, !tbaa !15 br label %25 25: ; preds = %2, %23, %18 ret void } declare i64 @skynet_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skynet_realloc(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"buffer", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!7, !11, i64 8} !16 = !{!7, !11, i64 16}
skynet_lualib-src_extr_lua-mongo.c_buffer_reserve
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/falcon/extr_msgqueue_0137c63d.c_init_gen_cmdline.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/falcon/extr_msgqueue_0137c63d.c_init_gen_cmdline.c" target datalayout = "e-m:e-p270:32:32-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.anon = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.anon.0, i32 } %struct.anon.0 = type { i32, i32, i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @init_gen_cmdline], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @init_gen_cmdline(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds %struct.anon, ptr %1, i64 0, i32 7 store i32 1, ptr %3, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 28} !6 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !10, i64 36, !7, i64 56} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/falcon/extr_msgqueue_0137c63d.c_init_gen_cmdline.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/falcon/extr_msgqueue_0137c63d.c_init_gen_cmdline.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @init_gen_cmdline], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @init_gen_cmdline(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 28 store i32 1, ptr %3, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 28} !7 = !{!"", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !11, i64 36, !8, i64 56} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
linux_drivers_gpu_drm_nouveau_nvkm_falcon_extr_msgqueue_0137c63d.c_init_gen_cmdline
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_event.c_se_reset.c' source_filename = "AnghaBench/openvpn/src/openvpn/extr_event.c_se_reset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.se_set = type { i32, ptr, i32, i32, i32 } @D_EVENT_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"SE_RESET\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @se_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @se_reset(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.se_set, ptr %0, i64 0, i32 4 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @ASSERT(i32 noundef %3) #2 %5 = load i32, ptr @D_EVENT_WAIT, align 4, !tbaa !11 %6 = tail call i32 @dmsg(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds %struct.se_set, ptr %0, i64 0, i32 3 %8 = tail call i32 @FD_ZERO(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds %struct.se_set, ptr %0, i64 0, i32 2 %10 = tail call i32 @FD_ZERO(ptr noundef nonnull %9) #2 %11 = load i32, ptr %0, align 8, !tbaa !12 %12 = icmp slt i32 %11, 0 br i1 %12, label %49, label %13 13: ; preds = %1 %14 = getelementptr inbounds %struct.se_set, ptr %0, i64 0, i32 1 %15 = add nuw i32 %11, 1 %16 = zext i32 %15 to i64 %17 = and i64 %16, 3 %18 = icmp ult i32 %11, 3 br i1 %18, label %38, label %19 19: ; preds = %13 %20 = and i64 %16, 4294967292 br label %21 21: ; preds = %21, %19 %22 = phi i64 [ 0, %19 ], [ %35, %21 ] %23 = phi i64 [ 0, %19 ], [ %36, %21 ] %24 = load ptr, ptr %14, align 8, !tbaa !13 %25 = getelementptr inbounds ptr, ptr %24, i64 %22 store ptr null, ptr %25, align 8, !tbaa !14 %26 = or disjoint i64 %22, 1 %27 = load ptr, ptr %14, align 8, !tbaa !13 %28 = getelementptr inbounds ptr, ptr %27, i64 %26 store ptr null, ptr %28, align 8, !tbaa !14 %29 = or disjoint i64 %22, 2 %30 = load ptr, ptr %14, align 8, !tbaa !13 %31 = getelementptr inbounds ptr, ptr %30, i64 %29 store ptr null, ptr %31, align 8, !tbaa !14 %32 = or disjoint i64 %22, 3 %33 = load ptr, ptr %14, align 8, !tbaa !13 %34 = getelementptr inbounds ptr, ptr %33, i64 %32 store ptr null, ptr %34, align 8, !tbaa !14 %35 = add nuw nsw i64 %22, 4 %36 = add i64 %23, 4 %37 = icmp eq i64 %36, %20 br i1 %37, label %38, label %21, !llvm.loop !15 38: ; preds = %21, %13 %39 = phi i64 [ 0, %13 ], [ %35, %21 ] %40 = icmp eq i64 %17, 0 br i1 %40, label %49, label %41 41: ; preds = %38, %41 %42 = phi i64 [ %46, %41 ], [ %39, %38 ] %43 = phi i64 [ %47, %41 ], [ 0, %38 ] %44 = load ptr, ptr %14, align 8, !tbaa !13 %45 = getelementptr inbounds ptr, ptr %44, i64 %42 store ptr null, ptr %45, align 8, !tbaa !14 %46 = add nuw nsw i64 %42, 1 %47 = add i64 %43, 1 %48 = icmp eq i64 %47, %17 br i1 %48, label %49, label %41, !llvm.loop !17 49: ; preds = %38, %41, %1 store i32 -1, ptr %0, align 8, !tbaa !12 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @dmsg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FD_ZERO(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 24} !6 = !{!"se_set", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.unroll.disable"}
; ModuleID = 'AnghaBench/openvpn/src/openvpn/extr_event.c_se_reset.c' source_filename = "AnghaBench/openvpn/src/openvpn/extr_event.c_se_reset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @D_EVENT_WAIT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"SE_RESET\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @se_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @se_reset(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @ASSERT(i32 noundef %3) #2 %5 = load i32, ptr @D_EVENT_WAIT, align 4, !tbaa !12 %6 = tail call i32 @dmsg(i32 noundef %5, ptr noundef nonnull @.str) #2 %7 = getelementptr inbounds i8, ptr %0, i64 20 %8 = tail call i32 @FD_ZERO(ptr noundef nonnull %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = tail call i32 @FD_ZERO(ptr noundef nonnull %9) #2 %11 = load i32, ptr %0, align 8, !tbaa !13 %12 = icmp slt i32 %11, 0 br i1 %12, label %23, label %13 13: ; preds = %1 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = add nuw i32 %11, 1 %16 = zext i32 %15 to i64 br label %17 17: ; preds = %13, %17 %18 = phi i64 [ 0, %13 ], [ %21, %17 ] %19 = load ptr, ptr %14, align 8, !tbaa !14 %20 = getelementptr inbounds ptr, ptr %19, i64 %18 store ptr null, ptr %20, align 8, !tbaa !15 %21 = add nuw nsw i64 %18, 1 %22 = icmp eq i64 %21, %16 br i1 %22, label %23, label %17, !llvm.loop !16 23: ; preds = %17, %1 store i32 -1, ptr %0, align 8, !tbaa !13 ret void } declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1 declare i32 @dmsg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FD_ZERO(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 24} !7 = !{!"se_set", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
openvpn_src_openvpn_extr_event.c_se_reset
; ModuleID = 'AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_uInt64_from_UInt32s.c' source_filename = "AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_uInt64_from_UInt32s.c" target datalayout = "e-m:e-p270:32:32-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 @uInt64_from_UInt32s], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @uInt64_from_UInt32s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = lshr i32 %2, 24 %5 = zext nneg i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load ptr, ptr %0, align 8, !tbaa !5 %8 = getelementptr inbounds ptr, ptr %7, i64 7 store ptr %6, ptr %8, align 8, !tbaa !10 %9 = lshr i32 %2, 16 %10 = and i32 %9, 255 %11 = zext nneg i32 %10 to i64 %12 = inttoptr i64 %11 to ptr %13 = load ptr, ptr %0, align 8, !tbaa !5 %14 = getelementptr inbounds ptr, ptr %13, i64 6 store ptr %12, ptr %14, align 8, !tbaa !10 %15 = lshr i32 %2, 8 %16 = and i32 %15, 255 %17 = zext nneg i32 %16 to i64 %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %0, align 8, !tbaa !5 %20 = getelementptr inbounds ptr, ptr %19, i64 5 store ptr %18, ptr %20, align 8, !tbaa !10 %21 = and i32 %2, 255 %22 = zext nneg i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load ptr, ptr %0, align 8, !tbaa !5 %25 = getelementptr inbounds ptr, ptr %24, i64 4 store ptr %23, ptr %25, align 8, !tbaa !10 %26 = lshr i32 %1, 24 %27 = zext nneg i32 %26 to i64 %28 = inttoptr i64 %27 to ptr %29 = load ptr, ptr %0, align 8, !tbaa !5 %30 = getelementptr inbounds ptr, ptr %29, i64 3 store ptr %28, ptr %30, align 8, !tbaa !10 %31 = lshr i32 %1, 16 %32 = and i32 %31, 255 %33 = zext nneg i32 %32 to i64 %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %0, align 8, !tbaa !5 %36 = getelementptr inbounds ptr, ptr %35, i64 2 store ptr %34, ptr %36, align 8, !tbaa !10 %37 = lshr i32 %1, 8 %38 = and i32 %37, 255 %39 = zext nneg i32 %38 to i64 %40 = inttoptr i64 %39 to ptr %41 = load ptr, ptr %0, align 8, !tbaa !5 %42 = getelementptr inbounds ptr, ptr %41, i64 1 store ptr %40, ptr %42, align 8, !tbaa !10 %43 = and i32 %1, 255 %44 = zext nneg i32 %43 to i64 %45 = inttoptr i64 %44 to ptr %46 = load ptr, ptr %0, align 8, !tbaa !5 store ptr %45, ptr %46, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_uInt64_from_UInt32s.c' source_filename = "AnghaBench/sumatrapdf/ext/bzip2/extr_bzip2.c_uInt64_from_UInt32s.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 @uInt64_from_UInt32s], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @uInt64_from_UInt32s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = lshr i32 %2, 24 %5 = zext nneg i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load ptr, ptr %0, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %7, i64 56 store ptr %6, ptr %8, align 8, !tbaa !11 %9 = lshr i32 %2, 16 %10 = and i32 %9, 255 %11 = zext nneg i32 %10 to i64 %12 = inttoptr i64 %11 to ptr %13 = load ptr, ptr %0, align 8, !tbaa !6 %14 = getelementptr inbounds i8, ptr %13, i64 48 store ptr %12, ptr %14, align 8, !tbaa !11 %15 = lshr i32 %2, 8 %16 = and i32 %15, 255 %17 = zext nneg i32 %16 to i64 %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %0, align 8, !tbaa !6 %20 = getelementptr inbounds i8, ptr %19, i64 40 store ptr %18, ptr %20, align 8, !tbaa !11 %21 = and i32 %2, 255 %22 = zext nneg i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load ptr, ptr %0, align 8, !tbaa !6 %25 = getelementptr inbounds i8, ptr %24, i64 32 store ptr %23, ptr %25, align 8, !tbaa !11 %26 = lshr i32 %1, 24 %27 = zext nneg i32 %26 to i64 %28 = inttoptr i64 %27 to ptr %29 = load ptr, ptr %0, align 8, !tbaa !6 %30 = getelementptr inbounds i8, ptr %29, i64 24 store ptr %28, ptr %30, align 8, !tbaa !11 %31 = lshr i32 %1, 16 %32 = and i32 %31, 255 %33 = zext nneg i32 %32 to i64 %34 = inttoptr i64 %33 to ptr %35 = load ptr, ptr %0, align 8, !tbaa !6 %36 = getelementptr inbounds i8, ptr %35, i64 16 store ptr %34, ptr %36, align 8, !tbaa !11 %37 = lshr i32 %1, 8 %38 = and i32 %37, 255 %39 = zext nneg i32 %38 to i64 %40 = inttoptr i64 %39 to ptr %41 = load ptr, ptr %0, align 8, !tbaa !6 %42 = getelementptr inbounds i8, ptr %41, i64 8 store ptr %40, ptr %42, align 8, !tbaa !11 %43 = and i32 %1, 255 %44 = zext nneg i32 %43 to i64 %45 = inttoptr i64 %44 to ptr %46 = load ptr, ptr %0, align 8, !tbaa !6 store ptr %45, ptr %46, align 8, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
sumatrapdf_ext_bzip2_extr_bzip2.c_uInt64_from_UInt32s
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_node.c_f2fs_remove_inode_page.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_node.c_f2fs_remove_inode_page.c" target datalayout = "e-m:e-p270:32:32-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.dnode_of_data = type { i32 } %struct.inode = type { i32, i32, i32 } @LOOKUP_NODE = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"Inconsistent i_blocks, ino:%lu, iblocks:%llu\00", align 1 @SBI_NEED_FSCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @f2fs_remove_inode_page(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.dnode_of_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = call i32 @set_new_dnode(ptr noundef nonnull %2, ptr noundef %0, ptr noundef null, ptr noundef null, i32 noundef %4) #3 %6 = load i32, ptr @LOOKUP_NODE, align 4, !tbaa !10 %7 = call i32 @f2fs_get_dnode_of_data(ptr noundef nonnull %2, i32 noundef 0, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %59 9: ; preds = %1 %10 = call i32 @f2fs_truncate_xattr_node(ptr noundef nonnull %0) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 br label %59 14: ; preds = %9 %15 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2 %16 = load i32, ptr %15, align 4, !tbaa !11 %17 = call i64 @S_ISREG(i32 noundef %16) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i32, ptr %15, align 4, !tbaa !11 %21 = call i64 @S_ISDIR(i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %15, align 4, !tbaa !11 %25 = call i64 @S_ISLNK(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23, %19, %14 %28 = call i32 @f2fs_truncate_data_blocks_range(ptr noundef nonnull %2, i32 noundef 1) #3 br label %29 29: ; preds = %27, %23 %30 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %31 = call i32 @f2fs_cp_error(i32 noundef %30) #3 %32 = call i64 @unlikely(i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %29 %35 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 %36 = load i32, ptr @EIO, align 4, !tbaa !10 %37 = sub nsw i32 0, %36 br label %59 38: ; preds = %29 %39 = load i32, ptr %0, align 4, !tbaa !12 %40 = and i32 %39, -9 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i32 %43 = call i64 @unlikely(i32 noundef %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %54, label %45 45: ; preds = %38 %46 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %47 = load i32, ptr %3, align 4, !tbaa !5 %48 = load i32, ptr %0, align 4, !tbaa !12 %49 = sext i32 %48 to i64 %50 = call i32 @f2fs_warn(i32 noundef %46, ptr noundef nonnull @.str, i32 noundef %47, i64 noundef %49) #3 %51 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %52 = load i32, ptr @SBI_NEED_FSCK, align 4, !tbaa !10 %53 = call i32 @set_sbi_flag(i32 noundef %51, i32 noundef %52) #3 br label %54 54: ; preds = %45, %38 %55 = call i32 @truncate_node(ptr noundef nonnull %2) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %59, label %57 57: ; preds = %54 %58 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 br label %59 59: ; preds = %54, %1, %57, %34, %12 %60 = phi i32 [ %10, %12 ], [ %37, %34 ], [ %55, %57 ], [ %7, %1 ], [ 0, %54 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %60 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @set_new_dnode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_get_dnode_of_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_truncate_xattr_node(ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_put_dnode(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_truncate_data_blocks_range(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_cp_error(i32 noundef) local_unnamed_addr #2 declare i32 @F2FS_I_SB(ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_warn(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @set_sbi_flag(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @truncate_node(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"inode", !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 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_node.c_f2fs_remove_inode_page.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_node.c_f2fs_remove_inode_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.dnode_of_data = type { i32 } @LOOKUP_NODE = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"Inconsistent i_blocks, ino:%lu, iblocks:%llu\00", align 1 @SBI_NEED_FSCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @f2fs_remove_inode_page(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.dnode_of_data, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = call i32 @set_new_dnode(ptr noundef nonnull %2, ptr noundef %0, ptr noundef null, ptr noundef null, i32 noundef %4) #3 %6 = load i32, ptr @LOOKUP_NODE, align 4, !tbaa !11 %7 = call i32 @f2fs_get_dnode_of_data(ptr noundef nonnull %2, i32 noundef 0, i32 noundef %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %59 9: ; preds = %1 %10 = call i32 @f2fs_truncate_xattr_node(ptr noundef nonnull %0) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %9 %13 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 br label %59 14: ; preds = %9 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !12 %17 = call i64 @S_ISREG(i32 noundef %16) #3 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i32, ptr %15, align 4, !tbaa !12 %21 = call i64 @S_ISDIR(i32 noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %15, align 4, !tbaa !12 %25 = call i64 @S_ISLNK(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23, %19, %14 %28 = call i32 @f2fs_truncate_data_blocks_range(ptr noundef nonnull %2, i32 noundef 1) #3 br label %29 29: ; preds = %27, %23 %30 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %31 = call i32 @f2fs_cp_error(i32 noundef %30) #3 %32 = call i64 @unlikely(i32 noundef %31) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %38, label %34 34: ; preds = %29 %35 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 %36 = load i32, ptr @EIO, align 4, !tbaa !11 %37 = sub nsw i32 0, %36 br label %59 38: ; preds = %29 %39 = load i32, ptr %0, align 4, !tbaa !13 %40 = and i32 %39, -9 %41 = icmp ne i32 %40, 0 %42 = zext i1 %41 to i32 %43 = call i64 @unlikely(i32 noundef %42) #3 %44 = icmp eq i64 %43, 0 br i1 %44, label %54, label %45 45: ; preds = %38 %46 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %47 = load i32, ptr %3, align 4, !tbaa !6 %48 = load i32, ptr %0, align 4, !tbaa !13 %49 = sext i32 %48 to i64 %50 = call i32 @f2fs_warn(i32 noundef %46, ptr noundef nonnull @.str, i32 noundef %47, i64 noundef %49) #3 %51 = call i32 @F2FS_I_SB(ptr noundef nonnull %0) #3 %52 = load i32, ptr @SBI_NEED_FSCK, align 4, !tbaa !11 %53 = call i32 @set_sbi_flag(i32 noundef %51, i32 noundef %52) #3 br label %54 54: ; preds = %45, %38 %55 = call i32 @truncate_node(ptr noundef nonnull %2) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %59, label %57 57: ; preds = %54 %58 = call i32 @f2fs_put_dnode(ptr noundef nonnull %2) #3 br label %59 59: ; preds = %54, %1, %57, %34, %12 %60 = phi i32 [ %10, %12 ], [ %37, %34 ], [ %55, %57 ], [ %7, %1 ], [ 0, %54 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %60 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @set_new_dnode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_get_dnode_of_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_truncate_xattr_node(ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_put_dnode(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISREG(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_truncate_data_blocks_range(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_cp_error(i32 noundef) local_unnamed_addr #2 declare i32 @F2FS_I_SB(ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_warn(i32 noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @set_sbi_flag(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @truncate_node(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"inode", !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 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!7, !8, i64 0}
linux_fs_f2fs_extr_node.c_f2fs_remove_inode_page
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_intel_runtime_pm_put.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_intel_runtime_pm_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 @intel_runtime_pm_put], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @intel_runtime_pm_put(ptr noundef %0, i32 %1) #0 { %3 = tail call i32 @intel_runtime_pm_put_unchecked(ptr noundef %0) #2 ret void } declare i32 @intel_runtime_pm_put_unchecked(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)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_intel_runtime_pm_put.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..intel_runtime_pm.h_intel_runtime_pm_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 @intel_runtime_pm_put], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @intel_runtime_pm_put(ptr noundef %0, i32 %1) #0 { %3 = tail call i32 @intel_runtime_pm_put_unchecked(ptr noundef %0) #2 ret void } declare i32 @intel_runtime_pm_put_unchecked(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)"}
linux_drivers_gpu_drm_i915_selftests_extr_..intel_runtime_pm.h_intel_runtime_pm_put
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_MM_Init.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_MM_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_6__ = type { ptr, ptr, i64, i64, i32 } @MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @E_INVALID_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Size (should be positive)\00", align 1 @E_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @NO_MSG = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"MM spinlock!\00", align 1 @MM_MAX_ALIGNMENT = dso_local local_unnamed_addr global i32 0, align 4 @E_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @MM_Init(ptr nocapture noundef writeonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %5, label %9 5: ; preds = %3 %6 = load i32, ptr @MAJOR, align 4, !tbaa !5 %7 = load i32, ptr @E_INVALID_VALUE, align 4, !tbaa !5 %8 = tail call i32 @RETURN_ERROR(i32 noundef %6, i32 noundef %7, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %5, %3 %10 = tail call i64 @XX_Malloc(i32 noundef 40) #2 %11 = inttoptr i64 %10 to ptr %12 = icmp eq i64 %10, 0 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr @MAJOR, align 4, !tbaa !5 %15 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %16 = load ptr, ptr @NO_MSG, align 8, !tbaa !9 %17 = tail call i32 @RETURN_ERROR(i32 noundef %14, i32 noundef %15, ptr noundef %16) #2 br label %18 18: ; preds = %13, %9 %19 = tail call i32 (...) @XX_InitSpinlock() #2 %20 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 4 store i32 %19, ptr %20, align 8, !tbaa !11 %21 = icmp eq i32 %19, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = tail call i32 @XX_Free(ptr noundef nonnull %11) #2 %24 = load i32, ptr @MAJOR, align 4, !tbaa !5 %25 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %26 = tail call i32 @RETURN_ERROR(i32 noundef %24, i32 noundef %25, ptr noundef nonnull @.str.1) #2 br label %27 27: ; preds = %22, %18 %28 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 3 store i64 %2, ptr %28, align 8, !tbaa !14 %29 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 2 store i64 0, ptr %29, align 8, !tbaa !15 %30 = tail call ptr @CreateNewBlock(i64 noundef %1, i64 noundef %2) #2 %31 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 1 store ptr %30, ptr %31, align 8, !tbaa !16 %32 = icmp eq ptr %30, null br i1 %32, label %33, label %39 33: ; preds = %27 %34 = tail call i32 @MM_Free(ptr noundef nonnull %11) #2 %35 = load i32, ptr @MAJOR, align 4, !tbaa !5 %36 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %37 = load ptr, ptr @NO_MSG, align 8, !tbaa !9 %38 = tail call i32 @RETURN_ERROR(i32 noundef %35, i32 noundef %36, ptr noundef %37) #2 br label %39 39: ; preds = %33, %27 %40 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !5 %41 = icmp slt i32 %40, 0 br i1 %41, label %65, label %42 42: ; preds = %39 %43 = add i64 %2, %1 br label %44 44: ; preds = %42, %60 %45 = phi i64 [ 0, %42 ], [ %61, %60 ] %46 = trunc i64 %45 to i32 %47 = shl nuw i32 1, %46 %48 = tail call i64 @MAKE_ALIGNED(i64 noundef %1, i32 noundef %47) #2 %49 = sub i64 %43, %48 %50 = tail call ptr @CreateFreeBlock(i64 noundef %48, i64 noundef %49) #2 %51 = load ptr, ptr %11, align 8, !tbaa !17 %52 = getelementptr inbounds ptr, ptr %51, i64 %45 store ptr %50, ptr %52, align 8, !tbaa !9 %53 = icmp eq ptr %50, null br i1 %53, label %54, label %60 54: ; preds = %44 %55 = tail call i32 @MM_Free(ptr noundef nonnull %11) #2 %56 = load i32, ptr @MAJOR, align 4, !tbaa !5 %57 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %58 = load ptr, ptr @NO_MSG, align 8, !tbaa !9 %59 = tail call i32 @RETURN_ERROR(i32 noundef %56, i32 noundef %57, ptr noundef %58) #2 br label %60 60: ; preds = %44, %54 %61 = add nuw nsw i64 %45, 1 %62 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !5 %63 = sext i32 %62 to i64 %64 = icmp slt i64 %45, %63 br i1 %64, label %44, label %65, !llvm.loop !18 65: ; preds = %60, %39 store ptr %11, ptr %0, align 8, !tbaa !9 %66 = load i32, ptr @E_OK, align 4, !tbaa !5 ret i32 %66 } declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @XX_Malloc(i32 noundef) local_unnamed_addr #1 declare i32 @XX_InitSpinlock(...) local_unnamed_addr #1 declare i32 @XX_Free(ptr noundef) local_unnamed_addr #1 declare ptr @CreateNewBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MM_Free(ptr noundef) local_unnamed_addr #1 declare i64 @MAKE_ALIGNED(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @CreateFreeBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 32} !12 = !{!"TYPE_6__", !10, i64 0, !10, i64 8, !13, i64 16, !13, i64 24, !6, i64 32} !13 = !{!"long", !7, i64 0} !14 = !{!12, !13, i64 24} !15 = !{!12, !13, i64 16} !16 = !{!12, !10, i64 8} !17 = !{!12, !10, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_MM_Init.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_MM_Init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAJOR = common local_unnamed_addr global i32 0, align 4 @E_INVALID_VALUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Size (should be positive)\00", align 1 @E_NO_MEMORY = common local_unnamed_addr global i32 0, align 4 @NO_MSG = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"MM spinlock!\00", align 1 @MM_MAX_ALIGNMENT = common local_unnamed_addr global i32 0, align 4 @E_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @MM_Init(ptr nocapture noundef writeonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq i64 %2, 0 br i1 %4, label %5, label %9 5: ; preds = %3 %6 = load i32, ptr @MAJOR, align 4, !tbaa !6 %7 = load i32, ptr @E_INVALID_VALUE, align 4, !tbaa !6 %8 = tail call i32 @RETURN_ERROR(i32 noundef %6, i32 noundef %7, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %5, %3 %10 = tail call i64 @XX_Malloc(i32 noundef 40) #2 %11 = inttoptr i64 %10 to ptr %12 = icmp eq i64 %10, 0 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr @MAJOR, align 4, !tbaa !6 %15 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %16 = load ptr, ptr @NO_MSG, align 8, !tbaa !10 %17 = tail call i32 @RETURN_ERROR(i32 noundef %14, i32 noundef %15, ptr noundef %16) #2 br label %18 18: ; preds = %13, %9 %19 = tail call i32 @XX_InitSpinlock() #2 %20 = getelementptr inbounds i8, ptr %11, i64 32 store i32 %19, ptr %20, align 8, !tbaa !12 %21 = icmp eq i32 %19, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = tail call i32 @XX_Free(ptr noundef nonnull %11) #2 %24 = load i32, ptr @MAJOR, align 4, !tbaa !6 %25 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %26 = tail call i32 @RETURN_ERROR(i32 noundef %24, i32 noundef %25, ptr noundef nonnull @.str.1) #2 br label %27 27: ; preds = %22, %18 %28 = getelementptr inbounds i8, ptr %11, i64 24 store i64 %2, ptr %28, align 8, !tbaa !15 %29 = getelementptr inbounds i8, ptr %11, i64 16 store i64 0, ptr %29, align 8, !tbaa !16 %30 = tail call ptr @CreateNewBlock(i64 noundef %1, i64 noundef %2) #2 %31 = getelementptr inbounds i8, ptr %11, i64 8 store ptr %30, ptr %31, align 8, !tbaa !17 %32 = icmp eq ptr %30, null br i1 %32, label %33, label %39 33: ; preds = %27 %34 = tail call i32 @MM_Free(ptr noundef nonnull %11) #2 %35 = load i32, ptr @MAJOR, align 4, !tbaa !6 %36 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %37 = load ptr, ptr @NO_MSG, align 8, !tbaa !10 %38 = tail call i32 @RETURN_ERROR(i32 noundef %35, i32 noundef %36, ptr noundef %37) #2 br label %39 39: ; preds = %33, %27 %40 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !6 %41 = icmp slt i32 %40, 0 br i1 %41, label %65, label %42 42: ; preds = %39 %43 = add i64 %2, %1 br label %44 44: ; preds = %42, %60 %45 = phi i64 [ 0, %42 ], [ %61, %60 ] %46 = trunc nuw nsw i64 %45 to i32 %47 = shl nuw i32 1, %46 %48 = tail call i64 @MAKE_ALIGNED(i64 noundef %1, i32 noundef %47) #2 %49 = sub i64 %43, %48 %50 = tail call ptr @CreateFreeBlock(i64 noundef %48, i64 noundef %49) #2 %51 = load ptr, ptr %11, align 8, !tbaa !18 %52 = getelementptr inbounds ptr, ptr %51, i64 %45 store ptr %50, ptr %52, align 8, !tbaa !10 %53 = icmp eq ptr %50, null br i1 %53, label %54, label %60 54: ; preds = %44 %55 = tail call i32 @MM_Free(ptr noundef nonnull %11) #2 %56 = load i32, ptr @MAJOR, align 4, !tbaa !6 %57 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %58 = load ptr, ptr @NO_MSG, align 8, !tbaa !10 %59 = tail call i32 @RETURN_ERROR(i32 noundef %56, i32 noundef %57, ptr noundef %58) #2 br label %60 60: ; preds = %44, %54 %61 = add nuw nsw i64 %45, 1 %62 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !6 %63 = sext i32 %62 to i64 %64 = icmp slt i64 %45, %63 br i1 %64, label %44, label %65, !llvm.loop !19 65: ; preds = %60, %39 store ptr %11, ptr %0, align 8, !tbaa !10 %66 = load i32, ptr @E_OK, align 4, !tbaa !6 ret i32 %66 } declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @XX_Malloc(i32 noundef) local_unnamed_addr #1 declare i32 @XX_InitSpinlock(...) local_unnamed_addr #1 declare i32 @XX_Free(ptr noundef) local_unnamed_addr #1 declare ptr @CreateNewBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @MM_Free(ptr noundef) local_unnamed_addr #1 declare i64 @MAKE_ALIGNED(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @CreateFreeBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 32} !13 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !14, i64 16, !14, i64 24, !7, i64 32} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 24} !16 = !{!13, !14, i64 16} !17 = !{!13, !11, i64 8} !18 = !{!13, !11, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_sys_contrib_ncsw_etc_extr_mm.c_MM_Init
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_ldo.c_luaD_inctop.c' source_filename = "AnghaBench/xLua/WebGLPlugins/extr_ldo.c_luaD_inctop.c" target datalayout = "e-m:e-p270:32:32-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 @luaD_inctop(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @luaD_checkstack(ptr noundef %0, i32 noundef 1) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !5 ret void } declare i32 @luaD_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/xLua/WebGLPlugins/extr_ldo.c_luaD_inctop.c' source_filename = "AnghaBench/xLua/WebGLPlugins/extr_ldo.c_luaD_inctop.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 @luaD_inctop(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @luaD_checkstack(ptr noundef %0, i32 noundef 1) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = add nsw i32 %3, 1 store i32 %4, ptr %0, align 4, !tbaa !6 ret void } declare i32 @luaD_checkstack(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
xLua_WebGLPlugins_extr_ldo.c_luaD_inctop
; ModuleID = 'AnghaBench/libui/common/extr_control.c_uiControlToplevel.c' source_filename = "AnghaBench/libui/common/extr_control.c_uiControlToplevel.c" target datalayout = "e-m:e-p270:32:32-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 @uiControlToplevel(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 %2(ptr noundef nonnull %0) #1 ret i32 %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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libui/common/extr_control.c_uiControlToplevel.c' source_filename = "AnghaBench/libui/common/extr_control.c_uiControlToplevel.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 @uiControlToplevel(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 %2(ptr noundef nonnull %0) #1 ret i32 %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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
libui_common_extr_control.c_uiControlToplevel
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_cosd_0_to_60.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_cosd_0_to_60.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RADIANS_PER_DEGREE = dso_local local_unnamed_addr global double 0.000000e+00, align 8 @one_minus_cos_60 = dso_local global double 0.000000e+00, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cosd_0_to_60], section "llvm.metadata" ; Function Attrs: nofree nounwind memory(readwrite, argmem: write) uwtable define internal double @cosd_0_to_60(double noundef %0) #0 { %2 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) %3 = load double, ptr @RADIANS_PER_DEGREE, align 8, !tbaa !5 %4 = fmul double %3, %0 %5 = tail call double @cos(double noundef %4) #3 %6 = fsub double 1.000000e+00, %5 store volatile double %6, ptr %2, align 8, !tbaa !5 %7 = load volatile double, ptr %2, align 8, !tbaa !5 %8 = load volatile double, ptr @one_minus_cos_60, align 8, !tbaa !5 %9 = fdiv double %7, %8 %10 = fmul double %9, 5.000000e-01 %11 = fsub double 1.000000e+00, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) ret double %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare double @cos(double 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 = { nofree nounwind memory(readwrite, argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-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 = !{!"double", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_cosd_0_to_60.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_cosd_0_to_60.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RADIANS_PER_DEGREE = common local_unnamed_addr global double 0.000000e+00, align 8 @one_minus_cos_60 = common global double 0.000000e+00, align 8 @llvm.used = appending global [1 x ptr] [ptr @cosd_0_to_60], section "llvm.metadata" ; Function Attrs: nofree norecurse nounwind ssp memory(readwrite, argmem: none) uwtable(sync) define internal double @cosd_0_to_60(double noundef %0) #0 { %2 = alloca double, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) %3 = load double, ptr @RADIANS_PER_DEGREE, align 8, !tbaa !6 %4 = fmul double %3, %0 %5 = tail call double @llvm.cos.f64(double %4) %6 = fsub double 1.000000e+00, %5 store volatile double %6, ptr %2, align 8, !tbaa !6 %7 = load volatile double, ptr %2, align 8, !tbaa !6 %8 = load volatile double, ptr @one_minus_cos_60, align 8, !tbaa !6 %9 = fdiv double %7, %8 %10 = fmul double %9, 5.000000e-01 %11 = fsub double 1.000000e+00, %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) ret double %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.cos.f64(double) #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 = { nofree norecurse nounwind ssp memory(readwrite, argmem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_backend_utils_adt_extr_float.c_cosd_0_to_60
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_attach.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_attach.c" target datalayout = "e-m:e-p270:32:32-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.edma_softc = type { i32, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32 } @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"device-id\00", align 1 @dma_stop = dso_local local_unnamed_addr global i32 0, align 4 @dma_setup = dso_local local_unnamed_addr global i32 0, align 4 @dma_request = dso_local local_unnamed_addr global i32 0, align 4 @channel_configure = dso_local local_unnamed_addr global i32 0, align 4 @channel_free = dso_local local_unnamed_addr global i32 0, align 4 @edma_spec = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"could not allocate resources\0A\00", align 1 @INTR_TYPE_BIO = dso_local local_unnamed_addr global i32 0, align 4 @INTR_MPSAFE = dso_local local_unnamed_addr global i32 0, align 4 @edma_transfer_complete_intr = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Unable to alloc DMA intr resource.\0A\00", align 1 @edma_err_intr = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"Unable to alloc DMA Err intr resource.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @edma_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @edma_attach(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr @device_get_softc(i32 noundef %0) #3 %4 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 13 store i32 %0, ptr %4, align 4, !tbaa !5 %5 = tail call i32 @ofw_bus_get_node(i32 noundef %0) #3 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %81 9: ; preds = %1 %10 = tail call i32 @OF_getproplen(i32 noundef %5, ptr noundef nonnull @.str) #3 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %81 14: ; preds = %9 %15 = call i32 @OF_getencprop(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef %10) #3 %16 = load i32, ptr %2, align 4, !tbaa !11 store i32 %16, ptr %3, align 8, !tbaa !12 %17 = load i32, ptr @dma_stop, align 4, !tbaa !11 %18 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 12 store i32 %17, ptr %18, align 8, !tbaa !13 %19 = load i32, ptr @dma_setup, align 4, !tbaa !11 %20 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 11 store i32 %19, ptr %20, align 4, !tbaa !14 %21 = load i32, ptr @dma_request, align 4, !tbaa !11 %22 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 10 store i32 %21, ptr %22, align 8, !tbaa !15 %23 = load i32, ptr @channel_configure, align 4, !tbaa !11 %24 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 9 store i32 %23, ptr %24, align 4, !tbaa !16 %25 = load i32, ptr @channel_free, align 4, !tbaa !11 %26 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 8 store i32 %25, ptr %26, align 8, !tbaa !17 %27 = load i32, ptr @edma_spec, align 4, !tbaa !11 %28 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 2 %29 = load ptr, ptr %28, align 8, !tbaa !18 %30 = call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %27, ptr noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %14 %33 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #3 %34 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %81 35: ; preds = %14 %36 = load ptr, ptr %28, align 8, !tbaa !18 %37 = load i32, ptr %36, align 4, !tbaa !11 %38 = call ptr @rman_get_bustag(i32 noundef %37) #3 %39 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 7 store ptr %38, ptr %39, align 8, !tbaa !19 %40 = load ptr, ptr %28, align 8, !tbaa !18 %41 = load i32, ptr %40, align 4, !tbaa !11 %42 = call ptr @rman_get_bushandle(i32 noundef %41) #3 %43 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 6 store ptr %42, ptr %43, align 8, !tbaa !20 %44 = load ptr, ptr %28, align 8, !tbaa !18 %45 = getelementptr inbounds i32, ptr %44, i64 1 %46 = load i32, ptr %45, align 4, !tbaa !11 %47 = call ptr @rman_get_bustag(i32 noundef %46) #3 %48 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 5 store ptr %47, ptr %48, align 8, !tbaa !21 %49 = load ptr, ptr %28, align 8, !tbaa !18 %50 = getelementptr inbounds i32, ptr %49, i64 1 %51 = load i32, ptr %50, align 4, !tbaa !11 %52 = call ptr @rman_get_bushandle(i32 noundef %51) #3 %53 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 4 store ptr %52, ptr %53, align 8, !tbaa !22 %54 = load ptr, ptr %28, align 8, !tbaa !18 %55 = getelementptr inbounds i32, ptr %54, i64 2 %56 = load i32, ptr %55, align 4, !tbaa !11 %57 = load i32, ptr @INTR_TYPE_BIO, align 4, !tbaa !11 %58 = load i32, ptr @INTR_MPSAFE, align 4, !tbaa !11 %59 = or i32 %58, %57 %60 = load i32, ptr @edma_transfer_complete_intr, align 4, !tbaa !11 %61 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 3 %62 = call i64 @bus_setup_intr(i32 noundef %0, i32 noundef %56, i32 noundef %59, ptr noundef null, i32 noundef %60, ptr noundef nonnull %3, ptr noundef nonnull %61) #3 %63 = icmp eq i64 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %35 %65 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.2) #3 %66 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %81 67: ; preds = %35 %68 = load ptr, ptr %28, align 8, !tbaa !18 %69 = getelementptr inbounds i32, ptr %68, i64 3 %70 = load i32, ptr %69, align 4, !tbaa !11 %71 = load i32, ptr @INTR_TYPE_BIO, align 4, !tbaa !11 %72 = load i32, ptr @INTR_MPSAFE, align 4, !tbaa !11 %73 = or i32 %72, %71 %74 = load i32, ptr @edma_err_intr, align 4, !tbaa !11 %75 = getelementptr inbounds %struct.edma_softc, ptr %3, i64 0, i32 1 %76 = call i64 @bus_setup_intr(i32 noundef %0, i32 noundef %70, i32 noundef %73, ptr noundef null, i32 noundef %74, ptr noundef nonnull %3, ptr noundef nonnull %75) #3 %77 = icmp eq i64 %76, 0 br i1 %77, label %81, label %78 78: ; preds = %67 %79 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3) #3 %80 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %81 81: ; preds = %67, %78, %64, %32, %12, %7 %82 = phi i32 [ %8, %7 ], [ %13, %12 ], [ %34, %32 ], [ %66, %64 ], [ %80, %78 ], [ 0, %67 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2 declare i32 @OF_getproplen(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @OF_getencprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @rman_get_bustag(i32 noundef) local_unnamed_addr #2 declare ptr @rman_get_bushandle(i32 noundef) local_unnamed_addr #2 declare i64 @bus_setup_intr(i32 noundef, i32 noundef, i32 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 76} !6 = !{!"edma_softc", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !7, i64 72} !14 = !{!6, !7, i64 68} !15 = !{!6, !7, i64 64} !16 = !{!6, !7, i64 60} !17 = !{!6, !7, i64 56} !18 = !{!6, !10, i64 8} !19 = !{!6, !10, i64 48} !20 = !{!6, !10, i64 40} !21 = !{!6, !10, i64 32} !22 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_attach.c' source_filename = "AnghaBench/freebsd/sys/arm/freescale/vybrid/extr_vf_edma.c_edma_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"device-id\00", align 1 @dma_stop = common local_unnamed_addr global i32 0, align 4 @dma_setup = common local_unnamed_addr global i32 0, align 4 @dma_request = common local_unnamed_addr global i32 0, align 4 @channel_configure = common local_unnamed_addr global i32 0, align 4 @channel_free = common local_unnamed_addr global i32 0, align 4 @edma_spec = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"could not allocate resources\0A\00", align 1 @INTR_TYPE_BIO = common local_unnamed_addr global i32 0, align 4 @INTR_MPSAFE = common local_unnamed_addr global i32 0, align 4 @edma_transfer_complete_intr = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [36 x i8] c"Unable to alloc DMA intr resource.\0A\00", align 1 @edma_err_intr = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [40 x i8] c"Unable to alloc DMA Err intr resource.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @edma_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @edma_attach(i32 noundef %0) #0 { %2 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %3 = tail call ptr @device_get_softc(i32 noundef %0) #3 %4 = getelementptr inbounds i8, ptr %3, i64 76 store i32 %0, ptr %4, align 4, !tbaa !6 %5 = tail call i32 @ofw_bus_get_node(i32 noundef %0) #3 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %81 9: ; preds = %1 %10 = tail call i32 @OF_getproplen(i32 noundef %5, ptr noundef nonnull @.str) #3 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %81 14: ; preds = %9 %15 = call i32 @OF_getencprop(i32 noundef %5, ptr noundef nonnull @.str, ptr noundef nonnull %2, i32 noundef %10) #3 %16 = load i32, ptr %2, align 4, !tbaa !12 store i32 %16, ptr %3, align 8, !tbaa !13 %17 = load i32, ptr @dma_stop, align 4, !tbaa !12 %18 = getelementptr inbounds i8, ptr %3, i64 72 store i32 %17, ptr %18, align 8, !tbaa !14 %19 = load i32, ptr @dma_setup, align 4, !tbaa !12 %20 = getelementptr inbounds i8, ptr %3, i64 68 store i32 %19, ptr %20, align 4, !tbaa !15 %21 = load i32, ptr @dma_request, align 4, !tbaa !12 %22 = getelementptr inbounds i8, ptr %3, i64 64 store i32 %21, ptr %22, align 8, !tbaa !16 %23 = load i32, ptr @channel_configure, align 4, !tbaa !12 %24 = getelementptr inbounds i8, ptr %3, i64 60 store i32 %23, ptr %24, align 4, !tbaa !17 %25 = load i32, ptr @channel_free, align 4, !tbaa !12 %26 = getelementptr inbounds i8, ptr %3, i64 56 store i32 %25, ptr %26, align 8, !tbaa !18 %27 = load i32, ptr @edma_spec, align 4, !tbaa !12 %28 = getelementptr inbounds i8, ptr %3, i64 8 %29 = load ptr, ptr %28, align 8, !tbaa !19 %30 = call i64 @bus_alloc_resources(i32 noundef %0, i32 noundef %27, ptr noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %14 %33 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1) #3 %34 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %81 35: ; preds = %14 %36 = load ptr, ptr %28, align 8, !tbaa !19 %37 = load i32, ptr %36, align 4, !tbaa !12 %38 = call ptr @rman_get_bustag(i32 noundef %37) #3 %39 = getelementptr inbounds i8, ptr %3, i64 48 store ptr %38, ptr %39, align 8, !tbaa !20 %40 = load ptr, ptr %28, align 8, !tbaa !19 %41 = load i32, ptr %40, align 4, !tbaa !12 %42 = call ptr @rman_get_bushandle(i32 noundef %41) #3 %43 = getelementptr inbounds i8, ptr %3, i64 40 store ptr %42, ptr %43, align 8, !tbaa !21 %44 = load ptr, ptr %28, align 8, !tbaa !19 %45 = getelementptr inbounds i8, ptr %44, i64 4 %46 = load i32, ptr %45, align 4, !tbaa !12 %47 = call ptr @rman_get_bustag(i32 noundef %46) #3 %48 = getelementptr inbounds i8, ptr %3, i64 32 store ptr %47, ptr %48, align 8, !tbaa !22 %49 = load ptr, ptr %28, align 8, !tbaa !19 %50 = getelementptr inbounds i8, ptr %49, i64 4 %51 = load i32, ptr %50, align 4, !tbaa !12 %52 = call ptr @rman_get_bushandle(i32 noundef %51) #3 %53 = getelementptr inbounds i8, ptr %3, i64 24 store ptr %52, ptr %53, align 8, !tbaa !23 %54 = load ptr, ptr %28, align 8, !tbaa !19 %55 = getelementptr inbounds i8, ptr %54, i64 8 %56 = load i32, ptr %55, align 4, !tbaa !12 %57 = load i32, ptr @INTR_TYPE_BIO, align 4, !tbaa !12 %58 = load i32, ptr @INTR_MPSAFE, align 4, !tbaa !12 %59 = or i32 %58, %57 %60 = load i32, ptr @edma_transfer_complete_intr, align 4, !tbaa !12 %61 = getelementptr inbounds i8, ptr %3, i64 16 %62 = call i64 @bus_setup_intr(i32 noundef %0, i32 noundef %56, i32 noundef %59, ptr noundef null, i32 noundef %60, ptr noundef nonnull %3, ptr noundef nonnull %61) #3 %63 = icmp eq i64 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %35 %65 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.2) #3 %66 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %81 67: ; preds = %35 %68 = load ptr, ptr %28, align 8, !tbaa !19 %69 = getelementptr inbounds i8, ptr %68, i64 12 %70 = load i32, ptr %69, align 4, !tbaa !12 %71 = load i32, ptr @INTR_TYPE_BIO, align 4, !tbaa !12 %72 = load i32, ptr @INTR_MPSAFE, align 4, !tbaa !12 %73 = or i32 %72, %71 %74 = load i32, ptr @edma_err_intr, align 4, !tbaa !12 %75 = getelementptr inbounds i8, ptr %3, i64 4 %76 = call i64 @bus_setup_intr(i32 noundef %0, i32 noundef %70, i32 noundef %73, ptr noundef null, i32 noundef %74, ptr noundef nonnull %3, ptr noundef nonnull %75) #3 %77 = icmp eq i64 %76, 0 br i1 %77, label %81, label %78 78: ; preds = %67 %79 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str.3) #3 %80 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %81 81: ; preds = %67, %78, %64, %32, %12, %7 %82 = phi i32 [ %8, %7 ], [ %13, %12 ], [ %34, %32 ], [ %66, %64 ], [ %80, %78 ], [ 0, %67 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @ofw_bus_get_node(i32 noundef) local_unnamed_addr #2 declare i32 @OF_getproplen(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @OF_getencprop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @bus_alloc_resources(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @rman_get_bustag(i32 noundef) local_unnamed_addr #2 declare ptr @rman_get_bushandle(i32 noundef) local_unnamed_addr #2 declare i64 @bus_setup_intr(i32 noundef, i32 noundef, i32 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 76} !7 = !{!"edma_softc", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !8, i64 72} !15 = !{!7, !8, i64 68} !16 = !{!7, !8, i64 64} !17 = !{!7, !8, i64 60} !18 = !{!7, !8, i64 56} !19 = !{!7, !11, i64 8} !20 = !{!7, !11, i64 48} !21 = !{!7, !11, i64 40} !22 = !{!7, !11, i64 32} !23 = !{!7, !11, i64 24}
freebsd_sys_arm_freescale_vybrid_extr_vf_edma.c_edma_attach
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth_ie.c_wpa_parse_generic.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth_ie.c_wpa_parse_generic.c" target datalayout = "e-m:e-p270:32:32-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.wpa_eapol_ie_parse = type { ptr, i32, ptr, i32, ptr, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, i32 } @WPA_OUI_TYPE = dso_local local_unnamed_addr global i64 0, align 8 @WPA_SELECTOR_LEN = dso_local local_unnamed_addr global i32 0, align 4 @OSEN_IE_VENDOR_TYPE = dso_local local_unnamed_addr global i64 0, align 8 @RSN_SELECTOR_LEN = dso_local local_unnamed_addr global i32 0, align 4 @PMKID_LEN = dso_local local_unnamed_addr global i32 0, align 4 @RSN_KEY_DATA_PMKID = dso_local local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_GROUPKEY = dso_local local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_MAC_ADDR = dso_local local_unnamed_addr global i64 0, align 8 @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @RSN_KEY_DATA_IGTK = dso_local local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_OCI = dso_local local_unnamed_addr global i64 0, align 8 @WFA_KEY_DATA_IP_ADDR_ALLOC = dso_local local_unnamed_addr global i64 0, align 8 @WFA_KEY_DATA_IP_ADDR_REQ = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @wpa_parse_generic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @wpa_parse_generic(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i32, ptr %0, i64 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %108, label %7 7: ; preds = %3 %8 = icmp sgt i32 %5, 5 br i1 %8, label %9, label %31 9: ; preds = %7 %10 = getelementptr inbounds i32, ptr %0, i64 2 %11 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %10) #2 %12 = load i64, ptr @WPA_OUI_TYPE, align 8, !tbaa !9 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %9 %15 = load i32, ptr @WPA_SELECTOR_LEN, align 4, !tbaa !5 %16 = sext i32 %15 to i64 %17 = getelementptr i32, ptr %0, i64 %16 %18 = getelementptr i32, ptr %17, i64 2 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %29 21: ; preds = %14 %22 = getelementptr i32, ptr %17, i64 3 %23 = load i32, ptr %22, align 4, !tbaa !5 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 store ptr %0, ptr %2, align 8, !tbaa !11 %26 = load i32, ptr %4, align 4, !tbaa !5 %27 = add nsw i32 %26, 2 %28 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 1 store i32 %27, ptr %28, align 8, !tbaa !14 br label %108 29: ; preds = %9, %14, %21 %30 = load i32, ptr %4, align 4, !tbaa !5 br label %31 31: ; preds = %29, %7 %32 = phi i32 [ %30, %29 ], [ %5, %7 ] %33 = icmp sgt i32 %32, 3 br i1 %33, label %34, label %44 34: ; preds = %31 %35 = getelementptr inbounds i32, ptr %0, i64 2 %36 = tail call i64 @WPA_GET_BE32(ptr noundef nonnull %35) #2 %37 = load i64, ptr @OSEN_IE_VENDOR_TYPE, align 8, !tbaa !9 %38 = icmp eq i64 %36, %37 %39 = load i32, ptr %4, align 4, !tbaa !5 br i1 %38, label %40, label %44 40: ; preds = %34 %41 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 2 store ptr %0, ptr %41, align 8, !tbaa !15 %42 = add nsw i32 %39, 2 %43 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 3 store i32 %42, ptr %43, align 8, !tbaa !16 br label %108 44: ; preds = %34, %31 %45 = phi i32 [ %39, %34 ], [ %32, %31 ] %46 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !5 %47 = add nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = ptrtoint ptr %1 to i64 %50 = ptrtoint ptr %0 to i64 %51 = sub i64 %49, %50 %52 = ashr exact i64 %51, 2 %53 = icmp sgt i64 %52, %48 br i1 %53, label %54, label %71 54: ; preds = %44 %55 = load i32, ptr @PMKID_LEN, align 4, !tbaa !5 %56 = add nsw i32 %55, %46 %57 = icmp slt i32 %45, %56 br i1 %57, label %71, label %58 58: ; preds = %54 %59 = getelementptr inbounds i32, ptr %0, i64 2 %60 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %59) #2 %61 = load i64, ptr @RSN_KEY_DATA_PMKID, align 8, !tbaa !9 %62 = icmp eq i64 %60, %61 br i1 %62, label %66, label %63 63: ; preds = %58 %64 = load i32, ptr %4, align 4, !tbaa !5 %65 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !5 br label %71 66: ; preds = %58 %67 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !5 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %59, i64 %68 %70 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 4 store ptr %69, ptr %70, align 8, !tbaa !17 br label %108 71: ; preds = %63, %54, %44 %72 = phi i32 [ %65, %63 ], [ %46, %54 ], [ %46, %44 ] %73 = phi i32 [ %64, %63 ], [ %45, %54 ], [ %45, %44 ] %74 = add nsw i32 %72, 2 %75 = icmp sgt i32 %73, %74 br i1 %75, label %76, label %91 76: ; preds = %71 %77 = getelementptr inbounds i32, ptr %0, i64 2 %78 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %77) #2 %79 = load i64, ptr @RSN_KEY_DATA_GROUPKEY, align 8, !tbaa !9 %80 = icmp eq i64 %78, %79 %81 = load i32, ptr %4, align 4, !tbaa !5 %82 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !5 br i1 %80, label %85, label %83 83: ; preds = %76 %84 = add nsw i32 %82, 2 br label %91 85: ; preds = %76 %86 = sext i32 %82 to i64 %87 = getelementptr inbounds i32, ptr %77, i64 %86 %88 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 5 store ptr %87, ptr %88, align 8, !tbaa !18 %89 = sub nsw i32 %81, %82 %90 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 6 store i32 %89, ptr %90, align 8, !tbaa !19 br label %108 91: ; preds = %83, %71 %92 = phi i32 [ %84, %83 ], [ %74, %71 ] %93 = phi i32 [ %81, %83 ], [ %73, %71 ] %94 = icmp sgt i32 %93, %92 br i1 %94, label %95, label %108 95: ; preds = %91 %96 = getelementptr inbounds i32, ptr %0, i64 2 %97 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %96) #2 %98 = load i64, ptr @RSN_KEY_DATA_MAC_ADDR, align 8, !tbaa !9 %99 = icmp eq i64 %97, %98 br i1 %99, label %100, label %108 100: ; preds = %95 %101 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !5 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %96, i64 %102 %104 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 7 store ptr %103, ptr %104, align 8, !tbaa !20 %105 = load i32, ptr %4, align 4, !tbaa !5 %106 = sub nsw i32 %105, %101 %107 = getelementptr inbounds %struct.wpa_eapol_ie_parse, ptr %2, i64 0, i32 8 store i32 %106, ptr %107, align 8, !tbaa !21 br label %108 108: ; preds = %91, %95, %3, %100, %85, %66, %40, %25 %109 = phi i32 [ 0, %25 ], [ 0, %40 ], [ 0, %66 ], [ 0, %85 ], [ 0, %100 ], [ 1, %3 ], [ 0, %95 ], [ 0, %91 ] ret i32 %109 } declare i64 @RSN_SELECTOR_GET(ptr noundef) local_unnamed_addr #1 declare i64 @WPA_GET_BE32(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"wpa_eapol_ie_parse", !13, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !13, i64 40, !6, i64 48, !13, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !6, i64 112} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !6, i64 8} !15 = !{!12, !13, i64 16} !16 = !{!12, !6, i64 24} !17 = !{!12, !13, i64 32} !18 = !{!12, !13, i64 40} !19 = !{!12, !6, i64 48} !20 = !{!12, !13, i64 56} !21 = !{!12, !6, i64 64}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth_ie.c_wpa_parse_generic.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/ap/extr_wpa_auth_ie.c_wpa_parse_generic.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WPA_OUI_TYPE = common local_unnamed_addr global i64 0, align 8 @WPA_SELECTOR_LEN = common local_unnamed_addr global i32 0, align 4 @OSEN_IE_VENDOR_TYPE = common local_unnamed_addr global i64 0, align 8 @RSN_SELECTOR_LEN = common local_unnamed_addr global i32 0, align 4 @PMKID_LEN = common local_unnamed_addr global i32 0, align 4 @RSN_KEY_DATA_PMKID = common local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_GROUPKEY = common local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_MAC_ADDR = common local_unnamed_addr global i64 0, align 8 @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @RSN_KEY_DATA_IGTK = common local_unnamed_addr global i64 0, align 8 @RSN_KEY_DATA_OCI = common local_unnamed_addr global i64 0, align 8 @WFA_KEY_DATA_IP_ADDR_ALLOC = common local_unnamed_addr global i64 0, align 8 @WFA_KEY_DATA_IP_ADDR_REQ = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @wpa_parse_generic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @wpa_parse_generic(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %108, label %7 7: ; preds = %3 %8 = icmp sgt i32 %5, 5 br i1 %8, label %9, label %31 9: ; preds = %7 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %10) #2 %12 = load i64, ptr @WPA_OUI_TYPE, align 8, !tbaa !10 %13 = icmp eq i64 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %9 %15 = load i32, ptr @WPA_SELECTOR_LEN, align 4, !tbaa !6 %16 = sext i32 %15 to i64 %17 = getelementptr i32, ptr %0, i64 %16 %18 = getelementptr i8, ptr %17, i64 8 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %29 21: ; preds = %14 %22 = getelementptr i8, ptr %17, i64 12 %23 = load i32, ptr %22, align 4, !tbaa !6 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %21 store ptr %0, ptr %2, align 8, !tbaa !12 %26 = load i32, ptr %4, align 4, !tbaa !6 %27 = add nsw i32 %26, 2 %28 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %27, ptr %28, align 8, !tbaa !15 br label %108 29: ; preds = %9, %14, %21 %30 = load i32, ptr %4, align 4, !tbaa !6 br label %31 31: ; preds = %29, %7 %32 = phi i32 [ %30, %29 ], [ %5, %7 ] %33 = icmp sgt i32 %32, 3 br i1 %33, label %34, label %44 34: ; preds = %31 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = tail call i64 @WPA_GET_BE32(ptr noundef nonnull %35) #2 %37 = load i64, ptr @OSEN_IE_VENDOR_TYPE, align 8, !tbaa !10 %38 = icmp eq i64 %36, %37 %39 = load i32, ptr %4, align 4, !tbaa !6 br i1 %38, label %40, label %44 40: ; preds = %34 %41 = getelementptr inbounds i8, ptr %2, i64 16 store ptr %0, ptr %41, align 8, !tbaa !16 %42 = add nsw i32 %39, 2 %43 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %42, ptr %43, align 8, !tbaa !17 br label %108 44: ; preds = %34, %31 %45 = phi i32 [ %39, %34 ], [ %32, %31 ] %46 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !6 %47 = add nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = ptrtoint ptr %1 to i64 %50 = ptrtoint ptr %0 to i64 %51 = sub i64 %49, %50 %52 = ashr exact i64 %51, 2 %53 = icmp sgt i64 %52, %48 br i1 %53, label %54, label %71 54: ; preds = %44 %55 = load i32, ptr @PMKID_LEN, align 4, !tbaa !6 %56 = add nsw i32 %55, %46 %57 = icmp slt i32 %45, %56 br i1 %57, label %71, label %58 58: ; preds = %54 %59 = getelementptr inbounds i8, ptr %0, i64 8 %60 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %59) #2 %61 = load i64, ptr @RSN_KEY_DATA_PMKID, align 8, !tbaa !10 %62 = icmp eq i64 %60, %61 br i1 %62, label %66, label %63 63: ; preds = %58 %64 = load i32, ptr %4, align 4, !tbaa !6 %65 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !6 br label %71 66: ; preds = %58 %67 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !6 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %59, i64 %68 %70 = getelementptr inbounds i8, ptr %2, i64 32 store ptr %69, ptr %70, align 8, !tbaa !18 br label %108 71: ; preds = %63, %54, %44 %72 = phi i32 [ %65, %63 ], [ %46, %54 ], [ %46, %44 ] %73 = phi i32 [ %64, %63 ], [ %45, %54 ], [ %45, %44 ] %74 = add nsw i32 %72, 2 %75 = icmp sgt i32 %73, %74 br i1 %75, label %76, label %91 76: ; preds = %71 %77 = getelementptr inbounds i8, ptr %0, i64 8 %78 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %77) #2 %79 = load i64, ptr @RSN_KEY_DATA_GROUPKEY, align 8, !tbaa !10 %80 = icmp eq i64 %78, %79 %81 = load i32, ptr %4, align 4, !tbaa !6 %82 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !6 br i1 %80, label %85, label %83 83: ; preds = %76 %84 = add nsw i32 %82, 2 br label %91 85: ; preds = %76 %86 = sext i32 %82 to i64 %87 = getelementptr inbounds i32, ptr %77, i64 %86 %88 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %87, ptr %88, align 8, !tbaa !19 %89 = sub nsw i32 %81, %82 %90 = getelementptr inbounds i8, ptr %2, i64 48 store i32 %89, ptr %90, align 8, !tbaa !20 br label %108 91: ; preds = %83, %71 %92 = phi i32 [ %84, %83 ], [ %74, %71 ] %93 = phi i32 [ %81, %83 ], [ %73, %71 ] %94 = icmp sgt i32 %93, %92 br i1 %94, label %95, label %108 95: ; preds = %91 %96 = getelementptr inbounds i8, ptr %0, i64 8 %97 = tail call i64 @RSN_SELECTOR_GET(ptr noundef nonnull %96) #2 %98 = load i64, ptr @RSN_KEY_DATA_MAC_ADDR, align 8, !tbaa !10 %99 = icmp eq i64 %97, %98 br i1 %99, label %100, label %108 100: ; preds = %95 %101 = load i32, ptr @RSN_SELECTOR_LEN, align 4, !tbaa !6 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %96, i64 %102 %104 = getelementptr inbounds i8, ptr %2, i64 56 store ptr %103, ptr %104, align 8, !tbaa !21 %105 = load i32, ptr %4, align 4, !tbaa !6 %106 = sub nsw i32 %105, %101 %107 = getelementptr inbounds i8, ptr %2, i64 64 store i32 %106, ptr %107, align 8, !tbaa !22 br label %108 108: ; preds = %91, %95, %3, %100, %85, %66, %40, %25 %109 = phi i32 [ 0, %25 ], [ 0, %40 ], [ 0, %66 ], [ 0, %85 ], [ 0, %100 ], [ 1, %3 ], [ 0, %95 ], [ 0, %91 ] ret i32 %109 } declare i64 @RSN_SELECTOR_GET(ptr noundef) local_unnamed_addr #1 declare i64 @WPA_GET_BE32(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"wpa_eapol_ie_parse", !14, i64 0, !7, i64 8, !14, i64 16, !7, i64 24, !14, i64 32, !14, i64 40, !7, i64 48, !14, i64 56, !7, i64 64, !14, i64 72, !7, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !7, i64 112} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !7, i64 8} !16 = !{!13, !14, i64 16} !17 = !{!13, !7, i64 24} !18 = !{!13, !14, i64 32} !19 = !{!13, !14, i64 40} !20 = !{!13, !7, i64 48} !21 = !{!13, !14, i64 56} !22 = !{!13, !7, i64 64}
freebsd_contrib_wpa_src_ap_extr_wpa_auth_ie.c_wpa_parse_generic
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp_mst.c_intel_mst_enable_dp.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp_mst.c_intel_mst_enable_dp.c" target datalayout = "e-m:e-p270:32:32-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.intel_digital_port = type { %struct.TYPE_3__, %struct.intel_dp } %struct.TYPE_3__ = type { i32 } %struct.intel_dp = type { i32, i32 } @.str = private unnamed_addr constant [17 x i8] c"active links %d\0A\00", align 1 @DP_TP_STATUS_ACT_SENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Timed out waiting for ACT sent\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @intel_mst_enable_dp], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @intel_mst_enable_dp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @enc_to_mst(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.intel_digital_port, ptr %5, i64 0, i32 1 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = tail call ptr @to_i915(i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !14 %10 = getelementptr inbounds %struct.intel_digital_port, ptr %5, i64 0, i32 1, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !18 %12 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = tail call i32 @DP_TP_STATUS(i32 noundef %9) #2 %14 = load i32, ptr @DP_TP_STATUS_ACT_SENT, align 4, !tbaa !19 %15 = tail call i64 @intel_de_wait_for_set(ptr noundef %8, i32 noundef %13, i32 noundef %14, i32 noundef 1) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %3 %18 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %19 19: ; preds = %17, %3 %20 = tail call i32 @drm_dp_check_act_status(ptr noundef nonnull %6) #2 %21 = tail call i32 @drm_dp_update_payload_part2(ptr noundef nonnull %6) #2 %22 = load i64, ptr %1, align 8, !tbaa !20 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %19 %25 = tail call i32 @intel_audio_codec_enable(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2) #2 br label %26 26: ; preds = %24, %19 ret void } declare ptr @enc_to_mst(ptr noundef) local_unnamed_addr #1 declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @intel_de_wait_for_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DP_TP_STATUS(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_dp_check_act_status(ptr noundef) local_unnamed_addr #1 declare i32 @drm_dp_update_payload_part2(ptr noundef) local_unnamed_addr #1 declare i32 @intel_audio_codec_enable(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"intel_dp_mst_encoder", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"intel_encoder", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"intel_digital_port", !16, i64 0, !17, i64 4} !16 = !{!"TYPE_3__", !13, i64 0} !17 = !{!"intel_dp", !13, i64 0, !13, i64 4} !18 = !{!17, !13, i64 4} !19 = !{!13, !13, i64 0} !20 = !{!21, !22, i64 0} !21 = !{!"intel_crtc_state", !22, i64 0} !22 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp_mst.c_intel_mst_enable_dp.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_dp_mst.c_intel_mst_enable_dp.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 [17 x i8] c"active links %d\0A\00", align 1 @DP_TP_STATUS_ACT_SENT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Timed out waiting for ACT sent\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @intel_mst_enable_dp], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @intel_mst_enable_dp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @enc_to_mst(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 4 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = tail call ptr @to_i915(i32 noundef %7) #2 %9 = load i32, ptr %5, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !19 %12 = tail call i32 @DRM_DEBUG_KMS(ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = tail call i32 @DP_TP_STATUS(i32 noundef %9) #2 %14 = load i32, ptr @DP_TP_STATUS_ACT_SENT, align 4, !tbaa !20 %15 = tail call i64 @intel_de_wait_for_set(ptr noundef %8, i32 noundef %13, i32 noundef %14, i32 noundef 1) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %3 %18 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %19 19: ; preds = %17, %3 %20 = tail call i32 @drm_dp_check_act_status(ptr noundef nonnull %6) #2 %21 = tail call i32 @drm_dp_update_payload_part2(ptr noundef nonnull %6) #2 %22 = load i64, ptr %1, align 8, !tbaa !21 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %19 %25 = tail call i32 @intel_audio_codec_enable(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2) #2 br label %26 26: ; preds = %24, %19 ret void } declare ptr @enc_to_mst(ptr noundef) local_unnamed_addr #1 declare ptr @to_i915(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_KMS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @intel_de_wait_for_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DP_TP_STATUS(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @drm_dp_check_act_status(ptr noundef) local_unnamed_addr #1 declare i32 @drm_dp_update_payload_part2(ptr noundef) local_unnamed_addr #1 declare i32 @intel_audio_codec_enable(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"intel_dp_mst_encoder", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 0} !12 = !{!"intel_encoder", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"intel_digital_port", !17, i64 0, !18, i64 4} !17 = !{!"TYPE_3__", !14, i64 0} !18 = !{!"intel_dp", !14, i64 0, !14, i64 4} !19 = !{!18, !14, i64 4} !20 = !{!14, !14, i64 0} !21 = !{!22, !23, i64 0} !22 = !{!"intel_crtc_state", !23, i64 0} !23 = !{!"long", !9, i64 0}
linux_drivers_gpu_drm_i915_display_extr_intel_dp_mst.c_intel_mst_enable_dp
; ModuleID = 'AnghaBench/darwin-xnu/SETUP/json_compilation_db/extr_json_compilation_db.c_usage.c' source_filename = "AnghaBench/darwin-xnu/SETUP/json_compilation_db/extr_json_compilation_db.c_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [74 x i8] c"Usage: %s <json_output> <cwd> <input_file> <compiler> [<invocation> ...]\0A\00", align 1 @EX_USAGE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: noreturn nounwind uwtable define dso_local void @usage() local_unnamed_addr #0 { %1 = load i32, ptr @stderr, align 4, !tbaa !5 %2 = tail call ptr (...) @getprogname() #3 %3 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #3 %4 = load i32, ptr @EX_USAGE, align 4, !tbaa !5 %5 = tail call i32 @exit(i32 noundef %4) #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @getprogname(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/SETUP/json_compilation_db/extr_json_compilation_db.c_usage.c' source_filename = "AnghaBench/darwin-xnu/SETUP/json_compilation_db/extr_json_compilation_db.c_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [74 x i8] c"Usage: %s <json_output> <cwd> <input_file> <compiler> [<invocation> ...]\0A\00", align 1 @EX_USAGE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @usage() local_unnamed_addr #0 { %1 = load i32, ptr @stderr, align 4, !tbaa !6 %2 = tail call ptr @getprogname() #3 %3 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str, ptr noundef %2) #3 %4 = load i32, ptr @EX_USAGE, align 4, !tbaa !6 %5 = tail call i32 @exit(i32 noundef %4) #4 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @getprogname(...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_SETUP_json_compilation_db_extr_json_compilation_db.c_usage
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netlink/extr_af_netlink.c___netlink_dump_start.c' source_filename = "AnghaBench/fastsocket/kernel/net/netlink/extr_af_netlink.c___netlink_dump_start.c" target datalayout = "e-m:e-p270:32:32-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.netlink_dump_control = type { i32, i32, i32, i32 } %struct.netlink_callback = type { ptr, ptr, i32, i32 } %struct.netlink_sock = type { i32, ptr } @NETLINK_CALLBACK_TOTAL_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOBUFS = dso_local local_unnamed_addr global i32 0, align 4 @ECONNREFUSED = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @EPROTONOSUPPORT = dso_local local_unnamed_addr global i32 0, align 4 @EINTR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @__netlink_dump_start(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = load i32, ptr @NETLINK_CALLBACK_TOTAL_SIZE, align 4, !tbaa !5 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %7 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @ENOBUFS, align 4, !tbaa !5 %11 = sub nsw i32 0, %10 br label %64 12: ; preds = %4 %13 = tail call ptr @nl_callback_extended(ptr noundef nonnull %7) #2 %14 = getelementptr inbounds %struct.netlink_dump_control, ptr %3, i64 0, i32 2 %15 = getelementptr inbounds %struct.netlink_callback, ptr %7, i64 0, i32 2 %16 = load <2 x i32>, ptr %14, align 4, !tbaa !5 store <2 x i32> %16, ptr %15, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.netlink_callback, ptr %7, i64 0, i32 1 store ptr %2, ptr %17, align 8, !tbaa !9 %18 = load <2 x i32>, ptr %3, align 4, !tbaa !5 %19 = shufflevector <2 x i32> %18, <2 x i32> poison, <2 x i32> <i32 1, i32 0> store <2 x i32> %19, ptr %13, align 4, !tbaa !5 %20 = tail call i32 @atomic_inc(ptr noundef %1) #2 store ptr %1, ptr %7, align 8, !tbaa !12 %21 = tail call i32 @sock_net(ptr noundef %0) #2 %22 = load i32, ptr %0, align 4, !tbaa !13 %23 = tail call i32 @NETLINK_CB(ptr noundef %1) #2 %24 = tail call ptr @netlink_lookup(i32 noundef %21, i32 noundef %22, i32 noundef %23) #2 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %12 %27 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %28 = load i32, ptr @ECONNREFUSED, align 4, !tbaa !5 %29 = sub nsw i32 0, %28 br label %64 30: ; preds = %12 %31 = tail call ptr @nlk_sk(ptr noundef nonnull %24) #2 %32 = load i32, ptr %31, align 8, !tbaa !15 %33 = tail call i32 @mutex_lock(i32 noundef %32) #2 %34 = getelementptr inbounds %struct.netlink_sock, ptr %31, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = icmp eq ptr %35, null br i1 %36, label %43, label %37 37: ; preds = %30 %38 = load i32, ptr %31, align 8, !tbaa !15 %39 = tail call i32 @mutex_unlock(i32 noundef %38) #2 %40 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %41 = load i32, ptr @EBUSY, align 4, !tbaa !5 %42 = sub nsw i32 0, %41 br label %57 43: ; preds = %30 %44 = load i32, ptr %13, align 4, !tbaa !18 %45 = tail call i32 @try_module_get(i32 noundef %44) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %43 %48 = load i32, ptr %31, align 8, !tbaa !15 %49 = tail call i32 @mutex_unlock(i32 noundef %48) #2 %50 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %51 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !5 %52 = sub nsw i32 0, %51 br label %57 53: ; preds = %43 store ptr %7, ptr %34, align 8, !tbaa !17 %54 = load i32, ptr %31, align 8, !tbaa !15 %55 = tail call i32 @mutex_unlock(i32 noundef %54) #2 %56 = tail call i32 @netlink_dump(ptr noundef nonnull %24) #2 br label %57 57: ; preds = %53, %47, %37 %58 = phi i32 [ %42, %37 ], [ %56, %53 ], [ %52, %47 ] %59 = tail call i32 @sock_put(ptr noundef nonnull %24) #2 %60 = icmp eq i32 %58, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load i32, ptr @EINTR, align 4, !tbaa !5 %63 = sub nsw i32 0, %62 br label %64 64: ; preds = %57, %61, %26, %9 %65 = phi i32 [ %11, %9 ], [ %29, %26 ], [ %63, %61 ], [ %58, %57 ] ret i32 %65 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nl_callback_extended(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare ptr @netlink_lookup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_net(ptr noundef) local_unnamed_addr #1 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #1 declare i32 @netlink_destroy_callback(ptr noundef) local_unnamed_addr #1 declare ptr @nlk_sk(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(i32 noundef) local_unnamed_addr #1 declare i32 @try_module_get(i32 noundef) local_unnamed_addr #1 declare i32 @netlink_dump(ptr noundef) local_unnamed_addr #1 declare i32 @sock_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 = !{!"netlink_callback", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 20} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"sock", !6, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"netlink_sock", !6, i64 0, !11, i64 8} !17 = !{!16, !11, i64 8} !18 = !{!19, !6, i64 0} !19 = !{!"netlink_callback_extended", !6, i64 0, !6, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netlink/extr_af_netlink.c___netlink_dump_start.c' source_filename = "AnghaBench/fastsocket/kernel/net/netlink/extr_af_netlink.c___netlink_dump_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NETLINK_CALLBACK_TOTAL_SIZE = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOBUFS = common local_unnamed_addr global i32 0, align 4 @ECONNREFUSED = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @EPROTONOSUPPORT = common local_unnamed_addr global i32 0, align 4 @EINTR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @__netlink_dump_start(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 { %5 = load i32, ptr @NETLINK_CALLBACK_TOTAL_SIZE, align 4, !tbaa !6 %6 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %7 = tail call ptr @kzalloc(i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load i32, ptr @ENOBUFS, align 4, !tbaa !6 %11 = sub nsw i32 0, %10 br label %64 12: ; preds = %4 %13 = tail call ptr @nl_callback_extended(ptr noundef nonnull %7) #2 %14 = getelementptr inbounds i8, ptr %3, i64 8 %15 = getelementptr inbounds i8, ptr %7, i64 16 %16 = load <2 x i32>, ptr %14, align 4, !tbaa !6 store <2 x i32> %16, ptr %15, align 8, !tbaa !6 %17 = getelementptr inbounds i8, ptr %7, i64 8 store ptr %2, ptr %17, align 8, !tbaa !10 %18 = load <2 x i32>, ptr %3, align 4, !tbaa !6 %19 = shufflevector <2 x i32> %18, <2 x i32> poison, <2 x i32> <i32 1, i32 0> store <2 x i32> %19, ptr %13, align 4, !tbaa !6 %20 = tail call i32 @atomic_inc(ptr noundef %1) #2 store ptr %1, ptr %7, align 8, !tbaa !13 %21 = tail call i32 @sock_net(ptr noundef %0) #2 %22 = load i32, ptr %0, align 4, !tbaa !14 %23 = tail call i32 @NETLINK_CB(ptr noundef %1) #2 %24 = tail call ptr @netlink_lookup(i32 noundef %21, i32 noundef %22, i32 noundef %23) #2 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %12 %27 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %28 = load i32, ptr @ECONNREFUSED, align 4, !tbaa !6 %29 = sub nsw i32 0, %28 br label %64 30: ; preds = %12 %31 = tail call ptr @nlk_sk(ptr noundef nonnull %24) #2 %32 = load i32, ptr %31, align 8, !tbaa !16 %33 = tail call i32 @mutex_lock(i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %31, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !18 %36 = icmp eq ptr %35, null br i1 %36, label %43, label %37 37: ; preds = %30 %38 = load i32, ptr %31, align 8, !tbaa !16 %39 = tail call i32 @mutex_unlock(i32 noundef %38) #2 %40 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %41 = load i32, ptr @EBUSY, align 4, !tbaa !6 %42 = sub nsw i32 0, %41 br label %57 43: ; preds = %30 %44 = load i32, ptr %13, align 4, !tbaa !19 %45 = tail call i32 @try_module_get(i32 noundef %44) #2 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %43 %48 = load i32, ptr %31, align 8, !tbaa !16 %49 = tail call i32 @mutex_unlock(i32 noundef %48) #2 %50 = tail call i32 @netlink_destroy_callback(ptr noundef nonnull %7) #2 %51 = load i32, ptr @EPROTONOSUPPORT, align 4, !tbaa !6 %52 = sub nsw i32 0, %51 br label %57 53: ; preds = %43 store ptr %7, ptr %34, align 8, !tbaa !18 %54 = load i32, ptr %31, align 8, !tbaa !16 %55 = tail call i32 @mutex_unlock(i32 noundef %54) #2 %56 = tail call i32 @netlink_dump(ptr noundef nonnull %24) #2 br label %57 57: ; preds = %53, %47, %37 %58 = phi i32 [ %42, %37 ], [ %56, %53 ], [ %52, %47 ] %59 = tail call i32 @sock_put(ptr noundef nonnull %24) #2 %60 = icmp eq i32 %58, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load i32, ptr @EINTR, align 4, !tbaa !6 %63 = sub nsw i32 0, %62 br label %64 64: ; preds = %57, %61, %26, %9 %65 = phi i32 [ %11, %9 ], [ %29, %26 ], [ %63, %61 ], [ %58, %57 ] ret i32 %65 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nl_callback_extended(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare ptr @netlink_lookup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sock_net(ptr noundef) local_unnamed_addr #1 declare i32 @NETLINK_CB(ptr noundef) local_unnamed_addr #1 declare i32 @netlink_destroy_callback(ptr noundef) local_unnamed_addr #1 declare ptr @nlk_sk(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(i32 noundef) local_unnamed_addr #1 declare i32 @try_module_get(i32 noundef) local_unnamed_addr #1 declare i32 @netlink_dump(ptr noundef) local_unnamed_addr #1 declare i32 @sock_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 = !{!"netlink_callback", !12, i64 0, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"sock", !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"netlink_sock", !7, i64 0, !12, i64 8} !18 = !{!17, !12, i64 8} !19 = !{!20, !7, i64 0} !20 = !{!"netlink_callback_extended", !7, i64 0, !7, i64 4}
fastsocket_kernel_net_netlink_extr_af_netlink.c___netlink_dump_start
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_routing.c_batadv_recv_unhandled_unicast_packet.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_routing.c_batadv_recv_unhandled_unicast_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" @NET_RX_DROP = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @batadv_recv_unhandled_unicast_packet(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call ptr @netdev_priv(i32 noundef %3) #2 %5 = tail call i32 @batadv_check_unicast_packet(ptr noundef %4, ptr noundef %0, i32 noundef 4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2 %8 = load i64, ptr %0, align 8, !tbaa !10 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = tail call i64 @batadv_is_my_mac(ptr noundef %4, i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = tail call i32 @batadv_route_unicast_packet(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %18 15: ; preds = %7, %2 %16 = tail call i32 @kfree_skb(ptr noundef %0) #2 %17 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !15 br label %18 18: ; preds = %15, %13 %19 = phi i32 [ %17, %15 ], [ %14, %13 ] ret i32 %19 } declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #1 declare i32 @batadv_check_unicast_packet(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @batadv_is_my_mac(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @batadv_route_unicast_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 = !{!"batadv_hard_iface", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"sk_buff", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"batadv_unicast_packet", !7, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_routing.c_batadv_recv_unhandled_unicast_packet.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_routing.c_batadv_recv_unhandled_unicast_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NET_RX_DROP = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @batadv_recv_unhandled_unicast_packet(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call ptr @netdev_priv(i32 noundef %3) #2 %5 = tail call i32 @batadv_check_unicast_packet(ptr noundef %4, ptr noundef %0, i32 noundef 4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %15, label %7 7: ; preds = %2 %8 = load i64, ptr %0, align 8, !tbaa !11 %9 = inttoptr i64 %8 to ptr %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = tail call i64 @batadv_is_my_mac(ptr noundef %4, i32 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = tail call i32 @batadv_route_unicast_packet(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %18 15: ; preds = %7, %2 %16 = tail call i32 @kfree_skb(ptr noundef %0) #2 %17 = load i32, ptr @NET_RX_DROP, align 4, !tbaa !16 br label %18 18: ; preds = %15, %13 %19 = phi i32 [ %17, %15 ], [ %14, %13 ] ret i32 %19 } declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #1 declare i32 @batadv_check_unicast_packet(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @batadv_is_my_mac(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @batadv_route_unicast_packet(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 = !{!"batadv_hard_iface", !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 = !{!"sk_buff", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"batadv_unicast_packet", !8, i64 0} !16 = !{!8, !8, i64 0}
linux_net_batman-adv_extr_routing.c_batadv_recv_unhandled_unicast_packet
; ModuleID = 'AnghaBench/HandBrake/libhb/extr_preset.c_do_clear_default.c' source_filename = "AnghaBench/HandBrake/libhb/extr_preset.c_do_clear_default.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Default\00", align 1 @PRESET_DO_NEXT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_clear_default], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @do_clear_default(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @hb_value_bool(i32 noundef 0) #2 %4 = tail call i32 @hb_dict_set(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = load i32, ptr @PRESET_DO_NEXT, align 4, !tbaa !5 ret i32 %5 } declare i32 @hb_dict_set(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hb_value_bool(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/HandBrake/libhb/extr_preset.c_do_clear_default.c' source_filename = "AnghaBench/HandBrake/libhb/extr_preset.c_do_clear_default.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"Default\00", align 1 @PRESET_DO_NEXT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_clear_default], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @do_clear_default(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = tail call i32 @hb_value_bool(i32 noundef 0) #2 %4 = tail call i32 @hb_dict_set(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %3) #2 %5 = load i32, ptr @PRESET_DO_NEXT, align 4, !tbaa !6 ret i32 %5 } declare i32 @hb_dict_set(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hb_value_bool(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"}
HandBrake_libhb_extr_preset.c_do_clear_default
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_sldns_wire2str_rdata_unknown_scan.c' source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_sldns_wire2str_rdata_unknown_scan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\\# %u\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @sldns_wire2str_rdata_unknown_scan(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = trunc i64 %5 to i32 %7 = tail call i64 (ptr, ptr, ptr, ...) @sldns_str_print(ptr noundef %2, ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load i64, ptr %1, align 8, !tbaa !5 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = tail call i64 (ptr, ptr, ptr, ...) @sldns_str_print(ptr noundef %2, ptr noundef %3, ptr noundef nonnull @.str.1) #2 %12 = add i64 %11, %7 %13 = load i64, ptr %1, align 8, !tbaa !5 br label %14 14: ; preds = %10, %4 %15 = phi i64 [ %13, %10 ], [ 0, %4 ] %16 = phi i64 [ %12, %10 ], [ %7, %4 ] %17 = load ptr, ptr %0, align 8, !tbaa !9 %18 = tail call i64 @print_hex_buf(ptr noundef %2, ptr noundef %3, ptr noundef %17, i64 noundef %15) #2 %19 = add i64 %18, %16 %20 = trunc i64 %19 to i32 %21 = load i64, ptr %1, align 8, !tbaa !5 %22 = load ptr, ptr %0, align 8, !tbaa !9 %23 = getelementptr inbounds i32, ptr %22, i64 %21 store ptr %23, ptr %0, align 8, !tbaa !9 store i64 0, ptr %1, align 8, !tbaa !5 ret i32 %20 } declare i64 @sldns_str_print(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @print_hex_buf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_sldns_wire2str_rdata_unknown_scan.c' source_filename = "AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_sldns_wire2str_rdata_unknown_scan.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 [6 x i8] c"\\# %u\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sldns_wire2str_rdata_unknown_scan(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = trunc i64 %5 to i32 %7 = tail call i64 (ptr, ptr, ptr, ...) @sldns_str_print(ptr noundef %2, ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load i64, ptr %1, align 8, !tbaa !6 %9 = icmp eq i64 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = tail call i64 (ptr, ptr, ptr, ...) @sldns_str_print(ptr noundef %2, ptr noundef %3, ptr noundef nonnull @.str.1) #2 %12 = add i64 %11, %7 %13 = load i64, ptr %1, align 8, !tbaa !6 br label %14 14: ; preds = %10, %4 %15 = phi i64 [ %13, %10 ], [ 0, %4 ] %16 = phi i64 [ %12, %10 ], [ %7, %4 ] %17 = load ptr, ptr %0, align 8, !tbaa !10 %18 = tail call i64 @print_hex_buf(ptr noundef %2, ptr noundef %3, ptr noundef %17, i64 noundef %15) #2 %19 = add i64 %18, %16 %20 = trunc i64 %19 to i32 %21 = load i64, ptr %1, align 8, !tbaa !6 %22 = load ptr, ptr %0, align 8, !tbaa !10 %23 = getelementptr inbounds i32, ptr %22, i64 %21 store ptr %23, ptr %0, align 8, !tbaa !10 store i64 0, ptr %1, align 8, !tbaa !6 ret i32 %20 } declare i64 @sldns_str_print(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @print_hex_buf(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_contrib_unbound_sldns_extr_wire2str.c_sldns_wire2str_rdata_unknown_scan
; ModuleID = 'AnghaBench/freebsd/sys/dev/exca/extr_exca.c_exca_mem_map.c' source_filename = "AnghaBench/freebsd/sys/dev/exca/extr_exca.c_exca_mem_map.c" target datalayout = "e-m:e-p270:32:32-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.exca_softc = type { i32, i32, ptr, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32, i64, i32, i32 } @EXCA_MEM_WINS = dso_local local_unnamed_addr global i32 0, align 4 @ENOSPC = dso_local local_unnamed_addr global i32 0, align 4 @EXCA_HAS_MEMREG_WIN = dso_local local_unnamed_addr global i32 0, align 4 @EXCA_MEMREG_WIN_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"Does not support mapping above 4GB.\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"Does not support mapping above 16M.\00", align 1 @EXCA_MEM_PAGESIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [47 x i8] c"exca_mem_map window %d bus %x+%x card addr %x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @exca_mem_map(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @EXCA_MEM_WINS, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %19 6: ; preds = %3 %7 = load i32, ptr %0, align 8, !tbaa !9 br label %8 8: ; preds = %6, %16 %9 = phi i32 [ 0, %6 ], [ %17, %16 ] %10 = shl nuw i32 1, %9 %11 = and i32 %7, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = or i32 %7, %10 store i32 %14, ptr %0, align 8, !tbaa !9 %15 = load i32, ptr @EXCA_MEM_WINS, align 4, !tbaa !5 br label %19 16: ; preds = %8 %17 = add nuw nsw i32 %9, 1 %18 = icmp eq i32 %17, %4 br i1 %18, label %23, label %8, !llvm.loop !12 19: ; preds = %3, %13 %20 = phi i32 [ %15, %13 ], [ %4, %3 ] %21 = phi i32 [ %9, %13 ], [ 0, %3 ] %22 = icmp slt i32 %21, %20 br i1 %22, label %25, label %23 23: ; preds = %16, %19 %24 = load i32, ptr @ENOSPC, align 4, !tbaa !5 br label %83 25: ; preds = %19 %26 = getelementptr inbounds %struct.exca_softc, ptr %0, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = load i32, ptr @EXCA_HAS_MEMREG_WIN, align 4, !tbaa !5 %29 = and i32 %28, %27 %30 = icmp eq i32 %29, 0 %31 = tail call i32 @rman_get_start(ptr noundef %2) #2 %32 = load i64, ptr @EXCA_MEMREG_WIN_SHIFT, align 8, !tbaa !15 %33 = trunc i64 %32 to i32 br i1 %30, label %43, label %34 34: ; preds = %25 %35 = add i32 %33, 8 %36 = ashr i32 %31, %35 %37 = icmp eq i32 %36, 0 br i1 %37, label %51, label %38 38: ; preds = %34 %39 = getelementptr inbounds %struct.exca_softc, ptr %0, i64 0, i32 3 %40 = load i32, ptr %39, align 8, !tbaa !17 %41 = tail call i32 @device_printf(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %83 43: ; preds = %25 %44 = ashr i32 %31, %33 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = getelementptr inbounds %struct.exca_softc, ptr %0, i64 0, i32 3 %48 = load i32, ptr %47, align 8, !tbaa !17 %49 = tail call i32 @device_printf(i32 noundef %48, ptr noundef nonnull @.str.1) #2 %50 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %83 51: ; preds = %43, %34 %52 = getelementptr inbounds %struct.exca_softc, ptr %0, i64 0, i32 2 %53 = load ptr, ptr %52, align 8, !tbaa !18 %54 = zext nneg i32 %21 to i64 %55 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %54, i32 4 store i64 0, ptr %55, align 8, !tbaa !19 %56 = tail call i32 @rman_get_bustag(ptr noundef %2) #2 %57 = load ptr, ptr %52, align 8, !tbaa !18 %58 = getelementptr inbounds %struct.TYPE_2__, ptr %57, i64 %54, i32 6 store i32 %56, ptr %58, align 4, !tbaa !21 %59 = tail call i32 @rman_get_bushandle(ptr noundef %2) #2 %60 = load ptr, ptr %52, align 8, !tbaa !18 %61 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i64 %54, i32 5 store i32 %59, ptr %61, align 8, !tbaa !22 %62 = tail call i32 @rman_get_start(ptr noundef %2) #2 %63 = load ptr, ptr %52, align 8, !tbaa !18 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %54 store i32 %62, ptr %64, align 8, !tbaa !23 %65 = tail call i32 @rman_get_end(ptr noundef %2) #2 %66 = load ptr, ptr %52, align 8, !tbaa !18 %67 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54 %68 = load i32, ptr %67, align 8, !tbaa !23 %69 = sub nsw i32 %65, %68 %70 = add nsw i32 %69, 1 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 1 store i32 %70, ptr %71, align 4, !tbaa !24 %72 = load i32, ptr @EXCA_MEM_PAGESIZE, align 4, !tbaa !5 %73 = add i32 %72, %69 %74 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 2 store i32 %73, ptr %74, align 8, !tbaa !25 %75 = load i32, ptr @EXCA_MEM_PAGESIZE, align 4, !tbaa !5 %76 = srem i32 %73, %75 %77 = sub nsw i32 %73, %76 store i32 %77, ptr %74, align 8, !tbaa !25 %78 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 3 store i32 %1, ptr %78, align 4, !tbaa !26 %79 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 4 %80 = load i64, ptr %79, align 8, !tbaa !19 %81 = tail call i32 @DPRINTF(ptr noundef nonnull @.str.2, i32 noundef %21, i32 noundef %68, i32 noundef %70, i64 noundef %80) #2 %82 = tail call i32 @exca_do_mem_map(ptr noundef nonnull %0, i32 noundef %21) #2 br label %83 83: ; preds = %51, %46, %38, %23 %84 = phi i32 [ %24, %23 ], [ %42, %38 ], [ 0, %51 ], [ %50, %46 ] ret i32 %84 } declare i32 @rman_get_start(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_bustag(ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_bushandle(ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_end(ptr noundef) local_unnamed_addr #1 declare i32 @DPRINTF(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @exca_do_mem_map(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"exca_softc", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!10, !6, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"long", !7, i64 0} !17 = !{!10, !6, i64 16} !18 = !{!10, !11, i64 8} !19 = !{!20, !16, i64 16} !20 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !16, i64 16, !6, i64 24, !6, i64 28} !21 = !{!20, !6, i64 28} !22 = !{!20, !6, i64 24} !23 = !{!20, !6, i64 0} !24 = !{!20, !6, i64 4} !25 = !{!20, !6, i64 8} !26 = !{!20, !6, i64 12}
; ModuleID = 'AnghaBench/freebsd/sys/dev/exca/extr_exca.c_exca_mem_map.c' source_filename = "AnghaBench/freebsd/sys/dev/exca/extr_exca.c_exca_mem_map.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, i32, i64, i32, i32 } @EXCA_MEM_WINS = common local_unnamed_addr global i32 0, align 4 @ENOSPC = common local_unnamed_addr global i32 0, align 4 @EXCA_HAS_MEMREG_WIN = common local_unnamed_addr global i32 0, align 4 @EXCA_MEMREG_WIN_SHIFT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [36 x i8] c"Does not support mapping above 4GB.\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"Does not support mapping above 16M.\00", align 1 @EXCA_MEM_PAGESIZE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [47 x i8] c"exca_mem_map window %d bus %x+%x card addr %x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @exca_mem_map(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @EXCA_MEM_WINS, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %19 6: ; preds = %3 %7 = load i32, ptr %0, align 8, !tbaa !10 br label %8 8: ; preds = %6, %16 %9 = phi i32 [ 0, %6 ], [ %17, %16 ] %10 = shl nuw i32 1, %9 %11 = and i32 %7, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = or i32 %7, %10 store i32 %14, ptr %0, align 8, !tbaa !10 %15 = load i32, ptr @EXCA_MEM_WINS, align 4, !tbaa !6 br label %19 16: ; preds = %8 %17 = add nuw nsw i32 %9, 1 %18 = icmp eq i32 %17, %4 br i1 %18, label %23, label %8, !llvm.loop !13 19: ; preds = %3, %13 %20 = phi i32 [ %15, %13 ], [ %4, %3 ] %21 = phi i32 [ %9, %13 ], [ 0, %3 ] %22 = icmp slt i32 %21, %20 br i1 %22, label %25, label %23 23: ; preds = %16, %19 %24 = load i32, ptr @ENOSPC, align 4, !tbaa !6 br label %84 25: ; preds = %19 %26 = getelementptr inbounds i8, ptr %0, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !15 %28 = load i32, ptr @EXCA_HAS_MEMREG_WIN, align 4, !tbaa !6 %29 = and i32 %28, %27 %30 = icmp eq i32 %29, 0 %31 = tail call i32 @rman_get_start(ptr noundef %2) #2 %32 = load i64, ptr @EXCA_MEMREG_WIN_SHIFT, align 8, !tbaa !16 %33 = trunc i64 %32 to i32 br i1 %30, label %43, label %34 34: ; preds = %25 %35 = add i32 %33, 8 %36 = ashr i32 %31, %35 %37 = icmp eq i32 %36, 0 br i1 %37, label %51, label %38 38: ; preds = %34 %39 = getelementptr inbounds i8, ptr %0, i64 16 %40 = load i32, ptr %39, align 8, !tbaa !18 %41 = tail call i32 @device_printf(i32 noundef %40, ptr noundef nonnull @.str) #2 %42 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %84 43: ; preds = %25 %44 = ashr i32 %31, %33 %45 = icmp eq i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = getelementptr inbounds i8, ptr %0, i64 16 %48 = load i32, ptr %47, align 8, !tbaa !18 %49 = tail call i32 @device_printf(i32 noundef %48, ptr noundef nonnull @.str.1) #2 %50 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %84 51: ; preds = %43, %34 %52 = getelementptr inbounds i8, ptr %0, i64 8 %53 = load ptr, ptr %52, align 8, !tbaa !19 %54 = zext nneg i32 %21 to i64 %55 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i64 %54, i32 4 store i64 0, ptr %55, align 8, !tbaa !20 %56 = tail call i32 @rman_get_bustag(ptr noundef %2) #2 %57 = load ptr, ptr %52, align 8, !tbaa !19 %58 = getelementptr inbounds %struct.TYPE_2__, ptr %57, i64 %54, i32 6 store i32 %56, ptr %58, align 4, !tbaa !22 %59 = tail call i32 @rman_get_bushandle(ptr noundef %2) #2 %60 = load ptr, ptr %52, align 8, !tbaa !19 %61 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i64 %54, i32 5 store i32 %59, ptr %61, align 8, !tbaa !23 %62 = tail call i32 @rman_get_start(ptr noundef %2) #2 %63 = load ptr, ptr %52, align 8, !tbaa !19 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %63, i64 %54 store i32 %62, ptr %64, align 8, !tbaa !24 %65 = tail call i32 @rman_get_end(ptr noundef %2) #2 %66 = load ptr, ptr %52, align 8, !tbaa !19 %67 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54 %68 = load i32, ptr %67, align 8, !tbaa !24 %69 = sub nsw i32 %65, %68 %70 = add nsw i32 %69, 1 %71 = getelementptr inbounds i8, ptr %67, i64 4 store i32 %70, ptr %71, align 4, !tbaa !25 %72 = load i32, ptr @EXCA_MEM_PAGESIZE, align 4, !tbaa !6 %73 = add i32 %72, %69 %74 = getelementptr inbounds i8, ptr %67, i64 8 store i32 %73, ptr %74, align 8, !tbaa !26 %75 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 2 %76 = load i32, ptr @EXCA_MEM_PAGESIZE, align 4, !tbaa !6 %77 = srem i32 %73, %76 %78 = sub nsw i32 %73, %77 store i32 %78, ptr %75, align 8, !tbaa !26 %79 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %54, i32 3 store i32 %1, ptr %79, align 4, !tbaa !27 %80 = getelementptr inbounds i8, ptr %67, i64 16 %81 = load i64, ptr %80, align 8, !tbaa !20 %82 = tail call i32 @DPRINTF(ptr noundef nonnull @.str.2, i32 noundef %21, i32 noundef %68, i32 noundef %70, i64 noundef %81) #2 %83 = tail call i32 @exca_do_mem_map(ptr noundef nonnull %0, i32 noundef %21) #2 br label %84 84: ; preds = %51, %46, %38, %23 %85 = phi i32 [ %24, %23 ], [ %42, %38 ], [ 0, %51 ], [ %50, %46 ] ret i32 %85 } declare i32 @rman_get_start(ptr noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_bustag(ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_bushandle(ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_end(ptr noundef) local_unnamed_addr #1 declare i32 @DPRINTF(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @exca_do_mem_map(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"exca_softc", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!11, !7, i64 4} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = !{!11, !7, i64 16} !19 = !{!11, !12, i64 8} !20 = !{!21, !17, i64 16} !21 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !17, i64 16, !7, i64 24, !7, i64 28} !22 = !{!21, !7, i64 28} !23 = !{!21, !7, i64 24} !24 = !{!21, !7, i64 0} !25 = !{!21, !7, i64 4} !26 = !{!21, !7, i64 8} !27 = !{!21, !7, i64 12}
freebsd_sys_dev_exca_extr_exca.c_exca_mem_map
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_check_deliver.c' source_filename = "AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_check_deliver.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @biba_enabled = dso_local local_unnamed_addr global i32 0, align 4 @EACCES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @biba_inpcb_check_deliver], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @biba_inpcb_check_deliver(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 { %5 = load i32, ptr @biba_enabled, align 4, !tbaa !5 %6 = icmp eq i32 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %4 %8 = tail call ptr @SLOT(ptr noundef %3) #2 %9 = tail call ptr @SLOT(ptr noundef %1) #2 %10 = tail call i64 @biba_equal_effective(ptr noundef %8, ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 %12 = load i32, ptr @EACCES, align 4 %13 = select i1 %11, i32 %12, i32 0 br label %14 14: ; preds = %4, %7 %15 = phi i32 [ %13, %7 ], [ 0, %4 ] ret i32 %15 } declare ptr @SLOT(ptr noundef) local_unnamed_addr #1 declare i64 @biba_equal_effective(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/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_check_deliver.c' source_filename = "AnghaBench/freebsd/sys/security/mac_biba/extr_mac_biba.c_biba_inpcb_check_deliver.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @biba_enabled = common local_unnamed_addr global i32 0, align 4 @EACCES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @biba_inpcb_check_deliver], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @biba_inpcb_check_deliver(ptr nocapture readnone %0, ptr noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 { %5 = load i32, ptr @biba_enabled, align 4, !tbaa !6 %6 = icmp eq i32 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %4 %8 = tail call ptr @SLOT(ptr noundef %3) #2 %9 = tail call ptr @SLOT(ptr noundef %1) #2 %10 = tail call i64 @biba_equal_effective(ptr noundef %8, ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 %12 = load i32, ptr @EACCES, align 4 %13 = select i1 %11, i32 %12, i32 0 br label %14 14: ; preds = %4, %7 %15 = phi i32 [ %13, %7 ], [ 0, %4 ] ret i32 %15 } declare ptr @SLOT(ptr noundef) local_unnamed_addr #1 declare i64 @biba_equal_effective(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"}
freebsd_sys_security_mac_biba_extr_mac_biba.c_biba_inpcb_check_deliver
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_dell-smm-hwmon.c_i8k_get_fan_nominal_speed.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_dell-smm-hwmon.c_i8k_get_fan_nominal_speed.c" target datalayout = "e-m:e-p270:32:32-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.smm_regs = type { i32, i32 } @I8K_SMM_GET_NOM_SPEED = dso_local local_unnamed_addr global i32 0, align 4 @disallow_fan_support = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @i8k_fan_mult = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i8k_get_fan_nominal_speed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @i8k_get_fan_nominal_speed(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.smm_regs, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @I8K_SMM_GET_NOM_SPEED, align 4, !tbaa !5 store i32 %4, ptr %3, align 4, !tbaa !9 %5 = load i64, ptr @disallow_fan_support, align 8, !tbaa !11 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %24 10: ; preds = %2 %11 = getelementptr inbounds %struct.smm_regs, ptr %3, i64 0, i32 1 %12 = and i32 %0, 255 %13 = shl i32 %1, 8 %14 = or disjoint i32 %13, %12 store i32 %14, ptr %11, align 4, !tbaa !13 %15 = call i64 @i8k_smm(ptr noundef nonnull %3) #3 %16 = icmp eq i64 %15, 0 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 65535 %19 = load i32, ptr @i8k_fan_mult, align 4 %20 = mul nsw i32 %18, %19 %21 = zext i32 %20 to i64 %22 = select i1 %16, i64 %21, i64 %15 %23 = trunc i64 %22 to i32 br label %24 24: ; preds = %10, %7 %25 = phi i32 [ %9, %7 ], [ %23, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 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 i64 @i8k_smm(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"smm_regs", !6, i64 0, !6, i64 4} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_dell-smm-hwmon.c_i8k_get_fan_nominal_speed.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_dell-smm-hwmon.c_i8k_get_fan_nominal_speed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.smm_regs = type { i32, i32 } @I8K_SMM_GET_NOM_SPEED = common local_unnamed_addr global i32 0, align 4 @disallow_fan_support = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @i8k_fan_mult = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i8k_get_fan_nominal_speed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @i8k_get_fan_nominal_speed(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.smm_regs, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @I8K_SMM_GET_NOM_SPEED, align 4, !tbaa !6 store i32 %4, ptr %3, align 4, !tbaa !10 %5 = load i64, ptr @disallow_fan_support, align 8, !tbaa !12 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %24 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %3, i64 4 %12 = and i32 %0, 255 %13 = shl i32 %1, 8 %14 = or disjoint i32 %13, %12 store i32 %14, ptr %11, align 4, !tbaa !14 %15 = call i64 @i8k_smm(ptr noundef nonnull %3) #3 %16 = icmp eq i64 %15, 0 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 65535 %19 = load i32, ptr @i8k_fan_mult, align 4 %20 = mul nsw i32 %18, %19 %21 = zext i32 %20 to i64 %22 = select i1 %16, i64 %21, i64 %15 %23 = trunc i64 %22 to i32 br label %24 24: ; preds = %10, %7 %25 = phi i32 [ %9, %7 ], [ %23, %10 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 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 i64 @i8k_smm(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"smm_regs", !7, i64 0, !7, i64 4} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 4}
linux_drivers_hwmon_extr_dell-smm-hwmon.c_i8k_get_fan_nominal_speed
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_float8out_internal.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_float8out_internal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DBL_DIG = dso_local local_unnamed_addr global i32 0, align 4 @extra_float_digits = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @float8out_internal(double noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @palloc(i32 noundef 32) #2 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr @extra_float_digits, align 4, !tbaa !5 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @double_to_shortest_decimal_buf(double noundef %0, ptr noundef %3) #2 br label %12 8: ; preds = %1 %9 = load i32, ptr @DBL_DIG, align 4, !tbaa !5 %10 = add nsw i32 %9, %4 %11 = tail call i32 @pg_strfromd(ptr noundef %3, i32 noundef 32, i32 noundef %10, double noundef %0) #2 br label %12 12: ; preds = %8, %6 ret ptr %3 } declare i64 @palloc(i32 noundef) local_unnamed_addr #1 declare i32 @double_to_shortest_decimal_buf(double noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pg_strfromd(ptr noundef, i32 noundef, i32 noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/adt/extr_float.c_float8out_internal.c' source_filename = "AnghaBench/postgres/src/backend/utils/adt/extr_float.c_float8out_internal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DBL_DIG = common local_unnamed_addr global i32 0, align 4 @extra_float_digits = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @float8out_internal(double noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @palloc(i32 noundef 32) #2 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr @extra_float_digits, align 4, !tbaa !6 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @double_to_shortest_decimal_buf(double noundef %0, ptr noundef %3) #2 br label %12 8: ; preds = %1 %9 = load i32, ptr @DBL_DIG, align 4, !tbaa !6 %10 = add nsw i32 %9, %4 %11 = tail call i32 @pg_strfromd(ptr noundef %3, i32 noundef 32, i32 noundef %10, double noundef %0) #2 br label %12 12: ; preds = %8, %6 ret ptr %3 } declare i64 @palloc(i32 noundef) local_unnamed_addr #1 declare i32 @double_to_shortest_decimal_buf(double noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pg_strfromd(ptr noundef, i32 noundef, i32 noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
postgres_src_backend_utils_adt_extr_float.c_float8out_internal
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_movsp_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_movsp_Slot_inst_encode.c" target datalayout = "e-m:e-p270:32:32-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 @Opcode_movsp_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_movsp_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 4096, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_movsp_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_movsp_Slot_inst_encode.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 @Opcode_movsp_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_movsp_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 4096, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_movsp_Slot_inst_encode
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_tsu_del_entry.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_tsu_del_entry.c" target datalayout = "e-m:e-p270:32:32-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 @sh_eth_tsu_del_entry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sh_eth_tsu_del_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = icmp eq i32 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %2 %8 = tail call i32 @sh_eth_tsu_find_entry(ptr noundef %0, ptr noundef %1) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call i64 @sh_eth_tsu_disable_cam_entry_post(ptr noundef %0, i32 noundef %8) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = tail call i32 @sh_eth_tsu_disable_cam_entry_table(ptr noundef %0, i32 noundef %8) #2 %15 = icmp slt i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %7, %13, %10 br label %17 17: ; preds = %13, %2, %16 %18 = phi i32 [ 0, %16 ], [ 0, %2 ], [ %14, %13 ] ret i32 %18 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @sh_eth_tsu_find_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sh_eth_tsu_disable_cam_entry_post(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sh_eth_tsu_disable_cam_entry_table(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 = !{!"sh_eth_private", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_tsu_del_entry.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_tsu_del_entry.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 @sh_eth_tsu_del_entry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @sh_eth_tsu_del_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = icmp eq i32 %5, 0 br i1 %6, label %17, label %7 7: ; preds = %2 %8 = tail call i32 @sh_eth_tsu_find_entry(ptr noundef %0, ptr noundef %1) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %7 %11 = tail call i64 @sh_eth_tsu_disable_cam_entry_post(ptr noundef %0, i32 noundef %8) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = tail call i32 @sh_eth_tsu_disable_cam_entry_table(ptr noundef %0, i32 noundef %8) #2 %15 = icmp slt i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %7, %13, %10 br label %17 17: ; preds = %13, %2, %16 %18 = phi i32 [ 0, %16 ], [ 0, %2 ], [ %14, %13 ] ret i32 %18 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @sh_eth_tsu_find_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sh_eth_tsu_disable_cam_entry_post(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sh_eth_tsu_disable_cam_entry_table(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 = !{!"sh_eth_private", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_renesas_extr_sh_eth.c_sh_eth_tsu_del_entry
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-hwbreak.c_set_breakpoint_addr.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-hwbreak.c_set_breakpoint_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PTRACE_SET_DEBUGREG = dso_local local_unnamed_addr global i32 0, align 4 @child_pid = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Can't set breakpoint addr\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_breakpoint_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @set_breakpoint_addr(ptr noundef %0) #0 { %2 = load i32, ptr @PTRACE_SET_DEBUGREG, align 4, !tbaa !5 %3 = load i32, ptr @child_pid, align 4, !tbaa !5 %4 = tail call i32 @ptrace(i32 noundef %2, i32 noundef %3, i32 noundef 0, ptr noundef %0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = tail call i32 @perror(ptr noundef nonnull @.str) #3 %8 = tail call i32 @exit(i32 noundef -1) #4 unreachable 9: ; preds = %1 ret void } declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @perror(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-hwbreak.c_set_breakpoint_addr.c' source_filename = "AnghaBench/linux/tools/testing/selftests/powerpc/ptrace/extr_ptrace-hwbreak.c_set_breakpoint_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PTRACE_SET_DEBUGREG = common local_unnamed_addr global i32 0, align 4 @child_pid = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Can't set breakpoint addr\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @set_breakpoint_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @set_breakpoint_addr(ptr noundef %0) #0 { %2 = load i32, ptr @PTRACE_SET_DEBUGREG, align 4, !tbaa !6 %3 = load i32, ptr @child_pid, align 4, !tbaa !6 %4 = tail call i32 @ptrace(i32 noundef %2, i32 noundef %3, i32 noundef 0, ptr noundef %0) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = tail call i32 @perror(ptr noundef nonnull @.str) #3 %8 = tail call i32 @exit(i32 noundef -1) #4 unreachable 9: ; preds = %1 ret void } declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @perror(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_tools_testing_selftests_powerpc_ptrace_extr_ptrace-hwbreak.c_set_breakpoint_addr
; ModuleID = 'AnghaBench/linux/net/ceph/crush/extr_mapper.c_crush_choose_firstn.c' source_filename = "AnghaBench/linux/net/ceph/crush/extr_mapper.c_crush_choose_firstn.c" target datalayout = "e-m:e-p270:32:32-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.crush_map = type { i32, i32, i32, ptr, ptr } %struct.crush_bucket = type { i32, i32, i32 } %struct.crush_choose_arg = type { i32 } @.str = private unnamed_addr constant [136 x i8] c"CHOOSE%s bucket %d x %d outpos %d numrep %d tries %d recurse_tries %d local_retries %d local_fallback_retries %d parent_r %d stable %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"_LEAF\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [16 x i8] c" bad item %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c" item %d type %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" bad item type %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c" reject %d collide %d ftotal %u flocal %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"skip rep\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"CHOOSE got %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"CHOOSE returns %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @crush_choose_firstn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @crush_choose_firstn(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr nocapture noundef %18, i32 noundef %19, ptr noundef %20) #0 { %22 = icmp eq i32 %15, 0 %23 = select i1 %22, ptr @.str.2, ptr @.str.1 %24 = load i32, ptr %2, align 4, !tbaa !5 %25 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str, ptr noundef nonnull %23, i32 noundef %24, i32 noundef %5, i32 noundef %9, i32 noundef %6, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %19, i32 noundef %17) #2 %26 = icmp eq i32 %17, 0 %27 = select i1 %26, i32 %9, i32 0 %28 = icmp slt i32 %27, %6 %29 = icmp sgt i32 %10, 0 %30 = and i1 %28, %29 br i1 %30, label %31, label %217 31: ; preds = %21 %32 = icmp ne i32 %14, 0 %33 = icmp eq ptr %20, null %34 = getelementptr inbounds %struct.crush_map, ptr %0, i64 0, i32 4 %35 = getelementptr inbounds %struct.crush_map, ptr %0, i64 0, i32 1 %36 = icmp eq i32 %16, 0 %37 = add i32 %16, -1 %38 = icmp eq i32 %14, 0 %39 = getelementptr inbounds %struct.crush_map, ptr %0, i64 0, i32 3 %40 = getelementptr inbounds %struct.crush_map, ptr %0, i64 0, i32 2 br label %41 41: ; preds = %31, %210 %42 = phi i32 [ %10, %31 ], [ %212, %210 ] %43 = phi i32 [ 0, %31 ], [ %190, %210 ] %44 = phi i32 [ %27, %31 ], [ %213, %210 ] %45 = phi i32 [ %9, %31 ], [ %211, %210 ] %46 = add nsw i32 %44, %19 %47 = icmp slt i32 %45, 1 %48 = sext i32 %45 to i64 %49 = getelementptr inbounds i32, ptr %18, i64 %48 %50 = add nsw i32 %45, 1 %51 = select i1 %26, i32 %50, i32 1 %52 = zext nneg i32 %45 to i64 br label %53 53: ; preds = %179, %41 %54 = phi i32 [ 0, %41 ], [ %180, %179 ] %55 = phi i32 [ 0, %41 ], [ %181, %179 ] %56 = phi i32 [ 0, %41 ], [ %182, %179 ] %57 = phi i32 [ 0, %41 ], [ %183, %179 ] %58 = phi ptr [ %2, %41 ], [ %184, %179 ] %59 = phi i32 [ %43, %41 ], [ %185, %179 ] %60 = add i32 %46, %54 %61 = getelementptr inbounds %struct.crush_bucket, ptr %58, i64 0, i32 1 %62 = load i32, ptr %61, align 4, !tbaa !10 %63 = icmp eq i32 %62, 0 br i1 %63, label %144, label %64 64: ; preds = %53 %65 = ashr i32 %62, 1 %66 = icmp uge i32 %55, %65 %67 = select i1 %32, i1 %66, i1 false %68 = icmp ugt i32 %55, %14 %69 = select i1 %67, i1 %68, i1 false %70 = load ptr, ptr %1, align 8, !tbaa !11 %71 = load i32, ptr %58, align 4, !tbaa !5 %72 = xor i32 %71, -1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %70, i64 %73 %75 = load i32, ptr %74, align 4, !tbaa !14 br i1 %69, label %76, label %78 76: ; preds = %64 %77 = tail call i32 @bucket_perm_choose(ptr noundef nonnull %58, i32 noundef %75, i32 noundef %5, i32 noundef %60) #2 br label %82 78: ; preds = %64 %79 = getelementptr inbounds %struct.crush_choose_arg, ptr %20, i64 %73 %80 = select i1 %33, ptr null, ptr %79 %81 = tail call i32 @crush_bucket_choose(ptr noundef nonnull %58, i32 noundef %75, i32 noundef %5, i32 noundef %60, ptr noundef %80, i32 noundef %45) #2 br label %82 82: ; preds = %78, %76 %83 = phi i32 [ %77, %76 ], [ %81, %78 ] %84 = load i32, ptr %0, align 8, !tbaa !15 %85 = icmp slt i32 %83, %84 br i1 %85, label %88, label %86 86: ; preds = %82 %87 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.3, i32 noundef %83) #2 br label %186 88: ; preds = %82 %89 = icmp slt i32 %83, 0 br i1 %89, label %90, label %98 90: ; preds = %88 %91 = load ptr, ptr %34, align 8, !tbaa !17 %92 = xor i32 %83, -1 %93 = zext nneg i32 %92 to i64 %94 = getelementptr inbounds ptr, ptr %91, i64 %93 %95 = load ptr, ptr %94, align 8, !tbaa !18 %96 = getelementptr inbounds %struct.crush_bucket, ptr %95, i64 0, i32 2 %97 = load i32, ptr %96, align 4, !tbaa !19 br label %98 98: ; preds = %88, %90 %99 = phi i32 [ %97, %90 ], [ 0, %88 ] %100 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.4, i32 noundef %83, i32 noundef %99) #2 %101 = icmp eq i32 %99, %7 br i1 %101, label %102, label %103 102: ; preds = %98 br i1 %47, label %124, label %119 103: ; preds = %98 %104 = icmp sgt i32 %83, -1 br i1 %104, label %109, label %105 105: ; preds = %103 %106 = xor i32 %83, -1 %107 = load i32, ptr %35, align 4, !tbaa !20 %108 = icmp sgt i32 %107, %106 br i1 %108, label %111, label %109 109: ; preds = %105, %103 %110 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.5, i32 noundef %7) #2 br label %186 111: ; preds = %105 %112 = load ptr, ptr %34, align 8, !tbaa !17 %113 = zext nneg i32 %106 to i64 %114 = getelementptr inbounds ptr, ptr %112, i64 %113 %115 = load ptr, ptr %114, align 8, !tbaa !18 br label %170 116: ; preds = %119 %117 = add nuw nsw i64 %120, 1 %118 = icmp eq i64 %117, %52 br i1 %118, label %124, label %119, !llvm.loop !21 119: ; preds = %102, %116 %120 = phi i64 [ %117, %116 ], [ 0, %102 ] %121 = getelementptr inbounds i32, ptr %8, i64 %120 %122 = load i32, ptr %121, align 4, !tbaa !14 %123 = icmp eq i32 %122, %83 br i1 %123, label %144, label %116 124: ; preds = %116, %102 br i1 %22, label %138, label %125 125: ; preds = %124 br i1 %89, label %126, label %137 126: ; preds = %125 %127 = ashr i32 %60, %37 %128 = select i1 %36, i32 0, i32 %127 %129 = load ptr, ptr %34, align 8, !tbaa !17 %130 = xor i32 %83, -1 %131 = zext nneg i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 %133 = load ptr, ptr %132, align 8, !tbaa !18 %134 = tail call i32 @crush_choose_firstn(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %133, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %51, i32 noundef 0, ptr noundef %18, i32 noundef %45, i32 noundef %42, i32 noundef %12, i32 noundef 0, i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %16, i32 noundef %17, ptr noundef null, i32 noundef %128, ptr noundef %20) %135 = icmp sle i32 %134, %45 %136 = zext i1 %135 to i32 br label %138 137: ; preds = %125 store i32 %83, ptr %49, align 4, !tbaa !14 br label %138 138: ; preds = %126, %137, %124 %139 = phi i32 [ %136, %126 ], [ 0, %137 ], [ 0, %124 ] %140 = or i32 %139, %7 %141 = icmp eq i32 %140, 0 br i1 %141, label %142, label %144 142: ; preds = %138 %143 = tail call i32 @is_out(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %83, i32 noundef %5) #2 br label %144 144: ; preds = %119, %53, %138, %142 %145 = phi i32 [ %83, %142 ], [ %83, %138 ], [ %59, %53 ], [ %83, %119 ] %146 = phi i1 [ true, %142 ], [ true, %138 ], [ true, %53 ], [ false, %119 ] %147 = phi i32 [ 0, %142 ], [ 0, %138 ], [ 0, %53 ], [ 1, %119 ] %148 = phi i32 [ %143, %142 ], [ %139, %138 ], [ 1, %53 ], [ 0, %119 ] %149 = or i32 %148, %147 %150 = icmp eq i32 %149, 0 br i1 %150, label %186, label %151 151: ; preds = %144 %152 = add i32 %54, 1 %153 = add i32 %55, 1 %154 = icmp ugt i32 %153, %13 %155 = select i1 %146, i1 true, i1 %154 br i1 %155, label %156, label %165 156: ; preds = %151 br i1 %38, label %161, label %157 157: ; preds = %156 %158 = load i32, ptr %61, align 4, !tbaa !10 %159 = add i32 %158, %14 %160 = icmp ugt i32 %153, %159 br i1 %160, label %161, label %165 161: ; preds = %157, %156 %162 = icmp ult i32 %152, %11 %163 = select i1 %162, i32 1, i32 %56 %164 = select i1 %162, i32 %57, i32 1 br label %165 165: ; preds = %161, %157, %151 %166 = phi i32 [ %56, %151 ], [ %56, %157 ], [ %163, %161 ] %167 = phi i32 [ 1, %151 ], [ 1, %157 ], [ 0, %161 ] %168 = phi i32 [ %57, %151 ], [ %57, %157 ], [ %164, %161 ] %169 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.6, i32 noundef %148, i32 noundef %147, i32 noundef %152, i32 noundef %153) #2 br label %170 170: ; preds = %165, %111 %171 = phi i32 [ %152, %165 ], [ %54, %111 ] %172 = phi i32 [ %153, %165 ], [ %55, %111 ] %173 = phi i32 [ %166, %165 ], [ %56, %111 ] %174 = phi i32 [ %167, %165 ], [ 1, %111 ] %175 = phi i32 [ %168, %165 ], [ %57, %111 ] %176 = phi ptr [ %58, %165 ], [ %115, %111 ] %177 = phi i32 [ %145, %165 ], [ %83, %111 ] %178 = icmp eq i32 %174, 0 br i1 %178, label %186, label %179 179: ; preds = %170, %186 %180 = phi i32 [ %171, %170 ], [ %187, %186 ] %181 = phi i32 [ %172, %170 ], [ 0, %186 ] %182 = phi i32 [ %173, %170 ], [ 0, %186 ] %183 = phi i32 [ %175, %170 ], [ %189, %186 ] %184 = phi ptr [ %176, %170 ], [ %2, %186 ] %185 = phi i32 [ %177, %170 ], [ %190, %186 ] br label %53, !llvm.loop !23 186: ; preds = %144, %170, %86, %109 %187 = phi i32 [ %54, %86 ], [ %54, %109 ], [ %171, %170 ], [ %54, %144 ] %188 = phi i32 [ %56, %86 ], [ %56, %109 ], [ %173, %170 ], [ %56, %144 ] %189 = phi i32 [ 1, %86 ], [ 1, %109 ], [ %175, %170 ], [ %57, %144 ] %190 = phi i32 [ %83, %86 ], [ %83, %109 ], [ %177, %170 ], [ %145, %144 ] %191 = icmp eq i32 %188, 0 br i1 %191, label %192, label %179 192: ; preds = %186 %193 = icmp eq i32 %189, 0 br i1 %193, label %196, label %194 194: ; preds = %192 %195 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.7) #2 br label %210 196: ; preds = %192 %197 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.8, i32 noundef %190) #2 %198 = getelementptr inbounds i32, ptr %8, i64 %48 store i32 %190, ptr %198, align 4, !tbaa !14 %199 = add nsw i32 %42, -1 %200 = load ptr, ptr %39, align 8, !tbaa !24 %201 = icmp eq ptr %200, null br i1 %201, label %210, label %202 202: ; preds = %196 %203 = load i32, ptr %40, align 8, !tbaa !25 %204 = icmp ugt i32 %187, %203 br i1 %204, label %210, label %205 205: ; preds = %202 %206 = zext i32 %187 to i64 %207 = getelementptr inbounds i32, ptr %200, i64 %206 %208 = load i32, ptr %207, align 4, !tbaa !14 %209 = add nsw i32 %208, 1 store i32 %209, ptr %207, align 4, !tbaa !14 br label %210 210: ; preds = %196, %202, %205, %194 %211 = phi i32 [ %45, %194 ], [ %50, %205 ], [ %50, %202 ], [ %50, %196 ] %212 = phi i32 [ %42, %194 ], [ %199, %205 ], [ %199, %202 ], [ %199, %196 ] %213 = add nsw i32 %44, 1 %214 = icmp slt i32 %213, %6 %215 = icmp sgt i32 %212, 0 %216 = select i1 %214, i1 %215, i1 false br i1 %216, label %41, label %217, !llvm.loop !26 217: ; preds = %210, %21 %218 = phi i32 [ %9, %21 ], [ %211, %210 ] %219 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.9, i32 noundef %218) #2 ret i32 %218 } declare i32 @dprintk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @bucket_perm_choose(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crush_bucket_choose(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_out(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"crush_bucket", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!12, !13, i64 0} !12 = !{!"crush_work", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"crush_map", !7, i64 0, !7, i64 4, !7, i64 8, !13, i64 16, !13, i64 24} !17 = !{!16, !13, i64 24} !18 = !{!13, !13, i64 0} !19 = !{!6, !7, i64 8} !20 = !{!16, !7, i64 4} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = distinct !{!23, !22} !24 = !{!16, !13, i64 16} !25 = !{!16, !7, i64 8} !26 = distinct !{!26, !22}
; ModuleID = 'AnghaBench/linux/net/ceph/crush/extr_mapper.c_crush_choose_firstn.c' source_filename = "AnghaBench/linux/net/ceph/crush/extr_mapper.c_crush_choose_firstn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.crush_choose_arg = type { i32 } @.str = private unnamed_addr constant [136 x i8] c"CHOOSE%s bucket %d x %d outpos %d numrep %d tries %d recurse_tries %d local_retries %d local_fallback_retries %d parent_r %d stable %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"_LEAF\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [16 x i8] c" bad item %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c" item %d type %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c" bad item type %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c" reject %d collide %d ftotal %u flocal %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"skip rep\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"CHOOSE got %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"CHOOSE returns %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @crush_choose_firstn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @crush_choose_firstn(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr nocapture noundef %18, i32 noundef %19, ptr noundef %20) #0 { %22 = icmp eq i32 %15, 0 %23 = select i1 %22, ptr @.str.2, ptr @.str.1 %24 = load i32, ptr %2, align 4, !tbaa !6 %25 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str, ptr noundef nonnull %23, i32 noundef %24, i32 noundef %5, i32 noundef %9, i32 noundef %6, i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %19, i32 noundef %17) #2 %26 = icmp eq i32 %17, 0 %27 = select i1 %26, i32 %9, i32 0 %28 = icmp slt i32 %27, %6 %29 = icmp sgt i32 %10, 0 %30 = and i1 %28, %29 br i1 %30, label %31, label %217 31: ; preds = %21 %32 = icmp ne i32 %14, 0 %33 = icmp eq ptr %20, null %34 = getelementptr inbounds i8, ptr %0, i64 24 %35 = getelementptr inbounds i8, ptr %0, i64 4 %36 = icmp eq i32 %16, 0 %37 = add i32 %16, -1 %38 = icmp eq i32 %14, 0 %39 = getelementptr inbounds i8, ptr %0, i64 16 %40 = getelementptr inbounds i8, ptr %0, i64 8 br label %41 41: ; preds = %31, %210 %42 = phi i32 [ %10, %31 ], [ %212, %210 ] %43 = phi i32 [ 0, %31 ], [ %190, %210 ] %44 = phi i32 [ %27, %31 ], [ %213, %210 ] %45 = phi i32 [ %9, %31 ], [ %211, %210 ] %46 = add nsw i32 %44, %19 %47 = icmp slt i32 %45, 1 %48 = sext i32 %45 to i64 %49 = getelementptr inbounds i32, ptr %18, i64 %48 %50 = add nsw i32 %45, 1 %51 = select i1 %26, i32 %50, i32 1 %52 = zext nneg i32 %45 to i64 br label %53 53: ; preds = %179, %41 %54 = phi i32 [ 0, %41 ], [ %180, %179 ] %55 = phi i32 [ 0, %41 ], [ %181, %179 ] %56 = phi i32 [ 0, %41 ], [ %182, %179 ] %57 = phi i32 [ 0, %41 ], [ %183, %179 ] %58 = phi ptr [ %2, %41 ], [ %184, %179 ] %59 = phi i32 [ %43, %41 ], [ %185, %179 ] %60 = add i32 %46, %54 %61 = getelementptr inbounds i8, ptr %58, i64 4 %62 = load i32, ptr %61, align 4, !tbaa !11 %63 = icmp eq i32 %62, 0 br i1 %63, label %144, label %64 64: ; preds = %53 %65 = ashr i32 %62, 1 %66 = icmp uge i32 %55, %65 %67 = icmp ugt i32 %55, %14 %68 = and i1 %67, %66 %69 = select i1 %32, i1 %68, i1 false %70 = load ptr, ptr %1, align 8, !tbaa !12 %71 = load i32, ptr %58, align 4, !tbaa !6 %72 = xor i32 %71, -1 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %70, i64 %73 %75 = load i32, ptr %74, align 4, !tbaa !15 br i1 %69, label %76, label %78 76: ; preds = %64 %77 = tail call i32 @bucket_perm_choose(ptr noundef nonnull %58, i32 noundef %75, i32 noundef %5, i32 noundef %60) #2 br label %82 78: ; preds = %64 %79 = getelementptr inbounds %struct.crush_choose_arg, ptr %20, i64 %73 %80 = select i1 %33, ptr null, ptr %79 %81 = tail call i32 @crush_bucket_choose(ptr noundef nonnull %58, i32 noundef %75, i32 noundef %5, i32 noundef %60, ptr noundef %80, i32 noundef %45) #2 br label %82 82: ; preds = %78, %76 %83 = phi i32 [ %77, %76 ], [ %81, %78 ] %84 = load i32, ptr %0, align 8, !tbaa !16 %85 = icmp slt i32 %83, %84 br i1 %85, label %88, label %86 86: ; preds = %82 %87 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.3, i32 noundef %83) #2 br label %186 88: ; preds = %82 %89 = icmp slt i32 %83, 0 br i1 %89, label %90, label %98 90: ; preds = %88 %91 = load ptr, ptr %34, align 8, !tbaa !18 %92 = xor i32 %83, -1 %93 = zext nneg i32 %92 to i64 %94 = getelementptr inbounds ptr, ptr %91, i64 %93 %95 = load ptr, ptr %94, align 8, !tbaa !19 %96 = getelementptr inbounds i8, ptr %95, i64 8 %97 = load i32, ptr %96, align 4, !tbaa !20 br label %98 98: ; preds = %88, %90 %99 = phi i32 [ %97, %90 ], [ 0, %88 ] %100 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.4, i32 noundef %83, i32 noundef %99) #2 %101 = icmp eq i32 %99, %7 br i1 %101, label %102, label %103 102: ; preds = %98 br i1 %47, label %124, label %119 103: ; preds = %98 %104 = icmp sgt i32 %83, -1 br i1 %104, label %109, label %105 105: ; preds = %103 %106 = xor i32 %83, -1 %107 = load i32, ptr %35, align 4, !tbaa !21 %108 = icmp sgt i32 %107, %106 br i1 %108, label %111, label %109 109: ; preds = %105, %103 %110 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.5, i32 noundef %7) #2 br label %186 111: ; preds = %105 %112 = load ptr, ptr %34, align 8, !tbaa !18 %113 = zext nneg i32 %106 to i64 %114 = getelementptr inbounds ptr, ptr %112, i64 %113 %115 = load ptr, ptr %114, align 8, !tbaa !19 br label %170 116: ; preds = %119 %117 = add nuw nsw i64 %120, 1 %118 = icmp eq i64 %117, %52 br i1 %118, label %124, label %119, !llvm.loop !22 119: ; preds = %102, %116 %120 = phi i64 [ %117, %116 ], [ 0, %102 ] %121 = getelementptr inbounds i32, ptr %8, i64 %120 %122 = load i32, ptr %121, align 4, !tbaa !15 %123 = icmp eq i32 %122, %83 br i1 %123, label %144, label %116 124: ; preds = %116, %102 br i1 %22, label %138, label %125 125: ; preds = %124 br i1 %89, label %126, label %137 126: ; preds = %125 %127 = ashr i32 %60, %37 %128 = select i1 %36, i32 0, i32 %127 %129 = load ptr, ptr %34, align 8, !tbaa !18 %130 = xor i32 %83, -1 %131 = zext nneg i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 %133 = load ptr, ptr %132, align 8, !tbaa !19 %134 = tail call i32 @crush_choose_firstn(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %133, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %51, i32 noundef 0, ptr noundef %18, i32 noundef %45, i32 noundef %42, i32 noundef %12, i32 noundef 0, i32 noundef %13, i32 noundef %14, i32 noundef 0, i32 noundef %16, i32 noundef %17, ptr noundef null, i32 noundef %128, ptr noundef %20) %135 = icmp sle i32 %134, %45 %136 = zext i1 %135 to i32 br label %138 137: ; preds = %125 store i32 %83, ptr %49, align 4, !tbaa !15 br label %138 138: ; preds = %126, %137, %124 %139 = phi i32 [ %136, %126 ], [ 0, %137 ], [ 0, %124 ] %140 = or i32 %139, %7 %141 = icmp eq i32 %140, 0 br i1 %141, label %142, label %144 142: ; preds = %138 %143 = tail call i32 @is_out(ptr noundef nonnull %0, ptr noundef %3, i32 noundef %4, i32 noundef %83, i32 noundef %5) #2 br label %144 144: ; preds = %119, %53, %138, %142 %145 = phi i32 [ %83, %142 ], [ %83, %138 ], [ %59, %53 ], [ %83, %119 ] %146 = phi i1 [ true, %142 ], [ true, %138 ], [ true, %53 ], [ false, %119 ] %147 = phi i32 [ 0, %142 ], [ 0, %138 ], [ 0, %53 ], [ 1, %119 ] %148 = phi i32 [ %143, %142 ], [ %139, %138 ], [ 1, %53 ], [ 0, %119 ] %149 = or i32 %148, %147 %150 = icmp eq i32 %149, 0 br i1 %150, label %186, label %151 151: ; preds = %144 %152 = add i32 %54, 1 %153 = add i32 %55, 1 %154 = icmp ugt i32 %153, %13 %155 = select i1 %146, i1 true, i1 %154 br i1 %155, label %156, label %165 156: ; preds = %151 br i1 %38, label %161, label %157 157: ; preds = %156 %158 = load i32, ptr %61, align 4, !tbaa !11 %159 = add i32 %158, %14 %160 = icmp ugt i32 %153, %159 br i1 %160, label %161, label %165 161: ; preds = %157, %156 %162 = icmp ult i32 %152, %11 %163 = select i1 %162, i32 1, i32 %56 %164 = select i1 %162, i32 %57, i32 1 br label %165 165: ; preds = %161, %157, %151 %166 = phi i32 [ %56, %151 ], [ %56, %157 ], [ %163, %161 ] %167 = phi i32 [ 1, %151 ], [ 1, %157 ], [ 0, %161 ] %168 = phi i32 [ %57, %151 ], [ %57, %157 ], [ %164, %161 ] %169 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.6, i32 noundef %148, i32 noundef %147, i32 noundef %152, i32 noundef %153) #2 br label %170 170: ; preds = %165, %111 %171 = phi i32 [ %152, %165 ], [ %54, %111 ] %172 = phi i32 [ %153, %165 ], [ %55, %111 ] %173 = phi i32 [ %166, %165 ], [ %56, %111 ] %174 = phi i32 [ %167, %165 ], [ 1, %111 ] %175 = phi i32 [ %168, %165 ], [ %57, %111 ] %176 = phi ptr [ %58, %165 ], [ %115, %111 ] %177 = phi i32 [ %145, %165 ], [ %83, %111 ] %178 = icmp eq i32 %174, 0 br i1 %178, label %186, label %179 179: ; preds = %170, %186 %180 = phi i32 [ %171, %170 ], [ %187, %186 ] %181 = phi i32 [ %172, %170 ], [ 0, %186 ] %182 = phi i32 [ %173, %170 ], [ 0, %186 ] %183 = phi i32 [ %175, %170 ], [ %189, %186 ] %184 = phi ptr [ %176, %170 ], [ %2, %186 ] %185 = phi i32 [ %177, %170 ], [ %190, %186 ] br label %53, !llvm.loop !24 186: ; preds = %144, %170, %86, %109 %187 = phi i32 [ %54, %86 ], [ %54, %109 ], [ %171, %170 ], [ %54, %144 ] %188 = phi i32 [ %56, %86 ], [ %56, %109 ], [ %173, %170 ], [ %56, %144 ] %189 = phi i32 [ 1, %86 ], [ 1, %109 ], [ %175, %170 ], [ %57, %144 ] %190 = phi i32 [ %83, %86 ], [ %83, %109 ], [ %177, %170 ], [ %145, %144 ] %191 = icmp eq i32 %188, 0 br i1 %191, label %192, label %179 192: ; preds = %186 %193 = icmp eq i32 %189, 0 br i1 %193, label %196, label %194 194: ; preds = %192 %195 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.7) #2 br label %210 196: ; preds = %192 %197 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.8, i32 noundef %190) #2 %198 = getelementptr inbounds i32, ptr %8, i64 %48 store i32 %190, ptr %198, align 4, !tbaa !15 %199 = add nsw i32 %42, -1 %200 = load ptr, ptr %39, align 8, !tbaa !25 %201 = icmp eq ptr %200, null br i1 %201, label %210, label %202 202: ; preds = %196 %203 = load i32, ptr %40, align 8, !tbaa !26 %204 = icmp ugt i32 %187, %203 br i1 %204, label %210, label %205 205: ; preds = %202 %206 = zext i32 %187 to i64 %207 = getelementptr inbounds i32, ptr %200, i64 %206 %208 = load i32, ptr %207, align 4, !tbaa !15 %209 = add nsw i32 %208, 1 store i32 %209, ptr %207, align 4, !tbaa !15 br label %210 210: ; preds = %196, %202, %205, %194 %211 = phi i32 [ %45, %194 ], [ %50, %205 ], [ %50, %202 ], [ %50, %196 ] %212 = phi i32 [ %42, %194 ], [ %199, %205 ], [ %199, %202 ], [ %199, %196 ] %213 = add nsw i32 %44, 1 %214 = icmp slt i32 %213, %6 %215 = icmp sgt i32 %212, 0 %216 = select i1 %214, i1 %215, i1 false br i1 %216, label %41, label %217, !llvm.loop !27 217: ; preds = %210, %21 %218 = phi i32 [ %9, %21 ], [ %211, %210 ] %219 = tail call i32 (ptr, ...) @dprintk(ptr noundef nonnull @.str.9, i32 noundef %218) #2 ret i32 %218 } declare i32 @dprintk(ptr noundef, ...) local_unnamed_addr #1 declare i32 @bucket_perm_choose(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crush_bucket_choose(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @is_out(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"crush_bucket", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!13, !14, i64 0} !13 = !{!"crush_work", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"crush_map", !8, i64 0, !8, i64 4, !8, i64 8, !14, i64 16, !14, i64 24} !18 = !{!17, !14, i64 24} !19 = !{!14, !14, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!17, !8, i64 4} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = distinct !{!24, !23} !25 = !{!17, !14, i64 16} !26 = !{!17, !8, i64 8} !27 = distinct !{!27, !23}
linux_net_ceph_crush_extr_mapper.c_crush_choose_firstn
; ModuleID = 'AnghaBench/freebsd/sys/nlm/extr_nlm_prot_server.c_nlm_unlock_1_svc.c' source_filename = "AnghaBench/freebsd/sys/nlm/extr_nlm_prot_server.c_nlm_unlock_1_svc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } %struct.nlm_unlockargs = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local i64 @nlm_unlock_1_svc(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_3__, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = getelementptr inbounds %struct.nlm_unlockargs, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !10 %9 = call i32 @nlm_convert_to_nlm4_lock(ptr noundef nonnull %4, ptr noundef %0) #3 %10 = call i64 @nlm4_unlock_4_svc(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %2) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = call i32 @nlm_convert_to_nlm_res(ptr noundef %1, ptr noundef nonnull %5) #3 br label %14 14: ; preds = %12, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %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 @nlm_convert_to_nlm4_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nlm4_unlock_4_svc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nlm_convert_to_nlm_res(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"nlm_unlockargs", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/nlm/extr_nlm_prot_server.c_nlm_unlock_1_svc.c' source_filename = "AnghaBench/freebsd/sys/nlm/extr_nlm_prot_server.c_nlm_unlock_1_svc.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 { i32, i32 } ; Function Attrs: nounwind ssp uwtable(sync) define i64 @nlm_unlock_1_svc(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca %struct.TYPE_3__, align 4 %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %7, ptr %8, align 4, !tbaa !11 %9 = call i32 @nlm_convert_to_nlm4_lock(ptr noundef nonnull %4, ptr noundef %0) #3 %10 = call i64 @nlm4_unlock_4_svc(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef %2) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = call i32 @nlm_convert_to_nlm_res(ptr noundef %1, ptr noundef nonnull %5) #3 br label %14 14: ; preds = %12, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i64 %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 @nlm_convert_to_nlm4_lock(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nlm4_unlock_4_svc(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nlm_convert_to_nlm_res(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"nlm_unlockargs", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 4} !12 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
freebsd_sys_nlm_extr_nlm_prot_server.c_nlm_unlock_1_svc
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_frombytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_frombytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32 } @d = dso_local local_unnamed_addr global i32 0, align 4 @sqrtm1 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ge25519_frombytes(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @fe25519_frombytes(i32 noundef %3, ptr noundef %1) #2 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @fe25519_1(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef %8) #2 %10 = load i32, ptr @d, align 4, !tbaa !11 %11 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef %10) #2 %12 = load i32, ptr %5, align 4, !tbaa !10 %13 = tail call i32 @fe25519_sub(i32 noundef undef, i32 noundef undef, i32 noundef %12) #2 %14 = load i32, ptr %5, align 4, !tbaa !10 %15 = tail call i32 @fe25519_add(i32 noundef undef, i32 noundef undef, i32 noundef %14) #2 %16 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef undef) #2 %17 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = tail call i32 @fe25519_sq(i32 noundef %19, i32 noundef undef) #2 %21 = load i32, ptr %18, align 4, !tbaa !12 %22 = tail call i32 @fe25519_mul(i32 noundef %21, i32 noundef %21, i32 noundef undef) #2 %23 = load i32, ptr %18, align 4, !tbaa !12 %24 = tail call i32 @fe25519_mul(i32 noundef %23, i32 noundef %23, i32 noundef undef) #2 %25 = load i32, ptr %18, align 4, !tbaa !12 %26 = tail call i32 @fe25519_pow22523(i32 noundef %25, i32 noundef %25) #2 %27 = load i32, ptr %18, align 4, !tbaa !12 %28 = tail call i32 @fe25519_mul(i32 noundef %27, i32 noundef %27, i32 noundef undef) #2 %29 = load i32, ptr %18, align 4, !tbaa !12 %30 = tail call i32 @fe25519_mul(i32 noundef %29, i32 noundef %29, i32 noundef undef) #2 %31 = load i32, ptr %18, align 4, !tbaa !12 %32 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef %31) #2 %33 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %34 = tail call i32 @fe25519_sub(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %35 = tail call i32 @fe25519_add(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %36 = tail call i32 @fe25519_iszero(i32 noundef undef) #2 %37 = tail call i32 @fe25519_iszero(i32 noundef undef) #2 %38 = load i32, ptr %18, align 4, !tbaa !12 %39 = load i32, ptr @sqrtm1, align 4, !tbaa !11 %40 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef %38, i32 noundef %39) #2 %41 = load i32, ptr %18, align 4, !tbaa !12 %42 = trunc i32 %36 to i8 %43 = sub i8 1, %42 %44 = tail call i32 @fe25519_cmov(i32 noundef %41, i32 noundef undef, i8 noundef zeroext %43) #2 %45 = load i32, ptr %18, align 4, !tbaa !12 %46 = tail call i32 @fe25519_neg(i32 noundef undef, i32 noundef %45) #2 %47 = load i32, ptr %18, align 4, !tbaa !12 %48 = tail call zeroext i8 @fe25519_isnegative(i32 noundef %47) #2 %49 = getelementptr inbounds i8, ptr %1, i64 31 %50 = load i8, ptr %49, align 1, !tbaa !13 %51 = lshr i8 %50, 7 %52 = xor i8 %51, %48 %53 = tail call i32 @fe25519_cmov(i32 noundef %47, i32 noundef undef, i8 noundef zeroext %52) #2 %54 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %55 = load i32, ptr %54, align 4, !tbaa !14 %56 = load i32, ptr %18, align 4, !tbaa !12 %57 = load i32, ptr %0, align 4, !tbaa !5 %58 = tail call i32 @fe25519_mul(i32 noundef %55, i32 noundef %56, i32 noundef %57) #2 %59 = or i32 %37, %36 %60 = add nsw i32 %59, -1 ret i32 %60 } declare i32 @fe25519_frombytes(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fe25519_1(i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_sq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_mul(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_sub(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_add(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_pow22523(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_iszero(i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_cmov(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @fe25519_neg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare zeroext i8 @fe25519_isnegative(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !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 = !{!6, !7, i64 12} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_frombytes.c' source_filename = "AnghaBench/freebsd/sys/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/extr_ed25519_ref10.c_ge25519_frombytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @d = common local_unnamed_addr global i32 0, align 4 @sqrtm1 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483648, 2147483647) i32 @ge25519_frombytes(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @fe25519_frombytes(i32 noundef %3, ptr noundef %1) #2 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @fe25519_1(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef %8) #2 %10 = load i32, ptr @d, align 4, !tbaa !12 %11 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef %10) #2 %12 = load i32, ptr %5, align 4, !tbaa !11 %13 = tail call i32 @fe25519_sub(i32 noundef undef, i32 noundef undef, i32 noundef %12) #2 %14 = load i32, ptr %5, align 4, !tbaa !11 %15 = tail call i32 @fe25519_add(i32 noundef undef, i32 noundef undef, i32 noundef %14) #2 %16 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef undef) #2 %17 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = tail call i32 @fe25519_sq(i32 noundef %19, i32 noundef undef) #2 %21 = load i32, ptr %18, align 4, !tbaa !13 %22 = tail call i32 @fe25519_mul(i32 noundef %21, i32 noundef %21, i32 noundef undef) #2 %23 = load i32, ptr %18, align 4, !tbaa !13 %24 = tail call i32 @fe25519_mul(i32 noundef %23, i32 noundef %23, i32 noundef undef) #2 %25 = load i32, ptr %18, align 4, !tbaa !13 %26 = tail call i32 @fe25519_pow22523(i32 noundef %25, i32 noundef %25) #2 %27 = load i32, ptr %18, align 4, !tbaa !13 %28 = tail call i32 @fe25519_mul(i32 noundef %27, i32 noundef %27, i32 noundef undef) #2 %29 = load i32, ptr %18, align 4, !tbaa !13 %30 = tail call i32 @fe25519_mul(i32 noundef %29, i32 noundef %29, i32 noundef undef) #2 %31 = load i32, ptr %18, align 4, !tbaa !13 %32 = tail call i32 @fe25519_sq(i32 noundef undef, i32 noundef %31) #2 %33 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %34 = tail call i32 @fe25519_sub(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %35 = tail call i32 @fe25519_add(i32 noundef undef, i32 noundef undef, i32 noundef undef) #2 %36 = tail call i32 @fe25519_iszero(i32 noundef undef) #2 %37 = tail call i32 @fe25519_iszero(i32 noundef undef) #2 %38 = load i32, ptr %18, align 4, !tbaa !13 %39 = load i32, ptr @sqrtm1, align 4, !tbaa !12 %40 = tail call i32 @fe25519_mul(i32 noundef undef, i32 noundef %38, i32 noundef %39) #2 %41 = load i32, ptr %18, align 4, !tbaa !13 %42 = trunc i32 %36 to i8 %43 = sub i8 1, %42 %44 = tail call i32 @fe25519_cmov(i32 noundef %41, i32 noundef undef, i8 noundef zeroext %43) #2 %45 = load i32, ptr %18, align 4, !tbaa !13 %46 = tail call i32 @fe25519_neg(i32 noundef undef, i32 noundef %45) #2 %47 = load i32, ptr %18, align 4, !tbaa !13 %48 = tail call zeroext i8 @fe25519_isnegative(i32 noundef %47) #2 %49 = getelementptr inbounds i8, ptr %1, i64 31 %50 = load i8, ptr %49, align 1, !tbaa !14 %51 = lshr i8 %50, 7 %52 = xor i8 %51, %48 %53 = tail call i32 @fe25519_cmov(i32 noundef %47, i32 noundef undef, i8 noundef zeroext %52) #2 %54 = getelementptr inbounds i8, ptr %0, i64 8 %55 = load i32, ptr %54, align 4, !tbaa !15 %56 = load i32, ptr %18, align 4, !tbaa !13 %57 = load i32, ptr %0, align 4, !tbaa !6 %58 = tail call i32 @fe25519_mul(i32 noundef %55, i32 noundef %56, i32 noundef %57) #2 %59 = or i32 %37, %36 %60 = add nsw i32 %59, -1 ret i32 %60 } declare i32 @fe25519_frombytes(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fe25519_1(i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_sq(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_mul(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_sub(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_add(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_pow22523(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_iszero(i32 noundef) local_unnamed_addr #1 declare i32 @fe25519_cmov(i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @fe25519_neg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare zeroext i8 @fe25519_isnegative(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !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 = !{!7, !8, i64 12} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!9, !9, i64 0} !15 = !{!7, !8, i64 8}
freebsd_sys_contrib_libsodium_src_libsodium_crypto_core_ed25519_ref10_extr_ed25519_ref10.c_ge25519_frombytes
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mmu_rb.c_hfi1_mmu_rb_insert.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mmu_rb.c_hfi1_mmu_rb_insert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mmu_rb_node = type { i32, i32, i32 } %struct.mmu_rb_handler = type { i32, i32, i32, ptr, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @hfi1_mmu_rb_insert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.mmu_rb_node, ptr %1, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.mmu_rb_node, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @trace_hfi1_mmu_rb_insert(i32 noundef %4, i32 noundef %6) #2 %8 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = load i32, ptr %5, align 4, !tbaa !10 %11 = tail call ptr @__mmu_rb_search(ptr noundef %0, i32 noundef %9, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @EINVAL, align 4, !tbaa !11 %15 = sub nsw i32 0, %14 br label %31 16: ; preds = %2 %17 = getelementptr inbounds %struct.mmu_rb_handler, ptr %0, i64 0, i32 1 %18 = tail call i32 @__mmu_int_rb_insert(ptr noundef nonnull %1, ptr noundef nonnull %17) #2 %19 = getelementptr inbounds %struct.mmu_rb_handler, ptr %0, i64 0, i32 4 %20 = tail call i32 @list_add(ptr noundef nonnull %1, ptr noundef nonnull %19) #2 %21 = getelementptr inbounds %struct.mmu_rb_handler, ptr %0, i64 0, i32 3 %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.mmu_rb_handler, ptr %0, i64 0, i32 2 %25 = load i32, ptr %24, align 8, !tbaa !17 %26 = tail call i32 %23(i32 noundef %25, ptr noundef nonnull %1) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %16 %29 = tail call i32 @__mmu_int_rb_remove(ptr noundef nonnull %1, ptr noundef nonnull %17) #2 %30 = tail call i32 @list_del(ptr noundef nonnull %1) #2 br label %31 31: ; preds = %16, %28, %13 %32 = phi i32 [ %15, %13 ], [ %26, %28 ], [ 0, %16 ] %33 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %32 } declare i32 @trace_hfi1_mmu_rb_insert(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @__mmu_rb_search(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__mmu_int_rb_insert(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__mmu_int_rb_remove(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"mmu_rb_node", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 16} !13 = !{!"mmu_rb_handler", !7, i64 0, !7, i64 4, !7, i64 8, !14, i64 16, !7, i64 24} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"TYPE_2__", !14, i64 0} !17 = !{!13, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mmu_rb.c_hfi1_mmu_rb_insert.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_mmu_rb.c_hfi1_mmu_rb_insert.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 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @hfi1_mmu_rb_insert(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @trace_hfi1_mmu_rb_insert(i32 noundef %4, i32 noundef %6) #2 %8 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = load i32, ptr %5, align 4, !tbaa !11 %11 = tail call ptr @__mmu_rb_search(ptr noundef %0, i32 noundef %9, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @EINVAL, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %31 16: ; preds = %2 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = tail call i32 @__mmu_int_rb_insert(ptr noundef nonnull %1, ptr noundef nonnull %17) #2 %19 = getelementptr inbounds i8, ptr %0, i64 24 %20 = tail call i32 @list_add(ptr noundef nonnull %1, ptr noundef nonnull %19) #2 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !18 %26 = tail call i32 %23(i32 noundef %25, ptr noundef nonnull %1) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %16 %29 = tail call i32 @__mmu_int_rb_remove(ptr noundef nonnull %1, ptr noundef nonnull %17) #2 %30 = tail call i32 @list_del(ptr noundef nonnull %1) #2 br label %31 31: ; preds = %16, %28, %13 %32 = phi i32 [ %15, %13 ], [ %26, %28 ], [ 0, %16 ] %33 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret i32 %32 } declare i32 @trace_hfi1_mmu_rb_insert(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @__mmu_rb_search(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__mmu_int_rb_insert(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__mmu_int_rb_remove(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"mmu_rb_node", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 16} !14 = !{!"mmu_rb_handler", !8, i64 0, !8, i64 4, !8, i64 8, !15, i64 16, !8, i64 24} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"TYPE_2__", !15, i64 0} !18 = !{!14, !8, i64 8}
linux_drivers_infiniband_hw_hfi1_extr_mmu_rb.c_hfi1_mmu_rb_insert
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_firmware.c_intel_gvt_load_firmware.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_firmware.c_intel_gvt_load_firmware.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.intel_gvt = type { %struct.intel_gvt_firmware, ptr, %struct.intel_gvt_device_info } %struct.intel_gvt_firmware = type { ptr, ptr, i32 } %struct.intel_gvt_device_info = type { i32, i32 } %struct.pci_dev = type { i32, i32, i32, i32 } %struct.gvt_firmware_header = type { i32, i64, i32, i64 } @PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%s/vid_0x%04x_did_0x%04x_rid_0x%02x.golden_hw_state\00", align 1 @GVT_FIRMWARE_PATH = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [33 x i8] c"request hw state firmware %s...\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"verified.\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @intel_gvt_load_firmware(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds %struct.intel_gvt, ptr %0, i64 0, i32 2 %4 = getelementptr inbounds %struct.intel_gvt, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %7 = load i32, ptr @PATH_MAX, align 4, !tbaa !16 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %9 = tail call ptr @kmalloc(i32 noundef %7, i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %13 = sub nsw i32 0, %12 br label %83 14: ; preds = %1 %15 = getelementptr inbounds %struct.intel_gvt, ptr %0, i64 0, i32 2, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %18 = tail call ptr @kmalloc(i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %14 %21 = tail call i32 @kfree(ptr noundef nonnull %9) #3 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %23 = sub nsw i32 0, %22 br label %83 24: ; preds = %14 store ptr %18, ptr %0, align 8, !tbaa !18 %25 = load i32, ptr %3, align 4, !tbaa !19 %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %27 = tail call ptr @kmalloc(i32 noundef %25, i32 noundef %26) #3 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %24 %30 = tail call i32 @kfree(ptr noundef nonnull %9) #3 %31 = load ptr, ptr %0, align 8, !tbaa !18 %32 = tail call i32 @kfree(ptr noundef %31) #3 %33 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %34 = sub nsw i32 0, %33 br label %83 35: ; preds = %24 %36 = getelementptr inbounds %struct.intel_gvt_firmware, ptr %0, i64 0, i32 1 store ptr %27, ptr %36, align 8, !tbaa !20 %37 = load ptr, ptr @GVT_FIRMWARE_PATH, align 8, !tbaa !21 %38 = load i32, ptr %6, align 4, !tbaa !22 %39 = getelementptr inbounds %struct.pci_dev, ptr %6, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !24 %41 = getelementptr inbounds %struct.pci_dev, ptr %6, i64 0, i32 2 %42 = load i32, ptr %41, align 4, !tbaa !25 %43 = tail call i32 @sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str, ptr noundef %37, i32 noundef %38, i32 noundef %40, i32 noundef %42) #3 %44 = tail call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.1, ptr noundef nonnull %9) #3 %45 = load ptr, ptr %5, align 8, !tbaa !13 %46 = getelementptr inbounds %struct.pci_dev, ptr %45, i64 0, i32 3 %47 = call i32 @request_firmware(ptr noundef nonnull %2, ptr noundef nonnull %9, ptr noundef nonnull %46) #3 %48 = call i32 @kfree(ptr noundef nonnull %9) #3 %49 = icmp eq i32 %47, 0 br i1 %49, label %50, label %81 50: ; preds = %35 %51 = call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.2) #3 %52 = load ptr, ptr %2, align 8, !tbaa !21 %53 = call i32 @verify_firmware(ptr noundef nonnull %0, ptr noundef %52) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %78 55: ; preds = %50 %56 = call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.3) #3 %57 = load ptr, ptr %2, align 8, !tbaa !21 %58 = load i64, ptr %57, align 8, !tbaa !26 %59 = inttoptr i64 %58 to ptr %60 = load ptr, ptr %0, align 8, !tbaa !18 %61 = getelementptr inbounds %struct.gvt_firmware_header, ptr %59, i64 0, i32 3 %62 = load i64, ptr %61, align 8, !tbaa !29 %63 = add nsw i64 %62, %58 %64 = getelementptr inbounds %struct.gvt_firmware_header, ptr %59, i64 0, i32 2 %65 = load i32, ptr %64, align 8, !tbaa !31 %66 = call i32 @memcpy(ptr noundef %60, i64 noundef %63, i32 noundef %65) #3 %67 = load ptr, ptr %36, align 8, !tbaa !20 %68 = load ptr, ptr %2, align 8, !tbaa !21 %69 = load i64, ptr %68, align 8, !tbaa !26 %70 = getelementptr inbounds %struct.gvt_firmware_header, ptr %59, i64 0, i32 1 %71 = load i64, ptr %70, align 8, !tbaa !32 %72 = add nsw i64 %71, %69 %73 = load i32, ptr %59, align 8, !tbaa !33 %74 = call i32 @memcpy(ptr noundef %67, i64 noundef %72, i32 noundef %73) #3 %75 = load ptr, ptr %2, align 8, !tbaa !21 %76 = call i32 @release_firmware(ptr noundef %75) #3 %77 = getelementptr inbounds %struct.intel_gvt_firmware, ptr %0, i64 0, i32 2 store i32 1, ptr %77, align 8, !tbaa !34 br label %83 78: ; preds = %50 %79 = load ptr, ptr %2, align 8, !tbaa !21 %80 = call i32 @release_firmware(ptr noundef %79) #3 br label %81 81: ; preds = %35, %78 %82 = call i32 @expose_firmware_sysfs(ptr noundef nonnull %0) #3 br label %83 83: ; preds = %81, %55, %29, %20, %11 %84 = phi i32 [ 0, %81 ], [ 0, %55 ], [ %34, %29 ], [ %23, %20 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %84 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gvt_dbg_core(ptr noundef, ...) local_unnamed_addr #2 declare i32 @request_firmware(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @verify_firmware(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @release_firmware(ptr noundef) local_unnamed_addr #2 declare i32 @expose_firmware_sysfs(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, !8, i64 24} !6 = !{!"intel_gvt", !7, i64 0, !8, i64 24, !12, i64 32} !7 = !{!"intel_gvt_firmware", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"intel_gvt_device_info", !11, i64 0, !11, i64 4} !13 = !{!14, !8, i64 0} !14 = !{!"drm_i915_private", !15, i64 0} !15 = !{!"TYPE_2__", !8, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!12, !11, i64 4} !18 = !{!7, !8, i64 0} !19 = !{!12, !11, i64 0} !20 = !{!7, !8, i64 8} !21 = !{!8, !8, i64 0} !22 = !{!23, !11, i64 0} !23 = !{!"pci_dev", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !24 = !{!23, !11, i64 4} !25 = !{!23, !11, i64 8} !26 = !{!27, !28, i64 0} !27 = !{!"firmware", !28, i64 0} !28 = !{!"long", !9, i64 0} !29 = !{!30, !28, i64 24} !30 = !{!"gvt_firmware_header", !11, i64 0, !28, i64 8, !11, i64 16, !28, i64 24} !31 = !{!30, !11, i64 16} !32 = !{!30, !28, i64 8} !33 = !{!30, !11, i64 0} !34 = !{!7, !11, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_firmware.c_intel_gvt_load_firmware.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_firmware.c_intel_gvt_load_firmware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PATH_MAX = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [52 x i8] c"%s/vid_0x%04x_did_0x%04x_rid_0x%02x.golden_hw_state\00", align 1 @GVT_FIRMWARE_PATH = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [33 x i8] c"request hw state firmware %s...\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"success.\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"verified.\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @intel_gvt_load_firmware(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca ptr, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !14 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %7 = load i32, ptr @PATH_MAX, align 4, !tbaa !17 %8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %9 = tail call ptr @kmalloc(i32 noundef %7, i32 noundef %8) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %13 = sub nsw i32 0, %12 br label %83 14: ; preds = %1 %15 = getelementptr inbounds i8, ptr %0, i64 36 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %18 = tail call ptr @kmalloc(i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %14 %21 = tail call i32 @kfree(ptr noundef nonnull %9) #3 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %23 = sub nsw i32 0, %22 br label %83 24: ; preds = %14 store ptr %18, ptr %0, align 8, !tbaa !19 %25 = load i32, ptr %3, align 4, !tbaa !20 %26 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %27 = tail call ptr @kmalloc(i32 noundef %25, i32 noundef %26) #3 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %35 29: ; preds = %24 %30 = tail call i32 @kfree(ptr noundef nonnull %9) #3 %31 = load ptr, ptr %0, align 8, !tbaa !19 %32 = tail call i32 @kfree(ptr noundef %31) #3 %33 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %34 = sub nsw i32 0, %33 br label %83 35: ; preds = %24 %36 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %27, ptr %36, align 8, !tbaa !21 %37 = load ptr, ptr @GVT_FIRMWARE_PATH, align 8, !tbaa !22 %38 = load i32, ptr %6, align 4, !tbaa !23 %39 = getelementptr inbounds i8, ptr %6, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !25 %41 = getelementptr inbounds i8, ptr %6, i64 8 %42 = load i32, ptr %41, align 4, !tbaa !26 %43 = tail call i32 @sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str, ptr noundef %37, i32 noundef %38, i32 noundef %40, i32 noundef %42) #3 %44 = tail call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.1, ptr noundef nonnull %9) #3 %45 = load ptr, ptr %5, align 8, !tbaa !14 %46 = getelementptr inbounds i8, ptr %45, i64 12 %47 = call i32 @request_firmware(ptr noundef nonnull %2, ptr noundef nonnull %9, ptr noundef nonnull %46) #3 %48 = call i32 @kfree(ptr noundef nonnull %9) #3 %49 = icmp eq i32 %47, 0 br i1 %49, label %50, label %81 50: ; preds = %35 %51 = call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.2) #3 %52 = load ptr, ptr %2, align 8, !tbaa !22 %53 = call i32 @verify_firmware(ptr noundef nonnull %0, ptr noundef %52) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %78 55: ; preds = %50 %56 = call i32 (ptr, ...) @gvt_dbg_core(ptr noundef nonnull @.str.3) #3 %57 = load ptr, ptr %2, align 8, !tbaa !22 %58 = load i64, ptr %57, align 8, !tbaa !27 %59 = inttoptr i64 %58 to ptr %60 = load ptr, ptr %0, align 8, !tbaa !19 %61 = getelementptr inbounds i8, ptr %59, i64 24 %62 = load i64, ptr %61, align 8, !tbaa !30 %63 = add nsw i64 %62, %58 %64 = getelementptr inbounds i8, ptr %59, i64 16 %65 = load i32, ptr %64, align 8, !tbaa !32 %66 = call i32 @memcpy(ptr noundef %60, i64 noundef %63, i32 noundef %65) #3 %67 = load ptr, ptr %36, align 8, !tbaa !21 %68 = load ptr, ptr %2, align 8, !tbaa !22 %69 = load i64, ptr %68, align 8, !tbaa !27 %70 = getelementptr inbounds i8, ptr %59, i64 8 %71 = load i64, ptr %70, align 8, !tbaa !33 %72 = add nsw i64 %71, %69 %73 = load i32, ptr %59, align 8, !tbaa !34 %74 = call i32 @memcpy(ptr noundef %67, i64 noundef %72, i32 noundef %73) #3 %75 = load ptr, ptr %2, align 8, !tbaa !22 %76 = call i32 @release_firmware(ptr noundef %75) #3 %77 = getelementptr inbounds i8, ptr %0, i64 16 store i32 1, ptr %77, align 8, !tbaa !35 br label %83 78: ; preds = %50 %79 = load ptr, ptr %2, align 8, !tbaa !22 %80 = call i32 @release_firmware(ptr noundef %79) #3 br label %81 81: ; preds = %35, %78 %82 = call i32 @expose_firmware_sysfs(ptr noundef nonnull %0) #3 br label %83 83: ; preds = %81, %55, %29, %20, %11 %84 = phi i32 [ 0, %81 ], [ 0, %55 ], [ %34, %29 ], [ %23, %20 ], [ %13, %11 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %84 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gvt_dbg_core(ptr noundef, ...) local_unnamed_addr #2 declare i32 @request_firmware(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @verify_firmware(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @release_firmware(ptr noundef) local_unnamed_addr #2 declare i32 @expose_firmware_sysfs(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, !9, i64 24} !7 = !{!"intel_gvt", !8, i64 0, !9, i64 24, !13, i64 32} !8 = !{!"intel_gvt_firmware", !9, i64 0, !9, i64 8, !12, i64 16} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!"intel_gvt_device_info", !12, i64 0, !12, i64 4} !14 = !{!15, !9, i64 0} !15 = !{!"drm_i915_private", !16, i64 0} !16 = !{!"TYPE_2__", !9, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!13, !12, i64 4} !19 = !{!8, !9, i64 0} !20 = !{!13, !12, i64 0} !21 = !{!8, !9, i64 8} !22 = !{!9, !9, i64 0} !23 = !{!24, !12, i64 0} !24 = !{!"pci_dev", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !25 = !{!24, !12, i64 4} !26 = !{!24, !12, i64 8} !27 = !{!28, !29, i64 0} !28 = !{!"firmware", !29, i64 0} !29 = !{!"long", !10, i64 0} !30 = !{!31, !29, i64 24} !31 = !{!"gvt_firmware_header", !12, i64 0, !29, i64 8, !12, i64 16, !29, i64 24} !32 = !{!31, !12, i64 16} !33 = !{!31, !29, i64 8} !34 = !{!31, !12, i64 0} !35 = !{!8, !12, i64 16}
linux_drivers_gpu_drm_i915_gvt_extr_firmware.c_intel_gvt_load_firmware
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_rx_sm_cleanup_wait_entry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_rx_sm_cleanup_wait_entry.c" target datalayout = "e-m:e-p270:32:32-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 @bna_rx_sm_cleanup_wait_entry(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/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_rx_sm_cleanup_wait_entry.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_tx_rx.c_bna_rx_sm_cleanup_wait_entry.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 @bna_rx_sm_cleanup_wait_entry(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)"}
fastsocket_kernel_drivers_net_bna_extr_bna_tx_rx.c_bna_rx_sm_cleanup_wait_entry
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wps_supplicant.c_wpas_wps_terminate_pending.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wps_supplicant.c_wpas_wps_terminate_pending.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @callbacks_pending = dso_local local_unnamed_addr global i32 0, align 4 @wpas_wps_terminate_cb = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @wpas_wps_terminate_pending(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wps_supplicant.c_wpas_wps_terminate_pending.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wps_supplicant.c_wpas_wps_terminate_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @callbacks_pending = common local_unnamed_addr global i32 0, align 4 @wpas_wps_terminate_cb = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @wpas_wps_terminate_pending(ptr nocapture noundef readnone %0) local_unnamed_addr #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_wpa_wpa_supplicant_extr_wps_supplicant.c_wpas_wps_terminate_pending
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_log.c_xlog_grant_sub_space.c' source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_log.c_xlog_grant_sub_space.c" target datalayout = "e-m:e-p270:32:32-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 @xlog_grant_sub_space], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xlog_grant_sub_space(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = tail call i64 @atomic64_read(ptr noundef %1) #3 br label %7 7: ; preds = %19, %3 %8 = phi i64 [ %6, %3 ], [ %23, %19 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %9 = call i32 @xlog_crack_grant_head_val(i64 noundef %8, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %10 = load i32, ptr %5, align 4, !tbaa !5 %11 = sub nsw i32 %10, %2 store i32 %11, ptr %5, align 4, !tbaa !5 %12 = icmp slt i32 %11, 0 %13 = load i32, ptr %4, align 4, !tbaa !5 br i1 %12, label %14, label %19 14: ; preds = %7 %15 = load i64, ptr %0, align 8, !tbaa !9 %16 = trunc i64 %15 to i32 %17 = add i32 %11, %16 store i32 %17, ptr %5, align 4, !tbaa !5 %18 = add nsw i32 %13, -1 store i32 %18, ptr %4, align 4, !tbaa !5 br label %19 19: ; preds = %14, %7 %20 = phi i32 [ %17, %14 ], [ %11, %7 ] %21 = phi i32 [ %18, %14 ], [ %13, %7 ] %22 = call i64 @xlog_assign_grant_head_val(i32 noundef %21, i32 noundef %20) #3 %23 = call i64 @atomic64_cmpxchg(ptr noundef %1, i64 noundef %8, i64 noundef %22) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %24 = icmp eq i64 %23, %8 br i1 %24, label %25, label %7, !llvm.loop !12 25: ; preds = %19 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 i64 @atomic64_read(ptr noundef) local_unnamed_addr #2 declare i32 @xlog_crack_grant_head_val(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xlog_assign_grant_head_val(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atomic64_cmpxchg(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"log", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_log.c_xlog_grant_sub_space.c' source_filename = "AnghaBench/fastsocket/kernel/fs/xfs/extr_xfs_log.c_xlog_grant_sub_space.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 @xlog_grant_sub_space], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xlog_grant_sub_space(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = tail call i64 @atomic64_read(ptr noundef %1) #3 br label %7 7: ; preds = %19, %3 %8 = phi i64 [ %6, %3 ], [ %23, %19 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %9 = call i32 @xlog_crack_grant_head_val(i64 noundef %8, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %10 = load i32, ptr %5, align 4, !tbaa !6 %11 = sub nsw i32 %10, %2 store i32 %11, ptr %5, align 4, !tbaa !6 %12 = icmp slt i32 %11, 0 %13 = load i32, ptr %4, align 4, !tbaa !6 br i1 %12, label %14, label %19 14: ; preds = %7 %15 = load i64, ptr %0, align 8, !tbaa !10 %16 = trunc i64 %15 to i32 %17 = add i32 %11, %16 store i32 %17, ptr %5, align 4, !tbaa !6 %18 = add nsw i32 %13, -1 store i32 %18, ptr %4, align 4, !tbaa !6 br label %19 19: ; preds = %14, %7 %20 = phi i32 [ %17, %14 ], [ %11, %7 ] %21 = phi i32 [ %18, %14 ], [ %13, %7 ] %22 = call i64 @xlog_assign_grant_head_val(i32 noundef %21, i32 noundef %20) #3 %23 = call i64 @atomic64_cmpxchg(ptr noundef %1, i64 noundef %8, i64 noundef %22) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %24 = icmp eq i64 %23, %8 br i1 %24, label %25, label %7, !llvm.loop !13 25: ; preds = %19 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 i64 @atomic64_read(ptr noundef) local_unnamed_addr #2 declare i32 @xlog_crack_grant_head_val(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @xlog_assign_grant_head_val(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @atomic64_cmpxchg(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"log", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_fs_xfs_extr_xfs_log.c_xlog_grant_sub_space
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/p54/extr_p54usb.c_p54u_firmware_reset_3887.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/p54/extr_p54usb.c_p54u_firmware_reset_3887.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @p54u_romboot_3887 = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @P54U_PIPE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"(p54usb) unable to jump to boot ROM (%d)!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @p54u_firmware_reset_3887], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @p54u_firmware_reset_3887(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @p54u_romboot_3887, align 4, !tbaa !10 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %5 = tail call ptr @kmemdup(i32 noundef %3, i32 noundef 4, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %9 = sub nsw i32 0, %8 br label %18 10: ; preds = %1 %11 = load i32, ptr @P54U_PIPE_DATA, align 4, !tbaa !10 %12 = tail call i32 @p54u_bulk_msg(ptr noundef %2, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 4) #2 %13 = tail call i32 @kfree(ptr noundef nonnull %5) #2 %14 = icmp eq i32 %12, 0 br i1 %14, label %18, label %15 15: ; preds = %10 %16 = load ptr, ptr %2, align 8, !tbaa !12 %17 = tail call i32 @dev_err(ptr noundef %16, ptr noundef nonnull @.str, i32 noundef %12) #2 br label %18 18: ; preds = %10, %15, %7 %19 = phi i32 [ %9, %7 ], [ %12, %15 ], [ 0, %10 ] ret i32 %19 } declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @p54u_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ieee80211_hw", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"p54u_priv", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/p54/extr_p54usb.c_p54u_firmware_reset_3887.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/p54/extr_p54usb.c_p54u_firmware_reset_3887.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @p54u_romboot_3887 = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @P54U_PIPE_DATA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"(p54usb) unable to jump to boot ROM (%d)!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @p54u_firmware_reset_3887], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @p54u_firmware_reset_3887(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @p54u_romboot_3887, align 4, !tbaa !11 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %5 = tail call ptr @kmemdup(i32 noundef %3, i32 noundef 4, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %9 = sub nsw i32 0, %8 br label %18 10: ; preds = %1 %11 = load i32, ptr @P54U_PIPE_DATA, align 4, !tbaa !11 %12 = tail call i32 @p54u_bulk_msg(ptr noundef %2, i32 noundef %11, ptr noundef nonnull %5, i32 noundef 4) #2 %13 = tail call i32 @kfree(ptr noundef nonnull %5) #2 %14 = icmp eq i32 %12, 0 br i1 %14, label %18, label %15 15: ; preds = %10 %16 = load ptr, ptr %2, align 8, !tbaa !13 %17 = tail call i32 @dev_err(ptr noundef %16, ptr noundef nonnull @.str, i32 noundef %12) #2 br label %18 18: ; preds = %10, %15, %7 %19 = phi i32 [ %9, %7 ], [ %12, %15 ], [ 0, %10 ] ret i32 %19 } declare ptr @kmemdup(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @p54u_bulk_msg(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ieee80211_hw", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"p54u_priv", !8, i64 0}
fastsocket_kernel_drivers_net_wireless_p54_extr_p54usb.c_p54u_firmware_reset_3887
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_reset_nic.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_reset_nic.c" target datalayout = "e-m:e-p270:32:32-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.ipw_priv = type { i32, i32, i32, i32 } @.str = private unnamed_addr constant [4 x i8] c">>\0A\00", align 1 @STATUS_HCMD_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_SCANNING = dso_local local_unnamed_addr global i32 0, align 4 @STATUS_SCAN_ABORTING = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"<<\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipw_reset_nic], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ipw_reset_nic(ptr noundef %0) #0 { %2 = tail call i32 @IPW_DEBUG_TRACE(ptr noundef nonnull @.str) #2 %3 = tail call i32 @ipw_init_nic(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 1 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = load i32, ptr @STATUS_HCMD_ACTIVE, align 4, !tbaa !5 %7 = xor i32 %6, -1 %8 = load i32, ptr %0, align 4, !tbaa !9 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !9 %10 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 3 %11 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %10) #2 %12 = load i32, ptr @STATUS_SCANNING, align 4, !tbaa !5 %13 = load i32, ptr @STATUS_SCAN_ABORTING, align 4, !tbaa !5 %14 = or i32 %13, %12 %15 = xor i32 %14, -1 %16 = load i32, ptr %0, align 4, !tbaa !9 %17 = and i32 %16, %15 store i32 %17, ptr %0, align 4, !tbaa !9 %18 = getelementptr inbounds %struct.ipw_priv, ptr %0, i64 0, i32 2 %19 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %18) #2 %20 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %21 = tail call i32 @IPW_DEBUG_TRACE(ptr noundef nonnull @.str.1) #2 ret i32 %3 } declare i32 @IPW_DEBUG_TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @ipw_init_nic(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"ipw_priv", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_reset_nic.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2200.c_ipw_reset_nic.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">>\0A\00", align 1 @STATUS_HCMD_ACTIVE = common local_unnamed_addr global i32 0, align 4 @STATUS_SCANNING = common local_unnamed_addr global i32 0, align 4 @STATUS_SCAN_ABORTING = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"<<\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ipw_reset_nic], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ipw_reset_nic(ptr noundef %0) #0 { %2 = tail call i32 @IPW_DEBUG_TRACE(ptr noundef nonnull @.str) #2 %3 = tail call i32 @ipw_init_nic(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %4, i64 noundef undef) #2 %6 = load i32, ptr @STATUS_HCMD_ACTIVE, align 4, !tbaa !6 %7 = xor i32 %6, -1 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = and i32 %8, %7 store i32 %9, ptr %0, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 12 %11 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %10) #2 %12 = load i32, ptr @STATUS_SCANNING, align 4, !tbaa !6 %13 = load i32, ptr @STATUS_SCAN_ABORTING, align 4, !tbaa !6 %14 = or i32 %13, %12 %15 = xor i32 %14, -1 %16 = load i32, ptr %0, align 4, !tbaa !10 %17 = and i32 %16, %15 store i32 %17, ptr %0, align 4, !tbaa !10 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %18) #2 %20 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %4, i64 noundef undef) #2 %21 = tail call i32 @IPW_DEBUG_TRACE(ptr noundef nonnull @.str.1) #2 ret i32 %3 } declare i32 @IPW_DEBUG_TRACE(ptr noundef) local_unnamed_addr #1 declare i32 @ipw_init_nic(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"ipw_priv", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
linux_drivers_net_wireless_intel_ipw2x00_extr_ipw2200.c_ipw_reset_nic
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__align_wrap_data_clone.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__align_wrap_data_clone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr } @NPY_LOWLEVEL_BUFFER_BLOCKSIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_align_wrap_data_clone], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @_align_wrap_data_clone(ptr noundef %0) #0 { %2 = load i32, ptr @NPY_LOWLEVEL_BUFFER_BLOCKSIZE, align 4, !tbaa !5 %3 = load i32, ptr %0, align 8, !tbaa !9 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = add i32 %5, %3 %7 = mul i32 %6, %2 %8 = add i32 %7, 48 %9 = tail call i64 @PyArray_malloc(i32 noundef %8) #2 %10 = inttoptr i64 %9 to ptr %11 = icmp eq i64 %9, 0 br i1 %11, label %57, label %12 12: ; preds = %1 %13 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef nonnull %0, i32 noundef 48) #2 %14 = getelementptr inbounds i8, ptr %10, i64 48 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 2 store ptr %14, ptr %15, align 8, !tbaa !13 %16 = load i32, ptr @NPY_LOWLEVEL_BUFFER_BLOCKSIZE, align 4, !tbaa !5 %17 = load i32, ptr %10, align 8, !tbaa !9 %18 = mul nsw i32 %17, %16 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %14, i64 %19 %21 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 3 store ptr %20, ptr %21, align 8, !tbaa !14 %22 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 5 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = icmp eq ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %12 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5 %27 = load ptr, ptr %26, align 8, !tbaa !15 %28 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %27) #2 store ptr %28, ptr %22, align 8, !tbaa !15 %29 = icmp eq ptr %28, null br i1 %29, label %55, label %30 30: ; preds = %25, %12 %31 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 4 %32 = load ptr, ptr %31, align 8, !tbaa !16 %33 = icmp eq ptr %32, null br i1 %33, label %39, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %36 = load ptr, ptr %35, align 8, !tbaa !16 %37 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %36) #2 store ptr %37, ptr %31, align 8, !tbaa !16 %38 = icmp eq ptr %37, null br i1 %38, label %51, label %39 39: ; preds = %34, %30 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 6 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = icmp eq ptr %41, null br i1 %42, label %57, label %43 43: ; preds = %39 %44 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6 %45 = load ptr, ptr %44, align 8, !tbaa !17 %46 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %45) #2 store ptr %46, ptr %40, align 8, !tbaa !17 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %57 48: ; preds = %43 %49 = load ptr, ptr %22, align 8, !tbaa !15 %50 = tail call i32 @NPY_AUXDATA_FREE(ptr noundef %49) #2 br label %51 51: ; preds = %34, %48 %52 = phi ptr [ %31, %48 ], [ %22, %34 ] %53 = load ptr, ptr %52, align 8, !tbaa !18 %54 = tail call i32 @NPY_AUXDATA_FREE(ptr noundef %53) #2 br label %55 55: ; preds = %51, %25 %56 = tail call i32 @PyArray_free(ptr noundef nonnull %10) #2 br label %57 57: ; preds = %55, %39, %43, %1 %58 = phi ptr [ null, %1 ], [ %10, %43 ], [ %10, %39 ], [ null, %55 ] ret ptr %58 } declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @NPY_AUXDATA_CLONE(ptr noundef) local_unnamed_addr #1 declare i32 @PyArray_free(ptr noundef) local_unnamed_addr #1 declare i32 @NPY_AUXDATA_FREE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !6, i64 4} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 16} !15 = !{!10, !11, i64 32} !16 = !{!10, !11, i64 24} !17 = !{!10, !11, i64 40} !18 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__align_wrap_data_clone.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_dtype_transfer.c__align_wrap_data_clone.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NPY_LOWLEVEL_BUFFER_BLOCKSIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_align_wrap_data_clone], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @_align_wrap_data_clone(ptr noundef %0) #0 { %2 = load i32, ptr @NPY_LOWLEVEL_BUFFER_BLOCKSIZE, align 4, !tbaa !6 %3 = load i32, ptr %0, align 8, !tbaa !10 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = add i32 %5, %3 %7 = mul i32 %6, %2 %8 = add i32 %7, 48 %9 = tail call i64 @PyArray_malloc(i32 noundef %8) #2 %10 = inttoptr i64 %9 to ptr %11 = icmp eq i64 %9, 0 br i1 %11, label %57, label %12 12: ; preds = %1 %13 = tail call i32 @memcpy(ptr noundef nonnull %10, ptr noundef nonnull %0, i32 noundef 48) #2 %14 = getelementptr inbounds i8, ptr %10, i64 48 %15 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %14, ptr %15, align 8, !tbaa !14 %16 = load i32, ptr @NPY_LOWLEVEL_BUFFER_BLOCKSIZE, align 4, !tbaa !6 %17 = load i32, ptr %10, align 8, !tbaa !10 %18 = mul nsw i32 %17, %16 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %14, i64 %19 %21 = getelementptr inbounds i8, ptr %10, i64 16 store ptr %20, ptr %21, align 8, !tbaa !15 %22 = getelementptr inbounds i8, ptr %10, i64 32 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = icmp eq ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %12 %26 = getelementptr inbounds i8, ptr %0, i64 32 %27 = load ptr, ptr %26, align 8, !tbaa !16 %28 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %27) #2 store ptr %28, ptr %22, align 8, !tbaa !16 %29 = icmp eq ptr %28, null br i1 %29, label %55, label %30 30: ; preds = %25, %12 %31 = getelementptr inbounds i8, ptr %10, i64 24 %32 = load ptr, ptr %31, align 8, !tbaa !17 %33 = icmp eq ptr %32, null br i1 %33, label %39, label %34 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %0, i64 24 %36 = load ptr, ptr %35, align 8, !tbaa !17 %37 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %36) #2 store ptr %37, ptr %31, align 8, !tbaa !17 %38 = icmp eq ptr %37, null br i1 %38, label %51, label %39 39: ; preds = %34, %30 %40 = getelementptr inbounds i8, ptr %10, i64 40 %41 = load ptr, ptr %40, align 8, !tbaa !18 %42 = icmp eq ptr %41, null br i1 %42, label %57, label %43 43: ; preds = %39 %44 = getelementptr inbounds i8, ptr %0, i64 40 %45 = load ptr, ptr %44, align 8, !tbaa !18 %46 = tail call ptr @NPY_AUXDATA_CLONE(ptr noundef %45) #2 store ptr %46, ptr %40, align 8, !tbaa !18 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %57 48: ; preds = %43 %49 = load ptr, ptr %22, align 8, !tbaa !16 %50 = tail call i32 @NPY_AUXDATA_FREE(ptr noundef %49) #2 br label %51 51: ; preds = %34, %48 %52 = phi ptr [ %31, %48 ], [ %22, %34 ] %53 = load ptr, ptr %52, align 8, !tbaa !19 %54 = tail call i32 @NPY_AUXDATA_FREE(ptr noundef %53) #2 br label %55 55: ; preds = %51, %25 %56 = tail call i32 @PyArray_free(ptr noundef nonnull %10) #2 br label %57 57: ; preds = %55, %39, %43, %1 %58 = phi ptr [ null, %1 ], [ %10, %43 ], [ %10, %39 ], [ null, %55 ] ret ptr %58 } declare i64 @PyArray_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @NPY_AUXDATA_CLONE(ptr noundef) local_unnamed_addr #1 declare i32 @PyArray_free(ptr noundef) local_unnamed_addr #1 declare i32 @NPY_AUXDATA_FREE(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !7, i64 4} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 16} !16 = !{!11, !12, i64 32} !17 = !{!11, !12, i64 24} !18 = !{!11, !12, i64 40} !19 = !{!12, !12, i64 0}
numpy_numpy_core_src_multiarray_extr_dtype_transfer.c__align_wrap_data_clone
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_mocs.c_mocs_register.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_mocs.c_mocs_register.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INVALID_MMIO_REG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mocs_register], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mocs_register(i32 noundef %0, i32 noundef %1) #0 { switch i32 %0, label %15 [ i32 132, label %3 i32 131, label %5 i32 133, label %7 i32 128, label %9 i32 130, label %11 i32 129, label %13 ] 3: ; preds = %2 %4 = tail call i32 @GEN9_GFX_MOCS(i32 noundef %1) #2 br label %18 5: ; preds = %2 %6 = tail call i32 @GEN9_MFX0_MOCS(i32 noundef %1) #2 br label %18 7: ; preds = %2 %8 = tail call i32 @GEN9_BLT_MOCS(i32 noundef %1) #2 br label %18 9: ; preds = %2 %10 = tail call i32 @GEN9_VEBOX_MOCS(i32 noundef %1) #2 br label %18 11: ; preds = %2 %12 = tail call i32 @GEN9_MFX1_MOCS(i32 noundef %1) #2 br label %18 13: ; preds = %2 %14 = tail call i32 @GEN11_MFX2_MOCS(i32 noundef %1) #2 br label %18 15: ; preds = %2 %16 = tail call i32 @MISSING_CASE(i32 noundef %0) #2 %17 = load i32, ptr @INVALID_MMIO_REG, align 4, !tbaa !5 br label %18 18: ; preds = %15, %13, %11, %9, %7, %5, %3 %19 = phi i32 [ %17, %15 ], [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ], [ %4, %3 ] ret i32 %19 } declare i32 @GEN9_GFX_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_MFX0_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_BLT_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_VEBOX_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_MFX1_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN11_MFX2_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @MISSING_CASE(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/gpu/drm/i915/gt/extr_intel_mocs.c_mocs_register.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_mocs.c_mocs_register.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INVALID_MMIO_REG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mocs_register], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mocs_register(i32 noundef %0, i32 noundef %1) #0 { switch i32 %0, label %15 [ i32 132, label %3 i32 131, label %5 i32 133, label %7 i32 128, label %9 i32 130, label %11 i32 129, label %13 ] 3: ; preds = %2 %4 = tail call i32 @GEN9_GFX_MOCS(i32 noundef %1) #2 br label %18 5: ; preds = %2 %6 = tail call i32 @GEN9_MFX0_MOCS(i32 noundef %1) #2 br label %18 7: ; preds = %2 %8 = tail call i32 @GEN9_BLT_MOCS(i32 noundef %1) #2 br label %18 9: ; preds = %2 %10 = tail call i32 @GEN9_VEBOX_MOCS(i32 noundef %1) #2 br label %18 11: ; preds = %2 %12 = tail call i32 @GEN9_MFX1_MOCS(i32 noundef %1) #2 br label %18 13: ; preds = %2 %14 = tail call i32 @GEN11_MFX2_MOCS(i32 noundef %1) #2 br label %18 15: ; preds = %2 %16 = tail call i32 @MISSING_CASE(i32 noundef %0) #2 %17 = load i32, ptr @INVALID_MMIO_REG, align 4, !tbaa !6 br label %18 18: ; preds = %15, %13, %11, %9, %7, %5, %3 %19 = phi i32 [ %17, %15 ], [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ], [ %4, %3 ] ret i32 %19 } declare i32 @GEN9_GFX_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_MFX0_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_BLT_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_VEBOX_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN9_MFX1_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @GEN11_MFX2_MOCS(i32 noundef) local_unnamed_addr #1 declare i32 @MISSING_CASE(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_gpu_drm_i915_gt_extr_intel_mocs.c_mocs_register
; ModuleID = 'AnghaBench/freebsd/sys/x86/xen/extr_xen_intr.c_xen_intr_pirq_disable_intr.c' source_filename = "AnghaBench/freebsd/sys/x86/xen/extr_xen_intr.c_xen_intr_pirq_disable_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.evtchn_close = type { i64 } %struct.xenisrc = type { i64, i32 } @EVTCHNOP_close = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"unable to close event channel %d IRQ#%d\00", align 1 @xen_intr_isrc_lock = dso_local global i32 0, align 4 @xen_intr_port_to_isrc = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @xen_intr_pirq_disable_intr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xen_intr_pirq_disable_intr(ptr nocapture noundef %0) #0 { %2 = alloca %struct.evtchn_close, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @evtchn_mask_port(i64 noundef %3) #3 %5 = load i64, ptr %0, align 8, !tbaa !5 store i64 %5, ptr %2, align 8, !tbaa !11 %6 = load i32, ptr @EVTCHNOP_close, align 4, !tbaa !13 %7 = call i32 @HYPERVISOR_event_channel_op(i32 noundef %6, ptr noundef nonnull %2) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %1 %10 = load i64, ptr %0, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.xenisrc, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = call i32 @panic(ptr noundef nonnull @.str, i64 noundef %10, i32 noundef %12) #3 br label %14 14: ; preds = %9, %1 %15 = call i32 @mtx_lock(ptr noundef nonnull @xen_intr_isrc_lock) #3 %16 = load ptr, ptr @xen_intr_port_to_isrc, align 8, !tbaa !15 %17 = load i64, ptr %0, align 8, !tbaa !5 %18 = getelementptr inbounds ptr, ptr %16, i64 %17 store ptr null, ptr %18, align 8, !tbaa !15 %19 = call i32 @mtx_unlock(ptr noundef nonnull @xen_intr_isrc_lock) #3 store i64 0, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @evtchn_mask_port(i64 noundef) local_unnamed_addr #2 declare i32 @HYPERVISOR_event_channel_op(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_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, !7, i64 0} !6 = !{!"xenisrc", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"evtchn_close", !7, i64 0} !13 = !{!10, !10, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/x86/xen/extr_xen_intr.c_xen_intr_pirq_disable_intr.c' source_filename = "AnghaBench/freebsd/sys/x86/xen/extr_xen_intr.c_xen_intr_pirq_disable_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.evtchn_close = type { i64 } @EVTCHNOP_close = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"unable to close event channel %d IRQ#%d\00", align 1 @xen_intr_isrc_lock = common global i32 0, align 4 @xen_intr_port_to_isrc = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @xen_intr_pirq_disable_intr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xen_intr_pirq_disable_intr(ptr nocapture noundef %0) #0 { %2 = alloca %struct.evtchn_close, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @evtchn_mask_port(i64 noundef %3) #3 %5 = load i64, ptr %0, align 8, !tbaa !6 store i64 %5, ptr %2, align 8, !tbaa !12 %6 = load i32, ptr @EVTCHNOP_close, align 4, !tbaa !14 %7 = call i32 @HYPERVISOR_event_channel_op(i32 noundef %6, ptr noundef nonnull %2) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %14, label %9 9: ; preds = %1 %10 = load i64, ptr %0, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !15 %13 = call i32 @panic(ptr noundef nonnull @.str, i64 noundef %10, i32 noundef %12) #3 br label %14 14: ; preds = %9, %1 %15 = call i32 @mtx_lock(ptr noundef nonnull @xen_intr_isrc_lock) #3 %16 = load ptr, ptr @xen_intr_port_to_isrc, align 8, !tbaa !16 %17 = load i64, ptr %0, align 8, !tbaa !6 %18 = getelementptr inbounds ptr, ptr %16, i64 %17 store ptr null, ptr %18, align 8, !tbaa !16 %19 = call i32 @mtx_unlock(ptr noundef nonnull @xen_intr_isrc_lock) #3 store i64 0, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @evtchn_mask_port(i64 noundef) local_unnamed_addr #2 declare i32 @HYPERVISOR_event_channel_op(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @panic(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2 declare i32 @mtx_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, !8, i64 0} !7 = !{!"xenisrc", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"evtchn_close", !8, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0}
freebsd_sys_x86_xen_extr_xen_intr.c_xen_intr_pirq_disable_intr
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/mt8173/extr_mt8173-afe-pcm.c_mt8173_afe_hdmi_prepare.c' source_filename = "AnghaBench/linux/sound/soc/mediatek/mt8173/extr_mt8173-afe-pcm.c_mt8173_afe_hdmi_prepare.c" target datalayout = "e-m:e-p270:32:32-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.mtk_base_afe = type { i32, ptr } %struct.snd_pcm_runtime = type { i32, i32 } @MT8173_CLK_I2S3_M = dso_local local_unnamed_addr global i64 0, align 8 @MT8173_CLK_I2S3_B = dso_local local_unnamed_addr global i64 0, align 8 @AFE_TDM_CON1_BCK_INV = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_LRCK_INV = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_1_BCK_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_MSB_ALIGNED = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_WLEN_32BIT = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_32_BCK_CYCLES = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_EN = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O30_O31 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O32_O33 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O34_O35 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O36_O37 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON2 = dso_local local_unnamed_addr global i32 0, align 4 @AFE_HDMI_OUT_CON0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt8173_afe_hdmi_prepare], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mt8173_afe_hdmi_prepare(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call ptr @snd_soc_dai_get_drvdata(ptr noundef %1) #2 %5 = getelementptr inbounds %struct.mtk_base_afe, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = load i64, ptr @MT8173_CLK_I2S3_M, align 8, !tbaa !15 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = load i32, ptr %3, align 4, !tbaa !18 %12 = shl nsw i32 %11, 7 %13 = load i64, ptr @MT8173_CLK_I2S3_B, align 8, !tbaa !15 %14 = getelementptr inbounds i32, ptr %7, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !17 %16 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %3, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !20 %18 = shl i32 %11, 5 %19 = mul i32 %18, %17 %20 = tail call i32 @mt8173_afe_dais_set_clks(ptr noundef %4, i32 noundef %10, i32 noundef %12, i32 noundef %15, i32 noundef %19) #2 %21 = load i32, ptr @AFE_TDM_CON1_BCK_INV, align 4, !tbaa !17 %22 = load i32, ptr @AFE_TDM_CON1_LRCK_INV, align 4, !tbaa !17 %23 = or i32 %22, %21 %24 = load i32, ptr @AFE_TDM_CON1_1_BCK_DELAY, align 4, !tbaa !17 %25 = or i32 %23, %24 %26 = load i32, ptr @AFE_TDM_CON1_MSB_ALIGNED, align 4, !tbaa !17 %27 = or i32 %25, %26 %28 = load i32, ptr @AFE_TDM_CON1_WLEN_32BIT, align 4, !tbaa !17 %29 = or i32 %27, %28 %30 = load i32, ptr @AFE_TDM_CON1_32_BCK_CYCLES, align 4, !tbaa !17 %31 = or i32 %29, %30 %32 = tail call i32 @AFE_TDM_CON1_LRCK_WIDTH(i32 noundef 32) #2 %33 = or i32 %31, %32 %34 = load i32, ptr %4, align 8, !tbaa !21 %35 = load i32, ptr @AFE_TDM_CON1, align 4, !tbaa !17 %36 = load i32, ptr @AFE_TDM_CON1_EN, align 4, !tbaa !17 %37 = xor i32 %36, -1 %38 = tail call i32 @regmap_update_bits(i32 noundef %34, i32 noundef %35, i32 noundef %37, i32 noundef %33) #2 %39 = load i32, ptr %16, align 4, !tbaa !20 switch i32 %39, label %81 [ i32 1, label %40 i32 2, label %40 i32 3, label %49 i32 4, label %49 i32 5, label %59 i32 6, label %59 i32 7, label %70 i32 8, label %70 ] 40: ; preds = %2, %2 %41 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !17 %42 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !17 %43 = shl i32 %42, 4 %44 = or i32 %43, %41 %45 = shl i32 %42, 8 %46 = or i32 %44, %45 %47 = shl i32 %42, 12 %48 = or i32 %46, %47 br label %81 49: ; preds = %2, %2 %50 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !17 %51 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !17 %52 = shl i32 %51, 4 %53 = or i32 %52, %50 %54 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !17 %55 = shl i32 %54, 8 %56 = or i32 %53, %55 %57 = shl i32 %54, 12 %58 = or i32 %56, %57 br label %81 59: ; preds = %2, %2 %60 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !17 %61 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !17 %62 = shl i32 %61, 4 %63 = or i32 %62, %60 %64 = load i32, ptr @AFE_TDM_CH_START_O34_O35, align 4, !tbaa !17 %65 = shl i32 %64, 8 %66 = or i32 %63, %65 %67 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !17 %68 = shl i32 %67, 12 %69 = or i32 %66, %68 br label %81 70: ; preds = %2, %2 %71 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !17 %72 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !17 %73 = shl i32 %72, 4 %74 = or i32 %73, %71 %75 = load i32, ptr @AFE_TDM_CH_START_O34_O35, align 4, !tbaa !17 %76 = shl i32 %75, 8 %77 = or i32 %74, %76 %78 = load i32, ptr @AFE_TDM_CH_START_O36_O37, align 4, !tbaa !17 %79 = shl i32 %78, 12 %80 = or i32 %77, %79 br label %81 81: ; preds = %2, %70, %59, %49, %40 %82 = phi i32 [ %80, %70 ], [ %69, %59 ], [ %58, %49 ], [ %48, %40 ], [ 0, %2 ] %83 = load i32, ptr %4, align 8, !tbaa !21 %84 = load i32, ptr @AFE_TDM_CON2, align 4, !tbaa !17 %85 = tail call i32 @regmap_update_bits(i32 noundef %83, i32 noundef %84, i32 noundef 65535, i32 noundef %82) #2 %86 = load i32, ptr %4, align 8, !tbaa !21 %87 = load i32, ptr @AFE_HDMI_OUT_CON0, align 4, !tbaa !17 %88 = load i32, ptr %16, align 4, !tbaa !20 %89 = shl i32 %88, 4 %90 = tail call i32 @regmap_update_bits(i32 noundef %86, i32 noundef %87, i32 noundef 240, i32 noundef %89) #2 ret i32 0 } declare ptr @snd_soc_dai_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @mt8173_afe_dais_set_clks(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AFE_TDM_CON1_LRCK_WIDTH(i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_pcm_substream", !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 = !{!"mtk_base_afe", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"mt8173_afe_private", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!12, !12, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"snd_pcm_runtime", !12, i64 0, !12, i64 4} !20 = !{!19, !12, i64 4} !21 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/mediatek/mt8173/extr_mt8173-afe-pcm.c_mt8173_afe_hdmi_prepare.c' source_filename = "AnghaBench/linux/sound/soc/mediatek/mt8173/extr_mt8173-afe-pcm.c_mt8173_afe_hdmi_prepare.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT8173_CLK_I2S3_M = common local_unnamed_addr global i64 0, align 8 @MT8173_CLK_I2S3_B = common local_unnamed_addr global i64 0, align 8 @AFE_TDM_CON1_BCK_INV = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_LRCK_INV = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_1_BCK_DELAY = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_MSB_ALIGNED = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_WLEN_32BIT = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_32_BCK_CYCLES = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1 = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON1_EN = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O30_O31 = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_ZERO = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O32_O33 = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O34_O35 = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CH_START_O36_O37 = common local_unnamed_addr global i32 0, align 4 @AFE_TDM_CON2 = common local_unnamed_addr global i32 0, align 4 @AFE_HDMI_OUT_CON0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt8173_afe_hdmi_prepare], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mt8173_afe_hdmi_prepare(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call ptr @snd_soc_dai_get_drvdata(ptr noundef %1) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = load i64, ptr @MT8173_CLK_I2S3_M, align 8, !tbaa !16 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !18 %11 = load i32, ptr %3, align 4, !tbaa !19 %12 = shl nsw i32 %11, 7 %13 = load i64, ptr @MT8173_CLK_I2S3_B, align 8, !tbaa !16 %14 = getelementptr inbounds i32, ptr %7, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !18 %16 = getelementptr inbounds i8, ptr %3, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !21 %18 = shl i32 %11, 5 %19 = mul i32 %18, %17 %20 = tail call i32 @mt8173_afe_dais_set_clks(ptr noundef %4, i32 noundef %10, i32 noundef %12, i32 noundef %15, i32 noundef %19) #2 %21 = load i32, ptr @AFE_TDM_CON1_BCK_INV, align 4, !tbaa !18 %22 = load i32, ptr @AFE_TDM_CON1_LRCK_INV, align 4, !tbaa !18 %23 = or i32 %22, %21 %24 = load i32, ptr @AFE_TDM_CON1_1_BCK_DELAY, align 4, !tbaa !18 %25 = or i32 %23, %24 %26 = load i32, ptr @AFE_TDM_CON1_MSB_ALIGNED, align 4, !tbaa !18 %27 = or i32 %25, %26 %28 = load i32, ptr @AFE_TDM_CON1_WLEN_32BIT, align 4, !tbaa !18 %29 = or i32 %27, %28 %30 = load i32, ptr @AFE_TDM_CON1_32_BCK_CYCLES, align 4, !tbaa !18 %31 = or i32 %29, %30 %32 = tail call i32 @AFE_TDM_CON1_LRCK_WIDTH(i32 noundef 32) #2 %33 = or i32 %31, %32 %34 = load i32, ptr %4, align 8, !tbaa !22 %35 = load i32, ptr @AFE_TDM_CON1, align 4, !tbaa !18 %36 = load i32, ptr @AFE_TDM_CON1_EN, align 4, !tbaa !18 %37 = xor i32 %36, -1 %38 = tail call i32 @regmap_update_bits(i32 noundef %34, i32 noundef %35, i32 noundef %37, i32 noundef %33) #2 %39 = load i32, ptr %16, align 4, !tbaa !21 switch i32 %39, label %81 [ i32 1, label %40 i32 2, label %40 i32 3, label %49 i32 4, label %49 i32 5, label %59 i32 6, label %59 i32 7, label %70 i32 8, label %70 ] 40: ; preds = %2, %2 %41 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !18 %42 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !18 %43 = shl i32 %42, 4 %44 = or i32 %43, %41 %45 = shl i32 %42, 8 %46 = or i32 %44, %45 %47 = shl i32 %42, 12 %48 = or i32 %46, %47 br label %81 49: ; preds = %2, %2 %50 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !18 %51 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !18 %52 = shl i32 %51, 4 %53 = or i32 %52, %50 %54 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !18 %55 = shl i32 %54, 8 %56 = or i32 %53, %55 %57 = shl i32 %54, 12 %58 = or i32 %56, %57 br label %81 59: ; preds = %2, %2 %60 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !18 %61 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !18 %62 = shl i32 %61, 4 %63 = or i32 %62, %60 %64 = load i32, ptr @AFE_TDM_CH_START_O34_O35, align 4, !tbaa !18 %65 = shl i32 %64, 8 %66 = or i32 %63, %65 %67 = load i32, ptr @AFE_TDM_CH_ZERO, align 4, !tbaa !18 %68 = shl i32 %67, 12 %69 = or i32 %66, %68 br label %81 70: ; preds = %2, %2 %71 = load i32, ptr @AFE_TDM_CH_START_O30_O31, align 4, !tbaa !18 %72 = load i32, ptr @AFE_TDM_CH_START_O32_O33, align 4, !tbaa !18 %73 = shl i32 %72, 4 %74 = or i32 %73, %71 %75 = load i32, ptr @AFE_TDM_CH_START_O34_O35, align 4, !tbaa !18 %76 = shl i32 %75, 8 %77 = or i32 %74, %76 %78 = load i32, ptr @AFE_TDM_CH_START_O36_O37, align 4, !tbaa !18 %79 = shl i32 %78, 12 %80 = or i32 %77, %79 br label %81 81: ; preds = %2, %70, %59, %49, %40 %82 = phi i32 [ %80, %70 ], [ %69, %59 ], [ %58, %49 ], [ %48, %40 ], [ 0, %2 ] %83 = load i32, ptr %4, align 8, !tbaa !22 %84 = load i32, ptr @AFE_TDM_CON2, align 4, !tbaa !18 %85 = tail call i32 @regmap_update_bits(i32 noundef %83, i32 noundef %84, i32 noundef 65535, i32 noundef %82) #2 %86 = load i32, ptr %4, align 8, !tbaa !22 %87 = load i32, ptr @AFE_HDMI_OUT_CON0, align 4, !tbaa !18 %88 = load i32, ptr %16, align 4, !tbaa !21 %89 = shl i32 %88, 4 %90 = tail call i32 @regmap_update_bits(i32 noundef %86, i32 noundef %87, i32 noundef 240, i32 noundef %89) #2 ret i32 0 } declare ptr @snd_soc_dai_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @mt8173_afe_dais_set_clks(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @AFE_TDM_CON1_LRCK_WIDTH(i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_pcm_substream", !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 = !{!"mtk_base_afe", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"mt8173_afe_private", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!20, !13, i64 0} !20 = !{!"snd_pcm_runtime", !13, i64 0, !13, i64 4} !21 = !{!20, !13, i64 4} !22 = !{!12, !13, i64 0}
linux_sound_soc_mediatek_mt8173_extr_mt8173-afe-pcm.c_mt8173_afe_hdmi_prepare
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_swap.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_swap.c" target datalayout = "e-m:e-p270:32:32-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 @swap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @swap(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @stackRoll(i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @stackRoll(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_swap.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_swap.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 @swap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @swap(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @stackRoll(i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @stackRoll(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_stand_ficl_extr_words.c_swap
; ModuleID = 'AnghaBench/linux/lib/extr_parser.c_match_u64.c' source_filename = "AnghaBench/linux/lib/extr_parser.c_match_u64.c" target datalayout = "e-m:e-p270:32:32-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 @match_u64(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @match_u64int(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 ret i32 %3 } declare i32 @match_u64int(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/lib/extr_parser.c_match_u64.c' source_filename = "AnghaBench/linux/lib/extr_parser.c_match_u64.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 @match_u64(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @match_u64int(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 ret i32 %3 } declare i32 @match_u64int(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_lib_extr_parser.c_match_u64
; ModuleID = 'AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_run.c' source_filename = "AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_run.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @q6asm_run(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @__q6asm_run(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 1) #2 ret i32 %5 } declare i32 @__q6asm_run(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_run.c' source_filename = "AnghaBench/linux/sound/soc/qcom/qdsp6/extr_q6asm.c_q6asm_run.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 @q6asm_run(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @__q6asm_run(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef 1) #2 ret i32 %5 } declare i32 @__q6asm_run(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_soc_qcom_qdsp6_extr_q6asm.c_q6asm_run
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.glob.c_globone.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.glob.c_globone.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @STRnoglob = dso_local local_unnamed_addr global i32 0, align 4 @G_NONE = dso_local local_unnamed_addr global i32 0, align 4 @G_CSH = dso_local local_unnamed_addr global i32 0, align 4 @G_GLOB = dso_local local_unnamed_addr global i32 0, align 4 @blk_cleanup = dso_local local_unnamed_addr global i32 0, align 4 @ERR_NAME = dso_local local_unnamed_addr global i32 0, align 4 @ERR_NOMATCH = dso_local local_unnamed_addr global i32 0, align 4 @STRNULL = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @globone(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [2 x ptr], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = load i32, ptr @STRnoglob, align 4, !tbaa !5 %5 = tail call i64 @adrof(i32 noundef %4) #3 %6 = icmp ne i64 %5, 0 %7 = zext i1 %6 to i32 store ptr %0, ptr %3, align 16, !tbaa !9 %8 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 1 store ptr null, ptr %8, align 8, !tbaa !9 %9 = call i32 @tglob(ptr noundef nonnull %3) #3 %10 = load i32, ptr @G_NONE, align 4, !tbaa !5 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call ptr @Strsave(ptr noundef %0) #3 %14 = call ptr @strip(ptr noundef %13) #3 br label %78 15: ; preds = %2 %16 = load i32, ptr @G_CSH, align 4, !tbaa !5 %17 = and i32 %16, %9 %18 = icmp eq i32 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %15 %20 = call ptr @globexpand(ptr noundef nonnull %3, i32 noundef %7) #3 br i1 %6, label %57, label %21 21: ; preds = %19 %22 = load i32, ptr @G_GLOB, align 4, !tbaa !5 %23 = and i32 %22, %9 %24 = icmp eq i32 %23, 0 br i1 %24, label %57, label %25 25: ; preds = %21 %26 = load i32, ptr @blk_cleanup, align 4, !tbaa !5 %27 = call i32 @cleanup_push(ptr noundef %20, i32 noundef %26) #3 br label %36 28: ; preds = %15 br i1 %6, label %33, label %29 29: ; preds = %28 %30 = load i32, ptr @G_GLOB, align 4, !tbaa !5 %31 = and i32 %30, %9 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29, %28 %34 = call ptr @Strsave(ptr noundef %0) #3 %35 = call ptr @strip(ptr noundef %34) #3 br label %78 36: ; preds = %29, %25 %37 = phi ptr [ %20, %25 ], [ %3, %29 ] %38 = call ptr @libglob(ptr noundef %37) #3 %39 = load i32, ptr @G_CSH, align 4, !tbaa !5 %40 = and i32 %39, %9 %41 = icmp eq i32 %40, 0 br i1 %41, label %48, label %42 42: ; preds = %36 %43 = icmp eq ptr %38, %37 br i1 %43, label %46, label %44 44: ; preds = %42 %45 = call i32 @cleanup_until(ptr noundef %37) #3 br label %48 46: ; preds = %42 %47 = call i32 @cleanup_ignore(ptr noundef %37) #3 br label %48 48: ; preds = %44, %46, %36 %49 = icmp eq ptr %38, null br i1 %49, label %50, label %59 50: ; preds = %48 %51 = call i32 @short2str(ptr noundef %0) #3 %52 = call i32 @setname(i32 noundef %51) #3 %53 = load i32, ptr @ERR_NAME, align 4, !tbaa !5 %54 = load i32, ptr @ERR_NOMATCH, align 4, !tbaa !5 %55 = or i32 %54, %53 %56 = call i32 @stderror(i32 noundef %55) #3 br label %73 57: ; preds = %19, %21 %58 = icmp eq ptr %20, null br i1 %58, label %73, label %59 59: ; preds = %48, %57 %60 = phi ptr [ %20, %57 ], [ %38, %48 ] %61 = load ptr, ptr %60, align 8, !tbaa !9 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %67 63: ; preds = %59 %64 = call i32 @xfree(ptr noundef nonnull %60) #3 %65 = load ptr, ptr @STRNULL, align 8, !tbaa !9 %66 = call ptr @Strsave(ptr noundef %65) #3 br label %78 67: ; preds = %59 %68 = getelementptr inbounds ptr, ptr %60, i64 1 %69 = load ptr, ptr %68, align 8, !tbaa !9 %70 = icmp eq ptr %69, null br i1 %70, label %73, label %71 71: ; preds = %67 %72 = call ptr @handleone(ptr noundef %0, ptr noundef nonnull %60, i32 noundef %1) #3 br label %78 73: ; preds = %50, %57, %67 %74 = phi ptr [ null, %50 ], [ null, %57 ], [ %60, %67 ] %75 = load ptr, ptr %74, align 8, !tbaa !9 %76 = call ptr @strip(ptr noundef %75) #3 %77 = call i32 @xfree(ptr noundef nonnull %74) #3 br label %78 78: ; preds = %73, %71, %63, %33, %12 %79 = phi ptr [ %14, %12 ], [ %66, %63 ], [ %72, %71 ], [ %76, %73 ], [ %35, %33 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @adrof(i32 noundef) local_unnamed_addr #2 declare i32 @tglob(ptr noundef) local_unnamed_addr #2 declare ptr @strip(ptr noundef) local_unnamed_addr #2 declare ptr @Strsave(ptr noundef) local_unnamed_addr #2 declare ptr @globexpand(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cleanup_push(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @libglob(ptr noundef) local_unnamed_addr #2 declare i32 @cleanup_until(ptr noundef) local_unnamed_addr #2 declare i32 @cleanup_ignore(ptr noundef) local_unnamed_addr #2 declare i32 @setname(i32 noundef) local_unnamed_addr #2 declare i32 @short2str(ptr noundef) local_unnamed_addr #2 declare i32 @stderror(i32 noundef) local_unnamed_addr #2 declare i32 @xfree(ptr noundef) local_unnamed_addr #2 declare ptr @handleone(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_sh.glob.c_globone.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_sh.glob.c_globone.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STRnoglob = common local_unnamed_addr global i32 0, align 4 @G_NONE = common local_unnamed_addr global i32 0, align 4 @G_CSH = common local_unnamed_addr global i32 0, align 4 @G_GLOB = common local_unnamed_addr global i32 0, align 4 @blk_cleanup = common local_unnamed_addr global i32 0, align 4 @ERR_NAME = common local_unnamed_addr global i32 0, align 4 @ERR_NOMATCH = common local_unnamed_addr global i32 0, align 4 @STRNULL = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @globone(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca [2 x ptr], align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3 %4 = load i32, ptr @STRnoglob, align 4, !tbaa !6 %5 = tail call i64 @adrof(i32 noundef %4) #3 %6 = icmp ne i64 %5, 0 %7 = zext i1 %6 to i32 store ptr %0, ptr %3, align 8, !tbaa !10 %8 = getelementptr inbounds i8, ptr %3, i64 8 store ptr null, ptr %8, align 8, !tbaa !10 %9 = call i32 @tglob(ptr noundef nonnull %3) #3 %10 = load i32, ptr @G_NONE, align 4, !tbaa !6 %11 = icmp eq i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call ptr @Strsave(ptr noundef %0) #3 %14 = call ptr @strip(ptr noundef %13) #3 br label %78 15: ; preds = %2 %16 = load i32, ptr @G_CSH, align 4, !tbaa !6 %17 = and i32 %16, %9 %18 = icmp eq i32 %17, 0 br i1 %18, label %28, label %19 19: ; preds = %15 %20 = call ptr @globexpand(ptr noundef nonnull %3, i32 noundef %7) #3 br i1 %6, label %57, label %21 21: ; preds = %19 %22 = load i32, ptr @G_GLOB, align 4, !tbaa !6 %23 = and i32 %22, %9 %24 = icmp eq i32 %23, 0 br i1 %24, label %57, label %25 25: ; preds = %21 %26 = load i32, ptr @blk_cleanup, align 4, !tbaa !6 %27 = call i32 @cleanup_push(ptr noundef %20, i32 noundef %26) #3 br label %36 28: ; preds = %15 br i1 %6, label %33, label %29 29: ; preds = %28 %30 = load i32, ptr @G_GLOB, align 4, !tbaa !6 %31 = and i32 %30, %9 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29, %28 %34 = call ptr @Strsave(ptr noundef %0) #3 %35 = call ptr @strip(ptr noundef %34) #3 br label %78 36: ; preds = %29, %25 %37 = phi ptr [ %20, %25 ], [ %3, %29 ] %38 = call ptr @libglob(ptr noundef %37) #3 %39 = load i32, ptr @G_CSH, align 4, !tbaa !6 %40 = and i32 %39, %9 %41 = icmp eq i32 %40, 0 br i1 %41, label %48, label %42 42: ; preds = %36 %43 = icmp eq ptr %38, %37 br i1 %43, label %46, label %44 44: ; preds = %42 %45 = call i32 @cleanup_until(ptr noundef %37) #3 br label %48 46: ; preds = %42 %47 = call i32 @cleanup_ignore(ptr noundef %37) #3 br label %48 48: ; preds = %44, %46, %36 %49 = icmp eq ptr %38, null br i1 %49, label %50, label %59 50: ; preds = %48 %51 = call i32 @short2str(ptr noundef %0) #3 %52 = call i32 @setname(i32 noundef %51) #3 %53 = load i32, ptr @ERR_NAME, align 4, !tbaa !6 %54 = load i32, ptr @ERR_NOMATCH, align 4, !tbaa !6 %55 = or i32 %54, %53 %56 = call i32 @stderror(i32 noundef %55) #3 br label %73 57: ; preds = %19, %21 %58 = icmp eq ptr %20, null br i1 %58, label %73, label %59 59: ; preds = %48, %57 %60 = phi ptr [ %20, %57 ], [ %38, %48 ] %61 = load ptr, ptr %60, align 8, !tbaa !10 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %67 63: ; preds = %59 %64 = call i32 @xfree(ptr noundef nonnull %60) #3 %65 = load ptr, ptr @STRNULL, align 8, !tbaa !10 %66 = call ptr @Strsave(ptr noundef %65) #3 br label %78 67: ; preds = %59 %68 = getelementptr inbounds i8, ptr %60, i64 8 %69 = load ptr, ptr %68, align 8, !tbaa !10 %70 = icmp eq ptr %69, null br i1 %70, label %73, label %71 71: ; preds = %67 %72 = call ptr @handleone(ptr noundef %0, ptr noundef nonnull %60, i32 noundef %1) #3 br label %78 73: ; preds = %50, %57, %67 %74 = phi ptr [ null, %50 ], [ null, %57 ], [ %60, %67 ] %75 = load ptr, ptr %74, align 8, !tbaa !10 %76 = call ptr @strip(ptr noundef %75) #3 %77 = call i32 @xfree(ptr noundef nonnull %74) #3 br label %78 78: ; preds = %73, %71, %63, %33, %12 %79 = phi ptr [ %14, %12 ], [ %66, %63 ], [ %72, %71 ], [ %76, %73 ], [ %35, %33 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3 ret ptr %79 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @adrof(i32 noundef) local_unnamed_addr #2 declare i32 @tglob(ptr noundef) local_unnamed_addr #2 declare ptr @strip(ptr noundef) local_unnamed_addr #2 declare ptr @Strsave(ptr noundef) local_unnamed_addr #2 declare ptr @globexpand(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cleanup_push(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @libglob(ptr noundef) local_unnamed_addr #2 declare i32 @cleanup_until(ptr noundef) local_unnamed_addr #2 declare i32 @cleanup_ignore(ptr noundef) local_unnamed_addr #2 declare i32 @setname(i32 noundef) local_unnamed_addr #2 declare i32 @short2str(ptr noundef) local_unnamed_addr #2 declare i32 @stderror(i32 noundef) local_unnamed_addr #2 declare i32 @xfree(ptr noundef) local_unnamed_addr #2 declare ptr @handleone(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
freebsd_contrib_tcsh_extr_sh.glob.c_globone
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_msg.c_CDecodeMsg_DecodeContent.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_msg.c_CDecodeMsg_DecodeContent.c" target datalayout = "e-m:e-p270:32:32-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_13__ = type { i32, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32, i32 } %struct.TYPE_12__ = type { i32, i32 } @X509_ASN_ENCODING = dso_local local_unnamed_addr global i32 0, align 4 @PKCS_CONTENT_INFO = dso_local local_unnamed_addr global i32 0, align 4 @CRYPT_DECODE_ALLOC_FLAG = dso_local local_unnamed_addr global i32 0, align 4 @szOID_RSA_data = dso_local local_unnamed_addr global i32 0, align 4 @szOID_RSA_digestedData = dso_local local_unnamed_addr global i32 0, align 4 @szOID_RSA_envelopedData = dso_local local_unnamed_addr global i32 0, align 4 @szOID_RSA_signedData = dso_local local_unnamed_addr global i32 0, align 4 @CRYPT_E_INVALID_MSG_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @CDecodeMsg_DecodeContent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @CDecodeMsg_DecodeContent(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 switch i32 %2, label %22 [ i32 131, label %6 i32 129, label %10 i32 130, label %14 i32 128, label %18 ] 6: ; preds = %3 %7 = tail call i32 @CDecodeMsg_DecodeDataContent(ptr noundef %0, ptr noundef %1) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %87, label %9 9: ; preds = %6 store i32 131, ptr %0, align 4, !tbaa !5 br label %87 10: ; preds = %3 %11 = tail call i32 @CDecodeMsg_DecodeHashedContent(ptr noundef %0, ptr noundef %1) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %87, label %13 13: ; preds = %10 store i32 129, ptr %0, align 4, !tbaa !5 br label %87 14: ; preds = %3 %15 = tail call i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef %0, ptr noundef %1) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %87, label %17 17: ; preds = %14 store i32 130, ptr %0, align 4, !tbaa !5 br label %87 18: ; preds = %3 %19 = tail call i32 @CDecodeMsg_DecodeSignedContent(ptr noundef %0, ptr noundef %1) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %87, label %21 21: ; preds = %18 store i32 128, ptr %0, align 4, !tbaa !5 br label %87 22: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %23 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !11 %24 = load i32, ptr @PKCS_CONTENT_INFO, align 4, !tbaa !11 %25 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !12 %28 = load i32, ptr %25, align 4, !tbaa !13 %29 = load i32, ptr @CRYPT_DECODE_ALLOC_FLAG, align 4, !tbaa !11 %30 = call i32 @CryptDecodeObjectEx(i32 noundef %23, i32 noundef %24, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %85, label %32 32: ; preds = %22 %33 = load ptr, ptr %4, align 8, !tbaa !14 %34 = getelementptr inbounds %struct.TYPE_12__, ptr %33, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = load i32, ptr @szOID_RSA_data, align 4, !tbaa !11 %37 = call i32 @strcmp(i32 noundef %35, i32 noundef %36) #3 %38 = icmp eq i32 %37, 0 %39 = load ptr, ptr %4, align 8, !tbaa !14 br i1 %38, label %40, label %44 40: ; preds = %32 %41 = call i32 @CDecodeMsg_DecodeDataContent(ptr noundef nonnull %0, ptr noundef %39) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %81, label %43 43: ; preds = %40 store i32 131, ptr %0, align 4, !tbaa !5 br label %81 44: ; preds = %32 %45 = getelementptr inbounds %struct.TYPE_12__, ptr %39, i64 0, i32 1 %46 = load i32, ptr %45, align 4, !tbaa !16 %47 = load i32, ptr @szOID_RSA_digestedData, align 4, !tbaa !11 %48 = call i32 @strcmp(i32 noundef %46, i32 noundef %47) #3 %49 = icmp eq i32 %48, 0 %50 = load ptr, ptr %4, align 8, !tbaa !14 br i1 %49, label %51, label %55 51: ; preds = %44 %52 = call i32 @CDecodeMsg_DecodeHashedContent(ptr noundef nonnull %0, ptr noundef %50) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %81, label %54 54: ; preds = %51 store i32 129, ptr %0, align 4, !tbaa !5 br label %81 55: ; preds = %44 %56 = getelementptr inbounds %struct.TYPE_12__, ptr %50, i64 0, i32 1 %57 = load i32, ptr %56, align 4, !tbaa !16 %58 = load i32, ptr @szOID_RSA_envelopedData, align 4, !tbaa !11 %59 = call i32 @strcmp(i32 noundef %57, i32 noundef %58) #3 %60 = icmp eq i32 %59, 0 %61 = load ptr, ptr %4, align 8, !tbaa !14 br i1 %60, label %62, label %66 62: ; preds = %55 %63 = call i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef nonnull %0, ptr noundef %61) #3 %64 = icmp eq i32 %63, 0 br i1 %64, label %81, label %65 65: ; preds = %62 store i32 130, ptr %0, align 4, !tbaa !5 br label %81 66: ; preds = %55 %67 = getelementptr inbounds %struct.TYPE_12__, ptr %61, i64 0, i32 1 %68 = load i32, ptr %67, align 4, !tbaa !16 %69 = load i32, ptr @szOID_RSA_signedData, align 4, !tbaa !11 %70 = call i32 @strcmp(i32 noundef %68, i32 noundef %69) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %66 %73 = load ptr, ptr %4, align 8, !tbaa !14 %74 = call i32 @CDecodeMsg_DecodeSignedContent(ptr noundef nonnull %0, ptr noundef %73) #3 %75 = icmp eq i32 %74, 0 br i1 %75, label %81, label %76 76: ; preds = %72 store i32 128, ptr %0, align 4, !tbaa !5 br label %81 77: ; preds = %66 %78 = load i32, ptr @CRYPT_E_INVALID_MSG_TYPE, align 4, !tbaa !11 %79 = call i32 @SetLastError(i32 noundef %78) #3 %80 = load i32, ptr @FALSE, align 4, !tbaa !11 br label %81 81: ; preds = %76, %72, %65, %62, %54, %51, %43, %40, %77 %82 = phi i32 [ %80, %77 ], [ %41, %43 ], [ 0, %40 ], [ %52, %54 ], [ 0, %51 ], [ %63, %65 ], [ 0, %62 ], [ %74, %76 ], [ 0, %72 ] %83 = load ptr, ptr %4, align 8, !tbaa !14 %84 = call i32 @LocalFree(ptr noundef %83) #3 br label %85 85: ; preds = %81, %22 %86 = phi i32 [ %82, %81 ], [ 0, %22 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %87 87: ; preds = %18, %21, %14, %17, %10, %13, %6, %9, %85 %88 = phi i32 [ %86, %85 ], [ %19, %21 ], [ 0, %18 ], [ %15, %17 ], [ 0, %14 ], [ %11, %13 ], [ 0, %10 ], [ %7, %9 ], [ 0, %6 ] ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @CDecodeMsg_DecodeDataContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeHashedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeSignedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CryptDecodeObjectEx(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2 declare i32 @LocalFree(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_13__", !7, i64 0, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_11__", !7, i64 0, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !7, i64 4} !17 = !{!"TYPE_12__", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_msg.c_CDecodeMsg_DecodeContent.c' source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_msg.c_CDecodeMsg_DecodeContent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @X509_ASN_ENCODING = common local_unnamed_addr global i32 0, align 4 @PKCS_CONTENT_INFO = common local_unnamed_addr global i32 0, align 4 @CRYPT_DECODE_ALLOC_FLAG = common local_unnamed_addr global i32 0, align 4 @szOID_RSA_data = common local_unnamed_addr global i32 0, align 4 @szOID_RSA_digestedData = common local_unnamed_addr global i32 0, align 4 @szOID_RSA_envelopedData = common local_unnamed_addr global i32 0, align 4 @szOID_RSA_signedData = common local_unnamed_addr global i32 0, align 4 @CRYPT_E_INVALID_MSG_TYPE = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @CDecodeMsg_DecodeContent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @CDecodeMsg_DecodeContent(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 switch i32 %2, label %22 [ i32 131, label %6 i32 129, label %10 i32 130, label %14 i32 128, label %18 ] 6: ; preds = %3 %7 = tail call i32 @CDecodeMsg_DecodeDataContent(ptr noundef %0, ptr noundef %1) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %87, label %9 9: ; preds = %6 store i32 131, ptr %0, align 4, !tbaa !6 br label %87 10: ; preds = %3 %11 = tail call i32 @CDecodeMsg_DecodeHashedContent(ptr noundef %0, ptr noundef %1) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %87, label %13 13: ; preds = %10 store i32 129, ptr %0, align 4, !tbaa !6 br label %87 14: ; preds = %3 %15 = tail call i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef %0, ptr noundef %1) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %87, label %17 17: ; preds = %14 store i32 130, ptr %0, align 4, !tbaa !6 br label %87 18: ; preds = %3 %19 = tail call i32 @CDecodeMsg_DecodeSignedContent(ptr noundef %0, ptr noundef %1) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %87, label %21 21: ; preds = %18 store i32 128, ptr %0, align 4, !tbaa !6 br label %87 22: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %23 = load i32, ptr @X509_ASN_ENCODING, align 4, !tbaa !12 %24 = load i32, ptr @PKCS_CONTENT_INFO, align 4, !tbaa !12 %25 = getelementptr inbounds i8, ptr %0, i64 4 %26 = getelementptr inbounds i8, ptr %0, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = load i32, ptr %25, align 4, !tbaa !14 %29 = load i32, ptr @CRYPT_DECODE_ALLOC_FLAG, align 4, !tbaa !12 %30 = call i32 @CryptDecodeObjectEx(i32 noundef %23, i32 noundef %24, i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef null, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %85, label %32 32: ; preds = %22 %33 = load ptr, ptr %4, align 8, !tbaa !15 %34 = getelementptr inbounds i8, ptr %33, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = load i32, ptr @szOID_RSA_data, align 4, !tbaa !12 %37 = call i32 @strcmp(i32 noundef %35, i32 noundef %36) #3 %38 = icmp eq i32 %37, 0 %39 = load ptr, ptr %4, align 8, !tbaa !15 br i1 %38, label %40, label %44 40: ; preds = %32 %41 = call i32 @CDecodeMsg_DecodeDataContent(ptr noundef nonnull %0, ptr noundef %39) #3 %42 = icmp eq i32 %41, 0 br i1 %42, label %81, label %43 43: ; preds = %40 store i32 131, ptr %0, align 4, !tbaa !6 br label %81 44: ; preds = %32 %45 = getelementptr inbounds i8, ptr %39, i64 4 %46 = load i32, ptr %45, align 4, !tbaa !17 %47 = load i32, ptr @szOID_RSA_digestedData, align 4, !tbaa !12 %48 = call i32 @strcmp(i32 noundef %46, i32 noundef %47) #3 %49 = icmp eq i32 %48, 0 %50 = load ptr, ptr %4, align 8, !tbaa !15 br i1 %49, label %51, label %55 51: ; preds = %44 %52 = call i32 @CDecodeMsg_DecodeHashedContent(ptr noundef nonnull %0, ptr noundef %50) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %81, label %54 54: ; preds = %51 store i32 129, ptr %0, align 4, !tbaa !6 br label %81 55: ; preds = %44 %56 = getelementptr inbounds i8, ptr %50, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !17 %58 = load i32, ptr @szOID_RSA_envelopedData, align 4, !tbaa !12 %59 = call i32 @strcmp(i32 noundef %57, i32 noundef %58) #3 %60 = icmp eq i32 %59, 0 %61 = load ptr, ptr %4, align 8, !tbaa !15 br i1 %60, label %62, label %66 62: ; preds = %55 %63 = call i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef nonnull %0, ptr noundef %61) #3 %64 = icmp eq i32 %63, 0 br i1 %64, label %81, label %65 65: ; preds = %62 store i32 130, ptr %0, align 4, !tbaa !6 br label %81 66: ; preds = %55 %67 = getelementptr inbounds i8, ptr %61, i64 4 %68 = load i32, ptr %67, align 4, !tbaa !17 %69 = load i32, ptr @szOID_RSA_signedData, align 4, !tbaa !12 %70 = call i32 @strcmp(i32 noundef %68, i32 noundef %69) #3 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %66 %73 = load ptr, ptr %4, align 8, !tbaa !15 %74 = call i32 @CDecodeMsg_DecodeSignedContent(ptr noundef nonnull %0, ptr noundef %73) #3 %75 = icmp eq i32 %74, 0 br i1 %75, label %81, label %76 76: ; preds = %72 store i32 128, ptr %0, align 4, !tbaa !6 br label %81 77: ; preds = %66 %78 = load i32, ptr @CRYPT_E_INVALID_MSG_TYPE, align 4, !tbaa !12 %79 = call i32 @SetLastError(i32 noundef %78) #3 %80 = load i32, ptr @FALSE, align 4, !tbaa !12 br label %81 81: ; preds = %76, %72, %65, %62, %54, %51, %43, %40, %77 %82 = phi i32 [ %80, %77 ], [ %41, %43 ], [ 0, %40 ], [ %52, %54 ], [ 0, %51 ], [ %63, %65 ], [ 0, %62 ], [ %74, %76 ], [ 0, %72 ] %83 = load ptr, ptr %4, align 8, !tbaa !15 %84 = call i32 @LocalFree(ptr noundef %83) #3 br label %85 85: ; preds = %81, %22 %86 = phi i32 [ %82, %81 ], [ 0, %22 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 br label %87 87: ; preds = %18, %21, %14, %17, %10, %13, %6, %9, %85 %88 = phi i32 [ %86, %85 ], [ %19, %21 ], [ 0, %18 ], [ %15, %17 ], [ 0, %14 ], [ %11, %13 ], [ 0, %10 ], [ %7, %9 ], [ 0, %6 ] ret i32 %88 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @CDecodeMsg_DecodeDataContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeHashedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeEnvelopedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CDecodeMsg_DecodeSignedContent(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CryptDecodeObjectEx(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SetLastError(i32 noundef) local_unnamed_addr #2 declare i32 @LocalFree(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_13__", !8, i64 0, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_11__", !8, i64 0, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !9, i64 0} !17 = !{!18, !8, i64 4} !18 = !{!"TYPE_12__", !8, i64 0, !8, i64 4}
reactos_dll_win32_crypt32_extr_msg.c_CDecodeMsg_DecodeContent
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_node_relation.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_node_relation.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @svn_fs_node_unrelated = 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 @base_node_relation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @base_node_relation(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = load i64, ptr %1, align 8, !tbaa !5 %10 = load i64, ptr %3, align 8, !tbaa !5 %11 = icmp eq i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = load i32, ptr @svn_fs_node_unrelated, align 4, !tbaa !10 br label %22 14: ; preds = %6 %15 = call i32 @base_node_id(ptr noundef nonnull %7, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %5) #3 %16 = call i32 @SVN_ERR(i32 noundef %15) #3 %17 = call i32 @base_node_id(ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5) #3 %18 = call i32 @SVN_ERR(i32 noundef %17) #3 %19 = load ptr, ptr %7, align 8, !tbaa !12 %20 = load ptr, ptr %8, align 8, !tbaa !12 %21 = call i32 @svn_fs_base__id_compare(ptr noundef %19, ptr noundef %20) #3 br label %22 22: ; preds = %14, %12 %23 = phi i32 [ %13, %12 ], [ %21, %14 ] store i32 %23, ptr %0, align 4, !tbaa !10 %24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 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 i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @base_node_id(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_base__id_compare(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} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_node_relation.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_node_relation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @svn_fs_node_unrelated = 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 @base_node_relation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @base_node_relation(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %9 = load i64, ptr %1, align 8, !tbaa !6 %10 = load i64, ptr %3, align 8, !tbaa !6 %11 = icmp eq i64 %9, %10 br i1 %11, label %14, label %12 12: ; preds = %6 %13 = load i32, ptr @svn_fs_node_unrelated, align 4, !tbaa !11 br label %22 14: ; preds = %6 %15 = call i32 @base_node_id(ptr noundef nonnull %7, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %5) #3 %16 = call i32 @SVN_ERR(i32 noundef %15) #3 %17 = call i32 @base_node_id(ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5) #3 %18 = call i32 @SVN_ERR(i32 noundef %17) #3 %19 = load ptr, ptr %7, align 8, !tbaa !13 %20 = load ptr, ptr %8, align 8, !tbaa !13 %21 = call i32 @svn_fs_base__id_compare(ptr noundef %19, ptr noundef %20) #3 br label %22 22: ; preds = %14, %12 %23 = phi i32 [ %13, %12 ], [ %21, %14 ] store i32 %23, ptr %0, align 4, !tbaa !11 %24 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 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 i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @base_node_id(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_base__id_compare(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} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !9, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_base_extr_tree.c_base_node_relation
; ModuleID = 'AnghaBench/zfs/module/lua/extr_lstrlib.c_posrelat.c' source_filename = "AnghaBench/zfs/module/lua/extr_lstrlib.c_posrelat.c" target datalayout = "e-m:e-p270:32:32-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 @posrelat], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i64 @posrelat(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp sgt i64 %0, -1 br i1 %3, label %10, label %4 4: ; preds = %2 %5 = sub i64 0, %0 %6 = icmp ugt i64 %5, %1 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = add nsw i64 %0, 1 %9 = add i64 %8, %1 br label %10 10: ; preds = %4, %2, %7 %11 = phi i64 [ %9, %7 ], [ %0, %2 ], [ 0, %4 ] ret i64 %11 } 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/zfs/module/lua/extr_lstrlib.c_posrelat.c' source_filename = "AnghaBench/zfs/module/lua/extr_lstrlib.c_posrelat.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 @posrelat], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal i64 @posrelat(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp sgt i64 %0, -1 br i1 %3, label %10, label %4 4: ; preds = %2 %5 = sub i64 0, %0 %6 = icmp ugt i64 %5, %1 br i1 %6, label %10, label %7 7: ; preds = %4 %8 = add nsw i64 %0, 1 %9 = add i64 %8, %1 br label %10 10: ; preds = %4, %2, %7 %11 = phi i64 [ %9, %7 ], [ %0, %2 ], [ 0, %4 ] ret i64 %11 } 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)"}
zfs_module_lua_extr_lstrlib.c_posrelat
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_defs.h_wpa_key_mgmt_sae.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_defs.h_wpa_key_mgmt_sae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WPA_KEY_MGMT_SAE = dso_local local_unnamed_addr global i32 0, align 4 @WPA_KEY_MGMT_FT_SAE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wpa_key_mgmt_sae], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @wpa_key_mgmt_sae(i32 noundef %0) #0 { %2 = load i32, ptr @WPA_KEY_MGMT_SAE, align 4, !tbaa !5 %3 = load i32, ptr @WPA_KEY_MGMT_FT_SAE, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = and i32 %4, %0 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/common/extr_defs.h_wpa_key_mgmt_sae.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/common/extr_defs.h_wpa_key_mgmt_sae.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WPA_KEY_MGMT_SAE = common local_unnamed_addr global i32 0, align 4 @WPA_KEY_MGMT_FT_SAE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wpa_key_mgmt_sae], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @wpa_key_mgmt_sae(i32 noundef %0) #0 { %2 = load i32, ptr @WPA_KEY_MGMT_SAE, align 4, !tbaa !6 %3 = load i32, ptr @WPA_KEY_MGMT_FT_SAE, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = and i32 %4, %0 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i32 ret i32 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_common_extr_defs.h_wpa_key_mgmt_sae
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_console.c_switchbalance_parse.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_console.c_switchbalance_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, %struct.TYPE_10__ } %struct.TYPE_10__ = type { i32 } @.str = private unnamed_addr constant [8 x i8] c"verbose\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid guid specified\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"guid not found\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @switchbalance_parse], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @switchbalance_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call ptr @next_token(ptr noundef %0) #4 %6 = icmp eq ptr %5, null br i1 %6, label %36, label %7 7: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %8 = tail call i64 @strcmp(ptr noundef nonnull %5, ptr noundef nonnull @.str) #4 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call ptr @next_token(ptr noundef %0) #4 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %36 14: ; preds = %7, %10 %15 = phi ptr [ %11, %10 ], [ %5, %7 ] %16 = phi i32 [ 1, %10 ], [ 0, %7 ] %17 = call i64 @strtoull(ptr noundef nonnull %15, ptr noundef nonnull %4, i32 noundef 0) %18 = icmp eq i64 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %14 %20 = load ptr, ptr %4, align 8, !tbaa !5 %21 = load i8, ptr %20, align 1, !tbaa !9 %22 = icmp eq i8 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %14, %19 %24 = tail call i32 @fprintf(ptr noundef %2, ptr noundef nonnull @.str.1) #4 %25 = tail call i32 @help_switchbalance(ptr noundef %2, i32 noundef 1) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %55 26: ; preds = %19 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 %27 = tail call i32 @cl_plock_acquire(ptr noundef %1) #4 %28 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1 %29 = tail call i32 @cl_hton64(i64 noundef %17) #4 %30 = tail call ptr @osm_get_switch_by_guid(ptr noundef nonnull %28, i32 noundef %29) #4 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %26 %33 = tail call i32 @fprintf(ptr noundef %2, ptr noundef nonnull @.str.2) #4 br label %53 34: ; preds = %26 %35 = tail call i32 @switchbalance_check(ptr noundef %1, ptr noundef nonnull %30, ptr noundef %2, i32 noundef %16) #4 br label %53 36: ; preds = %3, %13 %37 = phi i32 [ 1, %13 ], [ 0, %3 ] %38 = tail call i32 @cl_plock_acquire(ptr noundef %1) #4 %39 = getelementptr inbounds %struct.TYPE_9__, ptr %1, i64 0, i32 1 %40 = tail call i64 @cl_qmap_head(ptr noundef nonnull %39) #4 %41 = inttoptr i64 %40 to ptr %42 = tail call i64 @cl_qmap_end(ptr noundef nonnull %39) #4 %43 = inttoptr i64 %42 to ptr %44 = icmp eq ptr %41, %43 br i1 %44, label %53, label %45 45: ; preds = %36, %45 %46 = phi ptr [ %49, %45 ], [ %41, %36 ] %47 = tail call i32 @switchbalance_check(ptr noundef %1, ptr noundef %46, ptr noundef %2, i32 noundef %37) #4 %48 = tail call i64 @cl_qmap_next(ptr noundef %46) #4 %49 = inttoptr i64 %48 to ptr %50 = tail call i64 @cl_qmap_end(ptr noundef nonnull %39) #4 %51 = inttoptr i64 %50 to ptr %52 = icmp eq ptr %49, %51 br i1 %52, label %53, label %45, !llvm.loop !10 53: ; preds = %45, %36, %34, %32 %54 = tail call i32 @cl_plock_release(ptr noundef %1) #4 br label %55 55: ; preds = %23, %53 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 @next_token(ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtoull(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare i32 @fprintf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @help_switchbalance(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_plock_acquire(ptr noundef) local_unnamed_addr #2 declare ptr @osm_get_switch_by_guid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_hton64(i64 noundef) local_unnamed_addr #2 declare i32 @switchbalance_check(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @cl_qmap_head(ptr noundef) local_unnamed_addr #2 declare i64 @cl_qmap_end(ptr noundef) local_unnamed_addr #2 declare i64 @cl_qmap_next(ptr noundef) local_unnamed_addr #2 declare i32 @cl_plock_release(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_console.c_switchbalance_parse.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_console.c_switchbalance_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"verbose\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid guid specified\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"guid not found\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @switchbalance_parse], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @switchbalance_parse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = tail call ptr @next_token(ptr noundef %0) #4 %6 = icmp eq ptr %5, null br i1 %6, label %36, label %7 7: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %8 = tail call i64 @strcmp(ptr noundef nonnull %5, ptr noundef nonnull @.str) #4 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %7 %11 = tail call ptr @next_token(ptr noundef %0) #4 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %36 14: ; preds = %7, %10 %15 = phi ptr [ %11, %10 ], [ %5, %7 ] %16 = phi i32 [ 1, %10 ], [ 0, %7 ] %17 = call i64 @strtoull(ptr noundef nonnull %15, ptr noundef nonnull %4, i32 noundef 0) %18 = icmp eq i64 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %14 %20 = load ptr, ptr %4, align 8, !tbaa !6 %21 = load i8, ptr %20, align 1, !tbaa !10 %22 = icmp eq i8 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %14, %19 %24 = tail call i32 @fprintf(ptr noundef %2, ptr noundef nonnull @.str.1) #4 %25 = tail call i32 @help_switchbalance(ptr noundef %2, i32 noundef 1) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %52 26: ; preds = %19 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 %27 = tail call i32 @cl_plock_acquire(ptr noundef %1) #4 %28 = getelementptr inbounds i8, ptr %1, i64 4 %29 = tail call i32 @cl_hton64(i64 noundef %17) #4 %30 = tail call ptr @osm_get_switch_by_guid(ptr noundef nonnull %28, i32 noundef %29) #4 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %26 %33 = tail call i32 @fprintf(ptr noundef %2, ptr noundef nonnull @.str.2) #4 br label %50 34: ; preds = %26 %35 = tail call i32 @switchbalance_check(ptr noundef %1, ptr noundef nonnull %30, ptr noundef %2, i32 noundef %16) #4 br label %50 36: ; preds = %3, %13 %37 = phi i32 [ 1, %13 ], [ 0, %3 ] %38 = tail call i32 @cl_plock_acquire(ptr noundef %1) #4 %39 = getelementptr inbounds i8, ptr %1, i64 4 %40 = tail call i64 @cl_qmap_head(ptr noundef nonnull %39) #4 %41 = tail call i64 @cl_qmap_end(ptr noundef nonnull %39) #4 %42 = icmp eq i64 %40, %41 br i1 %42, label %50, label %43 43: ; preds = %36, %43 %44 = phi i64 [ %47, %43 ], [ %40, %36 ] %45 = inttoptr i64 %44 to ptr %46 = tail call i32 @switchbalance_check(ptr noundef %1, ptr noundef %45, ptr noundef %2, i32 noundef %37) #4 %47 = tail call i64 @cl_qmap_next(ptr noundef %45) #4 %48 = tail call i64 @cl_qmap_end(ptr noundef nonnull %39) #4 %49 = icmp eq i64 %47, %48 br i1 %49, label %50, label %43, !llvm.loop !11 50: ; preds = %43, %36, %34, %32 %51 = tail call i32 @cl_plock_release(ptr noundef %1) #4 br label %52 52: ; preds = %23, %50 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 @next_token(ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtoull(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3 declare i32 @fprintf(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @help_switchbalance(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @cl_plock_acquire(ptr noundef) local_unnamed_addr #2 declare ptr @osm_get_switch_by_guid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_hton64(i64 noundef) local_unnamed_addr #2 declare i32 @switchbalance_check(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @cl_qmap_head(ptr noundef) local_unnamed_addr #2 declare i64 @cl_qmap_end(ptr noundef) local_unnamed_addr #2 declare i64 @cl_qmap_next(ptr noundef) local_unnamed_addr #2 declare i32 @cl_plock_release(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ofed_opensm_opensm_extr_osm_console.c_switchbalance_parse
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_callback_xdr.c_decode_string.c' source_filename = "AnghaBench/linux/fs/nfs/extr_callback_xdr.c_decode_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NFS4ERR_RESOURCE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @decode_string(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3) #0 { %5 = tail call i32 @xdr_stream_decode_opaque_inline(ptr noundef %0, ptr noundef %2, i64 noundef %3) #2 store i32 %5, ptr %1, align 4, !tbaa !5 ret i32 0 } declare i32 @xdr_stream_decode_opaque_inline(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/fs/nfs/extr_callback_xdr.c_decode_string.c' source_filename = "AnghaBench/linux/fs/nfs/extr_callback_xdr.c_decode_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NFS4ERR_RESOURCE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decode_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @decode_string(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i64 noundef %3) #0 { %5 = tail call i32 @xdr_stream_decode_opaque_inline(ptr noundef %0, ptr noundef %2, i64 noundef %3) #2 store i32 %5, ptr %1, align 4, !tbaa !6 ret i32 0 } declare i32 @xdr_stream_decode_opaque_inline(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_fs_nfs_extr_callback_xdr.c_decode_string
; ModuleID = 'AnghaBench/freebsd/libexec/rtld-elf/extr_rtld_lock.c__rtld_atfork_post.c' source_filename = "AnghaBench/freebsd/libexec/rtld-elf/extr_rtld_lock.c__rtld_atfork_post.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32 } @rtld_bind_lock = dso_local local_unnamed_addr global i32 0, align 4 @rtld_phdr_lock = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @_rtld_atfork_post(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = alloca [2 x %struct.TYPE_4__], align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = icmp eq ptr %0, null br i1 %3, label %14, label %4 4: ; preds = %1 %5 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 8) #3 %6 = getelementptr inbounds i32, ptr %0, i64 2 %7 = load i32, ptr %6, align 4, !tbaa !5 store i32 %7, ptr %2, align 4, !tbaa !9 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = getelementptr inbounds [2 x %struct.TYPE_4__], ptr %2, i64 0, i64 1 store i32 %8, ptr %9, align 4, !tbaa !9 %10 = load i32, ptr @rtld_bind_lock, align 4, !tbaa !5 %11 = call i32 @lock_release(i32 noundef %10, ptr noundef nonnull %9) #3 %12 = load i32, ptr @rtld_phdr_lock, align 4, !tbaa !5 %13 = call i32 @lock_release(i32 noundef %12, ptr noundef nonnull %2) #3 br label %14 14: ; preds = %1, %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lock_release(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/libexec/rtld-elf/extr_rtld_lock.c__rtld_atfork_post.c' source_filename = "AnghaBench/freebsd/libexec/rtld-elf/extr_rtld_lock.c__rtld_atfork_post.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 } @rtld_bind_lock = common local_unnamed_addr global i32 0, align 4 @rtld_phdr_lock = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @_rtld_atfork_post(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = alloca [2 x %struct.TYPE_4__], align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = icmp eq ptr %0, null br i1 %3, label %14, label %4 4: ; preds = %1 %5 = call i32 @bzero(ptr noundef nonnull %2, i32 noundef 8) #3 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !6 store i32 %7, ptr %2, align 4, !tbaa !10 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %8, ptr %9, align 4, !tbaa !10 %10 = load i32, ptr @rtld_bind_lock, align 4, !tbaa !6 %11 = call i32 @lock_release(i32 noundef %10, ptr noundef nonnull %9) #3 %12 = load i32, ptr @rtld_phdr_lock, align 4, !tbaa !6 %13 = call i32 @lock_release(i32 noundef %12, ptr noundef nonnull %2) #3 br label %14 14: ; preds = %1, %4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lock_release(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0}
freebsd_libexec_rtld-elf_extr_rtld_lock.c__rtld_atfork_post
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_sock_dequeue_err_skb.c' source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_sock_dequeue_err_skb.c" target datalayout = "e-m:e-p270:32:32-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.sock = type { ptr, i32, %struct.sk_buff_head } %struct.sk_buff_head = type { i32 } ; Function Attrs: nounwind uwtable define dso_local ptr @sock_dequeue_err_skb(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 2 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = tail call ptr @__skb_dequeue(ptr noundef nonnull %2) #2 %5 = icmp eq ptr %4, null br i1 %5, label %16, label %6 6: ; preds = %1 %7 = tail call ptr @skb_peek(ptr noundef nonnull %2) #2 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %6 %10 = tail call i32 @is_icmp_err_skb(ptr noundef nonnull %7) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = tail call ptr @SKB_EXT_ERR(ptr noundef nonnull %7) #2 %14 = load i32, ptr %13, align 4, !tbaa !5 %15 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1 store i32 %14, ptr %15, align 8, !tbaa !11 br label %16 16: ; preds = %9, %12, %6, %1 %17 = phi i1 [ false, %12 ], [ false, %9 ], [ true, %6 ], [ true, %1 ] %18 = phi i1 [ true, %12 ], [ false, %9 ], [ false, %6 ], [ false, %1 ] %19 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %20 = tail call i32 @is_icmp_err_skb(ptr noundef %4) #2 %21 = icmp eq i32 %20, 0 %22 = or i1 %18, %21 br i1 %22, label %25, label %23 23: ; preds = %16 %24 = getelementptr inbounds %struct.sock, ptr %0, i64 0, i32 1 store i32 0, ptr %24, align 8, !tbaa !11 br label %25 25: ; preds = %23, %16 br i1 %17, label %29, label %26 26: ; preds = %25 %27 = load ptr, ptr %0, align 8, !tbaa !15 %28 = tail call i32 %27(ptr noundef nonnull %0) #2 br label %29 29: ; preds = %26, %25 ret ptr %4 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @__skb_dequeue(ptr noundef) local_unnamed_addr #1 declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare i32 @is_icmp_err_skb(ptr noundef) local_unnamed_addr #1 declare ptr @SKB_EXT_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"sock", !13, i64 0, !8, i64 8, !14, i64 12} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"sk_buff_head", !8, i64 0} !15 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_sock_dequeue_err_skb.c' source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_sock_dequeue_err_skb.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 @sock_dequeue_err_skb(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %2, i64 noundef undef) #2 %4 = tail call ptr @__skb_dequeue(ptr noundef nonnull %2) #2 %5 = icmp eq ptr %4, null br i1 %5, label %16, label %6 6: ; preds = %1 %7 = tail call ptr @skb_peek(ptr noundef nonnull %2) #2 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %6 %10 = tail call i32 @is_icmp_err_skb(ptr noundef nonnull %7) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = tail call ptr @SKB_EXT_ERR(ptr noundef nonnull %7) #2 %14 = load i32, ptr %13, align 4, !tbaa !6 %15 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %14, ptr %15, align 8, !tbaa !12 br label %16 16: ; preds = %9, %12, %6, %1 %17 = phi i1 [ false, %12 ], [ false, %9 ], [ true, %6 ], [ true, %1 ] %18 = phi i1 [ true, %12 ], [ false, %9 ], [ false, %6 ], [ false, %1 ] %19 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %2, i64 noundef undef) #2 %20 = tail call i32 @is_icmp_err_skb(ptr noundef %4) #2 %21 = icmp eq i32 %20, 0 %22 = or i1 %18, %21 br i1 %22, label %25, label %23 23: ; preds = %16 %24 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %24, align 8, !tbaa !12 br label %25 25: ; preds = %23, %16 br i1 %17, label %29, label %26 26: ; preds = %25 %27 = load ptr, ptr %0, align 8, !tbaa !16 %28 = tail call i32 %27(ptr noundef nonnull %0) #2 br label %29 29: ; preds = %26, %25 ret ptr %4 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @__skb_dequeue(ptr noundef) local_unnamed_addr #1 declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare i32 @is_icmp_err_skb(ptr noundef) local_unnamed_addr #1 declare ptr @SKB_EXT_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 8} !13 = !{!"sock", !14, i64 0, !9, i64 8, !15, i64 12} !14 = !{!"any pointer", !10, i64 0} !15 = !{!"sk_buff_head", !9, i64 0} !16 = !{!13, !14, i64 0}
linux_net_core_extr_skbuff.c_sock_dequeue_err_skb
; ModuleID = 'AnghaBench/linux/drivers/mtd/tests/extr_nandbiterrs.c_rewrite_page.c' source_filename = "AnghaBench/linux/drivers/mtd/tests/extr_nandbiterrs.c_rewrite_page.c" target datalayout = "e-m:e-p270:32:32-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.mtd_oob_ops = type { i64, i64, ptr, i32, i64, i64, i64, i32 } @.str = private unnamed_addr constant [14 x i8] c"rewrite page\0A\00", align 1 @MTD_OPS_RAW = dso_local local_unnamed_addr global i32 0, align 4 @mtd = dso_local local_unnamed_addr global ptr null, align 8 @wbuffer = dso_local local_unnamed_addr global i32 0, align 4 @offset = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"error: write_oob failed (%d)\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rewrite_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rewrite_page(i32 noundef %0) #0 { %2 = alloca %struct.mtd_oob_ops, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4 %3 = icmp eq i32 %0, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @pr_info(ptr noundef nonnull @.str) #4 br label %6 6: ; preds = %4, %1 %7 = load i32, ptr @MTD_OPS_RAW, align 4, !tbaa !5 %8 = getelementptr inbounds %struct.mtd_oob_ops, ptr %2, i64 0, i32 7 store i32 %7, ptr %8, align 8, !tbaa !9 %9 = load ptr, ptr @mtd, align 8, !tbaa !13 %10 = load i64, ptr %9, align 8, !tbaa !14 store i64 %10, ptr %2, align 8, !tbaa !16 %11 = getelementptr inbounds %struct.mtd_oob_ops, ptr %2, i64 0, i32 1 store i64 0, ptr %11, align 8, !tbaa !17 %12 = getelementptr inbounds %struct.mtd_oob_ops, ptr %2, i64 0, i32 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false) %13 = load i32, ptr @wbuffer, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.mtd_oob_ops, ptr %2, i64 0, i32 3 store i32 %13, ptr %14, align 8, !tbaa !18 %15 = getelementptr inbounds %struct.mtd_oob_ops, ptr %2, i64 0, i32 2 store ptr null, ptr %15, align 8, !tbaa !19 %16 = load i32, ptr @offset, align 4, !tbaa !5 %17 = call i32 @mtd_write_oob(ptr noundef nonnull %9, i32 noundef %16, ptr noundef nonnull %2) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %6 %20 = load i64, ptr %11, align 8, !tbaa !17 %21 = load ptr, ptr @mtd, align 8, !tbaa !13 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = icmp eq i64 %20, %22 br i1 %23, label %30, label %24 24: ; preds = %19 %25 = call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef 0) #4 %26 = load i32, ptr @EIO, align 4, !tbaa !5 %27 = sub nsw i32 0, %26 br label %30 28: ; preds = %6 %29 = call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %17) #4 br label %30 30: ; preds = %28, %24, %19 %31 = phi i32 [ %27, %24 ], [ 0, %19 ], [ %17, %28 ] call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #2 declare i32 @mtd_write_oob(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 56} !10 = !{!"mtd_oob_ops", !11, i64 0, !11, i64 8, !12, i64 16, !6, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !6, i64 56} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_3__", !11, i64 0} !16 = !{!10, !11, i64 0} !17 = !{!10, !11, i64 8} !18 = !{!10, !6, i64 24} !19 = !{!10, !12, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/mtd/tests/extr_nandbiterrs.c_rewrite_page.c' source_filename = "AnghaBench/linux/drivers/mtd/tests/extr_nandbiterrs.c_rewrite_page.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mtd_oob_ops = type { i64, i64, ptr, i32, i64, i64, i64, i32 } @.str = private unnamed_addr constant [14 x i8] c"rewrite page\0A\00", align 1 @MTD_OPS_RAW = common local_unnamed_addr global i32 0, align 4 @mtd = common local_unnamed_addr global ptr null, align 8 @wbuffer = common local_unnamed_addr global i32 0, align 4 @offset = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"error: write_oob failed (%d)\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rewrite_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rewrite_page(i32 noundef %0) #0 { %2 = alloca %struct.mtd_oob_ops, align 8 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4 %3 = icmp eq i32 %0, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @pr_info(ptr noundef nonnull @.str) #4 br label %6 6: ; preds = %4, %1 %7 = load i32, ptr @MTD_OPS_RAW, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %2, i64 56 store i32 %7, ptr %8, align 8, !tbaa !10 %9 = load ptr, ptr @mtd, align 8, !tbaa !14 %10 = load i64, ptr %9, align 8, !tbaa !15 store i64 %10, ptr %2, align 8, !tbaa !17 %11 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %11, align 8, !tbaa !18 %12 = getelementptr inbounds i8, ptr %2, i64 32 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false) %13 = load i32, ptr @wbuffer, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %13, ptr %14, align 8, !tbaa !19 %15 = getelementptr inbounds i8, ptr %2, i64 16 store ptr null, ptr %15, align 8, !tbaa !20 %16 = load i32, ptr @offset, align 4, !tbaa !6 %17 = call i32 @mtd_write_oob(ptr noundef nonnull %9, i32 noundef %16, ptr noundef nonnull %2) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %6 %20 = load i64, ptr %11, align 8, !tbaa !18 %21 = load ptr, ptr @mtd, align 8, !tbaa !14 %22 = load i64, ptr %21, align 8, !tbaa !15 %23 = icmp eq i64 %20, %22 br i1 %23, label %30, label %24 24: ; preds = %19 %25 = call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef 0) #4 %26 = load i32, ptr @EIO, align 4, !tbaa !6 %27 = sub nsw i32 0, %26 br label %30 28: ; preds = %6 %29 = call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %17) #4 br label %30 30: ; preds = %28, %24, %19 %31 = phi i32 [ %27, %24 ], [ 0, %19 ], [ %17, %28 ] call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4 ret i32 %31 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pr_info(ptr noundef) local_unnamed_addr #2 declare i32 @mtd_write_oob(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 56} !11 = !{!"mtd_oob_ops", !12, i64 0, !12, i64 8, !13, i64 16, !7, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !7, i64 56} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"TYPE_3__", !12, i64 0} !17 = !{!11, !12, i64 0} !18 = !{!11, !12, i64 8} !19 = !{!11, !7, i64 24} !20 = !{!11, !13, i64 16}
linux_drivers_mtd_tests_extr_nandbiterrs.c_rewrite_page
; ModuleID = 'AnghaBench/netdata/database/engine/extr_....daemon..libnetdatainlined.h_strncpyz.c' source_filename = "AnghaBench/netdata/database/engine/extr_....daemon..libnetdatainlined.h_strncpyz.c" target datalayout = "e-m:e-p270:32:32-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 @strncpyz], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal noundef ptr @strncpyz(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = load i8, ptr %1, align 1, !tbaa !5 %5 = icmp eq i8 %4, 0 %6 = icmp eq i64 %2, 0 %7 = or i1 %5, %6 br i1 %7, label %20, label %8 8: ; preds = %3, %8 %9 = phi i8 [ %16, %8 ], [ %4, %3 ] %10 = phi ptr [ %15, %8 ], [ %0, %3 ] %11 = phi i64 [ %13, %8 ], [ %2, %3 ] %12 = phi ptr [ %14, %8 ], [ %1, %3 ] %13 = add i64 %11, -1 %14 = getelementptr inbounds i8, ptr %12, i64 1 %15 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %9, ptr %10, align 1, !tbaa !5 %16 = load i8, ptr %14, align 1, !tbaa !5 %17 = icmp eq i8 %16, 0 %18 = icmp eq i64 %13, 0 %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %20, label %8, !llvm.loop !8 20: ; preds = %8, %3 %21 = phi ptr [ %0, %3 ], [ %15, %8 ] store i8 0, ptr %21, align 1, !tbaa !5 ret ptr %0 } attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/netdata/database/engine/extr_....daemon..libnetdatainlined.h_strncpyz.c' source_filename = "AnghaBench/netdata/database/engine/extr_....daemon..libnetdatainlined.h_strncpyz.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 @strncpyz], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef ptr @strncpyz(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = load i8, ptr %1, align 1, !tbaa !6 %5 = icmp eq i8 %4, 0 %6 = icmp eq i64 %2, 0 %7 = or i1 %5, %6 br i1 %7, label %20, label %8 8: ; preds = %3, %8 %9 = phi i8 [ %16, %8 ], [ %4, %3 ] %10 = phi ptr [ %15, %8 ], [ %0, %3 ] %11 = phi i64 [ %13, %8 ], [ %2, %3 ] %12 = phi ptr [ %14, %8 ], [ %1, %3 ] %13 = add i64 %11, -1 %14 = getelementptr inbounds i8, ptr %12, i64 1 %15 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %9, ptr %10, align 1, !tbaa !6 %16 = load i8, ptr %14, align 1, !tbaa !6 %17 = icmp eq i8 %16, 0 %18 = icmp eq i64 %13, 0 %19 = select i1 %17, i1 true, i1 %18 br i1 %19, label %20, label %8, !llvm.loop !9 20: ; preds = %8, %3 %21 = phi ptr [ %0, %3 ], [ %15, %8 ] store i8 0, ptr %21, align 1, !tbaa !6 ret ptr %0 } attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
netdata_database_engine_extr_....daemon..libnetdatainlined.h_strncpyz
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_value.c_ipfw_table_value_init.c' source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_value.c_ipfw_table_value_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.ip_fw_chain = type { ptr, i32 } %struct.tables_config = type { i32, i32 } @VALDATA_START_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @M_IPFW = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @hash_table_value = dso_local local_unnamed_addr global i32 0, align 4 @cmp_table_value = dso_local local_unnamed_addr global i32 0, align 4 @scodes = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ipfw_table_value_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @VALDATA_START_SIZE, align 4, !tbaa !5 %4 = shl i32 %3, 2 %5 = load i32, ptr @M_IPFW, align 4, !tbaa !5 %6 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %7 = load i32, ptr @M_ZERO, align 4, !tbaa !5 %8 = or i32 %7, %6 %9 = tail call i32 @malloc(i32 noundef %4, i32 noundef %5, i32 noundef %8) #2 %10 = getelementptr inbounds %struct.ip_fw_chain, ptr %0, i64 0, i32 1 store i32 %9, ptr %10, align 8, !tbaa !9 %11 = load ptr, ptr %0, align 8, !tbaa !12 %12 = load i32, ptr @VALDATA_START_SIZE, align 4, !tbaa !5 store i32 %12, ptr %11, align 4, !tbaa !13 %13 = tail call i32 @ipfw_objhash_create(i32 noundef %12) #2 %14 = getelementptr inbounds %struct.tables_config, ptr %11, i64 0, i32 1 store i32 %13, ptr %14, align 4, !tbaa !15 %15 = load i32, ptr @hash_table_value, align 4, !tbaa !5 %16 = load i32, ptr @cmp_table_value, align 4, !tbaa !5 %17 = tail call i32 @ipfw_objhash_set_funcs(i32 noundef %13, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @scodes, align 4, !tbaa !5 %19 = tail call i32 @IPFW_ADD_SOPT_HANDLER(i32 noundef %1, i32 noundef %18) #2 ret void } declare i32 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ipfw_objhash_create(i32 noundef) local_unnamed_addr #1 declare i32 @ipfw_objhash_set_funcs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IPFW_ADD_SOPT_HANDLER(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"ip_fw_chain", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"tables_config", !6, i64 0, !6, i64 4} !15 = !{!14, !6, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_value.c_ipfw_table_value_init.c' source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_table_value.c_ipfw_table_value_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VALDATA_START_SIZE = common local_unnamed_addr global i32 0, align 4 @M_IPFW = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @hash_table_value = common local_unnamed_addr global i32 0, align 4 @cmp_table_value = common local_unnamed_addr global i32 0, align 4 @scodes = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ipfw_table_value_init(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @VALDATA_START_SIZE, align 4, !tbaa !6 %4 = shl i32 %3, 2 %5 = load i32, ptr @M_IPFW, align 4, !tbaa !6 %6 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %7 = load i32, ptr @M_ZERO, align 4, !tbaa !6 %8 = or i32 %7, %6 %9 = tail call i32 @malloc(i32 noundef %4, i32 noundef %5, i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %9, ptr %10, align 8, !tbaa !10 %11 = load ptr, ptr %0, align 8, !tbaa !13 %12 = load i32, ptr @VALDATA_START_SIZE, align 4, !tbaa !6 store i32 %12, ptr %11, align 4, !tbaa !14 %13 = tail call i32 @ipfw_objhash_create(i32 noundef %12) #2 %14 = getelementptr inbounds i8, ptr %11, i64 4 store i32 %13, ptr %14, align 4, !tbaa !16 %15 = load i32, ptr @hash_table_value, align 4, !tbaa !6 %16 = load i32, ptr @cmp_table_value, align 4, !tbaa !6 %17 = tail call i32 @ipfw_objhash_set_funcs(i32 noundef %13, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @scodes, align 4, !tbaa !6 %19 = tail call i32 @IPFW_ADD_SOPT_HANDLER(i32 noundef %1, i32 noundef %18) #2 ret void } declare i32 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ipfw_objhash_create(i32 noundef) local_unnamed_addr #1 declare i32 @ipfw_objhash_set_funcs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IPFW_ADD_SOPT_HANDLER(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"ip_fw_chain", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"tables_config", !7, i64 0, !7, i64 4} !16 = !{!15, !7, i64 4}
freebsd_sys_netpfil_ipfw_extr_ip_fw_table_value.c_ipfw_table_value_init
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_zs.c_zs_type.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_zs.c_zs_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Z85C30 SCC\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @zs_type], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @zs_type(ptr nocapture readnone %0) #0 { ret ptr @.str } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_zs.c_zs_type.c' source_filename = "AnghaBench/linux/drivers/tty/serial/extr_zs.c_zs_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [11 x i8] c"Z85C30 SCC\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @zs_type], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @zs_type(ptr nocapture readnone %0) #0 { ret ptr @.str } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_tty_serial_extr_zs.c_zs_type
; ModuleID = 'AnghaBench/freebsd/lib/libc/locale/extr_xlocale_private.h_xlocale_release.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_xlocale_private.h_xlocale_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.xlocale_refcounted = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @xlocale_release], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xlocale_release(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.xlocale_refcounted, ptr %0, i64 0, i32 1 %3 = tail call i32 @atomic_fetchadd_long(ptr noundef nonnull %2, i32 noundef -1) #2 %4 = icmp slt i32 %3, 1 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %8, %5, %1 ret void } declare i32 @atomic_fetchadd_long(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 = !{!"xlocale_refcounted", !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}
; ModuleID = 'AnghaBench/freebsd/lib/libc/locale/extr_xlocale_private.h_xlocale_release.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_xlocale_private.h_xlocale_release.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 @xlocale_release], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xlocale_release(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = tail call i32 @atomic_fetchadd_long(ptr noundef nonnull %2, i32 noundef -1) #2 %4 = icmp slt i32 %3, 1 br i1 %4, label %5, label %10 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 %6(ptr noundef nonnull %0) #2 br label %10 10: ; preds = %8, %5, %1 ret void } declare i32 @atomic_fetchadd_long(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 = !{!"xlocale_refcounted", !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}
freebsd_lib_libc_locale_extr_xlocale_private.h_xlocale_release
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_power.c_gma_suspend_display.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_power.c_gma_suspend_display.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_psb_private = type { i32, ptr, i64 } %struct.TYPE_2__ = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @gma_suspend_display], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gma_suspend_display(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.drm_psb_private, ptr %2, i64 0, i32 2 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = getelementptr inbounds %struct.drm_psb_private, ptr %2, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !15 %11 = tail call i32 %10(ptr noundef nonnull %0) #1 %12 = load ptr, ptr %7, align 8, !tbaa !14 %13 = load ptr, ptr %12, align 8, !tbaa !17 %14 = tail call i32 %13(ptr noundef nonnull %0) #1 store i32 0, ptr %2, align 8, !tbaa !18 br label %15 15: ; preds = %1, %6 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"drm_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 16} !11 = !{!"drm_psb_private", !12, i64 0, !7, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!16, !7, i64 8} !16 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !17 = !{!16, !7, i64 0} !18 = !{!11, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_power.c_gma_suspend_display.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_power.c_gma_suspend_display.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 @gma_suspend_display], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gma_suspend_display(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %2, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %8, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = tail call i32 %10(ptr noundef nonnull %0) #1 %12 = load ptr, ptr %7, align 8, !tbaa !15 %13 = load ptr, ptr %12, align 8, !tbaa !18 %14 = tail call i32 %13(ptr noundef nonnull %0) #1 store i32 0, ptr %2, align 8, !tbaa !19 br label %15 15: ; preds = %1, %6 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"drm_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !14, i64 16} !12 = !{!"drm_psb_private", !13, i64 0, !8, i64 8, !14, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !8, i64 8} !16 = !{!17, !8, i64 8} !17 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !18 = !{!17, !8, i64 0} !19 = !{!12, !13, i64 0}
linux_drivers_gpu_drm_gma500_extr_power.c_gma_suspend_display
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/daisy/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/daisy/keymaps/default/extr_keymap.c_process_record_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" @_LW = dso_local local_unnamed_addr global i32 0, align 4 @_RS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %19 [ i32 129, label %3 i32 128, label %11 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 %6 = load i32, ptr @_LW, align 4, !tbaa !11 br i1 %5, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @layer_on(i32 noundef %6) #2 br label %19 9: ; preds = %3 %10 = tail call i32 @layer_off(i32 noundef %6) #2 br label %19 11: ; preds = %2 %12 = load i32, ptr %1, align 4, !tbaa !5 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @_RS, align 4, !tbaa !11 br i1 %13, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @layer_on(i32 noundef %14) #2 br label %19 17: ; preds = %11 %18 = tail call i32 @layer_off(i32 noundef %14) #2 br label %19 19: ; preds = %2, %15, %17, %7, %9 %20 = phi i32 [ 0, %9 ], [ 0, %7 ], [ 0, %17 ], [ 0, %15 ], [ 1, %2 ] ret i32 %20 } declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/daisy/keymaps/default/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/daisy/keymaps/default/extr_keymap.c_process_record_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_LW = common local_unnamed_addr global i32 0, align 4 @_RS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %19 [ i32 129, label %3 i32 128, label %11 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 %6 = load i32, ptr @_LW, align 4, !tbaa !12 br i1 %5, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @layer_on(i32 noundef %6) #2 br label %19 9: ; preds = %3 %10 = tail call i32 @layer_off(i32 noundef %6) #2 br label %19 11: ; preds = %2 %12 = load i32, ptr %1, align 4, !tbaa !6 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @_RS, align 4, !tbaa !12 br i1 %13, label %17, label %15 15: ; preds = %11 %16 = tail call i32 @layer_on(i32 noundef %14) #2 br label %19 17: ; preds = %11 %18 = tail call i32 @layer_off(i32 noundef %14) #2 br label %19 19: ; preds = %2, %15, %17, %7, %9 %20 = phi i32 [ 0, %9 ], [ 0, %7 ], [ 0, %17 ], [ 0, %15 ], [ 1, %2 ] ret i32 %20 } declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
qmk_firmware_keyboards_daisy_keymaps_default_extr_keymap.c_process_record_user
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_int.h_drbd_set_ed_uuid.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_int.h_drbd_set_ed_uuid.c" target datalayout = "e-m:e-p270:32:32-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 @drbd_set_ed_uuid], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal i32 @drbd_set_ed_uuid(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp ne i64 %3, %1 %5 = zext i1 %4 to i32 store i64 %1, ptr %0, align 8, !tbaa !5 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drbd_device", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/block/drbd/extr_drbd_int.h_drbd_set_ed_uuid.c' source_filename = "AnghaBench/linux/drivers/block/drbd/extr_drbd_int.h_drbd_set_ed_uuid.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 @drbd_set_ed_uuid], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal range(i32 0, 2) i32 @drbd_set_ed_uuid(ptr nocapture noundef %0, i64 noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp ne i64 %3, %1 %5 = zext i1 %4 to i32 store i64 %1, ptr %0, align 8, !tbaa !6 ret i32 %5 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drbd_device", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_block_drbd_extr_drbd_int.h_drbd_set_ed_uuid
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_ctl_named_node.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_ctl_named_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ctl_named_node], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @ctl_named_node(ptr noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 %4 = select i1 %3, ptr null, ptr %0 ret ptr %4 } 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_ctl_named_node.c' source_filename = "AnghaBench/freebsd/contrib/jemalloc/src/extr_ctl.c_ctl_named_node.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 @ctl_named_node], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @ctl_named_node(ptr noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 %4 = select i1 %3, ptr null, ptr %0 ret ptr %4 } 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 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_jemalloc_src_extr_ctl.c_ctl_named_node
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_get_register_offset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_get_register_offset.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sh_eth_offset_gigabit = dso_local local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_rz = dso_local local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_rcar = dso_local local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_sh4 = dso_local local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_sh3_sh2 = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sh_eth_get_register_offset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal ptr @sh_eth_get_register_offset(i32 noundef %0) #0 { switch i32 %0, label %12 [ i32 128, label %2 i32 131, label %4 i32 132, label %6 i32 129, label %8 i32 130, label %10 ] 2: ; preds = %1 %3 = load ptr, ptr @sh_eth_offset_gigabit, align 8, !tbaa !5 br label %12 4: ; preds = %1 %5 = load ptr, ptr @sh_eth_offset_fast_rz, align 8, !tbaa !5 br label %12 6: ; preds = %1 %7 = load ptr, ptr @sh_eth_offset_fast_rcar, align 8, !tbaa !5 br label %12 8: ; preds = %1 %9 = load ptr, ptr @sh_eth_offset_fast_sh4, align 8, !tbaa !5 br label %12 10: ; preds = %1 %11 = load ptr, ptr @sh_eth_offset_fast_sh3_sh2, align 8, !tbaa !5 br label %12 12: ; preds = %1, %10, %8, %6, %4, %2 %13 = phi ptr [ null, %1 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ] ret ptr %13 } 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_get_register_offset.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/renesas/extr_sh_eth.c_sh_eth_get_register_offset.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sh_eth_offset_gigabit = common local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_rz = common local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_rcar = common local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_sh4 = common local_unnamed_addr global ptr null, align 8 @sh_eth_offset_fast_sh3_sh2 = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @sh_eth_get_register_offset], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal ptr @sh_eth_get_register_offset(i32 noundef %0) #0 { switch i32 %0, label %12 [ i32 128, label %2 i32 131, label %4 i32 132, label %6 i32 129, label %8 i32 130, label %10 ] 2: ; preds = %1 %3 = load ptr, ptr @sh_eth_offset_gigabit, align 8, !tbaa !6 br label %12 4: ; preds = %1 %5 = load ptr, ptr @sh_eth_offset_fast_rz, align 8, !tbaa !6 br label %12 6: ; preds = %1 %7 = load ptr, ptr @sh_eth_offset_fast_rcar, align 8, !tbaa !6 br label %12 8: ; preds = %1 %9 = load ptr, ptr @sh_eth_offset_fast_sh4, align 8, !tbaa !6 br label %12 10: ; preds = %1 %11 = load ptr, ptr @sh_eth_offset_fast_sh3_sh2, align 8, !tbaa !6 br label %12 12: ; preds = %1, %10, %8, %6, %4, %2 %13 = phi ptr [ null, %1 ], [ %11, %10 ], [ %9, %8 ], [ %7, %6 ], [ %5, %4 ], [ %3, %2 ] ret ptr %13 } 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_renesas_extr_sh_eth.c_sh_eth_get_register_offset
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/netback/extr_netback_unit_tests.c_xnb_mbufc2pkt_extra.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/netback/extr_netback_unit_tests.c_xnb_mbufc2pkt_extra.c" target datalayout = "e-m:e-p270:32:32-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.xnb_pkt = type { i64, i64, i32, i32, i64, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i64, i32, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } %struct.mbuf = type { i32, %struct.TYPE_7__, ptr, i32 } %struct.TYPE_7__ = type { i64, i32, i32 } @MCLBYTES = dso_local local_unnamed_addr global i32 0, align 4 @M_WAITOK = dso_local local_unnamed_addr global i32 0, align 4 @MT_DATA = dso_local local_unnamed_addr global i32 0, align 4 @M_PKTHDR = dso_local local_unnamed_addr global i32 0, align 4 @CSUM_TSO = dso_local local_unnamed_addr global i32 0, align 4 @TCP_MSS = dso_local local_unnamed_addr global i32 0, align 4 @NETRXF_extra_info = dso_local local_unnamed_addr global i32 0, align 4 @NETRXF_data_validated = dso_local local_unnamed_addr global i32 0, align 4 @XEN_NETIF_EXTRA_TYPE_GSO = dso_local local_unnamed_addr global i64 0, align 8 @XEN_NETIF_EXTRA_FLAG_MORE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xnb_mbufc2pkt_extra], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xnb_mbufc2pkt_extra(ptr nocapture readnone %0, i64 %1) #0 { %3 = alloca %struct.xnb_pkt, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #3 %5 = load i32, ptr @MCLBYTES, align 4, !tbaa !5 %6 = mul nsw i32 %5, 14 %7 = sdiv i32 %6, 3 %8 = sext i32 %7 to i64 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %9 = load i32, ptr @M_WAITOK, align 4, !tbaa !5 %10 = load i32, ptr @MT_DATA, align 4, !tbaa !5 %11 = tail call ptr @m_getm(ptr noundef null, i64 noundef %8, i32 noundef %9, i32 noundef %10) #3 store ptr %11, ptr %4, align 8, !tbaa !9 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = tail call i32 @XNB_ASSERT(i32 noundef %13) #3 %15 = icmp eq ptr %11, null br i1 %15, label %88, label %16 16: ; preds = %2 %17 = load i32, ptr @M_PKTHDR, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.mbuf, ptr %11, i64 0, i32 3 %19 = load i32, ptr %18, align 8, !tbaa !11 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 8, !tbaa !11 %21 = getelementptr inbounds %struct.mbuf, ptr %11, i64 0, i32 1 store i64 %8, ptr %21, align 8, !tbaa !15 %22 = load i32, ptr @CSUM_TSO, align 4, !tbaa !5 %23 = getelementptr inbounds %struct.mbuf, ptr %11, i64 0, i32 1, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 4, !tbaa !16 %26 = load i32, ptr @TCP_MSS, align 4, !tbaa !5 %27 = add nsw i32 %26, -40 %28 = getelementptr inbounds %struct.mbuf, ptr %11, i64 0, i32 1, i32 1 store i32 %27, ptr %28, align 8, !tbaa !17 br label %29 29: ; preds = %16, %29 %30 = phi ptr [ %11, %16 ], [ %37, %29 ] %31 = phi i64 [ %8, %16 ], [ %35, %29 ] %32 = tail call i32 @M_TRAILINGSPACE(ptr noundef nonnull %30) #3 %33 = tail call i32 @MAX(i32 noundef %32, i64 noundef %31) #3 store i32 %33, ptr %30, align 8, !tbaa !18 %34 = sext i32 %33 to i64 %35 = sub i64 %31, %34 %36 = getelementptr inbounds %struct.mbuf, ptr %30, i64 0, i32 2 %37 = load ptr, ptr %36, align 8, !tbaa !19 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %29, !llvm.loop !20 39: ; preds = %29 %40 = call i32 @xnb_mbufc2pkt(ptr noundef nonnull %11, ptr noundef nonnull %3, i64 noundef 3, i32 noundef 15) #3 %41 = call i32 @xnb_pkt_is_valid(ptr noundef nonnull %3) #3 %42 = call i32 @XNB_ASSERT(i32 noundef %41) #3 %43 = load i64, ptr %3, align 8, !tbaa !22 %44 = icmp eq i64 %43, %8 %45 = zext i1 %44 to i32 %46 = call i32 @XNB_ASSERT(i32 noundef %45) #3 %47 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 1 %48 = load i64, ptr %47, align 8, !tbaa !27 %49 = icmp eq i64 %48, 3 %50 = zext i1 %49 to i32 %51 = call i32 @XNB_ASSERT(i32 noundef %50) #3 %52 = load i32, ptr %11, align 8, !tbaa !18 %53 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 2 store i32 %52, ptr %53, align 8, !tbaa !28 %54 = call i32 @XNB_ASSERT(i32 noundef %52) #3 %55 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 3 %56 = load i32, ptr %55, align 4, !tbaa !29 %57 = load i32, ptr @NETRXF_extra_info, align 4, !tbaa !5 %58 = and i32 %57, %56 %59 = call i32 @XNB_ASSERT(i32 noundef %58) #3 %60 = load i32, ptr %55, align 4, !tbaa !29 %61 = load i32, ptr @NETRXF_data_validated, align 4, !tbaa !5 %62 = and i32 %61, %60 %63 = call i32 @XNB_ASSERT(i32 noundef %62) #3 %64 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 4 %65 = load i64, ptr %64, align 8, !tbaa !30 %66 = load i64, ptr %47, align 8, !tbaa !27 %67 = add nsw i64 %66, 2 %68 = icmp eq i64 %65, %67 %69 = zext i1 %68 to i32 %70 = call i32 @XNB_ASSERT(i32 noundef %69) #3 %71 = load i32, ptr %28, align 8, !tbaa !17 %72 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 5 %73 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 5, i32 2 store i32 %71, ptr %73, align 4, !tbaa !31 %74 = call i32 @XNB_ASSERT(i32 noundef %71) #3 %75 = load i64, ptr %72, align 8, !tbaa !32 %76 = load i64, ptr @XEN_NETIF_EXTRA_TYPE_GSO, align 8, !tbaa !33 %77 = icmp eq i64 %75, %76 %78 = zext i1 %77 to i32 %79 = call i32 @XNB_ASSERT(i32 noundef %78) #3 %80 = getelementptr inbounds %struct.xnb_pkt, ptr %3, i64 0, i32 5, i32 1 %81 = load i32, ptr %80, align 8, !tbaa !34 %82 = load i32, ptr @XEN_NETIF_EXTRA_FLAG_MORE, align 4, !tbaa !5 %83 = and i32 %82, %81 %84 = icmp eq i32 %83, 0 %85 = zext i1 %84 to i32 %86 = call i32 @XNB_ASSERT(i32 noundef %85) #3 %87 = call i32 @safe_m_freem(ptr noundef nonnull %4) #3 br label %88 88: ; preds = %2, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 48, 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 @m_getm(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @XNB_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @M_TRAILINGSPACE(ptr noundef) local_unnamed_addr #2 declare i32 @xnb_mbufc2pkt(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @xnb_pkt_is_valid(ptr noundef) local_unnamed_addr #2 declare i32 @safe_m_freem(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 32} !12 = !{!"mbuf", !6, i64 0, !13, i64 8, !10, i64 24, !6, i64 32} !13 = !{!"TYPE_7__", !14, i64 0, !6, i64 8, !6, i64 12} !14 = !{!"long", !7, i64 0} !15 = !{!12, !14, i64 8} !16 = !{!12, !6, i64 20} !17 = !{!12, !6, i64 16} !18 = !{!12, !6, i64 0} !19 = !{!12, !10, i64 24} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!23, !14, i64 0} !23 = !{!"xnb_pkt", !14, i64 0, !14, i64 8, !6, i64 16, !6, i64 20, !14, i64 24, !24, i64 32} !24 = !{!"TYPE_8__", !14, i64 0, !6, i64 8, !25, i64 12} !25 = !{!"TYPE_6__", !26, i64 0} !26 = !{!"TYPE_5__", !6, i64 0} !27 = !{!23, !14, i64 8} !28 = !{!23, !6, i64 16} !29 = !{!23, !6, i64 20} !30 = !{!23, !14, i64 24} !31 = !{!23, !6, i64 44} !32 = !{!23, !14, i64 32} !33 = !{!14, !14, i64 0} !34 = !{!23, !6, i64 40}
; ModuleID = 'AnghaBench/freebsd/sys/dev/xen/netback/extr_netback_unit_tests.c_xnb_mbufc2pkt_extra.c' source_filename = "AnghaBench/freebsd/sys/dev/xen/netback/extr_netback_unit_tests.c_xnb_mbufc2pkt_extra.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.xnb_pkt = type { i64, i64, i32, i32, i64, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i64, i32, %struct.TYPE_6__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @MCLBYTES = common local_unnamed_addr global i32 0, align 4 @M_WAITOK = common local_unnamed_addr global i32 0, align 4 @MT_DATA = common local_unnamed_addr global i32 0, align 4 @M_PKTHDR = common local_unnamed_addr global i32 0, align 4 @CSUM_TSO = common local_unnamed_addr global i32 0, align 4 @TCP_MSS = common local_unnamed_addr global i32 0, align 4 @NETRXF_extra_info = common local_unnamed_addr global i32 0, align 4 @NETRXF_data_validated = common local_unnamed_addr global i32 0, align 4 @XEN_NETIF_EXTRA_TYPE_GSO = common local_unnamed_addr global i64 0, align 8 @XEN_NETIF_EXTRA_FLAG_MORE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xnb_mbufc2pkt_extra], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xnb_mbufc2pkt_extra(ptr nocapture readnone %0, i64 %1) #0 { %3 = alloca %struct.xnb_pkt, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #3 %5 = load i32, ptr @MCLBYTES, align 4, !tbaa !6 %6 = mul nsw i32 %5, 14 %7 = sdiv i32 %6, 3 %8 = sext i32 %7 to i64 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %9 = load i32, ptr @M_WAITOK, align 4, !tbaa !6 %10 = load i32, ptr @MT_DATA, align 4, !tbaa !6 %11 = tail call ptr @m_getm(ptr noundef null, i64 noundef %8, i32 noundef %9, i32 noundef %10) #3 store ptr %11, ptr %4, align 8, !tbaa !10 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = tail call i32 @XNB_ASSERT(i32 noundef %13) #3 %15 = icmp eq ptr %11, null br i1 %15, label %88, label %16 16: ; preds = %2 %17 = load i32, ptr @M_PKTHDR, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %11, i64 32 %19 = load i32, ptr %18, align 8, !tbaa !12 %20 = or i32 %19, %17 store i32 %20, ptr %18, align 8, !tbaa !12 %21 = getelementptr inbounds i8, ptr %11, i64 8 store i64 %8, ptr %21, align 8, !tbaa !16 %22 = load i32, ptr @CSUM_TSO, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %11, i64 20 %24 = load i32, ptr %23, align 4, !tbaa !17 %25 = or i32 %24, %22 store i32 %25, ptr %23, align 4, !tbaa !17 %26 = load i32, ptr @TCP_MSS, align 4, !tbaa !6 %27 = add nsw i32 %26, -40 %28 = getelementptr inbounds i8, ptr %11, i64 16 store i32 %27, ptr %28, align 8, !tbaa !18 br label %29 29: ; preds = %16, %29 %30 = phi ptr [ %11, %16 ], [ %37, %29 ] %31 = phi i64 [ %8, %16 ], [ %35, %29 ] %32 = tail call i32 @M_TRAILINGSPACE(ptr noundef nonnull %30) #3 %33 = tail call i32 @MAX(i32 noundef %32, i64 noundef %31) #3 store i32 %33, ptr %30, align 8, !tbaa !19 %34 = sext i32 %33 to i64 %35 = sub i64 %31, %34 %36 = getelementptr inbounds i8, ptr %30, i64 24 %37 = load ptr, ptr %36, align 8, !tbaa !20 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %29, !llvm.loop !21 39: ; preds = %29 %40 = call i32 @xnb_mbufc2pkt(ptr noundef nonnull %11, ptr noundef nonnull %3, i64 noundef 3, i32 noundef 15) #3 %41 = call i32 @xnb_pkt_is_valid(ptr noundef nonnull %3) #3 %42 = call i32 @XNB_ASSERT(i32 noundef %41) #3 %43 = load i64, ptr %3, align 8, !tbaa !23 %44 = icmp eq i64 %43, %8 %45 = zext i1 %44 to i32 %46 = call i32 @XNB_ASSERT(i32 noundef %45) #3 %47 = getelementptr inbounds i8, ptr %3, i64 8 %48 = load i64, ptr %47, align 8, !tbaa !28 %49 = icmp eq i64 %48, 3 %50 = zext i1 %49 to i32 %51 = call i32 @XNB_ASSERT(i32 noundef %50) #3 %52 = load i32, ptr %11, align 8, !tbaa !19 %53 = getelementptr inbounds i8, ptr %3, i64 16 store i32 %52, ptr %53, align 8, !tbaa !29 %54 = call i32 @XNB_ASSERT(i32 noundef %52) #3 %55 = getelementptr inbounds i8, ptr %3, i64 20 %56 = load i32, ptr %55, align 4, !tbaa !30 %57 = load i32, ptr @NETRXF_extra_info, align 4, !tbaa !6 %58 = and i32 %57, %56 %59 = call i32 @XNB_ASSERT(i32 noundef %58) #3 %60 = load i32, ptr %55, align 4, !tbaa !30 %61 = load i32, ptr @NETRXF_data_validated, align 4, !tbaa !6 %62 = and i32 %61, %60 %63 = call i32 @XNB_ASSERT(i32 noundef %62) #3 %64 = getelementptr inbounds i8, ptr %3, i64 24 %65 = load i64, ptr %64, align 8, !tbaa !31 %66 = load i64, ptr %47, align 8, !tbaa !28 %67 = add nsw i64 %66, 2 %68 = icmp eq i64 %65, %67 %69 = zext i1 %68 to i32 %70 = call i32 @XNB_ASSERT(i32 noundef %69) #3 %71 = load i32, ptr %28, align 8, !tbaa !18 %72 = getelementptr inbounds i8, ptr %3, i64 32 %73 = getelementptr inbounds i8, ptr %3, i64 44 store i32 %71, ptr %73, align 4, !tbaa !32 %74 = call i32 @XNB_ASSERT(i32 noundef %71) #3 %75 = load i64, ptr %72, align 8, !tbaa !33 %76 = load i64, ptr @XEN_NETIF_EXTRA_TYPE_GSO, align 8, !tbaa !34 %77 = icmp eq i64 %75, %76 %78 = zext i1 %77 to i32 %79 = call i32 @XNB_ASSERT(i32 noundef %78) #3 %80 = getelementptr inbounds i8, ptr %3, i64 40 %81 = load i32, ptr %80, align 8, !tbaa !35 %82 = load i32, ptr @XEN_NETIF_EXTRA_FLAG_MORE, align 4, !tbaa !6 %83 = and i32 %82, %81 %84 = icmp eq i32 %83, 0 %85 = zext i1 %84 to i32 %86 = call i32 @XNB_ASSERT(i32 noundef %85) #3 %87 = call i32 @safe_m_freem(ptr noundef nonnull %4) #3 br label %88 88: ; preds = %2, %39 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 48, 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 @m_getm(ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @XNB_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @MAX(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @M_TRAILINGSPACE(ptr noundef) local_unnamed_addr #2 declare i32 @xnb_mbufc2pkt(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @xnb_pkt_is_valid(ptr noundef) local_unnamed_addr #2 declare i32 @safe_m_freem(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 32} !13 = !{!"mbuf", !7, i64 0, !14, i64 8, !11, i64 24, !7, i64 32} !14 = !{!"TYPE_7__", !15, i64 0, !7, i64 8, !7, i64 12} !15 = !{!"long", !8, i64 0} !16 = !{!13, !15, i64 8} !17 = !{!13, !7, i64 20} !18 = !{!13, !7, i64 16} !19 = !{!13, !7, i64 0} !20 = !{!13, !11, i64 24} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!24, !15, i64 0} !24 = !{!"xnb_pkt", !15, i64 0, !15, i64 8, !7, i64 16, !7, i64 20, !15, i64 24, !25, i64 32} !25 = !{!"TYPE_8__", !15, i64 0, !7, i64 8, !26, i64 12} !26 = !{!"TYPE_6__", !27, i64 0} !27 = !{!"TYPE_5__", !7, i64 0} !28 = !{!24, !15, i64 8} !29 = !{!24, !7, i64 16} !30 = !{!24, !7, i64 20} !31 = !{!24, !15, i64 24} !32 = !{!24, !7, i64 44} !33 = !{!24, !15, i64 32} !34 = !{!15, !15, i64 0} !35 = !{!24, !7, i64 40}
freebsd_sys_dev_xen_netback_extr_netback_unit_tests.c_xnb_mbufc2pkt_extra
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_sysvmsg_cleanup.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_sysvmsg_cleanup.c" target datalayout = "e-m:e-p270:32:32-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 @stub_sysvmsg_cleanup], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @stub_sysvmsg_cleanup(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_sysvmsg_cleanup.c' source_filename = "AnghaBench/freebsd/sys/security/mac_stub/extr_mac_stub.c_stub_sysvmsg_cleanup.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 @stub_sysvmsg_cleanup], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @stub_sysvmsg_cleanup(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_security_mac_stub_extr_mac_stub.c_stub_sysvmsg_cleanup
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs.h_is_machine_check.c' source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs.h_is_machine_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @INTR_INFO_INTR_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @INTR_INFO_VECTOR_MASK = dso_local local_unnamed_addr global i32 0, align 4 @INTR_INFO_VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4 @INTR_TYPE_HARD_EXCEPTION = dso_local local_unnamed_addr global i32 0, align 4 @MC_VECTOR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_machine_check], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @is_machine_check(i32 noundef %0) #0 { %2 = load i32, ptr @INTR_INFO_INTR_TYPE_MASK, align 4, !tbaa !5 %3 = load i32, ptr @INTR_INFO_VECTOR_MASK, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = load i32, ptr @INTR_INFO_VALID_MASK, align 4, !tbaa !5 %6 = or i32 %4, %5 %7 = and i32 %6, %0 %8 = load i32, ptr @INTR_TYPE_HARD_EXCEPTION, align 4, !tbaa !5 %9 = load i32, ptr @MC_VECTOR, align 4, !tbaa !5 %10 = or i32 %8, %9 %11 = or i32 %10, %5 %12 = icmp eq i32 %7, %11 %13 = zext i1 %12 to i32 ret i32 %13 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs.h_is_machine_check.c' source_filename = "AnghaBench/linux/arch/x86/kvm/vmx/extr_vmcs.h_is_machine_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INTR_INFO_INTR_TYPE_MASK = common local_unnamed_addr global i32 0, align 4 @INTR_INFO_VECTOR_MASK = common local_unnamed_addr global i32 0, align 4 @INTR_INFO_VALID_MASK = common local_unnamed_addr global i32 0, align 4 @INTR_TYPE_HARD_EXCEPTION = common local_unnamed_addr global i32 0, align 4 @MC_VECTOR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_machine_check], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @is_machine_check(i32 noundef %0) #0 { %2 = load i32, ptr @INTR_INFO_INTR_TYPE_MASK, align 4, !tbaa !6 %3 = load i32, ptr @INTR_INFO_VECTOR_MASK, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = load i32, ptr @INTR_INFO_VALID_MASK, align 4, !tbaa !6 %6 = or i32 %4, %5 %7 = and i32 %6, %0 %8 = load i32, ptr @INTR_TYPE_HARD_EXCEPTION, align 4, !tbaa !6 %9 = load i32, ptr @MC_VECTOR, align 4, !tbaa !6 %10 = or i32 %8, %9 %11 = or i32 %10, %5 %12 = icmp eq i32 %7, %11 %13 = zext i1 %12 to i32 ret i32 %13 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_x86_kvm_vmx_extr_vmcs.h_is_machine_check
; ModuleID = 'AnghaBench/linux/sound/pci/extr_cs4281.c_snd_cs4281_midi_input_trigger.c' source_filename = "AnghaBench/linux/sound/pci/extr_cs4281.c_snd_cs4281_midi_input_trigger.c" target datalayout = "e-m:e-p270:32:32-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.cs4281 = type { i32, i32 } @BA0_MIDCR_RIE = dso_local local_unnamed_addr global i32 0, align 4 @BA0_MIDCR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_cs4281_midi_input_trigger], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_cs4281_midi_input_trigger(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.cs4281, ptr %4, i64 0, i32 1 %6 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %5, i64 noundef undef) #2 %7 = icmp eq i32 %1, 0 %8 = load i32, ptr %4, align 4, !tbaa !12 %9 = load i32, ptr @BA0_MIDCR_RIE, align 4, !tbaa !15 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %7, label %15, label %12 12: ; preds = %2 br i1 %11, label %13, label %23 13: ; preds = %12 %14 = or i32 %9, %8 br label %19 15: ; preds = %2 br i1 %11, label %23, label %16 16: ; preds = %15 %17 = xor i32 %9, -1 %18 = and i32 %8, %17 br label %19 19: ; preds = %13, %16 %20 = phi i32 [ %18, %16 ], [ %14, %13 ] store i32 %20, ptr %4, align 4, !tbaa !12 %21 = load i32, ptr @BA0_MIDCR, align 4, !tbaa !15 %22 = tail call i32 @snd_cs4281_pokeBA0(ptr noundef nonnull %4, i32 noundef %21, i32 noundef %20) #2 br label %23 23: ; preds = %19, %15, %12 %24 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %5, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_cs4281_pokeBA0(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_rawmidi_substream", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"cs4281", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_cs4281.c_snd_cs4281_midi_input_trigger.c' source_filename = "AnghaBench/linux/sound/pci/extr_cs4281.c_snd_cs4281_midi_input_trigger.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BA0_MIDCR_RIE = common local_unnamed_addr global i32 0, align 4 @BA0_MIDCR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_cs4281_midi_input_trigger], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_cs4281_midi_input_trigger(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %5, i64 noundef undef) #2 %7 = icmp eq i32 %1, 0 %8 = load i32, ptr %4, align 4, !tbaa !13 %9 = load i32, ptr @BA0_MIDCR_RIE, align 4, !tbaa !16 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 br i1 %7, label %15, label %12 12: ; preds = %2 br i1 %11, label %13, label %23 13: ; preds = %12 %14 = or i32 %9, %8 br label %19 15: ; preds = %2 br i1 %11, label %23, label %16 16: ; preds = %15 %17 = xor i32 %9, -1 %18 = and i32 %8, %17 br label %19 19: ; preds = %13, %16 %20 = phi i32 [ %18, %16 ], [ %14, %13 ] store i32 %20, ptr %4, align 4, !tbaa !13 %21 = load i32, ptr @BA0_MIDCR, align 4, !tbaa !16 %22 = tail call i32 @snd_cs4281_pokeBA0(ptr noundef nonnull %4, i32 noundef %21, i32 noundef %20) #2 br label %23 23: ; preds = %19, %15, %12 %24 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %5, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @snd_cs4281_pokeBA0(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_rawmidi_substream", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"cs4281", !15, i64 0, !15, i64 4} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0}
linux_sound_pci_extr_cs4281.c_snd_cs4281_midi_input_trigger
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_tcp_enter_cwr.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_tcp_enter_cwr.c" target datalayout = "e-m:e-p270:32:32-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.tcp_sock = type { i32, i32, i32, i64, i32, i32, i64, i64, i64 } %struct.inet_connection_sock = type { i64, ptr } @TCP_CA_CWR = dso_local local_unnamed_addr global i64 0, align 8 @tcp_time_stamp = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @tcp_enter_cwr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @tcp_sk(ptr noundef %0) #3 %4 = tail call ptr @inet_csk(ptr noundef %0) #3 %5 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 7 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false) %6 = load i64, ptr %4, align 8, !tbaa !5 %7 = load i64, ptr @TCP_CA_CWR, align 8, !tbaa !11 %8 = icmp slt i64 %6, %7 br i1 %8, label %9, label %32 9: ; preds = %2 %10 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 6 store i64 0, ptr %10, align 8, !tbaa !12 %11 = icmp eq i32 %1, 0 br i1 %11, label %18, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.inet_connection_sock, ptr %4, i64 0, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !15 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = tail call i32 %15(ptr noundef %0) #3 %17 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 5 store i32 %16, ptr %17, align 4, !tbaa !18 br label %18 18: ; preds = %12, %9 %19 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 4 %20 = load i32, ptr %19, align 8, !tbaa !19 %21 = tail call i64 @tcp_packets_in_flight(ptr noundef nonnull %3) #3 %22 = add nsw i64 %21, 1 %23 = tail call i32 @min(i32 noundef %20, i64 noundef %22) #3 store i32 %23, ptr %19, align 8, !tbaa !19 %24 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 3 store i64 0, ptr %24, align 8, !tbaa !20 %25 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = getelementptr inbounds %struct.tcp_sock, ptr %3, i64 0, i32 2 store i32 %26, ptr %27, align 8, !tbaa !22 %28 = load i32, ptr @tcp_time_stamp, align 4, !tbaa !23 store i32 %28, ptr %3, align 8, !tbaa !24 %29 = tail call i32 @TCP_ECN_queue_cwr(ptr noundef nonnull %3) #3 %30 = load i64, ptr @TCP_CA_CWR, align 8, !tbaa !11 %31 = tail call i32 @tcp_set_ca_state(ptr noundef %0, i64 noundef %30) #3 br label %32 32: ; preds = %18, %2 ret void } declare ptr @tcp_sk(ptr noundef) local_unnamed_addr #1 declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @tcp_packets_in_flight(ptr noundef) local_unnamed_addr #1 declare i32 @TCP_ECN_queue_cwr(ptr noundef) local_unnamed_addr #1 declare i32 @tcp_set_ca_state(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"inet_connection_sock", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 32} !13 = !{!"tcp_sock", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 16, !14, i64 24, !14, i64 28, !7, i64 32, !7, i64 40, !7, i64 48} !14 = !{!"int", !8, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!17, !10, i64 0} !17 = !{!"TYPE_2__", !10, i64 0} !18 = !{!13, !14, i64 28} !19 = !{!13, !14, i64 24} !20 = !{!13, !7, i64 16} !21 = !{!13, !14, i64 4} !22 = !{!13, !14, i64 8} !23 = !{!14, !14, i64 0} !24 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_tcp_enter_cwr.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_tcp_enter_cwr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TCP_CA_CWR = common local_unnamed_addr global i64 0, align 8 @tcp_time_stamp = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @tcp_enter_cwr(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @tcp_sk(ptr noundef %0) #3 %4 = tail call ptr @inet_csk(ptr noundef %0) #3 %5 = getelementptr inbounds i8, ptr %3, i64 40 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false) %6 = load i64, ptr %4, align 8, !tbaa !6 %7 = load i64, ptr @TCP_CA_CWR, align 8, !tbaa !12 %8 = icmp slt i64 %6, %7 br i1 %8, label %9, label %32 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %3, i64 32 store i64 0, ptr %10, align 8, !tbaa !13 %11 = icmp eq i32 %1, 0 br i1 %11, label %18, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %4, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !16 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = tail call i32 %15(ptr noundef %0) #3 %17 = getelementptr inbounds i8, ptr %3, i64 28 store i32 %16, ptr %17, align 4, !tbaa !19 br label %18 18: ; preds = %12, %9 %19 = getelementptr inbounds i8, ptr %3, i64 24 %20 = load i32, ptr %19, align 8, !tbaa !20 %21 = tail call i64 @tcp_packets_in_flight(ptr noundef nonnull %3) #3 %22 = add nsw i64 %21, 1 %23 = tail call i32 @min(i32 noundef %20, i64 noundef %22) #3 store i32 %23, ptr %19, align 8, !tbaa !20 %24 = getelementptr inbounds i8, ptr %3, i64 16 store i64 0, ptr %24, align 8, !tbaa !21 %25 = getelementptr inbounds i8, ptr %3, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !22 %27 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %26, ptr %27, align 8, !tbaa !23 %28 = load i32, ptr @tcp_time_stamp, align 4, !tbaa !24 store i32 %28, ptr %3, align 8, !tbaa !25 %29 = tail call i32 @TCP_ECN_queue_cwr(ptr noundef nonnull %3) #3 %30 = load i64, ptr @TCP_CA_CWR, align 8, !tbaa !12 %31 = tail call i32 @tcp_set_ca_state(ptr noundef %0, i64 noundef %30) #3 br label %32 32: ; preds = %18, %2 ret void } declare ptr @tcp_sk(ptr noundef) local_unnamed_addr #1 declare ptr @inet_csk(ptr noundef) local_unnamed_addr #1 declare i32 @min(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @tcp_packets_in_flight(ptr noundef) local_unnamed_addr #1 declare i32 @TCP_ECN_queue_cwr(ptr noundef) local_unnamed_addr #1 declare i32 @tcp_set_ca_state(ptr noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"inet_connection_sock", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 32} !14 = !{!"tcp_sock", !15, i64 0, !15, i64 4, !15, i64 8, !8, i64 16, !15, i64 24, !15, i64 28, !8, i64 32, !8, i64 40, !8, i64 48} !15 = !{!"int", !9, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_2__", !11, i64 0} !19 = !{!14, !15, i64 28} !20 = !{!14, !15, i64 24} !21 = !{!14, !8, i64 16} !22 = !{!14, !15, i64 4} !23 = !{!14, !15, i64 8} !24 = !{!15, !15, i64 0} !25 = !{!14, !15, i64 0}
fastsocket_kernel_net_ipv4_extr_tcp_input.c_tcp_enter_cwr
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_umtx.c___umtx_op_nwake_private.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_umtx.c___umtx_op_nwake_private.c" target datalayout = "e-m:e-p270:32:32-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._umtx_op_args = type { i32, i64 } @BATCH_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__umtx_op_nwake_private], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__umtx_op_nwake_private(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @BATCH_SIZE, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 16 %6 = getelementptr inbounds %struct._umtx_op_args, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !9 %8 = inttoptr i64 %7 to ptr %9 = load i32, ptr %1, align 8, !tbaa !12 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %38 11: ; preds = %2, %33 %12 = phi i32 [ %35, %33 ], [ %9, %2 ] %13 = phi i32 [ %36, %33 ], [ 0, %2 ] %14 = load i32, ptr @BATCH_SIZE, align 4, !tbaa !5 %15 = call i32 @MIN(i32 noundef %12, i32 noundef %14) #2 %16 = sext i32 %13 to i64 %17 = getelementptr inbounds ptr, ptr %8, i64 %16 %18 = shl i32 %15, 3 %19 = call i32 @copyin(ptr noundef %17, ptr noundef nonnull %5, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %38 21: ; preds = %11 %22 = icmp sgt i32 %15, 0 br i1 %22, label %23, label %33 23: ; preds = %21 %24 = zext nneg i32 %15 to i64 br label %25 25: ; preds = %23, %25 %26 = phi i64 [ 0, %23 ], [ %31, %25 ] %27 = getelementptr inbounds ptr, ptr %5, i64 %26 %28 = load ptr, ptr %27, align 8, !tbaa !13 %29 = load i32, ptr @INT_MAX, align 4, !tbaa !5 %30 = call i32 @kern_umtx_wake(ptr noundef %0, ptr noundef %28, i32 noundef %29, i32 noundef 1) #2 %31 = add nuw nsw i64 %26, 1 %32 = icmp eq i64 %31, %24 br i1 %32, label %33, label %25, !llvm.loop !15 33: ; preds = %25, %21 %34 = call i32 (...) @maybe_yield() #2 %35 = sub nsw i32 %12, %15 %36 = add nsw i32 %15, %13 %37 = icmp sgt i32 %35, 0 br i1 %37, label %11, label %38, !llvm.loop !17 38: ; preds = %33, %11, %2 %39 = phi i32 [ 0, %2 ], [ %19, %11 ], [ 0, %33 ] ret i32 %39 } declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copyin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kern_umtx_wake(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @maybe_yield(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"_umtx_op_args", !6, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_umtx.c___umtx_op_nwake_private.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_umtx.c___umtx_op_nwake_private.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BATCH_SIZE = common local_unnamed_addr global i32 0, align 4 @INT_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__umtx_op_nwake_private], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @__umtx_op_nwake_private(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @BATCH_SIZE, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca ptr, i64 %4, align 8 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !10 %8 = inttoptr i64 %7 to ptr %9 = load i32, ptr %1, align 8, !tbaa !13 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %38 11: ; preds = %2, %33 %12 = phi i32 [ %35, %33 ], [ %9, %2 ] %13 = phi i32 [ %36, %33 ], [ 0, %2 ] %14 = load i32, ptr @BATCH_SIZE, align 4, !tbaa !6 %15 = call i32 @MIN(i32 noundef %12, i32 noundef %14) #2 %16 = sext i32 %13 to i64 %17 = getelementptr inbounds ptr, ptr %8, i64 %16 %18 = shl i32 %15, 3 %19 = call i32 @copyin(ptr noundef %17, ptr noundef nonnull %5, i32 noundef %18) #2 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %38 21: ; preds = %11 %22 = icmp sgt i32 %15, 0 br i1 %22, label %23, label %33 23: ; preds = %21 %24 = zext nneg i32 %15 to i64 br label %25 25: ; preds = %23, %25 %26 = phi i64 [ 0, %23 ], [ %31, %25 ] %27 = getelementptr inbounds ptr, ptr %5, i64 %26 %28 = load ptr, ptr %27, align 8, !tbaa !14 %29 = load i32, ptr @INT_MAX, align 4, !tbaa !6 %30 = call i32 @kern_umtx_wake(ptr noundef %0, ptr noundef %28, i32 noundef %29, i32 noundef 1) #2 %31 = add nuw nsw i64 %26, 1 %32 = icmp eq i64 %31, %24 br i1 %32, label %33, label %25, !llvm.loop !16 33: ; preds = %25, %21 %34 = call i32 @maybe_yield() #2 %35 = sub nsw i32 %12, %15 %36 = add nsw i32 %15, %13 %37 = icmp sgt i32 %35, 0 br i1 %37, label %11, label %38, !llvm.loop !18 38: ; preds = %33, %11, %2 %39 = phi i32 [ 0, %2 ], [ %19, %11 ], [ 0, %33 ] ret i32 %39 } declare i32 @MIN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @copyin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kern_umtx_wake(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @maybe_yield(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"_umtx_op_args", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
freebsd_sys_kern_extr_kern_umtx.c___umtx_op_nwake_private
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_scan_el_ts_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_scan_el_ts_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" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @iio_scan_el_ts_show(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"iio_dev", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_scan_el_ts_show.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_scan_el_ts_show.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"%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @iio_scan_el_ts_show(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %5) #2 ret i32 %6 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"iio_dev", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_staging_iio_extr_industrialio-ring.c_iio_scan_el_ts_show
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_gen_length.c_length_primitive.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_gen_length.c_length_primitive.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @codefile = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"%s += der_length_%s(%s);\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @length_primitive], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @length_primitive(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @codefile, align 4, !tbaa !5 %5 = tail call i32 @fprintf(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %2, ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_gen_length.c_length_primitive.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_gen_length.c_length_primitive.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @codefile = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"%s += der_length_%s(%s);\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @length_primitive], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @length_primitive(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @codefile, align 4, !tbaa !6 %5 = tail call i32 @fprintf(i32 noundef %4, ptr noundef nonnull @.str, ptr noundef %2, ptr noundef %0, ptr noundef %1) #2 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_crypto_heimdal_lib_asn1_extr_gen_length.c_length_primitive
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_base.c_ath5k_set_beacon_filter.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_base.c_ath5k_set_beacon_filter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AR5K_RX_FILTER_BEACON = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ath5k_set_beacon_filter(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @ath5k_hw_get_rx_filter(ptr noundef %3) #2 %5 = icmp eq i32 %1, 0 %6 = load i32, ptr @AR5K_RX_FILTER_BEACON, align 4, !tbaa !10 %7 = or i32 %6, %4 %8 = xor i32 %6, -1 %9 = and i32 %4, %8 %10 = select i1 %5, i32 %9, i32 %7 %11 = tail call i32 @ath5k_hw_set_rx_filter(ptr noundef %3, i32 noundef %10) #2 store i32 %10, ptr %3, align 4, !tbaa !12 ret void } declare i32 @ath5k_hw_get_rx_filter(ptr noundef) local_unnamed_addr #1 declare i32 @ath5k_hw_set_rx_filter(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 = !{!"ieee80211_hw", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"ath5k_hw", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_base.c_ath5k_set_beacon_filter.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_base.c_ath5k_set_beacon_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AR5K_RX_FILTER_BEACON = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ath5k_set_beacon_filter(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @ath5k_hw_get_rx_filter(ptr noundef %3) #2 %5 = icmp eq i32 %1, 0 %6 = load i32, ptr @AR5K_RX_FILTER_BEACON, align 4, !tbaa !11 %7 = or i32 %6, %4 %8 = xor i32 %6, -1 %9 = and i32 %4, %8 %10 = select i1 %5, i32 %9, i32 %7 %11 = tail call i32 @ath5k_hw_set_rx_filter(ptr noundef %3, i32 noundef %10) #2 store i32 %10, ptr %3, align 4, !tbaa !13 ret void } declare i32 @ath5k_hw_get_rx_filter(ptr noundef) local_unnamed_addr #1 declare i32 @ath5k_hw_set_rx_filter(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 = !{!"ieee80211_hw", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"ath5k_hw", !12, i64 0}
linux_drivers_net_wireless_ath_ath5k_extr_base.c_ath5k_set_beacon_filter
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_scsi.c_lpfc_update_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_scsi.c_lpfc_update_stats.c" target datalayout = "e-m:e-p270:32:32-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.lpfc_io_buf = type { ptr, i64, ptr } %struct.scsi_cmnd = type { i64, ptr } %struct.Scsi_Host = type { i32, i64 } %struct.lpfc_vport = type { i64, i32 } %struct.lpfc_hba = type { i64, i64, i32 } %struct.TYPE_4__ = type { i32 } @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @LPFC_NO_BUCKET = dso_local local_unnamed_addr global i64 0, align 8 @LPFC_LINEAR_BUCKET = dso_local local_unnamed_addr global i64 0, align 8 @LPFC_MAX_BUCKET_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_update_stats], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lpfc_update_stats(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.lpfc_io_buf, ptr %1, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.scsi_cmnd, ptr %4, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = getelementptr inbounds %struct.Scsi_Host, ptr %7, i64 0, i32 1 %9 = load i64, ptr %8, align 8, !tbaa !15 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds %struct.lpfc_vport, ptr %10, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !18 %13 = icmp eq i32 %12, 0 br i1 %13, label %87, label %14 14: ; preds = %2 %15 = load i64, ptr %10, align 8, !tbaa !20 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %87 17: ; preds = %14 %18 = load i64, ptr %4, align 8, !tbaa !21 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %87 20: ; preds = %17 %21 = load i64, ptr @jiffies, align 8, !tbaa !22 %22 = getelementptr inbounds %struct.lpfc_io_buf, ptr %1, i64 0, i32 1 %23 = load i64, ptr %22, align 8, !tbaa !23 %24 = sub nsw i64 %21, %23 %25 = tail call i64 @jiffies_to_msecs(i64 noundef %24) #2 %26 = load ptr, ptr %1, align 8, !tbaa !24 %27 = load ptr, ptr %26, align 8, !tbaa !25 %28 = load i32, ptr %7, align 8, !tbaa !27 %29 = tail call i32 @spin_lock_irqsave(i32 noundef %28, i64 noundef undef) #2 %30 = icmp eq ptr %27, null br i1 %30, label %84, label %31 31: ; preds = %20 %32 = load ptr, ptr %27, align 8, !tbaa !28 %33 = icmp eq ptr %32, null br i1 %33, label %84, label %34 34: ; preds = %31 %35 = load i64, ptr %0, align 8, !tbaa !30 %36 = load i64, ptr @LPFC_NO_BUCKET, align 8, !tbaa !22 %37 = icmp eq i64 %35, %36 br i1 %37, label %84, label %38 38: ; preds = %34 %39 = load i64, ptr @LPFC_LINEAR_BUCKET, align 8, !tbaa !22 %40 = icmp eq i64 %35, %39 br i1 %40, label %51, label %41 41: ; preds = %38 %42 = load i32, ptr @LPFC_MAX_BUCKET_COUNT, align 4, !tbaa !32 %43 = add i32 %42, -1 %44 = icmp sgt i32 %42, 1 br i1 %44, label %45, label %78 45: ; preds = %41 %46 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2 %47 = load i32, ptr %46, align 8, !tbaa !33 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 %50 = load i64, ptr %49, align 8, !tbaa !34 br label %68 51: ; preds = %38 %52 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 1 %53 = load i64, ptr %52, align 8, !tbaa !34 %54 = add i64 %53, %25 %55 = getelementptr inbounds %struct.lpfc_hba, ptr %0, i64 0, i32 2 %56 = load i32, ptr %55, align 8, !tbaa !33 %57 = xor i32 %56, -1 %58 = sext i32 %57 to i64 %59 = add i64 %54, %58 %60 = udiv i64 %59, %53 %61 = trunc i64 %60 to i32 %62 = icmp slt i32 %61, 0 br i1 %62, label %78, label %63 63: ; preds = %51 %64 = load i32, ptr @LPFC_MAX_BUCKET_COUNT, align 4, !tbaa !32 %65 = icmp sgt i32 %64, %61 %66 = add nsw i32 %64, -1 %67 = select i1 %65, i32 %61, i32 %66 br label %78 68: ; preds = %45, %75 %69 = phi i32 [ 0, %45 ], [ %76, %75 ] %70 = shl nuw i32 1, %69 %71 = sext i32 %70 to i64 %72 = mul i64 %50, %71 %73 = add i64 %72, %48 %74 = icmp ugt i64 %25, %73 br i1 %74, label %75, label %78 75: ; preds = %68 %76 = add nuw nsw i32 %69, 1 %77 = icmp eq i32 %76, %43 br i1 %77, label %78, label %68, !llvm.loop !35 78: ; preds = %68, %75, %41, %63, %51 %79 = phi i32 [ 0, %51 ], [ %67, %63 ], [ 0, %41 ], [ %69, %68 ], [ %43, %75 ] %80 = sext i32 %79 to i64 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %80 %82 = load i32, ptr %81, align 4, !tbaa !37 %83 = add nsw i32 %82, 1 store i32 %83, ptr %81, align 4, !tbaa !37 br label %84 84: ; preds = %20, %31, %34, %78 %85 = load i32, ptr %7, align 8, !tbaa !27 %86 = tail call i32 @spin_unlock_irqrestore(i32 noundef %85, i64 noundef undef) #2 br label %87 87: ; preds = %84, %2, %14, %17 ret void } declare i64 @jiffies_to_msecs(i64 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(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 16} !6 = !{!"lpfc_io_buf", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !7, i64 8} !12 = !{!"scsi_cmnd", !10, i64 0, !7, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_3__", !7, i64 0} !15 = !{!16, !10, i64 8} !16 = !{!"Scsi_Host", !17, i64 0, !10, i64 8} !17 = !{!"int", !8, i64 0} !18 = !{!19, !17, i64 8} !19 = !{!"lpfc_vport", !10, i64 0, !17, i64 8} !20 = !{!19, !10, i64 0} !21 = !{!12, !10, i64 0} !22 = !{!10, !10, i64 0} !23 = !{!6, !10, i64 8} !24 = !{!6, !7, i64 0} !25 = !{!26, !7, i64 0} !26 = !{!"lpfc_rport_data", !7, i64 0} !27 = !{!16, !17, i64 0} !28 = !{!29, !7, i64 0} !29 = !{!"lpfc_nodelist", !7, i64 0} !30 = !{!31, !10, i64 0} !31 = !{!"lpfc_hba", !10, i64 0, !10, i64 8, !17, i64 16} !32 = !{!17, !17, i64 0} !33 = !{!31, !17, i64 16} !34 = !{!31, !10, i64 8} !35 = distinct !{!35, !36} !36 = !{!"llvm.loop.mustprogress"} !37 = !{!38, !17, i64 0} !38 = !{!"TYPE_4__", !17, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_scsi.c_lpfc_update_stats.c' source_filename = "AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_scsi.c_lpfc_update_stats.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 } @jiffies = common local_unnamed_addr global i64 0, align 8 @LPFC_NO_BUCKET = common local_unnamed_addr global i64 0, align 8 @LPFC_LINEAR_BUCKET = common local_unnamed_addr global i64 0, align 8 @LPFC_MAX_BUCKET_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lpfc_update_stats], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lpfc_update_stats(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i64, ptr %8, align 8, !tbaa !16 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !19 %13 = icmp eq i32 %12, 0 br i1 %13, label %87, label %14 14: ; preds = %2 %15 = load i64, ptr %10, align 8, !tbaa !21 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %87 17: ; preds = %14 %18 = load i64, ptr %4, align 8, !tbaa !22 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %87 20: ; preds = %17 %21 = load i64, ptr @jiffies, align 8, !tbaa !23 %22 = getelementptr inbounds i8, ptr %1, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !24 %24 = sub nsw i64 %21, %23 %25 = tail call i64 @jiffies_to_msecs(i64 noundef %24) #2 %26 = load ptr, ptr %1, align 8, !tbaa !25 %27 = load ptr, ptr %26, align 8, !tbaa !26 %28 = load i32, ptr %7, align 8, !tbaa !28 %29 = tail call i32 @spin_lock_irqsave(i32 noundef %28, i64 noundef undef) #2 %30 = icmp eq ptr %27, null br i1 %30, label %84, label %31 31: ; preds = %20 %32 = load ptr, ptr %27, align 8, !tbaa !29 %33 = icmp eq ptr %32, null br i1 %33, label %84, label %34 34: ; preds = %31 %35 = load i64, ptr %0, align 8, !tbaa !31 %36 = load i64, ptr @LPFC_NO_BUCKET, align 8, !tbaa !23 %37 = icmp eq i64 %35, %36 br i1 %37, label %84, label %38 38: ; preds = %34 %39 = load i64, ptr @LPFC_LINEAR_BUCKET, align 8, !tbaa !23 %40 = icmp eq i64 %35, %39 br i1 %40, label %51, label %41 41: ; preds = %38 %42 = load i32, ptr @LPFC_MAX_BUCKET_COUNT, align 4, !tbaa !33 %43 = add i32 %42, -1 %44 = icmp sgt i32 %42, 1 br i1 %44, label %45, label %78 45: ; preds = %41 %46 = getelementptr inbounds i8, ptr %0, i64 16 %47 = load i32, ptr %46, align 8, !tbaa !34 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %0, i64 8 %50 = load i64, ptr %49, align 8, !tbaa !35 br label %68 51: ; preds = %38 %52 = getelementptr inbounds i8, ptr %0, i64 8 %53 = load i64, ptr %52, align 8, !tbaa !35 %54 = add i64 %53, %25 %55 = getelementptr inbounds i8, ptr %0, i64 16 %56 = load i32, ptr %55, align 8, !tbaa !34 %57 = xor i32 %56, -1 %58 = sext i32 %57 to i64 %59 = add i64 %54, %58 %60 = udiv i64 %59, %53 %61 = trunc i64 %60 to i32 %62 = icmp slt i32 %61, 0 br i1 %62, label %78, label %63 63: ; preds = %51 %64 = load i32, ptr @LPFC_MAX_BUCKET_COUNT, align 4, !tbaa !33 %65 = icmp sgt i32 %64, %61 %66 = add nsw i32 %64, -1 %67 = select i1 %65, i32 %61, i32 %66 br label %78 68: ; preds = %45, %75 %69 = phi i32 [ 0, %45 ], [ %76, %75 ] %70 = shl nuw i32 1, %69 %71 = sext i32 %70 to i64 %72 = mul i64 %50, %71 %73 = add i64 %72, %48 %74 = icmp ugt i64 %25, %73 br i1 %74, label %75, label %78 75: ; preds = %68 %76 = add nuw nsw i32 %69, 1 %77 = icmp eq i32 %76, %43 br i1 %77, label %78, label %68, !llvm.loop !36 78: ; preds = %68, %75, %41, %63, %51 %79 = phi i32 [ 0, %51 ], [ %67, %63 ], [ 0, %41 ], [ %69, %68 ], [ %43, %75 ] %80 = sext i32 %79 to i64 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %32, i64 %80 %82 = load i32, ptr %81, align 4, !tbaa !38 %83 = add nsw i32 %82, 1 store i32 %83, ptr %81, align 4, !tbaa !38 br label %84 84: ; preds = %20, %31, %34, %78 %85 = load i32, ptr %7, align 8, !tbaa !28 %86 = tail call i32 @spin_unlock_irqrestore(i32 noundef %85, i64 noundef undef) #2 br label %87 87: ; preds = %84, %2, %14, %17 ret void } declare i64 @jiffies_to_msecs(i64 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(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 16} !7 = !{!"lpfc_io_buf", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !8, i64 8} !13 = !{!"scsi_cmnd", !11, i64 0, !8, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_3__", !8, i64 0} !16 = !{!17, !11, i64 8} !17 = !{!"Scsi_Host", !18, i64 0, !11, i64 8} !18 = !{!"int", !9, i64 0} !19 = !{!20, !18, i64 8} !20 = !{!"lpfc_vport", !11, i64 0, !18, i64 8} !21 = !{!20, !11, i64 0} !22 = !{!13, !11, i64 0} !23 = !{!11, !11, i64 0} !24 = !{!7, !11, i64 8} !25 = !{!7, !8, i64 0} !26 = !{!27, !8, i64 0} !27 = !{!"lpfc_rport_data", !8, i64 0} !28 = !{!17, !18, i64 0} !29 = !{!30, !8, i64 0} !30 = !{!"lpfc_nodelist", !8, i64 0} !31 = !{!32, !11, i64 0} !32 = !{!"lpfc_hba", !11, i64 0, !11, i64 8, !18, i64 16} !33 = !{!18, !18, i64 0} !34 = !{!32, !18, i64 16} !35 = !{!32, !11, i64 8} !36 = distinct !{!36, !37} !37 = !{!"llvm.loop.mustprogress"} !38 = !{!39, !18, i64 0} !39 = !{!"TYPE_4__", !18, i64 0}
linux_drivers_scsi_lpfc_extr_lpfc_scsi.c_lpfc_update_stats
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_values.c_ghb_int_value.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_values.c_ghb_int_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" @ghb_int_value.gval = internal unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @ghb_int_value(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @ghb_int_value.gval, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call ptr @json_integer(i32 noundef %0) #2 store ptr %5, ptr @ghb_int_value.gval, align 8, !tbaa !5 br label %9 6: ; preds = %1 %7 = tail call i32 @json_integer_set(ptr noundef nonnull %2, i32 noundef %0) #2 %8 = load ptr, ptr @ghb_int_value.gval, align 8, !tbaa !5 br label %9 9: ; preds = %6, %4 %10 = phi ptr [ %8, %6 ], [ %5, %4 ] ret ptr %10 } declare ptr @json_integer(i32 noundef) local_unnamed_addr #1 declare i32 @json_integer_set(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_values.c_ghb_int_value.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_values.c_ghb_int_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ghb_int_value.gval = internal unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ghb_int_value(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @ghb_int_value.gval, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call ptr @json_integer(i32 noundef %0) #2 store ptr %5, ptr @ghb_int_value.gval, align 8, !tbaa !6 br label %9 6: ; preds = %1 %7 = tail call i32 @json_integer_set(ptr noundef nonnull %2, i32 noundef %0) #2 %8 = load ptr, ptr @ghb_int_value.gval, align 8, !tbaa !6 br label %9 9: ; preds = %6, %4 %10 = phi ptr [ %8, %6 ], [ %5, %4 ] ret ptr %10 } declare ptr @json_integer(i32 noundef) local_unnamed_addr #1 declare i32 @json_integer_set(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
HandBrake_gtk_src_extr_values.c_ghb_int_value
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_PrintGraf.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_PrintGraf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr } @ohandlers = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local void @PrintGraf(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @ohandlers, align 8, !tbaa !5 %5 = tail call i32 %4(i32 noundef %0, i32 noundef %1, i32 noundef %2) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_PrintGraf.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/sysutils/utils/pice/module/extr_hardware.c_PrintGraf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr } @ohandlers = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @PrintGraf(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr @ohandlers, align 8, !tbaa !6 %5 = tail call i32 %4(i32 noundef %0, i32 noundef %1, i32 noundef %2) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
reactos_modules_rosapps_applications_sysutils_utils_pice_module_extr_hardware.c_PrintGraf
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_send_peer_echo_rsp.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_send_peer_echo_rsp.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr } @.str = private unnamed_addr constant [43 x i8] c"L2CAP ignoring duplicate echo request (%d)\00", align 1 @L2CAP_CMD_BUF_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @BT_HDR_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @HCI_DATA_PREAMBLE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_PKT_OVERHEAD = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_CMD_OVERHEAD = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_ECHO_RSP_LEN = dso_local local_unnamed_addr global i64 0, align 8 @L2CAP_CMD_ECHO_RSP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"L2CAP - no buffer for echo_rsp\00", align 1 @L2CAP_SEND_CMD_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @l2cu_send_peer_echo_rsp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %1, 0 br i1 %5, label %9, label %6 6: ; preds = %4 %7 = load i64, ptr %0, align 8, !tbaa !5 %8 = icmp eq i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %6, %4 %10 = tail call i32 (ptr, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %1) #2 br label %56 11: ; preds = %6 store i64 %1, ptr %0, align 8, !tbaa !5 %12 = tail call ptr (...) @controller_get_interface() #2 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = tail call i64 (...) %13() #2 %15 = tail call ptr (...) @controller_get_interface() #2 %16 = getelementptr inbounds %struct.TYPE_7__, ptr %15, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !13 %18 = tail call i64 (...) %17() #2 %19 = load i64, ptr @L2CAP_CMD_BUF_SIZE, align 8 %20 = icmp sgt i64 %19, %18 %21 = select i1 %20, i64 %14, i64 %19 %22 = load i64, ptr @BT_HDR_SIZE, align 8, !tbaa !14 %23 = load i64, ptr @HCI_DATA_PREAMBLE_SIZE, align 8, !tbaa !14 %24 = load i64, ptr @L2CAP_PKT_OVERHEAD, align 8, !tbaa !14 %25 = load i64, ptr @L2CAP_CMD_OVERHEAD, align 8, !tbaa !14 %26 = load i64, ptr @L2CAP_ECHO_RSP_LEN, align 8, !tbaa !14 %27 = add i64 %23, %22 %28 = add i64 %27, %24 %29 = add i64 %28, %25 %30 = add i64 %29, %26 %31 = sub i64 %21, %30 %32 = icmp slt i64 %31, %3 %33 = select i1 %32, i64 0, i64 %3 %34 = add nsw i64 %33, %26 %35 = load i32, ptr @L2CAP_CMD_ECHO_RSP, align 4, !tbaa !15 %36 = tail call ptr @l2cu_build_header(ptr noundef nonnull %0, i64 noundef %34, i32 noundef %35, i64 noundef %1) #2 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %11 %39 = tail call i32 (ptr, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.1) #2 br label %56 40: ; preds = %11 %41 = icmp eq i64 %33, 0 br i1 %41, label %54, label %42 42: ; preds = %40 %43 = getelementptr inbounds i32, ptr %36, i64 1 %44 = load i32, ptr @L2CAP_SEND_CMD_OFFSET, align 4, !tbaa !15 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 %47 = load i64, ptr @HCI_DATA_PREAMBLE_SIZE, align 8, !tbaa !14 %48 = getelementptr inbounds i64, ptr %46, i64 %47 %49 = load i64, ptr @L2CAP_PKT_OVERHEAD, align 8, !tbaa !14 %50 = getelementptr inbounds i64, ptr %48, i64 %49 %51 = load i64, ptr @L2CAP_CMD_OVERHEAD, align 8, !tbaa !14 %52 = getelementptr inbounds i64, ptr %50, i64 %51 %53 = tail call i32 @ARRAY_TO_STREAM(ptr noundef nonnull %52, ptr noundef %2, i64 noundef %33) #2 br label %54 54: ; preds = %42, %40 %55 = tail call i32 @l2c_link_check_send_pkts(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %36) #2 br label %56 56: ; preds = %38, %54, %9 ret void } declare i32 @L2CAP_TRACE_WARNING(ptr noundef, ...) local_unnamed_addr #1 declare ptr @controller_get_interface(...) local_unnamed_addr #1 declare ptr @l2cu_build_header(ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ARRAY_TO_STREAM(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @l2c_link_check_send_pkts(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!7, !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_send_peer_echo_rsp.c' source_filename = "AnghaBench/esp-idf/components/bt/host/bluedroid/stack/l2cap/extr_l2c_utils.c_l2cu_send_peer_echo_rsp.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 [43 x i8] c"L2CAP ignoring duplicate echo request (%d)\00", align 1 @L2CAP_CMD_BUF_SIZE = common local_unnamed_addr global i64 0, align 8 @BT_HDR_SIZE = common local_unnamed_addr global i64 0, align 8 @HCI_DATA_PREAMBLE_SIZE = common local_unnamed_addr global i64 0, align 8 @L2CAP_PKT_OVERHEAD = common local_unnamed_addr global i64 0, align 8 @L2CAP_CMD_OVERHEAD = common local_unnamed_addr global i64 0, align 8 @L2CAP_ECHO_RSP_LEN = common local_unnamed_addr global i64 0, align 8 @L2CAP_CMD_ECHO_RSP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [31 x i8] c"L2CAP - no buffer for echo_rsp\00", align 1 @L2CAP_SEND_CMD_OFFSET = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @l2cu_send_peer_echo_rsp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i64 %1, 0 br i1 %5, label %9, label %6 6: ; preds = %4 %7 = load i64, ptr %0, align 8, !tbaa !6 %8 = icmp eq i64 %7, %1 br i1 %8, label %9, label %11 9: ; preds = %6, %4 %10 = tail call i32 (ptr, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str, i64 noundef %1) #2 br label %56 11: ; preds = %6 store i64 %1, ptr %0, align 8, !tbaa !6 %12 = tail call ptr @controller_get_interface() #2 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = tail call i64 %13() #2 %15 = tail call ptr @controller_get_interface() #2 %16 = getelementptr inbounds i8, ptr %15, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = tail call i64 %17() #2 %19 = load i64, ptr @L2CAP_CMD_BUF_SIZE, align 8 %20 = icmp sgt i64 %19, %18 %21 = select i1 %20, i64 %14, i64 %19 %22 = load i64, ptr @BT_HDR_SIZE, align 8, !tbaa !15 %23 = load i64, ptr @HCI_DATA_PREAMBLE_SIZE, align 8, !tbaa !15 %24 = load i64, ptr @L2CAP_PKT_OVERHEAD, align 8, !tbaa !15 %25 = load i64, ptr @L2CAP_CMD_OVERHEAD, align 8, !tbaa !15 %26 = load i64, ptr @L2CAP_ECHO_RSP_LEN, align 8, !tbaa !15 %27 = add i64 %23, %22 %28 = add i64 %27, %24 %29 = add i64 %28, %25 %30 = add i64 %29, %26 %31 = sub i64 %21, %30 %32 = icmp slt i64 %31, %3 %33 = select i1 %32, i64 0, i64 %3 %34 = add nsw i64 %33, %26 %35 = load i32, ptr @L2CAP_CMD_ECHO_RSP, align 4, !tbaa !16 %36 = tail call ptr @l2cu_build_header(ptr noundef nonnull %0, i64 noundef %34, i32 noundef %35, i64 noundef %1) #2 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %11 %39 = tail call i32 (ptr, ...) @L2CAP_TRACE_WARNING(ptr noundef nonnull @.str.1) #2 br label %56 40: ; preds = %11 %41 = icmp eq i64 %33, 0 br i1 %41, label %54, label %42 42: ; preds = %40 %43 = getelementptr inbounds i8, ptr %36, i64 4 %44 = load i32, ptr @L2CAP_SEND_CMD_OFFSET, align 4, !tbaa !16 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 %47 = load i64, ptr @HCI_DATA_PREAMBLE_SIZE, align 8, !tbaa !15 %48 = getelementptr inbounds i64, ptr %46, i64 %47 %49 = load i64, ptr @L2CAP_PKT_OVERHEAD, align 8, !tbaa !15 %50 = getelementptr inbounds i64, ptr %48, i64 %49 %51 = load i64, ptr @L2CAP_CMD_OVERHEAD, align 8, !tbaa !15 %52 = getelementptr inbounds i64, ptr %50, i64 %51 %53 = tail call i32 @ARRAY_TO_STREAM(ptr noundef nonnull %52, ptr noundef %2, i64 noundef %33) #2 br label %54 54: ; preds = %42, %40 %55 = tail call i32 @l2c_link_check_send_pkts(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %36) #2 br label %56 56: ; preds = %38, %54, %9 ret void } declare i32 @L2CAP_TRACE_WARNING(ptr noundef, ...) local_unnamed_addr #1 declare ptr @controller_get_interface(...) local_unnamed_addr #1 declare ptr @l2cu_build_header(ptr noundef, i64 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ARRAY_TO_STREAM(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @l2c_link_check_send_pkts(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_7__", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!8, !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
esp-idf_components_bt_host_bluedroid_stack_l2cap_extr_l2c_utils.c_l2cu_send_peer_echo_rsp
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_icoenc.c_ico_write_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_icoenc.c_ico_write_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, ptr, ptr, ptr } %struct.TYPE_12__ = type { i32, i32, i64 } @AVIO_SEEKABLE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Output is not seekable\0A\00", align 1 @EINVAL = 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 @ico_write_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ico_write_header(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr @AVIO_SEEKABLE_NORMAL, align 4, !tbaa !14 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !14 %12 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @EINVAL, align 4, !tbaa !14 %14 = tail call i32 @AVERROR(i32 noundef %13) #2 br label %49 15: ; preds = %1 %16 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 2 store i64 0, ptr %16, align 8, !tbaa !15 %17 = load i32, ptr %0, align 8, !tbaa !18 store i32 %17, ptr %3, align 8, !tbaa !19 %18 = tail call i32 @avio_wl16(ptr noundef nonnull %5, i32 noundef 0) #2 %19 = tail call i32 @avio_wl16(ptr noundef nonnull %5, i32 noundef 1) #2 %20 = tail call i32 @avio_skip(ptr noundef nonnull %5, i32 noundef 2) #2 %21 = load i32, ptr %0, align 8, !tbaa !18 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %39 23: ; preds = %15 %24 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 br label %25 25: ; preds = %23, %33 %26 = phi i64 [ 0, %23 ], [ %35, %33 ] %27 = load ptr, ptr %24, align 8, !tbaa !20 %28 = getelementptr inbounds ptr, ptr %27, i64 %26 %29 = load ptr, ptr %28, align 8, !tbaa !21 %30 = load i32, ptr %29, align 4, !tbaa !22 %31 = tail call i32 @ico_check_attributes(ptr noundef nonnull %0, i32 noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %49 33: ; preds = %25 %34 = tail call i32 @avio_skip(ptr noundef nonnull %5, i32 noundef 16) #2 %35 = add nuw nsw i64 %26, 1 %36 = load i32, ptr %0, align 8, !tbaa !18 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %25, label %39, !llvm.loop !24 39: ; preds = %33, %15 %40 = load i32, ptr %3, align 8, !tbaa !19 %41 = tail call i32 @av_mallocz_array(i32 noundef %40, i32 noundef 16) #2 %42 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 1 store i32 %41, ptr %42, align 4, !tbaa !26 %43 = icmp eq i32 %41, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %46 = tail call i32 @AVERROR(i32 noundef %45) #2 br label %49 47: ; preds = %39 %48 = tail call i32 @avio_flush(ptr noundef nonnull %5) #2 br label %49 49: ; preds = %25, %47, %44, %10 %50 = phi i32 [ 0, %47 ], [ %46, %44 ], [ %14, %10 ], [ %31, %25 ] ret i32 %50 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @avio_wl16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_skip(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ico_check_attributes(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_mallocz_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_flush(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"TYPE_14__", !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 = !{!6, !10, i64 16} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_13__", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!16, !17, i64 8} !16 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !17, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!6, !7, i64 0} !19 = !{!16, !7, i64 0} !20 = !{!6, !10, i64 8} !21 = !{!10, !10, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_11__", !7, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!16, !7, i64 4}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_icoenc.c_ico_write_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_icoenc.c_ico_write_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AVIO_SEEKABLE_NORMAL = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Output is not seekable\0A\00", align 1 @EINVAL = 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 @ico_write_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ico_write_header(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr %5, align 4, !tbaa !13 %7 = load i32, ptr @AVIO_SEEKABLE_NORMAL, align 4, !tbaa !15 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !15 %12 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull @.str) #2 %13 = load i32, ptr @EINVAL, align 4, !tbaa !15 %14 = tail call i32 @AVERROR(i32 noundef %13) #2 br label %49 15: ; preds = %1 %16 = getelementptr inbounds i8, ptr %3, i64 8 store i64 0, ptr %16, align 8, !tbaa !16 %17 = load i32, ptr %0, align 8, !tbaa !19 store i32 %17, ptr %3, align 8, !tbaa !20 %18 = tail call i32 @avio_wl16(ptr noundef nonnull %5, i32 noundef 0) #2 %19 = tail call i32 @avio_wl16(ptr noundef nonnull %5, i32 noundef 1) #2 %20 = tail call i32 @avio_skip(ptr noundef nonnull %5, i32 noundef 2) #2 %21 = load i32, ptr %0, align 8, !tbaa !19 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %39 23: ; preds = %15 %24 = getelementptr inbounds i8, ptr %0, i64 8 br label %25 25: ; preds = %23, %33 %26 = phi i64 [ 0, %23 ], [ %35, %33 ] %27 = load ptr, ptr %24, align 8, !tbaa !21 %28 = getelementptr inbounds ptr, ptr %27, i64 %26 %29 = load ptr, ptr %28, align 8, !tbaa !22 %30 = load i32, ptr %29, align 4, !tbaa !23 %31 = tail call i32 @ico_check_attributes(ptr noundef nonnull %0, i32 noundef %30) #2 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %49 33: ; preds = %25 %34 = tail call i32 @avio_skip(ptr noundef nonnull %5, i32 noundef 16) #2 %35 = add nuw nsw i64 %26, 1 %36 = load i32, ptr %0, align 8, !tbaa !19 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %25, label %39, !llvm.loop !25 39: ; preds = %33, %15 %40 = load i32, ptr %3, align 8, !tbaa !20 %41 = tail call i32 @av_mallocz_array(i32 noundef %40, i32 noundef 16) #2 %42 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %41, ptr %42, align 4, !tbaa !27 %43 = icmp eq i32 %41, 0 br i1 %43, label %44, label %47 44: ; preds = %39 %45 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %46 = tail call i32 @AVERROR(i32 noundef %45) #2 br label %49 47: ; preds = %39 %48 = tail call i32 @avio_flush(ptr noundef nonnull %5) #2 br label %49 49: ; preds = %25, %47, %44, %10 %50 = phi i32 [ 0, %47 ], [ %46, %44 ], [ %14, %10 ], [ %31, %25 ] ret i32 %50 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #1 declare i32 @avio_wl16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_skip(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ico_check_attributes(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_mallocz_array(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_flush(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"TYPE_14__", !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 = !{!7, !11, i64 16} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_13__", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!17, !18, i64 8} !17 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !18, i64 8} !18 = !{!"long", !9, i64 0} !19 = !{!7, !8, i64 0} !20 = !{!17, !8, i64 0} !21 = !{!7, !11, i64 8} !22 = !{!11, !11, i64 0} !23 = !{!24, !8, i64 0} !24 = !{!"TYPE_11__", !8, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!17, !8, i64 4}
FFmpeg_libavformat_extr_icoenc.c_ico_write_header
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_editor.c_move_cb.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_editor.c_move_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @move_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @move_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = tail call ptr @FSPATH(ptr noundef %1, ptr noundef %5) #3 %10 = tail call ptr @FSPATH(ptr noundef %3, ptr noundef %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %11 = call i32 @get_root(ptr noundef nonnull %7, ptr noundef %0) #3 %12 = call i32 @SVN_ERR(i32 noundef %11) #3 %13 = load ptr, ptr %7, align 8, !tbaa !5 %14 = call i32 @can_modify(ptr noundef %13, ptr noundef %9, i32 noundef %2, ptr noundef %5) #3 %15 = call i32 @SVN_ERR(i32 noundef %14) #3 %16 = call i64 @SVN_IS_VALID_REVNUM(i32 noundef %4) #3 %17 = icmp eq i64 %16, 0 %18 = load ptr, ptr %7, align 8, !tbaa !5 br i1 %17, label %24, label %19 19: ; preds = %6 %20 = call i32 @can_modify(ptr noundef %18, ptr noundef %10, i32 noundef %4, ptr noundef %5) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = load ptr, ptr %7, align 8, !tbaa !5 %23 = call i32 @svn_fs_delete(ptr noundef %22, ptr noundef %10, ptr noundef %5) #3 br label %26 24: ; preds = %6 %25 = call i32 @can_create(ptr noundef %18, ptr noundef %10, ptr noundef %5) #3 br label %26 26: ; preds = %24, %19 %27 = phi i32 [ %25, %24 ], [ %23, %19 ] %28 = call i32 @SVN_ERR(i32 noundef %27) #3 %29 = load ptr, ptr %7, align 8, !tbaa !5 %30 = call i32 @svn_fs_root_fs(ptr noundef %29) #3 %31 = call i32 @svn_fs_revision_root(ptr noundef nonnull %8, i32 noundef %30, i32 noundef %2, ptr noundef %5) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %8, align 8, !tbaa !5 %34 = load ptr, ptr %7, align 8, !tbaa !5 %35 = call i32 @svn_fs_copy(ptr noundef %33, ptr noundef %9, ptr noundef %34, ptr noundef %10, ptr noundef %5) #3 %36 = call i32 @SVN_ERR(i32 noundef %35) #3 %37 = load ptr, ptr %8, align 8, !tbaa !5 %38 = call i32 @svn_fs_close_root(ptr noundef %37) #3 %39 = load ptr, ptr %7, align 8, !tbaa !5 %40 = call i32 @svn_fs_delete(ptr noundef %39, ptr noundef %9, ptr noundef %5) #3 %41 = call i32 @SVN_ERR(i32 noundef %40) #3 %42 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret ptr %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @FSPATH(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @get_root(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @can_modify(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_delete(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @can_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_revision_root(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_root_fs(ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_copy(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_close_root(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"}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_editor.c_move_cb.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_editor.c_move_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @move_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @move_cb(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = tail call ptr @FSPATH(ptr noundef %1, ptr noundef %5) #3 %10 = tail call ptr @FSPATH(ptr noundef %3, ptr noundef %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %11 = call i32 @get_root(ptr noundef nonnull %7, ptr noundef %0) #3 %12 = call i32 @SVN_ERR(i32 noundef %11) #3 %13 = load ptr, ptr %7, align 8, !tbaa !6 %14 = call i32 @can_modify(ptr noundef %13, ptr noundef %9, i32 noundef %2, ptr noundef %5) #3 %15 = call i32 @SVN_ERR(i32 noundef %14) #3 %16 = call i64 @SVN_IS_VALID_REVNUM(i32 noundef %4) #3 %17 = icmp eq i64 %16, 0 %18 = load ptr, ptr %7, align 8, !tbaa !6 br i1 %17, label %24, label %19 19: ; preds = %6 %20 = call i32 @can_modify(ptr noundef %18, ptr noundef %10, i32 noundef %4, ptr noundef %5) #3 %21 = call i32 @SVN_ERR(i32 noundef %20) #3 %22 = load ptr, ptr %7, align 8, !tbaa !6 %23 = call i32 @svn_fs_delete(ptr noundef %22, ptr noundef %10, ptr noundef %5) #3 br label %26 24: ; preds = %6 %25 = call i32 @can_create(ptr noundef %18, ptr noundef %10, ptr noundef %5) #3 br label %26 26: ; preds = %24, %19 %27 = phi i32 [ %25, %24 ], [ %23, %19 ] %28 = call i32 @SVN_ERR(i32 noundef %27) #3 %29 = load ptr, ptr %7, align 8, !tbaa !6 %30 = call i32 @svn_fs_root_fs(ptr noundef %29) #3 %31 = call i32 @svn_fs_revision_root(ptr noundef nonnull %8, i32 noundef %30, i32 noundef %2, ptr noundef %5) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %8, align 8, !tbaa !6 %34 = load ptr, ptr %7, align 8, !tbaa !6 %35 = call i32 @svn_fs_copy(ptr noundef %33, ptr noundef %9, ptr noundef %34, ptr noundef %10, ptr noundef %5) #3 %36 = call i32 @SVN_ERR(i32 noundef %35) #3 %37 = load ptr, ptr %8, align 8, !tbaa !6 %38 = call i32 @svn_fs_close_root(ptr noundef %37) #3 %39 = load ptr, ptr %7, align 8, !tbaa !6 %40 = call i32 @svn_fs_delete(ptr noundef %39, ptr noundef %9, ptr noundef %5) #3 %41 = call i32 @SVN_ERR(i32 noundef %40) #3 %42 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret ptr %42 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @FSPATH(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @get_root(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @can_modify(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SVN_IS_VALID_REVNUM(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_delete(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @can_create(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_revision_root(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_root_fs(ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_copy(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_close_root(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"}
freebsd_contrib_subversion_subversion_libsvn_fs_extr_editor.c_move_cb
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_mla_softif_get.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_mla_softif_get.c" target datalayout = "e-m:e-p270:32:32-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 @batadv_mcast_mla_softif_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @batadv_mcast_mla_softif_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @batadv_mcast_get_bridge(ptr noundef %0) #2 %5 = icmp eq ptr %4, null %6 = select i1 %5, ptr %0, ptr %4 %7 = tail call i32 @batadv_mcast_mla_softif_get_ipv4(ptr noundef %6, ptr noundef %1, ptr noundef %2) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = tail call i32 @batadv_mcast_mla_softif_get_ipv6(ptr noundef %6, ptr noundef %1, ptr noundef %2) #2 %11 = icmp slt i32 %10, 0 %12 = select i1 %11, i32 0, i32 %7 br label %13 13: ; preds = %9, %3 %14 = phi i32 [ %7, %3 ], [ %12, %9 ] %15 = phi i32 [ 0, %3 ], [ %10, %9 ] br i1 %5, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @dev_put(ptr noundef nonnull %4) #2 br label %18 18: ; preds = %16, %13 %19 = add nsw i32 %15, %14 ret i32 %19 } declare ptr @batadv_mcast_get_bridge(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_mcast_mla_softif_get_ipv4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @batadv_mcast_mla_softif_get_ipv6(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @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)"}
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_mla_softif_get.c' source_filename = "AnghaBench/linux/net/batman-adv/extr_multicast.c_batadv_mcast_mla_softif_get.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 @batadv_mcast_mla_softif_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @batadv_mcast_mla_softif_get(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @batadv_mcast_get_bridge(ptr noundef %0) #2 %5 = icmp eq ptr %4, null %6 = select i1 %5, ptr %0, ptr %4 %7 = tail call i32 @batadv_mcast_mla_softif_get_ipv4(ptr noundef %6, ptr noundef %1, ptr noundef %2) #2 %8 = icmp slt i32 %7, 0 br i1 %8, label %13, label %9 9: ; preds = %3 %10 = tail call i32 @batadv_mcast_mla_softif_get_ipv6(ptr noundef %6, ptr noundef %1, ptr noundef %2) #2 %11 = icmp slt i32 %10, 0 %12 = select i1 %11, i32 0, i32 %7 br label %13 13: ; preds = %9, %3 %14 = phi i32 [ %7, %3 ], [ %12, %9 ] %15 = phi i32 [ 0, %3 ], [ %10, %9 ] br i1 %5, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @dev_put(ptr noundef nonnull %4) #2 br label %18 18: ; preds = %16, %13 %19 = add nsw i32 %15, %14 ret i32 %19 } declare ptr @batadv_mcast_get_bridge(ptr noundef) local_unnamed_addr #1 declare i32 @batadv_mcast_mla_softif_get_ipv4(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @batadv_mcast_mla_softif_get_ipv6(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @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)"}
linux_net_batman-adv_extr_multicast.c_batadv_mcast_mla_softif_get
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_get_random.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_get_random.c" target datalayout = "e-m:e-p270:32:32-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.tls_connection = type { i32, i32, ptr } %struct.tls_random = type { i32, i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tls_connection_get_random(ptr nocapture noundef readnone %0, ptr noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %1, null %5 = icmp ne ptr %2, null %6 = and i1 %4, %5 br i1 %6, label %7, label %21 7: ; preds = %3 %8 = getelementptr inbounds %struct.tls_connection, ptr %1, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = icmp eq ptr %9, null br i1 %10, label %21, label %11 11: ; preds = %7 %12 = tail call i32 @os_memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #2 %13 = getelementptr inbounds %struct.tls_connection, ptr %1, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = getelementptr inbounds %struct.tls_random, ptr %2, i64 0, i32 3 store i32 %14, ptr %15, align 4, !tbaa !12 %16 = tail call i32 @wolfSSL_get_client_random(ptr noundef nonnull %9, i32 noundef %14, i32 noundef 4) #2 %17 = getelementptr inbounds %struct.tls_random, ptr %2, i64 0, i32 2 store i32 %16, ptr %17, align 4, !tbaa !14 %18 = load i32, ptr %1, align 8, !tbaa !15 %19 = getelementptr inbounds %struct.tls_random, ptr %2, i64 0, i32 1 store i32 %18, ptr %19, align 4, !tbaa !16 %20 = tail call i32 @wolfSSL_get_server_random(ptr noundef nonnull %9, i32 noundef %18, i32 noundef 4) #2 store i32 %20, ptr %2, align 4, !tbaa !17 br label %21 21: ; preds = %7, %3, %11 %22 = phi i32 [ 0, %11 ], [ -1, %3 ], [ -1, %7 ] ret i32 %22 } declare i32 @os_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_get_client_random(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_get_server_random(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, !10, i64 8} !6 = !{!"tls_connection", !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 = !{!6, !7, i64 4} !12 = !{!13, !7, i64 12} !13 = !{!"tls_random", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!13, !7, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!13, !7, i64 4} !17 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_get_random.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_wolfssl.c_tls_connection_get_random.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @tls_connection_get_random(ptr nocapture noundef readnone %0, ptr noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp ne ptr %1, null %5 = icmp ne ptr %2, null %6 = and i1 %4, %5 br i1 %6, label %7, label %21 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %1, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = icmp eq ptr %9, null br i1 %10, label %21, label %11 11: ; preds = %7 %12 = tail call i32 @os_memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 16) #2 %13 = getelementptr inbounds i8, ptr %1, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = getelementptr inbounds i8, ptr %2, i64 12 store i32 %14, ptr %15, align 4, !tbaa !13 %16 = tail call i32 @wolfSSL_get_client_random(ptr noundef nonnull %9, i32 noundef %14, i32 noundef 4) #2 %17 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %16, ptr %17, align 4, !tbaa !15 %18 = load i32, ptr %1, align 8, !tbaa !16 %19 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %18, ptr %19, align 4, !tbaa !17 %20 = tail call i32 @wolfSSL_get_server_random(ptr noundef nonnull %9, i32 noundef %18, i32 noundef 4) #2 store i32 %20, ptr %2, align 4, !tbaa !18 br label %21 21: ; preds = %7, %3, %11 %22 = phi i32 [ 0, %11 ], [ -1, %3 ], [ -1, %7 ] ret i32 %22 } declare i32 @os_memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_get_client_random(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wolfSSL_get_server_random(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, !11, i64 8} !7 = !{!"tls_connection", !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 = !{!7, !8, i64 4} !13 = !{!14, !8, i64 12} !14 = !{!"tls_random", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !15 = !{!14, !8, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!14, !8, i64 4} !18 = !{!14, !8, i64 0}
freebsd_contrib_wpa_src_crypto_extr_tls_wolfssl.c_tls_connection_get_random
; ModuleID = 'AnghaBench/lab/engine/code/botlib/extr_l_precomp.c_PC_FreeSourceHandle.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_l_precomp.c_PC_FreeSourceHandle.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" @MAX_SOURCEFILES = dso_local local_unnamed_addr global i32 0, align 4 @qfalse = dso_local local_unnamed_addr global i32 0, align 4 @sourceFiles = dso_local local_unnamed_addr global i32** null, align 8 @qtrue = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @PC_FreeSourceHandle(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, 0 %3 = load i32, i32* @MAX_SOURCEFILES, align 4 %4 = icmp sgt i32 %3, %0 %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %16 6: ; preds = %1 %7 = load i32**, i32*** @sourceFiles, align 8, !tbaa !5 %8 = zext i32 %0 to i64 %9 = getelementptr inbounds i32*, i32** %7, i64 %8 %10 = load i32*, i32** %9, align 8, !tbaa !5 %11 = icmp eq i32* %10, null br i1 %11, label %16, label %12 12: ; preds = %6 %13 = tail call i32 @FreeSource(i32* noundef nonnull %10) #2 %14 = load i32**, i32*** @sourceFiles, align 8, !tbaa !5 %15 = getelementptr inbounds i32*, i32** %14, i64 %8 store i32* null, i32** %15, align 8, !tbaa !5 br label %16 16: ; preds = %6, %1, %12 %17 = phi i32* [ @qtrue, %12 ], [ @qfalse, %1 ], [ @qfalse, %6 ] %18 = load i32, i32* %17, align 4, !tbaa !9 ret i32 %18 } declare i32 @FreeSource(i32* noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"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/lab/engine/code/botlib/extr_l_precomp.c_PC_FreeSourceHandle.c' source_filename = "AnghaBench/lab/engine/code/botlib/extr_l_precomp.c_PC_FreeSourceHandle.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_SOURCEFILES = common local_unnamed_addr global i32 0, align 4 @qfalse = common local_unnamed_addr global i32 0, align 4 @sourceFiles = common local_unnamed_addr global ptr null, align 8 @qtrue = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @PC_FreeSourceHandle(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp sgt i32 %0, 0 %3 = load i32, ptr @MAX_SOURCEFILES, align 4 %4 = icmp sgt i32 %3, %0 %5 = select i1 %2, i1 %4, i1 false br i1 %5, label %6, label %16 6: ; preds = %1 %7 = load ptr, ptr @sourceFiles, align 8, !tbaa !6 %8 = zext nneg i32 %0 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = icmp eq ptr %10, null br i1 %11, label %16, label %12 12: ; preds = %6 %13 = tail call i32 @FreeSource(ptr noundef nonnull %10) #2 %14 = load ptr, ptr @sourceFiles, align 8, !tbaa !6 %15 = getelementptr inbounds ptr, ptr %14, i64 %8 store ptr null, ptr %15, align 8, !tbaa !6 br label %16 16: ; preds = %6, %1, %12 %17 = phi ptr [ @qtrue, %12 ], [ @qfalse, %1 ], [ @qfalse, %6 ] %18 = load i32, ptr %17, align 4, !tbaa !10 ret i32 %18 } declare i32 @FreeSource(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
lab_engine_code_botlib_extr_l_precomp.c_PC_FreeSourceHandle
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_mbuf.c_mleak_sort_traces.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_mbuf.c_mleak_sort_traces.c" target datalayout = "e-m:e-p270:32:32-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.mtrace = type { i64 } @MLEAK_NUM_TRACES = dso_local local_unnamed_addr global i32 0, align 4 @mleak_top_trace = dso_local local_unnamed_addr global ptr null, align 8 @mleak_trace_buckets = dso_local local_unnamed_addr global i32 0, align 4 @mleak_traces = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @mleak_sort_traces], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @mleak_sort_traces() #0 { %1 = load i32, ptr @MLEAK_NUM_TRACES, align 4, !tbaa !5 %2 = icmp sgt i32 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = load i32, ptr @mleak_trace_buckets, align 4 br label %83 5: ; preds = %0 %6 = zext nneg i32 %1 to i64 %7 = and i64 %6, 3 %8 = icmp ult i32 %1, 4 br i1 %8, label %11, label %9 9: ; preds = %5 %10 = and i64 %6, 2147483644 br label %28 11: ; preds = %28, %5 %12 = phi i64 [ 0, %5 ], [ %42, %28 ] %13 = icmp eq i64 %7, 0 br i1 %13, label %22, label %14 14: ; preds = %11, %14 %15 = phi i64 [ %19, %14 ], [ %12, %11 ] %16 = phi i64 [ %20, %14 ], [ 0, %11 ] %17 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %18 = getelementptr inbounds ptr, ptr %17, i64 %15 store ptr null, ptr %18, align 8, !tbaa !9 %19 = add nuw nsw i64 %15, 1 %20 = add i64 %16, 1 %21 = icmp eq i64 %20, %7 br i1 %21, label %22, label %14, !llvm.loop !11 22: ; preds = %14, %11 %23 = load i32, ptr @mleak_trace_buckets, align 4 %24 = icmp sgt i32 %23, 0 %25 = select i1 %2, i1 %24, i1 false br i1 %25, label %26, label %83 26: ; preds = %22 %27 = zext nneg i32 %23 to i64 br label %45 28: ; preds = %28, %9 %29 = phi i64 [ 0, %9 ], [ %42, %28 ] %30 = phi i64 [ 0, %9 ], [ %43, %28 ] %31 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %32 = getelementptr inbounds ptr, ptr %31, i64 %29 store ptr null, ptr %32, align 8, !tbaa !9 %33 = or disjoint i64 %29, 1 %34 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %35 = getelementptr inbounds ptr, ptr %34, i64 %33 store ptr null, ptr %35, align 8, !tbaa !9 %36 = or disjoint i64 %29, 2 %37 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %38 = getelementptr inbounds ptr, ptr %37, i64 %36 store ptr null, ptr %38, align 8, !tbaa !9 %39 = or disjoint i64 %29, 3 %40 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %41 = getelementptr inbounds ptr, ptr %40, i64 %39 store ptr null, ptr %41, align 8, !tbaa !9 %42 = add nuw nsw i64 %29, 4 %43 = add i64 %30, 4 %44 = icmp eq i64 %43, %10 br i1 %44, label %11, label %28, !llvm.loop !13 45: ; preds = %26, %75 %46 = phi i64 [ 0, %26 ], [ %77, %75 ] %47 = phi i32 [ 0, %26 ], [ %76, %75 ] %48 = load ptr, ptr @mleak_traces, align 8, !tbaa !9 %49 = getelementptr inbounds %struct.mtrace, ptr %48, i64 %46 %50 = load i64, ptr %49, align 8, !tbaa !15 %51 = icmp slt i64 %50, 1 br i1 %51, label %75, label %52 52: ; preds = %45 %53 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %54 = sext i32 %47 to i64 %55 = getelementptr inbounds ptr, ptr %53, i64 %54 store ptr %49, ptr %55, align 8, !tbaa !9 %56 = icmp sgt i32 %47, 0 br i1 %56, label %57, label %73 57: ; preds = %52, %68 %58 = phi i32 [ %71, %68 ], [ %47, %52 ] %59 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %60 = zext nneg i32 %58 to i64 %61 = getelementptr inbounds ptr, ptr %59, i64 %60 %62 = load ptr, ptr %61, align 8, !tbaa !9 %63 = load i64, ptr %62, align 8, !tbaa !15 %64 = getelementptr ptr, ptr %61, i64 -1 %65 = load ptr, ptr %64, align 8, !tbaa !9 %66 = load i64, ptr %65, align 8, !tbaa !15 %67 = icmp sgt i64 %63, %66 br i1 %67, label %68, label %73 68: ; preds = %57 store ptr %62, ptr %64, align 8, !tbaa !9 %69 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %70 = getelementptr inbounds ptr, ptr %69, i64 %60 store ptr %65, ptr %70, align 8, !tbaa !9 %71 = add nsw i32 %58, -1 %72 = icmp sgt i32 %58, 1 br i1 %72, label %57, label %73, !llvm.loop !18 73: ; preds = %68, %57, %52 %74 = add nsw i32 %47, 1 br label %75 75: ; preds = %45, %73 %76 = phi i32 [ %47, %45 ], [ %74, %73 ] %77 = add nuw nsw i64 %46, 1 %78 = icmp slt i32 %76, %1 %79 = icmp ult i64 %77, %27 %80 = select i1 %78, i1 %79, i1 false br i1 %80, label %45, label %81, !llvm.loop !19 81: ; preds = %75 %82 = trunc i64 %77 to i32 br label %83 83: ; preds = %3, %81, %22 %84 = phi i32 [ %23, %22 ], [ %23, %81 ], [ %4, %3 ] %85 = phi i32 [ 0, %22 ], [ %82, %81 ], [ 0, %3 ] %86 = phi i32 [ 0, %22 ], [ %76, %81 ], [ 0, %3 ] %87 = add nsw i32 %86, -1 %88 = icmp slt i32 %85, %84 br i1 %88, label %89, label %124 89: ; preds = %83 %90 = sext i32 %87 to i64 %91 = icmp sgt i32 %86, 1 %92 = zext nneg i32 %85 to i64 %93 = zext i32 %84 to i64 br label %94 94: ; preds = %89, %121 %95 = phi i64 [ %92, %89 ], [ %122, %121 ] %96 = load ptr, ptr @mleak_traces, align 8, !tbaa !9 %97 = getelementptr inbounds %struct.mtrace, ptr %96, i64 %95 %98 = load i64, ptr %97, align 8, !tbaa !15 %99 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %100 = getelementptr inbounds ptr, ptr %99, i64 %90 %101 = load ptr, ptr %100, align 8, !tbaa !9 %102 = load i64, ptr %101, align 8, !tbaa !15 %103 = icmp sgt i64 %98, %102 br i1 %103, label %104, label %121 104: ; preds = %94 store ptr %97, ptr %100, align 8, !tbaa !9 br i1 %91, label %105, label %121 105: ; preds = %104, %116 %106 = phi i32 [ %119, %116 ], [ %87, %104 ] %107 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %108 = zext nneg i32 %106 to i64 %109 = getelementptr inbounds ptr, ptr %107, i64 %108 %110 = load ptr, ptr %109, align 8, !tbaa !9 %111 = load i64, ptr %110, align 8, !tbaa !15 %112 = getelementptr ptr, ptr %109, i64 -1 %113 = load ptr, ptr %112, align 8, !tbaa !9 %114 = load i64, ptr %113, align 8, !tbaa !15 %115 = icmp sgt i64 %111, %114 br i1 %115, label %116, label %121 116: ; preds = %105 store ptr %110, ptr %112, align 8, !tbaa !9 %117 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !9 %118 = getelementptr inbounds ptr, ptr %117, i64 %108 store ptr %113, ptr %118, align 8, !tbaa !9 %119 = add nsw i32 %106, -1 %120 = icmp sgt i32 %106, 1 br i1 %120, label %105, label %121, !llvm.loop !20 121: ; preds = %105, %116, %104, %94 %122 = add nuw nsw i64 %95, 1 %123 = icmp eq i64 %122, %93 br i1 %123, label %124, label %94, !llvm.loop !21 124: ; preds = %121, %83 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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 = distinct !{!11, !12} !12 = !{!"llvm.loop.unroll.disable"} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !17, i64 0} !16 = !{!"mtrace", !17, i64 0} !17 = !{!"long", !7, i64 0} !18 = distinct !{!18, !14} !19 = distinct !{!19, !14} !20 = distinct !{!20, !14} !21 = distinct !{!21, !14}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_mbuf.c_mleak_sort_traces.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_mbuf.c_mleak_sort_traces.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.mtrace = type { i64 } @MLEAK_NUM_TRACES = common local_unnamed_addr global i32 0, align 4 @mleak_top_trace = common local_unnamed_addr global ptr null, align 8 @mleak_trace_buckets = common local_unnamed_addr global i32 0, align 4 @mleak_traces = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @mleak_sort_traces], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @mleak_sort_traces() #0 { %1 = load i32, ptr @MLEAK_NUM_TRACES, align 4, !tbaa !6 %2 = icmp sgt i32 %1, 0 br i1 %2, label %5, label %3 3: ; preds = %0 %4 = load i32, ptr @mleak_trace_buckets, align 4 br label %58 5: ; preds = %0 %6 = zext nneg i32 %1 to i64 br label %10 7: ; preds = %10 %8 = load i32, ptr @mleak_trace_buckets, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %16, label %58 10: ; preds = %5, %10 %11 = phi i64 [ 0, %5 ], [ %14, %10 ] %12 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %13 = getelementptr inbounds ptr, ptr %12, i64 %11 store ptr null, ptr %13, align 8, !tbaa !10 %14 = add nuw nsw i64 %11, 1 %15 = icmp eq i64 %14, %6 br i1 %15, label %7, label %10, !llvm.loop !12 16: ; preds = %7, %48 %17 = phi i32 [ %49, %48 ], [ %8, %7 ] %18 = phi i64 [ %51, %48 ], [ 0, %7 ] %19 = phi i32 [ %50, %48 ], [ 0, %7 ] %20 = load ptr, ptr @mleak_traces, align 8, !tbaa !10 %21 = getelementptr inbounds %struct.mtrace, ptr %20, i64 %18 %22 = load i64, ptr %21, align 8, !tbaa !14 %23 = icmp slt i64 %22, 1 br i1 %23, label %48, label %24 24: ; preds = %16 %25 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %26 = sext i32 %19 to i64 %27 = getelementptr inbounds ptr, ptr %25, i64 %26 store ptr %21, ptr %27, align 8, !tbaa !10 %28 = icmp sgt i32 %19, 0 br i1 %28, label %29, label %45 29: ; preds = %24, %40 %30 = phi i32 [ %43, %40 ], [ %19, %24 ] %31 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %32 = zext nneg i32 %30 to i64 %33 = getelementptr inbounds ptr, ptr %31, i64 %32 %34 = load ptr, ptr %33, align 8, !tbaa !10 %35 = load i64, ptr %34, align 8, !tbaa !14 %36 = getelementptr i8, ptr %33, i64 -8 %37 = load ptr, ptr %36, align 8, !tbaa !10 %38 = load i64, ptr %37, align 8, !tbaa !14 %39 = icmp sgt i64 %35, %38 br i1 %39, label %40, label %45 40: ; preds = %29 store ptr %34, ptr %36, align 8, !tbaa !10 %41 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %42 = getelementptr inbounds ptr, ptr %41, i64 %32 store ptr %37, ptr %42, align 8, !tbaa !10 %43 = add nsw i32 %30, -1 %44 = icmp sgt i32 %30, 1 br i1 %44, label %29, label %45, !llvm.loop !17 45: ; preds = %40, %29, %24 %46 = add nsw i32 %19, 1 %47 = load i32, ptr @mleak_trace_buckets, align 4 br label %48 48: ; preds = %16, %45 %49 = phi i32 [ %17, %16 ], [ %47, %45 ] %50 = phi i32 [ %19, %16 ], [ %46, %45 ] %51 = add nuw nsw i64 %18, 1 %52 = icmp slt i32 %50, %1 %53 = sext i32 %49 to i64 %54 = icmp slt i64 %51, %53 %55 = select i1 %52, i1 %54, i1 false br i1 %55, label %16, label %56, !llvm.loop !18 56: ; preds = %48 %57 = trunc nuw nsw i64 %51 to i32 br label %58 58: ; preds = %3, %56, %7 %59 = phi i32 [ 0, %7 ], [ %57, %56 ], [ 0, %3 ] %60 = phi i32 [ 0, %7 ], [ %50, %56 ], [ 0, %3 ] %61 = phi i32 [ %8, %7 ], [ %49, %56 ], [ %4, %3 ] %62 = add nsw i32 %60, -1 %63 = icmp slt i32 %59, %61 br i1 %63, label %64, label %99 64: ; preds = %58 %65 = sext i32 %62 to i64 %66 = icmp sgt i32 %60, 1 %67 = zext nneg i32 %59 to i64 %68 = zext i32 %61 to i64 br label %69 69: ; preds = %64, %96 %70 = phi i64 [ %67, %64 ], [ %97, %96 ] %71 = load ptr, ptr @mleak_traces, align 8, !tbaa !10 %72 = getelementptr inbounds %struct.mtrace, ptr %71, i64 %70 %73 = load i64, ptr %72, align 8, !tbaa !14 %74 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %75 = getelementptr inbounds ptr, ptr %74, i64 %65 %76 = load ptr, ptr %75, align 8, !tbaa !10 %77 = load i64, ptr %76, align 8, !tbaa !14 %78 = icmp sgt i64 %73, %77 br i1 %78, label %79, label %96 79: ; preds = %69 store ptr %72, ptr %75, align 8, !tbaa !10 br i1 %66, label %80, label %96 80: ; preds = %79, %91 %81 = phi i32 [ %94, %91 ], [ %62, %79 ] %82 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %83 = zext nneg i32 %81 to i64 %84 = getelementptr inbounds ptr, ptr %82, i64 %83 %85 = load ptr, ptr %84, align 8, !tbaa !10 %86 = load i64, ptr %85, align 8, !tbaa !14 %87 = getelementptr i8, ptr %84, i64 -8 %88 = load ptr, ptr %87, align 8, !tbaa !10 %89 = load i64, ptr %88, align 8, !tbaa !14 %90 = icmp sgt i64 %86, %89 br i1 %90, label %91, label %96 91: ; preds = %80 store ptr %85, ptr %87, align 8, !tbaa !10 %92 = load ptr, ptr @mleak_top_trace, align 8, !tbaa !10 %93 = getelementptr inbounds ptr, ptr %92, i64 %83 store ptr %88, ptr %93, align 8, !tbaa !10 %94 = add nsw i32 %81, -1 %95 = icmp sgt i32 %81, 1 br i1 %95, label %80, label %96, !llvm.loop !19 96: ; preds = %80, %91, %79, %69 %97 = add nuw nsw i64 %70, 1 %98 = icmp eq i64 %97, %68 br i1 %98, label %99, label %69, !llvm.loop !20 99: ; preds = %96, %58 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !16, i64 0} !15 = !{!"mtrace", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = distinct !{!17, !13} !18 = distinct !{!18, !13} !19 = distinct !{!19, !13} !20 = distinct !{!20, !13}
darwin-xnu_bsd_kern_extr_uipc_mbuf.c_mleak_sort_traces
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_driver_scratch.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_driver_scratch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M_PKTHDR = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mbuf_get_driver_scratch(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = icmp eq ptr %1, null %6 = or i1 %4, %5 %7 = icmp eq ptr %2, null %8 = or i1 %6, %7 br i1 %8, label %14, label %9 9: ; preds = %3 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr @M_PKTHDR, align 4, !tbaa !10 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !10 br label %18 16: ; preds = %9 %17 = tail call i64 @m_scratch_get(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 store i64 %17, ptr %2, align 8, !tbaa !11 br label %18 18: ; preds = %16, %14 %19 = phi i32 [ %15, %14 ], [ 0, %16 ] ret i32 %19 } declare i64 @m_scratch_get(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_driver_scratch.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_get_driver_scratch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_PKTHDR = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mbuf_get_driver_scratch(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null %5 = icmp eq ptr %1, null %6 = or i1 %4, %5 %7 = icmp eq ptr %2, null %8 = or i1 %6, %7 br i1 %8, label %14, label %9 9: ; preds = %3 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr @M_PKTHDR, align 4, !tbaa !11 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %3 %15 = load i32, ptr @EINVAL, align 4, !tbaa !11 br label %18 16: ; preds = %9 %17 = tail call i64 @m_scratch_get(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 store i64 %17, ptr %2, align 8, !tbaa !12 br label %18 18: ; preds = %16, %14 %19 = phi i32 [ %15, %14 ], [ 0, %16 ] ret i32 %19 } declare i64 @m_scratch_get(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0}
darwin-xnu_bsd_kern_extr_kpi_mbuf.c_mbuf_get_driver_scratch
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_n.c_b43_nphy_tx_cal_phy_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_n.c_b43_nphy_tx_cal_phy_cleanup.c" target datalayout = "e-m:e-p270:32:32-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 } @B43_NPHY_AFECTL_C1 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_C2 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_OVER1 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_OVER = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_BBCFG = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_RFCTL_INTC1 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_RFCTL_INTC2 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_PAPD_EN0 = dso_local local_unnamed_addr global i32 0, align 4 @B43_NPHY_PAPD_EN1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @b43_nphy_tx_cal_phy_cleanup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @b43_nphy_tx_cal_phy_cleanup(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = load i32, ptr %0, align 8, !tbaa !14 %6 = icmp sgt i32 %5, 2 %7 = load i32, ptr @B43_NPHY_AFECTL_C1, align 4, !tbaa !15 %8 = load i32, ptr %4, align 4, !tbaa !15 %9 = getelementptr inbounds i32, ptr %4, i64 1 %10 = getelementptr inbounds i32, ptr %4, i64 2 %11 = getelementptr inbounds i32, ptr %4, i64 3 %12 = getelementptr inbounds i32, ptr %4, i64 4 %13 = getelementptr inbounds i32, ptr %4, i64 5 %14 = getelementptr inbounds i32, ptr %4, i64 6 br i1 %6, label %15, label %52 15: ; preds = %1 %16 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2 %17 = load i32, ptr @B43_NPHY_AFECTL_C2, align 4, !tbaa !15 %18 = load i32, ptr %9, align 4, !tbaa !15 %19 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2 %20 = load i32, ptr @B43_NPHY_AFECTL_OVER1, align 4, !tbaa !15 %21 = load i32, ptr %10, align 4, !tbaa !15 %22 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @B43_NPHY_AFECTL_OVER, align 4, !tbaa !15 %24 = load i32, ptr %11, align 4, !tbaa !15 %25 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @B43_NPHY_BBCFG, align 4, !tbaa !15 %27 = load i32, ptr %12, align 4, !tbaa !15 %28 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %27) #2 %29 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 3) #2 %30 = load i32, ptr %13, align 4, !tbaa !15 %31 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2 %32 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 19) #2 %33 = load i32, ptr %14, align 4, !tbaa !15 %34 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33) #2 %35 = load i32, ptr @B43_NPHY_RFCTL_INTC1, align 4, !tbaa !15 %36 = getelementptr inbounds i32, ptr %4, i64 7 %37 = load i32, ptr %36, align 4, !tbaa !15 %38 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %37) #2 %39 = load i32, ptr @B43_NPHY_RFCTL_INTC2, align 4, !tbaa !15 %40 = getelementptr inbounds i32, ptr %4, i64 8 %41 = load i32, ptr %40, align 4, !tbaa !15 %42 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %41) #2 %43 = load i32, ptr @B43_NPHY_PAPD_EN0, align 4, !tbaa !15 %44 = getelementptr inbounds i32, ptr %4, i64 9 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %45) #2 %47 = load i32, ptr @B43_NPHY_PAPD_EN1, align 4, !tbaa !15 %48 = getelementptr inbounds i32, ptr %4, i64 10 %49 = load i32, ptr %48, align 4, !tbaa !15 %50 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %49) #2 %51 = tail call i32 @b43_nphy_reset_cca(ptr noundef nonnull %0) #2 br label %72 52: ; preds = %1 %53 = tail call i32 @b43_phy_maskset(ptr noundef nonnull %0, i32 noundef %7, i32 noundef 4095, i32 noundef %8) #2 %54 = load i32, ptr @B43_NPHY_AFECTL_C2, align 4, !tbaa !15 %55 = load i32, ptr %9, align 4, !tbaa !15 %56 = tail call i32 @b43_phy_maskset(ptr noundef nonnull %0, i32 noundef %54, i32 noundef 4095, i32 noundef %55) #2 %57 = load i32, ptr @B43_NPHY_AFECTL_OVER, align 4, !tbaa !15 %58 = load i32, ptr %10, align 4, !tbaa !15 %59 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2 %60 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 2) #2 %61 = load i32, ptr %11, align 4, !tbaa !15 %62 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61) #2 %63 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 18) #2 %64 = load i32, ptr %12, align 4, !tbaa !15 %65 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %64) #2 %66 = load i32, ptr @B43_NPHY_RFCTL_INTC1, align 4, !tbaa !15 %67 = load i32, ptr %13, align 4, !tbaa !15 %68 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %67) #2 %69 = load i32, ptr @B43_NPHY_RFCTL_INTC2, align 4, !tbaa !15 %70 = load i32, ptr %14, align 4, !tbaa !15 %71 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %69, i32 noundef %70) #2 br label %72 72: ; preds = %52, %15 ret void } declare i32 @b43_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_ntab_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @B43_NTAB16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_nphy_reset_cca(ptr noundef) local_unnamed_addr #1 declare i32 @b43_phy_maskset(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"b43_wldev", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!6, !8, i64 0} !15 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_n.c_b43_nphy_tx_cal_phy_cleanup.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_phy_n.c_b43_nphy_tx_cal_phy_cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @B43_NPHY_AFECTL_C1 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_C2 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_OVER1 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_AFECTL_OVER = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_BBCFG = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_RFCTL_INTC1 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_RFCTL_INTC2 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_PAPD_EN0 = common local_unnamed_addr global i32 0, align 4 @B43_NPHY_PAPD_EN1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @b43_nphy_tx_cal_phy_cleanup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @b43_nphy_tx_cal_phy_cleanup(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = load i32, ptr %0, align 8, !tbaa !15 %6 = icmp sgt i32 %5, 2 %7 = load i32, ptr @B43_NPHY_AFECTL_C1, align 4, !tbaa !16 %8 = load i32, ptr %4, align 4, !tbaa !16 %9 = getelementptr inbounds i8, ptr %4, i64 4 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = getelementptr inbounds i8, ptr %4, i64 12 %12 = getelementptr inbounds i8, ptr %4, i64 16 %13 = getelementptr inbounds i8, ptr %4, i64 20 %14 = getelementptr inbounds i8, ptr %4, i64 24 br i1 %6, label %15, label %52 15: ; preds = %1 %16 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8) #2 %17 = load i32, ptr @B43_NPHY_AFECTL_C2, align 4, !tbaa !16 %18 = load i32, ptr %9, align 4, !tbaa !16 %19 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %18) #2 %20 = load i32, ptr @B43_NPHY_AFECTL_OVER1, align 4, !tbaa !16 %21 = load i32, ptr %10, align 4, !tbaa !16 %22 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %21) #2 %23 = load i32, ptr @B43_NPHY_AFECTL_OVER, align 4, !tbaa !16 %24 = load i32, ptr %11, align 4, !tbaa !16 %25 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %23, i32 noundef %24) #2 %26 = load i32, ptr @B43_NPHY_BBCFG, align 4, !tbaa !16 %27 = load i32, ptr %12, align 4, !tbaa !16 %28 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %26, i32 noundef %27) #2 %29 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 3) #2 %30 = load i32, ptr %13, align 4, !tbaa !16 %31 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %30) #2 %32 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 19) #2 %33 = load i32, ptr %14, align 4, !tbaa !16 %34 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33) #2 %35 = load i32, ptr @B43_NPHY_RFCTL_INTC1, align 4, !tbaa !16 %36 = getelementptr inbounds i8, ptr %4, i64 28 %37 = load i32, ptr %36, align 4, !tbaa !16 %38 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %37) #2 %39 = load i32, ptr @B43_NPHY_RFCTL_INTC2, align 4, !tbaa !16 %40 = getelementptr inbounds i8, ptr %4, i64 32 %41 = load i32, ptr %40, align 4, !tbaa !16 %42 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %41) #2 %43 = load i32, ptr @B43_NPHY_PAPD_EN0, align 4, !tbaa !16 %44 = getelementptr inbounds i8, ptr %4, i64 36 %45 = load i32, ptr %44, align 4, !tbaa !16 %46 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %43, i32 noundef %45) #2 %47 = load i32, ptr @B43_NPHY_PAPD_EN1, align 4, !tbaa !16 %48 = getelementptr inbounds i8, ptr %4, i64 40 %49 = load i32, ptr %48, align 4, !tbaa !16 %50 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %49) #2 %51 = tail call i32 @b43_nphy_reset_cca(ptr noundef nonnull %0) #2 br label %72 52: ; preds = %1 %53 = tail call i32 @b43_phy_maskset(ptr noundef nonnull %0, i32 noundef %7, i32 noundef 4095, i32 noundef %8) #2 %54 = load i32, ptr @B43_NPHY_AFECTL_C2, align 4, !tbaa !16 %55 = load i32, ptr %9, align 4, !tbaa !16 %56 = tail call i32 @b43_phy_maskset(ptr noundef nonnull %0, i32 noundef %54, i32 noundef 4095, i32 noundef %55) #2 %57 = load i32, ptr @B43_NPHY_AFECTL_OVER, align 4, !tbaa !16 %58 = load i32, ptr %10, align 4, !tbaa !16 %59 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2 %60 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 2) #2 %61 = load i32, ptr %11, align 4, !tbaa !16 %62 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %60, i32 noundef %61) #2 %63 = tail call i32 @B43_NTAB16(i32 noundef 8, i32 noundef 18) #2 %64 = load i32, ptr %12, align 4, !tbaa !16 %65 = tail call i32 @b43_ntab_write(ptr noundef nonnull %0, i32 noundef %63, i32 noundef %64) #2 %66 = load i32, ptr @B43_NPHY_RFCTL_INTC1, align 4, !tbaa !16 %67 = load i32, ptr %13, align 4, !tbaa !16 %68 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %66, i32 noundef %67) #2 %69 = load i32, ptr @B43_NPHY_RFCTL_INTC2, align 4, !tbaa !16 %70 = load i32, ptr %14, align 4, !tbaa !16 %71 = tail call i32 @b43_phy_write(ptr noundef nonnull %0, i32 noundef %69, i32 noundef %70) #2 br label %72 72: ; preds = %52, %15 ret void } declare i32 @b43_phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_ntab_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @B43_NTAB16(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @b43_nphy_reset_cca(ptr noundef) local_unnamed_addr #1 declare i32 @b43_phy_maskset(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"b43_wldev", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!7, !9, i64 0} !16 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_net_wireless_b43_extr_phy_n.c_b43_nphy_tx_cal_phy_cleanup
; ModuleID = 'AnghaBench/linux/drivers/s390/crypto/extr_ap_card.c_ap_functions_show.c' source_filename = "AnghaBench/linux/drivers/s390/crypto/extr_ap_card.c_ap_functions_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" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"0x%08X\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ap_functions_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ap_functions_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_ap_card(ptr noundef %0) #2 %5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %6 = load i32, ptr %4, align 4, !tbaa !9 %7 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_ap_card(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, !6, i64 0} !10 = !{!"ap_card", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/s390/crypto/extr_ap_card.c_ap_functions_show.c' source_filename = "AnghaBench/linux/drivers/s390/crypto/extr_ap_card.c_ap_functions_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"0x%08X\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ap_functions_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ap_functions_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_ap_card(ptr noundef %0) #2 %5 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %6 = load i32, ptr %4, align 4, !tbaa !10 %7 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_ap_card(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, !7, i64 0} !11 = !{!"ap_card", !7, i64 0}
linux_drivers_s390_crypto_extr_ap_card.c_ap_functions_show
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_AddFree.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_AddFree.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, i64, ptr } @MM_MAX_ALIGNMENT = dso_local local_unnamed_addr global i32 0, align 4 @MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @E_NO_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @NO_MSG = dso_local local_unnamed_addr global i32 0, align 4 @E_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @AddFree], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @AddFree(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !5 %5 = icmp slt i32 %4, 0 br i1 %5, label %142, label %6 6: ; preds = %3, %135 %7 = phi i64 [ %138, %135 ], [ 0, %3 ] %8 = phi i64 [ %137, %135 ], [ %1, %3 ] %9 = phi i64 [ %136, %135 ], [ %2, %3 ] %10 = load ptr, ptr %0, align 8, !tbaa !9 %11 = getelementptr inbounds ptr, ptr %10, i64 %7 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = trunc i64 %7 to i32 %14 = shl nuw i32 1, %13 %15 = sext i32 %14 to i64 %16 = tail call i64 @MAKE_ALIGNED(i64 noundef %8, i64 noundef %15) #3 %17 = icmp slt i64 %16, %9 br i1 %17, label %18, label %135 18: ; preds = %6 %19 = icmp eq ptr %12, null br i1 %19, label %106, label %20 20: ; preds = %18 %21 = load i64, ptr %12, align 8, !tbaa !13 %22 = icmp sgt i64 %16, %21 br i1 %22, label %101, label %26 23: ; preds = %101 %24 = load i64, ptr %104, align 8, !tbaa !13 %25 = icmp sgt i64 %16, %24 br i1 %25, label %101, label %26, !llvm.loop !16 26: ; preds = %23, %20 %27 = phi ptr [ %12, %20 ], [ %104, %23 ] %28 = phi ptr [ null, %20 ], [ %102, %23 ] %29 = phi i64 [ %21, %20 ], [ %24, %23 ] %30 = icmp sgt i64 %9, %29 br i1 %30, label %31, label %54 31: ; preds = %26 %32 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 2 %33 = load ptr, ptr %32, align 8, !tbaa !18 %34 = icmp eq ptr %33, null br i1 %34, label %49, label %35 35: ; preds = %31, %39 %36 = phi ptr [ %43, %39 ], [ %33, %31 ] %37 = load i64, ptr %36, align 8, !tbaa !13 %38 = icmp sgt i64 %9, %37 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = getelementptr inbounds %struct.TYPE_7__, ptr %36, i64 0, i32 2 %41 = load ptr, ptr %40, align 8, !tbaa !18 store ptr %41, ptr %32, align 8, !tbaa !18 %42 = tail call i32 @XX_Free(ptr noundef nonnull %36) #3 %43 = load ptr, ptr %32, align 8, !tbaa !18 %44 = icmp eq ptr %43, null br i1 %44, label %49, label %35, !llvm.loop !19 45: ; preds = %35 %46 = getelementptr inbounds %struct.TYPE_7__, ptr %36, i64 0, i32 1 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = icmp slt i64 %9, %47 br i1 %48, label %49, label %50 49: ; preds = %39, %31, %45 store i64 %9, ptr %27, align 8, !tbaa !13 br label %77 50: ; preds = %45 store i64 %37, ptr %27, align 8, !tbaa !13 %51 = getelementptr inbounds %struct.TYPE_7__, ptr %36, i64 0, i32 2 %52 = load ptr, ptr %51, align 8, !tbaa !18 store ptr %52, ptr %32, align 8, !tbaa !18 %53 = tail call i32 @XX_Free(ptr noundef nonnull %36) #3 br label %77 54: ; preds = %26 %55 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1 %56 = load i64, ptr %55, align 8, !tbaa !20 %57 = icmp slt i64 %9, %56 br i1 %57, label %58, label %77 58: ; preds = %54 %59 = sub nsw i64 %9, %16 %60 = icmp slt i64 %59, %15 br i1 %60, label %77, label %61 61: ; preds = %58 %62 = tail call ptr @CreateFreeBlock(i64 noundef %16, i64 noundef %59) #3 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %61 %65 = load i32, ptr @MAJOR, align 4, !tbaa !5 %66 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %67 = load i32, ptr @NO_MSG, align 4, !tbaa !5 %68 = tail call i32 @RETURN_ERROR(i32 noundef %65, i32 noundef %66, i32 noundef %67) #3 br label %69 69: ; preds = %64, %61 %70 = getelementptr inbounds %struct.TYPE_7__, ptr %62, i64 0, i32 2 store ptr %27, ptr %70, align 8, !tbaa !18 %71 = icmp eq ptr %28, null br i1 %71, label %74, label %72 72: ; preds = %69 %73 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i64 0, i32 2 store ptr %62, ptr %73, align 8, !tbaa !18 br label %135 74: ; preds = %69 %75 = load ptr, ptr %0, align 8, !tbaa !9 %76 = getelementptr inbounds ptr, ptr %75, i64 %7 store ptr %62, ptr %76, align 8, !tbaa !12 br label %135 77: ; preds = %49, %50, %54, %58 %78 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1 %79 = load i64, ptr %78, align 8, !tbaa !20 %80 = icmp sge i64 %16, %79 %81 = icmp slt i64 %9, %79 %82 = select i1 %80, i1 true, i1 %81 br i1 %82, label %84, label %83 83: ; preds = %77 store i64 %16, ptr %78, align 8, !tbaa !20 br label %84 84: ; preds = %83, %77 %85 = phi i64 [ %16, %83 ], [ %79, %77 ] %86 = load i64, ptr %27, align 8, !tbaa !13 %87 = sub nsw i64 %86, %85 %88 = icmp slt i64 %87, %15 br i1 %88, label %89, label %127 89: ; preds = %84 %90 = icmp eq ptr %28, null %91 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 2 %92 = load ptr, ptr %91, align 8, !tbaa !18 br i1 %90, label %95, label %93 93: ; preds = %89 %94 = getelementptr inbounds %struct.TYPE_7__, ptr %28, i64 0, i32 2 br label %98 95: ; preds = %89 %96 = load ptr, ptr %0, align 8, !tbaa !9 %97 = getelementptr inbounds ptr, ptr %96, i64 %7 br label %98 98: ; preds = %95, %93 %99 = phi ptr [ %97, %95 ], [ %94, %93 ] store ptr %92, ptr %99, align 8, !tbaa !12 %100 = tail call i32 @XX_Free(ptr noundef nonnull %27) #3 br label %106 101: ; preds = %20, %23 %102 = phi ptr [ %104, %23 ], [ %12, %20 ] %103 = getelementptr inbounds %struct.TYPE_7__, ptr %102, i64 0, i32 2 %104 = load ptr, ptr %103, align 8, !tbaa !18 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %23, !llvm.loop !16 106: ; preds = %101, %18, %98 %107 = phi ptr [ %28, %98 ], [ null, %18 ], [ %102, %101 ] %108 = sub nsw i64 %9, %8 %109 = add nsw i64 %15, -1 %110 = and i64 %109, %108 %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %135 112: ; preds = %106 %113 = tail call ptr @CreateFreeBlock(i64 noundef %16, i64 noundef %108) #3 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %120 115: ; preds = %112 %116 = load i32, ptr @MAJOR, align 4, !tbaa !5 %117 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !5 %118 = load i32, ptr @NO_MSG, align 4, !tbaa !5 %119 = tail call i32 @RETURN_ERROR(i32 noundef %116, i32 noundef %117, i32 noundef %118) #3 br label %120 120: ; preds = %115, %112 %121 = icmp eq ptr %107, null br i1 %121, label %124, label %122 122: ; preds = %120 %123 = getelementptr inbounds %struct.TYPE_7__, ptr %107, i64 0, i32 2 store ptr %113, ptr %123, align 8, !tbaa !18 br label %135 124: ; preds = %120 %125 = load ptr, ptr %0, align 8, !tbaa !9 %126 = getelementptr inbounds ptr, ptr %125, i64 %7 store ptr %113, ptr %126, align 8, !tbaa !12 br label %135 127: ; preds = %84 %128 = icmp eq i64 %7, 0 br i1 %128, label %129, label %135 129: ; preds = %127 %130 = getelementptr inbounds %struct.TYPE_7__, ptr %27, i64 0, i32 1 %131 = load i64, ptr %130, align 8, !tbaa !20 %132 = tail call i64 @llvm.smin.i64(i64 %8, i64 %131) %133 = load i64, ptr %27, align 8, !tbaa !13 %134 = tail call i64 @llvm.smax.i64(i64 %9, i64 %133) br label %135 135: ; preds = %74, %72, %106, %124, %122, %127, %129, %6 %136 = phi i64 [ %9, %6 ], [ %9, %127 ], [ %134, %129 ], [ %9, %122 ], [ %9, %124 ], [ %9, %106 ], [ %9, %72 ], [ %9, %74 ] %137 = phi i64 [ %8, %6 ], [ %8, %127 ], [ %132, %129 ], [ %8, %122 ], [ %8, %124 ], [ %8, %106 ], [ %8, %72 ], [ %8, %74 ] %138 = add nuw nsw i64 %7, 1 %139 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !5 %140 = sext i32 %139 to i64 %141 = icmp slt i64 %7, %140 br i1 %141, label %6, label %142, !llvm.loop !21 142: ; preds = %135, %3 %143 = load i32, ptr @E_OK, align 4, !tbaa !5 ret i32 %143 } declare i64 @MAKE_ALIGNED(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @XX_Free(ptr noundef) local_unnamed_addr #1 declare ptr @CreateFreeBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_6__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_7__", !15, i64 0, !15, i64 8, !11, i64 16} !15 = !{!"long", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!14, !11, i64 16} !19 = distinct !{!19, !17} !20 = !{!14, !15, i64 8} !21 = distinct !{!21, !17}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_AddFree.c' source_filename = "AnghaBench/freebsd/sys/contrib/ncsw/etc/extr_mm.c_AddFree.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MM_MAX_ALIGNMENT = common local_unnamed_addr global i32 0, align 4 @MAJOR = common local_unnamed_addr global i32 0, align 4 @E_NO_MEMORY = common local_unnamed_addr global i32 0, align 4 @NO_MSG = common local_unnamed_addr global i32 0, align 4 @E_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @AddFree], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @AddFree(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !6 %5 = icmp slt i32 %4, 0 br i1 %5, label %140, label %6 6: ; preds = %3, %133 %7 = phi i64 [ %136, %133 ], [ 0, %3 ] %8 = phi i64 [ %135, %133 ], [ %1, %3 ] %9 = phi i64 [ %134, %133 ], [ %2, %3 ] %10 = load ptr, ptr %0, align 8, !tbaa !10 %11 = getelementptr inbounds ptr, ptr %10, i64 %7 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = trunc nuw nsw i64 %7 to i32 %14 = shl nuw i32 1, %13 %15 = sext i32 %14 to i64 %16 = tail call i64 @MAKE_ALIGNED(i64 noundef %8, i64 noundef %15) #3 %17 = icmp slt i64 %16, %9 br i1 %17, label %18, label %133 18: ; preds = %6 %19 = icmp eq ptr %12, null br i1 %19, label %106, label %20 20: ; preds = %18 %21 = load i64, ptr %12, align 8, !tbaa !14 %22 = icmp sgt i64 %16, %21 br i1 %22, label %101, label %26 23: ; preds = %101 %24 = load i64, ptr %104, align 8, !tbaa !14 %25 = icmp sgt i64 %16, %24 br i1 %25, label %101, label %26, !llvm.loop !17 26: ; preds = %23, %20 %27 = phi ptr [ %12, %20 ], [ %104, %23 ] %28 = phi ptr [ null, %20 ], [ %102, %23 ] %29 = phi i64 [ %21, %20 ], [ %24, %23 ] %30 = icmp sgt i64 %9, %29 br i1 %30, label %31, label %54 31: ; preds = %26 %32 = getelementptr inbounds i8, ptr %27, i64 16 %33 = load ptr, ptr %32, align 8, !tbaa !19 %34 = icmp eq ptr %33, null br i1 %34, label %49, label %35 35: ; preds = %31, %39 %36 = phi ptr [ %43, %39 ], [ %33, %31 ] %37 = load i64, ptr %36, align 8, !tbaa !14 %38 = icmp sgt i64 %9, %37 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %36, i64 16 %41 = load ptr, ptr %40, align 8, !tbaa !19 store ptr %41, ptr %32, align 8, !tbaa !19 %42 = tail call i32 @XX_Free(ptr noundef nonnull %36) #3 %43 = load ptr, ptr %32, align 8, !tbaa !19 %44 = icmp eq ptr %43, null br i1 %44, label %49, label %35, !llvm.loop !20 45: ; preds = %35 %46 = getelementptr inbounds i8, ptr %36, i64 8 %47 = load i64, ptr %46, align 8, !tbaa !21 %48 = icmp slt i64 %9, %47 br i1 %48, label %49, label %50 49: ; preds = %39, %31, %45 store i64 %9, ptr %27, align 8, !tbaa !14 br label %77 50: ; preds = %45 store i64 %37, ptr %27, align 8, !tbaa !14 %51 = getelementptr inbounds i8, ptr %36, i64 16 %52 = load ptr, ptr %51, align 8, !tbaa !19 store ptr %52, ptr %32, align 8, !tbaa !19 %53 = tail call i32 @XX_Free(ptr noundef nonnull %36) #3 br label %77 54: ; preds = %26 %55 = getelementptr inbounds i8, ptr %27, i64 8 %56 = load i64, ptr %55, align 8, !tbaa !21 %57 = icmp slt i64 %9, %56 br i1 %57, label %58, label %77 58: ; preds = %54 %59 = sub nsw i64 %9, %16 %60 = icmp slt i64 %59, %15 br i1 %60, label %77, label %61 61: ; preds = %58 %62 = tail call ptr @CreateFreeBlock(i64 noundef %16, i64 noundef %59) #3 %63 = icmp eq ptr %62, null br i1 %63, label %64, label %69 64: ; preds = %61 %65 = load i32, ptr @MAJOR, align 4, !tbaa !6 %66 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %67 = load i32, ptr @NO_MSG, align 4, !tbaa !6 %68 = tail call i32 @RETURN_ERROR(i32 noundef %65, i32 noundef %66, i32 noundef %67) #3 br label %69 69: ; preds = %64, %61 %70 = getelementptr inbounds i8, ptr %62, i64 16 store ptr %27, ptr %70, align 8, !tbaa !19 %71 = icmp eq ptr %28, null br i1 %71, label %74, label %72 72: ; preds = %69 %73 = getelementptr inbounds i8, ptr %28, i64 16 store ptr %62, ptr %73, align 8, !tbaa !19 br label %133 74: ; preds = %69 %75 = load ptr, ptr %0, align 8, !tbaa !10 %76 = getelementptr inbounds ptr, ptr %75, i64 %7 store ptr %62, ptr %76, align 8, !tbaa !13 br label %133 77: ; preds = %49, %50, %54, %58 %78 = getelementptr inbounds i8, ptr %27, i64 8 %79 = load i64, ptr %78, align 8, !tbaa !21 %80 = icmp sge i64 %16, %79 %81 = icmp slt i64 %9, %79 %82 = select i1 %80, i1 true, i1 %81 br i1 %82, label %84, label %83 83: ; preds = %77 store i64 %16, ptr %78, align 8, !tbaa !21 br label %84 84: ; preds = %83, %77 %85 = phi i64 [ %16, %83 ], [ %79, %77 ] %86 = load i64, ptr %27, align 8, !tbaa !14 %87 = sub nsw i64 %86, %85 %88 = icmp slt i64 %87, %15 br i1 %88, label %89, label %127 89: ; preds = %84 %90 = icmp eq ptr %28, null %91 = getelementptr inbounds i8, ptr %27, i64 16 %92 = load ptr, ptr %91, align 8, !tbaa !19 br i1 %90, label %95, label %93 93: ; preds = %89 %94 = getelementptr inbounds i8, ptr %28, i64 16 br label %98 95: ; preds = %89 %96 = load ptr, ptr %0, align 8, !tbaa !10 %97 = getelementptr inbounds ptr, ptr %96, i64 %7 br label %98 98: ; preds = %95, %93 %99 = phi ptr [ %97, %95 ], [ %94, %93 ] store ptr %92, ptr %99, align 8, !tbaa !13 %100 = tail call i32 @XX_Free(ptr noundef nonnull %27) #3 br label %106 101: ; preds = %20, %23 %102 = phi ptr [ %104, %23 ], [ %12, %20 ] %103 = getelementptr inbounds i8, ptr %102, i64 16 %104 = load ptr, ptr %103, align 8, !tbaa !19 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %23, !llvm.loop !17 106: ; preds = %101, %18, %98 %107 = phi ptr [ %28, %98 ], [ null, %18 ], [ %102, %101 ] %108 = sub nsw i64 %9, %8 %109 = add nsw i64 %15, -1 %110 = and i64 %109, %108 %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %133 112: ; preds = %106 %113 = tail call ptr @CreateFreeBlock(i64 noundef %16, i64 noundef %108) #3 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %120 115: ; preds = %112 %116 = load i32, ptr @MAJOR, align 4, !tbaa !6 %117 = load i32, ptr @E_NO_MEMORY, align 4, !tbaa !6 %118 = load i32, ptr @NO_MSG, align 4, !tbaa !6 %119 = tail call i32 @RETURN_ERROR(i32 noundef %116, i32 noundef %117, i32 noundef %118) #3 br label %120 120: ; preds = %115, %112 %121 = icmp eq ptr %107, null br i1 %121, label %124, label %122 122: ; preds = %120 %123 = getelementptr inbounds i8, ptr %107, i64 16 store ptr %113, ptr %123, align 8, !tbaa !19 br label %133 124: ; preds = %120 %125 = load ptr, ptr %0, align 8, !tbaa !10 %126 = getelementptr inbounds ptr, ptr %125, i64 %7 store ptr %113, ptr %126, align 8, !tbaa !13 br label %133 127: ; preds = %84 %128 = icmp eq i64 %7, 0 br i1 %128, label %129, label %133 129: ; preds = %127 %130 = load i64, ptr %78, align 8, !tbaa !21 %131 = tail call i64 @llvm.smin.i64(i64 %8, i64 %130) %132 = tail call i64 @llvm.smax.i64(i64 %9, i64 %86) br label %133 133: ; preds = %74, %72, %106, %124, %122, %127, %129, %6 %134 = phi i64 [ %9, %6 ], [ %9, %127 ], [ %132, %129 ], [ %9, %122 ], [ %9, %124 ], [ %9, %106 ], [ %9, %72 ], [ %9, %74 ] %135 = phi i64 [ %8, %6 ], [ %8, %127 ], [ %131, %129 ], [ %8, %122 ], [ %8, %124 ], [ %8, %106 ], [ %8, %72 ], [ %8, %74 ] %136 = add nuw nsw i64 %7, 1 %137 = load i32, ptr @MM_MAX_ALIGNMENT, align 4, !tbaa !6 %138 = sext i32 %137 to i64 %139 = icmp slt i64 %7, %138 br i1 %139, label %6, label %140, !llvm.loop !22 140: ; preds = %133, %3 %141 = load i32, ptr @E_OK, align 4, !tbaa !6 ret i32 %141 } declare i64 @MAKE_ALIGNED(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @XX_Free(ptr noundef) local_unnamed_addr #1 declare ptr @CreateFreeBlock(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @RETURN_ERROR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_6__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_7__", !16, i64 0, !16, i64 8, !12, i64 16} !16 = !{!"long", !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!15, !12, i64 16} !20 = distinct !{!20, !18} !21 = !{!15, !16, i64 8} !22 = distinct !{!22, !18}
freebsd_sys_contrib_ncsw_etc_extr_mm.c_AddFree
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_virtio_uml.c_vhost_user_get_config.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_virtio_uml.c_vhost_user_get_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" %struct.vhost_user_msg = type { %struct.TYPE_6__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32, i64 } %struct.TYPE_4__ = type { i64, i32 } @VHOST_USER_PROTOCOL_F_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @VHOST_USER_GET_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"sending VHOST_USER_GET_CONFIG failed: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"receiving VHOST_USER_GET_CONFIG response failed: %d\0A\00", align 1 @EPROTO = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [86 x i8] c"Invalid VHOST_USER_GET_CONFIG sizes (payload %d expected %zu, config %u expected %u)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vhost_user_get_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vhost_user_get_config(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = add nsw i32 %3, %1 %6 = sext i32 %5 to i64 %7 = add nsw i64 %6, 16 %8 = add nsw i64 %6, 32 %9 = load i32, ptr %0, align 4, !tbaa !5 %10 = load i32, ptr @VHOST_USER_PROTOCOL_F_CONFIG, align 4, !tbaa !10 %11 = tail call i32 @BIT_ULL(i32 noundef %10) #2 %12 = and i32 %11, %9 %13 = icmp eq i32 %12, 0 br i1 %13, label %49, label %14 14: ; preds = %4 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %16 = tail call ptr @kzalloc(i64 noundef %8, i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %49, label %18 18: ; preds = %14 %19 = load i32, ptr @VHOST_USER_GET_CONFIG, align 4, !tbaa !10 %20 = getelementptr inbounds %struct.vhost_user_msg, ptr %16, i64 0, i32 1 %21 = getelementptr inbounds %struct.vhost_user_msg, ptr %16, i64 0, i32 1, i32 1 store i32 %19, ptr %21, align 8, !tbaa !11 store i64 %7, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 0, i32 2 store i64 0, ptr %22, align 8, !tbaa !18 store i32 %5, ptr %16, align 8, !tbaa !19 %23 = tail call i32 @vhost_user_send(ptr noundef nonnull %0, i32 noundef 1, ptr noundef nonnull %16, ptr noundef null, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %18 %26 = sext i32 %23 to i64 %27 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %26) #2 br label %47 28: ; preds = %18 %29 = tail call i32 @vhost_user_recv_resp(ptr noundef nonnull %0, ptr noundef nonnull %16, i64 noundef %8) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = sext i32 %29 to i64 %33 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %32) #2 br label %47 34: ; preds = %28 %35 = load i64, ptr %20, align 8, !tbaa !17 %36 = icmp eq i64 %35, %7 %37 = load i32, ptr %16, align 8, !tbaa !19 %38 = icmp eq i32 %37, %5 %39 = select i1 %36, i1 %38, i1 false br i1 %39, label %42, label %40 40: ; preds = %34 %41 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i64 noundef %35, i64 noundef %7, i32 noundef %37, i32 noundef %5) #2 br label %47 42: ; preds = %34 %43 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i64 0, i32 1 %44 = load i32, ptr %43, align 4, !tbaa !20 %45 = add nsw i32 %44, %1 %46 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %45, i32 noundef %3) #2 br label %47 47: ; preds = %42, %40, %31, %25 %48 = tail call i32 @kfree(ptr noundef nonnull %16) #2 br label %49 49: ; preds = %14, %4, %47 ret void } declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vhost_user_send(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vu_err(ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @vhost_user_recv_resp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"virtio_uml_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 24} !12 = !{!"vhost_user_msg", !13, i64 0, !16, i64 16} !13 = !{!"TYPE_6__", !14, i64 0} !14 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !15, i64 8} !15 = !{!"long", !8, i64 0} !16 = !{!"TYPE_4__", !15, i64 0, !7, i64 8} !17 = !{!12, !15, i64 16} !18 = !{!12, !15, i64 8} !19 = !{!12, !7, i64 0} !20 = !{!12, !7, i64 4}
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_virtio_uml.c_vhost_user_get_config.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_virtio_uml.c_vhost_user_get_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VHOST_USER_PROTOCOL_F_CONFIG = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @VHOST_USER_GET_CONFIG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"sending VHOST_USER_GET_CONFIG failed: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"receiving VHOST_USER_GET_CONFIG response failed: %d\0A\00", align 1 @EPROTO = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [86 x i8] c"Invalid VHOST_USER_GET_CONFIG sizes (payload %d expected %zu, config %u expected %u)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vhost_user_get_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vhost_user_get_config(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = add nsw i32 %3, %1 %6 = sext i32 %5 to i64 %7 = add nsw i64 %6, 16 %8 = add nsw i64 %6, 32 %9 = load i32, ptr %0, align 4, !tbaa !6 %10 = load i32, ptr @VHOST_USER_PROTOCOL_F_CONFIG, align 4, !tbaa !11 %11 = tail call i32 @BIT_ULL(i32 noundef %10) #2 %12 = and i32 %11, %9 %13 = icmp eq i32 %12, 0 br i1 %13, label %49, label %14 14: ; preds = %4 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %16 = tail call ptr @kzalloc(i64 noundef %8, i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %49, label %18 18: ; preds = %14 %19 = load i32, ptr @VHOST_USER_GET_CONFIG, align 4, !tbaa !11 %20 = getelementptr inbounds i8, ptr %16, i64 16 %21 = getelementptr inbounds i8, ptr %16, i64 24 store i32 %19, ptr %21, align 8, !tbaa !12 store i64 %7, ptr %20, align 8, !tbaa !18 %22 = getelementptr inbounds i8, ptr %16, i64 8 store i64 0, ptr %22, align 8, !tbaa !19 store i32 %5, ptr %16, align 8, !tbaa !20 %23 = tail call i32 @vhost_user_send(ptr noundef nonnull %0, i32 noundef 1, ptr noundef nonnull %16, ptr noundef null, i32 noundef 0) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %18 %26 = sext i32 %23 to i64 %27 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %26) #2 br label %47 28: ; preds = %18 %29 = tail call i32 @vhost_user_recv_resp(ptr noundef nonnull %0, ptr noundef nonnull %16, i64 noundef %8) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = sext i32 %29 to i64 %33 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %32) #2 br label %47 34: ; preds = %28 %35 = load i64, ptr %20, align 8, !tbaa !18 %36 = icmp eq i64 %35, %7 %37 = load i32, ptr %16, align 8, !tbaa !20 %38 = icmp eq i32 %37, %5 %39 = select i1 %36, i1 %38, i1 false br i1 %39, label %42, label %40 40: ; preds = %34 %41 = tail call i32 (ptr, ptr, i64, ...) @vu_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i64 noundef %35, i64 noundef %7, i32 noundef %37, i32 noundef %5) #2 br label %47 42: ; preds = %34 %43 = getelementptr inbounds i8, ptr %16, i64 4 %44 = load i32, ptr %43, align 4, !tbaa !21 %45 = add nsw i32 %44, %1 %46 = tail call i32 @memcpy(ptr noundef %2, i32 noundef %45, i32 noundef %3) #2 br label %47 47: ; preds = %42, %40, %31, %25 %48 = tail call i32 @kfree(ptr noundef nonnull %16) #2 br label %49 49: ; preds = %14, %4, %47 ret void } declare i32 @BIT_ULL(i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vhost_user_send(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vu_err(ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1 declare i32 @vhost_user_recv_resp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"virtio_uml_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 24} !13 = !{!"vhost_user_msg", !14, i64 0, !17, i64 16} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !16, i64 8} !16 = !{!"long", !9, i64 0} !17 = !{!"TYPE_4__", !16, i64 0, !8, i64 8} !18 = !{!13, !16, i64 16} !19 = !{!13, !16, i64 8} !20 = !{!13, !8, i64 0} !21 = !{!13, !8, i64 4}
linux_arch_um_drivers_extr_virtio_uml.c_vhost_user_get_config
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_header.c_getItem.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_header.c_getItem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32 } @HDI_TEXT = dso_local local_unnamed_addr global i32 0, align 4 @MAX_CHARS = dso_local local_unnamed_addr global i32 0, align 4 @HDM_GETITEMA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @getItem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @getItem(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_2__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = load i32, ptr @HDI_TEXT, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 2 store i32 %5, ptr %6, align 4, !tbaa !9 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 store i32 %2, ptr %7, align 4, !tbaa !11 %8 = load i32, ptr @MAX_CHARS, align 4, !tbaa !5 store i32 %8, ptr %4, align 4, !tbaa !12 %9 = load i32, ptr @HDM_GETITEMA, align 4, !tbaa !5 %10 = ptrtoint ptr %4 to i64 %11 = trunc i64 %10 to i32 %12 = call i32 @SendMessageA(i32 noundef %0, i32 noundef %9, i32 noundef %1, i32 noundef %11) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SendMessageA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_header.c_getItem.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_header.c_getItem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32 } @HDI_TEXT = common local_unnamed_addr global i32 0, align 4 @MAX_CHARS = common local_unnamed_addr global i32 0, align 4 @HDM_GETITEMA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @getItem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @getItem(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca %struct.TYPE_2__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = load i32, ptr @HDI_TEXT, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %5, ptr %6, align 4, !tbaa !10 %7 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %2, ptr %7, align 4, !tbaa !12 %8 = load i32, ptr @MAX_CHARS, align 4, !tbaa !6 store i32 %8, ptr %4, align 4, !tbaa !13 %9 = load i32, ptr @HDM_GETITEMA, align 4, !tbaa !6 %10 = ptrtoint ptr %4 to i64 %11 = trunc i64 %10 to i32 %12 = call i32 @SendMessageA(i32 noundef %0, i32 noundef %9, i32 noundef %1, i32 noundef %11) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SendMessageA(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 0}
reactos_modules_rostests_winetests_comctl32_extr_header.c_getItem
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_status.c_find_vdev_problem.c' source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_status.c_find_vdev_problem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32, i32 } @ZPOOL_CONFIG_TYPE = dso_local local_unnamed_addr global i32 0, align 4 @VDEV_TYPE_REPLACING = dso_local local_unnamed_addr global i32 0, align 4 @B_FALSE = dso_local local_unnamed_addr global ptr null, align 8 @ZPOOL_CONFIG_CHILDREN = dso_local local_unnamed_addr global i32 0, align 4 @B_TRUE = dso_local local_unnamed_addr global ptr null, align 8 @ZPOOL_CONFIG_VDEV_STATS = dso_local local_unnamed_addr global i32 0, align 4 @ZPOOL_CONFIG_L2CACHE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_vdev_problem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @find_vdev_problem(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = load i32, ptr @ZPOOL_CONFIG_TYPE, align 4, !tbaa !5 %9 = call i64 @nvlist_lookup_string(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %7) #3 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @verify(i32 noundef %11) #3 %13 = load ptr, ptr %7, align 8, !tbaa !9 %14 = load i32, ptr @VDEV_TYPE_REPLACING, align 4, !tbaa !5 %15 = call i64 @strcmp(ptr noundef %13, i32 noundef %14) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %74, label %17 17: ; preds = %2 %18 = load i32, ptr @ZPOOL_CONFIG_CHILDREN, align 4, !tbaa !5 %19 = call i64 @nvlist_lookup_nvlist_array(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %35 21: ; preds = %17 store i64 0, ptr %5, align 8, !tbaa !11 %22 = load i64, ptr %6, align 8, !tbaa !11 %23 = icmp eq i64 %22, 0 br i1 %23, label %55, label %24 24: ; preds = %21, %31 %25 = phi i64 [ %32, %31 ], [ 0, %21 ] %26 = load ptr, ptr %3, align 8, !tbaa !9 %27 = getelementptr inbounds ptr, ptr %26, i64 %25 %28 = load ptr, ptr %27, align 8, !tbaa !9 %29 = call ptr @find_vdev_problem(ptr noundef %28, ptr noundef %1) %30 = icmp eq ptr %29, null br i1 %30, label %31, label %74 31: ; preds = %24 %32 = add nuw i64 %25, 1 store i64 %32, ptr %5, align 8, !tbaa !11 %33 = load i64, ptr %6, align 8, !tbaa !11 %34 = icmp ult i64 %32, %33 br i1 %34, label %24, label %55, !llvm.loop !13 35: ; preds = %17 %36 = load i32, ptr @ZPOOL_CONFIG_VDEV_STATS, align 4, !tbaa !5 %37 = call i64 @nvlist_lookup_uint64_array(ptr noundef %0, i32 noundef %36, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %38 = icmp eq i64 %37, 0 %39 = zext i1 %38 to i32 %40 = call i32 @verify(i32 noundef %39) #3 %41 = load ptr, ptr %4, align 8, !tbaa !9 %42 = load i32, ptr %41, align 4, !tbaa !15 %43 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 0, i32 1 %44 = load i32, ptr %43, align 4, !tbaa !17 %45 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 0, i32 2 %46 = load i32, ptr %45, align 4, !tbaa !18 %47 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 0, i32 3 %48 = load i32, ptr %47, align 4, !tbaa !19 %49 = add nsw i32 %48, %46 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i64 0, i32 4 %51 = load i32, ptr %50, align 4, !tbaa !20 %52 = add nsw i32 %49, %51 %53 = call i32 %1(i32 noundef %42, i32 noundef %44, i32 noundef %52) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %74 55: ; preds = %31, %21, %35 %56 = load i32, ptr @ZPOOL_CONFIG_L2CACHE, align 4, !tbaa !5 %57 = call i64 @nvlist_lookup_nvlist_array(ptr noundef %0, i32 noundef %56, ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %74 59: ; preds = %55 store i64 0, ptr %5, align 8, !tbaa !11 %60 = load i64, ptr %6, align 8, !tbaa !11 %61 = icmp eq i64 %60, 0 br i1 %61, label %74, label %62 62: ; preds = %59, %69 %63 = phi i64 [ %71, %69 ], [ 0, %59 ] %64 = load ptr, ptr %3, align 8, !tbaa !9 %65 = getelementptr inbounds ptr, ptr %64, i64 %63 %66 = load ptr, ptr %65, align 8, !tbaa !9 %67 = call ptr @find_vdev_problem(ptr noundef %66, ptr noundef %1) %68 = icmp eq ptr %67, null br i1 %68, label %69, label %74 69: ; preds = %62 %70 = load i64, ptr %5, align 8, !tbaa !11 %71 = add i64 %70, 1 store i64 %71, ptr %5, align 8, !tbaa !11 %72 = load i64, ptr %6, align 8, !tbaa !11 %73 = icmp ult i64 %71, %72 br i1 %73, label %62, label %74, !llvm.loop !21 74: ; preds = %24, %62, %69, %59, %55, %35, %2 %75 = phi ptr [ @B_FALSE, %2 ], [ @B_TRUE, %35 ], [ @B_FALSE, %55 ], [ @B_FALSE, %59 ], [ @B_TRUE, %62 ], [ @B_FALSE, %69 ], [ @B_TRUE, %24 ] %76 = load ptr, ptr %75, align 8, !tbaa !9 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %76 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @verify(i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_nvlist_array(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_uint64_array(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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_2__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16} !17 = !{!16, !6, i64 4} !18 = !{!16, !6, i64 8} !19 = !{!16, !6, i64 12} !20 = !{!16, !6, i64 16} !21 = distinct !{!21, !14}
; ModuleID = 'AnghaBench/zfs/lib/libzfs/extr_libzfs_status.c_find_vdev_problem.c' source_filename = "AnghaBench/zfs/lib/libzfs/extr_libzfs_status.c_find_vdev_problem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZPOOL_CONFIG_TYPE = common local_unnamed_addr global i32 0, align 4 @VDEV_TYPE_REPLACING = common local_unnamed_addr global i32 0, align 4 @B_FALSE = common local_unnamed_addr global ptr null, align 8 @ZPOOL_CONFIG_CHILDREN = common local_unnamed_addr global i32 0, align 4 @B_TRUE = common local_unnamed_addr global ptr null, align 8 @ZPOOL_CONFIG_VDEV_STATS = common local_unnamed_addr global i32 0, align 4 @ZPOOL_CONFIG_L2CACHE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @find_vdev_problem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @find_vdev_problem(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = load i32, ptr @ZPOOL_CONFIG_TYPE, align 4, !tbaa !6 %9 = call i64 @nvlist_lookup_string(ptr noundef %0, i32 noundef %8, ptr noundef nonnull %7) #3 %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = call i32 @verify(i32 noundef %11) #3 %13 = load ptr, ptr %7, align 8, !tbaa !10 %14 = load i32, ptr @VDEV_TYPE_REPLACING, align 4, !tbaa !6 %15 = call i64 @strcmp(ptr noundef %13, i32 noundef %14) #3 %16 = icmp eq i64 %15, 0 br i1 %16, label %74, label %17 17: ; preds = %2 %18 = load i32, ptr @ZPOOL_CONFIG_CHILDREN, align 4, !tbaa !6 %19 = call i64 @nvlist_lookup_nvlist_array(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %35 21: ; preds = %17 store i64 0, ptr %5, align 8, !tbaa !12 %22 = load i64, ptr %6, align 8, !tbaa !12 %23 = icmp eq i64 %22, 0 br i1 %23, label %55, label %24 24: ; preds = %21, %31 %25 = phi i64 [ %32, %31 ], [ 0, %21 ] %26 = load ptr, ptr %3, align 8, !tbaa !10 %27 = getelementptr inbounds ptr, ptr %26, i64 %25 %28 = load ptr, ptr %27, align 8, !tbaa !10 %29 = call ptr @find_vdev_problem(ptr noundef %28, ptr noundef %1) %30 = icmp eq ptr %29, null br i1 %30, label %31, label %74 31: ; preds = %24 %32 = add nuw i64 %25, 1 store i64 %32, ptr %5, align 8, !tbaa !12 %33 = load i64, ptr %6, align 8, !tbaa !12 %34 = icmp ult i64 %32, %33 br i1 %34, label %24, label %55, !llvm.loop !14 35: ; preds = %17 %36 = load i32, ptr @ZPOOL_CONFIG_VDEV_STATS, align 4, !tbaa !6 %37 = call i64 @nvlist_lookup_uint64_array(ptr noundef %0, i32 noundef %36, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %38 = icmp eq i64 %37, 0 %39 = zext i1 %38 to i32 %40 = call i32 @verify(i32 noundef %39) #3 %41 = load ptr, ptr %4, align 8, !tbaa !10 %42 = load i32, ptr %41, align 4, !tbaa !16 %43 = getelementptr inbounds i8, ptr %41, i64 4 %44 = load i32, ptr %43, align 4, !tbaa !18 %45 = getelementptr inbounds i8, ptr %41, i64 8 %46 = load i32, ptr %45, align 4, !tbaa !19 %47 = getelementptr inbounds i8, ptr %41, i64 12 %48 = load i32, ptr %47, align 4, !tbaa !20 %49 = add nsw i32 %48, %46 %50 = getelementptr inbounds i8, ptr %41, i64 16 %51 = load i32, ptr %50, align 4, !tbaa !21 %52 = add nsw i32 %49, %51 %53 = call i32 %1(i32 noundef %42, i32 noundef %44, i32 noundef %52) #3 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %74 55: ; preds = %31, %21, %35 %56 = load i32, ptr @ZPOOL_CONFIG_L2CACHE, align 4, !tbaa !6 %57 = call i64 @nvlist_lookup_nvlist_array(ptr noundef %0, i32 noundef %56, ptr noundef nonnull %3, ptr noundef nonnull %6) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %74 59: ; preds = %55 store i64 0, ptr %5, align 8, !tbaa !12 %60 = load i64, ptr %6, align 8, !tbaa !12 %61 = icmp eq i64 %60, 0 br i1 %61, label %74, label %62 62: ; preds = %59, %69 %63 = phi i64 [ %71, %69 ], [ 0, %59 ] %64 = load ptr, ptr %3, align 8, !tbaa !10 %65 = getelementptr inbounds ptr, ptr %64, i64 %63 %66 = load ptr, ptr %65, align 8, !tbaa !10 %67 = call ptr @find_vdev_problem(ptr noundef %66, ptr noundef %1) %68 = icmp eq ptr %67, null br i1 %68, label %69, label %74 69: ; preds = %62 %70 = load i64, ptr %5, align 8, !tbaa !12 %71 = add i64 %70, 1 store i64 %71, ptr %5, align 8, !tbaa !12 %72 = load i64, ptr %6, align 8, !tbaa !12 %73 = icmp ult i64 %71, %72 br i1 %73, label %62, label %74, !llvm.loop !22 74: ; preds = %24, %62, %69, %59, %55, %35, %2 %75 = phi ptr [ @B_FALSE, %2 ], [ @B_TRUE, %35 ], [ @B_FALSE, %55 ], [ @B_FALSE, %59 ], [ @B_TRUE, %62 ], [ @B_FALSE, %69 ], [ @B_TRUE, %24 ] %76 = load ptr, ptr %75, align 8, !tbaa !10 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %76 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @verify(i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_string(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_nvlist_array(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @nvlist_lookup_uint64_array(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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_2__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !18 = !{!17, !7, i64 4} !19 = !{!17, !7, i64 8} !20 = !{!17, !7, i64 12} !21 = !{!17, !7, i64 16} !22 = distinct !{!22, !15}
zfs_lib_libzfs_extr_libzfs_status.c_find_vdev_problem
; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_ring_slots_available.c' source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_ring_slots_available.c" target datalayout = "e-m:e-p270:32:32-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.xenvif_queue = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i64, ptr } %struct.sk_buff = type { i64, i32 } %struct.TYPE_3__ = type { i64, i64 } @XEN_PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xenvif_rx_ring_slots_available], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @xenvif_rx_ring_slots_available(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.xenvif_queue, ptr %0, i64 0, i32 1 %3 = tail call ptr @skb_peek(ptr noundef nonnull %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %35, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr @XEN_PAGE_SIZE, align 4, !tbaa !11 %9 = tail call i32 @DIV_ROUND_UP(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i64 @skb_is_gso(ptr noundef nonnull %3) #2 %11 = icmp ne i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add nsw i32 %9, %12 %14 = load i64, ptr %3, align 8, !tbaa !12 %15 = icmp ne i64 %14, 0 %16 = zext i1 %15 to i32 %17 = add nsw i32 %13, %16 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %19 = sext i32 %17 to i64 %20 = load ptr, ptr %18, align 8, !tbaa !13 %21 = load i64, ptr %20, align 8, !tbaa !17 br label %22 22: ; preds = %28, %5 %23 = phi i64 [ %33, %28 ], [ %21, %5 ] %24 = phi ptr [ %32, %28 ], [ %20, %5 ] %25 = load i64, ptr %0, align 8, !tbaa !19 %26 = sub nsw i64 %23, %25 %27 = icmp slt i64 %26, %19 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = add nsw i64 %23, 1 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i64 0, i32 1 store i64 %29, ptr %30, align 8, !tbaa !20 %31 = tail call i32 (...) @mb() #2 %32 = load ptr, ptr %18, align 8, !tbaa !13 %33 = load i64, ptr %32, align 8, !tbaa !17 %34 = icmp eq i64 %33, %23 br i1 %34, label %35, label %22, !llvm.loop !21 35: ; preds = %28, %22, %1 %36 = phi i32 [ 0, %1 ], [ 0, %28 ], [ 1, %22 ] ret i32 %36 } declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i32 @mb(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"sk_buff", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !16, i64 8} !14 = !{!"xenvif_queue", !15, i64 0, !10, i64 16} !15 = !{!"TYPE_4__", !7, i64 0, !16, i64 8} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !19 = !{!14, !7, i64 0} !20 = !{!18, !7, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_ring_slots_available.c' source_filename = "AnghaBench/linux/drivers/net/xen-netback/extr_rx.c_xenvif_rx_ring_slots_available.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XEN_PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xenvif_rx_ring_slots_available], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @xenvif_rx_ring_slots_available(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call ptr @skb_peek(ptr noundef nonnull %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %35, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr @XEN_PAGE_SIZE, align 4, !tbaa !12 %9 = tail call i32 @DIV_ROUND_UP(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i64 @skb_is_gso(ptr noundef nonnull %3) #2 %11 = icmp ne i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add nsw i32 %9, %12 %14 = load i64, ptr %3, align 8, !tbaa !13 %15 = icmp ne i64 %14, 0 %16 = zext i1 %15 to i32 %17 = add nsw i32 %13, %16 %18 = getelementptr inbounds i8, ptr %0, i64 8 %19 = sext i32 %17 to i64 %20 = load ptr, ptr %18, align 8, !tbaa !14 %21 = load i64, ptr %20, align 8, !tbaa !18 br label %22 22: ; preds = %28, %5 %23 = phi i64 [ %33, %28 ], [ %21, %5 ] %24 = phi ptr [ %32, %28 ], [ %20, %5 ] %25 = load i64, ptr %0, align 8, !tbaa !20 %26 = sub nsw i64 %23, %25 %27 = icmp slt i64 %26, %19 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = add nsw i64 %23, 1 %30 = getelementptr inbounds i8, ptr %24, i64 8 store i64 %29, ptr %30, align 8, !tbaa !21 %31 = tail call i32 @mb() #2 %32 = load ptr, ptr %18, align 8, !tbaa !14 %33 = load i64, ptr %32, align 8, !tbaa !18 %34 = icmp eq i64 %33, %23 br i1 %34, label %35, label %22, !llvm.loop !22 35: ; preds = %28, %22, %1 %36 = phi i32 [ 0, %1 ], [ 0, %28 ], [ 1, %22 ] ret i32 %36 } declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare i32 @DIV_ROUND_UP(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @skb_is_gso(ptr noundef) local_unnamed_addr #1 declare i32 @mb(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"sk_buff", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !17, i64 8} !15 = !{!"xenvif_queue", !16, i64 0, !11, i64 16} !16 = !{!"TYPE_4__", !8, i64 0, !17, i64 8} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_3__", !8, i64 0, !8, i64 8} !20 = !{!15, !8, i64 0} !21 = !{!19, !8, i64 8} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_xen-netback_extr_rx.c_xenvif_rx_ring_slots_available
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_genhd.c_dasd_gendisk_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_genhd.c_dasd_gendisk_alloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dasd_block = type { ptr, i32, ptr } %struct.gendisk = type { i32, i32, i64, ptr, ptr, i32 } %struct.dasd_device = type { i32, i32, i32, ptr } @DASD_PER_MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @DASD_PARTN_BITS = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @DASD_MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @dasd_device_operations = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"dasd\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @DASD_FEATURE_READONLY = dso_local local_unnamed_addr global i32 0, align 4 @DASD_FLAG_DEVICE_RO = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dasd_gendisk_alloc(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.dasd_block, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr @DASD_PER_MAJOR, align 4, !tbaa !13 %6 = icmp slt i32 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @EBUSY, align 4, !tbaa !13 %9 = sub nsw i32 0, %8 br label %103 10: ; preds = %1 %11 = load i32, ptr @DASD_PARTN_BITS, align 4, !tbaa !13 %12 = shl nuw i32 1, %11 %13 = tail call ptr @alloc_disk(i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %17 = sub nsw i32 0, %16 br label %103 18: ; preds = %10 %19 = load i32, ptr @DASD_MAJOR, align 4, !tbaa !13 %20 = getelementptr inbounds %struct.gendisk, ptr %13, i64 0, i32 5 store i32 %19, ptr %20, align 8, !tbaa !14 %21 = load i32, ptr %3, align 8, !tbaa !11 %22 = load i32, ptr @DASD_PARTN_BITS, align 4, !tbaa !13 %23 = shl i32 %21, %22 store i32 %23, ptr %13, align 8, !tbaa !17 %24 = getelementptr inbounds %struct.gendisk, ptr %13, i64 0, i32 4 store ptr @dasd_device_operations, ptr %24, align 8, !tbaa !18 %25 = getelementptr inbounds %struct.dasd_device, ptr %3, i64 0, i32 3 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = getelementptr inbounds %struct.gendisk, ptr %13, i64 0, i32 3 store ptr %26, ptr %27, align 8, !tbaa !20 %28 = getelementptr inbounds %struct.gendisk, ptr %13, i64 0, i32 2 %29 = load i64, ptr %28, align 8, !tbaa !21 %30 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %29, ptr noundef nonnull @.str) #2 %31 = load i32, ptr %3, align 8, !tbaa !11 %32 = icmp sgt i32 %31, 25 br i1 %32, label %33, label %74 33: ; preds = %18 %34 = icmp ugt i32 %31, 701 br i1 %34, label %35, label %61 35: ; preds = %33 %36 = icmp ugt i32 %31, 18277 br i1 %36, label %37, label %48 37: ; preds = %35 %38 = load i64, ptr %28, align 8, !tbaa !21 %39 = sext i32 %30 to i64 %40 = add nsw i64 %38, %39 %41 = add nsw i32 %31, -18278 %42 = udiv i32 %41, 17576 %43 = urem i32 %42, 26 %44 = add nuw nsw i32 %43, 97 %45 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %40, ptr noundef nonnull @.str.1, i32 noundef %44) #2 %46 = add nsw i32 %45, %30 %47 = load i32, ptr %3, align 8, !tbaa !11 br label %48 48: ; preds = %37, %35 %49 = phi i32 [ %47, %37 ], [ %31, %35 ] %50 = phi i32 [ %46, %37 ], [ %30, %35 ] %51 = load i64, ptr %28, align 8, !tbaa !21 %52 = sext i32 %50 to i64 %53 = add nsw i64 %51, %52 %54 = add nsw i32 %49, -702 %55 = sdiv i32 %54, 676 %56 = srem i32 %55, 26 %57 = add nsw i32 %56, 97 %58 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %53, ptr noundef nonnull @.str.1, i32 noundef %57) #2 %59 = add nsw i32 %58, %50 %60 = load i32, ptr %3, align 8, !tbaa !11 br label %61 61: ; preds = %48, %33 %62 = phi i32 [ %60, %48 ], [ %31, %33 ] %63 = phi i32 [ %59, %48 ], [ %30, %33 ] %64 = load i64, ptr %28, align 8, !tbaa !21 %65 = sext i32 %63 to i64 %66 = add nsw i64 %64, %65 %67 = add nsw i32 %62, -26 %68 = sdiv i32 %67, 26 %69 = srem i32 %68, 26 %70 = add nsw i32 %69, 97 %71 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %66, ptr noundef nonnull @.str.1, i32 noundef %70) #2 %72 = add nsw i32 %71, %63 %73 = load i32, ptr %3, align 8, !tbaa !11 br label %74 74: ; preds = %61, %18 %75 = phi i32 [ %73, %61 ], [ %31, %18 ] %76 = phi i32 [ %72, %61 ], [ %30, %18 ] %77 = load i64, ptr %28, align 8, !tbaa !21 %78 = sext i32 %76 to i64 %79 = add nsw i64 %77, %78 %80 = srem i32 %75, 26 %81 = add nsw i32 %80, 97 %82 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %79, ptr noundef nonnull @.str.1, i32 noundef %81) #2 %83 = getelementptr inbounds %struct.dasd_device, ptr %3, i64 0, i32 1 %84 = load i32, ptr %83, align 4, !tbaa !22 %85 = load i32, ptr @DASD_FEATURE_READONLY, align 4, !tbaa !13 %86 = and i32 %85, %84 %87 = icmp eq i32 %86, 0 br i1 %87, label %88, label %93 88: ; preds = %74 %89 = load i32, ptr @DASD_FLAG_DEVICE_RO, align 4, !tbaa !13 %90 = getelementptr inbounds %struct.dasd_device, ptr %3, i64 0, i32 2 %91 = tail call i64 @test_bit(i32 noundef %89, ptr noundef nonnull %90) #2 %92 = icmp eq i64 %91, 0 br i1 %92, label %95, label %93 93: ; preds = %88, %74 %94 = tail call i32 @set_disk_ro(ptr noundef nonnull %13, i32 noundef 1) #2 br label %95 95: ; preds = %93, %88 %96 = tail call i32 @dasd_add_link_to_gendisk(ptr noundef nonnull %13, ptr noundef nonnull %3) #2 %97 = getelementptr inbounds %struct.dasd_block, ptr %0, i64 0, i32 1 %98 = load i32, ptr %97, align 8, !tbaa !23 %99 = getelementptr inbounds %struct.gendisk, ptr %13, i64 0, i32 1 store i32 %98, ptr %99, align 4, !tbaa !24 store ptr %13, ptr %0, align 8, !tbaa !25 %100 = tail call i32 @set_capacity(ptr noundef nonnull %13, i32 noundef 0) #2 %101 = load ptr, ptr %0, align 8, !tbaa !25 %102 = tail call i32 @add_disk(ptr noundef %101) #2 br label %103 103: ; preds = %95, %15, %7 %104 = phi i32 [ %9, %7 ], [ 0, %95 ], [ %17, %15 ] ret i32 %104 } declare ptr @alloc_disk(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i64 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_disk_ro(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dasd_add_link_to_gendisk(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_capacity(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @add_disk(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"dasd_block", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"dasd_device", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16} !13 = !{!10, !10, i64 0} !14 = !{!15, !10, i64 32} !15 = !{!"gendisk", !10, i64 0, !10, i64 4, !16, i64 8, !7, i64 16, !7, i64 24, !10, i64 32} !16 = !{!"long", !8, i64 0} !17 = !{!15, !10, i64 0} !18 = !{!15, !7, i64 24} !19 = !{!12, !7, i64 16} !20 = !{!15, !7, i64 16} !21 = !{!15, !16, i64 8} !22 = !{!12, !10, i64 4} !23 = !{!6, !10, i64 8} !24 = !{!15, !10, i64 4} !25 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_genhd.c_dasd_gendisk_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/block/extr_dasd_genhd.c_dasd_gendisk_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DASD_PER_MAJOR = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @DASD_PARTN_BITS = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @DASD_MAJOR = common local_unnamed_addr global i32 0, align 4 @dasd_device_operations = common global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"dasd\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @DASD_FEATURE_READONLY = common local_unnamed_addr global i32 0, align 4 @DASD_FLAG_DEVICE_RO = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @dasd_gendisk_alloc(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 8, !tbaa !12 %5 = load i32, ptr @DASD_PER_MAJOR, align 4, !tbaa !14 %6 = icmp slt i32 %4, %5 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @EBUSY, align 4, !tbaa !14 %9 = sub nsw i32 0, %8 br label %103 10: ; preds = %1 %11 = load i32, ptr @DASD_PARTN_BITS, align 4, !tbaa !14 %12 = shl nuw i32 1, %11 %13 = tail call ptr @alloc_disk(i32 noundef %12) #2 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %17 = sub nsw i32 0, %16 br label %103 18: ; preds = %10 %19 = load i32, ptr @DASD_MAJOR, align 4, !tbaa !14 %20 = getelementptr inbounds i8, ptr %13, i64 32 store i32 %19, ptr %20, align 8, !tbaa !15 %21 = load i32, ptr %3, align 8, !tbaa !12 %22 = load i32, ptr @DASD_PARTN_BITS, align 4, !tbaa !14 %23 = shl i32 %21, %22 store i32 %23, ptr %13, align 8, !tbaa !18 %24 = getelementptr inbounds i8, ptr %13, i64 24 store ptr @dasd_device_operations, ptr %24, align 8, !tbaa !19 %25 = getelementptr inbounds i8, ptr %3, i64 16 %26 = load ptr, ptr %25, align 8, !tbaa !20 %27 = getelementptr inbounds i8, ptr %13, i64 16 store ptr %26, ptr %27, align 8, !tbaa !21 %28 = getelementptr inbounds i8, ptr %13, i64 8 %29 = load i64, ptr %28, align 8, !tbaa !22 %30 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %29, ptr noundef nonnull @.str) #2 %31 = load i32, ptr %3, align 8, !tbaa !12 %32 = icmp sgt i32 %31, 25 br i1 %32, label %33, label %74 33: ; preds = %18 %34 = icmp ugt i32 %31, 701 br i1 %34, label %35, label %61 35: ; preds = %33 %36 = icmp ugt i32 %31, 18277 br i1 %36, label %37, label %48 37: ; preds = %35 %38 = load i64, ptr %28, align 8, !tbaa !22 %39 = sext i32 %30 to i64 %40 = add nsw i64 %38, %39 %41 = add nsw i32 %31, -18278 %42 = udiv i32 %41, 17576 %43 = urem i32 %42, 26 %44 = add nuw nsw i32 %43, 97 %45 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %40, ptr noundef nonnull @.str.1, i32 noundef %44) #2 %46 = add nsw i32 %45, %30 %47 = load i32, ptr %3, align 8, !tbaa !12 br label %48 48: ; preds = %37, %35 %49 = phi i32 [ %47, %37 ], [ %31, %35 ] %50 = phi i32 [ %46, %37 ], [ %30, %35 ] %51 = load i64, ptr %28, align 8, !tbaa !22 %52 = sext i32 %50 to i64 %53 = add nsw i64 %51, %52 %54 = add nsw i32 %49, -702 %55 = sdiv i32 %54, 676 %56 = srem i32 %55, 26 %57 = add nsw i32 %56, 97 %58 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %53, ptr noundef nonnull @.str.1, i32 noundef %57) #2 %59 = add nsw i32 %58, %50 %60 = load i32, ptr %3, align 8, !tbaa !12 br label %61 61: ; preds = %48, %33 %62 = phi i32 [ %60, %48 ], [ %31, %33 ] %63 = phi i32 [ %59, %48 ], [ %30, %33 ] %64 = load i64, ptr %28, align 8, !tbaa !22 %65 = sext i32 %63 to i64 %66 = add nsw i64 %64, %65 %67 = add nsw i32 %62, -26 %68 = sdiv i32 %67, 26 %69 = srem i32 %68, 26 %70 = add nsw i32 %69, 97 %71 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %66, ptr noundef nonnull @.str.1, i32 noundef %70) #2 %72 = add nsw i32 %71, %63 %73 = load i32, ptr %3, align 8, !tbaa !12 br label %74 74: ; preds = %61, %18 %75 = phi i32 [ %73, %61 ], [ %31, %18 ] %76 = phi i32 [ %72, %61 ], [ %30, %18 ] %77 = load i64, ptr %28, align 8, !tbaa !22 %78 = sext i32 %76 to i64 %79 = add nsw i64 %77, %78 %80 = srem i32 %75, 26 %81 = add nsw i32 %80, 97 %82 = tail call i32 (i64, ptr, ...) @sprintf(i64 noundef %79, ptr noundef nonnull @.str.1, i32 noundef %81) #2 %83 = getelementptr inbounds i8, ptr %3, i64 4 %84 = load i32, ptr %83, align 4, !tbaa !23 %85 = load i32, ptr @DASD_FEATURE_READONLY, align 4, !tbaa !14 %86 = and i32 %85, %84 %87 = icmp eq i32 %86, 0 br i1 %87, label %88, label %93 88: ; preds = %74 %89 = load i32, ptr @DASD_FLAG_DEVICE_RO, align 4, !tbaa !14 %90 = getelementptr inbounds i8, ptr %3, i64 8 %91 = tail call i64 @test_bit(i32 noundef %89, ptr noundef nonnull %90) #2 %92 = icmp eq i64 %91, 0 br i1 %92, label %95, label %93 93: ; preds = %88, %74 %94 = tail call i32 @set_disk_ro(ptr noundef nonnull %13, i32 noundef 1) #2 br label %95 95: ; preds = %93, %88 %96 = tail call i32 @dasd_add_link_to_gendisk(ptr noundef nonnull %13, ptr noundef nonnull %3) #2 %97 = getelementptr inbounds i8, ptr %0, i64 8 %98 = load i32, ptr %97, align 8, !tbaa !24 %99 = getelementptr inbounds i8, ptr %13, i64 4 store i32 %98, ptr %99, align 4, !tbaa !25 store ptr %13, ptr %0, align 8, !tbaa !26 %100 = tail call i32 @set_capacity(ptr noundef nonnull %13, i32 noundef 0) #2 %101 = load ptr, ptr %0, align 8, !tbaa !26 %102 = tail call i32 @add_disk(ptr noundef %101) #2 br label %103 103: ; preds = %95, %15, %7 %104 = phi i32 [ %9, %7 ], [ 0, %95 ], [ %17, %15 ] ret i32 %104 } declare ptr @alloc_disk(i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(i64 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_disk_ro(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dasd_add_link_to_gendisk(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @set_capacity(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @add_disk(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"dasd_block", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"dasd_device", !11, i64 0, !11, i64 4, !11, i64 8, !8, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 32} !16 = !{!"gendisk", !11, i64 0, !11, i64 4, !17, i64 8, !8, i64 16, !8, i64 24, !11, i64 32} !17 = !{!"long", !9, i64 0} !18 = !{!16, !11, i64 0} !19 = !{!16, !8, i64 24} !20 = !{!13, !8, i64 16} !21 = !{!16, !8, i64 16} !22 = !{!16, !17, i64 8} !23 = !{!13, !11, i64 4} !24 = !{!7, !11, i64 8} !25 = !{!16, !11, i64 4} !26 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_s390_block_extr_dasd_genhd.c_dasd_gendisk_alloc
; ModuleID = 'AnghaBench/linux/net/caif/extr_chnl_net.c_ipcaif_net_setup.c' source_filename = "AnghaBench/linux/net/caif/extr_chnl_net.c_ipcaif_net_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.net_device = type { i32, i32, i32, i32, i32, ptr } %struct.chnl_net = type { i32, i32, %struct.TYPE_10__, ptr, %struct.TYPE_6__ } %struct.TYPE_10__ = type { %struct.TYPE_9__, i32, i32, i32 } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32, i32 } @netdev_ops = dso_local global i32 0, align 4 @chnl_net_destructor = dso_local local_unnamed_addr global i32 0, align 4 @IFF_NOARP = dso_local local_unnamed_addr global i32 0, align 4 @IFF_POINTOPOINT = dso_local local_unnamed_addr global i32 0, align 4 @GPRS_PDP_MTU = dso_local local_unnamed_addr global i32 0, align 4 @CAIF_NET_DEFAULT_QUEUE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @chnl_recv_cb = dso_local local_unnamed_addr global i32 0, align 4 @chnl_flowctrl_cb = dso_local local_unnamed_addr global i32 0, align 4 @CAIFPROTO_DATAGRAM = dso_local local_unnamed_addr global i32 0, align 4 @CAIF_LINK_HIGH_BANDW = dso_local local_unnamed_addr global i32 0, align 4 @CAIF_PRIO_LOW = dso_local local_unnamed_addr global i32 0, align 4 @UNDEF_CONNID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipcaif_net_setup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipcaif_net_setup(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 5 store ptr @netdev_ops, ptr %2, align 8, !tbaa !5 store i32 1, ptr %0, align 8, !tbaa !11 %3 = load i32, ptr @chnl_net_destructor, align 4, !tbaa !12 %4 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 4 store i32 %3, ptr %4, align 8, !tbaa !13 %5 = load i32, ptr @IFF_NOARP, align 4, !tbaa !12 %6 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 3 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = or i32 %7, %5 %9 = load i32, ptr @IFF_POINTOPOINT, align 4, !tbaa !12 %10 = or i32 %9, %8 store i32 %10, ptr %6, align 4, !tbaa !14 %11 = load i32, ptr @GPRS_PDP_MTU, align 4, !tbaa !12 %12 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 2 store i32 %11, ptr %12, align 8, !tbaa !15 %13 = load i32, ptr @CAIF_NET_DEFAULT_QUEUE_LEN, align 4, !tbaa !12 %14 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 store i32 %13, ptr %14, align 4, !tbaa !16 %15 = tail call ptr @netdev_priv(ptr noundef nonnull %0) #2 %16 = load i32, ptr @chnl_recv_cb, align 4, !tbaa !12 %17 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 4 %18 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 4, i32 1 store i32 %16, ptr %18, align 4, !tbaa !17 %19 = load i32, ptr @chnl_flowctrl_cb, align 4, !tbaa !12 store i32 %19, ptr %17, align 8, !tbaa !24 %20 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 3 store ptr %0, ptr %20, align 8, !tbaa !25 %21 = load i32, ptr @CAIFPROTO_DATAGRAM, align 4, !tbaa !12 %22 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 2 %23 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 2, i32 3 store i32 %21, ptr %23, align 4, !tbaa !26 %24 = load i32, ptr @CAIF_LINK_HIGH_BANDW, align 4, !tbaa !12 %25 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 2, i32 2 store i32 %24, ptr %25, align 8, !tbaa !27 %26 = load i32, ptr @CAIF_PRIO_LOW, align 4, !tbaa !12 %27 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 2, i32 1 store i32 %26, ptr %27, align 4, !tbaa !28 %28 = load i32, ptr @UNDEF_CONNID, align 4, !tbaa !12 store i32 %28, ptr %22, align 8, !tbaa !29 store i32 0, ptr %15, align 8, !tbaa !30 %29 = getelementptr inbounds %struct.chnl_net, ptr %15, i64 0, i32 1 %30 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %29) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"net_device", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 16} !14 = !{!6, !7, i64 12} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 4} !17 = !{!18, !7, i64 36} !18 = !{!"chnl_net", !7, i64 0, !7, i64 4, !19, i64 8, !10, i64 24, !23, i64 32} !19 = !{!"TYPE_10__", !20, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !20 = !{!"TYPE_9__", !21, i64 0} !21 = !{!"TYPE_8__", !22, i64 0} !22 = !{!"TYPE_7__", !7, i64 0} !23 = !{!"TYPE_6__", !7, i64 0, !7, i64 4} !24 = !{!18, !7, i64 32} !25 = !{!18, !10, i64 24} !26 = !{!18, !7, i64 20} !27 = !{!18, !7, i64 16} !28 = !{!18, !7, i64 12} !29 = !{!18, !7, i64 8} !30 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/caif/extr_chnl_net.c_ipcaif_net_setup.c' source_filename = "AnghaBench/linux/net/caif/extr_chnl_net.c_ipcaif_net_setup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @netdev_ops = common global i32 0, align 4 @chnl_net_destructor = common local_unnamed_addr global i32 0, align 4 @IFF_NOARP = common local_unnamed_addr global i32 0, align 4 @IFF_POINTOPOINT = common local_unnamed_addr global i32 0, align 4 @GPRS_PDP_MTU = common local_unnamed_addr global i32 0, align 4 @CAIF_NET_DEFAULT_QUEUE_LEN = common local_unnamed_addr global i32 0, align 4 @chnl_recv_cb = common local_unnamed_addr global i32 0, align 4 @chnl_flowctrl_cb = common local_unnamed_addr global i32 0, align 4 @CAIFPROTO_DATAGRAM = common local_unnamed_addr global i32 0, align 4 @CAIF_LINK_HIGH_BANDW = common local_unnamed_addr global i32 0, align 4 @CAIF_PRIO_LOW = common local_unnamed_addr global i32 0, align 4 @UNDEF_CONNID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipcaif_net_setup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipcaif_net_setup(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 store ptr @netdev_ops, ptr %2, align 8, !tbaa !6 store i32 1, ptr %0, align 8, !tbaa !12 %3 = load i32, ptr @chnl_net_destructor, align 4, !tbaa !13 %4 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %3, ptr %4, align 8, !tbaa !14 %5 = load i32, ptr @IFF_NOARP, align 4, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 12 %7 = load i32, ptr %6, align 4, !tbaa !15 %8 = or i32 %7, %5 %9 = load i32, ptr @IFF_POINTOPOINT, align 4, !tbaa !13 %10 = or i32 %9, %8 store i32 %10, ptr %6, align 4, !tbaa !15 %11 = load i32, ptr @GPRS_PDP_MTU, align 4, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %11, ptr %12, align 8, !tbaa !16 %13 = load i32, ptr @CAIF_NET_DEFAULT_QUEUE_LEN, align 4, !tbaa !13 %14 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %13, ptr %14, align 4, !tbaa !17 %15 = tail call ptr @netdev_priv(ptr noundef nonnull %0) #2 %16 = load i32, ptr @chnl_recv_cb, align 4, !tbaa !13 %17 = getelementptr inbounds i8, ptr %15, i64 32 %18 = getelementptr inbounds i8, ptr %15, i64 36 store i32 %16, ptr %18, align 4, !tbaa !18 %19 = load i32, ptr @chnl_flowctrl_cb, align 4, !tbaa !13 store i32 %19, ptr %17, align 8, !tbaa !25 %20 = getelementptr inbounds i8, ptr %15, i64 24 store ptr %0, ptr %20, align 8, !tbaa !26 %21 = load i32, ptr @CAIFPROTO_DATAGRAM, align 4, !tbaa !13 %22 = getelementptr inbounds i8, ptr %15, i64 8 %23 = getelementptr inbounds i8, ptr %15, i64 20 store i32 %21, ptr %23, align 4, !tbaa !27 %24 = load i32, ptr @CAIF_LINK_HIGH_BANDW, align 4, !tbaa !13 %25 = getelementptr inbounds i8, ptr %15, i64 16 store i32 %24, ptr %25, align 8, !tbaa !28 %26 = load i32, ptr @CAIF_PRIO_LOW, align 4, !tbaa !13 %27 = getelementptr inbounds i8, ptr %15, i64 12 store i32 %26, ptr %27, align 4, !tbaa !29 %28 = load i32, ptr @UNDEF_CONNID, align 4, !tbaa !13 store i32 %28, ptr %22, align 8, !tbaa !30 store i32 0, ptr %15, align 8, !tbaa !31 %29 = getelementptr inbounds i8, ptr %15, i64 4 %30 = tail call i32 @init_waitqueue_head(ptr noundef nonnull %29) #2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @init_waitqueue_head(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"net_device", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 16} !15 = !{!7, !8, i64 12} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 4} !18 = !{!19, !8, i64 36} !19 = !{!"chnl_net", !8, i64 0, !8, i64 4, !20, i64 8, !11, i64 24, !24, i64 32} !20 = !{!"TYPE_10__", !21, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !21 = !{!"TYPE_9__", !22, i64 0} !22 = !{!"TYPE_8__", !23, i64 0} !23 = !{!"TYPE_7__", !8, i64 0} !24 = !{!"TYPE_6__", !8, i64 0, !8, i64 4} !25 = !{!19, !8, i64 32} !26 = !{!19, !11, i64 24} !27 = !{!19, !8, i64 20} !28 = !{!19, !8, i64 16} !29 = !{!19, !8, i64 12} !30 = !{!19, !8, i64 8} !31 = !{!19, !8, i64 0}
linux_net_caif_extr_chnl_net.c_ipcaif_net_setup
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_tx.c_wlcore_select_ac.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_tx.c_wlcore_select_ac.c" target datalayout = "e-m:e-p270:32:32-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.wl1271 = type { ptr, ptr } @NUM_TX_QUEUES = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_select_ac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wlcore_select_ac(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @NUM_TX_QUEUES, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = getelementptr inbounds %struct.wl1271, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %23 %7 = phi i64 [ 4294967295, %4 ], [ %25, %23 ] %8 = phi i32 [ 0, %4 ], [ %26, %23 ] %9 = phi i32 [ -1, %4 ], [ %24, %23 ] %10 = tail call i32 @wl1271_tx_get_queue(i32 noundef %8) #3 %11 = load ptr, ptr %5, align 8, !tbaa !9 %12 = sext i32 %10 to i64 %13 = getelementptr inbounds i64, ptr %11, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %6 %17 = load ptr, ptr %0, align 8, !tbaa !14 %18 = getelementptr inbounds i64, ptr %17, i64 %12 %19 = load i64, ptr %18, align 8, !tbaa !12 %20 = icmp slt i64 %19, %7 %21 = select i1 %20, i32 %10, i32 %9 %22 = tail call i64 @llvm.smin.i64(i64 %19, i64 %7) br label %23 23: ; preds = %16, %6 %24 = phi i32 [ %9, %6 ], [ %21, %16 ] %25 = phi i64 [ %7, %6 ], [ %22, %16 ] %26 = add nuw nsw i32 %8, 1 %27 = load i32, ptr @NUM_TX_QUEUES, align 4, !tbaa !5 %28 = icmp slt i32 %26, %27 br i1 %28, label %6, label %29, !llvm.loop !15 29: ; preds = %23, %1 %30 = phi i32 [ -1, %1 ], [ %24, %23 ] ret i32 %30 } declare i32 @wl1271_tx_get_queue(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"wl1271", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_tx.c_wlcore_select_ac.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_tx.c_wlcore_select_ac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NUM_TX_QUEUES = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @wlcore_select_ac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @wlcore_select_ac(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @NUM_TX_QUEUES, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %6 6: ; preds = %4, %23 %7 = phi i64 [ 4294967295, %4 ], [ %25, %23 ] %8 = phi i32 [ 0, %4 ], [ %26, %23 ] %9 = phi i32 [ -1, %4 ], [ %24, %23 ] %10 = tail call i32 @wl1271_tx_get_queue(i32 noundef %8) #3 %11 = load ptr, ptr %5, align 8, !tbaa !10 %12 = sext i32 %10 to i64 %13 = getelementptr inbounds i64, ptr %11, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !13 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %6 %17 = load ptr, ptr %0, align 8, !tbaa !15 %18 = getelementptr inbounds i64, ptr %17, i64 %12 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp slt i64 %19, %7 %21 = select i1 %20, i32 %10, i32 %9 %22 = tail call i64 @llvm.smin.i64(i64 %19, i64 %7) br label %23 23: ; preds = %16, %6 %24 = phi i32 [ %9, %6 ], [ %21, %16 ] %25 = phi i64 [ %7, %6 ], [ %22, %16 ] %26 = add nuw nsw i32 %8, 1 %27 = load i32, ptr @NUM_TX_QUEUES, align 4, !tbaa !6 %28 = icmp slt i32 %26, %27 br i1 %28, label %6, label %29, !llvm.loop !16 29: ; preds = %23, %1 %30 = phi i32 [ -1, %1 ], [ %24, %23 ] ret i32 %30 } declare i32 @wl1271_tx_get_queue(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smin.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"wl1271", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_ti_wlcore_extr_tx.c_wlcore_select_ac
; ModuleID = 'AnghaBench/freebsd/sys/dev/snp/extr_snp.c_snp_getc_capture.c' source_filename = "AnghaBench/freebsd/sys/dev/snp/extr_snp.c_snp_getc_capture.c" target datalayout = "e-m:e-p270:32:32-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.snp_softc = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @snp_getc_capture], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snp_getc_capture(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @ttyhook_softc(ptr noundef %0) #2 %5 = getelementptr inbounds %struct.snp_softc, ptr %4, i64 0, i32 2 %6 = tail call i32 @ttyoutq_write(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2) #2 %7 = getelementptr inbounds %struct.snp_softc, ptr %4, i64 0, i32 1 %8 = tail call i32 @cv_broadcast(ptr noundef nonnull %7) #2 %9 = tail call i32 @selwakeup(ptr noundef %4) #2 ret void } declare ptr @ttyhook_softc(ptr noundef) local_unnamed_addr #1 declare i32 @ttyoutq_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @cv_broadcast(ptr noundef) local_unnamed_addr #1 declare i32 @selwakeup(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/snp/extr_snp.c_snp_getc_capture.c' source_filename = "AnghaBench/freebsd/sys/dev/snp/extr_snp.c_snp_getc_capture.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 @snp_getc_capture], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snp_getc_capture(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @ttyhook_softc(ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = tail call i32 @ttyoutq_write(ptr noundef nonnull %5, ptr noundef %1, i64 noundef %2) #2 %7 = getelementptr inbounds i8, ptr %4, i64 4 %8 = tail call i32 @cv_broadcast(ptr noundef nonnull %7) #2 %9 = tail call i32 @selwakeup(ptr noundef %4) #2 ret void } declare ptr @ttyhook_softc(ptr noundef) local_unnamed_addr #1 declare i32 @ttyoutq_write(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @cv_broadcast(ptr noundef) local_unnamed_addr #1 declare i32 @selwakeup(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_snp_extr_snp.c_snp_getc_capture
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_hostapd_cli_edit_completion_cb.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_hostapd_cli_edit_completion_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @hostapd_cli_edit_completion_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @hostapd_cli_edit_completion_cb(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @os_strchr(ptr noundef %1, i8 noundef signext 32) #2 %5 = icmp eq ptr %4, null %6 = sext i32 %2 to i64 %7 = getelementptr inbounds i8, ptr %1, i64 %6 %8 = icmp ult ptr %7, %4 %9 = select i1 %5, i1 true, i1 %8 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = tail call ptr (...) @list_cmd_list() #2 br label %24 12: ; preds = %3 %13 = add nsw i32 %2, 1 %14 = tail call ptr @os_malloc(i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %24, label %16 16: ; preds = %12 %17 = tail call i32 @os_memcpy(ptr noundef nonnull %14, ptr noundef %1, i32 noundef %2) #2 %18 = ptrtoint ptr %4 to i64 %19 = ptrtoint ptr %1 to i64 %20 = sub i64 %18, %19 %21 = getelementptr inbounds i8, ptr %14, i64 %20 store i8 0, ptr %21, align 1, !tbaa !5 %22 = tail call ptr @hostapd_cli_cmd_completion(ptr noundef nonnull %14, ptr noundef %1, i32 noundef %2) #2 %23 = tail call i32 @os_free(ptr noundef nonnull %14) #2 br label %24 24: ; preds = %12, %16, %10 %25 = phi ptr [ %11, %10 ], [ %22, %16 ], [ null, %12 ] ret ptr %25 } declare ptr @os_strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @list_cmd_list(...) local_unnamed_addr #1 declare ptr @os_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @os_memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @hostapd_cli_cmd_completion(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_hostapd_cli_edit_completion_cb.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_hostapd_cli.c_hostapd_cli_edit_completion_cb.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 @hostapd_cli_edit_completion_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @hostapd_cli_edit_completion_cb(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @os_strchr(ptr noundef %1, i8 noundef signext 32) #2 %5 = icmp eq ptr %4, null %6 = sext i32 %2 to i64 %7 = getelementptr inbounds i8, ptr %1, i64 %6 %8 = icmp ult ptr %7, %4 %9 = select i1 %5, i1 true, i1 %8 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = tail call ptr @list_cmd_list() #2 br label %24 12: ; preds = %3 %13 = add nsw i32 %2, 1 %14 = tail call ptr @os_malloc(i32 noundef %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %24, label %16 16: ; preds = %12 %17 = tail call i32 @os_memcpy(ptr noundef nonnull %14, ptr noundef %1, i32 noundef %2) #2 %18 = ptrtoint ptr %4 to i64 %19 = ptrtoint ptr %1 to i64 %20 = sub i64 %18, %19 %21 = getelementptr inbounds i8, ptr %14, i64 %20 store i8 0, ptr %21, align 1, !tbaa !6 %22 = tail call ptr @hostapd_cli_cmd_completion(ptr noundef nonnull %14, ptr noundef %1, i32 noundef %2) #2 %23 = tail call i32 @os_free(ptr noundef nonnull %14) #2 br label %24 24: ; preds = %12, %16, %10 %25 = phi ptr [ %11, %10 ], [ %22, %16 ], [ null, %12 ] ret ptr %25 } declare ptr @os_strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare ptr @list_cmd_list(...) local_unnamed_addr #1 declare ptr @os_malloc(i32 noundef) local_unnamed_addr #1 declare i32 @os_memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @hostapd_cli_cmd_completion(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @os_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_hostapd_extr_hostapd_cli.c_hostapd_cli_edit_completion_cb
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_parse.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @skel_char_type = dso_local local_unnamed_addr global ptr null, align 8 @type_name = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @parse(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = icmp slt i64 %1, 1 br i1 %4, label %21, label %5 5: ; preds = %3 %6 = load i8, ptr %0, align 1, !tbaa !5 %7 = icmp eq i8 %6, 40 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call ptr @list(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 10: ; preds = %5 %11 = load ptr, ptr @skel_char_type, align 8, !tbaa !8 %12 = zext i8 %6 to i64 %13 = getelementptr inbounds i64, ptr %11, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !10 %15 = load i64, ptr @type_name, align 8, !tbaa !10 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %10 %18 = tail call ptr @implicit_atom(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 19: ; preds = %10 %20 = tail call ptr @explicit_atom(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 21: ; preds = %3, %19, %17, %8 %22 = phi ptr [ %9, %8 ], [ %18, %17 ], [ %20, %19 ], [ null, %3 ] ret ptr %22 } declare ptr @list(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @implicit_atom(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @explicit_atom(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"long", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_parse.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @skel_char_type = common local_unnamed_addr global ptr null, align 8 @type_name = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @parse], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @parse(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = icmp slt i64 %1, 1 br i1 %4, label %21, label %5 5: ; preds = %3 %6 = load i8, ptr %0, align 1, !tbaa !6 %7 = icmp eq i8 %6, 40 br i1 %7, label %8, label %10 8: ; preds = %5 %9 = tail call ptr @list(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 10: ; preds = %5 %11 = load ptr, ptr @skel_char_type, align 8, !tbaa !9 %12 = zext i8 %6 to i64 %13 = getelementptr inbounds i64, ptr %11, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = load i64, ptr @type_name, align 8, !tbaa !11 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %10 %18 = tail call ptr @implicit_atom(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 19: ; preds = %10 %20 = tail call ptr @explicit_atom(ptr noundef nonnull %0, i64 noundef %1, ptr noundef %2) #2 br label %21 21: ; preds = %3, %19, %17, %8 %22 = phi ptr [ %9, %8 ], [ %18, %17 ], [ %20, %19 ], [ null, %3 ] ret ptr %22 } declare ptr @list(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @implicit_atom(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @explicit_atom(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
freebsd_contrib_subversion_subversion_libsvn_subr_extr_skel.c_parse