IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/extr_cpuid-deps.c_clear_cpu_cap.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_cpuid-deps.c_clear_cpu_cap.c" target datalayout = "e-m:e-p270:32:32-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 @clear_cpu_cap(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @do_clear_cpu_cap(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @do_clear_cpu_cap(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/arch/x86/kernel/cpu/extr_cpuid-deps.c_clear_cpu_cap.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/extr_cpuid-deps.c_clear_cpu_cap.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 @clear_cpu_cap(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @do_clear_cpu_cap(ptr noundef %0, i32 noundef %1) #2 ret void } declare i32 @do_clear_cpu_cap(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_arch_x86_kernel_cpu_extr_cpuid-deps.c_clear_cpu_cap
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_delauths.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_delauths.c" target datalayout = "e-m:e-p270:32:32-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 @config_delauths(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @config_delauth(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !10 8: ; preds = %3, %1 ret void } declare i32 @config_delauth(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 = !{!"config_auth", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_delauths.c' source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_delauths.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 @config_delauths(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @config_delauth(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !11 8: ; preds = %3, %1 ret void } declare i32 @config_delauth(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 = !{!"config_auth", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_unbound_util_extr_config_file.c_config_delauths
; ModuleID = 'AnghaBench/linux/drivers/net/netdevsim/extr_netdev.c_nsim_validate.c' source_filename = "AnghaBench/linux/drivers/net/netdevsim/extr_netdev.c_nsim_validate.c" target datalayout = "e-m:e-p270:32:32-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 [69 x i8] c"Please use: echo \22[ID] [PORT_COUNT]\22 > /sys/bus/netdevsim/new_device\00", align 1 @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nsim_validate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nsim_validate(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @NL_SET_ERR_MSG_MOD(ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5 %6 = sub nsw i32 0, %5 ret i32 %6 } declare i32 @NL_SET_ERR_MSG_MOD(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/linux/drivers/net/netdevsim/extr_netdev.c_nsim_validate.c' source_filename = "AnghaBench/linux/drivers/net/netdevsim/extr_netdev.c_nsim_validate.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 [69 x i8] c"Please use: echo \22[ID] [PORT_COUNT]\22 > /sys/bus/netdevsim/new_device\00", align 1 @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nsim_validate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nsim_validate(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @NL_SET_ERR_MSG_MOD(ptr noundef %2, ptr noundef nonnull @.str) #2 %5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6 %6 = sub nsw i32 0, %5 ret i32 %6 } declare i32 @NL_SET_ERR_MSG_MOD(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"}
linux_drivers_net_netdevsim_extr_netdev.c_nsim_validate
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_max8925_bl.c_max8925_backlight_dt_init.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_max8925_bl.c_max8925_backlight_dt_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_5__ = type { ptr, ptr } @CONFIG_OF = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"backlight\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"failed to find backlight node\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"maxim,max8925-dual-string\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @max8925_backlight_dt_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @max8925_backlight_dt_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = icmp eq ptr %5, null br i1 %6, label %27, label %7 7: ; preds = %1 %8 = load i32, ptr @CONFIG_OF, align 4, !tbaa !13 %9 = tail call i32 @IS_ENABLED(i32 noundef %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %27, label %11 11: ; preds = %7 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %12) #3 %14 = icmp eq ptr %13, null br i1 %14, label %27, label %15 15: ; preds = %11 %16 = tail call ptr @of_get_child_by_name(ptr noundef nonnull %5, ptr noundef nonnull @.str) #3 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 br label %27 20: ; preds = %15 %21 = call i32 @of_property_read_u32(ptr noundef nonnull %16, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = load i32, ptr %2, align 4, !tbaa !13 store i32 %24, ptr %13, align 4, !tbaa !15 br label %25 25: ; preds = %23, %20 %26 = call i32 @of_node_put(ptr noundef nonnull %16) #3 store ptr %13, ptr %0, align 8, !tbaa !17 br label %27 27: ; preds = %11, %1, %7, %25, %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @IS_ENABLED(i32 noundef) local_unnamed_addr #2 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @of_get_child_by_name(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 8} !6 = !{!"platform_device", !7, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"max8925_backlight_pdata", !14, i64 0} !17 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_max8925_bl.c_max8925_backlight_dt_init.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_max8925_bl.c_max8925_backlight_dt_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CONFIG_OF = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"backlight\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"failed to find backlight node\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"maxim,max8925-dual-string\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @max8925_backlight_dt_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @max8925_backlight_dt_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %6 = icmp eq ptr %5, null br i1 %6, label %27, label %7 7: ; preds = %1 %8 = load i32, ptr @CONFIG_OF, align 4, !tbaa !14 %9 = tail call i32 @IS_ENABLED(i32 noundef %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %27, label %11 11: ; preds = %7 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %13 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 4, i32 noundef %12) #3 %14 = icmp eq ptr %13, null br i1 %14, label %27, label %15 15: ; preds = %11 %16 = tail call ptr @of_get_child_by_name(ptr noundef nonnull %5, ptr noundef nonnull @.str) #3 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %15 %19 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 br label %27 20: ; preds = %15 %21 = call i32 @of_property_read_u32(ptr noundef nonnull %16, ptr noundef nonnull @.str.2, ptr noundef nonnull %2) #3 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = load i32, ptr %2, align 4, !tbaa !14 store i32 %24, ptr %13, align 4, !tbaa !16 br label %25 25: ; preds = %23, %20 %26 = call i32 @of_node_put(ptr noundef nonnull %16) #3 store ptr %13, ptr %0, align 8, !tbaa !18 br label %27 27: ; preds = %11, %1, %7, %25, %18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @IS_ENABLED(i32 noundef) local_unnamed_addr #2 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @of_get_child_by_name(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_property_read_u32(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @of_node_put(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 8} !7 = !{!"platform_device", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !9, i64 8} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 0} !13 = !{!"TYPE_4__", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !10, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"max8925_backlight_pdata", !15, i64 0} !18 = !{!7, !9, i64 0}
linux_drivers_video_backlight_extr_max8925_bl.c_max8925_backlight_dt_init
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_get_retune_mobile_enum.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_get_retune_mobile_enum.c" target datalayout = "e-m:e-p270:32:32-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 @wm8994_get_retune_mobile_enum], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm8994_get_retune_mobile_enum(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2 %4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call i32 @wm8994_get_retune_mobile_block(i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %2 %9 = load ptr, ptr %4, align 8, !tbaa !11 %10 = zext nneg i32 %6 to i64 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = load ptr, ptr %1, align 8, !tbaa !15 store i32 %12, ptr %13, align 4, !tbaa !14 br label %14 14: ; preds = %2, %8 %15 = phi i32 [ 0, %8 ], [ %6, %2 ] ret i32 %15 } declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8994_get_retune_mobile_block(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 = !{!"snd_kcontrol", !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 = !{!12, !13, i64 0} !12 = !{!"wm8994_priv", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"snd_ctl_elem_value", !17, i64 0} !17 = !{!"TYPE_6__", !18, i64 0} !18 = !{!"TYPE_5__", !13, i64 0}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_get_retune_mobile_enum.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm8994.c_wm8994_get_retune_mobile_enum.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 @wm8994_get_retune_mobile_enum], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @wm8994_get_retune_mobile_enum(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_soc_kcontrol_component(ptr noundef %0) #2 %4 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call i32 @wm8994_get_retune_mobile_block(i32 noundef %5) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %14, label %8 8: ; preds = %2 %9 = load ptr, ptr %4, align 8, !tbaa !12 %10 = zext nneg i32 %6 to i64 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = load ptr, ptr %1, align 8, !tbaa !16 store i32 %12, ptr %13, align 4, !tbaa !15 br label %14 14: ; preds = %2, %8 %15 = phi i32 [ 0, %8 ], [ %6, %2 ] ret i32 %15 } declare ptr @snd_soc_kcontrol_component(ptr noundef) local_unnamed_addr #1 declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @wm8994_get_retune_mobile_block(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 = !{!"snd_kcontrol", !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 = !{!13, !14, i64 0} !13 = !{!"wm8994_priv", !14, i64 0} !14 = !{!"any pointer", !10, i64 0} !15 = !{!9, !9, i64 0} !16 = !{!17, !14, i64 0} !17 = !{!"snd_ctl_elem_value", !18, i64 0} !18 = !{!"TYPE_6__", !19, i64 0} !19 = !{!"TYPE_5__", !14, i64 0}
linux_sound_soc_codecs_extr_wm8994.c_wm8994_get_retune_mobile_enum
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaO_log2.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaO_log2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @luaO_log2.log_2 = internal unnamed_addr constant [256 x i32] [i32 0, i32 1, i32 2, i32 2, i32 3, i32 3, i32 3, i32 3, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8], align 16 @llvm.compiler.used = appending global [1 x ptr] [ptr @luaO_log2], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define internal i32 @luaO_log2(i32 noundef %0) #0 { %2 = icmp ugt i32 %0, 255 br i1 %2, label %3, label %9 3: ; preds = %1, %3 %4 = phi i32 [ %6, %3 ], [ -1, %1 ] %5 = phi i32 [ %7, %3 ], [ %0, %1 ] %6 = add nsw i32 %4, 8 %7 = lshr i32 %5, 8 %8 = icmp ugt i32 %5, 65535 br i1 %8, label %3, label %9, !llvm.loop !5 9: ; preds = %3, %1 %10 = phi i32 [ %0, %1 ], [ %7, %3 ] %11 = phi i32 [ -1, %1 ], [ %6, %3 ] %12 = zext nneg i32 %10 to i64 %13 = getelementptr inbounds [256 x i32], ptr @luaO_log2.log_2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !7 %15 = add nsw i32 %14, %11 ret i32 %15 } attributes #0 = { nofree norecurse nosync nounwind memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaO_log2.c' source_filename = "AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaO_log2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @luaO_log2.log_2 = internal unnamed_addr constant [256 x i32] [i32 0, i32 1, i32 2, i32 2, i32 3, i32 3, i32 3, i32 3, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 4, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 7, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8], align 4 @llvm.used = appending global [1 x ptr] [ptr @luaO_log2], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(none) uwtable(sync) define internal i32 @luaO_log2(i32 noundef %0) #0 { %2 = icmp ugt i32 %0, 255 br i1 %2, label %3, label %9 3: ; preds = %1, %3 %4 = phi i32 [ %6, %3 ], [ -1, %1 ] %5 = phi i32 [ %7, %3 ], [ %0, %1 ] %6 = add nsw i32 %4, 8 %7 = lshr i32 %5, 8 %8 = icmp ugt i32 %5, 65535 br i1 %8, label %3, label %9, !llvm.loop !6 9: ; preds = %3, %1 %10 = phi i32 [ %0, %1 ], [ %7, %3 ] %11 = phi i32 [ -1, %1 ], [ %6, %3 ] %12 = zext nneg i32 %10 to i64 %13 = getelementptr inbounds [256 x i32], ptr @luaO_log2.log_2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4, !tbaa !8 %15 = add nsw i32 %14, %11 ret i32 %15 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
php-src_ext_opcache_jit_dynasm_extr_minilua.c_luaO_log2
; ModuleID = 'AnghaBench/netdata/collectors/statsd.plugin/extr_....daemon..libnetdatainlined.h_simple_hash.c' source_filename = "AnghaBench/netdata/collectors/statsd.plugin/extr_....daemon..libnetdatainlined.h_simple_hash.c" target datalayout = "e-m:e-p270:32:32-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 @simple_hash], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal i32 @simple_hash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !5 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ -2128831035, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = mul nsw i32 %6, 16777619 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = zext i8 %5 to i32 %11 = xor i32 %8, %10 %12 = load i8, ptr %9, align 1, !tbaa !5 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !8 14: ; preds = %4, %1 %15 = phi i32 [ -2128831035, %1 ], [ %11, %4 ] ret i32 %15 } attributes #0 = { inlinehint nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/netdata/collectors/statsd.plugin/extr_....daemon..libnetdatainlined.h_simple_hash.c' source_filename = "AnghaBench/netdata/collectors/statsd.plugin/extr_....daemon..libnetdatainlined.h_simple_hash.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 @simple_hash], section "llvm.metadata" ; Function Attrs: inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal i32 @simple_hash(ptr nocapture noundef readonly %0) #0 { %2 = load i8, ptr %0, align 1, !tbaa !6 %3 = icmp eq i8 %2, 0 br i1 %3, label %14, label %4 4: ; preds = %1, %4 %5 = phi i8 [ %12, %4 ], [ %2, %1 ] %6 = phi i32 [ %11, %4 ], [ -2128831035, %1 ] %7 = phi ptr [ %9, %4 ], [ %0, %1 ] %8 = mul nsw i32 %6, 16777619 %9 = getelementptr inbounds i8, ptr %7, i64 1 %10 = zext i8 %5 to i32 %11 = xor i32 %8, %10 %12 = load i8, ptr %9, align 1, !tbaa !6 %13 = icmp eq i8 %12, 0 br i1 %13, label %14, label %4, !llvm.loop !9 14: ; preds = %4, %1 %15 = phi i32 [ -2128831035, %1 ], [ %11, %4 ] ret i32 %15 } attributes #0 = { inlinehint nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
netdata_collectors_statsd.plugin_extr_....daemon..libnetdatainlined.h_simple_hash
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_s5h1411.c_s5h1411_get_frontend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_s5h1411.c_s5h1411_get_frontend.c" target datalayout = "e-m:e-p270:32:32-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 @s5h1411_get_frontend], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @s5h1411_get_frontend(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load <2 x i32>, ptr %3, align 4, !tbaa !10 store <2 x i32> %4, ptr %1, align 4, !tbaa !10 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_frontend", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_s5h1411.c_s5h1411_get_frontend.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_s5h1411.c_s5h1411_get_frontend.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 @s5h1411_get_frontend], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @s5h1411_get_frontend(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load <2 x i32>, ptr %3, align 4, !tbaa !11 store <2 x i32> %4, ptr %1, align 4, !tbaa !11 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_frontend", !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}
fastsocket_kernel_drivers_media_dvb_frontends_extr_s5h1411.c_s5h1411_get_frontend
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_wifi_is_online.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_wifi_is_online.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MENU_ENUM_LABEL_VALUE_ONLINE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @menu_action_setting_disp_set_label_wifi_is_online], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @menu_action_setting_disp_set_label_wifi_is_online(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 %2, i32 noundef %3, ptr nocapture readnone %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 { %11 = tail call i32 @strlcpy(ptr noundef %8, ptr noundef %7, i64 noundef %9) #2 store i32 19, ptr %1, align 4, !tbaa !5 %12 = tail call i64 @driver_wifi_ssid_is_online(i32 noundef %3) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr @MENU_ENUM_LABEL_VALUE_ONLINE, align 4, !tbaa !5 %16 = tail call ptr @msg_hash_to_str(i32 noundef %15) #2 %17 = tail call i32 @strlcpy(ptr noundef %5, ptr noundef %16, i64 noundef %6) #2 br label %18 18: ; preds = %14, %10 ret void } declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @driver_wifi_ssid_is_online(i32 noundef) local_unnamed_addr #1 declare ptr @msg_hash_to_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_wifi_is_online.c' source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_wifi_is_online.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MENU_ENUM_LABEL_VALUE_ONLINE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @menu_action_setting_disp_set_label_wifi_is_online], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @menu_action_setting_disp_set_label_wifi_is_online(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, i32 %2, i32 noundef %3, ptr nocapture readnone %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 { %11 = tail call i32 @strlcpy(ptr noundef %8, ptr noundef %7, i64 noundef %9) #2 store i32 19, ptr %1, align 4, !tbaa !6 %12 = tail call i64 @driver_wifi_ssid_is_online(i32 noundef %3) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr @MENU_ENUM_LABEL_VALUE_ONLINE, align 4, !tbaa !6 %16 = tail call ptr @msg_hash_to_str(i32 noundef %15) #2 %17 = tail call i32 @strlcpy(ptr noundef %5, ptr noundef %16, i64 noundef %6) #2 br label %18 18: ; preds = %14, %10 ret void } declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @driver_wifi_ssid_is_online(i32 noundef) local_unnamed_addr #1 declare ptr @msg_hash_to_str(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_menu_cbs_extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_wifi_is_online
; ModuleID = 'AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_start.c' source_filename = "AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_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" @HID_MIN_BUFFER_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @HID_INPUT_REPORT = dso_local local_unnamed_addr global i32 0, align 4 @HID_OUTPUT_REPORT = dso_local local_unnamed_addr global i32 0, align 4 @HID_FEATURE_REPORT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @i2c_hid_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @i2c_hid_start(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call ptr @i2c_get_clientdata(ptr noundef %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = load i32, ptr @HID_MIN_BUFFER_SIZE, align 4, !tbaa !10 store i32 %5, ptr %2, align 4, !tbaa !10 %6 = load i32, ptr @HID_INPUT_REPORT, align 4, !tbaa !10 %7 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %2) #3 %8 = load i32, ptr @HID_OUTPUT_REPORT, align 4, !tbaa !10 %9 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr @HID_FEATURE_REPORT, align 4, !tbaa !10 %11 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %2) #3 %12 = load i32, ptr %2, align 4, !tbaa !10 %13 = load i32, ptr %4, align 4, !tbaa !12 %14 = icmp ugt i32 %12, %13 br i1 %14, label %15, label %24 15: ; preds = %1 %16 = load i32, ptr %3, align 4, !tbaa !14 %17 = call i32 @disable_irq(i32 noundef %16) #3 %18 = call i32 @i2c_hid_free_buffers(ptr noundef nonnull %4) #3 %19 = load i32, ptr %2, align 4, !tbaa !10 %20 = call i32 @i2c_hid_alloc_buffers(ptr noundef nonnull %4, i32 noundef %19) #3 %21 = load i32, ptr %3, align 4, !tbaa !14 %22 = call i32 @enable_irq(i32 noundef %21) #3 %23 = icmp eq i32 %20, 0 br i1 %23, label %24, label %25 24: ; preds = %15, %1 br label %25 25: ; preds = %15, %24 %26 = phi i32 [ 0, %24 ], [ %20, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_hid_find_max_report(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @disable_irq(i32 noundef) local_unnamed_addr #2 declare i32 @i2c_hid_free_buffers(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_hid_alloc_buffers(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @enable_irq(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hid_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"i2c_hid", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"i2c_client", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_start.c' source_filename = "AnghaBench/linux/drivers/hid/i2c-hid/extr_i2c-hid-core.c_i2c_hid_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HID_MIN_BUFFER_SIZE = common local_unnamed_addr global i32 0, align 4 @HID_INPUT_REPORT = common local_unnamed_addr global i32 0, align 4 @HID_OUTPUT_REPORT = common local_unnamed_addr global i32 0, align 4 @HID_FEATURE_REPORT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @i2c_hid_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @i2c_hid_start(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call ptr @i2c_get_clientdata(ptr noundef %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %5 = load i32, ptr @HID_MIN_BUFFER_SIZE, align 4, !tbaa !11 store i32 %5, ptr %2, align 4, !tbaa !11 %6 = load i32, ptr @HID_INPUT_REPORT, align 4, !tbaa !11 %7 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %6, ptr noundef nonnull %2) #3 %8 = load i32, ptr @HID_OUTPUT_REPORT, align 4, !tbaa !11 %9 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %8, ptr noundef nonnull %2) #3 %10 = load i32, ptr @HID_FEATURE_REPORT, align 4, !tbaa !11 %11 = call i32 @i2c_hid_find_max_report(ptr noundef nonnull %0, i32 noundef %10, ptr noundef nonnull %2) #3 %12 = load i32, ptr %2, align 4, !tbaa !11 %13 = load i32, ptr %4, align 4, !tbaa !13 %14 = icmp ugt i32 %12, %13 br i1 %14, label %15, label %24 15: ; preds = %1 %16 = load i32, ptr %3, align 4, !tbaa !15 %17 = call i32 @disable_irq(i32 noundef %16) #3 %18 = call i32 @i2c_hid_free_buffers(ptr noundef nonnull %4) #3 %19 = load i32, ptr %2, align 4, !tbaa !11 %20 = call i32 @i2c_hid_alloc_buffers(ptr noundef nonnull %4, i32 noundef %19) #3 %21 = load i32, ptr %3, align 4, !tbaa !15 %22 = call i32 @enable_irq(i32 noundef %21) #3 %23 = icmp eq i32 %20, 0 br i1 %23, label %24, label %25 24: ; preds = %15, %1 br label %25 25: ; preds = %15, %24 %26 = phi i32 [ 0, %24 ], [ %20, %15 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_hid_find_max_report(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @disable_irq(i32 noundef) local_unnamed_addr #2 declare i32 @i2c_hid_free_buffers(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_hid_alloc_buffers(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @enable_irq(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hid_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"i2c_hid", !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"i2c_client", !12, i64 0}
linux_drivers_hid_i2c-hid_extr_i2c-hid-core.c_i2c_hid_start
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/bm16a/extr_bm16a.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/bm16a/extr_bm16a.c_matrix_scan_kb.c" target datalayout = "e-m:e-p270:32:32-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 @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 (...) @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/bm16a/extr_bm16a.c_matrix_scan_kb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/bm16a/extr_bm16a.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 { %1 = tail call i32 @matrix_scan_user() #2 ret void } declare i32 @matrix_scan_user(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
qmk_firmware_keyboards_bm16a_extr_bm16a.c_matrix_scan_kb
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_initSUFFIX.c' source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_initSUFFIX.c" target datalayout = "e-m:e-p270:32:32-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 { i64, i32, i32, %struct.TYPE_8__, %struct.TYPE_7__, i32, i32, %struct.TYPE_6__, i32, i32 } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } @BLAKE2S_OUTBYTES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @blake2s_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_9__, align 8 %4 = load i64, ptr @BLAKE2S_OUTBYTES, align 8 %5 = freeze i64 %4 %6 = add i64 %1, -1 %7 = icmp ult i64 %6, %5 br i1 %7, label %8, label %14 8: ; preds = %2 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #4 store i64 %1, ptr %3, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1 store i32 0, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 2 store i32 1, ptr %10, align 4, !tbaa !15 %11 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 3 store i32 1, ptr %11, align 8, !tbaa !16 %12 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %12, i8 0, i64 24, i1 false) %13 = call i32 @blake2s_init_param(ptr noundef %0, ptr noundef nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #4 br label %14 14: ; preds = %2, %8 %15 = phi i32 [ %13, %8 ], [ -1, %2 ] ret i32 %15 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @blake2s_init_param(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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !12, i64 20, !10, i64 24, !10, i64 28, !13, i64 32, !10, i64 36, !10, i64 40} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_8__", !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0} !13 = !{!"TYPE_6__", !10, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!6, !10, i64 12} !16 = !{!11, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_initSUFFIX.c' source_filename = "AnghaBench/freebsd/sys/contrib/libb2/extr_blake2s.c_blake2s_initSUFFIX.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i64, i32, i32, %struct.TYPE_8__, %struct.TYPE_7__, i32, i32, %struct.TYPE_6__, i32, i32 } %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32 } %struct.TYPE_6__ = type { i32 } @BLAKE2S_OUTBYTES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @blake2s_init(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_9__, align 8 %4 = load i64, ptr @BLAKE2S_OUTBYTES, align 8 %5 = freeze i64 %4 %6 = add i64 %1, -1 %7 = icmp ult i64 %6, %5 br i1 %7, label %8, label %13 8: ; preds = %2 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #4 store i64 %1, ptr %3, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %3, i64 8 store <2 x i32> <i32 0, i32 1>, ptr %9, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %3, i64 16 store i32 1, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %3, i64 20 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %11, i8 0, i64 24, i1 false) %12 = call i32 @blake2s_init_param(ptr noundef %0, ptr noundef nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #4 br label %13 13: ; preds = %2, %8 %14 = phi i32 [ %12, %8 ], [ -1, %2 ] ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @blake2s_init_param(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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !13, i64 20, !11, i64 24, !11, i64 28, !14, i64 32, !11, i64 36, !11, i64 40} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_8__", !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0} !14 = !{!"TYPE_6__", !11, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!12, !11, i64 0}
freebsd_sys_contrib_libb2_extr_blake2s.c_blake2s_initSUFFIX
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/notify/inotify/extr_inotify_fsnotify.c_inotify_free_group_priv.c' source_filename = "AnghaBench/fastsocket/kernel/fs/notify/inotify/extr_inotify_fsnotify.c_inotify_free_group_priv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, i32 } @idr_callback = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @inotify_free_group_priv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @inotify_free_group_priv(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %3 = load i32, ptr @idr_callback, align 4, !tbaa !5 %4 = tail call i32 @idr_for_each(ptr noundef nonnull %2, i32 noundef %3, ptr noundef %0) #2 %5 = tail call i32 @idr_remove_all(ptr noundef nonnull %2) #2 %6 = tail call i32 @idr_destroy(ptr noundef nonnull %2) #2 %7 = load ptr, ptr %0, align 8, !tbaa !9 %8 = tail call i32 @atomic_dec(ptr noundef %7) #2 %9 = load ptr, ptr %0, align 8, !tbaa !9 %10 = tail call i32 @free_uid(ptr noundef %9) #2 ret void } declare i32 @idr_for_each(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @idr_remove_all(ptr noundef) local_unnamed_addr #1 declare i32 @idr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @free_uid(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"fsnotify_group", !11, i64 0} !11 = !{!"TYPE_3__", !12, i64 0, !6, i64 8} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/notify/inotify/extr_inotify_fsnotify.c_inotify_free_group_priv.c' source_filename = "AnghaBench/fastsocket/kernel/fs/notify/inotify/extr_inotify_fsnotify.c_inotify_free_group_priv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @idr_callback = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @inotify_free_group_priv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @inotify_free_group_priv(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr @idr_callback, align 4, !tbaa !6 %4 = tail call i32 @idr_for_each(ptr noundef nonnull %2, i32 noundef %3, ptr noundef %0) #2 %5 = tail call i32 @idr_remove_all(ptr noundef nonnull %2) #2 %6 = tail call i32 @idr_destroy(ptr noundef nonnull %2) #2 %7 = load ptr, ptr %0, align 8, !tbaa !10 %8 = tail call i32 @atomic_dec(ptr noundef %7) #2 %9 = load ptr, ptr %0, align 8, !tbaa !10 %10 = tail call i32 @free_uid(ptr noundef %9) #2 ret void } declare i32 @idr_for_each(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @idr_remove_all(ptr noundef) local_unnamed_addr #1 declare i32 @idr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @free_uid(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"fsnotify_group", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0, !7, i64 8} !13 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_fs_notify_inotify_extr_inotify_fsnotify.c_inotify_free_group_priv
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_main.c_udl_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_main.c_udl_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.udl_device = type { %struct.TYPE_2__, i32, i32, %struct.drm_device } %struct.TYPE_2__ = type { i64 } %struct.drm_device = type { i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [53 x i8] c"firmware not recognized. Assume incompatible device\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Selecting channel failed\0A\00", align 1 @WRITES_IN_FLIGHT = dso_local local_unnamed_addr global i32 0, align 4 @MAX_TRANSFER = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [27 x i8] c"udl_alloc_urb_list failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @udl_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.udl_device, ptr %0, i64 0, i32 3 %3 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %4 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %5 = getelementptr inbounds %struct.udl_device, ptr %0, i64 0, i32 2 %6 = tail call i32 @mutex_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.udl_device, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !9 %9 = tail call i32 @udl_parse_vendor_descriptor(ptr noundef nonnull %2, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr @ENODEV, align 4, !tbaa !5 br label %32 13: ; preds = %1 %14 = tail call i64 @udl_select_std_channel(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %18 18: ; preds = %16, %13 %19 = load i32, ptr @WRITES_IN_FLIGHT, align 4, !tbaa !5 %20 = load i32, ptr @MAX_TRANSFER, align 4, !tbaa !5 %21 = tail call i32 @udl_alloc_urb_list(ptr noundef nonnull %2, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %32, label %23 23: ; preds = %18 %24 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %25 = tail call i32 @udl_modeset_init(ptr noundef nonnull %2) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %23 %28 = tail call i32 @udl_fbdev_init(ptr noundef nonnull %2) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %27 %31 = tail call i32 @drm_kms_helper_poll_init(ptr noundef nonnull %2) #2 br label %45 32: ; preds = %18, %11 %33 = phi ptr [ @.str.1, %11 ], [ @.str.3, %18 ] %34 = phi i32 [ %12, %11 ], [ %3, %18 ] %35 = sub nsw i32 0, %34 %36 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull %33) #2 br label %37 37: ; preds = %32, %27, %23 %38 = phi i32 [ %25, %23 ], [ %28, %27 ], [ %35, %32 ] %39 = load i64, ptr %0, align 8, !tbaa !14 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %37 %42 = tail call i32 @udl_free_urb_list(ptr noundef nonnull %2) #2 br label %43 43: ; preds = %41, %37 %44 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.4, i32 noundef %38) #2 br label %45 45: ; preds = %43, %30 %46 = phi i32 [ %38, %43 ], [ 0, %30 ] ret i32 %46 } declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_parse_vendor_descriptor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @udl_select_std_channel(ptr noundef) local_unnamed_addr #1 declare i32 @udl_alloc_urb_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udl_modeset_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_fbdev_init(ptr noundef) local_unnamed_addr #1 declare i32 @drm_kms_helper_poll_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_free_urb_list(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 8} !10 = !{!"udl_device", !11, i64 0, !6, i64 8, !6, i64 12, !13, i64 16} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!"drm_device", !6, i64 0} !14 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_main.c_udl_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_main.c_udl_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [53 x i8] c"firmware not recognized. Assume incompatible device\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Selecting channel failed\0A\00", align 1 @WRITES_IN_FLIGHT = common local_unnamed_addr global i32 0, align 4 @MAX_TRANSFER = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [27 x i8] c"udl_alloc_urb_list failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @udl_init(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %4 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = tail call i32 @mutex_init(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = tail call i32 @udl_parse_vendor_descriptor(ptr noundef nonnull %2, i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr @ENODEV, align 4, !tbaa !6 br label %32 13: ; preds = %1 %14 = tail call i64 @udl_select_std_channel(ptr noundef nonnull %0) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %18 18: ; preds = %16, %13 %19 = load i32, ptr @WRITES_IN_FLIGHT, align 4, !tbaa !6 %20 = load i32, ptr @MAX_TRANSFER, align 4, !tbaa !6 %21 = tail call i32 @udl_alloc_urb_list(ptr noundef nonnull %2, i32 noundef %19, i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %32, label %23 23: ; preds = %18 %24 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str) #2 %25 = tail call i32 @udl_modeset_init(ptr noundef nonnull %2) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %37 27: ; preds = %23 %28 = tail call i32 @udl_fbdev_init(ptr noundef nonnull %2) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %27 %31 = tail call i32 @drm_kms_helper_poll_init(ptr noundef nonnull %2) #2 br label %45 32: ; preds = %18, %11 %33 = phi ptr [ @.str.1, %11 ], [ @.str.3, %18 ] %34 = phi i32 [ %12, %11 ], [ %3, %18 ] %35 = sub nsw i32 0, %34 %36 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull %33) #2 br label %37 37: ; preds = %32, %27, %23 %38 = phi i32 [ %25, %23 ], [ %28, %27 ], [ %35, %32 ] %39 = load i64, ptr %0, align 8, !tbaa !15 %40 = icmp eq i64 %39, 0 br i1 %40, label %43, label %41 41: ; preds = %37 %42 = tail call i32 @udl_free_urb_list(ptr noundef nonnull %2) #2 br label %43 43: ; preds = %41, %37 %44 = tail call i32 (ptr, ...) @DRM_ERROR(ptr noundef nonnull @.str.4, i32 noundef %38) #2 br label %45 45: ; preds = %43, %30 %46 = phi i32 [ %38, %43 ], [ 0, %30 ] ret i32 %46 } declare i32 @DRM_DEBUG(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_parse_vendor_descriptor(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ...) local_unnamed_addr #1 declare i64 @udl_select_std_channel(ptr noundef) local_unnamed_addr #1 declare i32 @udl_alloc_urb_list(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udl_modeset_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_fbdev_init(ptr noundef) local_unnamed_addr #1 declare i32 @drm_kms_helper_poll_init(ptr noundef) local_unnamed_addr #1 declare i32 @udl_free_urb_list(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 8} !11 = !{!"udl_device", !12, i64 0, !7, i64 8, !7, i64 12, !14, i64 16} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!"drm_device", !7, i64 0} !15 = !{!11, !13, i64 0}
linux_drivers_gpu_drm_udl_extr_udl_main.c_udl_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_it8213.c_it8213_set_piomode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_it8213.c_it8213_set_piomode.c" target datalayout = "e-m:e-p270:32:32-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.ata_port = type { i64, ptr } %struct.ata_device = type { i32, i64, i64 } @XFER_PIO_0 = dso_local local_unnamed_addr global i32 0, align 4 @it8213_set_piomode.timings = internal unnamed_addr constant [5 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 0], [2 x i32] [i32 2, i32 1], [2 x i32] [i32 2, i32 3]], align 16 @ATA_DEV_ATA = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @it8213_set_piomode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @it8213_set_piomode(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr %1, align 8, !tbaa !5 %6 = load i32, ptr @XFER_PIO_0, align 4, !tbaa !11 %7 = sub i32 %5, %6 %8 = getelementptr inbounds %struct.ata_port, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = tail call ptr @to_pci_dev(i32 noundef %10) #3 %12 = load i64, ptr %0, align 8, !tbaa !17 %13 = icmp eq i64 %12, 0 %14 = select i1 %13, i32 64, i32 66 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %15 = icmp ugt i32 %7, 2 %16 = zext i1 %15 to i32 %17 = tail call i64 @ata_pio_need_iordy(ptr noundef nonnull %1) #3 %18 = icmp eq i64 %17, 0 %19 = or disjoint i32 %16, 2 %20 = select i1 %18, i32 %16, i32 %19 %21 = getelementptr inbounds %struct.ata_device, ptr %1, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !18 %23 = load i64, ptr @ATA_DEV_ATA, align 8, !tbaa !19 %24 = icmp eq i64 %22, %23 %25 = or disjoint i32 %20, 4 %26 = select i1 %24, i32 %20, i32 %25 %27 = call i32 @pci_read_config_word(ptr noundef %11, i32 noundef %14, ptr noundef nonnull %3) #3 %28 = getelementptr inbounds %struct.ata_device, ptr %1, i64 0, i32 2 %29 = load i64, ptr %28, align 8, !tbaa !20 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %44 31: ; preds = %2 %32 = load i32, ptr %3, align 4, !tbaa !11 %33 = and i32 %32, 52464 %34 = or disjoint i32 %33, %26 %35 = zext i32 %7 to i64 %36 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %35 %37 = load i32, ptr %36, align 8, !tbaa !11 %38 = shl i32 %37, 12 %39 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %35, i64 1 %40 = load i32, ptr %39, align 4, !tbaa !11 %41 = shl i32 %40, 8 %42 = or i32 %38, %41 %43 = or i32 %42, %34 br label %63 44: ; preds = %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %45 = load i32, ptr %3, align 4, !tbaa !11 %46 = and i32 %45, 52239 %47 = shl nuw nsw i32 %26, 4 %48 = or disjoint i32 %46, %47 store i32 %48, ptr %3, align 4, !tbaa !11 %49 = call i32 @pci_read_config_byte(ptr noundef %11, i32 noundef 68, ptr noundef nonnull %4) #3 %50 = load i32, ptr %4, align 4, !tbaa !11 %51 = and i32 %50, 240 %52 = zext i32 %7 to i64 %53 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %52 %54 = load i32, ptr %53, align 8, !tbaa !11 %55 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %52, i64 1 %56 = load i32, ptr %55, align 4, !tbaa !11 %57 = shl i32 %54, 6 %58 = shl i32 %56, 4 %59 = or i32 %57, %58 %60 = or i32 %59, %51 store i32 %60, ptr %4, align 4, !tbaa !11 %61 = call i32 @pci_write_config_byte(ptr noundef %11, i32 noundef 68, i32 noundef %60) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %62 = load i32, ptr %3, align 4, !tbaa !11 br label %63 63: ; preds = %44, %31 %64 = phi i32 [ %62, %44 ], [ %43, %31 ] %65 = or i32 %64, 16384 store i32 %65, ptr %3, align 4, !tbaa !11 %66 = call i32 @pci_write_config_word(ptr noundef %11, i32 noundef %14, i32 noundef %65) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @to_pci_dev(i32 noundef) local_unnamed_addr #2 declare i64 @ata_pio_need_iordy(ptr noundef) local_unnamed_addr #2 declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pci_write_config_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ata_device", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"ata_port", !10, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_2__", !7, i64 0} !17 = !{!13, !10, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!10, !10, i64 0} !20 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_it8213.c_it8213_set_piomode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_it8213.c_it8213_set_piomode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFER_PIO_0 = common local_unnamed_addr global i32 0, align 4 @it8213_set_piomode.timings = internal unnamed_addr constant [5 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 0], [2 x i32] [i32 2, i32 1], [2 x i32] [i32 2, i32 3]], align 4 @ATA_DEV_ATA = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @it8213_set_piomode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @it8213_set_piomode(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr %1, align 8, !tbaa !6 %6 = load i32, ptr @XFER_PIO_0, align 4, !tbaa !12 %7 = sub i32 %5, %6 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load i32, ptr %9, align 4, !tbaa !16 %11 = tail call ptr @to_pci_dev(i32 noundef %10) #3 %12 = load i64, ptr %0, align 8, !tbaa !18 %13 = icmp eq i64 %12, 0 %14 = select i1 %13, i32 64, i32 66 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %15 = icmp ugt i32 %7, 2 %16 = zext i1 %15 to i32 %17 = tail call i64 @ata_pio_need_iordy(ptr noundef nonnull %1) #3 %18 = icmp eq i64 %17, 0 %19 = or disjoint i32 %16, 2 %20 = select i1 %18, i32 %16, i32 %19 %21 = getelementptr inbounds i8, ptr %1, i64 8 %22 = load i64, ptr %21, align 8, !tbaa !19 %23 = load i64, ptr @ATA_DEV_ATA, align 8, !tbaa !20 %24 = icmp eq i64 %22, %23 %25 = or disjoint i32 %20, 4 %26 = select i1 %24, i32 %20, i32 %25 %27 = call i32 @pci_read_config_word(ptr noundef %11, i32 noundef %14, ptr noundef nonnull %3) #3 %28 = getelementptr inbounds i8, ptr %1, i64 16 %29 = load i64, ptr %28, align 8, !tbaa !21 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %44 31: ; preds = %2 %32 = load i32, ptr %3, align 4, !tbaa !12 %33 = and i32 %32, 52464 %34 = or disjoint i32 %33, %26 %35 = zext i32 %7 to i64 %36 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %35 %37 = load i32, ptr %36, align 4, !tbaa !12 %38 = shl i32 %37, 12 %39 = getelementptr inbounds i8, ptr %36, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !12 %41 = shl i32 %40, 8 %42 = or i32 %38, %41 %43 = or i32 %42, %34 br label %63 44: ; preds = %2 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %45 = load i32, ptr %3, align 4, !tbaa !12 %46 = and i32 %45, 52239 %47 = shl nuw nsw i32 %26, 4 %48 = or disjoint i32 %46, %47 store i32 %48, ptr %3, align 4, !tbaa !12 %49 = call i32 @pci_read_config_byte(ptr noundef %11, i32 noundef 68, ptr noundef nonnull %4) #3 %50 = load i32, ptr %4, align 4, !tbaa !12 %51 = and i32 %50, 240 %52 = zext i32 %7 to i64 %53 = getelementptr inbounds [5 x [2 x i32]], ptr @it8213_set_piomode.timings, i64 0, i64 %52 %54 = load i32, ptr %53, align 4, !tbaa !12 %55 = getelementptr inbounds i8, ptr %53, i64 4 %56 = load i32, ptr %55, align 4, !tbaa !12 %57 = shl i32 %54, 6 %58 = shl i32 %56, 4 %59 = or i32 %57, %58 %60 = or i32 %59, %51 store i32 %60, ptr %4, align 4, !tbaa !12 %61 = call i32 @pci_write_config_byte(ptr noundef %11, i32 noundef 68, i32 noundef %60) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 %62 = load i32, ptr %3, align 4, !tbaa !12 br label %63 63: ; preds = %44, %31 %64 = phi i32 [ %62, %44 ], [ %43, %31 ] %65 = or i32 %64, 16384 store i32 %65, ptr %3, align 4, !tbaa !12 %66 = call i32 @pci_write_config_word(ptr noundef %11, i32 noundef %14, i32 noundef %65) #3 call void @llvm.lifetime.end.p0(i64 4, 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 @to_pci_dev(i32 noundef) local_unnamed_addr #2 declare i64 @ata_pio_need_iordy(ptr noundef) local_unnamed_addr #2 declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pci_write_config_byte(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @pci_write_config_word(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ata_device", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"ata_port", !11, i64 0, !15, i64 8} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_2__", !8, i64 0} !18 = !{!14, !11, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!11, !11, i64 0} !21 = !{!7, !11, i64 16}
fastsocket_kernel_drivers_ata_extr_pata_it8213.c_it8213_set_piomode
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_createas.c_intorel_shutdown.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_createas.c_intorel_shutdown.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32 } @NoLock = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @intorel_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @intorel_shutdown(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @FreeBulkInsertState(i32 noundef %3) #2 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @table_finish_bulk_insert(ptr noundef %5, i32 noundef %7) #2 %9 = load ptr, ptr %0, align 8, !tbaa !11 %10 = load i32, ptr @NoLock, align 4, !tbaa !13 %11 = tail call i32 @table_close(ptr noundef %9, i32 noundef %10) #2 store ptr null, ptr %0, align 8, !tbaa !11 ret void } declare i32 @FreeBulkInsertState(i32 noundef) local_unnamed_addr #1 declare i32 @table_finish_bulk_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 12} !6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_createas.c_intorel_shutdown.c' source_filename = "AnghaBench/postgres/src/backend/commands/extr_createas.c_intorel_shutdown.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NoLock = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @intorel_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @intorel_shutdown(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @FreeBulkInsertState(i32 noundef %3) #2 %5 = load ptr, ptr %0, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = tail call i32 @table_finish_bulk_insert(ptr noundef %5, i32 noundef %7) #2 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = load i32, ptr @NoLock, align 4, !tbaa !14 %11 = tail call i32 @table_close(ptr noundef %9, i32 noundef %10) #2 store ptr null, ptr %0, align 8, !tbaa !12 ret void } declare i32 @FreeBulkInsertState(i32 noundef) local_unnamed_addr #1 declare i32 @table_finish_bulk_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @table_close(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 12} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0}
postgres_src_backend_commands_extr_createas.c_intorel_shutdown
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dmap.c_dbFindCtl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dmap.c_dbFindCtl.c" target datalayout = "e-m:e-p270:32:32-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.bmap = type { ptr, i32 } %struct.dmapctl = type { i32, i64 } @PSIZE = dso_local local_unnamed_addr global i32 0, align 4 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @CTLLEAFIND = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"dbFindCtl: Corrupt dmapctl page\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"dbFindCtl: dmap inconsistent\00", align 1 @ENOSPC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dbFindCtl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dbFindCtl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %3, align 4, !tbaa !5 %7 = icmp sgt i32 %2, -1 br i1 %7, label %8, label %61 8: ; preds = %4 %9 = getelementptr inbounds %struct.bmap, ptr %0, i64 0, i32 1 br label %10 10: ; preds = %53, %8 %11 = phi i32 [ %2, %8 ], [ %58, %53 ] %12 = phi i32 [ %6, %8 ], [ %56, %53 ] %13 = load i32, ptr %9, align 8, !tbaa !9 %14 = call i32 @BLKTOCTL(i32 noundef %12, i32 noundef %13, i32 noundef %11) #3 %15 = load ptr, ptr %0, align 8, !tbaa !12 %16 = load i32, ptr @PSIZE, align 4, !tbaa !5 %17 = call ptr @read_metapage(ptr noundef %15, i32 noundef %14, i32 noundef %16, i32 noundef 0) #3 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %10 %20 = load i32, ptr @EIO, align 4, !tbaa !5 %21 = sub nsw i32 0, %20 br label %63 22: ; preds = %10 %23 = load i64, ptr %17, align 8, !tbaa !13 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr %24, align 8, !tbaa !16 %26 = getelementptr inbounds %struct.dmapctl, ptr %24, i64 0, i32 1 %27 = load i64, ptr %26, align 8, !tbaa !18 %28 = load i32, ptr @CTLLEAFIND, align 4, !tbaa !5 %29 = call i64 @cpu_to_le32(i32 noundef %28) #3 %30 = icmp eq i64 %27, %29 br i1 %30, label %38, label %31 31: ; preds = %22 %32 = load ptr, ptr %0, align 8, !tbaa !12 %33 = load i32, ptr %32, align 4, !tbaa !19 %34 = call i32 @jfs_error(i32 noundef %33, ptr noundef nonnull @.str) #3 %35 = call i32 @release_metapage(ptr noundef nonnull %17) #3 %36 = load i32, ptr @EIO, align 4, !tbaa !5 %37 = sub nsw i32 0, %36 br label %63 38: ; preds = %22 %39 = call i32 @dbFindLeaf(ptr noundef nonnull %24, i32 noundef %1, ptr noundef nonnull %5) #3 %40 = call i32 @release_metapage(ptr noundef nonnull %17) #3 %41 = icmp eq i32 %39, 0 br i1 %41, label %53, label %42 42: ; preds = %38 %43 = icmp eq i32 %11, %2 br i1 %43, label %50, label %44 44: ; preds = %42 %45 = load ptr, ptr %0, align 8, !tbaa !12 %46 = load i32, ptr %45, align 4, !tbaa !19 %47 = call i32 @jfs_error(i32 noundef %46, ptr noundef nonnull @.str.1) #3 %48 = load i32, ptr @EIO, align 4, !tbaa !5 %49 = sub nsw i32 0, %48 br label %63 50: ; preds = %42 %51 = load i32, ptr @ENOSPC, align 4, !tbaa !5 %52 = sub nsw i32 0, %51 br label %63 53: ; preds = %38 %54 = load i32, ptr %5, align 4, !tbaa !5 %55 = shl i32 %54, %25 %56 = add nsw i32 %55, %12 %57 = icmp sgt i32 %25, %1 %58 = add nsw i32 %11, -1 %59 = icmp sgt i32 %11, 0 %60 = and i1 %57, %59 br i1 %60, label %10, label %61, !llvm.loop !21 61: ; preds = %53, %4 %62 = phi i32 [ %6, %4 ], [ %56, %53 ] store i32 %62, ptr %3, align 4, !tbaa !5 br label %63 63: ; preds = %61, %50, %44, %31, %19 %64 = phi i32 [ %21, %19 ], [ %37, %31 ], [ %49, %44 ], [ %52, %50 ], [ 0, %61 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %64 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BLKTOCTL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @read_metapage(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @jfs_error(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @release_metapage(ptr noundef) local_unnamed_addr #2 declare i32 @dbFindLeaf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"bmap", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"metapage", !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"dmapctl", !6, i64 0, !15, i64 8} !18 = !{!17, !15, i64 8} !19 = !{!20, !6, i64 0} !20 = !{!"TYPE_2__", !6, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dmap.c_dbFindCtl.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dmap.c_dbFindCtl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PSIZE = common local_unnamed_addr global i32 0, align 4 @EIO = common local_unnamed_addr global i32 0, align 4 @CTLLEAFIND = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"dbFindCtl: Corrupt dmapctl page\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"dbFindCtl: dmap inconsistent\00", align 1 @ENOSPC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dbFindCtl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @dbFindCtl(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = load i32, ptr %3, align 4, !tbaa !6 %7 = icmp sgt i32 %2, -1 br i1 %7, label %8, label %61 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 8 br label %10 10: ; preds = %53, %8 %11 = phi i32 [ %2, %8 ], [ %58, %53 ] %12 = phi i32 [ %6, %8 ], [ %56, %53 ] %13 = load i32, ptr %9, align 8, !tbaa !10 %14 = call i32 @BLKTOCTL(i32 noundef %12, i32 noundef %13, i32 noundef %11) #3 %15 = load ptr, ptr %0, align 8, !tbaa !13 %16 = load i32, ptr @PSIZE, align 4, !tbaa !6 %17 = call ptr @read_metapage(ptr noundef %15, i32 noundef %14, i32 noundef %16, i32 noundef 0) #3 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %10 %20 = load i32, ptr @EIO, align 4, !tbaa !6 %21 = sub nsw i32 0, %20 br label %63 22: ; preds = %10 %23 = load i64, ptr %17, align 8, !tbaa !14 %24 = inttoptr i64 %23 to ptr %25 = load i32, ptr %24, align 8, !tbaa !17 %26 = getelementptr inbounds i8, ptr %24, i64 8 %27 = load i64, ptr %26, align 8, !tbaa !19 %28 = load i32, ptr @CTLLEAFIND, align 4, !tbaa !6 %29 = call i64 @cpu_to_le32(i32 noundef %28) #3 %30 = icmp eq i64 %27, %29 br i1 %30, label %38, label %31 31: ; preds = %22 %32 = load ptr, ptr %0, align 8, !tbaa !13 %33 = load i32, ptr %32, align 4, !tbaa !20 %34 = call i32 @jfs_error(i32 noundef %33, ptr noundef nonnull @.str) #3 %35 = call i32 @release_metapage(ptr noundef nonnull %17) #3 %36 = load i32, ptr @EIO, align 4, !tbaa !6 %37 = sub nsw i32 0, %36 br label %63 38: ; preds = %22 %39 = call i32 @dbFindLeaf(ptr noundef nonnull %24, i32 noundef %1, ptr noundef nonnull %5) #3 %40 = call i32 @release_metapage(ptr noundef nonnull %17) #3 %41 = icmp eq i32 %39, 0 br i1 %41, label %53, label %42 42: ; preds = %38 %43 = icmp eq i32 %11, %2 br i1 %43, label %50, label %44 44: ; preds = %42 %45 = load ptr, ptr %0, align 8, !tbaa !13 %46 = load i32, ptr %45, align 4, !tbaa !20 %47 = call i32 @jfs_error(i32 noundef %46, ptr noundef nonnull @.str.1) #3 %48 = load i32, ptr @EIO, align 4, !tbaa !6 %49 = sub nsw i32 0, %48 br label %63 50: ; preds = %42 %51 = load i32, ptr @ENOSPC, align 4, !tbaa !6 %52 = sub nsw i32 0, %51 br label %63 53: ; preds = %38 %54 = load i32, ptr %5, align 4, !tbaa !6 %55 = shl i32 %54, %25 %56 = add nsw i32 %55, %12 %57 = icmp sgt i32 %25, %1 %58 = add nsw i32 %11, -1 %59 = icmp sgt i32 %11, 0 %60 = and i1 %57, %59 br i1 %60, label %10, label %61, !llvm.loop !22 61: ; preds = %53, %4 %62 = phi i32 [ %6, %4 ], [ %56, %53 ] store i32 %62, ptr %3, align 4, !tbaa !6 br label %63 63: ; preds = %61, %50, %44, %31, %19 %64 = phi i32 [ %21, %19 ], [ %37, %31 ], [ %49, %44 ], [ %52, %50 ], [ 0, %61 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %64 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BLKTOCTL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @read_metapage(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i32 @jfs_error(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @release_metapage(ptr noundef) local_unnamed_addr #2 declare i32 @dbFindLeaf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"bmap", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"metapage", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"dmapctl", !7, i64 0, !16, i64 8} !19 = !{!18, !16, i64 8} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_2__", !7, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_fs_jfs_extr_jfs_dmap.c_dbFindCtl
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_cleanup.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_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.bna_ccb = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bnad_cq_cleanup], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @bnad_cq_cleanup(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = getelementptr inbounds %struct.bna_ccb, ptr %1, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !11 %8 = inttoptr i64 %7 to ptr %9 = zext nneg i32 %3 to i64 %10 = shl nuw nsw i64 %9, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 %10, i1 false), !tbaa !12 br label %11 11: ; preds = %5, %2 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { 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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"bna_ccb", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !10, i64 0} !13 = !{!"bna_cq_entry", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_cleanup.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bnad.c_bnad_cq_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 @bnad_cq_cleanup], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @bnad_cq_cleanup(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %1, align 8, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = inttoptr i64 %7 to ptr %9 = zext nneg i32 %3 to i64 %10 = shl nuw nsw i64 %9, 3 tail call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 %10, i1 false), !tbaa !13 br label %11 11: ; preds = %5, %2 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { 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" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bna_ccb", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"bna_cq_entry", !11, i64 0}
linux_drivers_net_ethernet_brocade_bna_extr_bnad.c_bnad_cq_cleanup
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_uart.c_gb_tty_init.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_uart.c_gb_tty_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_8__ = type { i32 } %struct.TYPE_9__ = type { ptr, i32, %struct.TYPE_8__, i32, i32, i64, i64, i32 } @GB_NUM_MINORS = dso_local local_unnamed_addr global i32 0, align 4 @gb_tty_driver = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"Can not allocate tty driver\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"gb\00", align 1 @GB_NAME = dso_local local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_TYPE_SERIAL = dso_local local_unnamed_addr global i32 0, align 4 @SERIAL_TYPE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_REAL_RAW = dso_local local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_DYNAMIC_DEV = dso_local local_unnamed_addr global i32 0, align 4 @tty_std_termios = dso_local local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 @B9600 = dso_local local_unnamed_addr global i32 0, align 4 @CS8 = dso_local local_unnamed_addr global i32 0, align 4 @CREAD = dso_local local_unnamed_addr global i32 0, align 4 @HUPCL = dso_local local_unnamed_addr global i32 0, align 4 @CLOCAL = dso_local local_unnamed_addr global i32 0, align 4 @gb_ops = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Can not register tty driver: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gb_tty_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gb_tty_init() #0 { %1 = load i32, ptr @GB_NUM_MINORS, align 4, !tbaa !5 %2 = tail call ptr @tty_alloc_driver(i32 noundef %1, i32 noundef 0) #3 store ptr %2, ptr @gb_tty_driver, align 8, !tbaa !9 %3 = tail call i64 @IS_ERR(ptr noundef %2) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %41 9: ; preds = %0 %10 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !9 store ptr @.str.1, ptr %10, align 8, !tbaa !11 %11 = load i32, ptr @GB_NAME, align 4, !tbaa !5 %12 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !9 %13 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 7 store i32 %11, ptr %13, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false) %15 = load i32, ptr @TTY_DRIVER_TYPE_SERIAL, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 4 store i32 %15, ptr %16, align 4, !tbaa !16 %17 = load i32, ptr @SERIAL_TYPE_NORMAL, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 3 store i32 %17, ptr %18, align 8, !tbaa !17 %19 = load i32, ptr @TTY_DRIVER_REAL_RAW, align 4, !tbaa !5 %20 = load i32, ptr @TTY_DRIVER_DYNAMIC_DEV, align 4, !tbaa !5 %21 = or i32 %20, %19 %22 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 1 store i32 %21, ptr %22, align 8, !tbaa !18 %23 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 0, i32 2 %24 = load i32, ptr @B9600, align 4, !tbaa !5 %25 = load i32, ptr @CS8, align 4, !tbaa !5 %26 = or i32 %25, %24 %27 = load i32, ptr @CREAD, align 4, !tbaa !5 %28 = or i32 %26, %27 %29 = load i32, ptr @HUPCL, align 4, !tbaa !5 %30 = or i32 %28, %29 %31 = load i32, ptr @CLOCAL, align 4, !tbaa !5 %32 = or i32 %30, %31 store i32 %32, ptr %23, align 4, !tbaa !19 %33 = tail call i32 @tty_set_operations(ptr noundef %12, ptr noundef nonnull @gb_ops) #3 %34 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !9 %35 = tail call i32 @tty_register_driver(ptr noundef %34) #3 %36 = icmp eq i32 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %9 %38 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %35) #3 %39 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !9 %40 = tail call i32 @put_tty_driver(ptr noundef %39) #3 br label %41 41: ; preds = %5, %37, %9 %42 = phi i32 [ 0, %9 ], [ %8, %5 ], [ %35, %37 ] ret i32 %42 } declare ptr @tty_alloc_driver(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 declare i32 @tty_set_operations(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tty_register_driver(ptr noundef) local_unnamed_addr #1 declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_9__", !10, i64 0, !6, i64 8, !13, i64 12, !6, i64 16, !6, i64 20, !14, i64 24, !14, i64 32, !6, i64 40} !13 = !{!"TYPE_8__", !6, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!12, !6, i64 40} !16 = !{!12, !6, i64 20} !17 = !{!12, !6, i64 16} !18 = !{!12, !6, i64 8} !19 = !{!12, !6, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_uart.c_gb_tty_init.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_uart.c_gb_tty_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @GB_NUM_MINORS = common local_unnamed_addr global i32 0, align 4 @gb_tty_driver = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [29 x i8] c"Can not allocate tty driver\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"gb\00", align 1 @GB_NAME = common local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_TYPE_SERIAL = common local_unnamed_addr global i32 0, align 4 @SERIAL_TYPE_NORMAL = common local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_REAL_RAW = common local_unnamed_addr global i32 0, align 4 @TTY_DRIVER_DYNAMIC_DEV = common local_unnamed_addr global i32 0, align 4 @tty_std_termios = common local_unnamed_addr global %struct.TYPE_8__ zeroinitializer, align 4 @B9600 = common local_unnamed_addr global i32 0, align 4 @CS8 = common local_unnamed_addr global i32 0, align 4 @CREAD = common local_unnamed_addr global i32 0, align 4 @HUPCL = common local_unnamed_addr global i32 0, align 4 @CLOCAL = common local_unnamed_addr global i32 0, align 4 @gb_ops = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Can not register tty driver: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gb_tty_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gb_tty_init() #0 { %1 = load i32, ptr @GB_NUM_MINORS, align 4, !tbaa !6 %2 = tail call ptr @tty_alloc_driver(i32 noundef %1, i32 noundef 0) #3 store ptr %2, ptr @gb_tty_driver, align 8, !tbaa !10 %3 = tail call i64 @IS_ERR(ptr noundef %2) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str) #3 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %41 9: ; preds = %0 %10 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !10 store ptr @.str.1, ptr %10, align 8, !tbaa !12 %11 = load i32, ptr @GB_NAME, align 4, !tbaa !6 %12 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !10 %13 = getelementptr inbounds i8, ptr %12, i64 40 store i32 %11, ptr %13, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %12, i64 24 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false) %15 = load i32, ptr @TTY_DRIVER_TYPE_SERIAL, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %12, i64 20 store i32 %15, ptr %16, align 4, !tbaa !17 %17 = load i32, ptr @SERIAL_TYPE_NORMAL, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %12, i64 16 store i32 %17, ptr %18, align 8, !tbaa !18 %19 = load i32, ptr @TTY_DRIVER_REAL_RAW, align 4, !tbaa !6 %20 = load i32, ptr @TTY_DRIVER_DYNAMIC_DEV, align 4, !tbaa !6 %21 = or i32 %20, %19 %22 = getelementptr inbounds i8, ptr %12, i64 8 store i32 %21, ptr %22, align 8, !tbaa !19 %23 = getelementptr inbounds i8, ptr %12, i64 12 %24 = load i32, ptr @B9600, align 4, !tbaa !6 %25 = load i32, ptr @CS8, align 4, !tbaa !6 %26 = or i32 %25, %24 %27 = load i32, ptr @CREAD, align 4, !tbaa !6 %28 = or i32 %26, %27 %29 = load i32, ptr @HUPCL, align 4, !tbaa !6 %30 = or i32 %28, %29 %31 = load i32, ptr @CLOCAL, align 4, !tbaa !6 %32 = or i32 %30, %31 store i32 %32, ptr %23, align 4, !tbaa !20 %33 = tail call i32 @tty_set_operations(ptr noundef %12, ptr noundef nonnull @gb_ops) #3 %34 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !10 %35 = tail call i32 @tty_register_driver(ptr noundef %34) #3 %36 = icmp eq i32 %35, 0 br i1 %36, label %41, label %37 37: ; preds = %9 %38 = tail call i32 (ptr, ...) @pr_err(ptr noundef nonnull @.str.2, i32 noundef %35) #3 %39 = load ptr, ptr @gb_tty_driver, align 8, !tbaa !10 %40 = tail call i32 @put_tty_driver(ptr noundef %39) #3 br label %41 41: ; preds = %5, %37, %9 %42 = phi i32 [ 0, %9 ], [ %8, %5 ], [ %35, %37 ] ret i32 %42 } declare ptr @tty_alloc_driver(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, ...) local_unnamed_addr #1 declare i32 @tty_set_operations(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tty_register_driver(ptr noundef) local_unnamed_addr #1 declare i32 @put_tty_driver(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_9__", !11, i64 0, !7, i64 8, !14, i64 12, !7, i64 16, !7, i64 20, !15, i64 24, !15, i64 32, !7, i64 40} !14 = !{!"TYPE_8__", !7, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!13, !7, i64 40} !17 = !{!13, !7, i64 20} !18 = !{!13, !7, i64 16} !19 = !{!13, !7, i64 8} !20 = !{!13, !7, i64 12}
linux_drivers_staging_greybus_extr_uart.c_gb_tty_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_b_pllreq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_b_pllreq.c" target datalayout = "e-m:e-p270:32:32-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.brcms_hardware = type { i64, i32 } @BRCMS_PLLREQ_FLIP = dso_local local_unnamed_addr global i32 0, align 4 @ON = dso_local local_unnamed_addr global i32 0, align 4 @OFF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @brcms_b_pllreq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @brcms_b_pllreq(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = getelementptr inbounds %struct.brcms_hardware, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 8, !tbaa !5 %7 = tail call i64 @mboolisset(i32 noundef %6, i32 noundef %2) #2 %8 = icmp eq i64 %7, 0 br i1 %4, label %20, label %9 9: ; preds = %3 br i1 %8, label %10, label %35 10: ; preds = %9 %11 = load i32, ptr %5, align 8, !tbaa !5 %12 = tail call i32 @mboolset(i32 noundef %11, i32 noundef %2) #2 %13 = load i32, ptr %5, align 8, !tbaa !5 %14 = load i32, ptr @BRCMS_PLLREQ_FLIP, align 4, !tbaa !11 %15 = tail call i64 @mboolisset(i32 noundef %13, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %35, label %17 17: ; preds = %10 %18 = load i64, ptr %0, align 8, !tbaa !12 %19 = icmp eq i64 %18, 0 br i1 %19, label %31, label %35 20: ; preds = %3 br i1 %8, label %35, label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 8, !tbaa !5 %23 = tail call i32 @mboolclr(i32 noundef %22, i32 noundef %2) #2 %24 = load i32, ptr %5, align 8, !tbaa !5 %25 = load i32, ptr @BRCMS_PLLREQ_FLIP, align 4, !tbaa !11 %26 = tail call i64 @mboolisset(i32 noundef %24, i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %35, label %28 28: ; preds = %21 %29 = load i64, ptr %0, align 8, !tbaa !12 %30 = icmp eq i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28, %17 %32 = phi ptr [ @ON, %17 ], [ @OFF, %28 ] %33 = load i32, ptr %32, align 4, !tbaa !11 %34 = tail call i32 @brcms_b_xtal(ptr noundef nonnull %0, i32 noundef %33) #2 br label %35 35: ; preds = %31, %21, %28, %20, %10, %17, %9 ret void } declare i64 @mboolisset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mboolset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcms_b_xtal(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mboolclr(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 = !{!"brcms_hardware", !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}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_b_pllreq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/extr_main.c_brcms_b_pllreq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BRCMS_PLLREQ_FLIP = common local_unnamed_addr global i32 0, align 4 @ON = common local_unnamed_addr global i32 0, align 4 @OFF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @brcms_b_pllreq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @brcms_b_pllreq(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq i32 %1, 0 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i32, ptr %5, align 8, !tbaa !6 %7 = tail call i64 @mboolisset(i32 noundef %6, i32 noundef %2) #2 %8 = icmp eq i64 %7, 0 br i1 %4, label %20, label %9 9: ; preds = %3 br i1 %8, label %10, label %35 10: ; preds = %9 %11 = load i32, ptr %5, align 8, !tbaa !6 %12 = tail call i32 @mboolset(i32 noundef %11, i32 noundef %2) #2 %13 = load i32, ptr %5, align 8, !tbaa !6 %14 = load i32, ptr @BRCMS_PLLREQ_FLIP, align 4, !tbaa !12 %15 = tail call i64 @mboolisset(i32 noundef %13, i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %35, label %17 17: ; preds = %10 %18 = load i64, ptr %0, align 8, !tbaa !13 %19 = icmp eq i64 %18, 0 br i1 %19, label %31, label %35 20: ; preds = %3 br i1 %8, label %35, label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 8, !tbaa !6 %23 = tail call i32 @mboolclr(i32 noundef %22, i32 noundef %2) #2 %24 = load i32, ptr %5, align 8, !tbaa !6 %25 = load i32, ptr @BRCMS_PLLREQ_FLIP, align 4, !tbaa !12 %26 = tail call i64 @mboolisset(i32 noundef %24, i32 noundef %25) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %35, label %28 28: ; preds = %21 %29 = load i64, ptr %0, align 8, !tbaa !13 %30 = icmp eq i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28, %17 %32 = phi ptr [ @ON, %17 ], [ @OFF, %28 ] %33 = load i32, ptr %32, align 4, !tbaa !12 %34 = tail call i32 @brcms_b_xtal(ptr noundef nonnull %0, i32 noundef %33) #2 br label %35 35: ; preds = %31, %21, %28, %20, %10, %17, %9 ret void } declare i64 @mboolisset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mboolset(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @brcms_b_xtal(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mboolclr(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 = !{!"brcms_hardware", !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}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_extr_main.c_brcms_b_pllreq
; ModuleID = 'AnghaBench/stb/tools/extr_..stb.h_stb__arith_carry.c' source_filename = "AnghaBench/stb/tools/extr_..stb.h_stb__arith_carry.c" target datalayout = "e-m:e-p270:32:32-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 } @llvm.compiler.used = appending global [1 x ptr] [ptr @stb__arith_carry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stb__arith_carry(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = icmp ne i32 %2, -1 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = tail call i32 @stb_putc(i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !5 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %1, %13 %14 = phi i32 [ %17, %13 ], [ 0, %1 ] %15 = load i32, ptr %6, align 4, !tbaa !10 %16 = tail call i32 @stb_putc(i32 noundef %15, i32 noundef 0) #2 %17 = add nuw nsw i32 %14, 1 %18 = load i32, ptr %0, align 4, !tbaa !5 %19 = icmp slt i32 %17, %18 br i1 %19, label %13, label %20, !llvm.loop !12 20: ; preds = %13, %1 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @stb_putc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !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 = !{!6, !7, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/stb/tools/extr_..stb.h_stb__arith_carry.c' source_filename = "AnghaBench/stb/tools/extr_..stb.h_stb__arith_carry.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 @stb__arith_carry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stb__arith_carry(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = icmp ne i32 %2, -1 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @stb_putc(i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr %0, align 4, !tbaa !6 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %1, %13 %14 = phi i32 [ %17, %13 ], [ 0, %1 ] %15 = load i32, ptr %6, align 4, !tbaa !11 %16 = tail call i32 @stb_putc(i32 noundef %15, i32 noundef 0) #2 %17 = add nuw nsw i32 %14, 1 %18 = load i32, ptr %0, align 4, !tbaa !6 %19 = icmp slt i32 %17, %18 br i1 %19, label %13, label %20, !llvm.loop !13 20: ; preds = %13, %1 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @stb_putc(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !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 = !{!7, !8, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
stb_tools_extr_..stb.h_stb__arith_carry
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_switch.c_tb_sw_set_unplugged.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_switch.c_tb_sw_set_unplugged.c" target datalayout = "e-m:e-p270:32:32-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.tb_switch = type { i32, ptr, %struct.TYPE_6__, ptr } %struct.TYPE_6__ = type { i32 } %struct.TYPE_10__ = type { ptr, ptr } @.str = private unnamed_addr constant [27 x i8] c"cannot unplug root switch\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"is_unplugged already set\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @tb_sw_set_unplugged(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.tb_switch, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = icmp eq ptr %4, %0 br i1 %5, label %36, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 8, !tbaa !14 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %36 9: ; preds = %6 store i32 1, ptr %0, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.tb_switch, ptr %0, i64 0, i32 2 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = icmp slt i32 %11, 0 br i1 %12, label %39, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.tb_switch, ptr %0, i64 0, i32 1 br label %15 15: ; preds = %13, %31 %16 = phi i64 [ 0, %13 ], [ %32, %31 ] %17 = load ptr, ptr %14, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.TYPE_10__, ptr %17, i64 %16 %19 = tail call i64 @tb_port_has_remote(ptr noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = load ptr, ptr %14, align 8, !tbaa !16 br i1 %20, label %26, label %22 22: ; preds = %15 %23 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 %16, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = load ptr, ptr %24, align 8, !tbaa !19 tail call void @tb_sw_set_unplugged(ptr noundef %25) br label %31 26: ; preds = %15 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 %16 %28 = load ptr, ptr %27, align 8, !tbaa !21 %29 = icmp eq ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %26 store i32 1, ptr %28, align 4, !tbaa !22 br label %31 31: ; preds = %22, %30, %26 %32 = add nuw nsw i64 %16, 1 %33 = load i32, ptr %10, align 8, !tbaa !15 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %16, %34 br i1 %35, label %15, label %39, !llvm.loop !24 36: ; preds = %6, %1 %37 = phi ptr [ @.str, %1 ], [ @.str.1, %6 ] %38 = tail call i32 @tb_sw_WARN(ptr noundef nonnull %0, ptr noundef nonnull %37) #2 br label %39 39: ; preds = %31, %36, %9 ret void } declare i32 @tb_sw_WARN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tb_port_has_remote(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 = !{!"tb_switch", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_6__", !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_9__", !10, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 16} !16 = !{!6, !10, i64 8} !17 = !{!18, !10, i64 8} !18 = !{!"TYPE_10__", !10, i64 0, !10, i64 8} !19 = !{!20, !10, i64 0} !20 = !{!"TYPE_7__", !10, i64 0} !21 = !{!18, !10, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_8__", !7, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_switch.c_tb_sw_set_unplugged.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_switch.c_tb_sw_set_unplugged.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { ptr, ptr } @.str = private unnamed_addr constant [27 x i8] c"cannot unplug root switch\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"is_unplugged already set\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @tb_sw_set_unplugged(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !13 %5 = icmp eq ptr %4, %0 br i1 %5, label %36, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 8, !tbaa !15 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %36 9: ; preds = %6 store i32 1, ptr %0, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8, !tbaa !16 %12 = icmp slt i32 %11, 0 br i1 %12, label %39, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %0, i64 8 br label %15 15: ; preds = %13, %31 %16 = phi i64 [ 0, %13 ], [ %32, %31 ] %17 = load ptr, ptr %14, align 8, !tbaa !17 %18 = getelementptr inbounds %struct.TYPE_10__, ptr %17, i64 %16 %19 = tail call i64 @tb_port_has_remote(ptr noundef %18) #2 %20 = icmp eq i64 %19, 0 %21 = load ptr, ptr %14, align 8, !tbaa !17 br i1 %20, label %26, label %22 22: ; preds = %15 %23 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 %16, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !18 %25 = load ptr, ptr %24, align 8, !tbaa !20 tail call void @tb_sw_set_unplugged(ptr noundef %25) br label %31 26: ; preds = %15 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %21, i64 %16 %28 = load ptr, ptr %27, align 8, !tbaa !22 %29 = icmp eq ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %26 store i32 1, ptr %28, align 4, !tbaa !23 br label %31 31: ; preds = %22, %30, %26 %32 = add nuw nsw i64 %16, 1 %33 = load i32, ptr %10, align 8, !tbaa !16 %34 = sext i32 %33 to i64 %35 = icmp slt i64 %16, %34 br i1 %35, label %15, label %39, !llvm.loop !25 36: ; preds = %6, %1 %37 = phi ptr [ @.str, %1 ], [ @.str.1, %6 ] %38 = tail call i32 @tb_sw_WARN(ptr noundef nonnull %0, ptr noundef nonnull %37) #2 br label %39 39: ; preds = %31, %36, %9 ret void } declare i32 @tb_sw_WARN(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tb_port_has_remote(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 = !{!"tb_switch", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_6__", !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_9__", !11, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 16} !17 = !{!7, !11, i64 8} !18 = !{!19, !11, i64 8} !19 = !{!"TYPE_10__", !11, i64 0, !11, i64 8} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_7__", !11, i64 0} !22 = !{!19, !11, i64 0} !23 = !{!24, !8, i64 0} !24 = !{!"TYPE_8__", !8, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"}
linux_drivers_thunderbolt_extr_switch.c_tb_sw_set_unplugged
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_ctrl.c_uvc_ctrl_commit_entity.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_ctrl.c_uvc_ctrl_commit_entity.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uvc_entity = type { i32, ptr } %struct.uvc_control = type { i64, %struct.TYPE_4__, ptr, i64, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @UVC_CTRL_FLAG_AUTO_UPDATE = dso_local local_unnamed_addr global i32 0, align 4 @UVC_CTRL_FLAG_GET_CUR = dso_local local_unnamed_addr global i32 0, align 4 @UVC_SET_CUR = dso_local local_unnamed_addr global i32 0, align 4 @UVC_CTRL_DATA_CURRENT = dso_local local_unnamed_addr global i32 0, align 4 @UVC_CTRL_DATA_BACKUP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uvc_ctrl_commit_entity], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @uvc_ctrl_commit_entity(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %63, label %5 5: ; preds = %3 %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = icmp eq i32 %6, 0 br i1 %7, label %63, label %8 8: ; preds = %5 %9 = getelementptr inbounds %struct.uvc_entity, ptr %1, i64 0, i32 1 %10 = icmp eq i32 %2, 0 br label %11 11: ; preds = %8, %58 %12 = phi i64 [ 0, %8 ], [ %59, %58 ] %13 = load ptr, ptr %9, align 8, !tbaa !11 %14 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12 %15 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 4 %16 = load i32, ptr %15, align 8, !tbaa !12 %17 = icmp eq i32 %16, 0 br i1 %17, label %58, label %18 18: ; preds = %11 %19 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = load i32, ptr @UVC_CTRL_FLAG_AUTO_UPDATE, align 4, !tbaa !17 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %18 %25 = load i32, ptr @UVC_CTRL_FLAG_GET_CUR, align 4, !tbaa !17 %26 = and i32 %25, %20 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24, %18 %29 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 3 store i64 0, ptr %29, align 8, !tbaa !18 br label %30 30: ; preds = %28, %24 %31 = load i64, ptr %14, align 8, !tbaa !19 %32 = icmp eq i64 %31, 0 br i1 %32, label %58, label %33 33: ; preds = %30 br i1 %10, label %34, label %48 34: ; preds = %33 %35 = load i32, ptr @UVC_SET_CUR, align 4, !tbaa !17 %36 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 2 %37 = load ptr, ptr %36, align 8, !tbaa !20 %38 = load i32, ptr %37, align 4, !tbaa !21 %39 = load i32, ptr %0, align 4, !tbaa !23 %40 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 1, i32 2 %41 = load i32, ptr %40, align 8, !tbaa !25 %42 = load i32, ptr @UVC_CTRL_DATA_CURRENT, align 4, !tbaa !17 %43 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %42) #2 %44 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 1, i32 1 %45 = load i32, ptr %44, align 4, !tbaa !26 %46 = tail call i32 @uvc_query_ctrl(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %38, i32 noundef %39, i32 noundef %41, i32 noundef %43, i32 noundef %45) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %33, %34 %49 = phi i32 [ %46, %34 ], [ 0, %33 ] %50 = load i32, ptr @UVC_CTRL_DATA_CURRENT, align 4, !tbaa !17 %51 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %50) #2 %52 = load i32, ptr @UVC_CTRL_DATA_BACKUP, align 4, !tbaa !17 %53 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %52) #2 %54 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12, i32 1, i32 1 %55 = load i32, ptr %54, align 4, !tbaa !26 %56 = tail call i32 @memcpy(i32 noundef %51, i32 noundef %53, i32 noundef %55) #2 store i64 0, ptr %14, align 8, !tbaa !19 br i1 %10, label %63, label %58 57: ; preds = %34 store i64 0, ptr %14, align 8, !tbaa !19 br label %58 58: ; preds = %57, %48, %30, %11 %59 = add nuw nsw i64 %12, 1 %60 = load i32, ptr %1, align 8, !tbaa !5 %61 = zext i32 %60 to i64 %62 = icmp ult i64 %59, %61 br i1 %62, label %11, label %63, !llvm.loop !27 63: ; preds = %58, %48, %5, %3 %64 = phi i32 [ 0, %3 ], [ 0, %5 ], [ 0, %58 ], [ %49, %48 ] ret i32 %64 } declare i32 @uvc_query_ctrl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uvc_ctrl_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"uvc_entity", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 40} !13 = !{!"uvc_control", !14, i64 0, !15, i64 8, !10, i64 24, !14, i64 32, !7, i64 40} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8} !16 = !{!13, !7, i64 8} !17 = !{!7, !7, i64 0} !18 = !{!13, !14, i64 32} !19 = !{!13, !14, i64 0} !20 = !{!13, !10, i64 24} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_3__", !7, i64 0} !23 = !{!24, !7, i64 0} !24 = !{!"uvc_device", !7, i64 0} !25 = !{!13, !7, i64 16} !26 = !{!13, !7, i64 12} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_ctrl.c_uvc_ctrl_commit_entity.c' source_filename = "AnghaBench/linux/drivers/media/usb/uvc/extr_uvc_ctrl.c_uvc_ctrl_commit_entity.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uvc_control = type { i64, %struct.TYPE_4__, ptr, i64, i32 } %struct.TYPE_4__ = type { i32, i32, i32 } @UVC_CTRL_FLAG_AUTO_UPDATE = common local_unnamed_addr global i32 0, align 4 @UVC_CTRL_FLAG_GET_CUR = common local_unnamed_addr global i32 0, align 4 @UVC_SET_CUR = common local_unnamed_addr global i32 0, align 4 @UVC_CTRL_DATA_CURRENT = common local_unnamed_addr global i32 0, align 4 @UVC_CTRL_DATA_BACKUP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uvc_ctrl_commit_entity], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @uvc_ctrl_commit_entity(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2) #0 { %4 = icmp eq ptr %1, null br i1 %4, label %63, label %5 5: ; preds = %3 %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = icmp eq i32 %6, 0 br i1 %7, label %63, label %8 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = icmp eq i32 %2, 0 br label %11 11: ; preds = %8, %58 %12 = phi i64 [ 0, %8 ], [ %59, %58 ] %13 = load ptr, ptr %9, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.uvc_control, ptr %13, i64 %12 %15 = getelementptr inbounds i8, ptr %14, i64 40 %16 = load i32, ptr %15, align 8, !tbaa !13 %17 = icmp eq i32 %16, 0 br i1 %17, label %58, label %18 18: ; preds = %11 %19 = getelementptr inbounds i8, ptr %14, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = load i32, ptr @UVC_CTRL_FLAG_AUTO_UPDATE, align 4, !tbaa !18 %22 = and i32 %21, %20 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %18 %25 = load i32, ptr @UVC_CTRL_FLAG_GET_CUR, align 4, !tbaa !18 %26 = and i32 %25, %20 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24, %18 %29 = getelementptr inbounds i8, ptr %14, i64 32 store i64 0, ptr %29, align 8, !tbaa !19 br label %30 30: ; preds = %28, %24 %31 = load i64, ptr %14, align 8, !tbaa !20 %32 = icmp eq i64 %31, 0 br i1 %32, label %58, label %33 33: ; preds = %30 br i1 %10, label %34, label %48 34: ; preds = %33 %35 = load i32, ptr @UVC_SET_CUR, align 4, !tbaa !18 %36 = getelementptr inbounds i8, ptr %14, i64 24 %37 = load ptr, ptr %36, align 8, !tbaa !21 %38 = load i32, ptr %37, align 4, !tbaa !22 %39 = load i32, ptr %0, align 4, !tbaa !24 %40 = getelementptr inbounds i8, ptr %14, i64 16 %41 = load i32, ptr %40, align 8, !tbaa !26 %42 = load i32, ptr @UVC_CTRL_DATA_CURRENT, align 4, !tbaa !18 %43 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %42) #2 %44 = getelementptr inbounds i8, ptr %14, i64 12 %45 = load i32, ptr %44, align 4, !tbaa !27 %46 = tail call i32 @uvc_query_ctrl(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %38, i32 noundef %39, i32 noundef %41, i32 noundef %43, i32 noundef %45) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %33, %34 %49 = phi i32 [ %46, %34 ], [ 0, %33 ] %50 = load i32, ptr @UVC_CTRL_DATA_CURRENT, align 4, !tbaa !18 %51 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %50) #2 %52 = load i32, ptr @UVC_CTRL_DATA_BACKUP, align 4, !tbaa !18 %53 = tail call i32 @uvc_ctrl_data(ptr noundef nonnull %14, i32 noundef %52) #2 %54 = getelementptr inbounds i8, ptr %14, i64 12 %55 = load i32, ptr %54, align 4, !tbaa !27 %56 = tail call i32 @memcpy(i32 noundef %51, i32 noundef %53, i32 noundef %55) #2 store i64 0, ptr %14, align 8, !tbaa !20 br i1 %10, label %63, label %58 57: ; preds = %34 store i64 0, ptr %14, align 8, !tbaa !20 br label %58 58: ; preds = %57, %48, %30, %11 %59 = add nuw nsw i64 %12, 1 %60 = load i32, ptr %1, align 8, !tbaa !6 %61 = zext i32 %60 to i64 %62 = icmp ult i64 %59, %61 br i1 %62, label %11, label %63, !llvm.loop !28 63: ; preds = %58, %48, %5, %3 %64 = phi i32 [ 0, %3 ], [ 0, %5 ], [ 0, %58 ], [ %49, %48 ] ret i32 %64 } declare i32 @uvc_query_ctrl(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @uvc_ctrl_data(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(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 = !{!"uvc_entity", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 40} !14 = !{!"uvc_control", !15, i64 0, !16, i64 8, !11, i64 24, !15, i64 32, !8, i64 40} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8} !17 = !{!14, !8, i64 8} !18 = !{!8, !8, i64 0} !19 = !{!14, !15, i64 32} !20 = !{!14, !15, i64 0} !21 = !{!14, !11, i64 24} !22 = !{!23, !8, i64 0} !23 = !{!"TYPE_3__", !8, i64 0} !24 = !{!25, !8, i64 0} !25 = !{!"uvc_device", !8, i64 0} !26 = !{!14, !8, i64 16} !27 = !{!14, !8, i64 12} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_usb_uvc_extr_uvc_ctrl.c_uvc_ctrl_commit_entity
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_add_legacy.c' source_filename = "AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_add_legacy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @irq_domain_add_legacy(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @of_node_to_fwnode(ptr noundef %0) #2 %8 = add i32 %3, %1 %9 = tail call ptr @__irq_domain_add(i32 noundef %7, i32 noundef %8, i32 noundef %8, i32 noundef 0, ptr noundef %4, ptr noundef %5) #2 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %6 %12 = tail call i32 @irq_domain_associate_many(ptr noundef nonnull %9, i32 noundef %2, i32 noundef %3, i32 noundef %1) #2 br label %13 13: ; preds = %11, %6 ret ptr %9 } declare ptr @__irq_domain_add(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @of_node_to_fwnode(ptr noundef) local_unnamed_addr #1 declare i32 @irq_domain_associate_many(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)"}
; ModuleID = 'AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_add_legacy.c' source_filename = "AnghaBench/linux/kernel/irq/extr_irqdomain.c_irq_domain_add_legacy.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 @irq_domain_add_legacy(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @of_node_to_fwnode(ptr noundef %0) #2 %8 = add i32 %3, %1 %9 = tail call ptr @__irq_domain_add(i32 noundef %7, i32 noundef %8, i32 noundef %8, i32 noundef 0, ptr noundef %4, ptr noundef %5) #2 %10 = icmp eq ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %6 %12 = tail call i32 @irq_domain_associate_many(ptr noundef nonnull %9, i32 noundef %2, i32 noundef %3, i32 noundef %1) #2 br label %13 13: ; preds = %11, %6 ret ptr %9 } declare ptr @__irq_domain_add(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @of_node_to_fwnode(ptr noundef) local_unnamed_addr #1 declare i32 @irq_domain_associate_many(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)"}
linux_kernel_irq_extr_irqdomain.c_irq_domain_add_legacy
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_farsync.c_fst_tx_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_farsync.c_fst_tx_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fst_port_info = type { i64, i32, ptr } %struct.net_device = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @DBG_ASS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Tx timeout card %d port %d\0A\00", align 1 @ABORTTX = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fst_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fst_tx_timeout(ptr noundef %0) #0 { %2 = tail call ptr @dev_to_port(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.fst_port_info, ptr %2, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %6 = load <2 x i32>, ptr %5, align 4, !tbaa !12 %7 = add nsw <2 x i32> %6, <i32 1, i32 1> store <2 x i32> %7, ptr %5, align 4, !tbaa !12 %8 = load i32, ptr @DBG_ASS, align 4, !tbaa !12 %9 = load i32, ptr %4, align 4, !tbaa !13 %10 = getelementptr inbounds %struct.fst_port_info, ptr %2, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !15 %12 = tail call i32 @dbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr @ABORTTX, align 4, !tbaa !12 %14 = tail call i32 @fst_issue_cmd(ptr noundef %2, i32 noundef %13) #2 %15 = load i32, ptr @jiffies, align 4, !tbaa !12 store i32 %15, ptr %0, align 4, !tbaa !16 %16 = tail call i32 @netif_wake_queue(ptr noundef nonnull %0) #2 store i64 0, ptr %2, align 8, !tbaa !19 ret void } declare ptr @dev_to_port(ptr noundef) local_unnamed_addr #1 declare i32 @dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fst_issue_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"fst_port_info", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"fst_card_info", !10, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!17, !10, i64 0} !17 = !{!"net_device", !10, i64 0, !18, i64 4} !18 = !{!"TYPE_2__", !10, i64 0, !10, i64 4} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_farsync.c_fst_tx_timeout.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_farsync.c_fst_tx_timeout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DBG_ASS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Tx timeout card %d port %d\0A\00", align 1 @ABORTTX = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fst_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fst_tx_timeout(ptr noundef %0) #0 { %2 = tail call ptr @dev_to_port(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load <2 x i32>, ptr %5, align 4, !tbaa !13 %7 = add nsw <2 x i32> %6, <i32 1, i32 1> store <2 x i32> %7, ptr %5, align 4, !tbaa !13 %8 = load i32, ptr @DBG_ASS, align 4, !tbaa !13 %9 = load i32, ptr %4, align 4, !tbaa !14 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !16 %12 = tail call i32 @dbg(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %11) #2 %13 = load i32, ptr @ABORTTX, align 4, !tbaa !13 %14 = tail call i32 @fst_issue_cmd(ptr noundef %2, i32 noundef %13) #2 %15 = load i32, ptr @jiffies, align 4, !tbaa !13 store i32 %15, ptr %0, align 4, !tbaa !17 %16 = tail call i32 @netif_wake_queue(ptr noundef nonnull %0) #2 store i64 0, ptr %2, align 8, !tbaa !20 ret void } declare ptr @dev_to_port(ptr noundef) local_unnamed_addr #1 declare i32 @dbg(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fst_issue_cmd(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_wake_queue(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"fst_port_info", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"fst_card_info", !11, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!18, !11, i64 0} !18 = !{!"net_device", !11, i64 0, !19, i64 4} !19 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !20 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_net_wan_extr_farsync.c_fst_tx_timeout
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_vertex_pipe_hs.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_vertex_pipe_hs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WINED3D_SHADER_TYPE_DOMAIN = dso_local local_unnamed_addr global i32 0, align 4 @WINED3D_SHADER_TYPE_VERTEX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @glsl_vertex_pipe_hs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @glsl_vertex_pipe_hs(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 %2) #0 { %4 = load i32, ptr @WINED3D_SHADER_TYPE_DOMAIN, align 4, !tbaa !5 %5 = shl nuw i32 1, %4 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = or i32 %6, %5 store i32 %7, ptr %0, align 4, !tbaa !9 %8 = load ptr, ptr %1, align 8, !tbaa !11 %9 = load i64, ptr @WINED3D_SHADER_TYPE_VERTEX, align 8, !tbaa !14 %10 = getelementptr inbounds i64, ptr %8, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %3 %14 = trunc i64 %9 to i32 %15 = shl nuw i32 1, %14 %16 = or i32 %15, %7 store i32 %16, ptr %0, align 4, !tbaa !9 br label %17 17: ; preds = %13, %3 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"wined3d_context", !6, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"wined3d_state", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_vertex_pipe_hs.c' source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_glsl_shader.c_glsl_vertex_pipe_hs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WINED3D_SHADER_TYPE_DOMAIN = common local_unnamed_addr global i32 0, align 4 @WINED3D_SHADER_TYPE_VERTEX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @glsl_vertex_pipe_hs], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @glsl_vertex_pipe_hs(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 %2) #0 { %4 = load i32, ptr @WINED3D_SHADER_TYPE_DOMAIN, align 4, !tbaa !6 %5 = shl nuw i32 1, %4 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = or i32 %6, %5 store i32 %7, ptr %0, align 4, !tbaa !10 %8 = load ptr, ptr %1, align 8, !tbaa !12 %9 = load i64, ptr @WINED3D_SHADER_TYPE_VERTEX, align 8, !tbaa !15 %10 = getelementptr inbounds i64, ptr %8, i64 %9 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = icmp eq i64 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %3 %14 = trunc i64 %9 to i32 %15 = shl nuw i32 1, %14 %16 = or i32 %15, %7 store i32 %16, ptr %0, align 4, !tbaa !10 br label %17 17: ; preds = %13, %3 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"wined3d_context", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"wined3d_state", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
reactos_dll_directx_wine_wined3d_extr_glsl_shader.c_glsl_vertex_pipe_hs
; ModuleID = 'AnghaBench/linux/security/selinux/extr_hooks.c_selinux_sb_show_options.c' source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_selinux_sb_show_options.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32 } %struct.superblock_security_struct = type { i32, ptr, i32, i32, i32 } @SE_SBINITIALIZED = dso_local local_unnamed_addr global i32 0, align 4 @selinux_state = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @FSCONTEXT_MNT = dso_local local_unnamed_addr global i32 0, align 4 @FSCONTEXT_STR = dso_local local_unnamed_addr global i32 0, align 4 @CONTEXT_MNT = dso_local local_unnamed_addr global i32 0, align 4 @CONTEXT_STR = dso_local local_unnamed_addr global i32 0, align 4 @DEFCONTEXT_MNT = dso_local local_unnamed_addr global i32 0, align 4 @DEFCONTEXT_STR = dso_local local_unnamed_addr global i32 0, align 4 @ROOTCONTEXT_MNT = dso_local local_unnamed_addr global i32 0, align 4 @ROOTCONTEXT_STR = dso_local local_unnamed_addr global i32 0, align 4 @SBLABEL_MNT = dso_local local_unnamed_addr global i32 0, align 4 @SECLABEL_STR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @selinux_sb_show_options], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @selinux_sb_show_options(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = load i32, ptr @SE_SBINITIALIZED, align 4, !tbaa !13 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr @selinux_state, align 4 %9 = icmp eq i32 %8, 0 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %82, label %11 11: ; preds = %2 %12 = load i32, ptr @FSCONTEXT_MNT, align 4, !tbaa !13 %13 = and i32 %12, %4 %14 = icmp eq i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %11 %16 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %17 = load i32, ptr @FSCONTEXT_STR, align 4, !tbaa !13 %18 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %17) #2 %19 = getelementptr inbounds %struct.superblock_security_struct, ptr %3, i64 0, i32 4 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %82 23: ; preds = %15 %24 = load i32, ptr %3, align 8, !tbaa !10 br label %25 25: ; preds = %23, %11 %26 = phi i32 [ %24, %23 ], [ %4, %11 ] %27 = load i32, ptr @CONTEXT_MNT, align 4, !tbaa !13 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %40, label %30 30: ; preds = %25 %31 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %32 = load i32, ptr @CONTEXT_STR, align 4, !tbaa !13 %33 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %32) #2 %34 = getelementptr inbounds %struct.superblock_security_struct, ptr %3, i64 0, i32 3 %35 = load i32, ptr %34, align 4, !tbaa !15 %36 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %35) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %82 38: ; preds = %30 %39 = load i32, ptr %3, align 8, !tbaa !10 br label %40 40: ; preds = %38, %25 %41 = phi i32 [ %39, %38 ], [ %26, %25 ] %42 = load i32, ptr @DEFCONTEXT_MNT, align 4, !tbaa !13 %43 = and i32 %42, %41 %44 = icmp eq i32 %43, 0 br i1 %44, label %55, label %45 45: ; preds = %40 %46 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %47 = load i32, ptr @DEFCONTEXT_STR, align 4, !tbaa !13 %48 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %47) #2 %49 = getelementptr inbounds %struct.superblock_security_struct, ptr %3, i64 0, i32 2 %50 = load i32, ptr %49, align 8, !tbaa !16 %51 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %50) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %82 53: ; preds = %45 %54 = load i32, ptr %3, align 8, !tbaa !10 br label %55 55: ; preds = %53, %40 %56 = phi i32 [ %54, %53 ], [ %41, %40 ] %57 = load i32, ptr @ROOTCONTEXT_MNT, align 4, !tbaa !13 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %73, label %60 60: ; preds = %55 %61 = getelementptr inbounds %struct.superblock_security_struct, ptr %3, i64 0, i32 1 %62 = load ptr, ptr %61, align 8, !tbaa !17 %63 = load ptr, ptr %62, align 8, !tbaa !18 %64 = tail call ptr @backing_inode_security(ptr noundef %63) #2 %65 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %66 = load i32, ptr @ROOTCONTEXT_STR, align 4, !tbaa !13 %67 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %66) #2 %68 = load i32, ptr %64, align 4, !tbaa !20 %69 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %68) #2 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %82 71: ; preds = %60 %72 = load i32, ptr %3, align 8, !tbaa !10 br label %73 73: ; preds = %71, %55 %74 = phi i32 [ %72, %71 ], [ %56, %55 ] %75 = load i32, ptr @SBLABEL_MNT, align 4, !tbaa !13 %76 = and i32 %75, %74 %77 = icmp eq i32 %76, 0 br i1 %77, label %82, label %78 78: ; preds = %73 %79 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %80 = load i32, ptr @SECLABEL_STR, align 4, !tbaa !13 %81 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %80) #2 br label %82 82: ; preds = %73, %78, %45, %30, %15, %2, %60 %83 = phi i32 [ %69, %60 ], [ 0, %2 ], [ %21, %15 ], [ %36, %30 ], [ %51, %45 ], [ 0, %78 ], [ 0, %73 ] ret i32 %83 } declare i32 @seq_putc(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @seq_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @show_sid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @backing_inode_security(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 = !{!"super_block", !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 = !{!"superblock_security_struct", !12, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 24} !15 = !{!11, !12, i64 20} !16 = !{!11, !12, i64 16} !17 = !{!11, !7, i64 8} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_3__", !7, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"inode_security_struct", !12, i64 0}
; ModuleID = 'AnghaBench/linux/security/selinux/extr_hooks.c_selinux_sb_show_options.c' source_filename = "AnghaBench/linux/security/selinux/extr_hooks.c_selinux_sb_show_options.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 } @SE_SBINITIALIZED = common local_unnamed_addr global i32 0, align 4 @selinux_state = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @FSCONTEXT_MNT = common local_unnamed_addr global i32 0, align 4 @FSCONTEXT_STR = common local_unnamed_addr global i32 0, align 4 @CONTEXT_MNT = common local_unnamed_addr global i32 0, align 4 @CONTEXT_STR = common local_unnamed_addr global i32 0, align 4 @DEFCONTEXT_MNT = common local_unnamed_addr global i32 0, align 4 @DEFCONTEXT_STR = common local_unnamed_addr global i32 0, align 4 @ROOTCONTEXT_MNT = common local_unnamed_addr global i32 0, align 4 @ROOTCONTEXT_STR = common local_unnamed_addr global i32 0, align 4 @SBLABEL_MNT = common local_unnamed_addr global i32 0, align 4 @SECLABEL_STR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @selinux_sb_show_options], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @selinux_sb_show_options(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr @SE_SBINITIALIZED, align 4, !tbaa !14 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = load i32, ptr @selinux_state, align 4 %9 = icmp eq i32 %8, 0 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %82, label %11 11: ; preds = %2 %12 = load i32, ptr @FSCONTEXT_MNT, align 4, !tbaa !14 %13 = and i32 %12, %4 %14 = icmp eq i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %11 %16 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %17 = load i32, ptr @FSCONTEXT_STR, align 4, !tbaa !14 %18 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %17) #2 %19 = getelementptr inbounds i8, ptr %3, i64 24 %20 = load i32, ptr %19, align 8, !tbaa !15 %21 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %82 23: ; preds = %15 %24 = load i32, ptr %3, align 8, !tbaa !11 br label %25 25: ; preds = %23, %11 %26 = phi i32 [ %24, %23 ], [ %4, %11 ] %27 = load i32, ptr @CONTEXT_MNT, align 4, !tbaa !14 %28 = and i32 %27, %26 %29 = icmp eq i32 %28, 0 br i1 %29, label %40, label %30 30: ; preds = %25 %31 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %32 = load i32, ptr @CONTEXT_STR, align 4, !tbaa !14 %33 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %3, i64 20 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %35) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %82 38: ; preds = %30 %39 = load i32, ptr %3, align 8, !tbaa !11 br label %40 40: ; preds = %38, %25 %41 = phi i32 [ %39, %38 ], [ %26, %25 ] %42 = load i32, ptr @DEFCONTEXT_MNT, align 4, !tbaa !14 %43 = and i32 %42, %41 %44 = icmp eq i32 %43, 0 br i1 %44, label %55, label %45 45: ; preds = %40 %46 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %47 = load i32, ptr @DEFCONTEXT_STR, align 4, !tbaa !14 %48 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %47) #2 %49 = getelementptr inbounds i8, ptr %3, i64 16 %50 = load i32, ptr %49, align 8, !tbaa !17 %51 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %50) #2 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %82 53: ; preds = %45 %54 = load i32, ptr %3, align 8, !tbaa !11 br label %55 55: ; preds = %53, %40 %56 = phi i32 [ %54, %53 ], [ %41, %40 ] %57 = load i32, ptr @ROOTCONTEXT_MNT, align 4, !tbaa !14 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %73, label %60 60: ; preds = %55 %61 = getelementptr inbounds i8, ptr %3, i64 8 %62 = load ptr, ptr %61, align 8, !tbaa !18 %63 = load ptr, ptr %62, align 8, !tbaa !19 %64 = tail call ptr @backing_inode_security(ptr noundef %63) #2 %65 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %66 = load i32, ptr @ROOTCONTEXT_STR, align 4, !tbaa !14 %67 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %66) #2 %68 = load i32, ptr %64, align 4, !tbaa !21 %69 = tail call i32 @show_sid(ptr noundef %0, i32 noundef %68) #2 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %82 71: ; preds = %60 %72 = load i32, ptr %3, align 8, !tbaa !11 br label %73 73: ; preds = %71, %55 %74 = phi i32 [ %72, %71 ], [ %56, %55 ] %75 = load i32, ptr @SBLABEL_MNT, align 4, !tbaa !14 %76 = and i32 %75, %74 %77 = icmp eq i32 %76, 0 br i1 %77, label %82, label %78 78: ; preds = %73 %79 = tail call i32 @seq_putc(ptr noundef %0, i8 noundef signext 44) #2 %80 = load i32, ptr @SECLABEL_STR, align 4, !tbaa !14 %81 = tail call i32 @seq_puts(ptr noundef %0, i32 noundef %80) #2 br label %82 82: ; preds = %73, %78, %45, %30, %15, %2, %60 %83 = phi i32 [ %69, %60 ], [ 0, %2 ], [ %21, %15 ], [ %36, %30 ], [ %51, %45 ], [ 0, %78 ], [ 0, %73 ] ret i32 %83 } declare i32 @seq_putc(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @seq_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @show_sid(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @backing_inode_security(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 = !{!"super_block", !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 = !{!"superblock_security_struct", !13, i64 0, !8, i64 8, !13, i64 16, !13, i64 20, !13, i64 24} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 24} !16 = !{!12, !13, i64 20} !17 = !{!12, !13, i64 16} !18 = !{!12, !8, i64 8} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_3__", !8, i64 0} !21 = !{!22, !13, i64 0} !22 = !{!"inode_security_struct", !13, i64 0}
linux_security_selinux_extr_hooks.c_selinux_sb_show_options
; ModuleID = 'AnghaBench/sumatrapdf/ext/unarr/zip/extr_uncompress-zip.c_gPpmd_ByteIn_Read.c' source_filename = "AnghaBench/sumatrapdf/ext/unarr/zip/extr_uncompress-zip.c_gPpmd_ByteIn_Read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr, i32, i32 } %struct.ByteReader = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @gPpmd_ByteIn_Read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gPpmd_ByteIn_Read(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %1 %7 = getelementptr inbounds %struct.ByteReader, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = icmp eq i32 %9, 0 br i1 %10, label %30, label %11 11: ; preds = %6 %12 = tail call i32 @zip_fill_input_buffer(ptr noundef nonnull %8) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %30, label %14 14: ; preds = %11 %15 = load ptr, ptr %0, align 8, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i64 0, i32 2 %17 = load i32, ptr %16, align 4, !tbaa !10 br label %18 18: ; preds = %14, %1 %19 = phi i32 [ %17, %14 ], [ %4, %1 ] %20 = phi ptr [ %15, %14 ], [ %2, %1 ] %21 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i64 0, i32 2 %22 = add nsw i32 %19, -1 store i32 %22, ptr %21, align 4, !tbaa !10 %23 = load ptr, ptr %20, align 8, !tbaa !17 %24 = getelementptr inbounds %struct.TYPE_5__, ptr %20, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !18 %26 = add nsw i32 %25, 1 store i32 %26, ptr %24, align 8, !tbaa !18 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i32, ptr %23, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !19 br label %30 30: ; preds = %6, %11, %18 %31 = phi i32 [ %29, %18 ], [ 255, %11 ], [ 255, %6 ] ret i32 %31 } declare i32 @zip_fill_input_buffer(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 = !{!"ByteReader", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 12} !11 = !{!"TYPE_5__", !7, i64 0, !12, i64 8, !12, i64 12} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"TYPE_4__", !12, i64 0} !17 = !{!11, !7, i64 0} !18 = !{!11, !12, i64 8} !19 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/unarr/zip/extr_uncompress-zip.c_gPpmd_ByteIn_Read.c' source_filename = "AnghaBench/sumatrapdf/ext/unarr/zip/extr_uncompress-zip.c_gPpmd_ByteIn_Read.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 @gPpmd_ByteIn_Read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gPpmd_ByteIn_Read(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 12 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %18 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = load i32, ptr %8, align 4, !tbaa !15 %10 = icmp eq i32 %9, 0 br i1 %10, label %30, label %11 11: ; preds = %6 %12 = tail call i32 @zip_fill_input_buffer(ptr noundef nonnull %8) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %30, label %14 14: ; preds = %11 %15 = load ptr, ptr %0, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %15, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !11 br label %18 18: ; preds = %14, %1 %19 = phi i32 [ %17, %14 ], [ %4, %1 ] %20 = phi ptr [ %15, %14 ], [ %2, %1 ] %21 = getelementptr inbounds i8, ptr %20, i64 12 %22 = add nsw i32 %19, -1 store i32 %22, ptr %21, align 4, !tbaa !11 %23 = load ptr, ptr %20, align 8, !tbaa !18 %24 = getelementptr inbounds i8, ptr %20, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !19 %26 = add nsw i32 %25, 1 store i32 %26, ptr %24, align 8, !tbaa !19 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i32, ptr %23, i64 %27 %29 = load i32, ptr %28, align 4, !tbaa !20 br label %30 30: ; preds = %6, %11, %18 %31 = phi i32 [ %29, %18 ], [ 255, %11 ], [ 255, %6 ] ret i32 %31 } declare i32 @zip_fill_input_buffer(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 = !{!"ByteReader", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 12} !12 = !{!"TYPE_5__", !8, i64 0, !13, i64 8, !13, i64 12} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_6__", !17, i64 0} !17 = !{!"TYPE_4__", !13, i64 0} !18 = !{!12, !8, i64 0} !19 = !{!12, !13, i64 8} !20 = !{!13, !13, i64 0}
sumatrapdf_ext_unarr_zip_extr_uncompress-zip.c_gPpmd_ByteIn_Read
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_flags.c' source_filename = "AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_flags.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EVP_CIPH_MODE = dso_local local_unnamed_addr global i32 0, align 4 @OSSL_PARAM_END = dso_local local_unnamed_addr global i32 0, align 4 @OSSL_CIPHER_PARAM_MODE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @EVP_CIPHER_mode(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = tail call i32 @EVP_CIPHER_flags(ptr noundef %0) #3 %5 = load i32, ptr @EVP_CIPH_MODE, align 4, !tbaa !5 %6 = and i32 %5, %4 store i32 %6, ptr %2, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %7 = load i32, ptr @OSSL_PARAM_END, align 4, !tbaa !5 %8 = getelementptr inbounds i32, ptr %3, i64 1 store i32 %7, ptr %8, align 4, !tbaa !5 %9 = load i32, ptr @OSSL_CIPHER_PARAM_MODE, align 4, !tbaa !5 %10 = call i32 @OSSL_PARAM_construct_uint(i32 noundef %9, ptr noundef nonnull %2) #3 store i32 %10, ptr %3, align 4, !tbaa !5 %11 = call i32 @evp_do_ciph_getparams(ptr noundef %0, ptr noundef nonnull %3) #3 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr %2, align 4 %14 = select i1 %12, i32 0, i32 %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_CIPHER_flags(ptr noundef) local_unnamed_addr #2 declare i32 @OSSL_PARAM_construct_uint(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @evp_do_ciph_getparams(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_flags.c' source_filename = "AnghaBench/openssl/crypto/evp/extr_evp_lib.c_EVP_CIPHER_flags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EVP_CIPH_MODE = common local_unnamed_addr global i32 0, align 4 @OSSL_PARAM_END = common local_unnamed_addr global i32 0, align 4 @OSSL_CIPHER_PARAM_MODE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @EVP_CIPHER_mode(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = tail call i32 @EVP_CIPHER_flags(ptr noundef %0) #3 %5 = load i32, ptr @EVP_CIPH_MODE, align 4, !tbaa !6 %6 = and i32 %5, %4 store i32 %6, ptr %2, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %7 = load i32, ptr @OSSL_PARAM_END, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %7, ptr %8, align 4, !tbaa !6 %9 = load i32, ptr @OSSL_CIPHER_PARAM_MODE, align 4, !tbaa !6 %10 = call i32 @OSSL_PARAM_construct_uint(i32 noundef %9, ptr noundef nonnull %2) #3 store i32 %10, ptr %3, align 4, !tbaa !6 %11 = call i32 @evp_do_ciph_getparams(ptr noundef %0, ptr noundef nonnull %3) #3 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr %2, align 4 %14 = select i1 %12, i32 0, i32 %13 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %14 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EVP_CIPHER_flags(ptr noundef) local_unnamed_addr #2 declare i32 @OSSL_PARAM_construct_uint(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @evp_do_ciph_getparams(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"}
openssl_crypto_evp_extr_evp_lib.c_EVP_CIPHER_flags
; ModuleID = 'AnghaBench/postgres/src/interfaces/libpq/extr_fe-lobj.c_lo_ntoh64.c' source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-lobj.c_lo_ntoh64.c" target datalayout = "e-m:e-p270:32:32-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 @lo_ntoh64], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @lo_ntoh64(i32 noundef %0) #0 { %2 = tail call i64 @pg_ntoh32(i32 noundef %0) #2 %3 = tail call i64 @pg_ntoh32(i32 noundef undef) #2 ret i32 poison } declare i64 @pg_ntoh32(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/postgres/src/interfaces/libpq/extr_fe-lobj.c_lo_ntoh64.c' source_filename = "AnghaBench/postgres/src/interfaces/libpq/extr_fe-lobj.c_lo_ntoh64.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 @lo_ntoh64], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @lo_ntoh64(i32 noundef %0) #0 { %2 = tail call i64 @pg_ntoh32(i32 noundef %0) #2 %3 = tail call i64 @pg_ntoh32(i32 noundef undef) #2 ret i32 poison } declare i64 @pg_ntoh32(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)"}
postgres_src_interfaces_libpq_extr_fe-lobj.c_lo_ntoh64
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/amso1100/extr_c2_qp.c_to_ib_state_str.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/amso1100/extr_c2_qp.c_to_ib_state_str.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @reltable.to_ib_state_str = internal unnamed_addr constant [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @.str to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.1 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.2 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.3 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.4 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.5 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (ptr @.str.6 to i64), i64 ptrtoint (ptr @reltable.to_ib_state_str to i64)) to i32)], align 4 @.str = private unnamed_addr constant [13 x i8] c"IB_QPS_RESET\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"IB_QPS_INIT\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"IB_QPS_RTR\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"IB_QPS_RTS\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"IB_QPS_SQD\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"IB_QPS_SQE\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"IB_QPS_ERR\00", align 1 @IB_QPS_RESET = dso_local local_unnamed_addr global i32 0, align 4 @IB_QPS_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [22 x i8] c"<invalid IB QP state>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @to_ib_state_str], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal ptr @to_ib_state_str(i32 noundef %0) #0 { %2 = load i32, ptr @IB_QPS_RESET, align 4, !tbaa !5 %3 = icmp sgt i32 %2, %0 %4 = load i32, ptr @IB_QPS_ERR, align 4 %5 = icmp slt i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = sub nsw i32 %0, %2 %9 = sext i32 %8 to i64 %10 = shl i64 %9, 2 %11 = call ptr @llvm.load.relative.i64(ptr @reltable.to_ib_state_str, i64 %10) br label %12 12: ; preds = %1, %7 %13 = phi ptr [ %11, %7 ], [ @.str.7, %1 ] ret ptr %13 } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read) declare ptr @llvm.load.relative.i64(ptr, i64) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/amso1100/extr_c2_qp.c_to_ib_state_str.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/amso1100/extr_c2_qp.c_to_ib_state_str.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @to_ib_state_str.state_str = internal unnamed_addr constant [7 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 8 @.str = private unnamed_addr constant [13 x i8] c"IB_QPS_RESET\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"IB_QPS_INIT\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"IB_QPS_RTR\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"IB_QPS_RTS\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"IB_QPS_SQD\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"IB_QPS_SQE\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"IB_QPS_ERR\00", align 1 @IB_QPS_RESET = common local_unnamed_addr global i32 0, align 4 @IB_QPS_ERR = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [22 x i8] c"<invalid IB QP state>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @to_ib_state_str], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal ptr @to_ib_state_str(i32 noundef %0) #0 { %2 = load i32, ptr @IB_QPS_RESET, align 4, !tbaa !6 %3 = icmp sgt i32 %2, %0 %4 = load i32, ptr @IB_QPS_ERR, align 4 %5 = icmp slt i32 %4, %0 %6 = select i1 %3, i1 true, i1 %5 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = sub nsw i32 %0, %2 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [7 x ptr], ptr @to_ib_state_str.state_str, i64 0, i64 %9 %11 = load ptr, ptr %10, align 8, !tbaa !10 br label %12 12: ; preds = %1, %7 %13 = phi ptr [ %11, %7 ], [ @.str.7, %1 ] 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_infiniband_hw_amso1100_extr_c2_qp.c_to_ib_state_str
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_submit_bnx2x_fcoe_kwqes.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_submit_bnx2x_fcoe_kwqes.c" target datalayout = "e-m:e-p270:32:32-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.cnic_dev = type { i32, i32 } @CNIC_F_CNIC_UP = dso_local local_unnamed_addr global i32 0, align 4 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Unknown type of KWQE(0x%x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"KWQE(0x%x) failed\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cnic_submit_bnx2x_fcoe_kwqes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cnic_submit_bnx2x_fcoe_kwqes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = tail call ptr @netdev_priv(i32 noundef %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = load i32, ptr @CNIC_F_CNIC_UP, align 4, !tbaa !10 %8 = getelementptr inbounds %struct.cnic_dev, ptr %0, i64 0, i32 1 %9 = tail call i32 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr @EAGAIN, align 4, !tbaa !10 %13 = sub nsw i32 0, %12 br label %67 14: ; preds = %3 %15 = tail call i32 @BNX2X_CHIP_IS_E2_PLUS(ptr noundef %6) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %14 %18 = icmp sgt i32 %2, 0 br i1 %18, label %22, label %67 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !10 %21 = sub nsw i32 0, %20 br label %67 22: ; preds = %17, %63 %23 = phi i32 [ %65, %63 ], [ 0, %17 ] %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %1, i64 %24 %26 = load ptr, ptr %25, align 8, !tbaa !11 %27 = load i32, ptr %26, align 4, !tbaa !13 %28 = call i32 @KWQE_OPCODE(i32 noundef %27) #3 store i32 1, ptr %4, align 4, !tbaa !10 switch i32 %28, label %45 [ i32 130, label %29 i32 129, label %32 i32 131, label %35 i32 132, label %37 i32 133, label %39 i32 134, label %41 i32 128, label %43 ] 29: ; preds = %22 %30 = sub nsw i32 %2, %23 %31 = call i32 @cnic_bnx2x_fcoe_init1(ptr noundef nonnull %0, ptr noundef nonnull %25, i32 noundef %30, ptr noundef nonnull %4) #3 br label %48 32: ; preds = %22 %33 = sub nsw i32 %2, %23 %34 = call i32 @cnic_bnx2x_fcoe_ofld1(ptr noundef nonnull %0, ptr noundef nonnull %25, i32 noundef %33, ptr noundef nonnull %4) #3 br label %48 35: ; preds = %22 %36 = call i32 @cnic_bnx2x_fcoe_enable(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 37: ; preds = %22 %38 = call i32 @cnic_bnx2x_fcoe_disable(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 39: ; preds = %22 %40 = call i32 @cnic_bnx2x_fcoe_destroy(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 41: ; preds = %22 %42 = call i32 @cnic_bnx2x_fcoe_fw_destroy(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 43: ; preds = %22 %44 = call i32 @cnic_bnx2x_fcoe_stat(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 45: ; preds = %22 %46 = load i32, ptr %0, align 4, !tbaa !5 %47 = call i32 @netdev_err(i32 noundef %46, ptr noundef nonnull @.str, i32 noundef %28) #3 br label %63 48: ; preds = %43, %41, %39, %37, %35, %32, %29 %49 = phi i32 [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %38, %37 ], [ %36, %35 ], [ %34, %32 ], [ %31, %29 ] %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %63 51: ; preds = %48 %52 = load i32, ptr %0, align 4, !tbaa !5 %53 = call i32 @netdev_err(i32 noundef %52, ptr noundef nonnull @.str.1, i32 noundef %28) #3 %54 = load i32, ptr @EIO, align 4, !tbaa !10 %55 = sub nsw i32 0, %54 %56 = icmp eq i32 %49, %55 br i1 %56, label %61, label %57 57: ; preds = %51 %58 = load i32, ptr @EAGAIN, align 4, !tbaa !10 %59 = sub nsw i32 0, %58 %60 = icmp eq i32 %49, %59 br i1 %60, label %61, label %63 61: ; preds = %57, %51 %62 = call i32 @cnic_bnx2x_kwqe_err(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %63 63: ; preds = %45, %57, %61, %48 %64 = load i32, ptr %4, align 4, !tbaa !10 %65 = add nsw i32 %64, %23 %66 = icmp slt i32 %65, %2 br i1 %66, label %22, label %67, !llvm.loop !15 67: ; preds = %63, %17, %19, %11 %68 = phi i32 [ %21, %19 ], [ %13, %11 ], [ 0, %17 ], [ 0, %63 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #2 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BNX2X_CHIP_IS_E2_PLUS(ptr noundef) local_unnamed_addr #2 declare i32 @KWQE_OPCODE(i32 noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_init1(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_ofld1(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_enable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_disable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_destroy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_fw_destroy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_stat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @netdev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_kwqe_err(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 = !{!"cnic_dev", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"kwqe", !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_submit_bnx2x_fcoe_kwqes.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_cnic.c_cnic_submit_bnx2x_fcoe_kwqes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CNIC_F_CNIC_UP = common local_unnamed_addr global i32 0, align 4 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Unknown type of KWQE(0x%x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"KWQE(0x%x) failed\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cnic_submit_bnx2x_fcoe_kwqes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @cnic_submit_bnx2x_fcoe_kwqes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = tail call ptr @netdev_priv(i32 noundef %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %7 = load i32, ptr @CNIC_F_CNIC_UP, align 4, !tbaa !11 %8 = getelementptr inbounds i8, ptr %0, i64 4 %9 = tail call i32 @test_bit(i32 noundef %7, ptr noundef nonnull %8) #3 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %3 %12 = load i32, ptr @EAGAIN, align 4, !tbaa !11 %13 = sub nsw i32 0, %12 br label %67 14: ; preds = %3 %15 = tail call i32 @BNX2X_CHIP_IS_E2_PLUS(ptr noundef %6) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %14 %18 = icmp sgt i32 %2, 0 br i1 %18, label %22, label %67 19: ; preds = %14 %20 = load i32, ptr @EINVAL, align 4, !tbaa !11 %21 = sub nsw i32 0, %20 br label %67 22: ; preds = %17, %63 %23 = phi i32 [ %65, %63 ], [ 0, %17 ] %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %1, i64 %24 %26 = load ptr, ptr %25, align 8, !tbaa !12 %27 = load i32, ptr %26, align 4, !tbaa !14 %28 = call i32 @KWQE_OPCODE(i32 noundef %27) #3 store i32 1, ptr %4, align 4, !tbaa !11 switch i32 %28, label %45 [ i32 130, label %29 i32 129, label %32 i32 131, label %35 i32 132, label %37 i32 133, label %39 i32 134, label %41 i32 128, label %43 ] 29: ; preds = %22 %30 = sub nsw i32 %2, %23 %31 = call i32 @cnic_bnx2x_fcoe_init1(ptr noundef nonnull %0, ptr noundef nonnull %25, i32 noundef %30, ptr noundef nonnull %4) #3 br label %48 32: ; preds = %22 %33 = sub nsw i32 %2, %23 %34 = call i32 @cnic_bnx2x_fcoe_ofld1(ptr noundef nonnull %0, ptr noundef nonnull %25, i32 noundef %33, ptr noundef nonnull %4) #3 br label %48 35: ; preds = %22 %36 = call i32 @cnic_bnx2x_fcoe_enable(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 37: ; preds = %22 %38 = call i32 @cnic_bnx2x_fcoe_disable(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 39: ; preds = %22 %40 = call i32 @cnic_bnx2x_fcoe_destroy(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 41: ; preds = %22 %42 = call i32 @cnic_bnx2x_fcoe_fw_destroy(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 43: ; preds = %22 %44 = call i32 @cnic_bnx2x_fcoe_stat(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %48 45: ; preds = %22 %46 = load i32, ptr %0, align 4, !tbaa !6 %47 = call i32 @netdev_err(i32 noundef %46, ptr noundef nonnull @.str, i32 noundef %28) #3 br label %63 48: ; preds = %43, %41, %39, %37, %35, %32, %29 %49 = phi i32 [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %38, %37 ], [ %36, %35 ], [ %34, %32 ], [ %31, %29 ] %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %63 51: ; preds = %48 %52 = load i32, ptr %0, align 4, !tbaa !6 %53 = call i32 @netdev_err(i32 noundef %52, ptr noundef nonnull @.str.1, i32 noundef %28) #3 %54 = load i32, ptr @EIO, align 4, !tbaa !11 %55 = sub nsw i32 0, %54 %56 = icmp eq i32 %49, %55 br i1 %56, label %61, label %57 57: ; preds = %51 %58 = load i32, ptr @EAGAIN, align 4, !tbaa !11 %59 = sub nsw i32 0, %58 %60 = icmp eq i32 %49, %59 br i1 %60, label %61, label %63 61: ; preds = %57, %51 %62 = call i32 @cnic_bnx2x_kwqe_err(ptr noundef nonnull %0, ptr noundef nonnull %26) #3 br label %63 63: ; preds = %45, %57, %61, %48 %64 = load i32, ptr %4, align 4, !tbaa !11 %65 = add nsw i32 %64, %23 %66 = icmp slt i32 %65, %2 br i1 %66, label %22, label %67, !llvm.loop !16 67: ; preds = %63, %17, %19, %11 %68 = phi i32 [ %21, %19 ], [ %13, %11 ], [ 0, %17 ], [ 0, %63 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(i32 noundef) local_unnamed_addr #2 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @BNX2X_CHIP_IS_E2_PLUS(ptr noundef) local_unnamed_addr #2 declare i32 @KWQE_OPCODE(i32 noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_init1(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_ofld1(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_enable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_disable(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_destroy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_fw_destroy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_fcoe_stat(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @netdev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cnic_bnx2x_kwqe_err(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 = !{!"cnic_dev", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"kwqe", !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_broadcom_extr_cnic.c_cnic_submit_bnx2x_fcoe_kwqes
; ModuleID = 'AnghaBench/libgit2/src/allocators/extr_stdalloc.c_stdalloc__free.c' source_filename = "AnghaBench/libgit2/src/allocators/extr_stdalloc.c_stdalloc__free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @stdalloc__free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @stdalloc__free(ptr noundef %0) #0 { %2 = tail call i32 @free(ptr noundef %0) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/libgit2/src/allocators/extr_stdalloc.c_stdalloc__free.c' source_filename = "AnghaBench/libgit2/src/allocators/extr_stdalloc.c_stdalloc__free.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 @stdalloc__free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @stdalloc__free(ptr noundef %0) #0 { %2 = tail call i32 @free(ptr noundef %0) #2 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
libgit2_src_allocators_extr_stdalloc.c_stdalloc__free
; ModuleID = 'AnghaBench/systemd/src/shared/extr_format-table.c_table_data_size.c' source_filename = "AnghaBench/systemd/src/shared/extr_format-table.c_table_data_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Uh? Unexpected cell type\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @table_data_size], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @table_data_size(i32 noundef %0, ptr noundef %1) #0 { switch i32 %0, label %16 [ i32 149, label %18 i32 138, label %3 i32 151, label %7 i32 135, label %8 i32 133, label %8 i32 134, label %8 i32 137, label %8 i32 136, label %8 i32 139, label %9 i32 143, label %9 i32 129, label %9 i32 150, label %9 i32 144, label %10 i32 130, label %10 i32 145, label %11 i32 131, label %11 i32 142, label %12 i32 128, label %12 i32 146, label %13 i32 132, label %13 i32 140, label %13 i32 148, label %13 i32 141, label %14 i32 147, label %15 ] 3: ; preds = %2 %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = add nsw i32 %4, 1 %6 = sext i32 %5 to i64 br label %18 7: ; preds = %2 br label %18 8: ; preds = %2, %2, %2, %2, %2 br label %18 9: ; preds = %2, %2, %2, %2 br label %18 10: ; preds = %2, %2 br label %18 11: ; preds = %2, %2 br label %18 12: ; preds = %2, %2 br label %18 13: ; preds = %2, %2, %2, %2 br label %18 14: ; preds = %2 br label %18 15: ; preds = %2 br label %18 16: ; preds = %2 %17 = tail call i32 @assert_not_reached(ptr noundef nonnull @.str) #2 br label %18 18: ; preds = %2, %3, %7, %8, %9, %10, %11, %12, %13, %14, %15, %16 %19 = phi i64 [ undef, %16 ], [ 4, %15 ], [ 4, %14 ], [ 4, %13 ], [ 4, %12 ], [ 4, %11 ], [ 4, %10 ], [ 4, %9 ], [ 4, %8 ], [ 4, %7 ], [ %6, %3 ], [ 0, %2 ] ret i64 %19 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @assert_not_reached(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/systemd/src/shared/extr_format-table.c_table_data_size.c' source_filename = "AnghaBench/systemd/src/shared/extr_format-table.c_table_data_size.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 [25 x i8] c"Uh? Unexpected cell type\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @table_data_size], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @table_data_size(i32 noundef %0, ptr noundef %1) #0 { switch i32 %0, label %16 [ i32 149, label %18 i32 138, label %3 i32 151, label %7 i32 135, label %8 i32 133, label %8 i32 134, label %8 i32 137, label %8 i32 136, label %8 i32 139, label %9 i32 143, label %9 i32 129, label %9 i32 150, label %9 i32 144, label %10 i32 130, label %10 i32 145, label %11 i32 131, label %11 i32 142, label %12 i32 128, label %12 i32 146, label %13 i32 132, label %13 i32 140, label %13 i32 148, label %13 i32 141, label %14 i32 147, label %15 ] 3: ; preds = %2 %4 = tail call i32 @strlen(ptr noundef %1) #2 %5 = add nsw i32 %4, 1 %6 = sext i32 %5 to i64 br label %18 7: ; preds = %2 br label %18 8: ; preds = %2, %2, %2, %2, %2 br label %18 9: ; preds = %2, %2, %2, %2 br label %18 10: ; preds = %2, %2 br label %18 11: ; preds = %2, %2 br label %18 12: ; preds = %2, %2 br label %18 13: ; preds = %2, %2, %2, %2 br label %18 14: ; preds = %2 br label %18 15: ; preds = %2 br label %18 16: ; preds = %2 %17 = tail call i32 @assert_not_reached(ptr noundef nonnull @.str) #2 br label %18 18: ; preds = %2, %3, %7, %8, %9, %10, %11, %12, %13, %14, %15, %16 %19 = phi i64 [ undef, %16 ], [ 4, %15 ], [ 4, %14 ], [ 4, %13 ], [ 4, %12 ], [ 4, %11 ], [ 4, %10 ], [ 4, %9 ], [ 4, %8 ], [ 4, %7 ], [ %6, %3 ], [ 0, %2 ] ret i64 %19 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @assert_not_reached(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)"}
systemd_src_shared_extr_format-table.c_table_data_size
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_udp_tunnel_add.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_udp_tunnel_add.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.udp_tunnel_info = type { i32, i32 } @BNX2X_UDP_PORT_VXLAN = dso_local local_unnamed_addr global i32 0, align 4 @BNX2X_UDP_PORT_GENEVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_udp_tunnel_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bnx2x_udp_tunnel_add(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.udp_tunnel_info, ptr %1, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @ntohs(i32 noundef %5) #2 %7 = load i32, ptr %1, align 4, !tbaa !10 switch i32 %7, label %13 [ i32 128, label %9 i32 129, label %8 ] 8: ; preds = %2 br label %9 9: ; preds = %2, %8 %10 = phi ptr [ @BNX2X_UDP_PORT_GENEVE, %8 ], [ @BNX2X_UDP_PORT_VXLAN, %2 ] %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @__bnx2x_add_udp_port(ptr noundef %3, i32 noundef %6, i32 noundef %11) #2 br label %13 13: ; preds = %9, %2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @__bnx2x_add_udp_port(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"udp_tunnel_info", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_udp_tunnel_add.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_main.c_bnx2x_udp_tunnel_add.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BNX2X_UDP_PORT_VXLAN = common local_unnamed_addr global i32 0, align 4 @BNX2X_UDP_PORT_GENEVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_udp_tunnel_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bnx2x_udp_tunnel_add(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %1, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @ntohs(i32 noundef %5) #2 %7 = load i32, ptr %1, align 4, !tbaa !11 switch i32 %7, label %13 [ i32 128, label %9 i32 129, label %8 ] 8: ; preds = %2 br label %9 9: ; preds = %2, %8 %10 = phi ptr [ @BNX2X_UDP_PORT_GENEVE, %8 ], [ @BNX2X_UDP_PORT_VXLAN, %2 ] %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @__bnx2x_add_udp_port(ptr noundef %3, i32 noundef %6, i32 noundef %11) #2 br label %13 13: ; preds = %9, %2 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @__bnx2x_add_udp_port(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"udp_tunnel_info", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_main.c_bnx2x_udp_tunnel_add
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_xen-pcifront.c_pcifront_init_sd.c' source_filename = "AnghaBench/linux/drivers/pci/extr_xen-pcifront.c_pcifront_init_sd.c" target datalayout = "e-m:e-p270:32:32-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.pcifront_sd = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32 } @first_online_node = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcifront_init_sd], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @pcifront_init_sd(ptr nocapture noundef writeonly %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 { %5 = load i32, ptr @first_online_node, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.pcifront_sd, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.pcifront_sd, ptr %0, i64 0, i32 1, i32 1 store i32 %5, ptr %7, align 4, !tbaa !9 store i32 %1, ptr %6, align 8, !tbaa !13 store ptr %3, ptr %0, align 8, !tbaa !14 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 12} !10 = !{!"pcifront_sd", !11, i64 0, !12, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !13 = !{!10, !6, i64 8} !14 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pci/extr_xen-pcifront.c_pcifront_init_sd.c' source_filename = "AnghaBench/linux/drivers/pci/extr_xen-pcifront.c_pcifront_init_sd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @first_online_node = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pcifront_init_sd], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @pcifront_init_sd(ptr nocapture noundef writeonly %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 { %5 = load i32, ptr @first_online_node, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %0, i64 12 store i32 %5, ptr %7, align 4, !tbaa !10 store i32 %1, ptr %6, align 8, !tbaa !14 store ptr %3, ptr %0, align 8, !tbaa !15 ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 12} !11 = !{!"pcifront_sd", !12, i64 0, !13, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !14 = !{!11, !7, i64 8} !15 = !{!11, !12, i64 0}
linux_drivers_pci_extr_xen-pcifront.c_pcifront_init_sd
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET(i32 noundef %0) #0 { %2 = load i32, ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__SHIFT, align 4, !tbaa !5 %3 = shl i32 %0, %2 %4 = load i32, ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__MASK, align 4, !tbaa !5 %5 = and i32 %3, %4 ret i32 %5 } 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/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__SHIFT = common local_unnamed_addr global i32 0, align 4 @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET(i32 noundef %0) #0 { %2 = load i32, ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__SHIFT, align 4, !tbaa !6 %3 = shl i32 %0, %2 %4 = load i32, ptr @A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET__MASK, align 4, !tbaa !6 %5 = and i32 %3, %4 ret i32 %5 } 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_drivers_gpu_drm_msm_adreno_extr_a3xx.xml.h_A3XX_SP_FS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_print_clock_levels.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_print_clock_levels.c" target datalayout = "e-m:e-p270:32:32-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.pp_hwmgr = type { %struct.TYPE_23__, i32, ptr } %struct.TYPE_23__ = type { %struct.TYPE_22__ } %struct.TYPE_22__ = type { i32, i32 } %struct.vega10_hwmgr = type { %struct.TYPE_24__, %struct.TYPE_21__, %struct.TYPE_14__, %struct.TYPE_13__ } %struct.TYPE_24__ = type { i32, i32, %struct.vega10_odn_clock_voltage_dependency_table, %struct.vega10_odn_clock_voltage_dependency_table } %struct.vega10_odn_clock_voltage_dependency_table = type { i32, ptr } %struct.TYPE_21__ = type { %struct.TYPE_20__, %struct.TYPE_18__ } %struct.TYPE_20__ = type { ptr } %struct.TYPE_18__ = type { ptr } %struct.TYPE_14__ = type { i32, i32, i32, i32 } %struct.TYPE_13__ = type { %struct.vega10_pcie_table, %struct.vega10_single_dpm_table, %struct.vega10_single_dpm_table, %struct.vega10_single_dpm_table, %struct.vega10_single_dpm_table } %struct.vega10_pcie_table = type { i32, ptr } %struct.vega10_single_dpm_table = type { i32, ptr } %struct.TYPE_15__ = type { i32 } %struct.TYPE_16__ = type { i32, i32 } @PPSMC_MSG_GetCurrentGfxclkIndex = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"%d: %uMhz %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @PPSMC_MSG_GetCurrentUclkIndex = dso_local local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetCurrentSocclkIndex = dso_local local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetClockFreqMHz = dso_local local_unnamed_addr global i32 0, align 4 @CLK_DCEFCLK = dso_local local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetCurrentLinkIndex = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"%d: %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"2.5GT/s, x1\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"5.0GT/s, x16\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"8.0GT/s, x16\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"OD_SCLK\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"%d: %10uMhz %10umV\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"OD_MCLK\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"OD_RANGE\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"SCLK: %7uMHz %10uMHz\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"MCLK: %7uMHz %10uMHz\0A\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"VDDC: %7umV %11umV\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vega10_print_clock_levels], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vega10_print_clock_levels(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds %struct.pp_hwmgr, ptr %0, i64 0, i32 2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3 %7 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 4 %8 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 3 %9 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 2 %10 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 1 switch i32 %1, label %259 [ i32 129, label %11 i32 131, label %42 i32 128, label %73 i32 132, label %104 i32 130, label %135 i32 133, label %167 i32 135, label %196 i32 134, label %225 ] 11: ; preds = %3 %12 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 2, i32 3 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %259 15: ; preds = %11 %16 = load i32, ptr @PPSMC_MSG_GetCurrentGfxclkIndex, align 4, !tbaa !24 %17 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %16) #3 %18 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %19 = load i32, ptr %7, align 8, !tbaa !25 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %259 21: ; preds = %15 %22 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 4, i32 1 %23 = zext i32 %18 to i64 br label %24 24: ; preds = %21, %24 %25 = phi i64 [ 0, %21 ], [ %38, %24 ] %26 = phi i32 [ 0, %21 ], [ %37, %24 ] %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %2, i64 %27 %29 = load ptr, ptr %22, align 8, !tbaa !26 %30 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 %25 %31 = load i32, ptr %30, align 4, !tbaa !27 %32 = sdiv i32 %31, 100 %33 = icmp eq i64 %25, %23 %34 = select i1 %33, ptr @.str.1, ptr @.str.2 %35 = trunc i64 %25 to i32 %36 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %28, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %35, i32 noundef %32, ptr noundef nonnull %34) %37 = add nsw i32 %36, %26 %38 = add nuw nsw i64 %25, 1 %39 = load i32, ptr %7, align 8, !tbaa !25 %40 = sext i32 %39 to i64 %41 = icmp slt i64 %38, %40 br i1 %41, label %24, label %259, !llvm.loop !29 42: ; preds = %3 %43 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 2, i32 2 %44 = load i32, ptr %43, align 8, !tbaa !31 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %259 46: ; preds = %42 %47 = load i32, ptr @PPSMC_MSG_GetCurrentUclkIndex, align 4, !tbaa !24 %48 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %47) #3 %49 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %50 = load i32, ptr %8, align 8, !tbaa !25 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %259 52: ; preds = %46 %53 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 3, i32 1 %54 = zext i32 %49 to i64 br label %55 55: ; preds = %52, %55 %56 = phi i64 [ 0, %52 ], [ %69, %55 ] %57 = phi i32 [ 0, %52 ], [ %68, %55 ] %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %2, i64 %58 %60 = load ptr, ptr %53, align 8, !tbaa !26 %61 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 %56 %62 = load i32, ptr %61, align 4, !tbaa !27 %63 = sdiv i32 %62, 100 %64 = icmp eq i64 %56, %54 %65 = select i1 %64, ptr @.str.1, ptr @.str.2 %66 = trunc i64 %56 to i32 %67 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %66, i32 noundef %63, ptr noundef nonnull %65) %68 = add nsw i32 %67, %57 %69 = add nuw nsw i64 %56, 1 %70 = load i32, ptr %8, align 8, !tbaa !25 %71 = sext i32 %70 to i64 %72 = icmp slt i64 %69, %71 br i1 %72, label %55, label %259, !llvm.loop !32 73: ; preds = %3 %74 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 2, i32 1 %75 = load i32, ptr %74, align 4, !tbaa !33 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %259 77: ; preds = %73 %78 = load i32, ptr @PPSMC_MSG_GetCurrentSocclkIndex, align 4, !tbaa !24 %79 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %78) #3 %80 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %81 = load i32, ptr %9, align 8, !tbaa !25 %82 = icmp sgt i32 %81, 0 br i1 %82, label %83, label %259 83: ; preds = %77 %84 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 2, i32 1 %85 = zext i32 %80 to i64 br label %86 86: ; preds = %83, %86 %87 = phi i64 [ 0, %83 ], [ %100, %86 ] %88 = phi i32 [ 0, %83 ], [ %99, %86 ] %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %2, i64 %89 %91 = load ptr, ptr %84, align 8, !tbaa !26 %92 = getelementptr inbounds %struct.TYPE_15__, ptr %91, i64 %87 %93 = load i32, ptr %92, align 4, !tbaa !27 %94 = sdiv i32 %93, 100 %95 = icmp eq i64 %87, %85 %96 = select i1 %95, ptr @.str.1, ptr @.str.2 %97 = trunc i64 %87 to i32 %98 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %90, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %97, i32 noundef %94, ptr noundef nonnull %96) %99 = add nsw i32 %98, %88 %100 = add nuw nsw i64 %87, 1 %101 = load i32, ptr %9, align 8, !tbaa !25 %102 = sext i32 %101 to i64 %103 = icmp slt i64 %100, %102 br i1 %103, label %86, label %259, !llvm.loop !34 104: ; preds = %3 %105 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 2 %106 = load i32, ptr %105, align 8, !tbaa !35 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %259 108: ; preds = %104 %109 = load i32, ptr @PPSMC_MSG_GetClockFreqMHz, align 4, !tbaa !24 %110 = load i32, ptr @CLK_DCEFCLK, align 4, !tbaa !24 %111 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef nonnull %0, i32 noundef %109, i32 noundef %110) #3 %112 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %113 = load i32, ptr %10, align 8, !tbaa !25 %114 = icmp sgt i32 %113, 0 br i1 %114, label %115, label %259 115: ; preds = %108 %116 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 1, i32 1 br label %117 117: ; preds = %115, %117 %118 = phi i64 [ 0, %115 ], [ %131, %117 ] %119 = phi i32 [ 0, %115 ], [ %130, %117 ] %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %2, i64 %120 %122 = load ptr, ptr %116, align 8, !tbaa !26 %123 = getelementptr inbounds %struct.TYPE_15__, ptr %122, i64 %118 %124 = load i32, ptr %123, align 4, !tbaa !27 %125 = sdiv i32 %124, 100 %126 = icmp eq i32 %125, %112 %127 = select i1 %126, ptr @.str.1, ptr @.str.2 %128 = trunc i64 %118 to i32 %129 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %121, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %128, i32 noundef %125, ptr noundef nonnull %127) %130 = add nsw i32 %129, %119 %131 = add nuw nsw i64 %118, 1 %132 = load i32, ptr %10, align 8, !tbaa !25 %133 = sext i32 %132 to i64 %134 = icmp slt i64 %131, %133 br i1 %134, label %117, label %259, !llvm.loop !36 135: ; preds = %3 %136 = load i32, ptr @PPSMC_MSG_GetCurrentLinkIndex, align 4, !tbaa !24 %137 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %136) #3 %138 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %139 = load i32, ptr %6, align 8, !tbaa !37 %140 = icmp sgt i32 %139, 0 br i1 %140, label %141, label %259 141: ; preds = %135 %142 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 3, i32 0, i32 1 %143 = zext i32 %138 to i64 br label %144 144: ; preds = %141, %156 %145 = phi i64 [ 0, %141 ], [ %163, %156 ] %146 = phi i32 [ 0, %141 ], [ %162, %156 ] %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %2, i64 %147 %149 = load ptr, ptr %142, align 8, !tbaa !38 %150 = getelementptr inbounds i32, ptr %149, i64 %145 %151 = load i32, ptr %150, align 4, !tbaa !24 switch i32 %151, label %152 [ i32 0, label %156 i32 1, label %155 ] 152: ; preds = %144 %153 = icmp eq i32 %151, 2 %154 = select i1 %153, ptr @.str.6, ptr @.str.2 br label %156 155: ; preds = %144 br label %156 156: ; preds = %144, %155, %152 %157 = phi ptr [ @.str.4, %144 ], [ %154, %152 ], [ @.str.5, %155 ] %158 = icmp eq i64 %145, %143 %159 = select i1 %158, ptr @.str.1, ptr @.str.2 %160 = trunc i64 %145 to i32 %161 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %148, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %160, ptr noundef nonnull %157, ptr noundef nonnull %159) %162 = add nsw i32 %161, %146 %163 = add nuw nsw i64 %145, 1 %164 = load i32, ptr %6, align 8, !tbaa !37 %165 = sext i32 %164 to i64 %166 = icmp slt i64 %163, %165 br i1 %166, label %144, label %259, !llvm.loop !39 167: ; preds = %3 %168 = getelementptr inbounds %struct.pp_hwmgr, ptr %0, i64 0, i32 1 %169 = load i32, ptr %168, align 8, !tbaa !40 %170 = icmp eq i32 %169, 0 br i1 %170, label %259, label %171 171: ; preds = %167 %172 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.8) %173 = getelementptr inbounds %struct.TYPE_24__, ptr %5, i64 0, i32 3 %174 = load i32, ptr %173, align 8, !tbaa !41 %175 = icmp sgt i32 %174, 0 br i1 %175, label %176, label %259 176: ; preds = %171 %177 = getelementptr inbounds %struct.TYPE_24__, ptr %5, i64 0, i32 3, i32 1 br label %178 178: ; preds = %176, %178 %179 = phi i64 [ 0, %176 ], [ %192, %178 ] %180 = phi i32 [ %172, %176 ], [ %191, %178 ] %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %2, i64 %181 %183 = load ptr, ptr %177, align 8, !tbaa !42 %184 = getelementptr inbounds %struct.TYPE_16__, ptr %183, i64 %179 %185 = load i32, ptr %184, align 4, !tbaa !43 %186 = sdiv i32 %185, 100 %187 = getelementptr inbounds %struct.TYPE_16__, ptr %183, i64 %179, i32 1 %188 = load i32, ptr %187, align 4, !tbaa !45 %189 = trunc i64 %179 to i32 %190 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %182, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %189, i32 noundef %186, i32 noundef %188) %191 = add nsw i32 %190, %180 %192 = add nuw nsw i64 %179, 1 %193 = load i32, ptr %173, align 8, !tbaa !41 %194 = sext i32 %193 to i64 %195 = icmp slt i64 %192, %194 br i1 %195, label %178, label %259, !llvm.loop !46 196: ; preds = %3 %197 = getelementptr inbounds %struct.pp_hwmgr, ptr %0, i64 0, i32 1 %198 = load i32, ptr %197, align 8, !tbaa !40 %199 = icmp eq i32 %198, 0 br i1 %199, label %259, label %200 200: ; preds = %196 %201 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.10) %202 = getelementptr inbounds %struct.TYPE_24__, ptr %5, i64 0, i32 2 %203 = load i32, ptr %202, align 8, !tbaa !41 %204 = icmp sgt i32 %203, 0 br i1 %204, label %205, label %259 205: ; preds = %200 %206 = getelementptr inbounds %struct.TYPE_24__, ptr %5, i64 0, i32 2, i32 1 br label %207 207: ; preds = %205, %207 %208 = phi i64 [ 0, %205 ], [ %221, %207 ] %209 = phi i32 [ %201, %205 ], [ %220, %207 ] %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %2, i64 %210 %212 = load ptr, ptr %206, align 8, !tbaa !42 %213 = getelementptr inbounds %struct.TYPE_16__, ptr %212, i64 %208 %214 = load i32, ptr %213, align 4, !tbaa !43 %215 = sdiv i32 %214, 100 %216 = getelementptr inbounds %struct.TYPE_16__, ptr %212, i64 %208, i32 1 %217 = load i32, ptr %216, align 4, !tbaa !45 %218 = trunc i64 %208 to i32 %219 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %211, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %218, i32 noundef %215, i32 noundef %217) %220 = add nsw i32 %219, %209 %221 = add nuw nsw i64 %208, 1 %222 = load i32, ptr %202, align 8, !tbaa !41 %223 = sext i32 %222 to i64 %224 = icmp slt i64 %221, %223 br i1 %224, label %207, label %259, !llvm.loop !47 225: ; preds = %3 %226 = getelementptr inbounds %struct.pp_hwmgr, ptr %0, i64 0, i32 1 %227 = load i32, ptr %226, align 8, !tbaa !40 %228 = icmp eq i32 %227, 0 br i1 %228, label %259, label %229 229: ; preds = %225 %230 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.11) %231 = sext i32 %230 to i64 %232 = getelementptr inbounds i8, ptr %2, i64 %231 %233 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 1 %234 = getelementptr inbounds %struct.vega10_hwmgr, ptr %5, i64 0, i32 1, i32 1 %235 = load ptr, ptr %234, align 8, !tbaa !48 %236 = load i32, ptr %235, align 4, !tbaa !49 %237 = sdiv i32 %236, 100 %238 = load i32, ptr %0, align 8, !tbaa !51 %239 = sdiv i32 %238, 100 %240 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %232, ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %237, i32 noundef %239) %241 = add nsw i32 %240, %230 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i8, ptr %2, i64 %242 %244 = load ptr, ptr %233, align 8, !tbaa !52 %245 = load i32, ptr %244, align 4, !tbaa !53 %246 = sdiv i32 %245, 100 %247 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1 %248 = load i32, ptr %247, align 4, !tbaa !55 %249 = sdiv i32 %248, 100 %250 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %243, ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %246, i32 noundef %249) %251 = add nsw i32 %250, %241 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds i8, ptr %2, i64 %252 %254 = load i32, ptr %5, align 8, !tbaa !56 %255 = getelementptr inbounds %struct.TYPE_24__, ptr %5, i64 0, i32 1 %256 = load i32, ptr %255, align 4, !tbaa !57 %257 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %253, ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %254, i32 noundef %256) %258 = add nsw i32 %257, %251 br label %259 259: ; preds = %207, %178, %156, %117, %86, %55, %24, %200, %171, %135, %108, %77, %46, %15, %3, %225, %229, %196, %167, %104, %73, %42, %11 %260 = phi i32 [ 0, %3 ], [ %258, %229 ], [ 0, %225 ], [ 0, %196 ], [ 0, %167 ], [ 0, %104 ], [ 0, %73 ], [ 0, %42 ], [ 0, %11 ], [ 0, %15 ], [ 0, %46 ], [ 0, %77 ], [ 0, %108 ], [ 0, %135 ], [ %172, %171 ], [ %201, %200 ], [ %37, %24 ], [ %68, %55 ], [ %99, %86 ], [ %130, %117 ], [ %162, %156 ], [ %191, %178 ], [ %220, %207 ] ret i32 %260 } declare i32 @smum_send_msg_to_smc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smum_get_argument(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @smum_send_msg_to_smc_with_parameter(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 16} !6 = !{!"pp_hwmgr", !7, i64 0, !9, i64 8, !12, i64 16} !7 = !{!"TYPE_23__", !8, i64 0} !8 = !{!"TYPE_22__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !9, i64 68} !14 = !{!"vega10_hwmgr", !15, i64 0, !17, i64 40, !20, i64 56, !21, i64 72} !15 = !{!"TYPE_24__", !9, i64 0, !9, i64 4, !16, i64 8, !16, i64 24} !16 = !{!"vega10_odn_clock_voltage_dependency_table", !9, i64 0, !12, i64 8} !17 = !{!"TYPE_21__", !18, i64 0, !19, i64 8} !18 = !{!"TYPE_20__", !12, i64 0} !19 = !{!"TYPE_18__", !12, i64 0} !20 = !{!"TYPE_14__", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12} !21 = !{!"TYPE_13__", !22, i64 0, !23, i64 16, !23, i64 32, !23, i64 48, !23, i64 64} !22 = !{!"vega10_pcie_table", !9, i64 0, !12, i64 8} !23 = !{!"vega10_single_dpm_table", !9, i64 0, !12, i64 8} !24 = !{!9, !9, i64 0} !25 = !{!23, !9, i64 0} !26 = !{!23, !12, i64 8} !27 = !{!28, !9, i64 0} !28 = !{!"TYPE_15__", !9, i64 0} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!14, !9, i64 64} !32 = distinct !{!32, !30} !33 = !{!14, !9, i64 60} !34 = distinct !{!34, !30} !35 = !{!14, !9, i64 56} !36 = distinct !{!36, !30} !37 = !{!22, !9, i64 0} !38 = !{!22, !12, i64 8} !39 = distinct !{!39, !30} !40 = !{!6, !9, i64 8} !41 = !{!16, !9, i64 0} !42 = !{!16, !12, i64 8} !43 = !{!44, !9, i64 0} !44 = !{!"TYPE_16__", !9, i64 0, !9, i64 4} !45 = !{!44, !9, i64 4} !46 = distinct !{!46, !30} !47 = distinct !{!47, !30} !48 = !{!14, !12, i64 48} !49 = !{!50, !9, i64 0} !50 = !{!"TYPE_17__", !9, i64 0} !51 = !{!6, !9, i64 0} !52 = !{!14, !12, i64 40} !53 = !{!54, !9, i64 0} !54 = !{!"TYPE_19__", !9, i64 0} !55 = !{!6, !9, i64 4} !56 = !{!14, !9, i64 0} !57 = !{!14, !9, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_print_clock_levels.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_print_clock_levels.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_15__ = type { i32 } %struct.TYPE_16__ = type { i32, i32 } @PPSMC_MSG_GetCurrentGfxclkIndex = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"%d: %uMhz %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @PPSMC_MSG_GetCurrentUclkIndex = common local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetCurrentSocclkIndex = common local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetClockFreqMHz = common local_unnamed_addr global i32 0, align 4 @CLK_DCEFCLK = common local_unnamed_addr global i32 0, align 4 @PPSMC_MSG_GetCurrentLinkIndex = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"%d: %s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"2.5GT/s, x1\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"5.0GT/s, x16\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"8.0GT/s, x16\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"OD_SCLK\00", align 1 @.str.9 = private unnamed_addr constant [20 x i8] c"%d: %10uMhz %10umV\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"OD_MCLK\00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c"OD_RANGE\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"SCLK: %7uMHz %10uMHz\0A\00", align 1 @.str.13 = private unnamed_addr constant [22 x i8] c"MCLK: %7uMHz %10uMHz\0A\00", align 1 @.str.14 = private unnamed_addr constant [20 x i8] c"VDDC: %7umV %11umV\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vega10_print_clock_levels], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vega10_print_clock_levels(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 72 %7 = getelementptr inbounds i8, ptr %5, i64 136 %8 = getelementptr inbounds i8, ptr %5, i64 120 %9 = getelementptr inbounds i8, ptr %5, i64 104 %10 = getelementptr inbounds i8, ptr %5, i64 88 switch i32 %1, label %259 [ i32 129, label %11 i32 131, label %42 i32 128, label %73 i32 132, label %104 i32 130, label %135 i32 133, label %167 i32 135, label %196 i32 134, label %225 ] 11: ; preds = %3 %12 = getelementptr inbounds i8, ptr %5, i64 68 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %259 15: ; preds = %11 %16 = load i32, ptr @PPSMC_MSG_GetCurrentGfxclkIndex, align 4, !tbaa !25 %17 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %16) #3 %18 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %19 = load i32, ptr %7, align 8, !tbaa !26 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %259 21: ; preds = %15 %22 = getelementptr inbounds i8, ptr %5, i64 144 %23 = zext i32 %18 to i64 br label %24 24: ; preds = %21, %24 %25 = phi i64 [ 0, %21 ], [ %38, %24 ] %26 = phi i32 [ 0, %21 ], [ %37, %24 ] %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %2, i64 %27 %29 = load ptr, ptr %22, align 8, !tbaa !27 %30 = getelementptr inbounds %struct.TYPE_15__, ptr %29, i64 %25 %31 = load i32, ptr %30, align 4, !tbaa !28 %32 = sdiv i32 %31, 100 %33 = icmp eq i64 %25, %23 %34 = select i1 %33, ptr @.str.1, ptr @.str.2 %35 = trunc nuw nsw i64 %25 to i32 %36 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %28, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %35, i32 noundef %32, ptr noundef nonnull %34) %37 = add nsw i32 %36, %26 %38 = add nuw nsw i64 %25, 1 %39 = load i32, ptr %7, align 8, !tbaa !26 %40 = sext i32 %39 to i64 %41 = icmp slt i64 %38, %40 br i1 %41, label %24, label %259, !llvm.loop !30 42: ; preds = %3 %43 = getelementptr inbounds i8, ptr %5, i64 64 %44 = load i32, ptr %43, align 8, !tbaa !32 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %259 46: ; preds = %42 %47 = load i32, ptr @PPSMC_MSG_GetCurrentUclkIndex, align 4, !tbaa !25 %48 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %47) #3 %49 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %50 = load i32, ptr %8, align 8, !tbaa !26 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %259 52: ; preds = %46 %53 = getelementptr inbounds i8, ptr %5, i64 128 %54 = zext i32 %49 to i64 br label %55 55: ; preds = %52, %55 %56 = phi i64 [ 0, %52 ], [ %69, %55 ] %57 = phi i32 [ 0, %52 ], [ %68, %55 ] %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %2, i64 %58 %60 = load ptr, ptr %53, align 8, !tbaa !27 %61 = getelementptr inbounds %struct.TYPE_15__, ptr %60, i64 %56 %62 = load i32, ptr %61, align 4, !tbaa !28 %63 = sdiv i32 %62, 100 %64 = icmp eq i64 %56, %54 %65 = select i1 %64, ptr @.str.1, ptr @.str.2 %66 = trunc nuw nsw i64 %56 to i32 %67 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %66, i32 noundef %63, ptr noundef nonnull %65) %68 = add nsw i32 %67, %57 %69 = add nuw nsw i64 %56, 1 %70 = load i32, ptr %8, align 8, !tbaa !26 %71 = sext i32 %70 to i64 %72 = icmp slt i64 %69, %71 br i1 %72, label %55, label %259, !llvm.loop !33 73: ; preds = %3 %74 = getelementptr inbounds i8, ptr %5, i64 60 %75 = load i32, ptr %74, align 4, !tbaa !34 %76 = icmp eq i32 %75, 0 br i1 %76, label %77, label %259 77: ; preds = %73 %78 = load i32, ptr @PPSMC_MSG_GetCurrentSocclkIndex, align 4, !tbaa !25 %79 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %78) #3 %80 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %81 = load i32, ptr %9, align 8, !tbaa !26 %82 = icmp sgt i32 %81, 0 br i1 %82, label %83, label %259 83: ; preds = %77 %84 = getelementptr inbounds i8, ptr %5, i64 112 %85 = zext i32 %80 to i64 br label %86 86: ; preds = %83, %86 %87 = phi i64 [ 0, %83 ], [ %100, %86 ] %88 = phi i32 [ 0, %83 ], [ %99, %86 ] %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %2, i64 %89 %91 = load ptr, ptr %84, align 8, !tbaa !27 %92 = getelementptr inbounds %struct.TYPE_15__, ptr %91, i64 %87 %93 = load i32, ptr %92, align 4, !tbaa !28 %94 = sdiv i32 %93, 100 %95 = icmp eq i64 %87, %85 %96 = select i1 %95, ptr @.str.1, ptr @.str.2 %97 = trunc nuw nsw i64 %87 to i32 %98 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %90, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %97, i32 noundef %94, ptr noundef nonnull %96) %99 = add nsw i32 %98, %88 %100 = add nuw nsw i64 %87, 1 %101 = load i32, ptr %9, align 8, !tbaa !26 %102 = sext i32 %101 to i64 %103 = icmp slt i64 %100, %102 br i1 %103, label %86, label %259, !llvm.loop !35 104: ; preds = %3 %105 = getelementptr inbounds i8, ptr %5, i64 56 %106 = load i32, ptr %105, align 8, !tbaa !36 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %259 108: ; preds = %104 %109 = load i32, ptr @PPSMC_MSG_GetClockFreqMHz, align 4, !tbaa !25 %110 = load i32, ptr @CLK_DCEFCLK, align 4, !tbaa !25 %111 = tail call i32 @smum_send_msg_to_smc_with_parameter(ptr noundef nonnull %0, i32 noundef %109, i32 noundef %110) #3 %112 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %113 = load i32, ptr %10, align 8, !tbaa !26 %114 = icmp sgt i32 %113, 0 br i1 %114, label %115, label %259 115: ; preds = %108 %116 = getelementptr inbounds i8, ptr %5, i64 96 br label %117 117: ; preds = %115, %117 %118 = phi i64 [ 0, %115 ], [ %131, %117 ] %119 = phi i32 [ 0, %115 ], [ %130, %117 ] %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %2, i64 %120 %122 = load ptr, ptr %116, align 8, !tbaa !27 %123 = getelementptr inbounds %struct.TYPE_15__, ptr %122, i64 %118 %124 = load i32, ptr %123, align 4, !tbaa !28 %125 = sdiv i32 %124, 100 %126 = icmp eq i32 %125, %112 %127 = select i1 %126, ptr @.str.1, ptr @.str.2 %128 = trunc nuw nsw i64 %118 to i32 %129 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %121, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %128, i32 noundef %125, ptr noundef nonnull %127) %130 = add nsw i32 %129, %119 %131 = add nuw nsw i64 %118, 1 %132 = load i32, ptr %10, align 8, !tbaa !26 %133 = sext i32 %132 to i64 %134 = icmp slt i64 %131, %133 br i1 %134, label %117, label %259, !llvm.loop !37 135: ; preds = %3 %136 = load i32, ptr @PPSMC_MSG_GetCurrentLinkIndex, align 4, !tbaa !25 %137 = tail call i32 @smum_send_msg_to_smc(ptr noundef nonnull %0, i32 noundef %136) #3 %138 = tail call i32 @smum_get_argument(ptr noundef nonnull %0) #3 %139 = load i32, ptr %6, align 8, !tbaa !38 %140 = icmp sgt i32 %139, 0 br i1 %140, label %141, label %259 141: ; preds = %135 %142 = getelementptr inbounds i8, ptr %5, i64 80 %143 = zext i32 %138 to i64 br label %144 144: ; preds = %141, %156 %145 = phi i64 [ 0, %141 ], [ %163, %156 ] %146 = phi i32 [ 0, %141 ], [ %162, %156 ] %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %2, i64 %147 %149 = load ptr, ptr %142, align 8, !tbaa !39 %150 = getelementptr inbounds i32, ptr %149, i64 %145 %151 = load i32, ptr %150, align 4, !tbaa !25 switch i32 %151, label %152 [ i32 0, label %156 i32 1, label %155 ] 152: ; preds = %144 %153 = icmp eq i32 %151, 2 %154 = select i1 %153, ptr @.str.6, ptr @.str.2 br label %156 155: ; preds = %144 br label %156 156: ; preds = %144, %155, %152 %157 = phi ptr [ @.str.4, %144 ], [ %154, %152 ], [ @.str.5, %155 ] %158 = icmp eq i64 %145, %143 %159 = select i1 %158, ptr @.str.1, ptr @.str.2 %160 = trunc nuw nsw i64 %145 to i32 %161 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %148, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %160, ptr noundef nonnull %157, ptr noundef nonnull %159) %162 = add nsw i32 %161, %146 %163 = add nuw nsw i64 %145, 1 %164 = load i32, ptr %6, align 8, !tbaa !38 %165 = sext i32 %164 to i64 %166 = icmp slt i64 %163, %165 br i1 %166, label %144, label %259, !llvm.loop !40 167: ; preds = %3 %168 = getelementptr inbounds i8, ptr %0, i64 8 %169 = load i32, ptr %168, align 8, !tbaa !41 %170 = icmp eq i32 %169, 0 br i1 %170, label %259, label %171 171: ; preds = %167 %172 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.8) %173 = getelementptr inbounds i8, ptr %5, i64 24 %174 = load i32, ptr %173, align 8, !tbaa !42 %175 = icmp sgt i32 %174, 0 br i1 %175, label %176, label %259 176: ; preds = %171 %177 = getelementptr inbounds i8, ptr %5, i64 32 br label %178 178: ; preds = %176, %178 %179 = phi i64 [ 0, %176 ], [ %192, %178 ] %180 = phi i32 [ %172, %176 ], [ %191, %178 ] %181 = sext i32 %180 to i64 %182 = getelementptr inbounds i8, ptr %2, i64 %181 %183 = load ptr, ptr %177, align 8, !tbaa !43 %184 = getelementptr inbounds %struct.TYPE_16__, ptr %183, i64 %179 %185 = load i32, ptr %184, align 4, !tbaa !44 %186 = sdiv i32 %185, 100 %187 = getelementptr inbounds i8, ptr %184, i64 4 %188 = load i32, ptr %187, align 4, !tbaa !46 %189 = trunc nuw nsw i64 %179 to i32 %190 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %182, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %189, i32 noundef %186, i32 noundef %188) %191 = add nsw i32 %190, %180 %192 = add nuw nsw i64 %179, 1 %193 = load i32, ptr %173, align 8, !tbaa !42 %194 = sext i32 %193 to i64 %195 = icmp slt i64 %192, %194 br i1 %195, label %178, label %259, !llvm.loop !47 196: ; preds = %3 %197 = getelementptr inbounds i8, ptr %0, i64 8 %198 = load i32, ptr %197, align 8, !tbaa !41 %199 = icmp eq i32 %198, 0 br i1 %199, label %259, label %200 200: ; preds = %196 %201 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.10) %202 = getelementptr inbounds i8, ptr %5, i64 8 %203 = load i32, ptr %202, align 8, !tbaa !42 %204 = icmp sgt i32 %203, 0 br i1 %204, label %205, label %259 205: ; preds = %200 %206 = getelementptr inbounds i8, ptr %5, i64 16 br label %207 207: ; preds = %205, %207 %208 = phi i64 [ 0, %205 ], [ %221, %207 ] %209 = phi i32 [ %201, %205 ], [ %220, %207 ] %210 = sext i32 %209 to i64 %211 = getelementptr inbounds i8, ptr %2, i64 %210 %212 = load ptr, ptr %206, align 8, !tbaa !43 %213 = getelementptr inbounds %struct.TYPE_16__, ptr %212, i64 %208 %214 = load i32, ptr %213, align 4, !tbaa !44 %215 = sdiv i32 %214, 100 %216 = getelementptr inbounds i8, ptr %213, i64 4 %217 = load i32, ptr %216, align 4, !tbaa !46 %218 = trunc nuw nsw i64 %208 to i32 %219 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %211, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %218, i32 noundef %215, i32 noundef %217) %220 = add nsw i32 %219, %209 %221 = add nuw nsw i64 %208, 1 %222 = load i32, ptr %202, align 8, !tbaa !42 %223 = sext i32 %222 to i64 %224 = icmp slt i64 %221, %223 br i1 %224, label %207, label %259, !llvm.loop !48 225: ; preds = %3 %226 = getelementptr inbounds i8, ptr %0, i64 8 %227 = load i32, ptr %226, align 8, !tbaa !41 %228 = icmp eq i32 %227, 0 br i1 %228, label %259, label %229 229: ; preds = %225 %230 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @.str.11) %231 = sext i32 %230 to i64 %232 = getelementptr inbounds i8, ptr %2, i64 %231 %233 = getelementptr inbounds i8, ptr %5, i64 40 %234 = getelementptr inbounds i8, ptr %5, i64 48 %235 = load ptr, ptr %234, align 8, !tbaa !49 %236 = load i32, ptr %235, align 4, !tbaa !50 %237 = sdiv i32 %236, 100 %238 = load i32, ptr %0, align 8, !tbaa !52 %239 = sdiv i32 %238, 100 %240 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %232, ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %237, i32 noundef %239) %241 = add nsw i32 %240, %230 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i8, ptr %2, i64 %242 %244 = load ptr, ptr %233, align 8, !tbaa !53 %245 = load i32, ptr %244, align 4, !tbaa !54 %246 = sdiv i32 %245, 100 %247 = getelementptr inbounds i8, ptr %0, i64 4 %248 = load i32, ptr %247, align 4, !tbaa !56 %249 = sdiv i32 %248, 100 %250 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %243, ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %246, i32 noundef %249) %251 = add nsw i32 %250, %241 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds i8, ptr %2, i64 %252 %254 = load i32, ptr %5, align 8, !tbaa !57 %255 = getelementptr inbounds i8, ptr %5, i64 4 %256 = load i32, ptr %255, align 4, !tbaa !58 %257 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %253, ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %254, i32 noundef %256) %258 = add nsw i32 %257, %251 br label %259 259: ; preds = %207, %178, %156, %117, %86, %55, %24, %200, %171, %135, %108, %77, %46, %15, %3, %225, %229, %196, %167, %104, %73, %42, %11 %260 = phi i32 [ 0, %3 ], [ %258, %229 ], [ 0, %225 ], [ 0, %196 ], [ 0, %167 ], [ 0, %104 ], [ 0, %73 ], [ 0, %42 ], [ 0, %11 ], [ 0, %15 ], [ 0, %46 ], [ 0, %77 ], [ 0, %108 ], [ 0, %135 ], [ %172, %171 ], [ %201, %200 ], [ %37, %24 ], [ %68, %55 ], [ %99, %86 ], [ %130, %117 ], [ %162, %156 ], [ %191, %178 ], [ %220, %207 ] ret i32 %260 } declare i32 @smum_send_msg_to_smc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @smum_get_argument(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare i32 @smum_send_msg_to_smc_with_parameter(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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 16} !7 = !{!"pp_hwmgr", !8, i64 0, !10, i64 8, !13, i64 16} !8 = !{!"TYPE_23__", !9, i64 0} !9 = !{!"TYPE_22__", !10, i64 0, !10, i64 4} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!15, !10, i64 68} !15 = !{!"vega10_hwmgr", !16, i64 0, !18, i64 40, !21, i64 56, !22, i64 72} !16 = !{!"TYPE_24__", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 24} !17 = !{!"vega10_odn_clock_voltage_dependency_table", !10, i64 0, !13, i64 8} !18 = !{!"TYPE_21__", !19, i64 0, !20, i64 8} !19 = !{!"TYPE_20__", !13, i64 0} !20 = !{!"TYPE_18__", !13, i64 0} !21 = !{!"TYPE_14__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12} !22 = !{!"TYPE_13__", !23, i64 0, !24, i64 16, !24, i64 32, !24, i64 48, !24, i64 64} !23 = !{!"vega10_pcie_table", !10, i64 0, !13, i64 8} !24 = !{!"vega10_single_dpm_table", !10, i64 0, !13, i64 8} !25 = !{!10, !10, i64 0} !26 = !{!24, !10, i64 0} !27 = !{!24, !13, i64 8} !28 = !{!29, !10, i64 0} !29 = !{!"TYPE_15__", !10, i64 0} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"} !32 = !{!15, !10, i64 64} !33 = distinct !{!33, !31} !34 = !{!15, !10, i64 60} !35 = distinct !{!35, !31} !36 = !{!15, !10, i64 56} !37 = distinct !{!37, !31} !38 = !{!23, !10, i64 0} !39 = !{!23, !13, i64 8} !40 = distinct !{!40, !31} !41 = !{!7, !10, i64 8} !42 = !{!17, !10, i64 0} !43 = !{!17, !13, i64 8} !44 = !{!45, !10, i64 0} !45 = !{!"TYPE_16__", !10, i64 0, !10, i64 4} !46 = !{!45, !10, i64 4} !47 = distinct !{!47, !31} !48 = distinct !{!48, !31} !49 = !{!15, !13, i64 48} !50 = !{!51, !10, i64 0} !51 = !{!"TYPE_17__", !10, i64 0} !52 = !{!7, !10, i64 0} !53 = !{!15, !13, i64 40} !54 = !{!55, !10, i64 0} !55 = !{!"TYPE_19__", !10, i64 0} !56 = !{!7, !10, i64 4} !57 = !{!15, !10, i64 0} !58 = !{!15, !10, i64 4}
linux_drivers_gpu_drm_amd_powerplay_hwmgr_extr_vega10_hwmgr.c_vega10_print_clock_levels
; ModuleID = 'AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_put_active.c' source_filename = "AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_put_active.c" target datalayout = "e-m:e-p270:32:32-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.gb_operation = type { i64, i32, i32, ptr } @gb_operation_cancellation_queue = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gb_operation_put_active], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gb_operation_put_active(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.gb_operation, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = tail call i32 @trace_gb_operation_put_active(ptr noundef %0) #2 %6 = load i64, ptr %0, align 8, !tbaa !12 %7 = add nsw i64 %6, -1 store i64 %7, ptr %0, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %1 %10 = getelementptr inbounds %struct.gb_operation, ptr %0, i64 0, i32 2 %11 = tail call i32 @list_del(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds %struct.gb_operation, ptr %0, i64 0, i32 1 %13 = tail call i64 @atomic_read(ptr noundef nonnull %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %9 %16 = tail call i32 @wake_up(ptr noundef nonnull @gb_operation_cancellation_queue) #2 br label %17 17: ; preds = %9, %15, %1 %18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace_gb_operation_put_active(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(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, !11, i64 16} !6 = !{!"gb_operation", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_put_active.c' source_filename = "AnghaBench/linux/drivers/greybus/extr_operation.c_gb_operation_put_active.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gb_operation_cancellation_queue = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gb_operation_put_active], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gb_operation_put_active(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = tail call i32 @trace_gb_operation_put_active(ptr noundef %0) #2 %6 = load i64, ptr %0, align 8, !tbaa !13 %7 = add nsw i64 %6, -1 store i64 %7, ptr %0, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 12 %11 = tail call i32 @list_del(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = tail call i64 @atomic_read(ptr noundef nonnull %12) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %9 %16 = tail call i32 @wake_up(ptr noundef nonnull @gb_operation_cancellation_queue) #2 br label %17 17: ; preds = %9, %15, %1 %18 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace_gb_operation_put_active(ptr noundef) local_unnamed_addr #1 declare i32 @list_del(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up(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, !12, i64 16} !7 = !{!"gb_operation", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0}
linux_drivers_greybus_extr_operation.c_gb_operation_put_active
; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_romanian.c_r_R1.c' source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_romanian.c_r_R1.c" target datalayout = "e-m:e-p270:32:32-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.SN_env = type { ptr, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @r_R1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @r_R1(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds i64, ptr %2, i64 1 %4 = load i64, ptr %3, align 8, !tbaa !11 %5 = getelementptr inbounds %struct.SN_env, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = icmp sle i64 %4, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"SN_env", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_romanian.c_r_R1.c' source_filename = "AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_UTF_8_romanian.c_r_R1.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 @r_R1], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @r_R1(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = icmp sle i64 %4, %6 %8 = zext i1 %7 to i32 ret i32 %8 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"SN_env", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 8}
postgres_src_backend_snowball_libstemmer_extr_stem_UTF_8_romanian.c_r_R1
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_ctrl_iface.c_hostapd_interfaces_get_hapd.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_ctrl_iface.c_hostapd_interfaces_get_hapd.c" target datalayout = "e-m:e-p270:32:32-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.hapd_interfaces = type { i64, ptr } %struct.hostapd_iface = type { i64, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @hostapd_interfaces_get_hapd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @hostapd_interfaces_get_hapd(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %36, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.hapd_interfaces, ptr %0, i64 0, i32 1 br label %7 7: ; preds = %5, %32 %8 = phi i64 [ %3, %5 ], [ %33, %32 ] %9 = phi i64 [ 0, %5 ], [ %34, %32 ] %10 = load ptr, ptr %6, align 8, !tbaa !11 %11 = getelementptr inbounds ptr, ptr %10, i64 %9 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %32, label %15 15: ; preds = %7 %16 = getelementptr inbounds %struct.hostapd_iface, ptr %12, i64 0, i32 1 br label %21 17: ; preds = %21 %18 = add nuw i64 %22, 1 %19 = load i64, ptr %12, align 8, !tbaa !13 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %30, !llvm.loop !15 21: ; preds = %15, %17 %22 = phi i64 [ 0, %15 ], [ %18, %17 ] %23 = load ptr, ptr %16, align 8, !tbaa !17 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !12 %26 = load ptr, ptr %25, align 8, !tbaa !18 %27 = load i32, ptr %26, align 4, !tbaa !20 %28 = tail call i64 @os_strcmp(ptr noundef %1, i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %36, label %17 30: ; preds = %17 %31 = load i64, ptr %0, align 8, !tbaa !5 br label %32 32: ; preds = %30, %7 %33 = phi i64 [ %31, %30 ], [ %8, %7 ] %34 = add nuw i64 %9, 1 %35 = icmp ult i64 %34, %33 br i1 %35, label %7, label %36, !llvm.loop !23 36: ; preds = %32, %21, %2 %37 = phi ptr [ null, %2 ], [ %25, %21 ], [ null, %32 ] ret ptr %37 } declare i64 @os_strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hapd_interfaces", !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 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"hostapd_iface", !7, i64 0, !10, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!14, !10, i64 8} !18 = !{!19, !10, i64 0} !19 = !{!"hostapd_data", !10, i64 0} !20 = !{!21, !22, i64 0} !21 = !{!"TYPE_2__", !22, i64 0} !22 = !{!"int", !8, i64 0} !23 = distinct !{!23, !16}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/hostapd/extr_ctrl_iface.c_hostapd_interfaces_get_hapd.c' source_filename = "AnghaBench/freebsd/contrib/wpa/hostapd/extr_ctrl_iface.c_hostapd_interfaces_get_hapd.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_interfaces_get_hapd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @hostapd_interfaces_get_hapd(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %36, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 br label %7 7: ; preds = %5, %32 %8 = phi i64 [ %3, %5 ], [ %33, %32 ] %9 = phi i64 [ 0, %5 ], [ %34, %32 ] %10 = load ptr, ptr %6, align 8, !tbaa !12 %11 = getelementptr inbounds ptr, ptr %10, i64 %9 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %32, label %15 15: ; preds = %7 %16 = getelementptr inbounds i8, ptr %12, i64 8 br label %21 17: ; preds = %21 %18 = add nuw i64 %22, 1 %19 = load i64, ptr %12, align 8, !tbaa !14 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %30, !llvm.loop !16 21: ; preds = %15, %17 %22 = phi i64 [ 0, %15 ], [ %18, %17 ] %23 = load ptr, ptr %16, align 8, !tbaa !18 %24 = getelementptr inbounds ptr, ptr %23, i64 %22 %25 = load ptr, ptr %24, align 8, !tbaa !13 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = load i32, ptr %26, align 4, !tbaa !21 %28 = tail call i64 @os_strcmp(ptr noundef %1, i32 noundef %27) #2 %29 = icmp eq i64 %28, 0 br i1 %29, label %36, label %17 30: ; preds = %17 %31 = load i64, ptr %0, align 8, !tbaa !6 br label %32 32: ; preds = %30, %7 %33 = phi i64 [ %31, %30 ], [ %8, %7 ] %34 = add nuw i64 %9, 1 %35 = icmp ult i64 %34, %33 br i1 %35, label %7, label %36, !llvm.loop !24 36: ; preds = %32, %21, %2 %37 = phi ptr [ null, %2 ], [ %25, %21 ], [ null, %32 ] ret ptr %37 } declare i64 @os_strcmp(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hapd_interfaces", !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 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"hostapd_iface", !8, i64 0, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!15, !11, i64 8} !19 = !{!20, !11, i64 0} !20 = !{!"hostapd_data", !11, i64 0} !21 = !{!22, !23, i64 0} !22 = !{!"TYPE_2__", !23, i64 0} !23 = !{!"int", !9, i64 0} !24 = distinct !{!24, !17}
freebsd_contrib_wpa_hostapd_extr_ctrl_iface.c_hostapd_interfaces_get_hapd
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..coresdynamic_dummy.c_libretro_dummy_retro_set_input_poll.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..coresdynamic_dummy.c_libretro_dummy_retro_set_input_poll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dummy_input_poll_cb = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @libretro_dummy_retro_set_input_poll(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @dummy_input_poll_cb, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..coresdynamic_dummy.c_libretro_dummy_retro_set_input_poll.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..coresdynamic_dummy.c_libretro_dummy_retro_set_input_poll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dummy_input_poll_cb = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @libretro_dummy_retro_set_input_poll(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @dummy_input_poll_cb, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_griffin_extr_..coresdynamic_dummy.c_libretro_dummy_retro_set_input_poll
; ModuleID = 'AnghaBench/linux/block/extr_blk-sysfs.c_queue_nomerges_show.c' source_filename = "AnghaBench/linux/block/extr_blk-sysfs.c_queue_nomerges_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @queue_nomerges_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @queue_nomerges_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @blk_queue_nomerges(ptr noundef %0) #2 %4 = shl i32 %3, 1 %5 = tail call i32 @blk_queue_noxmerges(ptr noundef %0) #2 %6 = or i32 %4, %5 %7 = tail call i32 @queue_var_show(i32 noundef %6, ptr noundef %1) #2 ret i32 %7 } declare i32 @queue_var_show(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_queue_nomerges(ptr noundef) local_unnamed_addr #1 declare i32 @blk_queue_noxmerges(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/block/extr_blk-sysfs.c_queue_nomerges_show.c' source_filename = "AnghaBench/linux/block/extr_blk-sysfs.c_queue_nomerges_show.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 @queue_nomerges_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @queue_nomerges_show(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @blk_queue_nomerges(ptr noundef %0) #2 %4 = shl i32 %3, 1 %5 = tail call i32 @blk_queue_noxmerges(ptr noundef %0) #2 %6 = or i32 %4, %5 %7 = tail call i32 @queue_var_show(i32 noundef %6, ptr noundef %1) #2 ret i32 %7 } declare i32 @queue_var_show(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @blk_queue_nomerges(ptr noundef) local_unnamed_addr #1 declare i32 @blk_queue_noxmerges(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_block_extr_blk-sysfs.c_queue_nomerges_show
; ModuleID = 'AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_mapping0.c_mapping0_free_info.c' source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_mapping0.c_mapping0_free_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mapping0_free_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mapping0_free_info(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 4) #2 %5 = tail call i32 @_ogg_free(ptr noundef nonnull %0) #2 br label %6 6: ; preds = %3, %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_ogg_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)"}
; ModuleID = 'AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_mapping0.c_mapping0_free_info.c' source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_mapping0.c_mapping0_free_info.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 @mapping0_free_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mapping0_free_info(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = tail call i32 @memset(ptr noundef nonnull %0, i32 noundef 0, i32 noundef 4) #2 %5 = tail call i32 @_ogg_free(ptr noundef nonnull %0) #2 br label %6 6: ; preds = %3, %1 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_ogg_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)"}
Provenance_Cores_Mednafen_mednafen-1.21_src_tremor_extr_mapping0.c_mapping0_free_info
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_nhi_ops.c_icl_nhi_resume.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_nhi_ops.c_icl_nhi_resume.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @icl_nhi_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @icl_nhi_resume(ptr noundef %0) #0 { %2 = tail call i32 @icl_nhi_force_power(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @icl_nhi_set_ltr(ptr noundef %0) #2 br label %6 6: ; preds = %1, %4 ret i32 %2 } declare i32 @icl_nhi_force_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @icl_nhi_set_ltr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_nhi_ops.c_icl_nhi_resume.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_nhi_ops.c_icl_nhi_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @icl_nhi_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @icl_nhi_resume(ptr noundef %0) #0 { %2 = tail call i32 @icl_nhi_force_power(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @icl_nhi_set_ltr(ptr noundef %0) #2 br label %6 6: ; preds = %1, %4 ret i32 %2 } declare i32 @icl_nhi_force_power(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @icl_nhi_set_ltr(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_thunderbolt_extr_nhi_ops.c_icl_nhi_resume
; ModuleID = 'AnghaBench/freebsd/stand/kshim/extr_bsd_kernel.c_device_set_ivars.c' source_filename = "AnghaBench/freebsd/stand/kshim/extr_bsd_kernel.c_device_set_ivars.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define dso_local void @device_set_ivars(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !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 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/stand/kshim/extr_bsd_kernel.c_device_set_ivars.c' source_filename = "AnghaBench/freebsd/stand/kshim/extr_bsd_kernel.c_device_set_ivars.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define void @device_set_ivars(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 { store ptr %1, ptr %0, align 8, !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 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_stand_kshim_extr_bsd_kernel.c_device_set_ivars
; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_BspFaceForPortal.c' source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_BspFaceForPortal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { ptr, i32 } %struct.TYPE_9__ = type { i32, i32 } ; Function Attrs: nounwind uwtable define dso_local ptr @BspFaceForPortal(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call ptr (...) @AllocBspFace() #2 %3 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @CopyWinding(i32 noundef %4) #2 %6 = getelementptr inbounds %struct.TYPE_9__, ptr %2, i64 0, i32 1 store i32 %5, ptr %6, align 4, !tbaa !11 %7 = load ptr, ptr %0, align 8, !tbaa !13 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = and i32 %8, -2 store i32 %9, ptr %2, align 4, !tbaa !16 ret ptr %2 } declare ptr @AllocBspFace(...) local_unnamed_addr #1 declare i32 @CopyWinding(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"TYPE_9__", !10, i64 0, !10, i64 4} !13 = !{!6, !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_7__", !10, i64 0} !16 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_BspFaceForPortal.c' source_filename = "AnghaBench/Quake-III-Arena/q3map/extr_facebsp.c_BspFaceForPortal.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 @BspFaceForPortal(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = tail call ptr @AllocBspFace() #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @CopyWinding(i32 noundef %4) #2 %6 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %5, ptr %6, align 4, !tbaa !12 %7 = load ptr, ptr %0, align 8, !tbaa !14 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = and i32 %8, -2 store i32 %9, ptr %2, align 4, !tbaa !17 ret ptr %2 } declare ptr @AllocBspFace(...) local_unnamed_addr #1 declare i32 @CopyWinding(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"TYPE_9__", !11, i64 0, !11, i64 4} !14 = !{!7, !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_7__", !11, i64 0} !17 = !{!13, !11, i64 0}
Quake-III-Arena_q3map_extr_facebsp.c_BspFaceForPortal
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_ipaddress.c_create_ipaddress_control.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_ipaddress.c_create_ipaddress_control.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WC_IPADDRESSA = dso_local local_unnamed_addr global i32 0, align 4 @WS_BORDER = dso_local local_unnamed_addr global i32 0, align 4 @WS_VISIBLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_ipaddress_control], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @create_ipaddress_control() #0 { %1 = load i32, ptr @WC_IPADDRESSA, align 4, !tbaa !5 %2 = load i32, ptr @WS_BORDER, align 4, !tbaa !5 %3 = load i32, ptr @WS_VISIBLE, align 4, !tbaa !5 %4 = or i32 %3, %2 %5 = tail call i32 @CreateWindowExA(i32 noundef 0, i32 noundef %1, ptr noundef null, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2 ret i32 %5 } declare i32 @CreateWindowExA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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/reactos/modules/rostests/winetests/comctl32/extr_ipaddress.c_create_ipaddress_control.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/comctl32/extr_ipaddress.c_create_ipaddress_control.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WC_IPADDRESSA = common local_unnamed_addr global i32 0, align 4 @WS_BORDER = common local_unnamed_addr global i32 0, align 4 @WS_VISIBLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @create_ipaddress_control], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @create_ipaddress_control() #0 { %1 = load i32, ptr @WC_IPADDRESSA, align 4, !tbaa !6 %2 = load i32, ptr @WS_BORDER, align 4, !tbaa !6 %3 = load i32, ptr @WS_VISIBLE, align 4, !tbaa !6 %4 = or i32 %3, %2 %5 = tail call i32 @CreateWindowExA(i32 noundef 0, i32 noundef %1, ptr noundef null, i32 noundef %4, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #2 ret i32 %5 } declare i32 @CreateWindowExA(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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"}
reactos_modules_rostests_winetests_comctl32_extr_ipaddress.c_create_ipaddress_control
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_describe.c_describeSubscriptions.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_describe.c_describeSubscriptions.c" target datalayout = "e-m:e-p270:32:32-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, i32, i32, i32, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32, ptr, i32, i32, ptr } %struct.TYPE_12__ = type { i32 } @pset = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @describeSubscriptions.translate_columns = internal constant [6 x i32] zeroinitializer, align 16 @.str = private unnamed_addr constant [56 x i8] c"The server (version %s) does not support subscriptions.\00", align 1 @.str.1 = private unnamed_addr constant [121 x i8] c"SELECT subname AS \22%s\22\0A, pg_catalog.pg_get_userbyid(subowner) AS \22%s\22\0A, subenabled AS \22%s\22\0A, subpublications AS \22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Name\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Owner\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"Enabled\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Publication\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c", subsynccommit AS \22%s\22\0A, subconninfo AS \22%s\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Synchronous commit\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"Conninfo\00", align 1 @.str.9 = private unnamed_addr constant [169 x i8] c"FROM pg_catalog.pg_subscription\0AWHERE subdbid = (SELECT oid\0A FROM pg_catalog.pg_database\0A WHERE datname = pg_catalog.current_database())\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"subname\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"ORDER BY 1;\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"List of subscriptions\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @describeSubscriptions(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_12__, align 4 %4 = alloca %struct.TYPE_11__, align 8 %5 = alloca [32 x i8], align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3 %6 = load i64, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @pset, i64 0, i32 4), align 8 store i64 %6, ptr %4, align 8 %7 = load i32, ptr @pset, align 8, !tbaa !5 %8 = icmp slt i32 %7, 100000 br i1 %8, label %9, label %12 9: ; preds = %2 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %10 = call i32 @formatPGVersionNumber(i32 noundef %7, i32 noundef 0, ptr noundef nonnull %5, i32 noundef 32) #3 %11 = call i32 @pg_log_error(ptr noundef nonnull @.str, i32 noundef %10) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 br label %44 12: ; preds = %2 %13 = call i32 @initPQExpBuffer(ptr noundef nonnull %3) #3 %14 = call i32 @gettext_noop(ptr noundef nonnull @.str.2) #3 %15 = call i32 @gettext_noop(ptr noundef nonnull @.str.3) #3 %16 = call i32 @gettext_noop(ptr noundef nonnull @.str.4) #3 %17 = call i32 @gettext_noop(ptr noundef nonnull @.str.5) #3 %18 = call i32 @printfPQExpBuffer(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq i32 %1, 0 br i1 %19, label %24, label %20 20: ; preds = %12 %21 = call i32 @gettext_noop(ptr noundef nonnull @.str.7) #3 %22 = call i32 @gettext_noop(ptr noundef nonnull @.str.8) #3 %23 = call i32 @appendPQExpBuffer(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %21, i32 noundef %22) #3 br label %24 24: ; preds = %20, %12 %25 = call i32 @appendPQExpBufferStr(ptr noundef nonnull %3, ptr noundef nonnull @.str.9) #3 %26 = load i32, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @pset, i64 0, i32 3), align 4, !tbaa !12 %27 = call i32 @processSQLNamePattern(i32 noundef %26, ptr noundef nonnull %3, ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef null, ptr noundef nonnull @.str.10, ptr noundef null, ptr noundef null) #3 %28 = call i32 @appendPQExpBufferStr(ptr noundef nonnull %3, ptr noundef nonnull @.str.11) #3 %29 = load i32, ptr %3, align 4, !tbaa !13 %30 = call ptr @PSQLexec(i32 noundef %29) #3 %31 = call i32 @termPQExpBuffer(ptr noundef nonnull %3) #3 %32 = icmp eq ptr %30, null br i1 %32, label %44, label %33 33: ; preds = %24 %34 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 4 store ptr null, ptr %34, align 8, !tbaa !15 %35 = call i32 @_(ptr noundef nonnull @.str.12) #3 %36 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 3 store i32 %35, ptr %36, align 4, !tbaa !16 store i32 1, ptr %4, align 8, !tbaa !17 %37 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 1 store ptr @describeSubscriptions.translate_columns, ptr %37, align 8, !tbaa !18 %38 = call i32 @lengthof(ptr noundef nonnull @describeSubscriptions.translate_columns) #3 %39 = getelementptr inbounds %struct.TYPE_11__, ptr %4, i64 0, i32 2 store i32 %38, ptr %39, align 8, !tbaa !19 %40 = load i32, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @pset, i64 0, i32 2), align 8, !tbaa !20 %41 = load i32, ptr getelementptr inbounds (%struct.TYPE_13__, ptr @pset, i64 0, i32 1), align 4, !tbaa !21 %42 = call i32 @printQuery(ptr noundef nonnull %30, ptr noundef nonnull %4, i32 noundef %40, i32 noundef 0, i32 noundef %41) #3 %43 = call i32 @PQclear(ptr noundef nonnull %30) #3 br label %44 44: ; preds = %24, %33, %9 %45 = phi i32 [ 1, %9 ], [ 1, %33 ], [ 0, %24 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %45 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pg_log_error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @formatPGVersionNumber(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @initPQExpBuffer(ptr noundef) local_unnamed_addr #2 declare i32 @printfPQExpBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gettext_noop(ptr noundef) local_unnamed_addr #2 declare i32 @appendPQExpBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @appendPQExpBufferStr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @processSQLNamePattern(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @PSQLexec(i32 noundef) local_unnamed_addr #2 declare i32 @termPQExpBuffer(ptr noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @lengthof(ptr noundef) local_unnamed_addr #2 declare i32 @printQuery(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQclear(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_13__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_11__", !7, i64 0, !11, i64 8, !7, i64 16, !7, i64 20, !11, i64 24} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 12} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_12__", !7, i64 0} !15 = !{!10, !11, i64 24} !16 = !{!10, !7, i64 20} !17 = !{!10, !7, i64 0} !18 = !{!10, !11, i64 8} !19 = !{!10, !7, i64 16} !20 = !{!6, !7, i64 8} !21 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/postgres/src/bin/psql/extr_describe.c_describeSubscriptions.c' source_filename = "AnghaBench/postgres/src/bin/psql/extr_describe.c_describeSubscriptions.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { i32, i32, i32, i32, %struct.TYPE_11__ } %struct.TYPE_11__ = type { i32, ptr, i32, i32, ptr } %struct.TYPE_12__ = type { i32 } @pset = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @describeSubscriptions.translate_columns = internal constant [6 x i32] zeroinitializer, align 4 @.str = private unnamed_addr constant [56 x i8] c"The server (version %s) does not support subscriptions.\00", align 1 @.str.1 = private unnamed_addr constant [121 x i8] c"SELECT subname AS \22%s\22\0A, pg_catalog.pg_get_userbyid(subowner) AS \22%s\22\0A, subenabled AS \22%s\22\0A, subpublications AS \22%s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Name\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Owner\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"Enabled\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"Publication\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c", subsynccommit AS \22%s\22\0A, subconninfo AS \22%s\22\0A\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Synchronous commit\00", align 1 @.str.8 = private unnamed_addr constant [9 x i8] c"Conninfo\00", align 1 @.str.9 = private unnamed_addr constant [169 x i8] c"FROM pg_catalog.pg_subscription\0AWHERE subdbid = (SELECT oid\0A FROM pg_catalog.pg_database\0A WHERE datname = pg_catalog.current_database())\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"subname\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"ORDER BY 1;\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"List of subscriptions\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @describeSubscriptions(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_12__, align 4 %4 = alloca %struct.TYPE_11__, align 8 %5 = alloca [32 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3 %6 = load i64, ptr getelementptr inbounds (i8, ptr @pset, i64 16), align 8 store i64 %6, ptr %4, align 8 %7 = load i32, ptr @pset, align 8, !tbaa !6 %8 = icmp slt i32 %7, 100000 br i1 %8, label %9, label %12 9: ; preds = %2 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %10 = call i32 @formatPGVersionNumber(i32 noundef %7, i32 noundef 0, ptr noundef nonnull %5, i32 noundef 32) #3 %11 = call i32 @pg_log_error(ptr noundef nonnull @.str, i32 noundef %10) #3 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3 br label %44 12: ; preds = %2 %13 = call i32 @initPQExpBuffer(ptr noundef nonnull %3) #3 %14 = call i32 @gettext_noop(ptr noundef nonnull @.str.2) #3 %15 = call i32 @gettext_noop(ptr noundef nonnull @.str.3) #3 %16 = call i32 @gettext_noop(ptr noundef nonnull @.str.4) #3 %17 = call i32 @gettext_noop(ptr noundef nonnull @.str.5) #3 %18 = call i32 @printfPQExpBuffer(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = icmp eq i32 %1, 0 br i1 %19, label %24, label %20 20: ; preds = %12 %21 = call i32 @gettext_noop(ptr noundef nonnull @.str.7) #3 %22 = call i32 @gettext_noop(ptr noundef nonnull @.str.8) #3 %23 = call i32 @appendPQExpBuffer(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %21, i32 noundef %22) #3 br label %24 24: ; preds = %20, %12 %25 = call i32 @appendPQExpBufferStr(ptr noundef nonnull %3, ptr noundef nonnull @.str.9) #3 %26 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 12), align 4, !tbaa !13 %27 = call i32 @processSQLNamePattern(i32 noundef %26, ptr noundef nonnull %3, ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef null, ptr noundef nonnull @.str.10, ptr noundef null, ptr noundef null) #3 %28 = call i32 @appendPQExpBufferStr(ptr noundef nonnull %3, ptr noundef nonnull @.str.11) #3 %29 = load i32, ptr %3, align 4, !tbaa !14 %30 = call ptr @PSQLexec(i32 noundef %29) #3 %31 = call i32 @termPQExpBuffer(ptr noundef nonnull %3) #3 %32 = icmp eq ptr %30, null br i1 %32, label %44, label %33 33: ; preds = %24 %34 = getelementptr inbounds i8, ptr %4, i64 24 store ptr null, ptr %34, align 8, !tbaa !16 %35 = call i32 @_(ptr noundef nonnull @.str.12) #3 %36 = getelementptr inbounds i8, ptr %4, i64 20 store i32 %35, ptr %36, align 4, !tbaa !17 store i32 1, ptr %4, align 8, !tbaa !18 %37 = getelementptr inbounds i8, ptr %4, i64 8 store ptr @describeSubscriptions.translate_columns, ptr %37, align 8, !tbaa !19 %38 = call i32 @lengthof(ptr noundef nonnull @describeSubscriptions.translate_columns) #3 %39 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %38, ptr %39, align 8, !tbaa !20 %40 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 8), align 8, !tbaa !21 %41 = load i32, ptr getelementptr inbounds (i8, ptr @pset, i64 4), align 4, !tbaa !22 %42 = call i32 @printQuery(ptr noundef nonnull %30, ptr noundef nonnull %4, i32 noundef %40, i32 noundef 0, i32 noundef %41) #3 %43 = call i32 @PQclear(ptr noundef nonnull %30) #3 br label %44 44: ; preds = %24, %33, %9 %45 = phi i32 [ 1, %9 ], [ 1, %33 ], [ 0, %24 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i32 %45 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pg_log_error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @formatPGVersionNumber(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @initPQExpBuffer(ptr noundef) local_unnamed_addr #2 declare i32 @printfPQExpBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gettext_noop(ptr noundef) local_unnamed_addr #2 declare i32 @appendPQExpBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @appendPQExpBufferStr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @processSQLNamePattern(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @PSQLexec(i32 noundef) local_unnamed_addr #2 declare i32 @termPQExpBuffer(ptr noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @lengthof(ptr noundef) local_unnamed_addr #2 declare i32 @printQuery(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PQclear(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_11__", !8, i64 0, !12, i64 8, !8, i64 16, !8, i64 20, !12, i64 24} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 12} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_12__", !8, i64 0} !16 = !{!11, !12, i64 24} !17 = !{!11, !8, i64 20} !18 = !{!11, !8, i64 0} !19 = !{!11, !12, i64 8} !20 = !{!11, !8, i64 16} !21 = !{!7, !8, i64 8} !22 = !{!7, !8, i64 4}
postgres_src_bin_psql_extr_describe.c_describeSubscriptions
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_tegra.c_hda_tegra_enable_clocks.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_tegra.c_hda_tegra_enable_clocks.c" target datalayout = "e-m:e-p270:32:32-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.hda_tegra = type { i32, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hda_tegra_enable_clocks], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hda_tegra_enable_clocks(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @clk_prepare_enable(i32 noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %1 %6 = getelementptr inbounds %struct.hda_tegra, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @clk_prepare_enable(i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %5 %11 = getelementptr inbounds %struct.hda_tegra, ptr %0, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @clk_prepare_enable(i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10 %16 = load i32, ptr %6, align 4, !tbaa !10 %17 = tail call i32 @clk_disable_unprepare(i32 noundef %16) #2 br label %18 18: ; preds = %5, %15 %19 = phi i32 [ %8, %5 ], [ %13, %15 ] %20 = load i32, ptr %0, align 4, !tbaa !5 %21 = tail call i32 @clk_disable_unprepare(i32 noundef %20) #2 br label %22 22: ; preds = %10, %1, %18 %23 = phi i32 [ %19, %18 ], [ %3, %1 ], [ 0, %10 ] ret i32 %23 } declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(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 = !{!"hda_tegra", !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 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_tegra.c_hda_tegra_enable_clocks.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_tegra.c_hda_tegra_enable_clocks.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 @hda_tegra_enable_clocks], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hda_tegra_enable_clocks(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @clk_prepare_enable(i32 noundef %2) #2 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @clk_prepare_enable(i32 noundef %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @clk_prepare_enable(i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %22, label %15 15: ; preds = %10 %16 = load i32, ptr %6, align 4, !tbaa !11 %17 = tail call i32 @clk_disable_unprepare(i32 noundef %16) #2 br label %18 18: ; preds = %5, %15 %19 = phi i32 [ %8, %5 ], [ %13, %15 ] %20 = load i32, ptr %0, align 4, !tbaa !6 %21 = tail call i32 @clk_disable_unprepare(i32 noundef %20) #2 br label %22 22: ; preds = %10, %1, %18 %23 = phi i32 [ %19, %18 ], [ %3, %1 ], [ 0, %10 ] ret i32 %23 } declare i32 @clk_prepare_enable(i32 noundef) local_unnamed_addr #1 declare i32 @clk_disable_unprepare(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 = !{!"hda_tegra", !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 = !{!7, !8, i64 8}
linux_sound_pci_hda_extr_hda_tegra.c_hda_tegra_enable_clocks
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_image.c_create_pool.c' source_filename = "AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_image.c_create_pool.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr, %struct.TYPE_3__, ptr, i32, i64 } %struct.TYPE_3__ = type { i32, i32 } @info = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @POOLSIZE = dso_local local_unnamed_addr global i32 0, align 4 @WIDTH = dso_local local_unnamed_addr global i32 0, align 4 @HEIGHT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @create_pool], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @create_pool() #0 { store i64 0, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @info, i64 0, i32 4), align 8, !tbaa !5 %1 = load i32, ptr @POOLSIZE, align 4, !tbaa !13 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %59 3: ; preds = %0 %4 = zext nneg i32 %1 to i64 %5 = and i64 %4, 3 %6 = icmp ult i32 %1, 4 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = and i64 %4, 2147483644 br label %21 9: ; preds = %21, %3 %10 = phi i64 [ 0, %3 ], [ %35, %21 ] %11 = icmp eq i64 %5, 0 br i1 %11, label %20, label %12 12: ; preds = %9, %12 %13 = phi i64 [ %17, %12 ], [ %10, %9 ] %14 = phi i64 [ %18, %12 ], [ 0, %9 ] %15 = load ptr, ptr @info, align 8, !tbaa !14 %16 = getelementptr inbounds ptr, ptr %15, i64 %13 store ptr null, ptr %16, align 8, !tbaa !15 %17 = add nuw nsw i64 %13, 1 %18 = add i64 %14, 1 %19 = icmp eq i64 %18, %5 br i1 %19, label %20, label %12, !llvm.loop !16 20: ; preds = %12, %9 br i1 %2, label %43, label %59 21: ; preds = %21, %7 %22 = phi i64 [ 0, %7 ], [ %35, %21 ] %23 = phi i64 [ 0, %7 ], [ %36, %21 ] %24 = load ptr, ptr @info, align 8, !tbaa !14 %25 = getelementptr inbounds ptr, ptr %24, i64 %22 store ptr null, ptr %25, align 8, !tbaa !15 %26 = or disjoint i64 %22, 1 %27 = load ptr, ptr @info, align 8, !tbaa !14 %28 = getelementptr inbounds ptr, ptr %27, i64 %26 store ptr null, ptr %28, align 8, !tbaa !15 %29 = or disjoint i64 %22, 2 %30 = load ptr, ptr @info, align 8, !tbaa !14 %31 = getelementptr inbounds ptr, ptr %30, i64 %29 store ptr null, ptr %31, align 8, !tbaa !15 %32 = or disjoint i64 %22, 3 %33 = load ptr, ptr @info, align 8, !tbaa !14 %34 = getelementptr inbounds ptr, ptr %33, i64 %32 store ptr null, ptr %34, align 8, !tbaa !15 %35 = add nuw nsw i64 %22, 4 %36 = add i64 %23, 4 %37 = icmp eq i64 %36, %8 br i1 %37, label %9, label %21, !llvm.loop !18 38: ; preds = %43 %39 = add nuw nsw i64 %44, 1 %40 = load i32, ptr @POOLSIZE, align 4, !tbaa !13 %41 = sext i32 %40 to i64 %42 = icmp slt i64 %39, %41 br i1 %42, label %43, label %59, !llvm.loop !20 43: ; preds = %20, %38 %44 = phi i64 [ %39, %38 ], [ 0, %20 ] %45 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @info, i64 0, i32 3), align 8, !tbaa !21 %46 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @info, i64 0, i32 1, i32 1), align 4, !tbaa !22 %47 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @info, i64 0, i32 2), align 8, !tbaa !23 %48 = getelementptr inbounds i32, ptr %47, i64 %44 %49 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @info, i64 0, i32 1), align 8, !tbaa !24 %50 = load i32, ptr @WIDTH, align 4, !tbaa !13 %51 = load i32, ptr @HEIGHT, align 4, !tbaa !13 %52 = tail call ptr @createximage(i32 noundef %45, i32 noundef %46, ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51) #2 %53 = load ptr, ptr @info, align 8, !tbaa !14 %54 = getelementptr inbounds ptr, ptr %53, i64 %44 store ptr %52, ptr %54, align 8, !tbaa !15 %55 = load ptr, ptr @info, align 8, !tbaa !14 %56 = getelementptr inbounds ptr, ptr %55, i64 %44 %57 = load ptr, ptr %56, align 8, !tbaa !15 %58 = icmp eq ptr %57, null br i1 %58, label %59, label %38 59: ; preds = %43, %38, %0, %20 %60 = phi i32 [ 1, %20 ], [ 1, %0 ], [ 1, %38 ], [ 0, %43 ] ret i32 %60 } declare ptr @createximage(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 32} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !12, i64 32} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !11 = !{!"int", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.unroll.disable"} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = !{!6, !11, i64 24} !22 = !{!6, !11, i64 12} !23 = !{!6, !7, i64 16} !24 = !{!6, !11, i64 8}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_image.c_create_pool.c' source_filename = "AnghaBench/sumatrapdf/mupdf/platform/x11/extr_x11_image.c_create_pool.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr, %struct.TYPE_3__, ptr, i32, i64 } %struct.TYPE_3__ = type { i32, i32 } @info = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @POOLSIZE = common local_unnamed_addr global i32 0, align 4 @WIDTH = common local_unnamed_addr global i32 0, align 4 @HEIGHT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @create_pool], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @create_pool() #0 { store i64 0, ptr getelementptr inbounds (i8, ptr @info, i64 32), align 8, !tbaa !6 %1 = load i32, ptr @POOLSIZE, align 4, !tbaa !14 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %32 3: ; preds = %0 %4 = zext nneg i32 %1 to i64 br label %5 5: ; preds = %3, %5 %6 = phi i64 [ 0, %3 ], [ %9, %5 ] %7 = load ptr, ptr @info, align 8, !tbaa !15 %8 = getelementptr inbounds ptr, ptr %7, i64 %6 store ptr null, ptr %8, align 8, !tbaa !16 %9 = add nuw nsw i64 %6, 1 %10 = icmp eq i64 %9, %4 br i1 %10, label %16, label %5, !llvm.loop !17 11: ; preds = %16 %12 = add nuw nsw i64 %17, 1 %13 = load i32, ptr @POOLSIZE, align 4, !tbaa !14 %14 = sext i32 %13 to i64 %15 = icmp slt i64 %12, %14 br i1 %15, label %16, label %32, !llvm.loop !19 16: ; preds = %5, %11 %17 = phi i64 [ %12, %11 ], [ 0, %5 ] %18 = load i32, ptr getelementptr inbounds (i8, ptr @info, i64 24), align 8, !tbaa !20 %19 = load i32, ptr getelementptr inbounds (i8, ptr @info, i64 12), align 4, !tbaa !21 %20 = load ptr, ptr getelementptr inbounds (i8, ptr @info, i64 16), align 8, !tbaa !22 %21 = getelementptr inbounds i32, ptr %20, i64 %17 %22 = load i32, ptr getelementptr inbounds (i8, ptr @info, i64 8), align 8, !tbaa !23 %23 = load i32, ptr @WIDTH, align 4, !tbaa !14 %24 = load i32, ptr @HEIGHT, align 4, !tbaa !14 %25 = tail call ptr @createximage(i32 noundef %18, i32 noundef %19, ptr noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 %26 = load ptr, ptr @info, align 8, !tbaa !15 %27 = getelementptr inbounds ptr, ptr %26, i64 %17 store ptr %25, ptr %27, align 8, !tbaa !16 %28 = load ptr, ptr @info, align 8, !tbaa !15 %29 = getelementptr inbounds ptr, ptr %28, i64 %17 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %11 32: ; preds = %16, %11, %0 %33 = phi i32 [ 1, %0 ], [ 1, %11 ], [ 0, %16 ] ret i32 %33 } declare ptr @createximage(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 32} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !13, i64 32} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !12 = !{!"int", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = !{!7, !12, i64 24} !21 = !{!7, !12, i64 12} !22 = !{!7, !8, i64 16} !23 = !{!7, !12, i64 8}
sumatrapdf_mupdf_platform_x11_extr_x11_image.c_create_pool
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_twl6040.c_headset_power_mode.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_twl6040.c_headset_power_mode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TWL6040_HSDRVMODE = dso_local local_unnamed_addr global i32 0, align 4 @TWL6040_HSDACMODE = dso_local local_unnamed_addr global i32 0, align 4 @TWL6040_REG_HSLCTL = dso_local local_unnamed_addr global i32 0, align 4 @TWL6040_REG_HSRCTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @headset_power_mode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @headset_power_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @TWL6040_HSDRVMODE, align 4, !tbaa !5 %4 = load i32, ptr @TWL6040_HSDACMODE, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = load i32, ptr @TWL6040_REG_HSLCTL, align 4, !tbaa !5 %7 = tail call i32 @twl6040_read(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @TWL6040_REG_HSRCTL, align 4, !tbaa !5 %9 = tail call i32 @twl6040_read(ptr noundef %0, i32 noundef %8) #2 %10 = icmp eq i32 %1, 0 br i1 %10, label %15, label %11 11: ; preds = %2 %12 = xor i32 %5, -1 %13 = and i32 %7, %12 %14 = and i32 %9, %12 br label %18 15: ; preds = %2 %16 = or i32 %7, %5 %17 = or i32 %9, %5 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ %14, %11 ], [ %17, %15 ] %20 = phi i32 [ %13, %11 ], [ %16, %15 ] %21 = load i32, ptr @TWL6040_REG_HSLCTL, align 4, !tbaa !5 %22 = tail call i32 @twl6040_write(ptr noundef %0, i32 noundef %21, i32 noundef %20) #2 %23 = load i32, ptr @TWL6040_REG_HSRCTL, align 4, !tbaa !5 %24 = tail call i32 @twl6040_write(ptr noundef %0, i32 noundef %23, i32 noundef %19) #2 ret i32 0 } declare i32 @twl6040_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @twl6040_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_twl6040.c_headset_power_mode.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_twl6040.c_headset_power_mode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TWL6040_HSDRVMODE = common local_unnamed_addr global i32 0, align 4 @TWL6040_HSDACMODE = common local_unnamed_addr global i32 0, align 4 @TWL6040_REG_HSLCTL = common local_unnamed_addr global i32 0, align 4 @TWL6040_REG_HSRCTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @headset_power_mode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @headset_power_mode(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @TWL6040_HSDRVMODE, align 4, !tbaa !6 %4 = load i32, ptr @TWL6040_HSDACMODE, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = load i32, ptr @TWL6040_REG_HSLCTL, align 4, !tbaa !6 %7 = tail call i32 @twl6040_read(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr @TWL6040_REG_HSRCTL, align 4, !tbaa !6 %9 = tail call i32 @twl6040_read(ptr noundef %0, i32 noundef %8) #2 %10 = icmp eq i32 %1, 0 br i1 %10, label %15, label %11 11: ; preds = %2 %12 = xor i32 %5, -1 %13 = and i32 %7, %12 %14 = and i32 %9, %12 br label %18 15: ; preds = %2 %16 = or i32 %7, %5 %17 = or i32 %9, %5 br label %18 18: ; preds = %15, %11 %19 = phi i32 [ %14, %11 ], [ %17, %15 ] %20 = phi i32 [ %13, %11 ], [ %16, %15 ] %21 = load i32, ptr @TWL6040_REG_HSLCTL, align 4, !tbaa !6 %22 = tail call i32 @twl6040_write(ptr noundef %0, i32 noundef %21, i32 noundef %20) #2 %23 = load i32, ptr @TWL6040_REG_HSRCTL, align 4, !tbaa !6 %24 = tail call i32 @twl6040_write(ptr noundef %0, i32 noundef %23, i32 noundef %19) #2 ret i32 0 } declare i32 @twl6040_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @twl6040_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_soc_codecs_extr_twl6040.c_headset_power_mode
; ModuleID = 'AnghaBench/linux/drivers/clk/bcm/extr_clk-bcm2835.c_bcm2835_clock_is_on.c' source_filename = "AnghaBench/linux/drivers/clk/bcm/extr_clk-bcm2835.c_bcm2835_clock_is_on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bcm2835_clock = type { ptr, ptr } @CM_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bcm2835_clock_is_on], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bcm2835_clock_is_on(ptr noundef %0) #0 { %2 = tail call ptr @bcm2835_clock_from_hw(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.bcm2835_clock, ptr %2, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %2, align 8, !tbaa !10 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @cprman_read(ptr noundef %4, i32 noundef %6) #2 %8 = load i32, ptr @CM_ENABLE, align 4, !tbaa !14 %9 = and i32 %8, %7 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i32 ret i32 %11 } declare ptr @bcm2835_clock_from_hw(ptr noundef) local_unnamed_addr #1 declare i32 @cprman_read(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 8} !6 = !{!"bcm2835_clock", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"bcm2835_clock_data", !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/bcm/extr_clk-bcm2835.c_bcm2835_clock_is_on.c' source_filename = "AnghaBench/linux/drivers/clk/bcm/extr_clk-bcm2835.c_bcm2835_clock_is_on.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CM_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bcm2835_clock_is_on], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @bcm2835_clock_is_on(ptr noundef %0) #0 { %2 = tail call ptr @bcm2835_clock_from_hw(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %2, align 8, !tbaa !11 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = tail call i32 @cprman_read(ptr noundef %4, i32 noundef %6) #2 %8 = load i32, ptr @CM_ENABLE, align 4, !tbaa !15 %9 = and i32 %8, %7 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i32 ret i32 %11 } declare ptr @bcm2835_clock_from_hw(ptr noundef) local_unnamed_addr #1 declare i32 @cprman_read(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 8} !7 = !{!"bcm2835_clock", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"bcm2835_clock_data", !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0}
linux_drivers_clk_bcm_extr_clk-bcm2835.c_bcm2835_clock_is_on
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adc128d818.c_adc128_init_client.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adc128d818.c_adc128_init_client.c" target datalayout = "e-m:e-p270:32:32-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.adc128_data = type { i32, i64, ptr } @ADC128_REG_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @ADC128_REG_CONFIG_ADV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @adc128_init_client], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @adc128_init_client(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.adc128_data, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr @ADC128_REG_CONFIG, align 4, !tbaa !12 %5 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %4, i32 noundef 128) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !13 %9 = icmp eq i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %7 %11 = load i32, ptr @ADC128_REG_CONFIG_ADV, align 4, !tbaa !12 %12 = shl i32 %8, 1 %13 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %28 15: ; preds = %10, %7 %16 = load i32, ptr @ADC128_REG_CONFIG, align 4, !tbaa !12 %17 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %16, i32 noundef 1) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.adc128_data, ptr %0, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = icmp eq i64 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = load i32, ptr @ADC128_REG_CONFIG_ADV, align 4, !tbaa !12 %25 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %24, i32 noundef 1) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23, %19 br label %28 28: ; preds = %23, %15, %10, %1, %27 %29 = phi i32 [ 0, %27 ], [ %5, %1 ], [ %13, %10 ], [ %17, %15 ], [ %25, %23 ] ret i32 %29 } declare i32 @i2c_smbus_write_byte_data(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, !11, i64 16} !6 = !{!"adc128_data", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adc128d818.c_adc128_init_client.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adc128d818.c_adc128_init_client.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADC128_REG_CONFIG = common local_unnamed_addr global i32 0, align 4 @ADC128_REG_CONFIG_ADV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @adc128_init_client], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @adc128_init_client(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr @ADC128_REG_CONFIG, align 4, !tbaa !13 %5 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %4, i32 noundef 128) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %1 %8 = load i32, ptr %0, align 8, !tbaa !14 %9 = icmp eq i32 %8, 0 br i1 %9, label %15, label %10 10: ; preds = %7 %11 = load i32, ptr @ADC128_REG_CONFIG_ADV, align 4, !tbaa !13 %12 = shl i32 %8, 1 %13 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %11, i32 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %28 15: ; preds = %10, %7 %16 = load i32, ptr @ADC128_REG_CONFIG, align 4, !tbaa !13 %17 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %16, i32 noundef 1) #2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = icmp eq i64 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = load i32, ptr @ADC128_REG_CONFIG_ADV, align 4, !tbaa !13 %25 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %3, i32 noundef %24, i32 noundef 1) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23, %19 br label %28 28: ; preds = %23, %15, %10, %1, %27 %29 = phi i32 [ 0, %27 ], [ %5, %1 ], [ %13, %10 ], [ %17, %15 ], [ %25, %23 ] ret i32 %29 } declare i32 @i2c_smbus_write_byte_data(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, !12, i64 16} !7 = !{!"adc128_data", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !11, i64 8}
linux_drivers_hwmon_extr_adc128d818.c_adc128_init_client
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_prefetch_thread.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_prefetch_thread.c" target datalayout = "e-m:e-p270:32:32-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_15__ = type { i64, i32, i64, ptr, i32 } %struct.TYPE_13__ = type { i64, i32, i32, ptr } %struct.TYPE_14__ = type { i32, i32, i32 } @zfs_top_maxinflight = dso_local local_unnamed_addr global i32 0, align 4 @ARC_FLAG_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @ARC_FLAG_PRESCIENT_PREFETCH = dso_local local_unnamed_addr global i32 0, align 4 @ARC_FLAG_PREFETCH = dso_local local_unnamed_addr global i32 0, align 4 @ZIO_FLAG_CANFAIL = dso_local local_unnamed_addr global i32 0, align 4 @ZIO_FLAG_SCAN_THREAD = dso_local local_unnamed_addr global i32 0, align 4 @dsl_scan_prefetch_cb = dso_local local_unnamed_addr global i32 0, align 4 @ZIO_PRIORITY_SCRUB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsl_scan_prefetch_thread], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dsl_scan_prefetch_thread(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 2 %7 = load i64, ptr %6, align 8, !tbaa !14 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %62 9: ; preds = %1 %10 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 0, i32 1 %11 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 0, i32 2 %13 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 4 br label %14 14: ; preds = %9, %43 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %15 = load i32, ptr @ARC_FLAG_NOWAIT, align 4, !tbaa !15 %16 = load i32, ptr @ARC_FLAG_PRESCIENT_PREFETCH, align 4, !tbaa !15 %17 = or i32 %16, %15 %18 = load i32, ptr @ARC_FLAG_PREFETCH, align 4, !tbaa !15 %19 = or i32 %17, %18 store i32 %19, ptr %2, align 4, !tbaa !15 %20 = load i32, ptr @ZIO_FLAG_CANFAIL, align 4, !tbaa !15 %21 = load i32, ptr @ZIO_FLAG_SCAN_THREAD, align 4, !tbaa !15 %22 = or i32 %21, %20 %23 = call i32 @mutex_enter(ptr noundef nonnull %10) #3 %24 = load i64, ptr %6, align 8, !tbaa !14 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %14, %33 %27 = call i64 @avl_numnodes(ptr noundef nonnull %11) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i64, ptr %5, align 8, !tbaa !16 %31 = load i64, ptr %0, align 8, !tbaa !18 %32 = icmp slt i64 %30, %31 br i1 %32, label %37, label %33 33: ; preds = %26, %29 %34 = call i32 @cv_wait(ptr noundef nonnull %12, ptr noundef nonnull %10) #3 %35 = load i64, ptr %6, align 8, !tbaa !14 %36 = icmp eq i64 %35, 0 br i1 %36, label %26, label %40, !llvm.loop !19 37: ; preds = %29 %38 = load i64, ptr %6, align 8, !tbaa !14 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %37, %14, %33 %41 = call i32 @mutex_exit(ptr noundef nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %42 = load i64, ptr %6, align 8, !tbaa !14 br label %62 43: ; preds = %37 %44 = call ptr @avl_first(ptr noundef nonnull %11) #3 %45 = getelementptr inbounds %struct.TYPE_14__, ptr %44, i64 0, i32 2 %46 = call i64 @BP_GET_PSIZE(ptr noundef nonnull %45) #3 %47 = load i64, ptr %5, align 8, !tbaa !16 %48 = add nsw i64 %47, %46 store i64 %48, ptr %5, align 8, !tbaa !16 %49 = call i32 @avl_remove(ptr noundef nonnull %11, ptr noundef %44) #3 %50 = call i32 @mutex_exit(ptr noundef nonnull %10) #3 %51 = load i32, ptr %13, align 8, !tbaa !21 %52 = load ptr, ptr %3, align 8, !tbaa !5 %53 = load ptr, ptr %52, align 8, !tbaa !12 %54 = load i32, ptr @dsl_scan_prefetch_cb, align 4, !tbaa !15 %55 = load i32, ptr %44, align 4, !tbaa !22 %56 = load i32, ptr @ZIO_PRIORITY_SCRUB, align 4, !tbaa !15 %57 = getelementptr inbounds %struct.TYPE_14__, ptr %44, i64 0, i32 1 %58 = call i32 @arc_read(i32 noundef %51, ptr noundef %53, ptr noundef nonnull %45, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %22, ptr noundef nonnull %2, ptr noundef nonnull %57) #3 %59 = call i32 @kmem_free(ptr noundef nonnull %44, i32 noundef 12) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %60 = load i64, ptr %6, align 8, !tbaa !14 %61 = icmp eq i64 %60, 0 br i1 %61, label %14, label %62 62: ; preds = %43, %1, %40 %63 = phi i64 [ %7, %1 ], [ %42, %40 ], [ %60, %43 ] %64 = call i32 @ASSERT(i64 noundef %63) #3 %65 = getelementptr inbounds %struct.TYPE_13__, ptr %5, i64 0, i32 1 %66 = call i32 @mutex_enter(ptr noundef nonnull %65) #3 %67 = getelementptr inbounds %struct.TYPE_15__, ptr %0, i64 0, i32 1 %68 = call ptr @avl_first(ptr noundef nonnull %67) #3 %69 = icmp eq ptr %68, null br i1 %69, label %78, label %70 70: ; preds = %62, %70 %71 = phi ptr [ %76, %70 ], [ %68, %62 ] %72 = call i32 @avl_remove(ptr noundef nonnull %67, ptr noundef nonnull %71) #3 %73 = load i32, ptr %71, align 4, !tbaa !22 %74 = call i32 @scan_prefetch_ctx_rele(i32 noundef %73, ptr noundef %0) #3 %75 = call i32 @kmem_free(ptr noundef nonnull %71, i32 noundef 12) #3 %76 = call ptr @avl_first(ptr noundef nonnull %67) #3 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %70, !llvm.loop !24 78: ; preds = %70, %62 %79 = call i64 @avl_numnodes(ptr noundef nonnull %67) #3 %80 = call i32 @ASSERT0(i64 noundef %79) #3 %81 = call i32 @mutex_exit(ptr noundef nonnull %65) #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 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i64 @avl_numnodes(ptr noundef) local_unnamed_addr #2 declare i32 @cv_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare ptr @avl_first(ptr noundef) local_unnamed_addr #2 declare i64 @BP_GET_PSIZE(ptr noundef) local_unnamed_addr #2 declare i32 @avl_remove(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @arc_read(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(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 @ASSERT(i64 noundef) local_unnamed_addr #2 declare i32 @scan_prefetch_ctx_rele(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT0(i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"TYPE_15__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !10, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_11__", !11, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!10, !10, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_13__", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16} !18 = !{!6, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!6, !10, i64 32} !22 = !{!23, !10, i64 0} !23 = !{!"TYPE_14__", !10, i64 0, !10, i64 4, !10, i64 8} !24 = distinct !{!24, !20}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_prefetch_thread.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dsl_scan.c_dsl_scan_prefetch_thread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @zfs_top_maxinflight = common local_unnamed_addr global i32 0, align 4 @ARC_FLAG_NOWAIT = common local_unnamed_addr global i32 0, align 4 @ARC_FLAG_PRESCIENT_PREFETCH = common local_unnamed_addr global i32 0, align 4 @ARC_FLAG_PREFETCH = common local_unnamed_addr global i32 0, align 4 @ZIO_FLAG_CANFAIL = common local_unnamed_addr global i32 0, align 4 @ZIO_FLAG_SCAN_THREAD = common local_unnamed_addr global i32 0, align 4 @dsl_scan_prefetch_cb = common local_unnamed_addr global i32 0, align 4 @ZIO_PRIORITY_SCRUB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dsl_scan_prefetch_thread], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dsl_scan_prefetch_thread(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = load i64, ptr %6, align 8, !tbaa !15 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %62 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %5, i64 8 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = getelementptr inbounds i8, ptr %5, i64 12 %13 = getelementptr inbounds i8, ptr %0, i64 32 br label %14 14: ; preds = %9, %43 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %15 = load i32, ptr @ARC_FLAG_NOWAIT, align 4, !tbaa !16 %16 = load i32, ptr @ARC_FLAG_PRESCIENT_PREFETCH, align 4, !tbaa !16 %17 = or i32 %16, %15 %18 = load i32, ptr @ARC_FLAG_PREFETCH, align 4, !tbaa !16 %19 = or i32 %17, %18 store i32 %19, ptr %2, align 4, !tbaa !16 %20 = load i32, ptr @ZIO_FLAG_CANFAIL, align 4, !tbaa !16 %21 = load i32, ptr @ZIO_FLAG_SCAN_THREAD, align 4, !tbaa !16 %22 = or i32 %21, %20 %23 = call i32 @mutex_enter(ptr noundef nonnull %10) #3 %24 = load i64, ptr %6, align 8, !tbaa !15 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %40 26: ; preds = %14, %33 %27 = call i64 @avl_numnodes(ptr noundef nonnull %11) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i64, ptr %5, align 8, !tbaa !17 %31 = load i64, ptr %0, align 8, !tbaa !19 %32 = icmp slt i64 %30, %31 br i1 %32, label %37, label %33 33: ; preds = %26, %29 %34 = call i32 @cv_wait(ptr noundef nonnull %12, ptr noundef nonnull %10) #3 %35 = load i64, ptr %6, align 8, !tbaa !15 %36 = icmp eq i64 %35, 0 br i1 %36, label %26, label %40, !llvm.loop !20 37: ; preds = %29 %38 = load i64, ptr %6, align 8, !tbaa !15 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %37, %14, %33 %41 = call i32 @mutex_exit(ptr noundef nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %42 = load i64, ptr %6, align 8, !tbaa !15 br label %62 43: ; preds = %37 %44 = call ptr @avl_first(ptr noundef nonnull %11) #3 %45 = getelementptr inbounds i8, ptr %44, i64 8 %46 = call i64 @BP_GET_PSIZE(ptr noundef nonnull %45) #3 %47 = load i64, ptr %5, align 8, !tbaa !17 %48 = add nsw i64 %47, %46 store i64 %48, ptr %5, align 8, !tbaa !17 %49 = call i32 @avl_remove(ptr noundef nonnull %11, ptr noundef %44) #3 %50 = call i32 @mutex_exit(ptr noundef nonnull %10) #3 %51 = load i32, ptr %13, align 8, !tbaa !22 %52 = load ptr, ptr %3, align 8, !tbaa !6 %53 = load ptr, ptr %52, align 8, !tbaa !13 %54 = load i32, ptr @dsl_scan_prefetch_cb, align 4, !tbaa !16 %55 = load i32, ptr %44, align 4, !tbaa !23 %56 = load i32, ptr @ZIO_PRIORITY_SCRUB, align 4, !tbaa !16 %57 = getelementptr inbounds i8, ptr %44, i64 4 %58 = call i32 @arc_read(i32 noundef %51, ptr noundef %53, ptr noundef nonnull %45, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %22, ptr noundef nonnull %2, ptr noundef nonnull %57) #3 %59 = call i32 @kmem_free(ptr noundef nonnull %44, i32 noundef 12) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 %60 = load i64, ptr %6, align 8, !tbaa !15 %61 = icmp eq i64 %60, 0 br i1 %61, label %14, label %62 62: ; preds = %43, %1, %40 %63 = phi i64 [ %7, %1 ], [ %42, %40 ], [ %60, %43 ] %64 = call i32 @ASSERT(i64 noundef %63) #3 %65 = getelementptr inbounds i8, ptr %5, i64 8 %66 = call i32 @mutex_enter(ptr noundef nonnull %65) #3 %67 = getelementptr inbounds i8, ptr %0, i64 8 %68 = call ptr @avl_first(ptr noundef nonnull %67) #3 %69 = icmp eq ptr %68, null br i1 %69, label %78, label %70 70: ; preds = %62, %70 %71 = phi ptr [ %76, %70 ], [ %68, %62 ] %72 = call i32 @avl_remove(ptr noundef nonnull %67, ptr noundef nonnull %71) #3 %73 = load i32, ptr %71, align 4, !tbaa !23 %74 = call i32 @scan_prefetch_ctx_rele(i32 noundef %73, ptr noundef %0) #3 %75 = call i32 @kmem_free(ptr noundef nonnull %71, i32 noundef 12) #3 %76 = call ptr @avl_first(ptr noundef nonnull %67) #3 %77 = icmp eq ptr %76, null br i1 %77, label %78, label %70, !llvm.loop !25 78: ; preds = %70, %62 %79 = call i64 @avl_numnodes(ptr noundef nonnull %67) #3 %80 = call i32 @ASSERT0(i64 noundef %79) #3 %81 = call i32 @mutex_exit(ptr noundef nonnull %65) #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 @mutex_enter(ptr noundef) local_unnamed_addr #2 declare i64 @avl_numnodes(ptr noundef) local_unnamed_addr #2 declare i32 @cv_wait(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_exit(ptr noundef) local_unnamed_addr #2 declare ptr @avl_first(ptr noundef) local_unnamed_addr #2 declare i64 @BP_GET_PSIZE(ptr noundef) local_unnamed_addr #2 declare i32 @avl_remove(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @arc_read(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @kmem_free(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 @ASSERT(i64 noundef) local_unnamed_addr #2 declare i32 @scan_prefetch_ctx_rele(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ASSERT0(i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"TYPE_15__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !11, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_11__", !12, i64 0} !15 = !{!7, !8, i64 16} !16 = !{!11, !11, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_13__", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16} !19 = !{!7, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !11, i64 32} !23 = !{!24, !11, i64 0} !24 = !{!"TYPE_14__", !11, i64 0, !11, i64 4, !11, i64 8} !25 = distinct !{!25, !21}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_dsl_scan.c_dsl_scan_prefetch_thread
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_mr_chk_buf_and_calc_size.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_mr_chk_buf_and_calc_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ib_phys_buf = type { i32, i32 } @.str = private unnamed_addr constant [39 x i8] c"bad phys buf array len, num_phys_buf=0\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [72 x i8] c"iova_start/addr mismatch, iova_start=%p pbuf->addr=%llx pbuf->size=%llx\00", align 1 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [63 x i8] c"addr/size mismatch in 1st buf, pbuf->addr=%llx pbuf->size=%llx\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"bad address, i=%x pbuf->addr=%llx pbuf->size=%llx\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"bad size, i=%x pbuf->size=%llx\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ehca_mr_chk_buf_and_calc_size(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = icmp eq i32 %1, 0 br i1 %5, label %6, label %10 6: ; preds = %4 %7 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str) #2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %82 10: ; preds = %4 %11 = ptrtoint ptr %2 to i64 %12 = trunc i64 %11 to i32 %13 = load i32, ptr @PAGE_MASK, align 4, !tbaa !5 %14 = xor i32 %13, -1 %15 = load i32, ptr %0, align 4, !tbaa !9 %16 = xor i32 %15, %12 %17 = and i32 %16, %14 %18 = icmp eq i32 %17, 0 %19 = getelementptr inbounds %struct.ib_phys_buf, ptr %0, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !11 br i1 %18, label %25, label %21 21: ; preds = %10 %22 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.1, ptr noundef %2, i32 noundef %15, i32 noundef %20) #2 %23 = load i32, ptr @EINVAL, align 4, !tbaa !5 %24 = sub nsw i32 0, %23 br label %82 25: ; preds = %10 %26 = add nsw i32 %20, %15 %27 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !5 %28 = srem i32 %26, %27 %29 = icmp ne i32 %28, 0 %30 = icmp sgt i32 %1, 1 %31 = and i1 %30, %29 br i1 %31, label %39, label %32 32: ; preds = %25 %33 = icmp sgt i32 %1, 0 br i1 %33, label %34, label %80 34: ; preds = %32 %35 = add nsw i32 %1, -1 %36 = icmp eq i32 %20, 0 br i1 %36, label %68, label %37 37: ; preds = %34 %38 = icmp eq i32 %1, 1 br i1 %38, label %80, label %43 39: ; preds = %25 %40 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.2, i32 noundef %15, i32 noundef %20) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !5 %42 = sub nsw i32 0, %41 br label %82 43: ; preds = %37, %76 %44 = phi i32 [ %78, %76 ], [ 1, %37 ] %45 = phi i32 [ %77, %76 ], [ %20, %37 ] %46 = phi ptr [ %47, %76 ], [ %0, %37 ] %47 = getelementptr inbounds %struct.ib_phys_buf, ptr %46, i64 1 %48 = load i32, ptr %47, align 4, !tbaa !9 %49 = srem i32 %48, %27 %50 = icmp eq i32 %49, 0 br i1 %50, label %57, label %51 51: ; preds = %43 %52 = getelementptr inbounds %struct.ib_phys_buf, ptr %46, i64 1, i32 1 %53 = load i32, ptr %52, align 4, !tbaa !11 %54 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.3, i32 noundef %44, i32 noundef %48, i32 noundef %53) #2 %55 = load i32, ptr @EINVAL, align 4, !tbaa !5 %56 = sub nsw i32 0, %55 br label %82 57: ; preds = %43 %58 = icmp slt i32 %44, %35 br i1 %58, label %59, label %64 59: ; preds = %57 %60 = getelementptr inbounds %struct.ib_phys_buf, ptr %46, i64 1, i32 1 %61 = load i32, ptr %60, align 4, !tbaa !11 %62 = srem i32 %61, %27 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %59, %57 %65 = getelementptr inbounds %struct.ib_phys_buf, ptr %46, i64 1, i32 1 %66 = load i32, ptr %65, align 4, !tbaa !11 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %76 68: ; preds = %64, %59, %34 %69 = phi i32 [ 0, %34 ], [ %44, %59 ], [ %44, %64 ] %70 = phi ptr [ %0, %34 ], [ %47, %59 ], [ %47, %64 ] %71 = getelementptr inbounds %struct.ib_phys_buf, ptr %70, i64 0, i32 1 %72 = load i32, ptr %71, align 4, !tbaa !11 %73 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.4, i32 noundef %69, i32 noundef %72) #2 %74 = load i32, ptr @EINVAL, align 4, !tbaa !5 %75 = sub nsw i32 0, %74 br label %82 76: ; preds = %64 %77 = add nsw i32 %66, %45 %78 = add nuw nsw i32 %44, 1 %79 = icmp eq i32 %78, %1 br i1 %79, label %80, label %43, !llvm.loop !12 80: ; preds = %76, %37, %32 %81 = phi i32 [ 0, %32 ], [ %20, %37 ], [ %77, %76 ] store i32 %81, ptr %3, align 4, !tbaa !5 br label %82 82: ; preds = %80, %68, %51, %39, %21, %6 %83 = phi i32 [ %9, %6 ], [ %24, %21 ], [ %42, %39 ], [ %56, %51 ], [ %75, %68 ], [ 0, %80 ] ret i32 %83 } declare i32 @ehca_gen_err(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 = !{!"ib_phys_buf", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4} !12 = distinct !{!12, !13, !14} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!"llvm.loop.peeled.count", i32 1}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_mr_chk_buf_and_calc_size.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_mr_chk_buf_and_calc_size.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 [39 x i8] c"bad phys buf array len, num_phys_buf=0\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [72 x i8] c"iova_start/addr mismatch, iova_start=%p pbuf->addr=%llx pbuf->size=%llx\00", align 1 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [63 x i8] c"addr/size mismatch in 1st buf, pbuf->addr=%llx pbuf->size=%llx\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"bad address, i=%x pbuf->addr=%llx pbuf->size=%llx\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"bad size, i=%x pbuf->size=%llx\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @ehca_mr_chk_buf_and_calc_size(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = icmp eq i32 %1, 0 br i1 %5, label %6, label %10 6: ; preds = %4 %7 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str) #2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %82 10: ; preds = %4 %11 = ptrtoint ptr %2 to i64 %12 = trunc i64 %11 to i32 %13 = load i32, ptr @PAGE_MASK, align 4, !tbaa !6 %14 = xor i32 %13, -1 %15 = load i32, ptr %0, align 4, !tbaa !10 %16 = xor i32 %15, %12 %17 = and i32 %16, %14 %18 = icmp eq i32 %17, 0 %19 = getelementptr inbounds i8, ptr %0, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !12 br i1 %18, label %25, label %21 21: ; preds = %10 %22 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.1, ptr noundef %2, i32 noundef %15, i32 noundef %20) #2 %23 = load i32, ptr @EINVAL, align 4, !tbaa !6 %24 = sub nsw i32 0, %23 br label %82 25: ; preds = %10 %26 = add nsw i32 %20, %15 %27 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !6 %28 = srem i32 %26, %27 %29 = icmp ne i32 %28, 0 %30 = icmp sgt i32 %1, 1 %31 = and i1 %30, %29 br i1 %31, label %39, label %32 32: ; preds = %25 %33 = icmp sgt i32 %1, 0 br i1 %33, label %34, label %80 34: ; preds = %32 %35 = add nsw i32 %1, -1 %36 = icmp eq i32 %20, 0 br i1 %36, label %68, label %37 37: ; preds = %34 %38 = icmp eq i32 %1, 1 br i1 %38, label %80, label %43 39: ; preds = %25 %40 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.2, i32 noundef %15, i32 noundef %20) #2 %41 = load i32, ptr @EINVAL, align 4, !tbaa !6 %42 = sub nsw i32 0, %41 br label %82 43: ; preds = %37, %76 %44 = phi i32 [ %78, %76 ], [ 1, %37 ] %45 = phi i32 [ %77, %76 ], [ %20, %37 ] %46 = phi ptr [ %47, %76 ], [ %0, %37 ] %47 = getelementptr inbounds i8, ptr %46, i64 8 %48 = load i32, ptr %47, align 4, !tbaa !10 %49 = srem i32 %48, %27 %50 = icmp eq i32 %49, 0 br i1 %50, label %57, label %51 51: ; preds = %43 %52 = getelementptr inbounds i8, ptr %46, i64 12 %53 = load i32, ptr %52, align 4, !tbaa !12 %54 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.3, i32 noundef %44, i32 noundef %48, i32 noundef %53) #2 %55 = load i32, ptr @EINVAL, align 4, !tbaa !6 %56 = sub nsw i32 0, %55 br label %82 57: ; preds = %43 %58 = icmp slt i32 %44, %35 br i1 %58, label %59, label %64 59: ; preds = %57 %60 = getelementptr inbounds i8, ptr %46, i64 12 %61 = load i32, ptr %60, align 4, !tbaa !12 %62 = srem i32 %61, %27 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %59, %57 %65 = getelementptr inbounds i8, ptr %46, i64 12 %66 = load i32, ptr %65, align 4, !tbaa !12 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %76 68: ; preds = %64, %59, %34 %69 = phi i32 [ 0, %34 ], [ %44, %59 ], [ %44, %64 ] %70 = phi ptr [ %0, %34 ], [ %47, %59 ], [ %47, %64 ] %71 = getelementptr inbounds i8, ptr %70, i64 4 %72 = load i32, ptr %71, align 4, !tbaa !12 %73 = tail call i32 (ptr, ...) @ehca_gen_err(ptr noundef nonnull @.str.4, i32 noundef %69, i32 noundef %72) #2 %74 = load i32, ptr @EINVAL, align 4, !tbaa !6 %75 = sub nsw i32 0, %74 br label %82 76: ; preds = %64 %77 = add nsw i32 %66, %45 %78 = add nuw nsw i32 %44, 1 %79 = icmp eq i32 %78, %1 br i1 %79, label %80, label %43, !llvm.loop !13 80: ; preds = %76, %37, %32 %81 = phi i32 [ 0, %32 ], [ %20, %37 ], [ %77, %76 ] store i32 %81, ptr %3, align 4, !tbaa !6 br label %82 82: ; preds = %80, %68, %51, %39, %21, %6 %83 = phi i32 [ %9, %6 ], [ %24, %21 ], [ %42, %39 ], [ %56, %51 ], [ %75, %68 ], [ 0, %80 ] ret i32 %83 } declare i32 @ehca_gen_err(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 = !{!"ib_phys_buf", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4} !13 = distinct !{!13, !14, !15} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!"llvm.loop.peeled.count", i32 1}
fastsocket_kernel_drivers_infiniband_hw_ehca_extr_ehca_mrmw.c_ehca_mr_chk_buf_and_calc_size
; ModuleID = 'AnghaBench/lede/package/kernel/broadcom-wl/src/glue/extr_wl_glue.c_wl_glue_set_remove_callback.c' source_filename = "AnghaBench/lede/package/kernel/broadcom-wl/src/glue/extr_wl_glue.c_wl_glue_set_remove_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @remove_cb = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @wl_glue_set_remove_callback(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @remove_cb, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/lede/package/kernel/broadcom-wl/src/glue/extr_wl_glue.c_wl_glue_set_remove_callback.c' source_filename = "AnghaBench/lede/package/kernel/broadcom-wl/src/glue/extr_wl_glue.c_wl_glue_set_remove_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @remove_cb = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @wl_glue_set_remove_callback(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @remove_cb, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
lede_package_kernel_broadcom-wl_src_glue_extr_wl_glue.c_wl_glue_set_remove_callback
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/hivetest/extr_hivetest.c_test5.c' source_filename = "AnghaBench/reactos/modules/rostests/tests/hivetest/extr_hivetest.c_test5.c" target datalayout = "e-m:e-p270:32:32-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 [14 x i8] c"NtOpenKey : \0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c" \\Registry\\Machine\\Software\\reactos : \00", align 1 @.str.2 = private unnamed_addr constant [35 x i32] [i32 92, i32 82, i32 101, i32 103, i32 105, i32 115, i32 116, i32 114, i32 121, i32 92, i32 77, i32 97, i32 99, i32 104, i32 105, i32 110, i32 101, i32 92, i32 83, i32 111, i32 102, i32 116, i32 119, i32 97, i32 114, i32 101, i32 92, i32 114, i32 101, i32 97, i32 99, i32 116, i32 111, i32 115, i32 0], align 4 @OBJ_CASE_INSENSITIVE = dso_local local_unnamed_addr global i32 0, align 4 @KEY_ALL_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"\09\09Status=%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"NtFlushKey : \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"NtCloseKey : \0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @test5() local_unnamed_addr #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str) #3 %5 = tail call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.1) #3 %6 = call i32 @RtlRosInitUnicodeStringFromLiteral(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #3 %7 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !5 %8 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %7, ptr noundef null, ptr noundef null) #3 %9 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !5 %10 = call i32 @NtOpenKey(ptr noundef nonnull %1, i32 noundef %9, ptr noundef nonnull %2) #3 %11 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %10) #3 %12 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.4) #3 %13 = load i32, ptr %1, align 4, !tbaa !5 %14 = call i32 @NtFlushKey(i32 noundef %13) #3 %15 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %14) #3 %16 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.5) #3 %17 = load i32, ptr %1, align 4, !tbaa !5 %18 = call i32 @NtClose(i32 noundef %17) #3 %19 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dprintf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @RtlRosInitUnicodeStringFromLiteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtOpenKey(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtFlushKey(i32 noundef) local_unnamed_addr #2 declare i32 @NtClose(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/hivetest/extr_hivetest.c_test5.c' source_filename = "AnghaBench/reactos/modules/rostests/tests/hivetest/extr_hivetest.c_test5.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 [14 x i8] c"NtOpenKey : \0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c" \\Registry\\Machine\\Software\\reactos : \00", align 1 @.str.2 = private unnamed_addr constant [35 x i32] [i32 92, i32 82, i32 101, i32 103, i32 105, i32 115, i32 116, i32 114, i32 121, i32 92, i32 77, i32 97, i32 99, i32 104, i32 105, i32 110, i32 101, i32 92, i32 83, i32 111, i32 102, i32 116, i32 119, i32 97, i32 114, i32 101, i32 92, i32 114, i32 101, i32 97, i32 99, i32 116, i32 111, i32 115, i32 0], align 4 @OBJ_CASE_INSENSITIVE = common local_unnamed_addr global i32 0, align 4 @KEY_ALL_ACCESS = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"\09\09Status=%x\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"NtFlushKey : \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"NtCloseKey : \0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @test5() local_unnamed_addr #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = tail call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str) #3 %5 = tail call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.1) #3 %6 = call i32 @RtlRosInitUnicodeStringFromLiteral(ptr noundef nonnull %3, ptr noundef nonnull @.str.2) #3 %7 = load i32, ptr @OBJ_CASE_INSENSITIVE, align 4, !tbaa !6 %8 = call i32 @InitializeObjectAttributes(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %7, ptr noundef null, ptr noundef null) #3 %9 = load i32, ptr @KEY_ALL_ACCESS, align 4, !tbaa !6 %10 = call i32 @NtOpenKey(ptr noundef nonnull %1, i32 noundef %9, ptr noundef nonnull %2) #3 %11 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %10) #3 %12 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.4) #3 %13 = load i32, ptr %1, align 4, !tbaa !6 %14 = call i32 @NtFlushKey(i32 noundef %13) #3 %15 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %14) #3 %16 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.5) #3 %17 = load i32, ptr %1, align 4, !tbaa !6 %18 = call i32 @NtClose(i32 noundef %17) #3 %19 = call i32 (ptr, ...) @dprintf(ptr noundef nonnull @.str.3, i32 noundef %18) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @dprintf(ptr noundef, ...) local_unnamed_addr #2 declare i32 @RtlRosInitUnicodeStringFromLiteral(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @InitializeObjectAttributes(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtOpenKey(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NtFlushKey(i32 noundef) local_unnamed_addr #2 declare i32 @NtClose(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"}
reactos_modules_rostests_tests_hivetest_extr_hivetest.c_test5
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_del_ttm.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_del_ttm.c" target datalayout = "e-m:e-p270:32:32-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.nouveau_bo = type { i32, i32 } @.str = private unnamed_addr constant [36 x i8] c"bo %p still attached to GEM object\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @nouveau_bo_del_ttm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nouveau_bo_del_ttm(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call ptr @nouveau_bdev(i32 noundef %2) #2 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call ptr @nouveau_bo(ptr noundef nonnull %0) #2 %6 = getelementptr inbounds %struct.nouveau_bo, ptr %5, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %1 %13 = load i32, ptr %5, align 4, !tbaa !15 %14 = tail call i32 @nv10_bo_put_tile_region(ptr noundef %4, i32 noundef %13, ptr noundef null) #2 %15 = tail call i32 @kfree(ptr noundef nonnull %5) #2 ret void } declare ptr @nouveau_bdev(i32 noundef) local_unnamed_addr #1 declare ptr @nouveau_bo(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv10_bo_put_tile_region(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ttm_buffer_object", !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 = !{!"nouveau_drm", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"nouveau_bo", !7, i64 0, !7, i64 4} !15 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_del_ttm.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nouveau_bo.c_nouveau_bo_del_ttm.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [36 x i8] c"bo %p still attached to GEM object\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @nouveau_bo_del_ttm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nouveau_bo_del_ttm(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call ptr @nouveau_bdev(i32 noundef %2) #2 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call ptr @nouveau_bo(ptr noundef nonnull %0) #2 %6 = getelementptr inbounds i8, ptr %5, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str, ptr noundef nonnull %0) #2 br label %12 12: ; preds = %10, %1 %13 = load i32, ptr %5, align 4, !tbaa !16 %14 = tail call i32 @nv10_bo_put_tile_region(ptr noundef %4, i32 noundef %13, ptr noundef null) #2 %15 = tail call i32 @kfree(ptr noundef nonnull %5) #2 ret void } declare ptr @nouveau_bdev(i32 noundef) local_unnamed_addr #1 declare ptr @nouveau_bo(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nv10_bo_put_tile_region(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ttm_buffer_object", !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 = !{!"nouveau_drm", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 4} !15 = !{!"nouveau_bo", !8, i64 0, !8, i64 4} !16 = !{!15, !8, i64 0}
fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nouveau_bo.c_nouveau_bo_del_ttm
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ast/extr_ast_post.c_ast_enable_vga.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ast/extr_ast_post.c_ast_enable_vga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AST_IO_VGA_ENABLE_PORT = dso_local local_unnamed_addr global i32 0, align 4 @AST_IO_MISC_PORT_WRITE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ast_enable_vga(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @AST_IO_VGA_ENABLE_PORT, align 4, !tbaa !10 %4 = tail call i32 @ast_io_write8(ptr noundef %2, i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr @AST_IO_MISC_PORT_WRITE, align 4, !tbaa !10 %6 = tail call i32 @ast_io_write8(ptr noundef %2, i32 noundef %5, i32 noundef 1) #2 ret void } declare i32 @ast_io_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"drm_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/ast/extr_ast_post.c_ast_enable_vga.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/ast/extr_ast_post.c_ast_enable_vga.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AST_IO_VGA_ENABLE_PORT = common local_unnamed_addr global i32 0, align 4 @AST_IO_MISC_PORT_WRITE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ast_enable_vga(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @AST_IO_VGA_ENABLE_PORT, align 4, !tbaa !11 %4 = tail call i32 @ast_io_write8(ptr noundef %2, i32 noundef %3, i32 noundef 1) #2 %5 = load i32, ptr @AST_IO_MISC_PORT_WRITE, align 4, !tbaa !11 %6 = tail call i32 @ast_io_write8(ptr noundef %2, i32 noundef %5, i32 noundef 1) #2 ret void } declare i32 @ast_io_write8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"drm_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_gpu_drm_ast_extr_ast_post.c_ast_enable_vga
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fscache/extr_cookie.c___fscache_wait_on_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fscache/extr_cookie.c___fscache_wait_on_invalidate.c" target datalayout = "e-m:e-p270:32:32-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 [3 x i8] c"%p\00", align 1 @FSCACHE_COOKIE_INVALIDATING = dso_local local_unnamed_addr global i32 0, align 4 @fscache_wait_bit_interruptible = dso_local local_unnamed_addr global i32 0, align 4 @TASK_UNINTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind uwtable define dso_local void @__fscache_wait_on_invalidate(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str, ptr noundef %0) #2 %3 = load i32, ptr @FSCACHE_COOKIE_INVALIDATING, align 4, !tbaa !5 %4 = load i32, ptr @fscache_wait_bit_interruptible, align 4, !tbaa !5 %5 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !5 %6 = tail call i32 @wait_on_bit(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @_leave(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @_enter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_leave(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fscache/extr_cookie.c___fscache_wait_on_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/fs/fscache/extr_cookie.c___fscache_wait_on_invalidate.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 [3 x i8] c"%p\00", align 1 @FSCACHE_COOKIE_INVALIDATING = common local_unnamed_addr global i32 0, align 4 @fscache_wait_bit_interruptible = common local_unnamed_addr global i32 0, align 4 @TASK_UNINTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @__fscache_wait_on_invalidate(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @_enter(ptr noundef nonnull @.str, ptr noundef %0) #2 %3 = load i32, ptr @FSCACHE_COOKIE_INVALIDATING, align 4, !tbaa !6 %4 = load i32, ptr @fscache_wait_bit_interruptible, align 4, !tbaa !6 %5 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !6 %6 = tail call i32 @wait_on_bit(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 %7 = tail call i32 @_leave(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @_enter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wait_on_bit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_leave(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_fscache_extr_cookie.c___fscache_wait_on_invalidate
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stb0899_algo.c_stb0899_search_data.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stb0899_algo.c_stb0899_search_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.stb0899_state = type { i32, %struct.stb0899_params, %struct.stb0899_internal } %struct.stb0899_params = type { i64 } %struct.stb0899_internal = type { i64, i64, i16, i64, i32, i16 } @CARRIEROK = dso_local local_unnamed_addr global i64 0, align 8 @DATAOK = dso_local local_unnamed_addr global i64 0, align 8 @FE_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Derot freq=%d, mclk=%d\00", align 1 @STB0899_CFD = dso_local local_unnamed_addr global i32 0, align 4 @CFD_ON = dso_local local_unnamed_addr global i32 0, align 4 @CFRM = dso_local local_unnamed_addr global i32 0, align 4 @CFRL = dso_local local_unnamed_addr global i32 0, align 4 @STB0899_CFRM = dso_local local_unnamed_addr global i32 0, align 4 @STB0899_IQSWAP = dso_local local_unnamed_addr global i32 0, align 4 @SYM = dso_local local_unnamed_addr global i32 0, align 4 @IQ_SWAP_ON = dso_local local_unnamed_addr global i16 0, align 2 @IQ_SWAP_OFF = dso_local local_unnamed_addr global i16 0, align 2 @.str.1 = private unnamed_addr constant [31 x i8] c"------> DATAOK ! Derot Freq=%d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stb0899_search_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stb0899_search_data(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2 %4 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = sdiv i64 %5, 4 %7 = load i64, ptr %3, align 8, !tbaa !10 %8 = sdiv i64 %6, %7 %9 = trunc i64 %8 to i32 %10 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = sdiv i64 %11, 2 %13 = sdiv i64 %12, %7 %14 = trunc i64 %13 to i32 %15 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2, i32 2 %16 = load i16, ptr %15, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2, i32 3 %18 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2, i32 4 %19 = shl i32 %14, 16 %20 = ashr exact i32 %19, 16 %21 = getelementptr inbounds %struct.stb0899_state, ptr %0, i64 0, i32 2, i32 5 %22 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %23 = load i64, ptr %17, align 8, !tbaa !16 br label %24 24: ; preds = %75, %1 %25 = phi i64 [ %23, %1 ], [ %81, %75 ] %26 = phi i32 [ 1, %1 ], [ %76, %75 ] %27 = phi i16 [ 3, %1 ], [ %77, %75 ] %28 = phi i16 [ %16, %1 ], [ %78, %75 ] %29 = load i64, ptr @CARRIEROK, align 8, !tbaa !17 %30 = icmp eq i64 %25, %29 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = call i64 @stb0899_check_data(ptr noundef nonnull %0) #3 %33 = load i64, ptr @DATAOK, align 8, !tbaa !17 %34 = icmp eq i64 %32, %33 br i1 %34, label %75, label %35 35: ; preds = %31, %24 %36 = load i32, ptr %18, align 8, !tbaa !18 %37 = mul i32 %26, %9 %38 = mul i32 %37, %36 %39 = trunc i32 %38 to i16 %40 = add i16 %28, %39 %41 = call signext i16 @abs(i16 noundef signext %40) #3 %42 = sext i16 %41 to i32 %43 = icmp slt i32 %20, %42 %44 = sext i1 %43 to i16 %45 = add i16 %27, %44 %46 = icmp eq i16 %45, 0 br i1 %46, label %75, label %47 47: ; preds = %35 %48 = load i32, ptr %0, align 8, !tbaa !19 %49 = load i32, ptr @FE_DEBUG, align 4, !tbaa !21 %50 = sext i16 %40 to i32 %51 = load i64, ptr %3, align 8, !tbaa !10 %52 = call i32 (i32, i32, i32, ptr, i32, ...) @dprintk(i32 noundef %48, i32 noundef %49, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %50, i64 noundef %51) #3 %53 = load i32, ptr @STB0899_CFD, align 4, !tbaa !21 %54 = call i32 @stb0899_read_reg(ptr noundef nonnull %0, i32 noundef %53) #3 %55 = load i32, ptr @CFD_ON, align 4, !tbaa !21 %56 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %55, i32 noundef %54, i32 noundef 1) #3 %57 = load i32, ptr @STB0899_CFD, align 4, !tbaa !21 %58 = call i32 @stb0899_write_reg(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %54) #3 %59 = load i32, ptr @CFRM, align 4, !tbaa !21 %60 = load i32, ptr %2, align 4, !tbaa !21 %61 = load i16, ptr %21, align 4, !tbaa !22 %62 = mul i16 %61, %40 %63 = call i32 @MSB(i16 noundef signext %62) #3 %64 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %59, i32 noundef %60, i32 noundef %63) #3 %65 = load i32, ptr @CFRL, align 4, !tbaa !21 %66 = load i32, ptr %22, align 4, !tbaa !21 %67 = load i16, ptr %21, align 4, !tbaa !22 %68 = mul i16 %67, %40 %69 = call i32 @LSB(i16 noundef signext %68) #3 %70 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %65, i32 noundef %66, i32 noundef %69) #3 %71 = load i32, ptr @STB0899_CFRM, align 4, !tbaa !21 %72 = call i32 @stb0899_write_regs(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %2, i32 noundef 2) #3 %73 = call i32 @stb0899_check_carrier(ptr noundef nonnull %0) #3 %74 = add nsw i32 %26, 1 br label %75 75: ; preds = %35, %47, %31 %76 = phi i32 [ %74, %47 ], [ %26, %35 ], [ %26, %31 ] %77 = phi i16 [ %45, %47 ], [ 0, %35 ], [ %27, %31 ] %78 = phi i16 [ %40, %47 ], [ %40, %35 ], [ %28, %31 ] %79 = load i32, ptr %18, align 8, !tbaa !18 %80 = sub nsw i32 0, %79 store i32 %80, ptr %18, align 8, !tbaa !18 %81 = load i64, ptr %17, align 8, !tbaa !16 %82 = load i64, ptr @DATAOK, align 8, !tbaa !17 %83 = icmp ne i64 %81, %82 %84 = icmp ne i16 %77, 0 %85 = select i1 %83, i1 %84, i1 false br i1 %85, label %24, label %86, !llvm.loop !23 86: ; preds = %75 %87 = icmp eq i64 %81, %82 br i1 %87, label %88, label %109 88: ; preds = %86 %89 = load i32, ptr @STB0899_CFRM, align 4, !tbaa !21 %90 = call i32 @stb0899_read_regs(ptr noundef nonnull %0, i32 noundef %89, ptr noundef nonnull %2, i32 noundef 2) #3 %91 = load i32, ptr @STB0899_IQSWAP, align 4, !tbaa !21 %92 = call i32 @stb0899_read_reg(ptr noundef nonnull %0, i32 noundef %91) #3 %93 = load i32, ptr @SYM, align 4, !tbaa !21 %94 = call i64 @STB0899_GETFIELD(i32 noundef %93, i32 noundef %92) #3 %95 = icmp eq i64 %94, 0 %96 = load i16, ptr @IQ_SWAP_OFF, align 2 %97 = load i16, ptr @IQ_SWAP_ON, align 2 %98 = select i1 %95, i16 %96, i16 %97 store i16 %98, ptr %21, align 4 %99 = load i32, ptr %2, align 4, !tbaa !21 %100 = load i32, ptr %22, align 4, !tbaa !21 %101 = call i32 @MAKEWORD16(i32 noundef %99, i32 noundef %100) #3 %102 = trunc i32 %101 to i16 %103 = mul i16 %98, %102 store i16 %103, ptr %15, align 8, !tbaa !15 %104 = load i32, ptr %0, align 8, !tbaa !19 %105 = load i32, ptr @FE_DEBUG, align 4, !tbaa !21 %106 = sext i16 %103 to i32 %107 = call i32 (i32, i32, i32, ptr, i32, ...) @dprintk(i32 noundef %104, i32 noundef %105, i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %106) #3 %108 = load i64, ptr %17, align 8, !tbaa !16 br label %109 109: ; preds = %88, %86 %110 = phi i64 [ %108, %88 ], [ %81, %86 ] %111 = trunc i64 %110 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %111 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stb0899_check_data(ptr noundef) local_unnamed_addr #2 declare signext i16 @abs(i16 noundef signext) local_unnamed_addr #2 declare i32 @dprintk(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @stb0899_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @STB0899_SETFIELD_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stb0899_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MSB(i16 noundef signext) local_unnamed_addr #2 declare i32 @LSB(i16 noundef signext) local_unnamed_addr #2 declare i32 @stb0899_write_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stb0899_check_carrier(ptr noundef) local_unnamed_addr #2 declare i32 @stb0899_read_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @STB0899_GETFIELD(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MAKEWORD16(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"stb0899_params", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"stb0899_internal", !7, i64 0, !7, i64 8, !12, i64 16, !7, i64 24, !13, i64 32, !12, i64 36} !12 = !{!"short", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !12, i64 16} !16 = !{!11, !7, i64 24} !17 = !{!7, !7, i64 0} !18 = !{!11, !13, i64 32} !19 = !{!20, !13, i64 0} !20 = !{!"stb0899_state", !13, i64 0, !6, i64 8, !11, i64 16} !21 = !{!13, !13, i64 0} !22 = !{!11, !12, i64 36} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stb0899_algo.c_stb0899_search_data.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stb0899_algo.c_stb0899_search_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CARRIEROK = common local_unnamed_addr global i64 0, align 8 @DATAOK = common local_unnamed_addr global i64 0, align 8 @FE_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Derot freq=%d, mclk=%d\00", align 1 @STB0899_CFD = common local_unnamed_addr global i32 0, align 4 @CFD_ON = common local_unnamed_addr global i32 0, align 4 @CFRM = common local_unnamed_addr global i32 0, align 4 @CFRL = common local_unnamed_addr global i32 0, align 4 @STB0899_CFRM = common local_unnamed_addr global i32 0, align 4 @STB0899_IQSWAP = common local_unnamed_addr global i32 0, align 4 @SYM = common local_unnamed_addr global i32 0, align 4 @IQ_SWAP_ON = common local_unnamed_addr global i16 0, align 2 @IQ_SWAP_OFF = common local_unnamed_addr global i16 0, align 2 @.str.1 = private unnamed_addr constant [31 x i8] c"------> DATAOK ! Derot Freq=%d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stb0899_search_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @stb0899_search_data(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = sdiv i64 %5, 4 %7 = load i64, ptr %3, align 8, !tbaa !11 %8 = sdiv i64 %6, %7 %9 = trunc i64 %8 to i32 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i64, ptr %10, align 8, !tbaa !15 %12 = sdiv i64 %11, 2 %13 = sdiv i64 %12, %7 %14 = trunc i64 %13 to i32 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = load i16, ptr %15, align 8, !tbaa !16 %17 = getelementptr inbounds i8, ptr %0, i64 40 %18 = getelementptr inbounds i8, ptr %0, i64 48 %19 = shl i32 %14, 16 %20 = ashr exact i32 %19, 16 %21 = getelementptr inbounds i8, ptr %0, i64 52 %22 = getelementptr inbounds i8, ptr %2, i64 4 %23 = load i64, ptr %17, align 8, !tbaa !17 br label %24 24: ; preds = %75, %1 %25 = phi i64 [ %23, %1 ], [ %81, %75 ] %26 = phi i32 [ 1, %1 ], [ %76, %75 ] %27 = phi i16 [ 3, %1 ], [ %77, %75 ] %28 = phi i16 [ %16, %1 ], [ %78, %75 ] %29 = load i64, ptr @CARRIEROK, align 8, !tbaa !18 %30 = icmp eq i64 %25, %29 br i1 %30, label %31, label %35 31: ; preds = %24 %32 = call i64 @stb0899_check_data(ptr noundef nonnull %0) #3 %33 = load i64, ptr @DATAOK, align 8, !tbaa !18 %34 = icmp eq i64 %32, %33 br i1 %34, label %75, label %35 35: ; preds = %31, %24 %36 = load i32, ptr %18, align 8, !tbaa !19 %37 = mul i32 %26, %9 %38 = mul i32 %37, %36 %39 = trunc i32 %38 to i16 %40 = add i16 %28, %39 %41 = call signext i16 @abs(i16 noundef signext %40) #3 %42 = sext i16 %41 to i32 %43 = icmp slt i32 %20, %42 %44 = sext i1 %43 to i16 %45 = add i16 %27, %44 %46 = icmp eq i16 %45, 0 br i1 %46, label %75, label %47 47: ; preds = %35 %48 = load i32, ptr %0, align 8, !tbaa !20 %49 = load i32, ptr @FE_DEBUG, align 4, !tbaa !22 %50 = sext i16 %40 to i32 %51 = load i64, ptr %3, align 8, !tbaa !11 %52 = call i32 (i32, i32, i32, ptr, i32, ...) @dprintk(i32 noundef %48, i32 noundef %49, i32 noundef 1, ptr noundef nonnull @.str, i32 noundef %50, i64 noundef %51) #3 %53 = load i32, ptr @STB0899_CFD, align 4, !tbaa !22 %54 = call i32 @stb0899_read_reg(ptr noundef nonnull %0, i32 noundef %53) #3 %55 = load i32, ptr @CFD_ON, align 4, !tbaa !22 %56 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %55, i32 noundef %54, i32 noundef 1) #3 %57 = load i32, ptr @STB0899_CFD, align 4, !tbaa !22 %58 = call i32 @stb0899_write_reg(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %54) #3 %59 = load i32, ptr @CFRM, align 4, !tbaa !22 %60 = load i32, ptr %2, align 4, !tbaa !22 %61 = load i16, ptr %21, align 4, !tbaa !23 %62 = mul i16 %61, %40 %63 = call i32 @MSB(i16 noundef signext %62) #3 %64 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %59, i32 noundef %60, i32 noundef %63) #3 %65 = load i32, ptr @CFRL, align 4, !tbaa !22 %66 = load i32, ptr %22, align 4, !tbaa !22 %67 = load i16, ptr %21, align 4, !tbaa !23 %68 = mul i16 %67, %40 %69 = call i32 @LSB(i16 noundef signext %68) #3 %70 = call i32 @STB0899_SETFIELD_VAL(i32 noundef %65, i32 noundef %66, i32 noundef %69) #3 %71 = load i32, ptr @STB0899_CFRM, align 4, !tbaa !22 %72 = call i32 @stb0899_write_regs(ptr noundef nonnull %0, i32 noundef %71, ptr noundef nonnull %2, i32 noundef 2) #3 %73 = call i32 @stb0899_check_carrier(ptr noundef nonnull %0) #3 %74 = add nsw i32 %26, 1 br label %75 75: ; preds = %35, %47, %31 %76 = phi i32 [ %74, %47 ], [ %26, %35 ], [ %26, %31 ] %77 = phi i16 [ %45, %47 ], [ 0, %35 ], [ %27, %31 ] %78 = phi i16 [ %40, %47 ], [ %40, %35 ], [ %28, %31 ] %79 = load i32, ptr %18, align 8, !tbaa !19 %80 = sub nsw i32 0, %79 store i32 %80, ptr %18, align 8, !tbaa !19 %81 = load i64, ptr %17, align 8, !tbaa !17 %82 = load i64, ptr @DATAOK, align 8, !tbaa !18 %83 = icmp ne i64 %81, %82 %84 = icmp ne i16 %77, 0 %85 = select i1 %83, i1 %84, i1 false br i1 %85, label %24, label %86, !llvm.loop !24 86: ; preds = %75 %87 = icmp eq i64 %81, %82 br i1 %87, label %88, label %109 88: ; preds = %86 %89 = load i32, ptr @STB0899_CFRM, align 4, !tbaa !22 %90 = call i32 @stb0899_read_regs(ptr noundef nonnull %0, i32 noundef %89, ptr noundef nonnull %2, i32 noundef 2) #3 %91 = load i32, ptr @STB0899_IQSWAP, align 4, !tbaa !22 %92 = call i32 @stb0899_read_reg(ptr noundef nonnull %0, i32 noundef %91) #3 %93 = load i32, ptr @SYM, align 4, !tbaa !22 %94 = call i64 @STB0899_GETFIELD(i32 noundef %93, i32 noundef %92) #3 %95 = icmp eq i64 %94, 0 %96 = load i16, ptr @IQ_SWAP_OFF, align 2 %97 = load i16, ptr @IQ_SWAP_ON, align 2 %98 = select i1 %95, i16 %96, i16 %97 store i16 %98, ptr %21, align 4 %99 = load i32, ptr %2, align 4, !tbaa !22 %100 = load i32, ptr %22, align 4, !tbaa !22 %101 = call i32 @MAKEWORD16(i32 noundef %99, i32 noundef %100) #3 %102 = trunc i32 %101 to i16 %103 = mul i16 %98, %102 store i16 %103, ptr %15, align 8, !tbaa !16 %104 = load i32, ptr %0, align 8, !tbaa !20 %105 = load i32, ptr @FE_DEBUG, align 4, !tbaa !22 %106 = sext i16 %103 to i32 %107 = call i32 (i32, i32, i32, ptr, i32, ...) @dprintk(i32 noundef %104, i32 noundef %105, i32 noundef 1, ptr noundef nonnull @.str.1, i32 noundef %106) #3 %108 = load i64, ptr %17, align 8, !tbaa !17 br label %109 109: ; preds = %88, %86 %110 = phi i64 [ %108, %88 ], [ %81, %86 ] %111 = trunc i64 %110 to i32 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %111 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @stb0899_check_data(ptr noundef) local_unnamed_addr #2 declare signext i16 @abs(i16 noundef signext) local_unnamed_addr #2 declare i32 @dprintk(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #2 declare i32 @stb0899_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @STB0899_SETFIELD_VAL(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stb0899_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MSB(i16 noundef signext) local_unnamed_addr #2 declare i32 @LSB(i16 noundef signext) local_unnamed_addr #2 declare i32 @stb0899_write_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stb0899_check_carrier(ptr noundef) local_unnamed_addr #2 declare i32 @stb0899_read_regs(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @STB0899_GETFIELD(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @MAKEWORD16(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"stb0899_params", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"stb0899_internal", !8, i64 0, !8, i64 8, !13, i64 16, !8, i64 24, !14, i64 32, !13, i64 36} !13 = !{!"short", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!12, !8, i64 8} !16 = !{!12, !13, i64 16} !17 = !{!12, !8, i64 24} !18 = !{!8, !8, i64 0} !19 = !{!12, !14, i64 32} !20 = !{!21, !14, i64 0} !21 = !{!"stb0899_state", !14, i64 0, !7, i64 8, !12, i64 16} !22 = !{!14, !14, i64 0} !23 = !{!12, !13, i64 36} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_dvb-frontends_extr_stb0899_algo.c_stb0899_search_data
; ModuleID = 'AnghaBench/linux/arch/arm/mach-imx/extr_mx31moboard-devboard.c_devboard_isp1105_set_vbus.c' source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_mx31moboard-devboard.c_devboard_isp1105_set_vbus.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @USBH1_VBUSEN_B = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @devboard_isp1105_set_vbus], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @devboard_isp1105_set_vbus(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr @USBH1_VBUSEN_B, align 4, !tbaa !5 %5 = zext i1 %3 to i32 %6 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef %5) #2 ret i32 0 } declare i32 @gpio_set_value(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-imx/extr_mx31moboard-devboard.c_devboard_isp1105_set_vbus.c' source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_mx31moboard-devboard.c_devboard_isp1105_set_vbus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USBH1_VBUSEN_B = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @devboard_isp1105_set_vbus], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @devboard_isp1105_set_vbus(ptr nocapture readnone %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 %4 = load i32, ptr @USBH1_VBUSEN_B, align 4, !tbaa !6 %5 = zext i1 %3 to i32 %6 = tail call i32 @gpio_set_value(i32 noundef %4, i32 noundef %5) #2 ret i32 0 } declare i32 @gpio_set_value(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"}
linux_arch_arm_mach-imx_extr_mx31moboard-devboard.c_devboard_isp1105_set_vbus
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_pin.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_pin.c" target datalayout = "e-m:e-p270:32:32-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 @xen_pgd_pin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xen_pgd_pin(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @__xen_pgd_pin(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @__xen_pgd_pin(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 = !{!"mm_struct", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_pin.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/xen/extr_mmu.c_xen_pgd_pin.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 @xen_pgd_pin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xen_pgd_pin(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @__xen_pgd_pin(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @__xen_pgd_pin(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 = !{!"mm_struct", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_arch_x86_xen_extr_mmu.c_xen_pgd_pin
; ModuleID = 'AnghaBench/freebsd/sys/netinet/extr_in_pcb.c_inp_wlock.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_in_pcb.c_inp_wlock.c" target datalayout = "e-m:e-p270:32:32-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 @inp_wlock(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @INP_WLOCK(ptr noundef %0) #2 ret void } declare i32 @INP_WLOCK(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/netinet/extr_in_pcb.c_inp_wlock.c' source_filename = "AnghaBench/freebsd/sys/netinet/extr_in_pcb.c_inp_wlock.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 @inp_wlock(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @INP_WLOCK(ptr noundef %0) #2 ret void } declare i32 @INP_WLOCK(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_netinet_extr_in_pcb.c_inp_wlock
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_33336.c_jump_payload_not_used.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_33336.c_jump_payload_not_used.c" target datalayout = "e-m:e-p270:32:32-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 @jump_payload_not_used(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { tail call void asm sideeffect "mov $$kernel_code, %eax\0Acall *%eax\0A", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !5 ret i32 undef } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{i64 461, i64 491}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_33336.c_jump_payload_not_used.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_33336.c_jump_payload_not_used.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 @jump_payload_not_used(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { tail call void asm sideeffect "mov $$kernel_code, %eax\0Acall *%eax\0A", ""() #1, !srcloc !6 ret i32 undef } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{i64 461, i64 491}
exploitdb_exploits_linux_local_extr_33336.c_jump_payload_not_used
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_prcm.c_prm_rmw_mod_reg_bits.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_prcm.c_prm_rmw_mod_reg_bits.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @prm_rmw_mod_reg_bits(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @prm_read_mod_reg(i32 noundef %2, i32 noundef %3) #2 %6 = xor i32 %0, -1 %7 = and i32 %5, %6 %8 = or i32 %7, %1 %9 = tail call i32 @prm_write_mod_reg(i32 noundef %8, i32 noundef %2, i32 noundef %3) #2 ret i32 %8 } declare i32 @prm_read_mod_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @prm_write_mod_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_prcm.c_prm_rmw_mod_reg_bits.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-omap2/extr_prcm.c_prm_rmw_mod_reg_bits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @prm_rmw_mod_reg_bits(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @prm_read_mod_reg(i32 noundef %2, i32 noundef %3) #2 %6 = xor i32 %0, -1 %7 = and i32 %5, %6 %8 = or i32 %7, %1 %9 = tail call i32 @prm_write_mod_reg(i32 noundef %8, i32 noundef %2, i32 noundef %3) #2 ret i32 %8 } declare i32 @prm_read_mod_reg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @prm_write_mod_reg(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_arch_arm_mach-omap2_extr_prcm.c_prm_rmw_mod_reg_bits
; ModuleID = 'AnghaBench/mpv/video/out/win32/extr_droptarget.c_DropTarget_Destroy.c' source_filename = "AnghaBench/mpv/video/out/win32/extr_droptarget.c_DropTarget_Destroy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @DropTarget_Destroy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @DropTarget_Destroy(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @SAFE_RELEASE(i32 noundef %2) #2 %4 = tail call i32 @talloc_free(ptr noundef nonnull %0) #2 ret void } declare i32 @SAFE_RELEASE(i32 noundef) local_unnamed_addr #1 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"droptarget", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/mpv/video/out/win32/extr_droptarget.c_DropTarget_Destroy.c' source_filename = "AnghaBench/mpv/video/out/win32/extr_droptarget.c_DropTarget_Destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @DropTarget_Destroy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @DropTarget_Destroy(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @SAFE_RELEASE(i32 noundef %2) #2 %4 = tail call i32 @talloc_free(ptr noundef nonnull %0) #2 ret void } declare i32 @SAFE_RELEASE(i32 noundef) local_unnamed_addr #1 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"droptarget", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
mpv_video_out_win32_extr_droptarget.c_DropTarget_Destroy
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_ds1.c_ds_setuppch.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_ds1.c_ds_setuppch.c" target datalayout = "e-m:e-p270:32:32-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.sc_pchinfo = type { i32, i32, i64, i64, i32 } @AFMT_16BIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ds_setuppch], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ds_setuppch(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @AFMT_CHANNEL(i32 noundef %2) #2 %4 = icmp sgt i32 %3, 1 %5 = zext i1 %4 to i32 %6 = load i32, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr @AFMT_16BIT, align 4, !tbaa !11 %8 = and i32 %7, %6 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = getelementptr inbounds %struct.sc_pchinfo, ptr %0, i64 0, i32 4 %12 = load i32, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @sndbuf_getbufaddr(i32 noundef %12) #2 %14 = load i32, ptr %11, align 8, !tbaa !12 %15 = tail call i32 @sndbuf_getsize(i32 noundef %14) #2 %16 = getelementptr inbounds %struct.sc_pchinfo, ptr %0, i64 0, i32 3 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.sc_pchinfo, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = tail call i32 @ds_initpbank(i64 noundef %17, i32 noundef %5, i32 noundef %5, i32 noundef %10, i32 noundef %19, i32 noundef %13, i32 noundef %15) #2 %21 = load i64, ptr %16, align 8, !tbaa !13 %22 = add nsw i64 %21, 1 %23 = load i32, ptr %18, align 4, !tbaa !14 %24 = tail call i32 @ds_initpbank(i64 noundef %22, i32 noundef %5, i32 noundef %5, i32 noundef %10, i32 noundef %23, i32 noundef %13, i32 noundef %15) #2 %25 = getelementptr inbounds %struct.sc_pchinfo, ptr %0, i64 0, i32 2 %26 = load i64, ptr %25, align 8, !tbaa !15 %27 = load i32, ptr %18, align 4, !tbaa !14 %28 = tail call i32 @ds_initpbank(i64 noundef %26, i32 noundef 2, i32 noundef %5, i32 noundef %10, i32 noundef %27, i32 noundef %13, i32 noundef %15) #2 %29 = load i64, ptr %25, align 8, !tbaa !15 %30 = add nsw i64 %29, 1 %31 = load i32, ptr %18, align 4, !tbaa !14 %32 = tail call i32 @ds_initpbank(i64 noundef %30, i32 noundef 2, i32 noundef %5, i32 noundef %10, i32 noundef %31, i32 noundef %13, i32 noundef %15) #2 ret void } declare i32 @AFMT_CHANNEL(i32 noundef) local_unnamed_addr #1 declare i32 @sndbuf_getbufaddr(i32 noundef) local_unnamed_addr #1 declare i32 @sndbuf_getsize(i32 noundef) local_unnamed_addr #1 declare i32 @ds_initpbank(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sc_pchinfo", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !10, i64 16} !14 = !{!6, !7, i64 4} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_ds1.c_ds_setuppch.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_ds1.c_ds_setuppch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AFMT_16BIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ds_setuppch], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ds_setuppch(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @AFMT_CHANNEL(i32 noundef %2) #2 %4 = icmp sgt i32 %3, 1 %5 = zext i1 %4 to i32 %6 = load i32, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr @AFMT_16BIT, align 4, !tbaa !12 %8 = and i32 %7, %6 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i32 %11 = getelementptr inbounds i8, ptr %0, i64 24 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = tail call i32 @sndbuf_getbufaddr(i32 noundef %12) #2 %14 = load i32, ptr %11, align 8, !tbaa !13 %15 = tail call i32 @sndbuf_getsize(i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 16 %17 = load i64, ptr %16, align 8, !tbaa !14 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = tail call i32 @ds_initpbank(i64 noundef %17, i32 noundef %5, i32 noundef %5, i32 noundef %10, i32 noundef %19, i32 noundef %13, i32 noundef %15) #2 %21 = load i64, ptr %16, align 8, !tbaa !14 %22 = add nsw i64 %21, 1 %23 = load i32, ptr %18, align 4, !tbaa !15 %24 = tail call i32 @ds_initpbank(i64 noundef %22, i32 noundef %5, i32 noundef %5, i32 noundef %10, i32 noundef %23, i32 noundef %13, i32 noundef %15) #2 %25 = getelementptr inbounds i8, ptr %0, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !16 %27 = load i32, ptr %18, align 4, !tbaa !15 %28 = tail call i32 @ds_initpbank(i64 noundef %26, i32 noundef 2, i32 noundef %5, i32 noundef %10, i32 noundef %27, i32 noundef %13, i32 noundef %15) #2 %29 = load i64, ptr %25, align 8, !tbaa !16 %30 = add nsw i64 %29, 1 %31 = load i32, ptr %18, align 4, !tbaa !15 %32 = tail call i32 @ds_initpbank(i64 noundef %30, i32 noundef 2, i32 noundef %5, i32 noundef %10, i32 noundef %31, i32 noundef %13, i32 noundef %15) #2 ret void } declare i32 @AFMT_CHANNEL(i32 noundef) local_unnamed_addr #1 declare i32 @sndbuf_getbufaddr(i32 noundef) local_unnamed_addr #1 declare i32 @sndbuf_getsize(i32 noundef) local_unnamed_addr #1 declare i32 @ds_initpbank(i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sc_pchinfo", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !11, i64 16} !15 = !{!7, !8, i64 4} !16 = !{!7, !11, i64 8}
freebsd_sys_dev_sound_pci_extr_ds1.c_ds_setuppch
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_write_root_anchor.c' source_filename = "AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_write_root_anchor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @verb = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [32 x i8] c"failed to write all data to %s\0A\00", align 1 @str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_root_anchor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_root_anchor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 store ptr null, ptr %3, align 8, !tbaa !5 %4 = tail call i32 @BIO_seek(ptr noundef %1, i32 noundef 0) #5 %5 = call i32 @BIO_get_mem_data(ptr noundef %1, ptr noundef nonnull %3) #5 %6 = icmp ne i32 %5, 0 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i64, ptr @verb, align 8, !tbaa !9 %12 = icmp eq i64 %11, 0 br i1 %12, label %50, label %13 13: ; preds = %10 %14 = call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %50 15: ; preds = %2 %16 = call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1) %17 = icmp eq ptr %16, null br i1 %17, label %18, label %25 18: ; preds = %15 %19 = load i64, ptr @verb, align 8, !tbaa !9 %20 = icmp eq i64 %19, 0 br i1 %20, label %50, label %21 21: ; preds = %18 %22 = load i64, ptr @errno, align 8, !tbaa !9 %23 = call ptr @strerror(i64 noundef %22) #5 %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %0, ptr noundef %23) br label %50 25: ; preds = %15 %26 = load ptr, ptr %3, align 8, !tbaa !5 %27 = sext i32 %5 to i64 %28 = call i32 @fwrite(ptr noundef %26, i64 noundef %27, i32 noundef 1, ptr noundef nonnull %16) #5 %29 = icmp eq i32 %28, 1 %30 = load i64, ptr @verb, align 8 %31 = icmp eq i64 %30, 0 %32 = select i1 %29, i1 true, i1 %31 br i1 %32, label %43, label %33 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %0) %35 = load i64, ptr @verb, align 8, !tbaa !9 %36 = icmp ne i64 %35, 0 %37 = load i64, ptr @errno, align 8 %38 = icmp ne i64 %37, 0 %39 = select i1 %36, i1 %38, i1 false br i1 %39, label %40, label %43 40: ; preds = %33 %41 = call ptr @strerror(i64 noundef %37) #5 %42 = call i32 @puts(ptr nonnull dereferenceable(1) %41) br label %43 43: ; preds = %33, %40, %25 %44 = call i32 @fflush(ptr noundef nonnull %16) %45 = call i32 @_fileno(ptr noundef nonnull %16) #5 %46 = call i64 @_get_osfhandle(i32 noundef %45) #5 %47 = trunc i64 %46 to i32 %48 = call i32 @FlushFileBuffers(i32 noundef %47) #5 %49 = call i32 @fclose(ptr noundef nonnull %16) br label %50 50: ; preds = %18, %21, %10, %13, %43 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 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 @BIO_seek(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIO_get_mem_data(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 declare ptr @strerror(i64 noundef) local_unnamed_addr #2 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @FlushFileBuffers(i32 noundef) local_unnamed_addr #2 declare i64 @_get_osfhandle(i32 noundef) local_unnamed_addr #2 declare i32 @_fileno(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_write_root_anchor.c' source_filename = "AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_write_root_anchor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @verb = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @errno = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [32 x i8] c"failed to write all data to %s\0A\00", align 1 @str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_root_anchor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_root_anchor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5 store ptr null, ptr %3, align 8, !tbaa !6 %4 = tail call i32 @BIO_seek(ptr noundef %1, i32 noundef 0) #5 %5 = call i32 @BIO_get_mem_data(ptr noundef %1, ptr noundef nonnull %3) #5 %6 = icmp ne i32 %5, 0 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i64, ptr @verb, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %50, label %13 13: ; preds = %10 %14 = call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %50 15: ; preds = %2 %16 = call ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.1) %17 = icmp eq ptr %16, null br i1 %17, label %18, label %25 18: ; preds = %15 %19 = load i64, ptr @verb, align 8, !tbaa !10 %20 = icmp eq i64 %19, 0 br i1 %20, label %50, label %21 21: ; preds = %18 %22 = load i64, ptr @errno, align 8, !tbaa !10 %23 = call ptr @strerror(i64 noundef %22) #5 %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %0, ptr noundef %23) br label %50 25: ; preds = %15 %26 = load ptr, ptr %3, align 8, !tbaa !6 %27 = sext i32 %5 to i64 %28 = call i32 @fwrite(ptr noundef %26, i64 noundef %27, i32 noundef 1, ptr noundef nonnull %16) #5 %29 = icmp eq i32 %28, 1 %30 = load i64, ptr @verb, align 8 %31 = icmp eq i64 %30, 0 %32 = select i1 %29, i1 true, i1 %31 br i1 %32, label %43, label %33 33: ; preds = %25 %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %0) %35 = load i64, ptr @verb, align 8, !tbaa !10 %36 = icmp ne i64 %35, 0 %37 = load i64, ptr @errno, align 8 %38 = icmp ne i64 %37, 0 %39 = select i1 %36, i1 %38, i1 false br i1 %39, label %40, label %43 40: ; preds = %33 %41 = call ptr @strerror(i64 noundef %37) #5 %42 = call i32 @puts(ptr nonnull dereferenceable(1) %41) br label %43 43: ; preds = %33, %40, %25 %44 = call i32 @fflush(ptr noundef nonnull %16) %45 = call i32 @_fileno(ptr noundef nonnull %16) #5 %46 = call i64 @_get_osfhandle(i32 noundef %45) #5 %47 = trunc i64 %46 to i32 %48 = call i32 @FlushFileBuffers(i32 noundef %47) #5 %49 = call i32 @fclose(ptr noundef nonnull %16) br label %50 50: ; preds = %18, %21, %10, %13, %43 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5 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 @BIO_seek(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @BIO_get_mem_data(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3 declare ptr @strerror(i64 noundef) local_unnamed_addr #2 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3 declare i32 @FlushFileBuffers(i32 noundef) local_unnamed_addr #2 declare i64 @_get_osfhandle(i32 noundef) local_unnamed_addr #2 declare i32 @_fileno(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
freebsd_contrib_unbound_smallapp_extr_unbound-anchor.c_write_root_anchor
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_oproxy.c_nvkm_oproxy_wr08.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_oproxy.c_nvkm_oproxy_wr08.c" target datalayout = "e-m:e-p270:32:32-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 @nvkm_oproxy_wr08], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nvkm_oproxy_wr08(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @nvkm_oproxy(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @nvkm_object_wr08(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2 ret i32 %6 } declare i32 @nvkm_object_wr08(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nvkm_oproxy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_oproxy.c_nvkm_oproxy_wr08.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_oproxy.c_nvkm_oproxy_wr08.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 @nvkm_oproxy_wr08], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nvkm_oproxy_wr08(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @nvkm_oproxy(ptr noundef %0) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @nvkm_object_wr08(i32 noundef %5, i32 noundef %1, i32 noundef %2) #2 ret i32 %6 } declare i32 @nvkm_object_wr08(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @nvkm_oproxy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_nouveau_nvkm_core_extr_oproxy.c_nvkm_oproxy_wr08
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_stv6110x.c_stv6110x_get_bandwidth.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_stv6110x.c_stv6110x_get_bandwidth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @STV6110x_CTRL3 = dso_local local_unnamed_addr global i64 0, align 8 @CTRL3_CF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @stv6110x_get_bandwidth], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @stv6110x_get_bandwidth(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @STV6110x_CTRL3, align 8, !tbaa !10 %5 = load ptr, ptr %3, align 8, !tbaa !12 %6 = getelementptr inbounds i32, ptr %5, i64 %4 %7 = tail call i32 @stv6110x_read_reg(ptr noundef nonnull %3, i64 noundef %4, ptr noundef %6) #2 %8 = load i32, ptr @CTRL3_CF, align 4, !tbaa !14 %9 = load ptr, ptr %3, align 8, !tbaa !12 %10 = load i64, ptr @STV6110x_CTRL3, align 8, !tbaa !10 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = tail call i32 @STV6110x_GETFIELD(i32 noundef %8, i32 noundef %12) #2 %14 = mul i32 %13, 2000000 %15 = add i32 %14, 10000000 store i32 %15, ptr %1, align 4, !tbaa !14 ret i32 0 } declare i32 @stv6110x_read_reg(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STV6110x_GETFIELD(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 = !{!"dvb_frontend", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"stv6110x_state", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_stv6110x.c_stv6110x_get_bandwidth.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_stv6110x.c_stv6110x_get_bandwidth.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STV6110x_CTRL3 = common local_unnamed_addr global i64 0, align 8 @CTRL3_CF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @stv6110x_get_bandwidth], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @stv6110x_get_bandwidth(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @STV6110x_CTRL3, align 8, !tbaa !11 %5 = load ptr, ptr %3, align 8, !tbaa !13 %6 = getelementptr inbounds i32, ptr %5, i64 %4 %7 = tail call i32 @stv6110x_read_reg(ptr noundef nonnull %3, i64 noundef %4, ptr noundef %6) #2 %8 = load i32, ptr @CTRL3_CF, align 4, !tbaa !15 %9 = load ptr, ptr %3, align 8, !tbaa !13 %10 = load i64, ptr @STV6110x_CTRL3, align 8, !tbaa !11 %11 = getelementptr inbounds i32, ptr %9, i64 %10 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = tail call i32 @STV6110x_GETFIELD(i32 noundef %8, i32 noundef %12) #2 %14 = mul i32 %13, 2000000 %15 = add i32 %14, 10000000 store i32 %15, ptr %1, align 4, !tbaa !15 ret i32 0 } declare i32 @stv6110x_read_reg(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @STV6110x_GETFIELD(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 = !{!"dvb_frontend", !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 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"stv6110x_state", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0}
fastsocket_kernel_drivers_media_dvb_frontends_extr_stv6110x.c_stv6110x_get_bandwidth
; ModuleID = 'AnghaBench/linux/fs/ecryptfs/extr_crypto.c_crypt_scatterlist.c' source_filename = "AnghaBench/linux/fs/ecryptfs/extr_crypto.c_crypt_scatterlist.c" target datalayout = "e-m:e-p270:32:32-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.extent_crypt_result = type { i32, i32 } %struct.ecryptfs_crypt_stat = type { i32, i32, i32, i32, i32 } @ECRYPTFS_STRUCT_INITIALIZED = dso_local local_unnamed_addr global i32 0, align 4 @ecryptfs_verbosity = dso_local local_unnamed_addr global i64 0, align 8 @KERN_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Key size [%zd]; key:\0A\00", align 1 @GFP_NOFS = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_REQ_MAY_BACKLOG = dso_local local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_REQ_MAY_SLEEP = dso_local local_unnamed_addr global i32 0, align 4 @extent_crypt_complete = dso_local local_unnamed_addr global i32 0, align 4 @ECRYPTFS_KEY_SET = dso_local local_unnamed_addr global i32 0, align 4 @KERN_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Error setting key; rc = [%d]\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENCRYPT = dso_local local_unnamed_addr global i32 0, align 4 @EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @crypt_scatterlist], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @crypt_scatterlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca %struct.extent_crypt_result, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = icmp eq ptr %0, null br i1 %8, label %19, label %9 9: ; preds = %6 %10 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 4 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %9 %14 = load i32, ptr %0, align 4, !tbaa !10 %15 = load i32, ptr @ECRYPTFS_STRUCT_INITIALIZED, align 4, !tbaa !11 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 %18 = zext i1 %17 to i32 br label %19 19: ; preds = %13, %9, %6 %20 = phi i32 [ 1, %9 ], [ 1, %6 ], [ %18, %13 ] %21 = tail call i32 @BUG_ON(i32 noundef %20) #3 %22 = load i64, ptr @ecryptfs_verbosity, align 8, !tbaa !12 %23 = icmp sgt i64 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i64 @unlikely(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %36, label %27 27: ; preds = %19 %28 = load i32, ptr @KERN_DEBUG, align 4, !tbaa !11 %29 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 1 %30 = load i32, ptr %29, align 4, !tbaa !14 %31 = tail call i32 @ecryptfs_printk(i32 noundef %28, ptr noundef nonnull @.str, i32 noundef %30) #3 %32 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 3 %33 = load i32, ptr %32, align 4, !tbaa !15 %34 = load i32, ptr %29, align 4, !tbaa !14 %35 = tail call i32 @ecryptfs_dump_hex(i32 noundef %33, i32 noundef %34) #3 br label %36 36: ; preds = %27, %19 %37 = getelementptr inbounds %struct.extent_crypt_result, ptr %7, i64 0, i32 1 %38 = call i32 @init_completion(ptr noundef nonnull %37) #3 %39 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 2 %40 = call i32 @mutex_lock(ptr noundef nonnull %39) #3 %41 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 4 %42 = load i32, ptr %41, align 4, !tbaa !5 %43 = load i32, ptr @GFP_NOFS, align 4, !tbaa !11 %44 = call ptr @skcipher_request_alloc(i32 noundef %42, i32 noundef %43) #3 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %36 %47 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %48 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %49 = sub nsw i32 0, %48 br label %102 50: ; preds = %36 %51 = load i32, ptr @CRYPTO_TFM_REQ_MAY_BACKLOG, align 4, !tbaa !11 %52 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !11 %53 = or i32 %52, %51 %54 = load i32, ptr @extent_crypt_complete, align 4, !tbaa !11 %55 = call i32 @skcipher_request_set_callback(ptr noundef nonnull %44, i32 noundef %53, i32 noundef %54, ptr noundef nonnull %7) #3 %56 = load i32, ptr %0, align 4, !tbaa !10 %57 = load i32, ptr @ECRYPTFS_KEY_SET, align 4, !tbaa !11 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %78 60: ; preds = %50 %61 = load i32, ptr %41, align 4, !tbaa !5 %62 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 3 %63 = load i32, ptr %62, align 4, !tbaa !15 %64 = getelementptr inbounds %struct.ecryptfs_crypt_stat, ptr %0, i64 0, i32 1 %65 = load i32, ptr %64, align 4, !tbaa !14 %66 = call i32 @crypto_skcipher_setkey(i32 noundef %61, i32 noundef %63, i32 noundef %65) #3 %67 = icmp eq i32 %66, 0 br i1 %67, label %74, label %68 68: ; preds = %60 %69 = load i32, ptr @KERN_ERR, align 4, !tbaa !11 %70 = call i32 @ecryptfs_printk(i32 noundef %69, ptr noundef nonnull @.str.1, i32 noundef %66) #3 %71 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %72 = load i32, ptr @EINVAL, align 4, !tbaa !11 %73 = sub nsw i32 0, %72 br label %102 74: ; preds = %60 %75 = load i32, ptr @ECRYPTFS_KEY_SET, align 4, !tbaa !11 %76 = load i32, ptr %0, align 4, !tbaa !10 %77 = or i32 %76, %75 store i32 %77, ptr %0, align 4, !tbaa !10 br label %78 78: ; preds = %74, %50 %79 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %80 = call i32 @skcipher_request_set_crypt(ptr noundef nonnull %44, ptr noundef %2, ptr noundef %1, i32 noundef %3, ptr noundef %4) #3 %81 = load i32, ptr @ENCRYPT, align 4, !tbaa !11 %82 = icmp eq i32 %81, %5 br i1 %82, label %83, label %85 83: ; preds = %78 %84 = call i32 @crypto_skcipher_encrypt(ptr noundef nonnull %44) #3 br label %87 85: ; preds = %78 %86 = call i32 @crypto_skcipher_decrypt(ptr noundef nonnull %44) #3 br label %87 87: ; preds = %85, %83 %88 = phi i32 [ %84, %83 ], [ %86, %85 ] %89 = load i32, ptr @EINPROGRESS, align 4, !tbaa !11 %90 = sub nsw i32 0, %89 %91 = icmp eq i32 %88, %90 br i1 %91, label %96, label %92 92: ; preds = %87 %93 = load i32, ptr @EBUSY, align 4, !tbaa !11 %94 = sub nsw i32 0, %93 %95 = icmp eq i32 %88, %94 br i1 %95, label %96, label %102 96: ; preds = %92, %87 %97 = load ptr, ptr %44, align 8, !tbaa !16 %98 = getelementptr inbounds %struct.extent_crypt_result, ptr %97, i64 0, i32 1 %99 = call i32 @wait_for_completion(ptr noundef nonnull %98) #3 %100 = load i32, ptr %97, align 4, !tbaa !20 %101 = call i32 @reinit_completion(ptr noundef nonnull %98) #3 br label %102 102: ; preds = %92, %96, %68, %46 %103 = phi i32 [ %100, %96 ], [ %88, %92 ], [ %73, %68 ], [ %49, %46 ] %104 = call i32 @skcipher_request_free(ptr noundef %44) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %103 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ecryptfs_printk(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ecryptfs_dump_hex(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @init_completion(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare ptr @skcipher_request_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @skcipher_request_set_callback(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_setkey(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skcipher_request_set_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_encrypt(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_decrypt(ptr noundef) local_unnamed_addr #2 declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #2 declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @skcipher_request_free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"ecryptfs_crypt_stat", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!6, !7, i64 12} !16 = !{!17, !19, i64 0} !17 = !{!"skcipher_request", !18, i64 0} !18 = !{!"TYPE_2__", !19, i64 0} !19 = !{!"any pointer", !8, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"extent_crypt_result", !7, i64 0, !7, i64 4}
; ModuleID = 'AnghaBench/linux/fs/ecryptfs/extr_crypto.c_crypt_scatterlist.c' source_filename = "AnghaBench/linux/fs/ecryptfs/extr_crypto.c_crypt_scatterlist.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.extent_crypt_result = type { i32, i32 } @ECRYPTFS_STRUCT_INITIALIZED = common local_unnamed_addr global i32 0, align 4 @ecryptfs_verbosity = common local_unnamed_addr global i64 0, align 8 @KERN_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Key size [%zd]; key:\0A\00", align 1 @GFP_NOFS = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_REQ_MAY_BACKLOG = common local_unnamed_addr global i32 0, align 4 @CRYPTO_TFM_REQ_MAY_SLEEP = common local_unnamed_addr global i32 0, align 4 @extent_crypt_complete = common local_unnamed_addr global i32 0, align 4 @ECRYPTFS_KEY_SET = common local_unnamed_addr global i32 0, align 4 @KERN_ERR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"Error setting key; rc = [%d]\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENCRYPT = common local_unnamed_addr global i32 0, align 4 @EINPROGRESS = common local_unnamed_addr global i32 0, align 4 @EBUSY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @crypt_scatterlist], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @crypt_scatterlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca %struct.extent_crypt_result, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = icmp eq ptr %0, null br i1 %8, label %19, label %9 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %9 %14 = load i32, ptr %0, align 4, !tbaa !11 %15 = load i32, ptr @ECRYPTFS_STRUCT_INITIALIZED, align 4, !tbaa !12 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 %18 = zext i1 %17 to i32 br label %19 19: ; preds = %13, %9, %6 %20 = phi i32 [ 1, %9 ], [ 1, %6 ], [ %18, %13 ] %21 = tail call i32 @BUG_ON(i32 noundef %20) #3 %22 = load i64, ptr @ecryptfs_verbosity, align 8, !tbaa !13 %23 = icmp sgt i64 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i64 @unlikely(i32 noundef %24) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %36, label %27 27: ; preds = %19 %28 = load i32, ptr @KERN_DEBUG, align 4, !tbaa !12 %29 = getelementptr inbounds i8, ptr %0, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !15 %31 = tail call i32 @ecryptfs_printk(i32 noundef %28, ptr noundef nonnull @.str, i32 noundef %30) #3 %32 = getelementptr inbounds i8, ptr %0, i64 12 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = load i32, ptr %29, align 4, !tbaa !15 %35 = tail call i32 @ecryptfs_dump_hex(i32 noundef %33, i32 noundef %34) #3 br label %36 36: ; preds = %27, %19 %37 = getelementptr inbounds i8, ptr %7, i64 4 %38 = call i32 @init_completion(ptr noundef nonnull %37) #3 %39 = getelementptr inbounds i8, ptr %0, i64 8 %40 = call i32 @mutex_lock(ptr noundef nonnull %39) #3 %41 = getelementptr inbounds i8, ptr %0, i64 16 %42 = load i32, ptr %41, align 4, !tbaa !6 %43 = load i32, ptr @GFP_NOFS, align 4, !tbaa !12 %44 = call ptr @skcipher_request_alloc(i32 noundef %42, i32 noundef %43) #3 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %36 %47 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %48 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %49 = sub nsw i32 0, %48 br label %102 50: ; preds = %36 %51 = load i32, ptr @CRYPTO_TFM_REQ_MAY_BACKLOG, align 4, !tbaa !12 %52 = load i32, ptr @CRYPTO_TFM_REQ_MAY_SLEEP, align 4, !tbaa !12 %53 = or i32 %52, %51 %54 = load i32, ptr @extent_crypt_complete, align 4, !tbaa !12 %55 = call i32 @skcipher_request_set_callback(ptr noundef nonnull %44, i32 noundef %53, i32 noundef %54, ptr noundef nonnull %7) #3 %56 = load i32, ptr %0, align 4, !tbaa !11 %57 = load i32, ptr @ECRYPTFS_KEY_SET, align 4, !tbaa !12 %58 = and i32 %57, %56 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %78 60: ; preds = %50 %61 = load i32, ptr %41, align 4, !tbaa !6 %62 = getelementptr inbounds i8, ptr %0, i64 12 %63 = load i32, ptr %62, align 4, !tbaa !16 %64 = getelementptr inbounds i8, ptr %0, i64 4 %65 = load i32, ptr %64, align 4, !tbaa !15 %66 = call i32 @crypto_skcipher_setkey(i32 noundef %61, i32 noundef %63, i32 noundef %65) #3 %67 = icmp eq i32 %66, 0 br i1 %67, label %74, label %68 68: ; preds = %60 %69 = load i32, ptr @KERN_ERR, align 4, !tbaa !12 %70 = call i32 @ecryptfs_printk(i32 noundef %69, ptr noundef nonnull @.str.1, i32 noundef %66) #3 %71 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %72 = load i32, ptr @EINVAL, align 4, !tbaa !12 %73 = sub nsw i32 0, %72 br label %102 74: ; preds = %60 %75 = load i32, ptr @ECRYPTFS_KEY_SET, align 4, !tbaa !12 %76 = load i32, ptr %0, align 4, !tbaa !11 %77 = or i32 %76, %75 store i32 %77, ptr %0, align 4, !tbaa !11 br label %78 78: ; preds = %74, %50 %79 = call i32 @mutex_unlock(ptr noundef nonnull %39) #3 %80 = call i32 @skcipher_request_set_crypt(ptr noundef nonnull %44, ptr noundef %2, ptr noundef %1, i32 noundef %3, ptr noundef %4) #3 %81 = load i32, ptr @ENCRYPT, align 4, !tbaa !12 %82 = icmp eq i32 %81, %5 br i1 %82, label %83, label %85 83: ; preds = %78 %84 = call i32 @crypto_skcipher_encrypt(ptr noundef nonnull %44) #3 br label %87 85: ; preds = %78 %86 = call i32 @crypto_skcipher_decrypt(ptr noundef nonnull %44) #3 br label %87 87: ; preds = %85, %83 %88 = phi i32 [ %84, %83 ], [ %86, %85 ] %89 = load i32, ptr @EINPROGRESS, align 4, !tbaa !12 %90 = sub nsw i32 0, %89 %91 = icmp eq i32 %88, %90 br i1 %91, label %96, label %92 92: ; preds = %87 %93 = load i32, ptr @EBUSY, align 4, !tbaa !12 %94 = sub nsw i32 0, %93 %95 = icmp eq i32 %88, %94 br i1 %95, label %96, label %102 96: ; preds = %92, %87 %97 = load ptr, ptr %44, align 8, !tbaa !17 %98 = getelementptr inbounds i8, ptr %97, i64 4 %99 = call i32 @wait_for_completion(ptr noundef nonnull %98) #3 %100 = load i32, ptr %97, align 4, !tbaa !21 %101 = call i32 @reinit_completion(ptr noundef nonnull %98) #3 br label %102 102: ; preds = %92, %96, %68, %46 %103 = phi i32 [ %100, %96 ], [ %88, %92 ], [ %73, %68 ], [ %49, %46 ] %104 = call i32 @skcipher_request_free(ptr noundef %44) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %103 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i32 @ecryptfs_printk(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ecryptfs_dump_hex(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @init_completion(ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare ptr @skcipher_request_alloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 declare i32 @skcipher_request_set_callback(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_setkey(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @skcipher_request_set_crypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_encrypt(ptr noundef) local_unnamed_addr #2 declare i32 @crypto_skcipher_decrypt(ptr noundef) local_unnamed_addr #2 declare i32 @wait_for_completion(ptr noundef) local_unnamed_addr #2 declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @skcipher_request_free(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"ecryptfs_crypt_stat", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 4} !16 = !{!7, !8, i64 12} !17 = !{!18, !20, i64 0} !18 = !{!"skcipher_request", !19, i64 0} !19 = !{!"TYPE_2__", !20, i64 0} !20 = !{!"any pointer", !9, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"extent_crypt_result", !8, i64 0, !8, i64 4}
linux_fs_ecryptfs_extr_crypto.c_crypt_scatterlist
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_determine_colors.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_determine_colors.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TF_BOLD = dso_local local_unnamed_addr global i32 0, align 4 @TF_BLINK = dso_local local_unnamed_addr global i32 0, align 4 @TF_REVERSE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @vt_determine_colors(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @TCHAR_FGCOLOR(i32 noundef %0) #2 store i32 %5, ptr %2, align 4, !tbaa !5 %6 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %7 = load i32, ptr @TF_BOLD, align 4, !tbaa !5 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = tail call i32 @TCOLOR_LIGHT(i32 noundef %11) #2 store i32 %12, ptr %2, align 4, !tbaa !5 br label %13 13: ; preds = %10, %4 %14 = tail call i32 @TCHAR_BGCOLOR(i32 noundef %0) #2 store i32 %14, ptr %3, align 4, !tbaa !5 %15 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %16 = load i32, ptr @TF_BLINK, align 4, !tbaa !5 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = load i32, ptr %3, align 4, !tbaa !5 %21 = tail call i32 @TCOLOR_LIGHT(i32 noundef %20) #2 store i32 %21, ptr %3, align 4, !tbaa !5 br label %22 22: ; preds = %19, %13 %23 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %24 = load i32, ptr @TF_REVERSE, align 4, !tbaa !5 %25 = and i32 %24, %23 %26 = icmp ne i32 %25, 0 %27 = icmp eq i32 %1, 0 %28 = xor i1 %27, %26 br i1 %28, label %32, label %29 29: ; preds = %22 %30 = load i32, ptr %2, align 4, !tbaa !5 %31 = load i32, ptr %3, align 4, !tbaa !5 store i32 %31, ptr %2, align 4, !tbaa !5 store i32 %30, ptr %3, align 4, !tbaa !5 br label %32 32: ; preds = %29, %22 ret void } declare i32 @TCHAR_FGCOLOR(i32 noundef) local_unnamed_addr #1 declare i32 @TCHAR_FORMAT(i32 noundef) local_unnamed_addr #1 declare i32 @TCOLOR_LIGHT(i32 noundef) local_unnamed_addr #1 declare i32 @TCHAR_BGCOLOR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_determine_colors.c' source_filename = "AnghaBench/freebsd/sys/dev/vt/extr_vt_core.c_vt_determine_colors.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TF_BOLD = common local_unnamed_addr global i32 0, align 4 @TF_BLINK = common local_unnamed_addr global i32 0, align 4 @TF_REVERSE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @vt_determine_colors(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @TCHAR_FGCOLOR(i32 noundef %0) #2 store i32 %5, ptr %2, align 4, !tbaa !6 %6 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %7 = load i32, ptr @TF_BOLD, align 4, !tbaa !6 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = tail call i32 @TCOLOR_LIGHT(i32 noundef %11) #2 store i32 %12, ptr %2, align 4, !tbaa !6 br label %13 13: ; preds = %10, %4 %14 = tail call i32 @TCHAR_BGCOLOR(i32 noundef %0) #2 store i32 %14, ptr %3, align 4, !tbaa !6 %15 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %16 = load i32, ptr @TF_BLINK, align 4, !tbaa !6 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %13 %20 = load i32, ptr %3, align 4, !tbaa !6 %21 = tail call i32 @TCOLOR_LIGHT(i32 noundef %20) #2 store i32 %21, ptr %3, align 4, !tbaa !6 br label %22 22: ; preds = %19, %13 %23 = tail call i32 @TCHAR_FORMAT(i32 noundef %0) #2 %24 = load i32, ptr @TF_REVERSE, align 4, !tbaa !6 %25 = and i32 %24, %23 %26 = icmp ne i32 %25, 0 %27 = icmp eq i32 %1, 0 %28 = xor i1 %27, %26 br i1 %28, label %32, label %29 29: ; preds = %22 %30 = load i32, ptr %2, align 4, !tbaa !6 %31 = load i32, ptr %3, align 4, !tbaa !6 store i32 %31, ptr %2, align 4, !tbaa !6 store i32 %30, ptr %3, align 4, !tbaa !6 br label %32 32: ; preds = %29, %22 ret void } declare i32 @TCHAR_FGCOLOR(i32 noundef) local_unnamed_addr #1 declare i32 @TCHAR_FORMAT(i32 noundef) local_unnamed_addr #1 declare i32 @TCOLOR_LIGHT(i32 noundef) local_unnamed_addr #1 declare i32 @TCHAR_BGCOLOR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_vt_extr_vt_core.c_vt_determine_colors
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_base.c_nand_ecc_strength_good.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_base.c_nand_ecc_strength_good.c" target datalayout = "e-m:e-p270:32:32-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.nand_chip = type { %struct.TYPE_4__, %struct.nand_ecc_ctrl } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32 } %struct.nand_ecc_ctrl = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @nand_ecc_strength_good], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nand_ecc_strength_good(ptr noundef %0) #0 { %2 = tail call ptr @nand_to_mtd(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = icmp eq i32 %7, 0 br i1 %8, label %23, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4, !tbaa !14 %11 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 1, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = mul nsw i32 %12, %10 %14 = sdiv i32 %13, %4 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = mul nsw i32 %16, %10 %18 = sdiv i32 %17, %7 %19 = icmp sge i32 %14, %18 %20 = icmp sge i32 %12, %16 %21 = select i1 %19, i1 %20, i1 false %22 = zext i1 %21 to i32 br label %23 23: ; preds = %1, %6, %9 %24 = phi i32 [ %22, %9 ], [ 1, %6 ], [ 1, %1 ] ret i32 %24 } declare ptr @nand_to_mtd(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 = !{!"nand_ecc_ctrl", !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 0} !11 = !{!"nand_chip", !12, i64 0, !6, i64 8} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !14 = !{!15, !7, i64 0} !15 = !{!"mtd_info", !7, i64 0} !16 = !{!6, !7, i64 4} !17 = !{!11, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_base.c_nand_ecc_strength_good.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_base.c_nand_ecc_strength_good.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 @nand_ecc_strength_good], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @nand_ecc_strength_good(ptr noundef %0) #0 { %2 = tail call ptr @nand_to_mtd(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %23, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !11 %8 = icmp eq i32 %7, 0 br i1 %8, label %23, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4, !tbaa !15 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !17 %13 = mul nsw i32 %12, %10 %14 = sdiv i32 %13, %4 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = mul nsw i32 %16, %10 %18 = sdiv i32 %17, %7 %19 = icmp sge i32 %14, %18 %20 = icmp sge i32 %12, %16 %21 = select i1 %19, i1 %20, i1 false %22 = zext i1 %21 to i32 br label %23 23: ; preds = %1, %6, %9 %24 = phi i32 [ %22, %9 ], [ 1, %6 ], [ 1, %1 ] ret i32 %24 } declare ptr @nand_to_mtd(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 = !{!"nand_ecc_ctrl", !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 0} !12 = !{!"nand_chip", !13, i64 0, !7, i64 8} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !15 = !{!16, !8, i64 0} !16 = !{!"mtd_info", !8, i64 0} !17 = !{!7, !8, i64 4} !18 = !{!12, !8, i64 4}
linux_drivers_mtd_nand_raw_extr_nand_base.c_nand_ecc_strength_good
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_show.c' source_filename = "AnghaBench/linux/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_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 [8 x i8] c"0x%08x\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @i7core_inject_eccmask_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @i7core_inject_eccmask_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_mci(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_mci(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 = !{!"mem_ctl_info", !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 = !{!"i7core_pvt", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_show.c' source_filename = "AnghaBench/linux/drivers/edac/extr_i7core_edac.c_i7core_inject_eccmask_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 [8 x i8] c"0x%08x\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @i7core_inject_eccmask_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @i7core_inject_eccmask_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call ptr @to_mci(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %7 } declare ptr @to_mci(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 = !{!"mem_ctl_info", !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 = !{!"i7core_pvt", !13, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !9, i64 0}
linux_drivers_edac_extr_i7core_edac.c_i7core_inject_eccmask_show
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_trace-device.c_fz_trace_clip_image_mask.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_trace-device.c_fz_trace_clip_image_mask.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_5__ = type { i32, i32 } @.str = private unnamed_addr constant [17 x i8] c"<clip_image_mask\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c" width=\22%d\22 height=\22%d\22\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"/>\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fz_trace_clip_image_mask], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fz_trace_clip_image_mask(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 %4) #0 { %6 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr %1, align 8, !tbaa !11 %9 = tail call i32 @fz_trace_indent(ptr noundef %0, ptr noundef %7, i32 noundef %8) #2 %10 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str) #2 %11 = tail call i32 @fz_trace_matrix(ptr noundef %0, ptr noundef %7, i32 noundef %3) #2 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %2, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = load i32, ptr %2, align 4, !tbaa !14 %15 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.2) #2 %17 = load i32, ptr %1, align 8, !tbaa !11 %18 = add nsw i32 %17, 1 store i32 %18, ptr %1, align 8, !tbaa !11 ret void } declare i32 @fz_trace_indent(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_write_printf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @fz_trace_matrix(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 4} !13 = !{!"TYPE_5__", !7, i64 0, !7, i64 4} !14 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_trace-device.c_fz_trace_clip_image_mask.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_trace-device.c_fz_trace_clip_image_mask.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"<clip_image_mask\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c" width=\22%d\22 height=\22%d\22\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"/>\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fz_trace_clip_image_mask], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fz_trace_clip_image_mask(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 %4) #0 { %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %1, align 8, !tbaa !12 %9 = tail call i32 @fz_trace_indent(ptr noundef %0, ptr noundef %7, i32 noundef %8) #2 %10 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str) #2 %11 = tail call i32 @fz_trace_matrix(ptr noundef %0, ptr noundef %7, i32 noundef %3) #2 %12 = getelementptr inbounds i8, ptr %2, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr %2, align 4, !tbaa !15 %15 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef %13, i32 noundef %14) #2 %16 = tail call i32 (ptr, ptr, ptr, ...) @fz_write_printf(ptr noundef %0, ptr noundef %7, ptr noundef nonnull @.str.2) #2 %17 = load i32, ptr %1, align 8, !tbaa !12 %18 = add nsw i32 %17, 1 store i32 %18, ptr %1, align 8, !tbaa !12 ret void } declare i32 @fz_trace_indent(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fz_write_printf(ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @fz_trace_matrix(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"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 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 4} !14 = !{!"TYPE_5__", !8, i64 0, !8, i64 4} !15 = !{!14, !8, i64 0}
sumatrapdf_mupdf_source_fitz_extr_trace-device.c_fz_trace_clip_image_mask
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/string/extr_t_swab.c_build.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/string/extr_t_swab.c_build.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXCHK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @build], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @build(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) #0 { %4 = lshr i64 %2, 1 %5 = icmp ult i64 %2, 2 br i1 %5, label %57, label %6 6: ; preds = %3 %7 = tail call i64 @llvm.umax.i64(i64 %4, i64 2) %8 = add nsw i64 %7, -1 %9 = lshr i64 %8, 1 %10 = add nuw nsw i64 %9, 1 %11 = icmp ult i64 %2, 62 br i1 %11, label %44, label %12 12: ; preds = %6 %13 = tail call i64 @llvm.umax.i64(i64 %4, i64 2) %14 = add nsw i64 %13, -1 %15 = and i64 %14, -2 %16 = add nuw i64 %15, 2 %17 = getelementptr i8, ptr %0, i64 %16 %18 = getelementptr i8, ptr %1, i64 %16 %19 = icmp ugt ptr %18, %0 %20 = icmp ugt ptr %17, %1 %21 = and i1 %19, %20 br i1 %21, label %44, label %22 22: ; preds = %12 %23 = and i64 %10, 9223372036854775800 %24 = shl nuw i64 %23, 1 %25 = getelementptr i8, ptr %0, i64 -1 br label %26 26: ; preds = %26, %22 %27 = phi i64 [ 0, %22 ], [ %39, %26 ] %28 = phi <8 x i8> [ <i8 0, i8 2, i8 4, i8 6, i8 8, i8 10, i8 12, i8 14>, %22 ], [ %40, %26 ] %29 = shl i64 %27, 1 %30 = insertelement <8 x i64> poison, i64 %29, i64 0 %31 = shufflevector <8 x i64> %30, <8 x i64> poison, <8 x i32> zeroinitializer %32 = or disjoint <8 x i64> %31, <i64 1, i64 3, i64 5, i64 7, i64 9, i64 11, i64 13, i64 15> %33 = trunc <8 x i64> %32 to <8 x i8> %34 = extractelement <8 x i64> %32, i64 0 %35 = getelementptr i8, ptr %25, i64 %34 %36 = shufflevector <8 x i8> %28, <8 x i8> %33, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15> store <16 x i8> %36, ptr %35, align 1, !tbaa !5 %37 = getelementptr inbounds i8, ptr %1, i64 %29 %38 = shufflevector <8 x i8> %33, <8 x i8> %28, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15> store <16 x i8> %38, ptr %37, align 1, !tbaa !5 %39 = add nuw i64 %27, 8 %40 = add <8 x i8> %28, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16> %41 = icmp eq i64 %39, %23 br i1 %41, label %42, label %26, !llvm.loop !8 42: ; preds = %26 %43 = icmp eq i64 %10, %23 br i1 %43, label %57, label %44 44: ; preds = %12, %6, %42 %45 = phi i64 [ 0, %12 ], [ 0, %6 ], [ %24, %42 ] br label %46 46: ; preds = %44, %46 %47 = phi i64 [ %55, %46 ], [ %45, %44 ] %48 = trunc i64 %47 to i8 %49 = getelementptr inbounds i8, ptr %0, i64 %47 store i8 %48, ptr %49, align 1, !tbaa !5 %50 = or disjoint i64 %47, 1 %51 = getelementptr inbounds i8, ptr %1, i64 %50 store i8 %48, ptr %51, align 1, !tbaa !5 %52 = trunc i64 %50 to i8 %53 = getelementptr inbounds i8, ptr %0, i64 %50 store i8 %52, ptr %53, align 1, !tbaa !5 %54 = getelementptr inbounds i8, ptr %1, i64 %47 store i8 %52, ptr %54, align 1, !tbaa !5 %55 = add nuw i64 %47, 2 %56 = icmp ult i64 %55, %4 br i1 %56, label %46, label %57, !llvm.loop !12 57: ; preds = %46, %42, %3 %58 = and i64 %2, -2 %59 = load i64, ptr @MAXCHK, align 8, !tbaa !13 %60 = icmp ult i64 %58, %59 br i1 %60, label %61, label %68 61: ; preds = %57, %61 %62 = phi i64 [ %65, %61 ], [ %58, %57 ] %63 = getelementptr inbounds i8, ptr %1, i64 %62 store i8 -1, ptr %63, align 1, !tbaa !5 %64 = getelementptr inbounds i8, ptr %0, i64 %62 store i8 -1, ptr %64, align 1, !tbaa !5 %65 = add nuw i64 %62, 1 %66 = load i64, ptr @MAXCHK, align 8, !tbaa !13 %67 = icmp ult i64 %65, %66 br i1 %67, label %61, label %68, !llvm.loop !15 68: ; preds = %61, %57 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #1 attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9, !10, !11} !9 = !{!"llvm.loop.mustprogress"} !10 = !{!"llvm.loop.isvectorized", i32 1} !11 = !{!"llvm.loop.unroll.runtime.disable"} !12 = distinct !{!12, !9, !10} !13 = !{!14, !14, i64 0} !14 = !{!"long", !6, i64 0} !15 = distinct !{!15, !9}
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/string/extr_t_swab.c_build.c' source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/lib/libc/string/extr_t_swab.c_build.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXCHK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @build], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @build(ptr nocapture noundef writeonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) #0 { %4 = lshr i64 %2, 1 %5 = icmp ult i64 %2, 2 br i1 %5, label %91, label %6 6: ; preds = %3 %7 = tail call i64 @llvm.umax.i64(i64 %4, i64 2) %8 = add nsw i64 %7, -1 %9 = lshr i64 %8, 1 %10 = add nuw nsw i64 %9, 1 %11 = icmp ult i64 %2, 30 br i1 %11, label %78, label %12 12: ; preds = %6 %13 = tail call i64 @llvm.umax.i64(i64 %4, i64 2) %14 = add nsw i64 %13, -1 %15 = and i64 %14, -2 %16 = add nuw i64 %15, 2 %17 = getelementptr i8, ptr %0, i64 %16 %18 = getelementptr i8, ptr %1, i64 %16 %19 = icmp ugt ptr %18, %0 %20 = icmp ugt ptr %17, %1 %21 = and i1 %19, %20 br i1 %21, label %78, label %22 22: ; preds = %12 %23 = icmp ult i64 %2, 62 br i1 %23, label %50, label %24 24: ; preds = %22 %25 = and i64 %10, 9223372036854775792 %26 = shl nuw i64 %25, 1 %27 = getelementptr i8, ptr %0, i64 -1 br label %28 28: ; preds = %28, %24 %29 = phi i64 [ 0, %24 ], [ %41, %28 ] %30 = phi <16 x i8> [ <i8 0, i8 2, i8 4, i8 6, i8 8, i8 10, i8 12, i8 14, i8 16, i8 18, i8 20, i8 22, i8 24, i8 26, i8 28, i8 30>, %24 ], [ %42, %28 ] %31 = shl i64 %29, 1 %32 = insertelement <16 x i64> poison, i64 %31, i64 0 %33 = shufflevector <16 x i64> %32, <16 x i64> poison, <16 x i32> zeroinitializer %34 = or disjoint <16 x i64> %33, <i64 1, i64 3, i64 5, i64 7, i64 9, i64 11, i64 13, i64 15, i64 17, i64 19, i64 21, i64 23, i64 25, i64 27, i64 29, i64 31> %35 = trunc <16 x i64> %34 to <16 x i8> %36 = extractelement <16 x i64> %34, i64 0 %37 = getelementptr i8, ptr %27, i64 %36 %38 = shufflevector <16 x i8> %30, <16 x i8> %35, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31> store <32 x i8> %38, ptr %37, align 1, !tbaa !6 %39 = getelementptr inbounds i8, ptr %1, i64 %31 %40 = shufflevector <16 x i8> %35, <16 x i8> %30, <32 x i32> <i32 0, i32 16, i32 1, i32 17, i32 2, i32 18, i32 3, i32 19, i32 4, i32 20, i32 5, i32 21, i32 6, i32 22, i32 7, i32 23, i32 8, i32 24, i32 9, i32 25, i32 10, i32 26, i32 11, i32 27, i32 12, i32 28, i32 13, i32 29, i32 14, i32 30, i32 15, i32 31> store <32 x i8> %40, ptr %39, align 1, !tbaa !6 %41 = add nuw i64 %29, 16 %42 = add <16 x i8> %30, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32> %43 = icmp eq i64 %41, %25 br i1 %43, label %44, label %28, !llvm.loop !9 44: ; preds = %28 %45 = icmp eq i64 %10, %25 br i1 %45, label %91, label %46 46: ; preds = %44 %47 = shl nuw i64 %25, 1 %48 = and i64 %10, 8 %49 = icmp eq i64 %48, 0 br i1 %49, label %78, label %50 50: ; preds = %22, %46 %51 = phi i64 [ %26, %46 ], [ 0, %22 ] %52 = phi i64 [ %25, %46 ], [ 0, %22 ] %53 = and i64 %10, 9223372036854775800 %54 = shl nuw i64 %53, 1 %55 = trunc i64 %51 to i8 %56 = insertelement <8 x i8> poison, i8 %55, i64 0 %57 = shufflevector <8 x i8> %56, <8 x i8> poison, <8 x i32> zeroinitializer %58 = add <8 x i8> %57, <i8 0, i8 2, i8 4, i8 6, i8 8, i8 10, i8 12, i8 14> %59 = getelementptr i8, ptr %0, i64 -1 br label %60 60: ; preds = %60, %50 %61 = phi i64 [ %52, %50 ], [ %73, %60 ] %62 = phi <8 x i8> [ %58, %50 ], [ %74, %60 ] %63 = shl i64 %61, 1 %64 = insertelement <8 x i64> poison, i64 %63, i64 0 %65 = shufflevector <8 x i64> %64, <8 x i64> poison, <8 x i32> zeroinitializer %66 = or disjoint <8 x i64> %65, <i64 1, i64 3, i64 5, i64 7, i64 9, i64 11, i64 13, i64 15> %67 = trunc <8 x i64> %66 to <8 x i8> %68 = extractelement <8 x i64> %66, i64 0 %69 = getelementptr i8, ptr %59, i64 %68 %70 = shufflevector <8 x i8> %62, <8 x i8> %67, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15> store <16 x i8> %70, ptr %69, align 1, !tbaa !6 %71 = getelementptr inbounds i8, ptr %1, i64 %63 %72 = shufflevector <8 x i8> %67, <8 x i8> %62, <16 x i32> <i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11, i32 4, i32 12, i32 5, i32 13, i32 6, i32 14, i32 7, i32 15> store <16 x i8> %72, ptr %71, align 1, !tbaa !6 %73 = add nuw i64 %61, 8 %74 = add <8 x i8> %62, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16> %75 = icmp eq i64 %73, %53 br i1 %75, label %76, label %60, !llvm.loop !13 76: ; preds = %60 %77 = icmp eq i64 %10, %53 br i1 %77, label %91, label %78 78: ; preds = %76, %12, %6, %46 %79 = phi i64 [ 0, %6 ], [ 0, %12 ], [ %47, %46 ], [ %54, %76 ] br label %80 80: ; preds = %78, %80 %81 = phi i64 [ %89, %80 ], [ %79, %78 ] %82 = trunc i64 %81 to i8 %83 = getelementptr inbounds i8, ptr %0, i64 %81 store i8 %82, ptr %83, align 1, !tbaa !6 %84 = or disjoint i64 %81, 1 %85 = getelementptr inbounds i8, ptr %1, i64 %84 store i8 %82, ptr %85, align 1, !tbaa !6 %86 = trunc i64 %84 to i8 %87 = getelementptr inbounds i8, ptr %0, i64 %84 store i8 %86, ptr %87, align 1, !tbaa !6 %88 = getelementptr inbounds i8, ptr %1, i64 %81 store i8 %86, ptr %88, align 1, !tbaa !6 %89 = add nuw i64 %81, 2 %90 = icmp ult i64 %89, %4 br i1 %90, label %80, label %91, !llvm.loop !14 91: ; preds = %80, %44, %76, %3 %92 = and i64 %2, -2 %93 = load i64, ptr @MAXCHK, align 8, !tbaa !15 %94 = icmp ult i64 %92, %93 br i1 %94, label %95, label %102 95: ; preds = %91, %95 %96 = phi i64 [ %99, %95 ], [ %92, %91 ] %97 = getelementptr inbounds i8, ptr %1, i64 %96 store i8 -1, ptr %97, align 1, !tbaa !6 %98 = getelementptr inbounds i8, ptr %0, i64 %96 store i8 -1, ptr %98, align 1, !tbaa !6 %99 = add nuw i64 %96, 1 %100 = load i64, ptr @MAXCHK, align 8, !tbaa !15 %101 = icmp ult i64 %99, %100 br i1 %101, label %95, label %102, !llvm.loop !17 102: ; preds = %95, %91 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #1 attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !11, !12} !14 = distinct !{!14, !10, !11} !15 = !{!16, !16, i64 0} !16 = !{!"long", !7, i64 0} !17 = distinct !{!17, !10}
freebsd_contrib_netbsd-tests_lib_libc_string_extr_t_swab.c_build
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_anacore.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_anacore.c" target datalayout = "e-m:e-p270:32:32-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 @wlc_phy_anacore(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ISNPHY(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %26, label %5 5: ; preds = %2 %6 = icmp eq i32 %1, 0 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = tail call i64 @NREV_GE(i32 noundef %7, i32 noundef 3) #2 %9 = icmp eq i64 %8, 0 br i1 %6, label %18, label %10 10: ; preds = %5 br i1 %9, label %16, label %11 11: ; preds = %10 %12 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 166, i32 noundef 13) #2 %13 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 143, i32 noundef 0) #2 %14 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 167, i32 noundef 13) #2 %15 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 0) #2 br label %36 16: ; preds = %10 %17 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 0) #2 br label %36 18: ; preds = %5 br i1 %9, label %24, label %19 19: ; preds = %18 %20 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 143, i32 noundef 2047) #2 %21 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 166, i32 noundef 253) #2 %22 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 2047) #2 %23 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 167, i32 noundef 253) #2 br label %36 24: ; preds = %18 %25 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 32767) #2 br label %36 26: ; preds = %2 %27 = tail call i64 @ISLCNPHY(ptr noundef %0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %36, label %29 29: ; preds = %26 %30 = icmp eq i32 %1, 0 br i1 %30, label %33, label %31 31: ; preds = %29 %32 = tail call i32 @and_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef -8) #2 br label %36 33: ; preds = %29 %34 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1084, i32 noundef 7) #2 %35 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef 7) #2 br label %36 36: ; preds = %26, %33, %31, %16, %11, %24, %19 ret void } declare i64 @ISNPHY(ptr noundef) local_unnamed_addr #1 declare i64 @NREV_GE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ISLCNPHY(ptr noundef) local_unnamed_addr #1 declare i32 @and_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @or_phy_reg(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, !8, i64 0} !6 = !{!"brcms_phy", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_anacore.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_cmn.c_wlc_phy_anacore.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 @wlc_phy_anacore(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @ISNPHY(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %26, label %5 5: ; preds = %2 %6 = icmp eq i32 %1, 0 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = tail call i64 @NREV_GE(i32 noundef %7, i32 noundef 3) #2 %9 = icmp eq i64 %8, 0 br i1 %6, label %18, label %10 10: ; preds = %5 br i1 %9, label %16, label %11 11: ; preds = %10 %12 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 166, i32 noundef 13) #2 %13 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 143, i32 noundef 0) #2 %14 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 167, i32 noundef 13) #2 %15 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 0) #2 br label %36 16: ; preds = %10 %17 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 0) #2 br label %36 18: ; preds = %5 br i1 %9, label %24, label %19 19: ; preds = %18 %20 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 143, i32 noundef 2047) #2 %21 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 166, i32 noundef 253) #2 %22 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 2047) #2 %23 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 167, i32 noundef 253) #2 br label %36 24: ; preds = %18 %25 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 165, i32 noundef 32767) #2 br label %36 26: ; preds = %2 %27 = tail call i64 @ISLCNPHY(ptr noundef %0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %36, label %29 29: ; preds = %26 %30 = icmp eq i32 %1, 0 br i1 %30, label %33, label %31 31: ; preds = %29 %32 = tail call i32 @and_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef -8) #2 br label %36 33: ; preds = %29 %34 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1084, i32 noundef 7) #2 %35 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef 7) #2 br label %36 36: ; preds = %26, %33, %31, %16, %11, %24, %19 ret void } declare i64 @ISNPHY(ptr noundef) local_unnamed_addr #1 declare i64 @NREV_GE(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ISLCNPHY(ptr noundef) local_unnamed_addr #1 declare i32 @and_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @or_phy_reg(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, !9, i64 0} !7 = !{!"brcms_phy", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_cmn.c_wlc_phy_anacore
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_is_modifier.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_is_modifier.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @True = 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 @is_modifier], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @is_modifier(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 9 %4 = load i32, ptr @True, align 4 %5 = load i32, ptr @False, align 4 %6 = select i1 %3, i32 %4, i32 %5 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_is_modifier.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xkeymap.c_is_modifier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @True = 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 @is_modifier], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @is_modifier(i32 noundef %0) #0 { %2 = add i32 %0, -128 %3 = icmp ult i32 %2, 9 %4 = load i32, ptr @True, align 4 %5 = load i32, ptr @False, align 4 %6 = select i1 %3, i32 %4, i32 %5 ret i32 %6 } 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)"}
reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_xkeymap.c_is_modifier
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/orange75/keymaps/default/extr_keymap.c_led_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/orange75/keymaps/default/extr_keymap.c_led_set_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @USB_LED_NUM_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @DDRB = dso_local local_unnamed_addr global i32 0, align 4 @PORTB = dso_local local_unnamed_addr global i32 0, align 4 @USB_LED_CAPS_LOCK = dso_local local_unnamed_addr global i32 0, align 4 @USB_LED_SCROLL_LOCK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define dso_local void @led_set_user(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !5 %3 = load i32, ptr @DDRB, align 4 %4 = and i32 %3, -8 %5 = lshr i32 %0, %2 %6 = and i32 %5, 1 %7 = or disjoint i32 %4, %6 %8 = load i32, ptr @PORTB, align 4, !tbaa !5 %9 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !5 %10 = shl nuw i32 1, %9 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 %13 = select i1 %12, i32 0, i32 2 %14 = or disjoint i32 %13, %7 %15 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !5 %16 = shl nuw i32 1, %15 %17 = and i32 %16, %0 %18 = icmp eq i32 %17, 0 %19 = select i1 %18, i32 0, i32 4 %20 = or disjoint i32 %19, %14 store i32 %20, ptr @DDRB, align 4, !tbaa !5 %21 = and i32 %8, -8 store i32 %21, ptr @PORTB, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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/qmk_firmware/keyboards/orange75/keymaps/default/extr_keymap.c_led_set_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/orange75/keymaps/default/extr_keymap.c_led_set_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_LED_NUM_LOCK = common local_unnamed_addr global i32 0, align 4 @DDRB = common local_unnamed_addr global i32 0, align 4 @PORTB = common local_unnamed_addr global i32 0, align 4 @USB_LED_CAPS_LOCK = common local_unnamed_addr global i32 0, align 4 @USB_LED_SCROLL_LOCK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define void @led_set_user(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @USB_LED_NUM_LOCK, align 4, !tbaa !6 %3 = load i32, ptr @DDRB, align 4 %4 = and i32 %3, -8 %5 = lshr i32 %0, %2 %6 = and i32 %5, 1 %7 = or disjoint i32 %4, %6 %8 = load i32, ptr @PORTB, align 4, !tbaa !6 %9 = load i32, ptr @USB_LED_CAPS_LOCK, align 4, !tbaa !6 %10 = shl nuw i32 1, %9 %11 = and i32 %10, %0 %12 = icmp eq i32 %11, 0 %13 = select i1 %12, i32 0, i32 2 %14 = or disjoint i32 %13, %7 %15 = load i32, ptr @USB_LED_SCROLL_LOCK, align 4, !tbaa !6 %16 = shl nuw i32 1, %15 %17 = and i32 %16, %0 %18 = icmp eq i32 %17, 0 %19 = select i1 %18, i32 0, i32 4 %20 = or disjoint i32 %19, %14 store i32 %20, ptr @DDRB, align 4, !tbaa !6 %21 = and i32 %8, -8 store i32 %21, ptr @PORTB, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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"}
qmk_firmware_keyboards_orange75_keymaps_default_extr_keymap.c_led_set_user
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-fau.h_cvmx_fau_atomic_write8.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-fau.h_cvmx_fau_atomic_write8.c" target datalayout = "e-m:e-p270:32:32-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 @cvmx_fau_atomic_write8], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @cvmx_fau_atomic_write8(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @__cvmx_fau_store_address(i32 noundef 1, i32 noundef %0) #2 %4 = tail call i32 @cvmx_write64_int8(i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @cvmx_write64_int8(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__cvmx_fau_store_address(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-fau.h_cvmx_fau_atomic_write8.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/octeon/extr_cvmx-fau.h_cvmx_fau_atomic_write8.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 @cvmx_fau_atomic_write8], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @cvmx_fau_atomic_write8(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @__cvmx_fau_store_address(i32 noundef 1, i32 noundef %0) #2 %4 = tail call i32 @cvmx_write64_int8(i32 noundef %3, i32 noundef %1) #2 ret void } declare i32 @cvmx_write64_int8(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__cvmx_fau_store_address(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_staging_octeon_extr_cvmx-fau.h_cvmx_fau_atomic_write8
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_write_stripe_run.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_write_stripe_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 void @r5l_write_stripe_run(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %7, label %3 3: ; preds = %1 %4 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2 %5 = tail call i32 @r5l_submit_current_io(ptr noundef nonnull %0) #2 %6 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %1, %3 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @r5l_submit_current_io(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_write_stripe_run.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-cache.c_r5l_write_stripe_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 void @r5l_write_stripe_run(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %7, label %3 3: ; preds = %1 %4 = tail call i32 @mutex_lock(ptr noundef nonnull %0) #2 %5 = tail call i32 @r5l_submit_current_io(ptr noundef nonnull %0) #2 %6 = tail call i32 @mutex_unlock(ptr noundef nonnull %0) #2 br label %7 7: ; preds = %1, %3 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @r5l_submit_current_io(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_md_extr_raid5-cache.c_r5l_write_stripe_run
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_out_state_arcs_num.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_out_state_arcs_num.c" target datalayout = "e-m:e-p270:32:32-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 @out_state_arcs_num], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @out_state_arcs_num(i32 noundef %0) #0 { %2 = tail call ptr @first_out_arc(i32 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %16, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %14, %4 ], [ %2, %1 ] %6 = phi i32 [ %13, %4 ], [ 0, %1 ] %7 = load ptr, ptr %5, align 8, !tbaa !5 %8 = tail call i32 @gcc_assert(ptr noundef %7) #2 %9 = load ptr, ptr %5, align 8, !tbaa !5 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = icmp ne i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add nuw nsw i32 %6, %12 %14 = tail call ptr @next_out_arc(ptr noundef nonnull %5) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %4, !llvm.loop !13 16: ; preds = %4, %1 %17 = phi i32 [ 0, %1 ], [ %13, %4 ] ret i32 %17 } declare ptr @first_out_arc(i32 noundef) local_unnamed_addr #1 declare i32 @gcc_assert(ptr noundef) local_unnamed_addr #1 declare ptr @next_out_arc(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 = !{!"any pointer", !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 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_out_state_arcs_num.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_genautomata.c_out_state_arcs_num.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 @out_state_arcs_num], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @out_state_arcs_num(i32 noundef %0) #0 { %2 = tail call ptr @first_out_arc(i32 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %16, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %14, %4 ], [ %2, %1 ] %6 = phi i32 [ %13, %4 ], [ 0, %1 ] %7 = load ptr, ptr %5, align 8, !tbaa !6 %8 = tail call i32 @gcc_assert(ptr noundef %7) #2 %9 = load ptr, ptr %5, align 8, !tbaa !6 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = icmp ne i64 %10, 0 %12 = zext i1 %11 to i32 %13 = add nuw nsw i32 %6, %12 %14 = tail call ptr @next_out_arc(ptr noundef nonnull %5) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %4, !llvm.loop !14 16: ; preds = %4, %1 %17 = phi i32 [ 0, %1 ], [ %13, %4 ] ret i32 %17 } declare ptr @first_out_arc(i32 noundef) local_unnamed_addr #1 declare i32 @gcc_assert(ptr noundef) local_unnamed_addr #1 declare ptr @next_out_arc(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 = !{!"any pointer", !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 = !{!"long", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gcc_extr_genautomata.c_out_state_arcs_num
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_string.c_String_toLocaleLowerCase.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_string.c_String_toLocaleLowerCase.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @E_NOTIMPL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @String_toLocaleLowerCase], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @String_toLocaleLowerCase(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, i32 %3, ptr nocapture readnone %4, ptr nocapture readnone %5) #0 { %7 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2 %8 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !5 ret i32 %8 } declare i32 @FIXME(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_string.c_String_toLocaleLowerCase.c' source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_string.c_String_toLocaleLowerCase.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @E_NOTIMPL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @String_toLocaleLowerCase], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @String_toLocaleLowerCase(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2, i32 %3, ptr nocapture readnone %4, ptr nocapture readnone %5) #0 { %7 = tail call i32 @FIXME(ptr noundef nonnull @.str) #2 %8 = load i32, ptr @E_NOTIMPL, align 4, !tbaa !6 ret i32 %8 } declare i32 @FIXME(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_dll_win32_jscript_extr_string.c_String_toLocaleLowerCase
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_scsp_slot_read_byte.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_scsp_slot_read_byte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.Slot = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @scsp_slot_read_byte(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = lshr i32 %1, 5 %4 = and i32 %3, 31 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = zext nneg i32 %4 to i64 %7 = getelementptr inbounds %struct.Slot, ptr %5, i64 %6 %8 = shl nuw nsw i32 %4, 5 %9 = sub nsw i32 %1, %8 switch i32 %9, label %204 [ i32 0, label %10 i32 1, label %22 i32 2, label %40 i32 3, label %45 i32 4, label %49 i32 5, label %54 i32 6, label %58 i32 7, label %63 i32 8, label %67 i32 9, label %75 i32 10, label %86 i32 11, label %102 i32 12, label %109 i32 13, label %120 i32 14, label %123 i32 15, label %131 i32 16, label %138 i32 17, label %154 i32 18, label %157 i32 19, label %168 i32 23, label %197 i32 21, label %179 i32 22, label %190 ] 10: ; preds = %2 %11 = load i32, ptr %7, align 4, !tbaa !10 %12 = shl i32 %11, 3 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = shl i32 %14, 1 %16 = or i32 %15, %12 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !15 %19 = lshr i32 %18, 1 %20 = and i32 %19, 1 %21 = or disjoint i32 %16, %20 br label %204 22: ; preds = %2 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !15 %25 = shl i32 %24, 7 %26 = and i32 %25, 128 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 3 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = shl i32 %28, 5 %30 = or i32 %26, %29 %31 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 4 %32 = load i32, ptr %31, align 4, !tbaa !17 %33 = shl i32 %32, 4 %34 = or i32 %30, %33 %35 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 5 %36 = load i32, ptr %35, align 4, !tbaa !18 %37 = lshr i32 %36, 16 %38 = and i32 %37, 15 %39 = or disjoint i32 %34, %38 br label %204 40: ; preds = %2 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 5 %42 = load i32, ptr %41, align 4, !tbaa !18 %43 = lshr i32 %42, 8 %44 = and i32 %43, 255 br label %204 45: ; preds = %2 %46 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 5 %47 = load i32, ptr %46, align 4, !tbaa !18 %48 = and i32 %47, 255 br label %204 49: ; preds = %2 %50 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 6 %51 = load i32, ptr %50, align 4, !tbaa !19 %52 = lshr i32 %51, 8 %53 = and i32 %52, 255 br label %204 54: ; preds = %2 %55 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 6 %56 = load i32, ptr %55, align 4, !tbaa !19 %57 = and i32 %56, 255 br label %204 58: ; preds = %2 %59 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 7 %60 = load i32, ptr %59, align 4, !tbaa !20 %61 = lshr i32 %60, 8 %62 = and i32 %61, 255 br label %204 63: ; preds = %2 %64 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 7 %65 = load i32, ptr %64, align 4, !tbaa !20 %66 = and i32 %65, 255 br label %204 67: ; preds = %2 %68 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 8 %69 = load i32, ptr %68, align 4, !tbaa !21 %70 = shl i32 %69, 3 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 9 %72 = load i32, ptr %71, align 4, !tbaa !22 %73 = ashr i32 %72, 2 %74 = or i32 %73, %70 br label %204 75: ; preds = %2 %76 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 9 %77 = load i32, ptr %76, align 4, !tbaa !22 %78 = shl i32 %77, 6 %79 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 10 %80 = load i32, ptr %79, align 4, !tbaa !23 %81 = shl i32 %80, 5 %82 = or i32 %81, %78 %83 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 11 %84 = load i32, ptr %83, align 4, !tbaa !24 %85 = or i32 %82, %84 br label %204 86: ; preds = %2 %87 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 12 %88 = load i32, ptr %87, align 4, !tbaa !25 %89 = shl i32 %88, 7 %90 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 13 %91 = load i32, ptr %90, align 4, !tbaa !26 %92 = shl i32 %91, 6 %93 = or i32 %92, %89 %94 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 14 %95 = load i32, ptr %94, align 4, !tbaa !27 %96 = shl i32 %95, 2 %97 = or i32 %93, %96 %98 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 15 %99 = load i32, ptr %98, align 4, !tbaa !28 %100 = ashr i32 %99, 3 %101 = or i32 %97, %100 br label %204 102: ; preds = %2 %103 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 15 %104 = load i32, ptr %103, align 4, !tbaa !28 %105 = shl i32 %104, 5 %106 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 16 %107 = load i32, ptr %106, align 4, !tbaa !29 %108 = or i32 %105, %107 br label %204 109: ; preds = %2 %110 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 17 %111 = load i32, ptr %110, align 4, !tbaa !30 %112 = shl i32 %111, 2 %113 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 18 %114 = load i32, ptr %113, align 4, !tbaa !31 %115 = shl i32 %114, 1 %116 = or i32 %115, %112 %117 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 19 %118 = load i32, ptr %117, align 4, !tbaa !32 %119 = or i32 %116, %118 br label %204 120: ; preds = %2 %121 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 20 %122 = load i32, ptr %121, align 4, !tbaa !33 br label %204 123: ; preds = %2 %124 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 21 %125 = load i32, ptr %124, align 4, !tbaa !34 %126 = shl i32 %125, 4 %127 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 22 %128 = load i32, ptr %127, align 4, !tbaa !35 %129 = ashr i32 %128, 2 %130 = or i32 %129, %126 br label %204 131: ; preds = %2 %132 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 22 %133 = load i32, ptr %132, align 4, !tbaa !35 %134 = shl i32 %133, 6 %135 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 23 %136 = load i32, ptr %135, align 4, !tbaa !36 %137 = or i32 %134, %136 br label %204 138: ; preds = %2 %139 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 24 %140 = load i32, ptr %139, align 4, !tbaa !37 %141 = shl i32 %140, 7 %142 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 25 %143 = load i32, ptr %142, align 4, !tbaa !38 %144 = shl i32 %143, 3 %145 = or i32 %144, %141 %146 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 26 %147 = load i32, ptr %146, align 4, !tbaa !39 %148 = shl i32 %147, 2 %149 = or i32 %145, %148 %150 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 27 %151 = load i32, ptr %150, align 4, !tbaa !40 %152 = ashr i32 %151, 8 %153 = or i32 %149, %152 br label %204 154: ; preds = %2 %155 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 27 %156 = load i32, ptr %155, align 4, !tbaa !40 br label %204 157: ; preds = %2 %158 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 28 %159 = load i32, ptr %158, align 4, !tbaa !41 %160 = shl i32 %159, 7 %161 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 29 %162 = load i32, ptr %161, align 4, !tbaa !42 %163 = shl i32 %162, 2 %164 = or i32 %163, %160 %165 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 30 %166 = load i32, ptr %165, align 4, !tbaa !43 %167 = or i32 %164, %166 br label %204 168: ; preds = %2 %169 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 31 %170 = load i32, ptr %169, align 4, !tbaa !44 %171 = shl i32 %170, 5 %172 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 32 %173 = load i32, ptr %172, align 4, !tbaa !45 %174 = shl i32 %173, 3 %175 = or i32 %174, %171 %176 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 33 %177 = load i32, ptr %176, align 4, !tbaa !46 %178 = or i32 %175, %177 br label %204 179: ; preds = %2 %180 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 34 %181 = load i32, ptr %180, align 4, !tbaa !47 %182 = shl i32 %181, 7 %183 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 35 %184 = load i32, ptr %183, align 4, !tbaa !48 %185 = shl i32 %184, 3 %186 = or i32 %185, %182 %187 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 36 %188 = load i32, ptr %187, align 4, !tbaa !49 %189 = or i32 %186, %188 br label %204 190: ; preds = %2 %191 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 37 %192 = load i32, ptr %191, align 4, !tbaa !50 %193 = shl i32 %192, 5 %194 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 38 %195 = load i32, ptr %194, align 4, !tbaa !51 %196 = or i32 %193, %195 br label %204 197: ; preds = %2 %198 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 39 %199 = load i32, ptr %198, align 4, !tbaa !52 %200 = shl i32 %199, 5 %201 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 40 %202 = load i32, ptr %201, align 4, !tbaa !53 %203 = or i32 %200, %202 br label %204 204: ; preds = %2, %197, %190, %179, %168, %157, %154, %138, %131, %123, %120, %109, %102, %86, %75, %67, %63, %58, %54, %49, %45, %40, %22, %10 %205 = phi i32 [ 0, %2 ], [ %196, %190 ], [ %189, %179 ], [ %203, %197 ], [ %178, %168 ], [ %167, %157 ], [ %156, %154 ], [ %153, %138 ], [ %137, %131 ], [ %130, %123 ], [ %122, %120 ], [ %119, %109 ], [ %108, %102 ], [ %101, %86 ], [ %85, %75 ], [ %74, %67 ], [ %66, %63 ], [ %62, %58 ], [ %57, %54 ], [ %53, %49 ], [ %48, %45 ], [ %44, %40 ], [ %39, %22 ], [ %21, %10 ] ret i32 %205 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"Scsp", !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 = !{!"Slot", !12, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !13, i64 156, !13, i64 160} !13 = !{!"int", !8, i64 0} !14 = !{!11, !13, i64 4} !15 = !{!11, !13, i64 8} !16 = !{!11, !13, i64 12} !17 = !{!11, !13, i64 16} !18 = !{!11, !13, i64 20} !19 = !{!11, !13, i64 24} !20 = !{!11, !13, i64 28} !21 = !{!11, !13, i64 32} !22 = !{!11, !13, i64 36} !23 = !{!11, !13, i64 40} !24 = !{!11, !13, i64 44} !25 = !{!11, !13, i64 48} !26 = !{!11, !13, i64 52} !27 = !{!11, !13, i64 56} !28 = !{!11, !13, i64 60} !29 = !{!11, !13, i64 64} !30 = !{!11, !13, i64 68} !31 = !{!11, !13, i64 72} !32 = !{!11, !13, i64 76} !33 = !{!11, !13, i64 80} !34 = !{!11, !13, i64 84} !35 = !{!11, !13, i64 88} !36 = !{!11, !13, i64 92} !37 = !{!11, !13, i64 96} !38 = !{!11, !13, i64 100} !39 = !{!11, !13, i64 104} !40 = !{!11, !13, i64 108} !41 = !{!11, !13, i64 112} !42 = !{!11, !13, i64 116} !43 = !{!11, !13, i64 120} !44 = !{!11, !13, i64 124} !45 = !{!11, !13, i64 128} !46 = !{!11, !13, i64 132} !47 = !{!11, !13, i64 136} !48 = !{!11, !13, i64 140} !49 = !{!11, !13, i64 144} !50 = !{!11, !13, i64 148} !51 = !{!11, !13, i64 152} !52 = !{!11, !13, i64 156} !53 = !{!11, !13, i64 160}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_scsp_slot_read_byte.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scsp.c_scsp_slot_read_byte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.Slot = type { %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @scsp_slot_read_byte(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = lshr i32 %1, 5 %4 = and i32 %3, 31 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = zext nneg i32 %4 to i64 %7 = getelementptr inbounds %struct.Slot, ptr %5, i64 %6 %8 = shl nuw nsw i32 %4, 5 %9 = sub nsw i32 %1, %8 switch i32 %9, label %204 [ i32 0, label %10 i32 1, label %22 i32 2, label %40 i32 3, label %45 i32 4, label %49 i32 5, label %54 i32 6, label %58 i32 7, label %63 i32 8, label %67 i32 9, label %75 i32 10, label %86 i32 11, label %102 i32 12, label %109 i32 13, label %120 i32 14, label %123 i32 15, label %131 i32 16, label %138 i32 17, label %154 i32 18, label %157 i32 19, label %168 i32 23, label %197 i32 21, label %179 i32 22, label %190 ] 10: ; preds = %2 %11 = load i32, ptr %7, align 4, !tbaa !11 %12 = shl i32 %11, 3 %13 = getelementptr inbounds i8, ptr %7, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !15 %15 = shl i32 %14, 1 %16 = or i32 %15, %12 %17 = getelementptr inbounds i8, ptr %7, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !16 %19 = lshr i32 %18, 1 %20 = and i32 %19, 1 %21 = or disjoint i32 %16, %20 br label %204 22: ; preds = %2 %23 = getelementptr inbounds i8, ptr %7, i64 8 %24 = load i32, ptr %23, align 4, !tbaa !16 %25 = shl i32 %24, 7 %26 = and i32 %25, 128 %27 = getelementptr inbounds i8, ptr %7, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = shl i32 %28, 5 %30 = or i32 %26, %29 %31 = getelementptr inbounds i8, ptr %7, i64 16 %32 = load i32, ptr %31, align 4, !tbaa !18 %33 = shl i32 %32, 4 %34 = or i32 %30, %33 %35 = getelementptr inbounds i8, ptr %7, i64 20 %36 = load i32, ptr %35, align 4, !tbaa !19 %37 = lshr i32 %36, 16 %38 = and i32 %37, 15 %39 = or disjoint i32 %34, %38 br label %204 40: ; preds = %2 %41 = getelementptr inbounds i8, ptr %7, i64 20 %42 = load i32, ptr %41, align 4, !tbaa !19 %43 = lshr i32 %42, 8 %44 = and i32 %43, 255 br label %204 45: ; preds = %2 %46 = getelementptr inbounds i8, ptr %7, i64 20 %47 = load i32, ptr %46, align 4, !tbaa !19 %48 = and i32 %47, 255 br label %204 49: ; preds = %2 %50 = getelementptr inbounds i8, ptr %7, i64 24 %51 = load i32, ptr %50, align 4, !tbaa !20 %52 = lshr i32 %51, 8 %53 = and i32 %52, 255 br label %204 54: ; preds = %2 %55 = getelementptr inbounds i8, ptr %7, i64 24 %56 = load i32, ptr %55, align 4, !tbaa !20 %57 = and i32 %56, 255 br label %204 58: ; preds = %2 %59 = getelementptr inbounds i8, ptr %7, i64 28 %60 = load i32, ptr %59, align 4, !tbaa !21 %61 = lshr i32 %60, 8 %62 = and i32 %61, 255 br label %204 63: ; preds = %2 %64 = getelementptr inbounds i8, ptr %7, i64 28 %65 = load i32, ptr %64, align 4, !tbaa !21 %66 = and i32 %65, 255 br label %204 67: ; preds = %2 %68 = getelementptr inbounds i8, ptr %7, i64 32 %69 = load i32, ptr %68, align 4, !tbaa !22 %70 = shl i32 %69, 3 %71 = getelementptr inbounds i8, ptr %7, i64 36 %72 = load i32, ptr %71, align 4, !tbaa !23 %73 = ashr i32 %72, 2 %74 = or i32 %73, %70 br label %204 75: ; preds = %2 %76 = getelementptr inbounds i8, ptr %7, i64 36 %77 = load i32, ptr %76, align 4, !tbaa !23 %78 = shl i32 %77, 6 %79 = getelementptr inbounds i8, ptr %7, i64 40 %80 = load i32, ptr %79, align 4, !tbaa !24 %81 = shl i32 %80, 5 %82 = or i32 %81, %78 %83 = getelementptr inbounds i8, ptr %7, i64 44 %84 = load i32, ptr %83, align 4, !tbaa !25 %85 = or i32 %82, %84 br label %204 86: ; preds = %2 %87 = getelementptr inbounds i8, ptr %7, i64 48 %88 = load i32, ptr %87, align 4, !tbaa !26 %89 = shl i32 %88, 7 %90 = getelementptr inbounds i8, ptr %7, i64 52 %91 = load i32, ptr %90, align 4, !tbaa !27 %92 = shl i32 %91, 6 %93 = or i32 %92, %89 %94 = getelementptr inbounds i8, ptr %7, i64 56 %95 = load i32, ptr %94, align 4, !tbaa !28 %96 = shl i32 %95, 2 %97 = or i32 %93, %96 %98 = getelementptr inbounds i8, ptr %7, i64 60 %99 = load i32, ptr %98, align 4, !tbaa !29 %100 = ashr i32 %99, 3 %101 = or i32 %97, %100 br label %204 102: ; preds = %2 %103 = getelementptr inbounds i8, ptr %7, i64 60 %104 = load i32, ptr %103, align 4, !tbaa !29 %105 = shl i32 %104, 5 %106 = getelementptr inbounds i8, ptr %7, i64 64 %107 = load i32, ptr %106, align 4, !tbaa !30 %108 = or i32 %105, %107 br label %204 109: ; preds = %2 %110 = getelementptr inbounds i8, ptr %7, i64 68 %111 = load i32, ptr %110, align 4, !tbaa !31 %112 = shl i32 %111, 2 %113 = getelementptr inbounds i8, ptr %7, i64 72 %114 = load i32, ptr %113, align 4, !tbaa !32 %115 = shl i32 %114, 1 %116 = or i32 %115, %112 %117 = getelementptr inbounds i8, ptr %7, i64 76 %118 = load i32, ptr %117, align 4, !tbaa !33 %119 = or i32 %116, %118 br label %204 120: ; preds = %2 %121 = getelementptr inbounds i8, ptr %7, i64 80 %122 = load i32, ptr %121, align 4, !tbaa !34 br label %204 123: ; preds = %2 %124 = getelementptr inbounds i8, ptr %7, i64 84 %125 = load i32, ptr %124, align 4, !tbaa !35 %126 = shl i32 %125, 4 %127 = getelementptr inbounds i8, ptr %7, i64 88 %128 = load i32, ptr %127, align 4, !tbaa !36 %129 = ashr i32 %128, 2 %130 = or i32 %129, %126 br label %204 131: ; preds = %2 %132 = getelementptr inbounds i8, ptr %7, i64 88 %133 = load i32, ptr %132, align 4, !tbaa !36 %134 = shl i32 %133, 6 %135 = getelementptr inbounds i8, ptr %7, i64 92 %136 = load i32, ptr %135, align 4, !tbaa !37 %137 = or i32 %134, %136 br label %204 138: ; preds = %2 %139 = getelementptr inbounds i8, ptr %7, i64 96 %140 = load i32, ptr %139, align 4, !tbaa !38 %141 = shl i32 %140, 7 %142 = getelementptr inbounds i8, ptr %7, i64 100 %143 = load i32, ptr %142, align 4, !tbaa !39 %144 = shl i32 %143, 3 %145 = or i32 %144, %141 %146 = getelementptr inbounds i8, ptr %7, i64 104 %147 = load i32, ptr %146, align 4, !tbaa !40 %148 = shl i32 %147, 2 %149 = or i32 %145, %148 %150 = getelementptr inbounds i8, ptr %7, i64 108 %151 = load i32, ptr %150, align 4, !tbaa !41 %152 = ashr i32 %151, 8 %153 = or i32 %149, %152 br label %204 154: ; preds = %2 %155 = getelementptr inbounds i8, ptr %7, i64 108 %156 = load i32, ptr %155, align 4, !tbaa !41 br label %204 157: ; preds = %2 %158 = getelementptr inbounds i8, ptr %7, i64 112 %159 = load i32, ptr %158, align 4, !tbaa !42 %160 = shl i32 %159, 7 %161 = getelementptr inbounds i8, ptr %7, i64 116 %162 = load i32, ptr %161, align 4, !tbaa !43 %163 = shl i32 %162, 2 %164 = or i32 %163, %160 %165 = getelementptr inbounds i8, ptr %7, i64 120 %166 = load i32, ptr %165, align 4, !tbaa !44 %167 = or i32 %164, %166 br label %204 168: ; preds = %2 %169 = getelementptr inbounds i8, ptr %7, i64 124 %170 = load i32, ptr %169, align 4, !tbaa !45 %171 = shl i32 %170, 5 %172 = getelementptr inbounds i8, ptr %7, i64 128 %173 = load i32, ptr %172, align 4, !tbaa !46 %174 = shl i32 %173, 3 %175 = or i32 %174, %171 %176 = getelementptr inbounds i8, ptr %7, i64 132 %177 = load i32, ptr %176, align 4, !tbaa !47 %178 = or i32 %175, %177 br label %204 179: ; preds = %2 %180 = getelementptr inbounds i8, ptr %7, i64 136 %181 = load i32, ptr %180, align 4, !tbaa !48 %182 = shl i32 %181, 7 %183 = getelementptr inbounds i8, ptr %7, i64 140 %184 = load i32, ptr %183, align 4, !tbaa !49 %185 = shl i32 %184, 3 %186 = or i32 %185, %182 %187 = getelementptr inbounds i8, ptr %7, i64 144 %188 = load i32, ptr %187, align 4, !tbaa !50 %189 = or i32 %186, %188 br label %204 190: ; preds = %2 %191 = getelementptr inbounds i8, ptr %7, i64 148 %192 = load i32, ptr %191, align 4, !tbaa !51 %193 = shl i32 %192, 5 %194 = getelementptr inbounds i8, ptr %7, i64 152 %195 = load i32, ptr %194, align 4, !tbaa !52 %196 = or i32 %193, %195 br label %204 197: ; preds = %2 %198 = getelementptr inbounds i8, ptr %7, i64 156 %199 = load i32, ptr %198, align 4, !tbaa !53 %200 = shl i32 %199, 5 %201 = getelementptr inbounds i8, ptr %7, i64 160 %202 = load i32, ptr %201, align 4, !tbaa !54 %203 = or i32 %200, %202 br label %204 204: ; preds = %2, %197, %190, %179, %168, %157, %154, %138, %131, %123, %120, %109, %102, %86, %75, %67, %63, %58, %54, %49, %45, %40, %22, %10 %205 = phi i32 [ 0, %2 ], [ %196, %190 ], [ %189, %179 ], [ %203, %197 ], [ %178, %168 ], [ %167, %157 ], [ %156, %154 ], [ %153, %138 ], [ %137, %131 ], [ %130, %123 ], [ %122, %120 ], [ %119, %109 ], [ %108, %102 ], [ %101, %86 ], [ %85, %75 ], [ %74, %67 ], [ %66, %63 ], [ %62, %58 ], [ %57, %54 ], [ %53, %49 ], [ %48, %45 ], [ %44, %40 ], [ %39, %22 ], [ %21, %10 ] ret i32 %205 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"Scsp", !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 = !{!"Slot", !13, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !14, i64 148, !14, i64 152, !14, i64 156, !14, i64 160} !14 = !{!"int", !9, i64 0} !15 = !{!12, !14, i64 4} !16 = !{!12, !14, i64 8} !17 = !{!12, !14, i64 12} !18 = !{!12, !14, i64 16} !19 = !{!12, !14, i64 20} !20 = !{!12, !14, i64 24} !21 = !{!12, !14, i64 28} !22 = !{!12, !14, i64 32} !23 = !{!12, !14, i64 36} !24 = !{!12, !14, i64 40} !25 = !{!12, !14, i64 44} !26 = !{!12, !14, i64 48} !27 = !{!12, !14, i64 52} !28 = !{!12, !14, i64 56} !29 = !{!12, !14, i64 60} !30 = !{!12, !14, i64 64} !31 = !{!12, !14, i64 68} !32 = !{!12, !14, i64 72} !33 = !{!12, !14, i64 76} !34 = !{!12, !14, i64 80} !35 = !{!12, !14, i64 84} !36 = !{!12, !14, i64 88} !37 = !{!12, !14, i64 92} !38 = !{!12, !14, i64 96} !39 = !{!12, !14, i64 100} !40 = !{!12, !14, i64 104} !41 = !{!12, !14, i64 108} !42 = !{!12, !14, i64 112} !43 = !{!12, !14, i64 116} !44 = !{!12, !14, i64 120} !45 = !{!12, !14, i64 124} !46 = !{!12, !14, i64 128} !47 = !{!12, !14, i64 132} !48 = !{!12, !14, i64 136} !49 = !{!12, !14, i64 140} !50 = !{!12, !14, i64 144} !51 = !{!12, !14, i64 148} !52 = !{!12, !14, i64 152} !53 = !{!12, !14, i64 156} !54 = !{!12, !14, i64 160}
Provenance_Cores_Yabause_yabause_src_extr_scsp.c_scsp_slot_read_byte
; ModuleID = 'AnghaBench/TDengine/src/util/src/extr_tinterpolation.c_doLinearInterpolationImpl.c' source_filename = "AnghaBench/TDengine/src/util/src/extr_tinterpolation.c_doLinearInterpolationImpl.c" target datalayout = "e-m:e-p270:32:32-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 @doLinearInterpolationImpl], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef double @doLinearInterpolationImpl(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = fsub double %1, %0 %7 = fsub double %4, %2 %8 = fmul double %6, %7 %9 = fsub double %3, %2 %10 = fdiv double %8, %9 %11 = fadd double %10, %0 ret double %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/TDengine/src/util/src/extr_tinterpolation.c_doLinearInterpolationImpl.c' source_filename = "AnghaBench/TDengine/src/util/src/extr_tinterpolation.c_doLinearInterpolationImpl.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 @doLinearInterpolationImpl], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef double @doLinearInterpolationImpl(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = fsub double %1, %0 %7 = fsub double %4, %2 %8 = fmul double %6, %7 %9 = fsub double %3, %2 %10 = fdiv double %8, %9 %11 = fadd double %10, %0 ret double %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)"}
TDengine_src_util_src_extr_tinterpolation.c_doLinearInterpolationImpl
; ModuleID = 'AnghaBench/tengine/src/http/extr_ngx_http_request.c_ngx_http_alloc_request.c' source_filename = "AnghaBench/tengine/src/http/extr_ngx_http_request.c_ngx_http_alloc_request.c" target datalayout = "e-m:e-p270:32:32-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_22__ = type { i64, i32, i32, ptr } %struct.TYPE_21__ = type { ptr, ptr } %struct.TYPE_29__ = type { i32, i32, i32, i32, i32, i32, i64, i64, %struct.TYPE_27__, %struct.TYPE_26__, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr } %struct.TYPE_27__ = type { i32, i32, i32, i32 } %struct.TYPE_26__ = type { i32, i32 } %struct.TYPE_23__ = type { i32, i32, i32 } %struct.TYPE_28__ = type { i32, i32, i32 } @ngx_http_core_module = dso_local local_unnamed_addr global i32 0, align 4 @NGX_HTTP_MODULE = dso_local local_unnamed_addr global i32 0, align 4 @ngx_http_block_reading = dso_local local_unnamed_addr global i32 0, align 4 @NGX_OK = dso_local local_unnamed_addr global i64 0, align 8 @ngx_http_max_module = dso_local local_unnamed_addr global i32 0, align 4 @NGX_HTTP_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4 @NGX_HTTP_VERSION_10 = dso_local local_unnamed_addr global i32 0, align 4 @NGX_HTTP_MAX_URI_CHANGES = dso_local local_unnamed_addr global i64 0, align 8 @NGX_HTTP_MAX_SUBREQUESTS = dso_local local_unnamed_addr global i64 0, align 8 @NGX_HTTP_READING_REQUEST_STATE = dso_local local_unnamed_addr global i32 0, align 4 @ngx_http_log_error_handler = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_alloc_request], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ngx_http_alloc_request(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !14 %7 = tail call ptr @ngx_http_get_module_srv_conf(ptr noundef %5, i32 noundef %6) #2 %8 = load i32, ptr %7, align 4, !tbaa !15 %9 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 4, !tbaa !17 %11 = tail call ptr @ngx_create_pool(i32 noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %102, label %13 13: ; preds = %1 %14 = tail call ptr @ngx_pcalloc(ptr noundef nonnull %11, i32 noundef 160) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call i32 @ngx_destroy_pool(ptr noundef nonnull %11) #2 br label %102 18: ; preds = %13 %19 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 14 store ptr %11, ptr %19, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 24 store ptr %3, ptr %20, align 8, !tbaa !22 %21 = load i32, ptr @NGX_HTTP_MODULE, align 4, !tbaa !14 %22 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 23 store i32 %21, ptr %22, align 8, !tbaa !23 %23 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 22 store ptr %0, ptr %23, align 8, !tbaa !24 %24 = load ptr, ptr %4, align 8, !tbaa !12 %25 = getelementptr inbounds %struct.TYPE_23__, ptr %24, i64 0, i32 2 %26 = load i32, ptr %25, align 4, !tbaa !25 %27 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 21 store i32 %26, ptr %27, align 8, !tbaa !27 %28 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 19 %29 = load <2 x i32>, ptr %24, align 4, !tbaa !14 store <2 x i32> %29, ptr %28, align 8, !tbaa !14 %30 = load i32, ptr @ngx_http_block_reading, align 4, !tbaa !14 %31 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 18 store i32 %30, ptr %31, align 4, !tbaa !28 %32 = load ptr, ptr %3, align 8, !tbaa !29 %33 = icmp eq ptr %32, null %34 = getelementptr inbounds %struct.TYPE_22__, ptr %0, i64 0, i32 1 %35 = select i1 %33, ptr %34, ptr %32 %36 = load i32, ptr %35, align 4, !tbaa !14 %37 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 17 store i32 %36, ptr %37, align 8, !tbaa !30 %38 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 8 %39 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 8, i32 3 %40 = tail call i64 @ngx_list_init(ptr noundef nonnull %39, ptr noundef nonnull %11, i32 noundef 20, i32 noundef 4) #2 %41 = load i64, ptr @NGX_OK, align 8, !tbaa !31 %42 = icmp eq i64 %40, %41 br i1 %42, label %46, label %43 43: ; preds = %18 %44 = load ptr, ptr %19, align 8, !tbaa !18 %45 = tail call i32 @ngx_destroy_pool(ptr noundef %44) #2 br label %102 46: ; preds = %18 %47 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 8, i32 2 %48 = load ptr, ptr %19, align 8, !tbaa !18 %49 = tail call i64 @ngx_list_init(ptr noundef nonnull %47, ptr noundef %48, i32 noundef 4, i32 noundef 4) #2 %50 = load i64, ptr @NGX_OK, align 8, !tbaa !31 %51 = icmp eq i64 %49, %50 %52 = load ptr, ptr %19, align 8, !tbaa !18 br i1 %51, label %55, label %53 53: ; preds = %46 %54 = tail call i32 @ngx_destroy_pool(ptr noundef %52) #2 br label %102 55: ; preds = %46 %56 = load i32, ptr @ngx_http_max_module, align 4, !tbaa !14 %57 = shl i32 %56, 3 %58 = tail call ptr @ngx_pcalloc(ptr noundef %52, i32 noundef %57) #2 %59 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 16 store ptr %58, ptr %59, align 8, !tbaa !32 %60 = icmp eq ptr %58, null br i1 %60, label %61, label %64 61: ; preds = %55 %62 = load ptr, ptr %19, align 8, !tbaa !18 %63 = tail call i32 @ngx_destroy_pool(ptr noundef %62) #2 br label %102 64: ; preds = %55 %65 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !14 %66 = tail call ptr @ngx_http_get_module_main_conf(ptr noundef nonnull %14, i32 noundef %65) #2 %67 = load ptr, ptr %19, align 8, !tbaa !18 %68 = load i32, ptr %66, align 4, !tbaa !33 %69 = shl i32 %68, 2 %70 = tail call ptr @ngx_pcalloc(ptr noundef %67, i32 noundef %69) #2 %71 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 15 store ptr %70, ptr %71, align 8, !tbaa !36 %72 = icmp eq ptr %70, null br i1 %72, label %73, label %76 73: ; preds = %64 %74 = load ptr, ptr %19, align 8, !tbaa !18 %75 = tail call i32 @ngx_destroy_pool(ptr noundef %74) #2 br label %102 76: ; preds = %64 %77 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 13 store ptr %14, ptr %77, align 8, !tbaa !37 %78 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 1 store i32 1, ptr %78, align 4, !tbaa !38 %79 = tail call ptr (...) @ngx_timeofday() #2 %80 = getelementptr inbounds %struct.TYPE_28__, ptr %79, i64 0, i32 2 %81 = load i32, ptr %80, align 4, !tbaa !39 %82 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 12 store i32 %81, ptr %82, align 8, !tbaa !41 %83 = load i32, ptr %79, align 4, !tbaa !42 %84 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 2 store i32 %83, ptr %84, align 8, !tbaa !43 %85 = load i32, ptr @NGX_HTTP_UNKNOWN, align 4, !tbaa !14 %86 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 11 store i32 %85, ptr %86, align 4, !tbaa !44 %87 = load i32, ptr @NGX_HTTP_VERSION_10, align 4, !tbaa !14 %88 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 10 store i32 %87, ptr %88, align 8, !tbaa !45 %89 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 9 store i32 -1, ptr %89, align 8, !tbaa !46 %90 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 9, i32 1 store i32 -1, ptr %90, align 4, !tbaa !47 store i32 -1, ptr %38, align 8, !tbaa !48 %91 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 8, i32 1 store i32 -1, ptr %91, align 4, !tbaa !49 %92 = load i64, ptr @NGX_HTTP_MAX_URI_CHANGES, align 8, !tbaa !31 %93 = add nsw i64 %92, 1 %94 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 7 store i64 %93, ptr %94, align 8, !tbaa !50 %95 = load i64, ptr @NGX_HTTP_MAX_SUBREQUESTS, align 8, !tbaa !31 %96 = add nsw i64 %95, 1 %97 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 6 store i64 %96, ptr %97, align 8, !tbaa !51 %98 = load i32, ptr @NGX_HTTP_READING_REQUEST_STATE, align 4, !tbaa !14 %99 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 5 store i32 %98, ptr %99, align 4, !tbaa !52 %100 = load i32, ptr @ngx_http_log_error_handler, align 4, !tbaa !14 %101 = getelementptr inbounds %struct.TYPE_29__, ptr %14, i64 0, i32 4 store i32 %100, ptr %101, align 8, !tbaa !53 br label %102 102: ; preds = %1, %76, %73, %61, %53, %43, %16 %103 = phi ptr [ null, %16 ], [ null, %43 ], [ null, %53 ], [ null, %61 ], [ null, %73 ], [ %14, %76 ], [ null, %1 ] ret ptr %103 } declare ptr @ngx_http_get_module_srv_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_create_pool(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_pcalloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_destroy_pool(ptr noundef) local_unnamed_addr #1 declare i64 @ngx_list_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_timeofday(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"TYPE_22__", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_21__", !11, i64 0, !11, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_30__", !10, i64 0} !17 = !{!6, !10, i64 12} !18 = !{!19, !11, i64 88} !19 = !{!"TYPE_29__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !20, i64 40, !21, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !11, i64 136, !10, i64 144, !11, i64 152} !20 = !{!"TYPE_27__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12} !21 = !{!"TYPE_26__", !10, i64 0, !10, i64 4} !22 = !{!19, !11, i64 152} !23 = !{!19, !10, i64 144} !24 = !{!19, !11, i64 136} !25 = !{!26, !10, i64 8} !26 = !{!"TYPE_23__", !10, i64 0, !10, i64 4, !10, i64 8} !27 = !{!19, !10, i64 128} !28 = !{!19, !10, i64 116} !29 = !{!13, !11, i64 0} !30 = !{!19, !10, i64 112} !31 = !{!7, !7, i64 0} !32 = !{!19, !11, i64 104} !33 = !{!34, !10, i64 0} !34 = !{!"TYPE_31__", !35, i64 0} !35 = !{!"TYPE_25__", !10, i64 0} !36 = !{!19, !11, i64 96} !37 = !{!19, !11, i64 80} !38 = !{!19, !10, i64 4} !39 = !{!40, !10, i64 8} !40 = !{!"TYPE_28__", !10, i64 0, !10, i64 4, !10, i64 8} !41 = !{!19, !10, i64 72} !42 = !{!40, !10, i64 0} !43 = !{!19, !10, i64 8} !44 = !{!19, !10, i64 68} !45 = !{!19, !10, i64 64} !46 = !{!19, !10, i64 56} !47 = !{!19, !10, i64 60} !48 = !{!19, !10, i64 40} !49 = !{!19, !10, i64 44} !50 = !{!19, !7, i64 32} !51 = !{!19, !7, i64 24} !52 = !{!19, !10, i64 20} !53 = !{!19, !10, i64 16}
; ModuleID = 'AnghaBench/tengine/src/http/extr_ngx_http_request.c_ngx_http_alloc_request.c' source_filename = "AnghaBench/tengine/src/http/extr_ngx_http_request.c_ngx_http_alloc_request.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ngx_http_core_module = common local_unnamed_addr global i32 0, align 4 @NGX_HTTP_MODULE = common local_unnamed_addr global i32 0, align 4 @ngx_http_block_reading = common local_unnamed_addr global i32 0, align 4 @NGX_OK = common local_unnamed_addr global i64 0, align 8 @ngx_http_max_module = common local_unnamed_addr global i32 0, align 4 @NGX_HTTP_UNKNOWN = common local_unnamed_addr global i32 0, align 4 @NGX_HTTP_VERSION_10 = common local_unnamed_addr global i32 0, align 4 @NGX_HTTP_MAX_URI_CHANGES = common local_unnamed_addr global i64 0, align 8 @NGX_HTTP_MAX_SUBREQUESTS = common local_unnamed_addr global i64 0, align 8 @NGX_HTTP_READING_REQUEST_STATE = common local_unnamed_addr global i32 0, align 4 @ngx_http_log_error_handler = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_alloc_request], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ngx_http_alloc_request(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !15 %7 = tail call ptr @ngx_http_get_module_srv_conf(ptr noundef %5, i32 noundef %6) #2 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = getelementptr inbounds i8, ptr %0, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !18 %11 = tail call ptr @ngx_create_pool(i32 noundef %8, i32 noundef %10) #2 %12 = icmp eq ptr %11, null br i1 %12, label %100, label %13 13: ; preds = %1 %14 = tail call ptr @ngx_pcalloc(ptr noundef nonnull %11, i32 noundef 160) #2 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call i32 @ngx_destroy_pool(ptr noundef nonnull %11) #2 br label %100 18: ; preds = %13 %19 = getelementptr inbounds i8, ptr %14, i64 88 store ptr %11, ptr %19, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %14, i64 152 store ptr %3, ptr %20, align 8, !tbaa !23 %21 = load i32, ptr @NGX_HTTP_MODULE, align 4, !tbaa !15 %22 = getelementptr inbounds i8, ptr %14, i64 144 store i32 %21, ptr %22, align 8, !tbaa !24 %23 = getelementptr inbounds i8, ptr %14, i64 136 store ptr %0, ptr %23, align 8, !tbaa !25 %24 = load ptr, ptr %4, align 8, !tbaa !13 %25 = getelementptr inbounds i8, ptr %24, i64 8 %26 = load i32, ptr %25, align 4, !tbaa !26 %27 = getelementptr inbounds i8, ptr %14, i64 128 store i32 %26, ptr %27, align 8, !tbaa !28 %28 = getelementptr inbounds i8, ptr %14, i64 120 %29 = load <2 x i32>, ptr %24, align 4, !tbaa !15 store <2 x i32> %29, ptr %28, align 8, !tbaa !15 %30 = load i32, ptr @ngx_http_block_reading, align 4, !tbaa !15 %31 = getelementptr inbounds i8, ptr %14, i64 116 store i32 %30, ptr %31, align 4, !tbaa !29 %32 = load ptr, ptr %3, align 8, !tbaa !30 %33 = icmp eq ptr %32, null %34 = getelementptr inbounds i8, ptr %0, i64 8 %35 = select i1 %33, ptr %34, ptr %32 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = getelementptr inbounds i8, ptr %14, i64 112 store i32 %36, ptr %37, align 8, !tbaa !31 %38 = getelementptr inbounds i8, ptr %14, i64 40 %39 = getelementptr inbounds i8, ptr %14, i64 52 %40 = tail call i64 @ngx_list_init(ptr noundef nonnull %39, ptr noundef nonnull %11, i32 noundef 20, i32 noundef 4) #2 %41 = load i64, ptr @NGX_OK, align 8, !tbaa !32 %42 = icmp eq i64 %40, %41 br i1 %42, label %46, label %43 43: ; preds = %18 %44 = load ptr, ptr %19, align 8, !tbaa !19 %45 = tail call i32 @ngx_destroy_pool(ptr noundef %44) #2 br label %100 46: ; preds = %18 %47 = getelementptr inbounds i8, ptr %14, i64 48 %48 = load ptr, ptr %19, align 8, !tbaa !19 %49 = tail call i64 @ngx_list_init(ptr noundef nonnull %47, ptr noundef %48, i32 noundef 4, i32 noundef 4) #2 %50 = load i64, ptr @NGX_OK, align 8, !tbaa !32 %51 = icmp eq i64 %49, %50 %52 = load ptr, ptr %19, align 8, !tbaa !19 br i1 %51, label %55, label %53 53: ; preds = %46 %54 = tail call i32 @ngx_destroy_pool(ptr noundef %52) #2 br label %100 55: ; preds = %46 %56 = load i32, ptr @ngx_http_max_module, align 4, !tbaa !15 %57 = shl i32 %56, 3 %58 = tail call ptr @ngx_pcalloc(ptr noundef %52, i32 noundef %57) #2 %59 = getelementptr inbounds i8, ptr %14, i64 104 store ptr %58, ptr %59, align 8, !tbaa !33 %60 = icmp eq ptr %58, null br i1 %60, label %61, label %64 61: ; preds = %55 %62 = load ptr, ptr %19, align 8, !tbaa !19 %63 = tail call i32 @ngx_destroy_pool(ptr noundef %62) #2 br label %100 64: ; preds = %55 %65 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !15 %66 = tail call ptr @ngx_http_get_module_main_conf(ptr noundef nonnull %14, i32 noundef %65) #2 %67 = load ptr, ptr %19, align 8, !tbaa !19 %68 = load i32, ptr %66, align 4, !tbaa !34 %69 = shl i32 %68, 2 %70 = tail call ptr @ngx_pcalloc(ptr noundef %67, i32 noundef %69) #2 %71 = getelementptr inbounds i8, ptr %14, i64 96 store ptr %70, ptr %71, align 8, !tbaa !37 %72 = icmp eq ptr %70, null br i1 %72, label %73, label %76 73: ; preds = %64 %74 = load ptr, ptr %19, align 8, !tbaa !19 %75 = tail call i32 @ngx_destroy_pool(ptr noundef %74) #2 br label %100 76: ; preds = %64 %77 = getelementptr inbounds i8, ptr %14, i64 80 store ptr %14, ptr %77, align 8, !tbaa !38 %78 = getelementptr inbounds i8, ptr %14, i64 4 store i32 1, ptr %78, align 4, !tbaa !39 %79 = tail call ptr @ngx_timeofday() #2 %80 = getelementptr inbounds i8, ptr %79, i64 8 %81 = load i32, ptr %80, align 4, !tbaa !40 %82 = getelementptr inbounds i8, ptr %14, i64 72 store i32 %81, ptr %82, align 8, !tbaa !42 %83 = load i32, ptr %79, align 4, !tbaa !43 %84 = getelementptr inbounds i8, ptr %14, i64 8 store i32 %83, ptr %84, align 8, !tbaa !44 %85 = load i32, ptr @NGX_HTTP_UNKNOWN, align 4, !tbaa !15 %86 = getelementptr inbounds i8, ptr %14, i64 68 store i32 %85, ptr %86, align 4, !tbaa !45 %87 = load i32, ptr @NGX_HTTP_VERSION_10, align 4, !tbaa !15 %88 = getelementptr inbounds i8, ptr %14, i64 64 store i32 %87, ptr %88, align 8, !tbaa !46 %89 = getelementptr inbounds i8, ptr %14, i64 56 store <2 x i32> <i32 -1, i32 -1>, ptr %89, align 8, !tbaa !15 store <2 x i32> <i32 -1, i32 -1>, ptr %38, align 8, !tbaa !15 %90 = load i64, ptr @NGX_HTTP_MAX_URI_CHANGES, align 8, !tbaa !32 %91 = add nsw i64 %90, 1 %92 = getelementptr inbounds i8, ptr %14, i64 32 store i64 %91, ptr %92, align 8, !tbaa !47 %93 = load i64, ptr @NGX_HTTP_MAX_SUBREQUESTS, align 8, !tbaa !32 %94 = add nsw i64 %93, 1 %95 = getelementptr inbounds i8, ptr %14, i64 24 store i64 %94, ptr %95, align 8, !tbaa !48 %96 = load i32, ptr @NGX_HTTP_READING_REQUEST_STATE, align 4, !tbaa !15 %97 = getelementptr inbounds i8, ptr %14, i64 20 store i32 %96, ptr %97, align 4, !tbaa !49 %98 = load i32, ptr @ngx_http_log_error_handler, align 4, !tbaa !15 %99 = getelementptr inbounds i8, ptr %14, i64 16 store i32 %98, ptr %99, align 8, !tbaa !50 br label %100 100: ; preds = %1, %76, %73, %61, %53, %43, %16 %101 = phi ptr [ null, %16 ], [ null, %43 ], [ null, %53 ], [ null, %61 ], [ null, %73 ], [ %14, %76 ], [ null, %1 ] ret ptr %101 } declare ptr @ngx_http_get_module_srv_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_create_pool(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_pcalloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ngx_destroy_pool(ptr noundef) local_unnamed_addr #1 declare i64 @ngx_list_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_http_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_timeofday(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"TYPE_22__", !8, i64 0, !11, i64 8, !11, i64 12, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_21__", !12, i64 0, !12, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_30__", !11, i64 0} !18 = !{!7, !11, i64 12} !19 = !{!20, !12, i64 88} !20 = !{!"TYPE_29__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !8, i64 24, !8, i64 32, !21, i64 40, !22, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !12, i64 136, !11, i64 144, !12, i64 152} !21 = !{!"TYPE_27__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !22 = !{!"TYPE_26__", !11, i64 0, !11, i64 4} !23 = !{!20, !12, i64 152} !24 = !{!20, !11, i64 144} !25 = !{!20, !12, i64 136} !26 = !{!27, !11, i64 8} !27 = !{!"TYPE_23__", !11, i64 0, !11, i64 4, !11, i64 8} !28 = !{!20, !11, i64 128} !29 = !{!20, !11, i64 116} !30 = !{!14, !12, i64 0} !31 = !{!20, !11, i64 112} !32 = !{!8, !8, i64 0} !33 = !{!20, !12, i64 104} !34 = !{!35, !11, i64 0} !35 = !{!"TYPE_31__", !36, i64 0} !36 = !{!"TYPE_25__", !11, i64 0} !37 = !{!20, !12, i64 96} !38 = !{!20, !12, i64 80} !39 = !{!20, !11, i64 4} !40 = !{!41, !11, i64 8} !41 = !{!"TYPE_28__", !11, i64 0, !11, i64 4, !11, i64 8} !42 = !{!20, !11, i64 72} !43 = !{!41, !11, i64 0} !44 = !{!20, !11, i64 8} !45 = !{!20, !11, i64 68} !46 = !{!20, !11, i64 64} !47 = !{!20, !8, i64 32} !48 = !{!20, !8, i64 24} !49 = !{!20, !11, i64 20} !50 = !{!20, !11, i64 16}
tengine_src_http_extr_ngx_http_request.c_ngx_http_alloc_request
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_dag_cache.c_try_match_last_node.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_dag_cache.c_try_match_last_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i64, ptr } %struct.TYPE_12__ = type { i64, i32 } @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @try_match_last_node], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @try_match_last_node(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_14__, ptr %1, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load ptr, ptr %6, align 8, !tbaa !13 %8 = tail call ptr @cache_lookup_last_path(ptr noundef %7, ptr noundef %2) #3 %9 = icmp eq ptr %8, null br i1 %9, label %35, label %10 10: ; preds = %3 %11 = tail call i32 @svn_fs_x__dag_check_mutable(ptr noundef nonnull %8) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = tail call ptr @svn_fs_x__dag_get_created_path(ptr noundef nonnull %8) #3 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = tail call i64 @svn_fs_x__dag_get_revision(ptr noundef nonnull %8) #3 %17 = load i64, ptr %1, align 8, !tbaa !15 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %13 %20 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %15) %21 = load i64, ptr %2, align 8, !tbaa !16 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %19 %24 = getelementptr inbounds %struct.TYPE_12__, ptr %2, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !19 %26 = tail call i64 @memcmp(ptr noundef nonnull %15, i32 noundef %25, i64 noundef %20) #3 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 %29 = load ptr, ptr %6, align 8, !tbaa !13 %30 = tail call i32 @auto_clear_dag_cache(ptr noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = tail call i32 @svn_fs_x__change_set_by_rev(i64 noundef %16) #3 %34 = tail call ptr @cache_lookup(ptr noundef %29, i32 noundef %33, ptr noundef nonnull %2) #3 store ptr %8, ptr %34, align 8, !tbaa !20 br label %35 35: ; preds = %3, %10, %28, %23, %19, %13, %32 %36 = phi ptr [ %8, %32 ], [ null, %13 ], [ null, %19 ], [ null, %23 ], [ null, %28 ], [ null, %10 ], [ null, %3 ] store ptr %36, ptr %0, align 8, !tbaa !22 %37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !22 ret ptr %37 } declare ptr @cache_lookup_last_path(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_fs_x__dag_check_mutable(ptr noundef) local_unnamed_addr #1 declare ptr @svn_fs_x__dag_get_created_path(ptr noundef) local_unnamed_addr #1 declare i64 @svn_fs_x__dag_get_revision(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @auto_clear_dag_cache(ptr noundef) local_unnamed_addr #1 declare i32 @svn_fs_x__change_set_by_rev(i64 noundef) local_unnamed_addr #1 declare ptr @cache_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"TYPE_14__", !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 = !{!12, !10, i64 0} !12 = !{!"TYPE_11__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_13__", !10, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_12__", !7, i64 0, !18, i64 8} !18 = !{!"int", !8, i64 0} !19 = !{!17, !18, i64 8} !20 = !{!21, !10, i64 0} !21 = !{!"TYPE_15__", !10, i64 0} !22 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_dag_cache.c_try_match_last_node.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_dag_cache.c_try_match_last_node.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 @try_match_last_node], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @try_match_last_node(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load ptr, ptr %6, align 8, !tbaa !14 %8 = tail call ptr @cache_lookup_last_path(ptr noundef %7, ptr noundef %2) #3 %9 = icmp eq ptr %8, null br i1 %9, label %35, label %10 10: ; preds = %3 %11 = tail call i32 @svn_fs_x__dag_check_mutable(ptr noundef nonnull %8) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = tail call ptr @svn_fs_x__dag_get_created_path(ptr noundef nonnull %8) #3 %15 = getelementptr inbounds i8, ptr %14, i64 1 %16 = tail call i64 @svn_fs_x__dag_get_revision(ptr noundef nonnull %8) #3 %17 = load i64, ptr %1, align 8, !tbaa !16 %18 = icmp eq i64 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %13 %20 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %15) %21 = load i64, ptr %2, align 8, !tbaa !17 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %35 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %2, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !20 %26 = tail call i64 @memcmp(ptr noundef nonnull %15, i32 noundef %25, i64 noundef %20) #3 %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %23 %29 = load ptr, ptr %6, align 8, !tbaa !14 %30 = tail call i32 @auto_clear_dag_cache(ptr noundef %29) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = tail call i32 @svn_fs_x__change_set_by_rev(i64 noundef %16) #3 %34 = tail call ptr @cache_lookup(ptr noundef %29, i32 noundef %33, ptr noundef nonnull %2) #3 store ptr %8, ptr %34, align 8, !tbaa !21 br label %35 35: ; preds = %3, %10, %28, %23, %19, %13, %32 %36 = phi ptr [ %8, %32 ], [ null, %13 ], [ null, %19 ], [ null, %23 ], [ null, %28 ], [ null, %10 ], [ null, %3 ] store ptr %36, ptr %0, align 8, !tbaa !23 %37 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !23 ret ptr %37 } declare ptr @cache_lookup_last_path(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @svn_fs_x__dag_check_mutable(ptr noundef) local_unnamed_addr #1 declare ptr @svn_fs_x__dag_get_created_path(ptr noundef) local_unnamed_addr #1 declare i64 @svn_fs_x__dag_get_revision(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare i64 @memcmp(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @auto_clear_dag_cache(ptr noundef) local_unnamed_addr #1 declare i32 @svn_fs_x__change_set_by_rev(i64 noundef) local_unnamed_addr #1 declare ptr @cache_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"TYPE_14__", !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 = !{!13, !11, i64 0} !13 = !{!"TYPE_11__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_13__", !11, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_12__", !8, i64 0, !19, i64 8} !19 = !{!"int", !9, i64 0} !20 = !{!18, !19, i64 8} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_15__", !11, i64 0} !23 = !{!11, !11, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_dag_cache.c_try_match_last_node
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/tools/extr_skey.c_decode_key.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/tools/extr_skey.c_decode_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"ERROR (decoding): err=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" %s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c" (unknown)\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"RSA key (%lu bits)\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"EC key (curve = %d: %s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Unknown key type: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_key], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @decode_key(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %6 = call i32 @br_skey_decoder_init(ptr noundef nonnull %4) #4 %7 = call i32 @br_skey_decoder_push(ptr noundef nonnull %4, ptr noundef %0, i64 noundef %1) #4 %8 = call i32 @br_skey_decoder_last_error(ptr noundef nonnull %4) #4 %9 = icmp eq i32 %8, 0 br i1 %9, label %22, label %10 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %11 = load i32, ptr @stderr, align 4, !tbaa !5 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #4 %13 = call ptr @find_error_name(i32 noundef %8, ptr noundef nonnull %5) #4 %14 = icmp eq ptr %13, null %15 = load i32, ptr @stderr, align 4, !tbaa !5 br i1 %14, label %19, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8, !tbaa !9 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef nonnull %13, ptr noundef %17) #4 br label %21 19: ; preds = %10 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str.2) #4 br label %21 21: ; preds = %19, %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 br label %40 22: ; preds = %3 %23 = call i32 @br_skey_decoder_key_type(ptr noundef nonnull %4) #4 switch i32 %23, label %36 [ i32 128, label %24 i32 129, label %30 ] 24: ; preds = %22 %25 = call ptr @br_skey_decoder_get_rsa(ptr noundef nonnull %4) #4 %26 = load i64, ptr %25, align 8, !tbaa !11 %27 = trunc i64 %26 to i32 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %27) %29 = call i32 @print_rsa(ptr noundef nonnull %25, ptr noundef %2) #4 br label %40 30: ; preds = %22 %31 = call ptr @br_skey_decoder_get_ec(ptr noundef nonnull %4) #4 %32 = load i32, ptr %31, align 4, !tbaa !14 %33 = call ptr @ec_curve_name(i32 noundef %32) #4 %34 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %32, ptr noundef %33) %35 = call i32 @print_ec(ptr noundef nonnull %31, ptr noundef %2) #4 br label %40 36: ; preds = %22 %37 = load i32, ptr @stderr, align 4, !tbaa !5 %38 = call i32 @br_skey_decoder_key_type(ptr noundef nonnull %4) #4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef nonnull @.str.5, i32 noundef %38) #4 br label %40 40: ; preds = %24, %30, %36, %21 %41 = phi i32 [ 0, %21 ], [ 0, %36 ], [ %35, %30 ], [ %29, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @br_skey_decoder_init(ptr noundef) local_unnamed_addr #2 declare i32 @br_skey_decoder_push(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @br_skey_decoder_last_error(ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @find_error_name(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @br_skey_decoder_key_type(ptr noundef) local_unnamed_addr #2 declare ptr @br_skey_decoder_get_rsa(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3 declare i32 @print_rsa(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @br_skey_decoder_get_ec(ptr noundef) local_unnamed_addr #2 declare ptr @ec_curve_name(i32 noundef) local_unnamed_addr #2 declare i32 @print_ec(ptr noundef, 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_7__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_8__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/tools/extr_skey.c_decode_key.c' source_filename = "AnghaBench/freebsd/contrib/bearssl/tools/extr_skey.c_decode_key.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 [26 x i8] c"ERROR (decoding): err=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" %s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c" (unknown)\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"RSA key (%lu bits)\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"EC key (curve = %d: %s)\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Unknown key type: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @decode_key], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @decode_key(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %6 = call i32 @br_skey_decoder_init(ptr noundef nonnull %4) #4 %7 = call i32 @br_skey_decoder_push(ptr noundef nonnull %4, ptr noundef %0, i64 noundef %1) #4 %8 = call i32 @br_skey_decoder_last_error(ptr noundef nonnull %4) #4 %9 = icmp eq i32 %8, 0 br i1 %9, label %22, label %10 10: ; preds = %3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %11 = load i32, ptr @stderr, align 4, !tbaa !6 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef nonnull @.str, i32 noundef %8) #4 %13 = call ptr @find_error_name(i32 noundef %8, ptr noundef nonnull %5) #4 %14 = icmp eq ptr %13, null %15 = load i32, ptr @stderr, align 4, !tbaa !6 br i1 %14, label %19, label %16 16: ; preds = %10 %17 = load ptr, ptr %5, align 8, !tbaa !10 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str.1, ptr noundef nonnull %13, ptr noundef %17) #4 br label %21 19: ; preds = %10 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef nonnull @.str.2) #4 br label %21 21: ; preds = %19, %16 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 br label %40 22: ; preds = %3 %23 = call i32 @br_skey_decoder_key_type(ptr noundef nonnull %4) #4 switch i32 %23, label %36 [ i32 128, label %24 i32 129, label %30 ] 24: ; preds = %22 %25 = call ptr @br_skey_decoder_get_rsa(ptr noundef nonnull %4) #4 %26 = load i64, ptr %25, align 8, !tbaa !12 %27 = trunc i64 %26 to i32 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %27) %29 = call i32 @print_rsa(ptr noundef nonnull %25, ptr noundef %2) #4 br label %40 30: ; preds = %22 %31 = call ptr @br_skey_decoder_get_ec(ptr noundef nonnull %4) #4 %32 = load i32, ptr %31, align 4, !tbaa !15 %33 = call ptr @ec_curve_name(i32 noundef %32) #4 %34 = call i32 (ptr, i32, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %32, ptr noundef %33) %35 = call i32 @print_ec(ptr noundef nonnull %31, ptr noundef %2) #4 br label %40 36: ; preds = %22 %37 = load i32, ptr @stderr, align 4, !tbaa !6 %38 = call i32 @br_skey_decoder_key_type(ptr noundef nonnull %4) #4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef nonnull @.str.5, i32 noundef %38) #4 br label %40 40: ; preds = %24, %30, %36, %21 %41 = phi i32 [ 0, %21 ], [ 0, %36 ], [ %35, %30 ], [ %29, %24 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %41 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @br_skey_decoder_init(ptr noundef) local_unnamed_addr #2 declare i32 @br_skey_decoder_push(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @br_skey_decoder_last_error(ptr noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @find_error_name(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @br_skey_decoder_key_type(ptr noundef) local_unnamed_addr #2 declare ptr @br_skey_decoder_get_rsa(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #3 declare i32 @print_rsa(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @br_skey_decoder_get_ec(ptr noundef) local_unnamed_addr #2 declare ptr @ec_curve_name(i32 noundef) local_unnamed_addr #2 declare i32 @print_ec(ptr noundef, 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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_8__", !7, i64 0}
freebsd_contrib_bearssl_tools_extr_skey.c_decode_key
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_trap_dbgidr.c' source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_trap_dbgidr.c" target datalayout = "e-m:e-p270:32:32-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.sys_reg_params = type { i32, i64 } @SYS_ID_AA64DFR0_EL1 = dso_local local_unnamed_addr global i32 0, align 4 @SYS_ID_AA64PFR0_EL1 = dso_local local_unnamed_addr global i32 0, align 4 @ID_AA64PFR0_EL3_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_WRPS_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_BRPS_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_CTX_CMPS_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @trap_dbgidr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @trap_dbgidr(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = getelementptr inbounds %struct.sys_reg_params, ptr %1, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @ignore_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %35 9: ; preds = %3 %10 = load i32, ptr @SYS_ID_AA64DFR0_EL1, align 4, !tbaa !11 %11 = tail call i32 @read_sanitised_ftr_reg(i32 noundef %10) #2 %12 = load i32, ptr @SYS_ID_AA64PFR0_EL1, align 4, !tbaa !11 %13 = tail call i32 @read_sanitised_ftr_reg(i32 noundef %12) #2 %14 = load i32, ptr @ID_AA64PFR0_EL3_SHIFT, align 4, !tbaa !11 %15 = tail call i32 @cpuid_feature_extract_unsigned_field(i32 noundef %13, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @ID_AA64DFR0_WRPS_SHIFT, align 4, !tbaa !11 %18 = ashr i32 %11, %17 %19 = shl i32 %18, 28 %20 = load i32, ptr @ID_AA64DFR0_BRPS_SHIFT, align 4, !tbaa !11 %21 = ashr i32 %11, %20 %22 = shl i32 %21, 24 %23 = and i32 %22, 251658240 %24 = or disjoint i32 %23, %19 %25 = load i32, ptr @ID_AA64DFR0_CTX_CMPS_SHIFT, align 4, !tbaa !11 %26 = ashr i32 %11, %25 %27 = shl i32 %26, 20 %28 = and i32 %27, 15728640 %29 = or disjoint i32 %24, %28 %30 = select i1 %16, i32 0, i32 16384 %31 = or disjoint i32 %29, %30 %32 = select i1 %16, i32 0, i32 4096 %33 = or disjoint i32 %31, %32 %34 = or disjoint i32 %33, 393216 store i32 %34, ptr %1, align 8, !tbaa !12 br label %35 35: ; preds = %9, %7 %36 = phi i32 [ %8, %7 ], [ 1, %9 ] ret i32 %36 } declare i32 @ignore_write(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_sanitised_ftr_reg(i32 noundef) local_unnamed_addr #1 declare i32 @cpuid_feature_extract_unsigned_field(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 = !{!"sys_reg_params", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_trap_dbgidr.c' source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.c_trap_dbgidr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_ID_AA64DFR0_EL1 = common local_unnamed_addr global i32 0, align 4 @SYS_ID_AA64PFR0_EL1 = common local_unnamed_addr global i32 0, align 4 @ID_AA64PFR0_EL3_SHIFT = common local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_WRPS_SHIFT = common local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_BRPS_SHIFT = common local_unnamed_addr global i32 0, align 4 @ID_AA64DFR0_CTX_CMPS_SHIFT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @trap_dbgidr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @trap_dbgidr(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @ignore_write(ptr noundef %0, ptr noundef nonnull %1) #2 br label %35 9: ; preds = %3 %10 = load i32, ptr @SYS_ID_AA64DFR0_EL1, align 4, !tbaa !12 %11 = tail call i32 @read_sanitised_ftr_reg(i32 noundef %10) #2 %12 = load i32, ptr @SYS_ID_AA64PFR0_EL1, align 4, !tbaa !12 %13 = tail call i32 @read_sanitised_ftr_reg(i32 noundef %12) #2 %14 = load i32, ptr @ID_AA64PFR0_EL3_SHIFT, align 4, !tbaa !12 %15 = tail call i32 @cpuid_feature_extract_unsigned_field(i32 noundef %13, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 %17 = load i32, ptr @ID_AA64DFR0_WRPS_SHIFT, align 4, !tbaa !12 %18 = ashr i32 %11, %17 %19 = shl i32 %18, 28 %20 = load i32, ptr @ID_AA64DFR0_BRPS_SHIFT, align 4, !tbaa !12 %21 = ashr i32 %11, %20 %22 = shl i32 %21, 24 %23 = and i32 %22, 251658240 %24 = or disjoint i32 %23, %19 %25 = load i32, ptr @ID_AA64DFR0_CTX_CMPS_SHIFT, align 4, !tbaa !12 %26 = ashr i32 %11, %25 %27 = shl i32 %26, 20 %28 = and i32 %27, 15728640 %29 = or disjoint i32 %24, %28 %30 = select i1 %16, i32 0, i32 16384 %31 = or disjoint i32 %29, %30 %32 = select i1 %16, i32 0, i32 4096 %33 = or disjoint i32 %31, %32 %34 = or disjoint i32 %33, 393216 store i32 %34, ptr %1, align 8, !tbaa !13 br label %35 35: ; preds = %9, %7 %36 = phi i32 [ %8, %7 ], [ 1, %9 ] ret i32 %36 } declare i32 @ignore_write(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @read_sanitised_ftr_reg(i32 noundef) local_unnamed_addr #1 declare i32 @cpuid_feature_extract_unsigned_field(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 = !{!"sys_reg_params", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0}
linux_arch_arm64_kvm_extr_sys_regs.c_trap_dbgidr
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/atmel/extr_atmel.c_atmel_set_mib8.c' source_filename = "AnghaBench/linux/drivers/net/wireless/atmel/extr_atmel.c_atmel_set_mib8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CMD_Set_MIB_Vars = dso_local local_unnamed_addr global i32 0, align 4 @MIB_HEADER_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_set_mib8], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable define internal void @atmel_set_mib8(ptr nocapture %0, ptr nocapture %1, ptr nocapture %2, ptr nocapture %3) #0 { unreachable } attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/atmel/extr_atmel.c_atmel_set_mib8.c' source_filename = "AnghaBench/linux/drivers/net/wireless/atmel/extr_atmel.c_atmel_set_mib8.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMD_Set_MIB_Vars = common local_unnamed_addr global i32 0, align 4 @MIB_HEADER_SIZE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @atmel_set_mib8], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @atmel_set_mib8(ptr nocapture %0, ptr nocapture %1, ptr nocapture %2, ptr nocapture %3) #0 { unreachable } attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_atmel_extr_atmel.c_atmel_set_mib8
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_backward_references_enc.c_VP8LRefsCursorInit.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_backward_references_enc.c_VP8LRefsCursorInit.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_6__ = type { i32, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @VP8LRefsCursorInit(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_7__) align 8 %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 store ptr %3, ptr %4, align 8, !tbaa !10 %5 = icmp eq ptr %3, null br i1 %5, label %12, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i32, ptr %3, align 8, !tbaa !15 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 br label %12 12: ; preds = %2, %6 %13 = phi ptr [ %8, %6 ], [ null, %2 ] %14 = phi ptr [ %11, %6 ], [ null, %2 ] %15 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 store ptr %13, ptr %15, align 8 store ptr %14, ptr %0, align 8, !tbaa !16 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_7__", !7, i64 0, !7, i64 8, !7, i64 16} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_6__", !14, i64 0, !7, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!11, !7, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_backward_references_enc.c_VP8LRefsCursorInit.c' source_filename = "AnghaBench/sumatrapdf/ext/libwebp/src/enc/extr_backward_references_enc.c_VP8LRefsCursorInit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_7__ = type { ptr, ptr, ptr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @VP8LRefsCursorInit(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_7__) align 8 %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %3, ptr %4, align 8, !tbaa !11 %5 = icmp eq ptr %3, null br i1 %5, label %12, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i32, ptr %3, align 8, !tbaa !16 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 br label %12 12: ; preds = %2, %6 %13 = phi ptr [ %8, %6 ], [ null, %2 ] %14 = phi ptr [ %11, %6 ], [ null, %2 ] %15 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %13, ptr %15, align 8 store ptr %14, ptr %0, align 8, !tbaa !17 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"TYPE_7__", !8, i64 0, !8, i64 8, !8, i64 16} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_6__", !15, i64 0, !8, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!12, !8, i64 0}
sumatrapdf_ext_libwebp_src_enc_extr_backward_references_enc.c_VP8LRefsCursorInit
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_ioctl.c_btrfs_is_empty_uuid.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_ioctl.c_btrfs_is_empty_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" @BTRFS_UUID_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local noundef i32 @btrfs_is_empty_uuid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @BTRFS_UUID_SIZE, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 br label %9 6: ; preds = %9 %7 = add nuw nsw i64 %10, 1 %8 = icmp eq i64 %7, %5 br i1 %8, label %14, label %9, !llvm.loop !9 9: ; preds = %4, %6 %10 = phi i64 [ 0, %4 ], [ %7, %6 ] %11 = getelementptr inbounds i64, ptr %0, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = icmp eq i64 %12, 0 br i1 %13, label %6, label %14 14: ; preds = %9, %6, %1 %15 = phi i32 [ 1, %1 ], [ 1, %6 ], [ 0, %9 ] ret i32 %15 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/btrfs/extr_ioctl.c_btrfs_is_empty_uuid.c' source_filename = "AnghaBench/linux/fs/btrfs/extr_ioctl.c_btrfs_is_empty_uuid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTRFS_UUID_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define range(i32 0, 2) i32 @btrfs_is_empty_uuid(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @BTRFS_UUID_SIZE, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %14 4: ; preds = %1 %5 = zext nneg i32 %2 to i64 br label %9 6: ; preds = %9 %7 = add nuw nsw i64 %10, 1 %8 = icmp eq i64 %7, %5 br i1 %8, label %14, label %9, !llvm.loop !10 9: ; preds = %4, %6 %10 = phi i64 [ 0, %4 ], [ %7, %6 ] %11 = getelementptr inbounds i64, ptr %0, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = icmp eq i64 %12, 0 br i1 %13, label %6, label %14 14: ; preds = %9, %6, %1 %15 = phi i32 [ 1, %1 ], [ 1, %6 ], [ 0, %9 ] ret i32 %15 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
linux_fs_btrfs_extr_ioctl.c_btrfs_is_empty_uuid
; ModuleID = 'AnghaBench/h2o/lib/http3/extr_qpack.c_h2o_qpack_decoder_send_state_sync.c' source_filename = "AnghaBench/h2o/lib/http3/extr_qpack.c_h2o_qpack_decoder_send_state_sync.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i64 @h2o_qpack_decoder_send_state_sync(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %11, label %5 5: ; preds = %2 store i64 0, ptr %1, align 8, !tbaa !10 %6 = tail call ptr @h2o_hpack_encode_int(ptr noundef nonnull %1, i32 noundef %3, i32 noundef 6) #2 store i32 0, ptr %0, align 4, !tbaa !5 %7 = ptrtoint ptr %6 to i64 %8 = ptrtoint ptr %1 to i64 %9 = sub i64 %7, %8 %10 = ashr exact i64 %9, 3 br label %11 11: ; preds = %2, %5 %12 = phi i64 [ %10, %5 ], [ 0, %2 ] ret i64 %12 } declare ptr @h2o_hpack_encode_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !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}
; ModuleID = 'AnghaBench/h2o/lib/http3/extr_qpack.c_h2o_qpack_decoder_send_state_sync.c' source_filename = "AnghaBench/h2o/lib/http3/extr_qpack.c_h2o_qpack_decoder_send_state_sync.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(i64 -1152921504606846976, 1152921504606846976) i64 @h2o_qpack_decoder_send_state_sync(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %11, label %5 5: ; preds = %2 store i64 0, ptr %1, align 8, !tbaa !11 %6 = tail call ptr @h2o_hpack_encode_int(ptr noundef nonnull %1, i32 noundef %3, i32 noundef 6) #2 store i32 0, ptr %0, align 4, !tbaa !6 %7 = ptrtoint ptr %6 to i64 %8 = ptrtoint ptr %1 to i64 %9 = sub i64 %7, %8 %10 = ashr exact i64 %9, 3 br label %11 11: ; preds = %2, %5 %12 = phi i64 [ %10, %5 ], [ 0, %2 ] ret i64 %12 } declare ptr @h2o_hpack_encode_int(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0}
h2o_lib_http3_extr_qpack.c_h2o_qpack_decoder_send_state_sync
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_screenshot.c_screenshot_dump.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_screenshot.c_screenshot_dump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.retro_system_info = type { ptr } %struct.TYPE_13__ = type { ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i64, i32, i32, ptr, i32, i32, ptr, ptr } %struct.TYPE_12__ = type { i64, i64, i32 } @.str = private unnamed_addr constant [5 x i8] c".png\00", align 1 @RARCH_PATH_CONTENT = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"RetroArch\00", align 1 @IMG_EXT = dso_local local_unnamed_addr global i32 0, align 4 @PATH_MAX_LENGTH = dso_local local_unnamed_addr global i32 0, align 4 @TASK_TYPE_BLOCKING = dso_local local_unnamed_addr global i32 0, align 4 @task_screenshot_handler = dso_local local_unnamed_addr global i32 0, align 4 @MSG_TAKING_SCREENSHOT = dso_local local_unnamed_addr global i32 0, align 4 @task_screenshot_callback = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @screenshot_dump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @screenshot_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #0 { %15 = alloca %struct.retro_system_info, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4 %16 = tail call ptr (...) @config_get_ptr() #4 %17 = tail call i64 @calloc(i32 noundef 1, i32 noundef 112) #4 %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %18, align 8, !tbaa !5 store i8 0, ptr %19, align 1, !tbaa !12 %20 = icmp eq i32 %11, 0 br i1 %20, label %25, label %21 21: ; preds = %14 %22 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !13 %24 = tail call i32 @strlcpy(ptr noundef %23, ptr noundef %1, i32 noundef 8) #4 br label %25 25: ; preds = %21, %14 %26 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 2 store i32 %9, ptr %26, align 8, !tbaa !14 %27 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 3 store i32 %10, ptr %27, align 4, !tbaa !15 %28 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 4 store i32 %6, ptr %28, align 8, !tbaa !16 %29 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 5 store i32 %4, ptr %29, align 4, !tbaa !17 %30 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 6 store i32 %3, ptr %30, align 8, !tbaa !18 %31 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 7 store i32 %5, ptr %31, align 4, !tbaa !19 %32 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 19 store ptr %2, ptr %32, align 8, !tbaa !20 %33 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 18 store ptr %7, ptr %33, align 8, !tbaa !21 %34 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 8 store i32 0, ptr %34, align 8, !tbaa !22 %35 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 9 store i32 %8, ptr %35, align 4, !tbaa !23 %36 = getelementptr inbounds %struct.TYPE_12__, ptr %16, i64 0, i32 2 %37 = load i32, ptr %36, align 8, !tbaa !24 %38 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 17 store i32 %37, ptr %38, align 4, !tbaa !27 %39 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 10 store i32 %13, ptr %39, align 8, !tbaa !28 br i1 %20, label %40, label %99 40: ; preds = %25 %41 = icmp eq i32 %8, 0 br i1 %41, label %48, label %42 42: ; preds = %40 %43 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !13 %45 = tail call i32 @strlcpy(ptr noundef %44, ptr noundef %1, i32 noundef 8) #4 %46 = load ptr, ptr %43, align 8, !tbaa !13 %47 = tail call i32 @strlcat(ptr noundef %46, ptr noundef nonnull @.str, i32 noundef 8) #4 br label %99 48: ; preds = %40 %49 = getelementptr inbounds %struct.TYPE_12__, ptr %16, i64 0, i32 1 %50 = load i64, ptr %49, align 8, !tbaa !29 %51 = icmp eq i64 %50, 0 br i1 %51, label %72, label %52 52: ; preds = %48 %53 = load i32, ptr @RARCH_PATH_CONTENT, align 4, !tbaa !30 %54 = tail call i64 @path_is_empty(i32 noundef %53) #4 %55 = icmp eq i64 %54, 0 br i1 %55, label %65, label %56 56: ; preds = %52 %57 = call i32 @core_get_system_info(ptr noundef nonnull %15) #4 %58 = icmp eq i32 %57, 0 br i1 %58, label %134, label %59 59: ; preds = %56 %60 = load ptr, ptr %15, align 8, !tbaa !31 %61 = call i64 @string_is_empty(ptr noundef %60) #4 %62 = icmp eq i64 %61, 0 %63 = load ptr, ptr %15, align 8 %64 = select i1 %62, ptr %63, ptr @.str.1 br label %67 65: ; preds = %52 %66 = tail call ptr @path_basename(ptr noundef %1) #4 br label %67 67: ; preds = %59, %65 %68 = phi ptr [ %66, %65 ], [ %64, %59 ] %69 = load ptr, ptr %18, align 8, !tbaa !5 %70 = load i32, ptr @IMG_EXT, align 4, !tbaa !30 %71 = call i32 @fill_str_dated_filename(ptr noundef %69, ptr noundef %68, i32 noundef %70, i32 noundef 8) #4 br label %78 72: ; preds = %48 %73 = load ptr, ptr %18, align 8, !tbaa !5 %74 = tail call ptr @path_basename(ptr noundef %1) #4 %75 = tail call i32 @strlcpy(ptr noundef %73, ptr noundef %74, i32 noundef 8) #4 %76 = load ptr, ptr %18, align 8, !tbaa !5 %77 = tail call i32 @strlcat(ptr noundef %76, ptr noundef nonnull @.str, i32 noundef 8) #4 br label %78 78: ; preds = %67, %72 %79 = call i64 @string_is_empty(ptr noundef %0) #4 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %78 %82 = load i64, ptr %16, align 8, !tbaa !33 %83 = icmp eq i64 %82, 0 br i1 %83, label %94, label %84 84: ; preds = %81, %78 %85 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !30 %86 = zext i32 %85 to i64 %87 = call ptr @llvm.stacksave.p0() %88 = alloca i8, i64 %86, align 16 store i8 0, ptr %88, align 16, !tbaa !12 %89 = call i32 @fill_pathname_basedir(ptr noundef nonnull %88, ptr noundef %1, i32 noundef %85) #4 %90 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 1 %91 = load ptr, ptr %90, align 8, !tbaa !13 %92 = load ptr, ptr %18, align 8, !tbaa !5 %93 = call i32 @fill_pathname_join(ptr noundef %91, ptr noundef nonnull %88, ptr noundef %92, i32 noundef 8) #4 call void @llvm.stackrestore.p0(ptr %87) br label %99 94: ; preds = %81 %95 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 1 %96 = load ptr, ptr %95, align 8, !tbaa !13 %97 = load ptr, ptr %18, align 8, !tbaa !5 %98 = call i32 @fill_pathname_join(ptr noundef %96, ptr noundef %0, ptr noundef %97, i32 noundef 8) #4 br label %99 99: ; preds = %42, %94, %84, %25 %100 = icmp eq i32 %12, 0 br i1 %100, label %132, label %101 101: ; preds = %99 %102 = call ptr (...) @task_init() #4 %103 = load i32, ptr @TASK_TYPE_BLOCKING, align 4, !tbaa !30 %104 = getelementptr inbounds %struct.TYPE_13__, ptr %102, i64 0, i32 16 store i32 %103, ptr %104, align 8, !tbaa !34 %105 = getelementptr inbounds %struct.TYPE_13__, ptr %102, i64 0, i32 15 store ptr %18, ptr %105, align 8, !tbaa !35 %106 = load i32, ptr @task_screenshot_handler, align 4, !tbaa !30 %107 = getelementptr inbounds %struct.TYPE_13__, ptr %102, i64 0, i32 14 store i32 %106, ptr %107, align 4, !tbaa !36 %108 = icmp eq i32 %8, 0 br i1 %108, label %109, label %114 109: ; preds = %101 %110 = load i32, ptr @MSG_TAKING_SCREENSHOT, align 4, !tbaa !30 %111 = call i32 @msg_hash_to_str(i32 noundef %110) #4 %112 = call i64 @strdup(i32 noundef %111) #4 %113 = getelementptr inbounds %struct.TYPE_13__, ptr %102, i64 0, i32 12 store i64 %112, ptr %113, align 8, !tbaa !37 br label %114 114: ; preds = %109, %101 %115 = call i64 @task_queue_push(ptr noundef nonnull %102) #4 %116 = icmp eq i64 %115, 0 br i1 %116, label %117, label %134 117: ; preds = %114 %118 = getelementptr inbounds %struct.TYPE_13__, ptr %102, i64 0, i32 12 %119 = load i64, ptr %118, align 8, !tbaa !37 %120 = icmp eq i64 %119, 0 br i1 %120, label %123, label %121 121: ; preds = %117 %122 = call i32 @task_free_title(ptr noundef nonnull %102) #4 br label %123 123: ; preds = %121, %117 %124 = call i32 @free(ptr noundef nonnull %102) #4 %125 = getelementptr inbounds %struct.TYPE_13__, ptr %18, i64 0, i32 11 %126 = load ptr, ptr %125, align 8, !tbaa !38 %127 = icmp eq ptr %126, null br i1 %127, label %130, label %128 128: ; preds = %123 %129 = call i32 @free(ptr noundef nonnull %126) #4 br label %130 130: ; preds = %128, %123 %131 = call i32 @free(ptr noundef nonnull %18) #4 br label %134 132: ; preds = %99 %133 = call i32 @screenshot_dump_direct(ptr noundef nonnull %18) #4 br label %134 134: ; preds = %130, %114, %56, %132 %135 = phi i32 [ %133, %132 ], [ 0, %56 ], [ 0, %130 ], [ 1, %114 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4 ret i32 %135 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @config_get_ptr(...) local_unnamed_addr #2 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @path_is_empty(i32 noundef) local_unnamed_addr #2 declare i32 @core_get_system_info(ptr noundef) local_unnamed_addr #2 declare i64 @string_is_empty(ptr noundef) local_unnamed_addr #2 declare ptr @path_basename(ptr noundef) local_unnamed_addr #2 declare i32 @fill_str_dated_filename(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @fill_pathname_basedir(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fill_pathname_join(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare ptr @task_init(...) local_unnamed_addr #2 declare i64 @strdup(i32 noundef) local_unnamed_addr #2 declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #2 declare i64 @task_queue_push(ptr noundef) local_unnamed_addr #2 declare i32 @task_free_title(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @screenshot_dump_direct(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_13__", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !11, i64 64, !10, i64 72, !10, i64 76, !7, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 104} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !7, i64 8} !14 = !{!6, !10, i64 16} !15 = !{!6, !10, i64 20} !16 = !{!6, !10, i64 24} !17 = !{!6, !10, i64 28} !18 = !{!6, !10, i64 32} !19 = !{!6, !10, i64 36} !20 = !{!6, !7, i64 104} !21 = !{!6, !7, i64 96} !22 = !{!6, !10, i64 40} !23 = !{!6, !10, i64 44} !24 = !{!25, !10, i64 16} !25 = !{!"TYPE_14__", !26, i64 0} !26 = !{!"TYPE_12__", !11, i64 0, !11, i64 8, !10, i64 16} !27 = !{!6, !10, i64 92} !28 = !{!6, !10, i64 48} !29 = !{!25, !11, i64 8} !30 = !{!10, !10, i64 0} !31 = !{!32, !7, i64 0} !32 = !{!"retro_system_info", !7, i64 0} !33 = !{!25, !11, i64 0} !34 = !{!6, !10, i64 88} !35 = !{!6, !7, i64 80} !36 = !{!6, !10, i64 76} !37 = !{!6, !11, i64 64} !38 = !{!6, !7, i64 56}
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_screenshot.c_screenshot_dump.c' source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_screenshot.c_screenshot_dump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.retro_system_info = type { ptr } @.str = private unnamed_addr constant [5 x i8] c".png\00", align 1 @RARCH_PATH_CONTENT = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"RetroArch\00", align 1 @IMG_EXT = common local_unnamed_addr global i32 0, align 4 @PATH_MAX_LENGTH = common local_unnamed_addr global i32 0, align 4 @TASK_TYPE_BLOCKING = common local_unnamed_addr global i32 0, align 4 @task_screenshot_handler = common local_unnamed_addr global i32 0, align 4 @MSG_TAKING_SCREENSHOT = common local_unnamed_addr global i32 0, align 4 @task_screenshot_callback = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @screenshot_dump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @screenshot_dump(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #0 { %15 = alloca %struct.retro_system_info, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4 %16 = tail call ptr @config_get_ptr() #4 %17 = tail call i64 @calloc(i32 noundef 1, i32 noundef 112) #4 %18 = inttoptr i64 %17 to ptr %19 = load ptr, ptr %18, align 8, !tbaa !6 store i8 0, ptr %19, align 1, !tbaa !13 %20 = icmp eq i32 %11, 0 br i1 %20, label %25, label %21 21: ; preds = %14 %22 = getelementptr inbounds i8, ptr %18, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !14 %24 = tail call i32 @strlcpy(ptr noundef %23, ptr noundef %1, i32 noundef 8) #4 br label %25 25: ; preds = %21, %14 %26 = getelementptr inbounds i8, ptr %18, i64 16 store i32 %9, ptr %26, align 8, !tbaa !15 %27 = getelementptr inbounds i8, ptr %18, i64 20 store i32 %10, ptr %27, align 4, !tbaa !16 %28 = getelementptr inbounds i8, ptr %18, i64 24 store i32 %6, ptr %28, align 8, !tbaa !17 %29 = getelementptr inbounds i8, ptr %18, i64 28 store i32 %4, ptr %29, align 4, !tbaa !18 %30 = getelementptr inbounds i8, ptr %18, i64 32 store i32 %3, ptr %30, align 8, !tbaa !19 %31 = getelementptr inbounds i8, ptr %18, i64 36 store i32 %5, ptr %31, align 4, !tbaa !20 %32 = getelementptr inbounds i8, ptr %18, i64 104 store ptr %2, ptr %32, align 8, !tbaa !21 %33 = getelementptr inbounds i8, ptr %18, i64 96 store ptr %7, ptr %33, align 8, !tbaa !22 %34 = getelementptr inbounds i8, ptr %18, i64 40 store i32 0, ptr %34, align 8, !tbaa !23 %35 = getelementptr inbounds i8, ptr %18, i64 44 store i32 %8, ptr %35, align 4, !tbaa !24 %36 = getelementptr inbounds i8, ptr %16, i64 16 %37 = load i32, ptr %36, align 8, !tbaa !25 %38 = getelementptr inbounds i8, ptr %18, i64 92 store i32 %37, ptr %38, align 4, !tbaa !28 %39 = getelementptr inbounds i8, ptr %18, i64 48 store i32 %13, ptr %39, align 8, !tbaa !29 br i1 %20, label %40, label %99 40: ; preds = %25 %41 = icmp eq i32 %8, 0 br i1 %41, label %48, label %42 42: ; preds = %40 %43 = getelementptr inbounds i8, ptr %18, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !14 %45 = tail call i32 @strlcpy(ptr noundef %44, ptr noundef %1, i32 noundef 8) #4 %46 = load ptr, ptr %43, align 8, !tbaa !14 %47 = tail call i32 @strlcat(ptr noundef %46, ptr noundef nonnull @.str, i32 noundef 8) #4 br label %99 48: ; preds = %40 %49 = getelementptr inbounds i8, ptr %16, i64 8 %50 = load i64, ptr %49, align 8, !tbaa !30 %51 = icmp eq i64 %50, 0 br i1 %51, label %72, label %52 52: ; preds = %48 %53 = load i32, ptr @RARCH_PATH_CONTENT, align 4, !tbaa !31 %54 = tail call i64 @path_is_empty(i32 noundef %53) #4 %55 = icmp eq i64 %54, 0 br i1 %55, label %65, label %56 56: ; preds = %52 %57 = call i32 @core_get_system_info(ptr noundef nonnull %15) #4 %58 = icmp eq i32 %57, 0 br i1 %58, label %134, label %59 59: ; preds = %56 %60 = load ptr, ptr %15, align 8, !tbaa !32 %61 = call i64 @string_is_empty(ptr noundef %60) #4 %62 = icmp eq i64 %61, 0 %63 = load ptr, ptr %15, align 8 %64 = select i1 %62, ptr %63, ptr @.str.1 br label %67 65: ; preds = %52 %66 = tail call ptr @path_basename(ptr noundef %1) #4 br label %67 67: ; preds = %59, %65 %68 = phi ptr [ %66, %65 ], [ %64, %59 ] %69 = load ptr, ptr %18, align 8, !tbaa !6 %70 = load i32, ptr @IMG_EXT, align 4, !tbaa !31 %71 = call i32 @fill_str_dated_filename(ptr noundef %69, ptr noundef %68, i32 noundef %70, i32 noundef 8) #4 br label %78 72: ; preds = %48 %73 = load ptr, ptr %18, align 8, !tbaa !6 %74 = tail call ptr @path_basename(ptr noundef %1) #4 %75 = tail call i32 @strlcpy(ptr noundef %73, ptr noundef %74, i32 noundef 8) #4 %76 = load ptr, ptr %18, align 8, !tbaa !6 %77 = tail call i32 @strlcat(ptr noundef %76, ptr noundef nonnull @.str, i32 noundef 8) #4 br label %78 78: ; preds = %67, %72 %79 = call i64 @string_is_empty(ptr noundef %0) #4 %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %84 81: ; preds = %78 %82 = load i64, ptr %16, align 8, !tbaa !34 %83 = icmp eq i64 %82, 0 br i1 %83, label %94, label %84 84: ; preds = %81, %78 %85 = load i32, ptr @PATH_MAX_LENGTH, align 4, !tbaa !31 %86 = zext i32 %85 to i64 %87 = call ptr @llvm.stacksave.p0() %88 = alloca i8, i64 %86, align 1 store i8 0, ptr %88, align 1, !tbaa !13 %89 = call i32 @fill_pathname_basedir(ptr noundef nonnull %88, ptr noundef %1, i32 noundef %85) #4 %90 = getelementptr inbounds i8, ptr %18, i64 8 %91 = load ptr, ptr %90, align 8, !tbaa !14 %92 = load ptr, ptr %18, align 8, !tbaa !6 %93 = call i32 @fill_pathname_join(ptr noundef %91, ptr noundef nonnull %88, ptr noundef %92, i32 noundef 8) #4 call void @llvm.stackrestore.p0(ptr %87) br label %99 94: ; preds = %81 %95 = getelementptr inbounds i8, ptr %18, i64 8 %96 = load ptr, ptr %95, align 8, !tbaa !14 %97 = load ptr, ptr %18, align 8, !tbaa !6 %98 = call i32 @fill_pathname_join(ptr noundef %96, ptr noundef %0, ptr noundef %97, i32 noundef 8) #4 br label %99 99: ; preds = %42, %94, %84, %25 %100 = icmp eq i32 %12, 0 br i1 %100, label %132, label %101 101: ; preds = %99 %102 = call ptr @task_init() #4 %103 = load i32, ptr @TASK_TYPE_BLOCKING, align 4, !tbaa !31 %104 = getelementptr inbounds i8, ptr %102, i64 88 store i32 %103, ptr %104, align 8, !tbaa !35 %105 = getelementptr inbounds i8, ptr %102, i64 80 store ptr %18, ptr %105, align 8, !tbaa !36 %106 = load i32, ptr @task_screenshot_handler, align 4, !tbaa !31 %107 = getelementptr inbounds i8, ptr %102, i64 76 store i32 %106, ptr %107, align 4, !tbaa !37 %108 = icmp eq i32 %8, 0 br i1 %108, label %109, label %114 109: ; preds = %101 %110 = load i32, ptr @MSG_TAKING_SCREENSHOT, align 4, !tbaa !31 %111 = call i32 @msg_hash_to_str(i32 noundef %110) #4 %112 = call i64 @strdup(i32 noundef %111) #4 %113 = getelementptr inbounds i8, ptr %102, i64 64 store i64 %112, ptr %113, align 8, !tbaa !38 br label %114 114: ; preds = %109, %101 %115 = call i64 @task_queue_push(ptr noundef nonnull %102) #4 %116 = icmp eq i64 %115, 0 br i1 %116, label %117, label %134 117: ; preds = %114 %118 = getelementptr inbounds i8, ptr %102, i64 64 %119 = load i64, ptr %118, align 8, !tbaa !38 %120 = icmp eq i64 %119, 0 br i1 %120, label %123, label %121 121: ; preds = %117 %122 = call i32 @task_free_title(ptr noundef nonnull %102) #4 br label %123 123: ; preds = %121, %117 %124 = call i32 @free(ptr noundef nonnull %102) #4 %125 = getelementptr inbounds i8, ptr %18, i64 56 %126 = load ptr, ptr %125, align 8, !tbaa !39 %127 = icmp eq ptr %126, null br i1 %127, label %130, label %128 128: ; preds = %123 %129 = call i32 @free(ptr noundef nonnull %126) #4 br label %130 130: ; preds = %128, %123 %131 = call i32 @free(ptr noundef nonnull %18) #4 br label %134 132: ; preds = %99 %133 = call i32 @screenshot_dump_direct(ptr noundef nonnull %18) #4 br label %134 134: ; preds = %130, %114, %56, %132 %135 = phi i32 [ %133, %132 ], [ 0, %56 ], [ 0, %130 ], [ 1, %114 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4 ret i32 %135 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @config_get_ptr(...) local_unnamed_addr #2 declare i64 @calloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @path_is_empty(i32 noundef) local_unnamed_addr #2 declare i32 @core_get_system_info(ptr noundef) local_unnamed_addr #2 declare i64 @string_is_empty(ptr noundef) local_unnamed_addr #2 declare ptr @path_basename(ptr noundef) local_unnamed_addr #2 declare i32 @fill_str_dated_filename(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @fill_pathname_basedir(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fill_pathname_join(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare ptr @task_init(...) local_unnamed_addr #2 declare i64 @strdup(i32 noundef) local_unnamed_addr #2 declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #2 declare i64 @task_queue_push(ptr noundef) local_unnamed_addr #2 declare i32 @task_free_title(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 declare i32 @screenshot_dump_direct(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !8, i64 56, !12, i64 64, !11, i64 72, !11, i64 76, !8, i64 80, !11, i64 88, !11, i64 92, !8, i64 96, !8, i64 104} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!9, !9, i64 0} !14 = !{!7, !8, i64 8} !15 = !{!7, !11, i64 16} !16 = !{!7, !11, i64 20} !17 = !{!7, !11, i64 24} !18 = !{!7, !11, i64 28} !19 = !{!7, !11, i64 32} !20 = !{!7, !11, i64 36} !21 = !{!7, !8, i64 104} !22 = !{!7, !8, i64 96} !23 = !{!7, !11, i64 40} !24 = !{!7, !11, i64 44} !25 = !{!26, !11, i64 16} !26 = !{!"TYPE_14__", !27, i64 0} !27 = !{!"TYPE_12__", !12, i64 0, !12, i64 8, !11, i64 16} !28 = !{!7, !11, i64 92} !29 = !{!7, !11, i64 48} !30 = !{!26, !12, i64 8} !31 = !{!11, !11, i64 0} !32 = !{!33, !8, i64 0} !33 = !{!"retro_system_info", !8, i64 0} !34 = !{!26, !12, i64 0} !35 = !{!7, !11, i64 88} !36 = !{!7, !8, i64 80} !37 = !{!7, !11, i64 76} !38 = !{!7, !12, i64 64} !39 = !{!7, !8, i64 56}
RetroArch_griffin_extr_..taskstask_screenshot.c_screenshot_dump
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_dpaa2_eth_xdp_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_dpaa2_eth_xdp_xmit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @XDP_XMIT_FLAGS_MASK = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENETDOWN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dpaa2_eth_xdp_xmit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dpaa2_eth_xdp_xmit(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = load i32, ptr @XDP_XMIT_FLAGS_MASK, align 4, !tbaa !5 %6 = xor i32 %5, -1 %7 = and i32 %6, %3 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 %12 = sub nsw i32 0, %11 br label %40 13: ; preds = %4 %14 = tail call i32 @netif_running(ptr noundef %0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = icmp sgt i32 %1, 0 br i1 %17, label %18, label %37 18: ; preds = %16 %19 = zext nneg i32 %1 to i64 br label %23 20: ; preds = %13 %21 = load i32, ptr @ENETDOWN, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %40 23: ; preds = %18, %33 %24 = phi i64 [ 0, %18 ], [ %35, %33 ] %25 = phi i32 [ 0, %18 ], [ %34, %33 ] %26 = getelementptr inbounds ptr, ptr %2, i64 %24 %27 = load ptr, ptr %26, align 8, !tbaa !9 %28 = tail call i32 @dpaa2_eth_xdp_xmit_frame(ptr noundef %0, ptr noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %23 %31 = tail call i32 @xdp_return_frame_rx_napi(ptr noundef %27) #2 %32 = add nsw i32 %25, 1 br label %33 33: ; preds = %30, %23 %34 = phi i32 [ %32, %30 ], [ %25, %23 ] %35 = add nuw nsw i64 %24, 1 %36 = icmp eq i64 %35, %19 br i1 %36, label %37, label %23, !llvm.loop !11 37: ; preds = %33, %16 %38 = phi i32 [ 0, %16 ], [ %34, %33 ] %39 = sub nsw i32 %1, %38 br label %40 40: ; preds = %37, %20, %10 %41 = phi i32 [ %12, %10 ], [ %39, %37 ], [ %22, %20 ] ret i32 %41 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @dpaa2_eth_xdp_xmit_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdp_return_frame_rx_napi(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_dpaa2_eth_xdp_xmit.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dpaa2-eth.c_dpaa2_eth_xdp_xmit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XDP_XMIT_FLAGS_MASK = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENETDOWN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dpaa2_eth_xdp_xmit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dpaa2_eth_xdp_xmit(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 { %5 = load i32, ptr @XDP_XMIT_FLAGS_MASK, align 4, !tbaa !6 %6 = xor i32 %5, -1 %7 = and i32 %6, %3 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %4 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 %12 = sub nsw i32 0, %11 br label %40 13: ; preds = %4 %14 = tail call i32 @netif_running(ptr noundef %0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %13 %17 = icmp sgt i32 %1, 0 br i1 %17, label %18, label %37 18: ; preds = %16 %19 = zext nneg i32 %1 to i64 br label %23 20: ; preds = %13 %21 = load i32, ptr @ENETDOWN, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %40 23: ; preds = %18, %33 %24 = phi i64 [ 0, %18 ], [ %35, %33 ] %25 = phi i32 [ 0, %18 ], [ %34, %33 ] %26 = getelementptr inbounds ptr, ptr %2, i64 %24 %27 = load ptr, ptr %26, align 8, !tbaa !10 %28 = tail call i32 @dpaa2_eth_xdp_xmit_frame(ptr noundef %0, ptr noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %23 %31 = tail call i32 @xdp_return_frame_rx_napi(ptr noundef %27) #2 %32 = add nsw i32 %25, 1 br label %33 33: ; preds = %30, %23 %34 = phi i32 [ %32, %30 ], [ %25, %23 ] %35 = add nuw nsw i64 %24, 1 %36 = icmp eq i64 %35, %19 br i1 %36, label %37, label %23, !llvm.loop !12 37: ; preds = %33, %16 %38 = phi i32 [ 0, %16 ], [ %34, %33 ] %39 = sub nsw i32 %1, %38 br label %40 40: ; preds = %37, %20, %10 %41 = phi i32 [ %12, %10 ], [ %39, %37 ], [ %22, %20 ] ret i32 %41 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @dpaa2_eth_xdp_xmit_frame(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdp_return_frame_rx_napi(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_ethernet_freescale_dpaa2_extr_dpaa2-eth.c_dpaa2_eth_xdp_xmit
; ModuleID = 'AnghaBench/h2o/deps/libyrmcds/extr_send_text.c_yrmcds_text_get.c' source_filename = "AnghaBench/h2o/deps/libyrmcds/extr_send_text.c_yrmcds_text_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" @YRMCDS_BAD_ARGUMENT = dso_local local_unnamed_addr global i64 0, align 8 @YRMCDS_OK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"gets \00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @yrmcds_text_get(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca [1 x i32], align 4 %7 = icmp eq ptr %1, null %8 = icmp eq i64 %2, 0 %9 = or i1 %7, %8 %10 = icmp ne i32 %3, 0 %11 = or i1 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %5 %13 = load i64, ptr @YRMCDS_BAD_ARGUMENT, align 8, !tbaa !5 br label %23 14: ; preds = %5 %15 = tail call i64 @check_key(ptr noundef nonnull %1, i64 noundef %2) #3 %16 = load i64, ptr @YRMCDS_OK, align 8, !tbaa !5 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %23 18: ; preds = %14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %19 = call i32 @textbuf_init(ptr noundef nonnull %6) #3 %20 = call i32 @textbuf_append_const_string(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %21 = call i32 @textbuf_append_string(ptr noundef nonnull %6, ptr noundef nonnull %1, i64 noundef %2) #3 %22 = call i64 @send_command(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %23 23: ; preds = %18, %14, %12 %24 = phi i64 [ %13, %12 ], [ %22, %18 ], [ %15, %14 ] ret i64 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @check_key(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @textbuf_init(ptr noundef) local_unnamed_addr #2 declare i32 @textbuf_append_const_string(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @textbuf_append_string(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @send_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/deps/libyrmcds/extr_send_text.c_yrmcds_text_get.c' source_filename = "AnghaBench/h2o/deps/libyrmcds/extr_send_text.c_yrmcds_text_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @YRMCDS_BAD_ARGUMENT = common local_unnamed_addr global i64 0, align 8 @YRMCDS_OK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [6 x i8] c"gets \00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @yrmcds_text_get(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = alloca [1 x i32], align 4 %7 = icmp eq ptr %1, null %8 = icmp eq i64 %2, 0 %9 = or i1 %7, %8 %10 = icmp ne i32 %3, 0 %11 = or i1 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %5 %13 = load i64, ptr @YRMCDS_BAD_ARGUMENT, align 8, !tbaa !6 br label %23 14: ; preds = %5 %15 = tail call i64 @check_key(ptr noundef nonnull %1, i64 noundef %2) #3 %16 = load i64, ptr @YRMCDS_OK, align 8, !tbaa !6 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %23 18: ; preds = %14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %19 = call i32 @textbuf_init(ptr noundef nonnull %6) #3 %20 = call i32 @textbuf_append_const_string(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %21 = call i32 @textbuf_append_string(ptr noundef nonnull %6, ptr noundef nonnull %1, i64 noundef %2) #3 %22 = call i64 @send_command(ptr noundef %0, ptr noundef nonnull %6, ptr noundef %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %23 23: ; preds = %18, %14, %12 %24 = phi i64 [ %13, %12 ], [ %22, %18 ], [ %15, %14 ] ret i64 %24 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @check_key(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @textbuf_init(ptr noundef) local_unnamed_addr #2 declare i32 @textbuf_append_const_string(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @textbuf_append_string(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @send_command(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
h2o_deps_libyrmcds_extr_send_text.c_yrmcds_text_get
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_fsl_emb_pmu_start.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_fsl_emb_pmu_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.perf_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i64, i32, i32, i32 } @PERF_HES_STOPPED = dso_local local_unnamed_addr global i32 0, align 4 @PERF_EF_RELOAD = dso_local local_unnamed_addr global i32 0, align 4 @PERF_HES_UPTODATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_emb_pmu_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fsl_emb_pmu_start(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp slt i64 %4, 0 br i1 %5, label %38, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1, i32 3 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = icmp eq i32 %8, 0 br i1 %9, label %38, label %10 10: ; preds = %6 %11 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !13 %13 = load i32, ptr @PERF_HES_STOPPED, align 4, !tbaa !14 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %38, label %16 16: ; preds = %10 %17 = load i32, ptr @PERF_EF_RELOAD, align 4, !tbaa !14 %18 = and i32 %17, %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %16 %21 = load i32, ptr @PERF_HES_UPTODATE, align 4, !tbaa !14 %22 = and i32 %21, %12 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i32 @WARN_ON_ONCE(i32 noundef %24) #2 br label %26 26: ; preds = %20, %16 %27 = tail call i32 @local_irq_save(i64 noundef undef) #2 %28 = load i32, ptr %0, align 8, !tbaa !15 %29 = tail call i32 @perf_pmu_disable(i32 noundef %28) #2 store i32 0, ptr %11, align 8, !tbaa !13 %30 = getelementptr inbounds %struct.perf_event, ptr %0, i64 0, i32 1, i32 2 %31 = tail call i32 @local64_read(ptr noundef nonnull %30) #2 %32 = load i64, ptr %3, align 8, !tbaa !5 %33 = tail call i32 @write_pmc(i64 noundef %32, i32 noundef %31) #2 %34 = tail call i32 @perf_event_update_userpage(ptr noundef nonnull %0) #2 %35 = load i32, ptr %0, align 8, !tbaa !15 %36 = tail call i32 @perf_pmu_enable(i32 noundef %35) #2 %37 = tail call i32 @local_irq_restore(i64 noundef undef) #2 br label %38 38: ; preds = %10, %2, %6, %26 ret void } declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i32 @perf_pmu_disable(i32 noundef) local_unnamed_addr #1 declare i32 @local64_read(ptr noundef) local_unnamed_addr #1 declare i32 @write_pmc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perf_event_update_userpage(ptr noundef) local_unnamed_addr #1 declare i32 @perf_pmu_enable(i32 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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, !11, i64 8} !6 = !{!"perf_event", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !11, i64 0, !7, i64 8, !7, i64 12, !7, i64 16} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !7, i64 16} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_fsl_emb_pmu_start.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_fsl_emb_pmu_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PERF_HES_STOPPED = common local_unnamed_addr global i32 0, align 4 @PERF_EF_RELOAD = common local_unnamed_addr global i32 0, align 4 @PERF_HES_UPTODATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fsl_emb_pmu_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fsl_emb_pmu_start(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp slt i64 %4, 0 br i1 %5, label %38, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = icmp eq i32 %8, 0 br i1 %9, label %38, label %10 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 16 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = load i32, ptr @PERF_HES_STOPPED, align 4, !tbaa !15 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %38, label %16 16: ; preds = %10 %17 = load i32, ptr @PERF_EF_RELOAD, align 4, !tbaa !15 %18 = and i32 %17, %1 %19 = icmp eq i32 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %16 %21 = load i32, ptr @PERF_HES_UPTODATE, align 4, !tbaa !15 %22 = and i32 %21, %12 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i32 %25 = tail call i32 @WARN_ON_ONCE(i32 noundef %24) #2 br label %26 26: ; preds = %20, %16 %27 = tail call i32 @local_irq_save(i64 noundef undef) #2 %28 = load i32, ptr %0, align 8, !tbaa !16 %29 = tail call i32 @perf_pmu_disable(i32 noundef %28) #2 store i32 0, ptr %11, align 8, !tbaa !14 %30 = getelementptr inbounds i8, ptr %0, i64 20 %31 = tail call i32 @local64_read(ptr noundef nonnull %30) #2 %32 = load i64, ptr %3, align 8, !tbaa !6 %33 = tail call i32 @write_pmc(i64 noundef %32, i32 noundef %31) #2 %34 = tail call i32 @perf_event_update_userpage(ptr noundef nonnull %0) #2 %35 = load i32, ptr %0, align 8, !tbaa !16 %36 = tail call i32 @perf_pmu_enable(i32 noundef %35) #2 %37 = tail call i32 @local_irq_restore(i64 noundef undef) #2 br label %38 38: ; preds = %10, %2, %6, %26 ret void } declare i32 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @local_irq_save(i64 noundef) local_unnamed_addr #1 declare i32 @perf_pmu_disable(i32 noundef) local_unnamed_addr #1 declare i32 @local64_read(ptr noundef) local_unnamed_addr #1 declare i32 @write_pmc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @perf_event_update_userpage(ptr noundef) local_unnamed_addr #1 declare i32 @perf_pmu_enable(i32 noundef) local_unnamed_addr #1 declare i32 @local_irq_restore(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, !12, i64 8} !7 = !{!"perf_event", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !12, i64 0, !8, i64 8, !8, i64 12, !8, i64 16} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !8, i64 16} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0}
fastsocket_kernel_arch_powerpc_kernel_extr_perf_event_fsl_emb.c_fsl_emb_pmu_start
; ModuleID = 'AnghaBench/mpv/demux/extr_ebml.c_ebml_parse_id.c' source_filename = "AnghaBench/mpv/demux/extr_ebml.c_ebml_parse_id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EBML_ID_INVALID = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ebml_parse_id], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @ebml_parse_id(ptr noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { store i32 -1, ptr %2, align 4, !tbaa !5 %4 = icmp eq i64 %1, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = load i32, ptr @EBML_ID_INVALID, align 4, !tbaa !5 br label %46 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = and i32 %8, 128 %10 = icmp eq i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %7 store i32 1, ptr %2, align 4, !tbaa !5 br label %46 12: ; preds = %7 %13 = and i32 %8, 64 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %23, !llvm.loop !9 15: ; preds = %20 %16 = load i32, ptr @EBML_ID_INVALID, align 4, !tbaa !5 br label %46 17: ; preds = %12 %18 = and i32 %8, 32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23, !llvm.loop !9 20: ; preds = %17 %21 = and i32 %8, 16 %22 = icmp eq i32 %21, 0 br i1 %22, label %15, label %23, !llvm.loop !9 23: ; preds = %12, %17, %20 %24 = phi i1 [ true, %12 ], [ false, %17 ], [ true, %20 ] %25 = phi i32 [ 2, %12 ], [ 3, %17 ], [ 4, %20 ] store i32 %25, ptr %2, align 4, !tbaa !5 %26 = icmp sgt i64 %1, 1 br i1 %26, label %27, label %46 27: ; preds = %23 %28 = getelementptr inbounds i32, ptr %0, i64 1 %29 = shl i32 %8, 8 %30 = load i32, ptr %28, align 4, !tbaa !5 %31 = or i32 %30, %29 %32 = icmp ne i64 %1, 2 %33 = and i1 %14, %32 br i1 %33, label %34, label %46, !llvm.loop !11 34: ; preds = %27 %35 = getelementptr inbounds i32, ptr %0, i64 2 %36 = shl i32 %31, 8 %37 = load i32, ptr %35, align 4, !tbaa !5 %38 = or i32 %37, %36 %39 = icmp sgt i64 %1, 3 %40 = and i1 %24, %39 br i1 %40, label %41, label %46, !llvm.loop !11 41: ; preds = %34 %42 = getelementptr inbounds i32, ptr %0, i64 3 %43 = shl i32 %38, 8 %44 = load i32, ptr %42, align 4, !tbaa !5 %45 = or i32 %44, %43 br label %46 46: ; preds = %27, %34, %41, %11, %23, %15, %5 %47 = phi i32 [ %6, %5 ], [ %16, %15 ], [ %8, %23 ], [ %8, %11 ], [ %31, %27 ], [ %38, %34 ], [ %45, %41 ] ret i32 %47 } attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/mpv/demux/extr_ebml.c_ebml_parse_id.c' source_filename = "AnghaBench/mpv/demux/extr_ebml.c_ebml_parse_id.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBML_ID_INVALID = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ebml_parse_id], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @ebml_parse_id(ptr noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #0 { store i32 -1, ptr %2, align 4, !tbaa !6 %4 = icmp eq i64 %1, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = load i32, ptr @EBML_ID_INVALID, align 4, !tbaa !6 br label %46 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = and i32 %8, 128 %10 = icmp eq i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %7 store i32 1, ptr %2, align 4, !tbaa !6 br label %46 12: ; preds = %7 %13 = and i32 %8, 64 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %23, !llvm.loop !10 15: ; preds = %20 %16 = load i32, ptr @EBML_ID_INVALID, align 4, !tbaa !6 br label %46 17: ; preds = %12 %18 = and i32 %8, 32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %23, !llvm.loop !10 20: ; preds = %17 %21 = and i32 %8, 16 %22 = icmp eq i32 %21, 0 br i1 %22, label %15, label %23, !llvm.loop !10 23: ; preds = %12, %17, %20 %24 = phi i1 [ true, %12 ], [ false, %17 ], [ true, %20 ] %25 = phi i32 [ 2, %12 ], [ 3, %17 ], [ 4, %20 ] store i32 %25, ptr %2, align 4, !tbaa !6 %26 = icmp sgt i64 %1, 1 br i1 %26, label %27, label %46 27: ; preds = %23 %28 = getelementptr inbounds i8, ptr %0, i64 4 %29 = shl i32 %8, 8 %30 = load i32, ptr %28, align 4, !tbaa !6 %31 = or i32 %30, %29 %32 = icmp ne i64 %1, 2 %33 = and i1 %14, %32 br i1 %33, label %34, label %46, !llvm.loop !12 34: ; preds = %27 %35 = getelementptr inbounds i8, ptr %0, i64 8 %36 = shl i32 %31, 8 %37 = load i32, ptr %35, align 4, !tbaa !6 %38 = or i32 %37, %36 %39 = icmp sgt i64 %1, 3 %40 = and i1 %24, %39 br i1 %40, label %41, label %46, !llvm.loop !12 41: ; preds = %34 %42 = getelementptr inbounds i8, ptr %0, i64 12 %43 = shl i32 %38, 8 %44 = load i32, ptr %42, align 4, !tbaa !6 %45 = or i32 %44, %43 br label %46 46: ; preds = %27, %34, %41, %11, %23, %15, %5 %47 = phi i32 [ %6, %5 ], [ %16, %15 ], [ %8, %23 ], [ %8, %11 ], [ %31, %27 ], [ %38, %34 ], [ %45, %41 ] ret i32 %47 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
mpv_demux_extr_ebml.c_ebml_parse_id