IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/bus/extr_vop_bus.c_vop_id_match.c' source_filename = "AnghaBench/linux/drivers/misc/mic/bus/extr_vop_bus.c_vop_id_match.c" target datalayout = "e-m:e-p270:32:32-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.vop_device_id = type { i64, i64 } %struct.TYPE_2__ = type { i64, i64 } @VOP_DEV_ANY_ID = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @vop_id_match], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @vop_id_match(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @VOP_DEV_ANY_ID, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %18 9: ; preds = %2 %10 = getelementptr inbounds %struct.vop_device_id, ptr %1, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = icmp eq i64 %11, %6 br i1 %12, label %18, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %11, %15 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %13, %2 %19 = phi i32 [ 0, %2 ], [ 1, %9 ], [ %17, %13 ] ret i32 %19 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vop_device_id", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"vop_device", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !13 = !{!6, !7, i64 8} !14 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/bus/extr_vop_bus.c_vop_id_match.c' source_filename = "AnghaBench/linux/drivers/misc/mic/bus/extr_vop_bus.c_vop_id_match.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VOP_DEV_ANY_ID = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @vop_id_match], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @vop_id_match(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 %6 = load i64, ptr @VOP_DEV_ANY_ID, align 8 %7 = icmp eq i64 %3, %6 %8 = select i1 %5, i1 true, i1 %7 br i1 %8, label %9, label %18 9: ; preds = %2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, %6 br i1 %12, label %18, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !15 %16 = icmp eq i64 %11, %15 %17 = zext i1 %16 to i32 br label %18 18: ; preds = %9, %13, %2 %19 = phi i32 [ 0, %2 ], [ 1, %9 ], [ %17, %13 ] ret i32 %19 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vop_device_id", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"vop_device", !13, i64 0} !13 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !14 = !{!7, !8, i64 8} !15 = !{!12, !8, i64 8}
linux_drivers_misc_mic_bus_extr_vop_bus.c_vop_id_match
; ModuleID = 'AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_conf.c_conf_usage.c' source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_conf.c_conf_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage: %s [option] <kconfig-file>\0A\00", align 1 @str = private unnamed_addr constant [36 x i8] c"[option] is _one_ of the following:\00", align 1 @str.14 = private unnamed_addr constant [43 x i8] c" --listnewconfig List new options\00", align 1 @str.15 = private unnamed_addr constant [82 x i8] c" --askconfig Start a new configuration using a line-oriented program\00", align 1 @str.16 = private unnamed_addr constant [82 x i8] c" --config Update a configuration using a provided .config as base\00", align 1 @str.17 = private unnamed_addr constant [80 x i8] c" --silentconfig Same as config, but quietly, additionally update deps\00", align 1 @str.18 = private unnamed_addr constant [73 x i8] c" --noconfig Same as silentconfig but set new symbols to no\00", align 1 @str.19 = private unnamed_addr constant [68 x i8] c" --defconfig <file> New config with default defined in <file>\00", align 1 @str.20 = private unnamed_addr constant [75 x i8] c" --savedefconfig <file> Save the minimal current configuration to <file>\00", align 1 @str.21 = private unnamed_addr constant [76 x i8] c" --allnoconfig New config where all options are answered with no\00", align 1 @str.22 = private unnamed_addr constant [77 x i8] c" --allyesconfig New config where all options are answered with yes\00", align 1 @str.23 = private unnamed_addr constant [77 x i8] c" --allmodconfig New config where all options are answered with mod\00", align 1 @str.24 = private unnamed_addr constant [69 x i8] c" --alldefconfig New config with all symbols set to default\00", align 1 @str.25 = private unnamed_addr constant [71 x i8] c" --randconfig New config with random answer to all options\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @conf_usage], section "llvm.metadata" ; Function Attrs: nofree nounwind uwtable define internal void @conf_usage(ptr noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %0) %3 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %4 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.14) %5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.15) %6 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.16) %7 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.17) %8 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.18) %9 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.19) %10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.20) %11 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.21) %12 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.23) %14 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.24) %15 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.25) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/firmware/carl9170fw/config/extr_conf.c_conf_usage.c' source_filename = "AnghaBench/fastsocket/kernel/firmware/carl9170fw/config/extr_conf.c_conf_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [35 x i8] c"Usage: %s [option] <kconfig-file>\0A\00", align 1 @str = private unnamed_addr constant [36 x i8] c"[option] is _one_ of the following:\00", align 1 @str.14 = private unnamed_addr constant [43 x i8] c" --listnewconfig List new options\00", align 1 @str.15 = private unnamed_addr constant [82 x i8] c" --askconfig Start a new configuration using a line-oriented program\00", align 1 @str.16 = private unnamed_addr constant [82 x i8] c" --config Update a configuration using a provided .config as base\00", align 1 @str.17 = private unnamed_addr constant [80 x i8] c" --silentconfig Same as config, but quietly, additionally update deps\00", align 1 @str.18 = private unnamed_addr constant [73 x i8] c" --noconfig Same as silentconfig but set new symbols to no\00", align 1 @str.19 = private unnamed_addr constant [68 x i8] c" --defconfig <file> New config with default defined in <file>\00", align 1 @str.20 = private unnamed_addr constant [75 x i8] c" --savedefconfig <file> Save the minimal current configuration to <file>\00", align 1 @str.21 = private unnamed_addr constant [76 x i8] c" --allnoconfig New config where all options are answered with no\00", align 1 @str.22 = private unnamed_addr constant [77 x i8] c" --allyesconfig New config where all options are answered with yes\00", align 1 @str.23 = private unnamed_addr constant [77 x i8] c" --allmodconfig New config where all options are answered with mod\00", align 1 @str.24 = private unnamed_addr constant [69 x i8] c" --alldefconfig New config with all symbols set to default\00", align 1 @str.25 = private unnamed_addr constant [71 x i8] c" --randconfig New config with random answer to all options\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @conf_usage], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp uwtable(sync) define internal void @conf_usage(ptr noundef %0) #0 { %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %0) %3 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str) %4 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.14) %5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.15) %6 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.16) %7 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.17) %8 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.18) %9 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.19) %10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.20) %11 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.21) %12 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.22) %13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.23) %14 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.24) %15 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.25) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2 attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_firmware_carl9170fw_config_extr_conf.c_conf_usage
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/line6/extr_capture.c_create_audio_in_urbs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/line6/extr_capture.c_create_audio_in_urbs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_line6_pcm = type { i32, ptr, ptr } %struct.TYPE_2__ = type { i32, i32 } %struct.urb = type { i32, i32, i64, i32, i32, i32, i32, i32 } @LINE6_ISO_BUFFERS = dso_local local_unnamed_addr global i32 0, align 4 @LINE6_ISO_PACKETS = 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 [15 x i8] c"Out of memory\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @USB_ENDPOINT_NUMBER_MASK = dso_local local_unnamed_addr global i32 0, align 4 @URB_ISO_ASAP = dso_local local_unnamed_addr global i32 0, align 4 @LINE6_ISO_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4 @audio_in_callback = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @create_audio_in_urbs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @LINE6_ISO_BUFFERS, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %44 4: ; preds = %1 %5 = getelementptr inbounds %struct.snd_line6_pcm, ptr %0, i64 0, i32 2 %6 = getelementptr inbounds %struct.snd_line6_pcm, ptr %0, i64 0, i32 1 %7 = load i32, ptr @LINE6_ISO_PACKETS, align 4, !tbaa !5 br label %8 8: ; preds = %4, %23 %9 = phi i32 [ %7, %4 ], [ %33, %23 ] %10 = phi i64 [ 0, %4 ], [ %40, %23 ] %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %12 = tail call ptr @usb_alloc_urb(i32 noundef %9, i32 noundef %11) #2 %13 = load ptr, ptr %5, align 8, !tbaa !9 %14 = getelementptr inbounds ptr, ptr %13, i64 %10 store ptr %12, ptr %14, align 8, !tbaa !12 %15 = icmp eq ptr %12, null %16 = load ptr, ptr %6, align 8, !tbaa !13 br i1 %15, label %17, label %23 17: ; preds = %8 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = tail call i32 @dev_err(i32 noundef %19, ptr noundef nonnull @.str) #2 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %22 = sub nsw i32 0, %21 br label %44 23: ; preds = %8 %24 = load i32, ptr %16, align 4, !tbaa !16 %25 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 7 store i32 %24, ptr %25, align 8, !tbaa !17 %26 = load i32, ptr %0, align 8, !tbaa !20 %27 = load i32, ptr @USB_ENDPOINT_NUMBER_MASK, align 4, !tbaa !5 %28 = and i32 %27, %26 %29 = tail call i32 @usb_rcvisocpipe(i32 noundef %24, i32 noundef %28) #2 %30 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 6 store i32 %29, ptr %30, align 4, !tbaa !21 %31 = load i32, ptr @URB_ISO_ASAP, align 4, !tbaa !5 %32 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 5 store i32 %31, ptr %32, align 8, !tbaa !22 store i32 -1, ptr %12, align 8, !tbaa !23 %33 = load i32, ptr @LINE6_ISO_PACKETS, align 4, !tbaa !5 %34 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 4 store i32 %33, ptr %34, align 4, !tbaa !24 %35 = load i32, ptr @LINE6_ISO_INTERVAL, align 4, !tbaa !5 %36 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 3 store i32 %35, ptr %36, align 8, !tbaa !25 %37 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 2 store i64 0, ptr %37, align 8, !tbaa !26 %38 = load i32, ptr @audio_in_callback, align 4, !tbaa !5 %39 = getelementptr inbounds %struct.urb, ptr %12, i64 0, i32 1 store i32 %38, ptr %39, align 4, !tbaa !27 %40 = add nuw nsw i64 %10, 1 %41 = load i32, ptr @LINE6_ISO_BUFFERS, align 4, !tbaa !5 %42 = sext i32 %41 to i64 %43 = icmp slt i64 %40, %42 br i1 %43, label %8, label %44, !llvm.loop !28 44: ; preds = %23, %1, %17 %45 = phi i32 [ %22, %17 ], [ 0, %1 ], [ 0, %23 ] ret i32 %45 } declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_rcvisocpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"snd_line6_pcm", !6, i64 0, !11, i64 8, !11, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 8} !14 = !{!15, !6, i64 4} !15 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !16 = !{!15, !6, i64 0} !17 = !{!18, !6, i64 32} !18 = !{!"urb", !6, i64 0, !6, i64 4, !19, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32} !19 = !{!"long", !7, i64 0} !20 = !{!10, !6, i64 0} !21 = !{!18, !6, i64 28} !22 = !{!18, !6, i64 24} !23 = !{!18, !6, i64 0} !24 = !{!18, !6, i64 20} !25 = !{!18, !6, i64 16} !26 = !{!18, !19, i64 8} !27 = !{!18, !6, i64 4} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/line6/extr_capture.c_create_audio_in_urbs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/line6/extr_capture.c_create_audio_in_urbs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LINE6_ISO_BUFFERS = common local_unnamed_addr global i32 0, align 4 @LINE6_ISO_PACKETS = 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 [15 x i8] c"Out of memory\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @USB_ENDPOINT_NUMBER_MASK = common local_unnamed_addr global i32 0, align 4 @URB_ISO_ASAP = common local_unnamed_addr global i32 0, align 4 @LINE6_ISO_INTERVAL = common local_unnamed_addr global i32 0, align 4 @audio_in_callback = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @create_audio_in_urbs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr @LINE6_ISO_BUFFERS, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %44 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr @LINE6_ISO_PACKETS, align 4, !tbaa !6 br label %8 8: ; preds = %4, %23 %9 = phi i32 [ %7, %4 ], [ %33, %23 ] %10 = phi i64 [ 0, %4 ], [ %40, %23 ] %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %12 = tail call ptr @usb_alloc_urb(i32 noundef %9, i32 noundef %11) #2 %13 = load ptr, ptr %5, align 8, !tbaa !10 %14 = getelementptr inbounds ptr, ptr %13, i64 %10 store ptr %12, ptr %14, align 8, !tbaa !13 %15 = icmp eq ptr %12, null %16 = load ptr, ptr %6, align 8, !tbaa !14 br i1 %15, label %17, label %23 17: ; preds = %8 %18 = getelementptr inbounds i8, ptr %16, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !15 %20 = tail call i32 @dev_err(i32 noundef %19, ptr noundef nonnull @.str) #2 %21 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %22 = sub nsw i32 0, %21 br label %44 23: ; preds = %8 %24 = load i32, ptr %16, align 4, !tbaa !17 %25 = getelementptr inbounds i8, ptr %12, i64 32 store i32 %24, ptr %25, align 8, !tbaa !18 %26 = load i32, ptr %0, align 8, !tbaa !21 %27 = load i32, ptr @USB_ENDPOINT_NUMBER_MASK, align 4, !tbaa !6 %28 = and i32 %27, %26 %29 = tail call i32 @usb_rcvisocpipe(i32 noundef %24, i32 noundef %28) #2 %30 = getelementptr inbounds i8, ptr %12, i64 28 store i32 %29, ptr %30, align 4, !tbaa !22 %31 = load i32, ptr @URB_ISO_ASAP, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %12, i64 24 store i32 %31, ptr %32, align 8, !tbaa !23 store i32 -1, ptr %12, align 8, !tbaa !24 %33 = load i32, ptr @LINE6_ISO_PACKETS, align 4, !tbaa !6 %34 = getelementptr inbounds i8, ptr %12, i64 20 store i32 %33, ptr %34, align 4, !tbaa !25 %35 = load i32, ptr @LINE6_ISO_INTERVAL, align 4, !tbaa !6 %36 = getelementptr inbounds i8, ptr %12, i64 16 store i32 %35, ptr %36, align 8, !tbaa !26 %37 = getelementptr inbounds i8, ptr %12, i64 8 store i64 0, ptr %37, align 8, !tbaa !27 %38 = load i32, ptr @audio_in_callback, align 4, !tbaa !6 %39 = getelementptr inbounds i8, ptr %12, i64 4 store i32 %38, ptr %39, align 4, !tbaa !28 %40 = add nuw nsw i64 %10, 1 %41 = load i32, ptr @LINE6_ISO_BUFFERS, align 4, !tbaa !6 %42 = sext i32 %41 to i64 %43 = icmp slt i64 %40, %42 br i1 %43, label %8, label %44, !llvm.loop !29 44: ; preds = %23, %1, %17 %45 = phi i32 [ %22, %17 ], [ 0, %1 ], [ 0, %23 ] ret i32 %45 } declare ptr @usb_alloc_urb(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_rcvisocpipe(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"snd_line6_pcm", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!16, !7, i64 4} !16 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !17 = !{!16, !7, i64 0} !18 = !{!19, !7, i64 32} !19 = !{!"urb", !7, i64 0, !7, i64 4, !20, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32} !20 = !{!"long", !8, i64 0} !21 = !{!11, !7, i64 0} !22 = !{!19, !7, i64 28} !23 = !{!19, !7, i64 24} !24 = !{!19, !7, i64 0} !25 = !{!19, !7, i64 20} !26 = !{!19, !7, i64 16} !27 = !{!19, !20, i64 8} !28 = !{!19, !7, i64 4} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_staging_line6_extr_capture.c_create_audio_in_urbs
; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/ccids/extr_lib....dccp.h_dccp_inc_seqno.c' source_filename = "AnghaBench/fastsocket/kernel/net/dccp/ccids/extr_lib....dccp.h_dccp_inc_seqno.c" target datalayout = "e-m:e-p270:32:32-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 @dccp_inc_seqno], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @dccp_inc_seqno(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @ADD48(i32 noundef %2, i32 noundef 1) #2 store i32 %3, ptr %0, align 4, !tbaa !5 ret void } declare i32 @ADD48(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/dccp/ccids/extr_lib....dccp.h_dccp_inc_seqno.c' source_filename = "AnghaBench/fastsocket/kernel/net/dccp/ccids/extr_lib....dccp.h_dccp_inc_seqno.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 @dccp_inc_seqno], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @dccp_inc_seqno(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @ADD48(i32 noundef %2, i32 noundef 1) #2 store i32 %3, ptr %0, align 4, !tbaa !6 ret void } declare i32 @ADD48(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_net_dccp_ccids_extr_lib....dccp.h_dccp_inc_seqno
; ModuleID = 'AnghaBench/linux/drivers/xen/events/extr_events_fifo.c_handle_irq_for_port.c' source_filename = "AnghaBench/linux/drivers/xen/events/extr_events_fifo.c_handle_irq_for_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @handle_irq_for_port], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @handle_irq_for_port(i32 noundef %0) #0 { %2 = tail call i32 @get_evtchn_to_irq(i32 noundef %0) #2 %3 = icmp eq i32 %2, -1 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @generic_handle_irq(i32 noundef %2) #2 br label %6 6: ; preds = %4, %1 ret void } declare i32 @get_evtchn_to_irq(i32 noundef) local_unnamed_addr #1 declare i32 @generic_handle_irq(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/xen/events/extr_events_fifo.c_handle_irq_for_port.c' source_filename = "AnghaBench/linux/drivers/xen/events/extr_events_fifo.c_handle_irq_for_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @handle_irq_for_port], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @handle_irq_for_port(i32 noundef %0) #0 { %2 = tail call i32 @get_evtchn_to_irq(i32 noundef %0) #2 %3 = icmp eq i32 %2, -1 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @generic_handle_irq(i32 noundef %2) #2 br label %6 6: ; preds = %4, %1 ret void } declare i32 @get_evtchn_to_irq(i32 noundef) local_unnamed_addr #1 declare i32 @generic_handle_irq(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_xen_events_extr_events_fifo.c_handle_irq_for_port
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_status.c_STATUSBAR_GetTextW.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_status.c_STATUSBAR_GetTextW.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i64, ptr, %struct.TYPE_5__, i64 } %struct.TYPE_5__ = type { i32, i64 } @.str = private unnamed_addr constant [9 x i8] c"part %d\0A\00", align 1 @SBT_OWNERDRAW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @STATUSBAR_GetTextW], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @STATUSBAR_GetTextW(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @TRACE(ptr noundef nonnull @.str, i64 noundef %1) #2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp ugt i64 %5, %1 br i1 %6, label %7, label %42 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 br label %17 13: ; preds = %7 %14 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i64 %1 br label %17 17: ; preds = %13, %11 %18 = phi ptr [ %12, %11 ], [ %16, %13 ] %19 = load i32, ptr %18, align 8, !tbaa !15 %20 = load i32, ptr @SBT_OWNERDRAW, align 4, !tbaa !16 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 %23 = getelementptr inbounds %struct.TYPE_5__, ptr %18, i64 0, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !17 br i1 %22, label %27, label %25 25: ; preds = %17 %26 = trunc i64 %24 to i32 br label %42 27: ; preds = %17 %28 = icmp eq i64 %24, 0 br i1 %28, label %29, label %31 29: ; preds = %27 %30 = shl i32 %19, 16 br label %42 31: ; preds = %27 %32 = tail call i32 @strlenW(i64 noundef %24) #2 %33 = load i32, ptr %18, align 8, !tbaa !15 %34 = load i64, ptr %23, align 8, !tbaa !17 %35 = shl i32 %33, 16 %36 = or i32 %35, %32 %37 = icmp ne i64 %34, 0 %38 = icmp ne i64 %2, 0 %39 = and i1 %38, %37 br i1 %39, label %40, label %42 40: ; preds = %31 %41 = tail call i32 @strcpyW(i64 noundef %2, i64 noundef %34) #2 br label %42 42: ; preds = %29, %25, %40, %31, %3 %43 = phi i32 [ 0, %3 ], [ %26, %25 ], [ %36, %40 ], [ %36, %31 ], [ %30, %29 ] ret i32 %43 } declare i32 @TRACE(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strlenW(i64 noundef) local_unnamed_addr #1 declare i32 @strcpyW(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_5__", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 32} !14 = !{!6, !10, i64 8} !15 = !{!11, !12, i64 0} !16 = !{!12, !12, i64 0} !17 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_status.c_STATUSBAR_GetTextW.c' source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_status.c_STATUSBAR_GetTextW.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { i32, i64 } @.str = private unnamed_addr constant [9 x i8] c"part %d\0A\00", align 1 @SBT_OWNERDRAW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @STATUSBAR_GetTextW], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @STATUSBAR_GetTextW(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = tail call i32 @TRACE(ptr noundef nonnull @.str, i64 noundef %1) #2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp ugt i64 %5, %1 br i1 %6, label %7, label %42 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load i64, ptr %8, align 8, !tbaa !14 %10 = icmp eq i64 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %0, i64 16 br label %17 13: ; preds = %7 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i64 %1 br label %17 17: ; preds = %13, %11 %18 = phi ptr [ %12, %11 ], [ %16, %13 ] %19 = load i32, ptr %18, align 8, !tbaa !16 %20 = load i32, ptr @SBT_OWNERDRAW, align 4, !tbaa !17 %21 = and i32 %20, %19 %22 = icmp eq i32 %21, 0 %23 = getelementptr inbounds i8, ptr %18, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !18 br i1 %22, label %27, label %25 25: ; preds = %17 %26 = trunc i64 %24 to i32 br label %42 27: ; preds = %17 %28 = icmp eq i64 %24, 0 br i1 %28, label %29, label %31 29: ; preds = %27 %30 = shl i32 %19, 16 br label %42 31: ; preds = %27 %32 = tail call i32 @strlenW(i64 noundef %24) #2 %33 = load i32, ptr %18, align 8, !tbaa !16 %34 = load i64, ptr %23, align 8, !tbaa !18 %35 = shl i32 %33, 16 %36 = or i32 %35, %32 %37 = icmp ne i64 %34, 0 %38 = icmp ne i64 %2, 0 %39 = and i1 %38, %37 br i1 %39, label %40, label %42 40: ; preds = %31 %41 = tail call i32 @strcpyW(i64 noundef %2, i64 noundef %34) #2 br label %42 42: ; preds = %29, %25, %40, %31, %3 %43 = phi i32 [ 0, %3 ], [ %26, %25 ], [ %36, %40 ], [ %36, %31 ], [ %30, %29 ] ret i32 %43 } declare i32 @TRACE(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @strlenW(i64 noundef) local_unnamed_addr #1 declare i32 @strcpyW(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_5__", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 32} !15 = !{!7, !11, i64 8} !16 = !{!12, !13, i64 0} !17 = !{!13, !13, i64 0} !18 = !{!12, !8, i64 8}
reactos_dll_win32_comctl32_extr_status.c_STATUSBAR_GetTextW
; ModuleID = 'AnghaBench/mpv/player/extr_main.c_handle_help_options.c' source_filename = "AnghaBench/mpv/player/extr_main.c_handle_help_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.MPContext = type { i32, ptr, ptr } %struct.MPOpts = type { i32, i64, ptr, i64, i64, i64, i64, i64, i64 } @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @MSGL_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Audio decoders:\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Choices: ac3,dts-hd,dts (and possibly more)\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Video decoders:\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @handle_help_options], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @handle_help_options(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.MPContext, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.MPContext, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 8 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %1 %10 = tail call i64 @strcmp(i64 noundef %7, ptr noundef nonnull @.str) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = tail call ptr (...) @audio_decoder_list() #2 %14 = load i32, ptr @MSGL_INFO, align 4, !tbaa !15 %15 = tail call i32 @mp_print_decoders(ptr noundef %5, i32 noundef %14, ptr noundef nonnull @.str.1, ptr noundef %13) #2 %16 = tail call i32 @talloc_free(ptr noundef %13) #2 br label %84 17: ; preds = %9, %1 %18 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 7 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %17 %22 = tail call i64 @strcmp(i64 noundef %19, ptr noundef nonnull @.str) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 br label %84 26: ; preds = %21, %17 %27 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 6 %28 = load i64, ptr %27, align 8, !tbaa !17 %29 = icmp eq i64 %28, 0 br i1 %29, label %38, label %30 30: ; preds = %26 %31 = tail call i64 @strcmp(i64 noundef %28, ptr noundef nonnull @.str) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = tail call ptr (...) @video_decoder_list() #2 %35 = load i32, ptr @MSGL_INFO, align 4, !tbaa !15 %36 = tail call i32 @mp_print_decoders(ptr noundef %5, i32 noundef %35, ptr noundef nonnull @.str.3, ptr noundef %34) #2 %37 = tail call i32 @talloc_free(ptr noundef %34) #2 br label %84 38: ; preds = %30, %26 %39 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 5 %40 = load i64, ptr %39, align 8, !tbaa !18 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %38 %43 = tail call i64 @strcmp(i64 noundef %40, ptr noundef nonnull @.str) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %59, label %45 45: ; preds = %42, %38 %46 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 4 %47 = load i64, ptr %46, align 8, !tbaa !19 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %45 %50 = tail call i64 @strcmp(i64 noundef %47, ptr noundef nonnull @.str) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %59, label %52 52: ; preds = %49, %45 %53 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 3 %54 = load i64, ptr %53, align 8, !tbaa !20 %55 = icmp eq i64 %54, 0 br i1 %55, label %62, label %56 56: ; preds = %52 %57 = tail call i64 @strcmp(i64 noundef %54, ptr noundef nonnull @.str) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %56, %49, %42 %60 = tail call i32 @demuxer_help(ptr noundef %5) #2 %61 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #2 br label %84 62: ; preds = %56, %52 %63 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 2 %64 = load ptr, ptr %63, align 8, !tbaa !21 %65 = load i64, ptr %64, align 8, !tbaa !22 %66 = icmp eq i64 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %62 %68 = tail call i64 @strcmp(i64 noundef %65, ptr noundef nonnull @.str) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load i32, ptr %0, align 8, !tbaa !24 %72 = tail call i32 @ao_print_devices(i32 noundef %71, ptr noundef %5) #2 br label %84 73: ; preds = %67, %62 %74 = getelementptr inbounds %struct.MPOpts, ptr %3, i64 0, i32 1 %75 = load i64, ptr %74, align 8, !tbaa !25 %76 = icmp eq i64 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %73 %78 = tail call i32 @property_print_help(ptr noundef nonnull %0) #2 br label %84 79: ; preds = %73 %80 = load i32, ptr %3, align 8, !tbaa !26 %81 = tail call i64 @encode_lavc_showhelp(ptr noundef %5, i32 noundef %80) #2 %82 = icmp ne i64 %81, 0 %83 = zext i1 %82 to i32 br label %84 84: ; preds = %79, %77, %70, %59, %33, %24, %12 %85 = phi i32 [ 1, %12 ], [ 1, %24 ], [ 1, %33 ], [ 1, %59 ], [ 1, %70 ], [ 1, %77 ], [ %83, %79 ] ret i32 %85 } declare i64 @strcmp(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @audio_decoder_list(...) local_unnamed_addr #1 declare i32 @mp_print_decoders(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @video_decoder_list(...) local_unnamed_addr #1 declare i32 @demuxer_help(ptr noundef) local_unnamed_addr #1 declare i32 @ao_print_devices(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @property_print_help(ptr noundef) local_unnamed_addr #1 declare i64 @encode_lavc_showhelp(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 16} !6 = !{!"MPContext", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !14, i64 64} !13 = !{!"MPOpts", !7, i64 0, !14, i64 8, !10, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64} !14 = !{!"long", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!13, !14, i64 56} !17 = !{!13, !14, i64 48} !18 = !{!13, !14, i64 40} !19 = !{!13, !14, i64 32} !20 = !{!13, !14, i64 24} !21 = !{!13, !10, i64 16} !22 = !{!23, !14, i64 0} !23 = !{!"TYPE_2__", !14, i64 0} !24 = !{!6, !7, i64 0} !25 = !{!13, !14, i64 8} !26 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/mpv/player/extr_main.c_handle_help_options.c' source_filename = "AnghaBench/mpv/player/extr_main.c_handle_help_options.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @MSGL_INFO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Audio decoders:\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Choices: ac3,dts-hd,dts (and possibly more)\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Video decoders:\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @handle_help_options], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @handle_help_options(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 %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %3, i64 64 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %1 %10 = tail call i64 @strcmp(i64 noundef %7, ptr noundef nonnull @.str) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = tail call ptr @audio_decoder_list() #2 %14 = load i32, ptr @MSGL_INFO, align 4, !tbaa !16 %15 = tail call i32 @mp_print_decoders(ptr noundef %5, i32 noundef %14, ptr noundef nonnull @.str.1, ptr noundef %13) #2 %16 = tail call i32 @talloc_free(ptr noundef %13) #2 br label %84 17: ; preds = %9, %1 %18 = getelementptr inbounds i8, ptr %3, i64 56 %19 = load i64, ptr %18, align 8, !tbaa !17 %20 = icmp eq i64 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %17 %22 = tail call i64 @strcmp(i64 noundef %19, ptr noundef nonnull @.str) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2 br label %84 26: ; preds = %21, %17 %27 = getelementptr inbounds i8, ptr %3, i64 48 %28 = load i64, ptr %27, align 8, !tbaa !18 %29 = icmp eq i64 %28, 0 br i1 %29, label %38, label %30 30: ; preds = %26 %31 = tail call i64 @strcmp(i64 noundef %28, ptr noundef nonnull @.str) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = tail call ptr @video_decoder_list() #2 %35 = load i32, ptr @MSGL_INFO, align 4, !tbaa !16 %36 = tail call i32 @mp_print_decoders(ptr noundef %5, i32 noundef %35, ptr noundef nonnull @.str.3, ptr noundef %34) #2 %37 = tail call i32 @talloc_free(ptr noundef %34) #2 br label %84 38: ; preds = %30, %26 %39 = getelementptr inbounds i8, ptr %3, i64 40 %40 = load i64, ptr %39, align 8, !tbaa !19 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %38 %43 = tail call i64 @strcmp(i64 noundef %40, ptr noundef nonnull @.str) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %59, label %45 45: ; preds = %42, %38 %46 = getelementptr inbounds i8, ptr %3, i64 32 %47 = load i64, ptr %46, align 8, !tbaa !20 %48 = icmp eq i64 %47, 0 br i1 %48, label %52, label %49 49: ; preds = %45 %50 = tail call i64 @strcmp(i64 noundef %47, ptr noundef nonnull @.str) #2 %51 = icmp eq i64 %50, 0 br i1 %51, label %59, label %52 52: ; preds = %49, %45 %53 = getelementptr inbounds i8, ptr %3, i64 24 %54 = load i64, ptr %53, align 8, !tbaa !21 %55 = icmp eq i64 %54, 0 br i1 %55, label %62, label %56 56: ; preds = %52 %57 = tail call i64 @strcmp(i64 noundef %54, ptr noundef nonnull @.str) #2 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %56, %49, %42 %60 = tail call i32 @demuxer_help(ptr noundef %5) #2 %61 = tail call i32 @MP_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str.4) #2 br label %84 62: ; preds = %56, %52 %63 = getelementptr inbounds i8, ptr %3, i64 16 %64 = load ptr, ptr %63, align 8, !tbaa !22 %65 = load i64, ptr %64, align 8, !tbaa !23 %66 = icmp eq i64 %65, 0 br i1 %66, label %73, label %67 67: ; preds = %62 %68 = tail call i64 @strcmp(i64 noundef %65, ptr noundef nonnull @.str) #2 %69 = icmp eq i64 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load i32, ptr %0, align 8, !tbaa !25 %72 = tail call i32 @ao_print_devices(i32 noundef %71, ptr noundef %5) #2 br label %84 73: ; preds = %67, %62 %74 = getelementptr inbounds i8, ptr %3, i64 8 %75 = load i64, ptr %74, align 8, !tbaa !26 %76 = icmp eq i64 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %73 %78 = tail call i32 @property_print_help(ptr noundef nonnull %0) #2 br label %84 79: ; preds = %73 %80 = load i32, ptr %3, align 8, !tbaa !27 %81 = tail call i64 @encode_lavc_showhelp(ptr noundef %5, i32 noundef %80) #2 %82 = icmp ne i64 %81, 0 %83 = zext i1 %82 to i32 br label %84 84: ; preds = %79, %77, %70, %59, %33, %24, %12 %85 = phi i32 [ 1, %12 ], [ 1, %24 ], [ 1, %33 ], [ 1, %59 ], [ 1, %70 ], [ 1, %77 ], [ %83, %79 ] ret i32 %85 } declare i64 @strcmp(i64 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @audio_decoder_list(...) local_unnamed_addr #1 declare i32 @mp_print_decoders(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @video_decoder_list(...) local_unnamed_addr #1 declare i32 @demuxer_help(ptr noundef) local_unnamed_addr #1 declare i32 @ao_print_devices(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @property_print_help(ptr noundef) local_unnamed_addr #1 declare i64 @encode_lavc_showhelp(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 16} !7 = !{!"MPContext", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !15, i64 64} !14 = !{!"MPOpts", !8, i64 0, !15, i64 8, !11, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64} !15 = !{!"long", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!14, !15, i64 56} !18 = !{!14, !15, i64 48} !19 = !{!14, !15, i64 40} !20 = !{!14, !15, i64 32} !21 = !{!14, !15, i64 24} !22 = !{!14, !11, i64 16} !23 = !{!24, !15, i64 0} !24 = !{!"TYPE_2__", !15, i64 0} !25 = !{!7, !8, i64 0} !26 = !{!14, !15, i64 8} !27 = !{!14, !8, i64 0}
mpv_player_extr_main.c_handle_help_options
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_trans_priv.h_xfs_set_li_failed.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_trans_priv.h_xfs_set_li_failed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.xfs_log_item = type { ptr, i32, ptr } @XFS_LI_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xfs_set_li_failed], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @xfs_set_li_failed(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.xfs_log_item, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @lockdep_assert_held(ptr noundef %4) #2 %6 = load i32, ptr @XFS_LI_FAILED, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.xfs_log_item, ptr %0, i64 0, i32 1 %8 = tail call i32 @test_and_set_bit(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = tail call i32 @xfs_buf_hold(ptr noundef %1) #2 store ptr %1, ptr %0, align 8, !tbaa !12 br label %12 12: ; preds = %10, %2 ret void } declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1 declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfs_buf_hold(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"xfs_log_item", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/xfs/extr_xfs_trans_priv.h_xfs_set_li_failed.c' source_filename = "AnghaBench/linux/fs/xfs/extr_xfs_trans_priv.h_xfs_set_li_failed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XFS_LI_FAILED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xfs_set_li_failed], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @xfs_set_li_failed(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @lockdep_assert_held(ptr noundef %4) #2 %6 = load i32, ptr @XFS_LI_FAILED, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = tail call i32 @test_and_set_bit(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = tail call i32 @xfs_buf_hold(ptr noundef %1) #2 store ptr %1, ptr %0, align 8, !tbaa !13 br label %12 12: ; preds = %10, %2 ret void } declare i32 @lockdep_assert_held(ptr noundef) local_unnamed_addr #1 declare i32 @test_and_set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xfs_buf_hold(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"xfs_log_item", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0}
linux_fs_xfs_extr_xfs_trans_priv.h_xfs_set_li_failed
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_attr_build.c_wps_build_config_error.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_attr_build.c_wps_build_config_error.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"WPS: * Configuration Error (%d)\00", align 1 @ATTR_CONFIG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @wps_build_config_error(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5 %4 = tail call i32 @wpa_printf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2 %5 = load i32, ptr @ATTR_CONFIG_ERROR, align 4, !tbaa !5 %6 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef %5) #2 %7 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef 2) #2 %8 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef %1) #2 ret i32 0 } declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_be16(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_attr_build.c_wps_build_config_error.c' source_filename = "AnghaBench/esp-idf/components/wpa_supplicant/src/wps/extr_wps_attr_build.c_wps_build_config_error.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"WPS: * Configuration Error (%d)\00", align 1 @ATTR_CONFIG_ERROR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @wps_build_config_error(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6 %4 = tail call i32 @wpa_printf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %1) #2 %5 = load i32, ptr @ATTR_CONFIG_ERROR, align 4, !tbaa !6 %6 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef %5) #2 %7 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef 2) #2 %8 = tail call i32 @wpabuf_put_be16(ptr noundef %0, i32 noundef %1) #2 ret i32 0 } declare i32 @wpa_printf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_be16(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
esp-idf_components_wpa_supplicant_src_wps_extr_wps_attr_build.c_wps_build_config_error
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-cards.c_gdi_eeprom.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-cards.c_gdi_eeprom.c" target datalayout = "e-m:e-p270:32:32-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, i64, i32 } %struct.TYPE_6__ = type { %struct.TYPE_5__, i32 } %struct.TYPE_5__ = type { i32 } @gdi_tuner = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"GDI: tuner=%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @CX88_RADIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gdi_eeprom], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gdi_eeprom(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i64, ptr %1, i64 13 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr @gdi_tuner, align 8, !tbaa !9 %6 = tail call i64 @ARRAY_SIZE(ptr noundef %5) #2 %7 = icmp ult i64 %4, %6 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 br label %29 10: ; preds = %2 %11 = load ptr, ptr @gdi_tuner, align 8, !tbaa !9 %12 = load i64, ptr %3, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !11 %15 = icmp eq ptr %14, null %16 = select i1 %15, ptr @.str.1, ptr %14 %17 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 br i1 %15, label %29, label %18 18: ; preds = %10 %19 = load ptr, ptr @gdi_tuner, align 8, !tbaa !9 %20 = load i64, ptr %3, align 8, !tbaa !5 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %20, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 store i32 %22, ptr %23, align 4, !tbaa !15 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %20, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !19 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @CX88_RADIO, align 4 %28 = select i1 %26, i32 0, i32 %27 store i32 %28, ptr %0, align 4, !tbaa !20 br label %29 29: ; preds = %8, %10, %18 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_7__", !10, i64 0, !6, i64 8, !13, i64 16} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 16} !15 = !{!16, !13, i64 4} !16 = !{!"cx88_core", !17, i64 0} !17 = !{!"TYPE_6__", !18, i64 0, !13, i64 4} !18 = !{!"TYPE_5__", !13, i64 0} !19 = !{!12, !6, i64 8} !20 = !{!16, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-cards.c_gdi_eeprom.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-cards.c_gdi_eeprom.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, i64, i32 } @gdi_tuner = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"GDI: tuner=%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @CX88_RADIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gdi_eeprom], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gdi_eeprom(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 104 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr @gdi_tuner, align 8, !tbaa !10 %6 = tail call i64 @ARRAY_SIZE(ptr noundef %5) #2 %7 = icmp ult i64 %4, %6 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 br label %29 10: ; preds = %2 %11 = load ptr, ptr @gdi_tuner, align 8, !tbaa !10 %12 = load i64, ptr %3, align 8, !tbaa !6 %13 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = icmp eq ptr %14, null %16 = select i1 %15, ptr @.str.1, ptr %14 %17 = tail call i32 @pr_info(ptr noundef nonnull @.str, ptr noundef nonnull %16) #2 br i1 %15, label %29, label %18 18: ; preds = %10 %19 = load ptr, ptr @gdi_tuner, align 8, !tbaa !10 %20 = load i64, ptr %3, align 8, !tbaa !6 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %20, i32 2 %22 = load i32, ptr %21, align 8, !tbaa !15 %23 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %22, ptr %23, align 4, !tbaa !16 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %19, i64 %20, i32 1 %25 = load i64, ptr %24, align 8, !tbaa !20 %26 = icmp eq i64 %25, 0 %27 = load i32, ptr @CX88_RADIO, align 4 %28 = select i1 %26, i32 0, i32 %27 store i32 %28, ptr %0, align 4, !tbaa !21 br label %29 29: ; preds = %8, %10, %18 ret void } declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_7__", !11, i64 0, !7, i64 8, !14, i64 16} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 16} !16 = !{!17, !14, i64 4} !17 = !{!"cx88_core", !18, i64 0} !18 = !{!"TYPE_6__", !19, i64 0, !14, i64 4} !19 = !{!"TYPE_5__", !14, i64 0} !20 = !{!13, !7, i64 8} !21 = !{!17, !14, i64 0}
linux_drivers_media_pci_cx88_extr_cx88-cards.c_gdi_eeprom
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedi/extr_qedi_main.c_qedi_setup_cid_que.c' source_filename = "AnghaBench/linux/drivers/scsi/qedi/extr_qedi_main.c_qedi_setup_cid_que.c" target datalayout = "e-m:e-p270:32:32-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.qedi_ctx = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { ptr, i32, i32, ptr, i64, i64, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qedi_setup_cid_que], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qedi_setup_cid_que(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %4 = tail call ptr @kmalloc_array(i32 noundef %2, i32 noundef 4, i32 noundef %3) #3 %5 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1 %6 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1, i32 6 store ptr %4, ptr %6, align 8, !tbaa !14 %7 = icmp eq ptr %4, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %10 = sub nsw i32 0, %9 br label %39 11: ; preds = %1 %12 = load i32, ptr %0, align 8, !tbaa !5 %13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %14 = tail call ptr @kmalloc_array(i32 noundef %12, i32 noundef 8, i32 noundef %13) #3 %15 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1, i32 3 store ptr %14, ptr %15, align 8, !tbaa !15 %16 = icmp eq ptr %14, null %17 = load ptr, ptr %6, align 8, !tbaa !14 br i1 %16, label %18, label %22 18: ; preds = %11 %19 = tail call i32 @kfree(ptr noundef %17) #3 store ptr null, ptr %6, align 8, !tbaa !14 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %21 = sub nsw i32 0, %20 br label %39 22: ; preds = %11 store ptr %17, ptr %5, align 8, !tbaa !16 %23 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1, i32 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false) %24 = load i32, ptr %0, align 8, !tbaa !5 %25 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1, i32 1 store i32 %24, ptr %25, align 8, !tbaa !17 %26 = getelementptr inbounds %struct.qedi_ctx, ptr %0, i64 0, i32 1, i32 2 store i32 %24, ptr %26, align 4, !tbaa !18 %27 = icmp sgt i32 %24, 0 br i1 %27, label %28, label %39 28: ; preds = %22, %28 %29 = phi i64 [ %35, %28 ], [ 0, %22 ] %30 = load ptr, ptr %5, align 8, !tbaa !16 %31 = getelementptr inbounds i32, ptr %30, i64 %29 %32 = trunc i64 %29 to i32 store i32 %32, ptr %31, align 4, !tbaa !13 %33 = load ptr, ptr %15, align 8, !tbaa !15 %34 = getelementptr inbounds ptr, ptr %33, i64 %29 store ptr null, ptr %34, align 8, !tbaa !19 %35 = add nuw nsw i64 %29, 1 %36 = load i32, ptr %0, align 8, !tbaa !5 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %28, label %39, !llvm.loop !20 39: ; preds = %28, %22, %18, %8 %40 = phi i32 [ %21, %18 ], [ %10, %8 ], [ 0, %22 ], [ 0, %28 ] ret i32 %40 } declare ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(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, !7, i64 0} !6 = !{!"qedi_ctx", !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, !11, i64 16, !12, i64 24, !12, i64 32, !11, i64 40} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !11, i64 48} !15 = !{!6, !11, i64 24} !16 = !{!6, !11, i64 8} !17 = !{!6, !7, i64 16} !18 = !{!6, !7, i64 20} !19 = !{!11, !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/qedi/extr_qedi_main.c_qedi_setup_cid_que.c' source_filename = "AnghaBench/linux/drivers/scsi/qedi/extr_qedi_main.c_qedi_setup_cid_que.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qedi_setup_cid_que], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qedi_setup_cid_que(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %4 = tail call ptr @kmalloc_array(i32 noundef %2, i32 noundef 4, i32 noundef %3) #3 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %4, ptr %6, align 8, !tbaa !15 %7 = icmp eq ptr %4, null br i1 %7, label %8, label %11 8: ; preds = %1 %9 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %10 = sub nsw i32 0, %9 br label %39 11: ; preds = %1 %12 = load i32, ptr %0, align 8, !tbaa !6 %13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %14 = tail call ptr @kmalloc_array(i32 noundef %12, i32 noundef 8, i32 noundef %13) #3 %15 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %14, ptr %15, align 8, !tbaa !16 %16 = icmp eq ptr %14, null %17 = load ptr, ptr %6, align 8, !tbaa !15 br i1 %16, label %18, label %22 18: ; preds = %11 %19 = tail call i32 @kfree(ptr noundef %17) #3 store ptr null, ptr %6, align 8, !tbaa !15 %20 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %21 = sub nsw i32 0, %20 br label %39 22: ; preds = %11 store ptr %17, ptr %5, align 8, !tbaa !17 %23 = getelementptr inbounds i8, ptr %0, i64 32 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false) %24 = load i32, ptr %0, align 8, !tbaa !6 %25 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %24, ptr %25, align 8, !tbaa !18 %26 = getelementptr inbounds i8, ptr %0, i64 20 store i32 %24, ptr %26, align 4, !tbaa !19 %27 = icmp sgt i32 %24, 0 br i1 %27, label %28, label %39 28: ; preds = %22, %28 %29 = phi i64 [ %35, %28 ], [ 0, %22 ] %30 = load ptr, ptr %5, align 8, !tbaa !17 %31 = getelementptr inbounds i32, ptr %30, i64 %29 %32 = trunc nuw nsw i64 %29 to i32 store i32 %32, ptr %31, align 4, !tbaa !14 %33 = load ptr, ptr %15, align 8, !tbaa !16 %34 = getelementptr inbounds ptr, ptr %33, i64 %29 store ptr null, ptr %34, align 8, !tbaa !20 %35 = add nuw nsw i64 %29, 1 %36 = load i32, ptr %0, align 8, !tbaa !6 %37 = sext i32 %36 to i64 %38 = icmp slt i64 %35, %37 br i1 %38, label %28, label %39, !llvm.loop !21 39: ; preds = %28, %22, %18, %8 %40 = phi i32 [ %21, %18 ], [ %10, %8 ], [ 0, %22 ], [ 0, %28 ] ret i32 %40 } declare ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(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, !8, i64 0} !7 = !{!"qedi_ctx", !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, !12, i64 16, !13, i64 24, !13, i64 32, !12, i64 40} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !12, i64 48} !16 = !{!7, !12, i64 24} !17 = !{!7, !12, i64 8} !18 = !{!7, !8, i64 16} !19 = !{!7, !8, i64 20} !20 = !{!12, !12, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_qedi_extr_qedi_main.c_qedi_setup_cid_que
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_21285.c_serial21285_type.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_21285.c_serial21285_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PORT_21285 = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [8 x i8] c"DC21285\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @serial21285_type], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @serial21285_type(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @PORT_21285, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, ptr @.str, ptr null ret ptr %5 } 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 = !{!"uart_port", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/serial/extr_21285.c_serial21285_type.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/serial/extr_21285.c_serial21285_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PORT_21285 = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [8 x i8] c"DC21285\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @serial21285_type], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @serial21285_type(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @PORT_21285, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = select i1 %4, ptr @.str, ptr null ret ptr %5 } 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 = !{!"uart_port", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_serial_extr_21285.c_serial21285_type
; ModuleID = 'AnghaBench/linux/kernel/time/extr_timekeeping.c_ktime_get_coarse_ts64.c' source_filename = "AnghaBench/linux/kernel/time/extr_timekeeping.c_ktime_get_coarse_ts64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, %struct.timekeeper } %struct.timekeeper = type { %struct.timespec64 } %struct.timespec64 = type { i64, i64 } @tk_core = dso_local global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local void @ktime_get_coarse_ts64(ptr noundef %0) local_unnamed_addr #0 { br label %2 2: ; preds = %2, %1 %3 = tail call i32 @read_seqcount_begin(ptr noundef nonnull @tk_core) #2 %4 = tail call { i64, i64 } @tk_xtime(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_2__, ptr @tk_core, i64 0, i32 1)) #2 %5 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @tk_core, i64 0, i32 1), align 8, !tbaa.struct !5 %6 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @tk_core, i64 0, i32 1, i32 0, i32 1), align 8, !tbaa.struct !10 %7 = tail call i64 @read_seqcount_retry(ptr noundef nonnull @tk_core, i32 noundef %3) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %2, !llvm.loop !11 9: ; preds = %2 %10 = extractvalue { i64, i64 } %4, 1 %11 = extractvalue { i64, i64 } %4, 0 %12 = add nsw i64 %6, %10 %13 = add nsw i64 %11, %5 %14 = tail call i32 @set_normalized_timespec64(ptr noundef %0, i64 noundef %12, i64 noundef %13) #2 ret void } declare i32 @read_seqcount_begin(ptr noundef) local_unnamed_addr #1 declare { i64, i64 } @tk_xtime(ptr noundef) local_unnamed_addr #1 declare i64 @read_seqcount_retry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_normalized_timespec64(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 0, i64 8, !6, i64 8, i64 8, !6} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{i64 0, i64 8, !6} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/kernel/time/extr_timekeeping.c_ktime_get_coarse_ts64.c' source_filename = "AnghaBench/linux/kernel/time/extr_timekeeping.c_ktime_get_coarse_ts64.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, %struct.timekeeper } %struct.timekeeper = type { %struct.timespec64 } %struct.timespec64 = type { i64, i64 } @tk_core = common global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @ktime_get_coarse_ts64(ptr noundef %0) local_unnamed_addr #0 { br label %2 2: ; preds = %2, %1 %3 = tail call i32 @read_seqcount_begin(ptr noundef nonnull @tk_core) #2 %4 = tail call [2 x i64] @tk_xtime(ptr noundef nonnull getelementptr inbounds (i8, ptr @tk_core, i64 8)) #2 %5 = load i64, ptr getelementptr inbounds (i8, ptr @tk_core, i64 8), align 8, !tbaa !6 %6 = load i64, ptr getelementptr inbounds (i8, ptr @tk_core, i64 16), align 8, !tbaa !6 %7 = tail call i64 @read_seqcount_retry(ptr noundef nonnull @tk_core, i32 noundef %3) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %2, !llvm.loop !10 9: ; preds = %2 %10 = extractvalue [2 x i64] %4, 1 %11 = extractvalue [2 x i64] %4, 0 %12 = add nsw i64 %6, %10 %13 = add nsw i64 %11, %5 %14 = tail call i32 @set_normalized_timespec64(ptr noundef %0, i64 noundef %12, i64 noundef %13) #2 ret void } declare i32 @read_seqcount_begin(ptr noundef) local_unnamed_addr #1 declare [2 x i64] @tk_xtime(ptr noundef) local_unnamed_addr #1 declare i64 @read_seqcount_retry(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @set_normalized_timespec64(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_kernel_time_extr_timekeeping.c_ktime_get_coarse_ts64
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/extr_nv04.c_nv04_timer_intr.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/extr_nv04.c_nv04_timer_intr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NV04_PTIMER_INTR_0 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"intr %08x\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @nv04_timer_intr(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !10 %4 = tail call i32 @nvkm_rd32(ptr noundef %2, i32 noundef %3) #2 %5 = and i32 %4, 1 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !10 %9 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef %8, i32 noundef 1) #2 %10 = tail call i32 @nvkm_timer_alarm_trigger(ptr noundef nonnull %0) #2 %11 = and i32 %4, -2 br label %12 12: ; preds = %7, %1 %13 = phi i32 [ %11, %7 ], [ %4, %1 ] %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %12 %16 = tail call i32 @nvkm_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %13) #2 %17 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !10 %18 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef %17, i32 noundef %13) #2 br label %19 19: ; preds = %15, %12 ret void } declare i32 @nvkm_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_timer_alarm_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @nvkm_error(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 = !{!"nvkm_subdev", !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/nouveau/nvkm/subdev/timer/extr_nv04.c_nv04_timer_intr.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/extr_nv04.c_nv04_timer_intr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV04_PTIMER_INTR_0 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"intr %08x\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @nv04_timer_intr(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !11 %4 = tail call i32 @nvkm_rd32(ptr noundef %2, i32 noundef %3) #2 %5 = and i32 %4, 1 %6 = icmp eq i32 %5, 0 br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !11 %9 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef %8, i32 noundef 1) #2 %10 = tail call i32 @nvkm_timer_alarm_trigger(ptr noundef nonnull %0) #2 %11 = and i32 %4, -2 br label %12 12: ; preds = %7, %1 %13 = phi i32 [ %11, %7 ], [ %4, %1 ] %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %12 %16 = tail call i32 @nvkm_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %13) #2 %17 = load i32, ptr @NV04_PTIMER_INTR_0, align 4, !tbaa !11 %18 = tail call i32 @nvkm_wr32(ptr noundef %2, i32 noundef %17, i32 noundef %13) #2 br label %19 19: ; preds = %15, %12 ret void } declare i32 @nvkm_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nvkm_timer_alarm_trigger(ptr noundef) local_unnamed_addr #1 declare i32 @nvkm_error(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 = !{!"nvkm_subdev", !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_nouveau_nvkm_subdev_timer_extr_nv04.c_nv04_timer_intr
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_context.c_gl_copy_context.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_context.c_gl_copy_context.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @GL_ACCUM_BUFFER_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_COLOR_BUFFER_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_CURRENT_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_DEPTH_BUFFER_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_ENABLE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_EVAL_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_FOG_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_HINT_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_LIGHTING_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_LINE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_LIST_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_PIXEL_MODE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_POINT_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_POLYGON_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_POLYGON_STIPPLE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_SCISSOR_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_STENCIL_BUFFER_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_TEXTURE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_TRANSFORM_BIT = dso_local local_unnamed_addr global i32 0, align 4 @GL_VIEWPORT_BIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @gl_copy_context(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @GL_ACCUM_BUFFER_BIT, align 4, !tbaa !5 %5 = and i32 %4, %2 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 18 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 18 %10 = tail call i32 @MEMCPY(ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 4) #2 br label %11 11: ; preds = %7, %3 %12 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4, !tbaa !5 %13 = and i32 %12, %2 %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 17 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 17 %18 = tail call i32 @MEMCPY(ptr noundef nonnull %16, ptr noundef nonnull %17, i32 noundef 4) #2 br label %19 19: ; preds = %15, %11 %20 = load i32, ptr @GL_CURRENT_BIT, align 4, !tbaa !5 %21 = and i32 %20, %2 %22 = icmp eq i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 16 %25 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 16 %26 = tail call i32 @MEMCPY(ptr noundef nonnull %24, ptr noundef nonnull %25, i32 noundef 4) #2 br label %27 27: ; preds = %23, %19 %28 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4, !tbaa !5 %29 = and i32 %28, %2 %30 = icmp eq i32 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 15 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 15 %34 = tail call i32 @MEMCPY(ptr noundef nonnull %32, ptr noundef nonnull %33, i32 noundef 4) #2 br label %35 35: ; preds = %31, %27 %36 = load i32, ptr @GL_EVAL_BIT, align 4, !tbaa !5 %37 = and i32 %36, %2 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 14 %41 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 14 %42 = tail call i32 @MEMCPY(ptr noundef nonnull %40, ptr noundef nonnull %41, i32 noundef 4) #2 br label %43 43: ; preds = %39, %35 %44 = load i32, ptr @GL_FOG_BIT, align 4, !tbaa !5 %45 = and i32 %44, %2 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %43 %48 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 13 %49 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 13 %50 = tail call i32 @MEMCPY(ptr noundef nonnull %48, ptr noundef nonnull %49, i32 noundef 4) #2 br label %51 51: ; preds = %47, %43 %52 = load i32, ptr @GL_HINT_BIT, align 4, !tbaa !5 %53 = and i32 %52, %2 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51 %56 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 12 %57 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 12 %58 = tail call i32 @MEMCPY(ptr noundef nonnull %56, ptr noundef nonnull %57, i32 noundef 4) #2 br label %59 59: ; preds = %55, %51 %60 = load i32, ptr @GL_LIGHTING_BIT, align 4, !tbaa !5 %61 = and i32 %60, %2 %62 = icmp eq i32 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %59 %64 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 11 %65 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 11 %66 = tail call i32 @MEMCPY(ptr noundef nonnull %64, ptr noundef nonnull %65, i32 noundef 4) #2 br label %67 67: ; preds = %63, %59 %68 = load i32, ptr @GL_LINE_BIT, align 4, !tbaa !5 %69 = and i32 %68, %2 %70 = icmp eq i32 %69, 0 br i1 %70, label %75, label %71 71: ; preds = %67 %72 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 10 %73 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 10 %74 = tail call i32 @MEMCPY(ptr noundef nonnull %72, ptr noundef nonnull %73, i32 noundef 4) #2 br label %75 75: ; preds = %71, %67 %76 = load i32, ptr @GL_LIST_BIT, align 4, !tbaa !5 %77 = and i32 %76, %2 %78 = icmp eq i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %75 %80 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 9 %81 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 9 %82 = tail call i32 @MEMCPY(ptr noundef nonnull %80, ptr noundef nonnull %81, i32 noundef 4) #2 br label %83 83: ; preds = %79, %75 %84 = load i32, ptr @GL_PIXEL_MODE_BIT, align 4, !tbaa !5 %85 = and i32 %84, %2 %86 = icmp eq i32 %85, 0 br i1 %86, label %91, label %87 87: ; preds = %83 %88 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 8 %89 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 8 %90 = tail call i32 @MEMCPY(ptr noundef nonnull %88, ptr noundef nonnull %89, i32 noundef 4) #2 br label %91 91: ; preds = %87, %83 %92 = load i32, ptr @GL_POINT_BIT, align 4, !tbaa !5 %93 = and i32 %92, %2 %94 = icmp eq i32 %93, 0 br i1 %94, label %99, label %95 95: ; preds = %91 %96 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 7 %97 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 7 %98 = tail call i32 @MEMCPY(ptr noundef nonnull %96, ptr noundef nonnull %97, i32 noundef 4) #2 br label %99 99: ; preds = %95, %91 %100 = load i32, ptr @GL_POLYGON_BIT, align 4, !tbaa !5 %101 = and i32 %100, %2 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %99 %104 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 6 %105 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 6 %106 = tail call i32 @MEMCPY(ptr noundef nonnull %104, ptr noundef nonnull %105, i32 noundef 4) #2 br label %107 107: ; preds = %103, %99 %108 = load i32, ptr @GL_POLYGON_STIPPLE_BIT, align 4, !tbaa !5 %109 = and i32 %108, %2 %110 = icmp eq i32 %109, 0 br i1 %110, label %210, label %111 111: ; preds = %107 %112 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5 %113 = load ptr, ptr %112, align 8, !tbaa !9 %114 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 5 %115 = load ptr, ptr %114, align 8, !tbaa !9 %116 = load i32, ptr %113, align 4, !tbaa !5 store i32 %116, ptr %115, align 4, !tbaa !5 %117 = getelementptr inbounds i32, ptr %113, i64 1 %118 = load i32, ptr %117, align 4, !tbaa !5 %119 = getelementptr inbounds i32, ptr %115, i64 1 store i32 %118, ptr %119, align 4, !tbaa !5 %120 = getelementptr inbounds i32, ptr %113, i64 2 %121 = load i32, ptr %120, align 4, !tbaa !5 %122 = getelementptr inbounds i32, ptr %115, i64 2 store i32 %121, ptr %122, align 4, !tbaa !5 %123 = getelementptr inbounds i32, ptr %113, i64 3 %124 = load i32, ptr %123, align 4, !tbaa !5 %125 = getelementptr inbounds i32, ptr %115, i64 3 store i32 %124, ptr %125, align 4, !tbaa !5 %126 = getelementptr inbounds i32, ptr %113, i64 4 %127 = load i32, ptr %126, align 4, !tbaa !5 %128 = getelementptr inbounds i32, ptr %115, i64 4 store i32 %127, ptr %128, align 4, !tbaa !5 %129 = getelementptr inbounds i32, ptr %113, i64 5 %130 = load i32, ptr %129, align 4, !tbaa !5 %131 = getelementptr inbounds i32, ptr %115, i64 5 store i32 %130, ptr %131, align 4, !tbaa !5 %132 = getelementptr inbounds i32, ptr %113, i64 6 %133 = load i32, ptr %132, align 4, !tbaa !5 %134 = getelementptr inbounds i32, ptr %115, i64 6 store i32 %133, ptr %134, align 4, !tbaa !5 %135 = getelementptr inbounds i32, ptr %113, i64 7 %136 = load i32, ptr %135, align 4, !tbaa !5 %137 = getelementptr inbounds i32, ptr %115, i64 7 store i32 %136, ptr %137, align 4, !tbaa !5 %138 = getelementptr inbounds i32, ptr %113, i64 8 %139 = load i32, ptr %138, align 4, !tbaa !5 %140 = getelementptr inbounds i32, ptr %115, i64 8 store i32 %139, ptr %140, align 4, !tbaa !5 %141 = getelementptr inbounds i32, ptr %113, i64 9 %142 = load i32, ptr %141, align 4, !tbaa !5 %143 = getelementptr inbounds i32, ptr %115, i64 9 store i32 %142, ptr %143, align 4, !tbaa !5 %144 = getelementptr inbounds i32, ptr %113, i64 10 %145 = load i32, ptr %144, align 4, !tbaa !5 %146 = getelementptr inbounds i32, ptr %115, i64 10 store i32 %145, ptr %146, align 4, !tbaa !5 %147 = getelementptr inbounds i32, ptr %113, i64 11 %148 = load i32, ptr %147, align 4, !tbaa !5 %149 = getelementptr inbounds i32, ptr %115, i64 11 store i32 %148, ptr %149, align 4, !tbaa !5 %150 = getelementptr inbounds i32, ptr %113, i64 12 %151 = load i32, ptr %150, align 4, !tbaa !5 %152 = getelementptr inbounds i32, ptr %115, i64 12 store i32 %151, ptr %152, align 4, !tbaa !5 %153 = getelementptr inbounds i32, ptr %113, i64 13 %154 = load i32, ptr %153, align 4, !tbaa !5 %155 = getelementptr inbounds i32, ptr %115, i64 13 store i32 %154, ptr %155, align 4, !tbaa !5 %156 = getelementptr inbounds i32, ptr %113, i64 14 %157 = load i32, ptr %156, align 4, !tbaa !5 %158 = getelementptr inbounds i32, ptr %115, i64 14 store i32 %157, ptr %158, align 4, !tbaa !5 %159 = getelementptr inbounds i32, ptr %113, i64 15 %160 = load i32, ptr %159, align 4, !tbaa !5 %161 = getelementptr inbounds i32, ptr %115, i64 15 store i32 %160, ptr %161, align 4, !tbaa !5 %162 = getelementptr inbounds i32, ptr %113, i64 16 %163 = load i32, ptr %162, align 4, !tbaa !5 %164 = getelementptr inbounds i32, ptr %115, i64 16 store i32 %163, ptr %164, align 4, !tbaa !5 %165 = getelementptr inbounds i32, ptr %113, i64 17 %166 = load i32, ptr %165, align 4, !tbaa !5 %167 = getelementptr inbounds i32, ptr %115, i64 17 store i32 %166, ptr %167, align 4, !tbaa !5 %168 = getelementptr inbounds i32, ptr %113, i64 18 %169 = load i32, ptr %168, align 4, !tbaa !5 %170 = getelementptr inbounds i32, ptr %115, i64 18 store i32 %169, ptr %170, align 4, !tbaa !5 %171 = getelementptr inbounds i32, ptr %113, i64 19 %172 = load i32, ptr %171, align 4, !tbaa !5 %173 = getelementptr inbounds i32, ptr %115, i64 19 store i32 %172, ptr %173, align 4, !tbaa !5 %174 = getelementptr inbounds i32, ptr %113, i64 20 %175 = load i32, ptr %174, align 4, !tbaa !5 %176 = getelementptr inbounds i32, ptr %115, i64 20 store i32 %175, ptr %176, align 4, !tbaa !5 %177 = getelementptr inbounds i32, ptr %113, i64 21 %178 = load i32, ptr %177, align 4, !tbaa !5 %179 = getelementptr inbounds i32, ptr %115, i64 21 store i32 %178, ptr %179, align 4, !tbaa !5 %180 = getelementptr inbounds i32, ptr %113, i64 22 %181 = load i32, ptr %180, align 4, !tbaa !5 %182 = getelementptr inbounds i32, ptr %115, i64 22 store i32 %181, ptr %182, align 4, !tbaa !5 %183 = getelementptr inbounds i32, ptr %113, i64 23 %184 = load i32, ptr %183, align 4, !tbaa !5 %185 = getelementptr inbounds i32, ptr %115, i64 23 store i32 %184, ptr %185, align 4, !tbaa !5 %186 = getelementptr inbounds i32, ptr %113, i64 24 %187 = load i32, ptr %186, align 4, !tbaa !5 %188 = getelementptr inbounds i32, ptr %115, i64 24 store i32 %187, ptr %188, align 4, !tbaa !5 %189 = getelementptr inbounds i32, ptr %113, i64 25 %190 = load i32, ptr %189, align 4, !tbaa !5 %191 = getelementptr inbounds i32, ptr %115, i64 25 store i32 %190, ptr %191, align 4, !tbaa !5 %192 = getelementptr inbounds i32, ptr %113, i64 26 %193 = load i32, ptr %192, align 4, !tbaa !5 %194 = getelementptr inbounds i32, ptr %115, i64 26 store i32 %193, ptr %194, align 4, !tbaa !5 %195 = getelementptr inbounds i32, ptr %113, i64 27 %196 = load i32, ptr %195, align 4, !tbaa !5 %197 = getelementptr inbounds i32, ptr %115, i64 27 store i32 %196, ptr %197, align 4, !tbaa !5 %198 = getelementptr inbounds i32, ptr %113, i64 28 %199 = load i32, ptr %198, align 4, !tbaa !5 %200 = getelementptr inbounds i32, ptr %115, i64 28 store i32 %199, ptr %200, align 4, !tbaa !5 %201 = getelementptr inbounds i32, ptr %113, i64 29 %202 = load i32, ptr %201, align 4, !tbaa !5 %203 = getelementptr inbounds i32, ptr %115, i64 29 store i32 %202, ptr %203, align 4, !tbaa !5 %204 = getelementptr inbounds i32, ptr %113, i64 30 %205 = load i32, ptr %204, align 4, !tbaa !5 %206 = getelementptr inbounds i32, ptr %115, i64 30 store i32 %205, ptr %206, align 4, !tbaa !5 %207 = getelementptr inbounds i32, ptr %113, i64 31 %208 = load i32, ptr %207, align 4, !tbaa !5 %209 = getelementptr inbounds i32, ptr %115, i64 31 store i32 %208, ptr %209, align 4, !tbaa !5 br label %210 210: ; preds = %111, %107 %211 = load i32, ptr @GL_SCISSOR_BIT, align 4, !tbaa !5 %212 = and i32 %211, %2 %213 = icmp eq i32 %212, 0 br i1 %213, label %218, label %214 214: ; preds = %210 %215 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 4 %216 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4 %217 = tail call i32 @MEMCPY(ptr noundef nonnull %215, ptr noundef nonnull %216, i32 noundef 4) #2 br label %218 218: ; preds = %214, %210 %219 = load i32, ptr @GL_STENCIL_BUFFER_BIT, align 4, !tbaa !5 %220 = and i32 %219, %2 %221 = icmp eq i32 %220, 0 br i1 %221, label %226, label %222 222: ; preds = %218 %223 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 3 %224 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %225 = tail call i32 @MEMCPY(ptr noundef nonnull %223, ptr noundef nonnull %224, i32 noundef 4) #2 br label %226 226: ; preds = %222, %218 %227 = load i32, ptr @GL_TEXTURE_BIT, align 4, !tbaa !5 %228 = and i32 %227, %2 %229 = icmp eq i32 %228, 0 br i1 %229, label %234, label %230 230: ; preds = %226 %231 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 2 %232 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %233 = tail call i32 @MEMCPY(ptr noundef nonnull %231, ptr noundef nonnull %232, i32 noundef 4) #2 br label %234 234: ; preds = %230, %226 %235 = load i32, ptr @GL_TRANSFORM_BIT, align 4, !tbaa !5 %236 = and i32 %235, %2 %237 = icmp eq i32 %236, 0 br i1 %237, label %242, label %238 238: ; preds = %234 %239 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1 %240 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %241 = tail call i32 @MEMCPY(ptr noundef nonnull %239, ptr noundef nonnull %240, i32 noundef 4) #2 br label %242 242: ; preds = %238, %234 %243 = load i32, ptr @GL_VIEWPORT_BIT, align 4, !tbaa !5 %244 = and i32 %243, %2 %245 = icmp eq i32 %244, 0 br i1 %245, label %248, label %246 246: ; preds = %242 %247 = tail call i32 @MEMCPY(ptr noundef %1, ptr noundef %0, i32 noundef 4) #2 br label %248 248: ; preds = %246, %242 ret void } declare i32 @MEMCPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 24} !10 = !{!"TYPE_4__", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/opengl/mesa/extr_context.c_gl_copy_context.c' source_filename = "AnghaBench/reactos/dll/opengl/mesa/extr_context.c_gl_copy_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GL_ACCUM_BUFFER_BIT = common local_unnamed_addr global i32 0, align 4 @GL_COLOR_BUFFER_BIT = common local_unnamed_addr global i32 0, align 4 @GL_CURRENT_BIT = common local_unnamed_addr global i32 0, align 4 @GL_DEPTH_BUFFER_BIT = common local_unnamed_addr global i32 0, align 4 @GL_ENABLE_BIT = common local_unnamed_addr global i32 0, align 4 @GL_EVAL_BIT = common local_unnamed_addr global i32 0, align 4 @GL_FOG_BIT = common local_unnamed_addr global i32 0, align 4 @GL_HINT_BIT = common local_unnamed_addr global i32 0, align 4 @GL_LIGHTING_BIT = common local_unnamed_addr global i32 0, align 4 @GL_LINE_BIT = common local_unnamed_addr global i32 0, align 4 @GL_LIST_BIT = common local_unnamed_addr global i32 0, align 4 @GL_PIXEL_MODE_BIT = common local_unnamed_addr global i32 0, align 4 @GL_POINT_BIT = common local_unnamed_addr global i32 0, align 4 @GL_POLYGON_BIT = common local_unnamed_addr global i32 0, align 4 @GL_POLYGON_STIPPLE_BIT = common local_unnamed_addr global i32 0, align 4 @GL_SCISSOR_BIT = common local_unnamed_addr global i32 0, align 4 @GL_STENCIL_BUFFER_BIT = common local_unnamed_addr global i32 0, align 4 @GL_TEXTURE_BIT = common local_unnamed_addr global i32 0, align 4 @GL_TRANSFORM_BIT = common local_unnamed_addr global i32 0, align 4 @GL_VIEWPORT_BIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @gl_copy_context(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @GL_ACCUM_BUFFER_BIT, align 4, !tbaa !6 %5 = and i32 %4, %2 %6 = icmp eq i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %3 %8 = getelementptr inbounds i8, ptr %1, i64 80 %9 = getelementptr inbounds i8, ptr %0, i64 80 %10 = tail call i32 @MEMCPY(ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 4) #2 br label %11 11: ; preds = %7, %3 %12 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4, !tbaa !6 %13 = and i32 %12, %2 %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = getelementptr inbounds i8, ptr %1, i64 76 %17 = getelementptr inbounds i8, ptr %0, i64 76 %18 = tail call i32 @MEMCPY(ptr noundef nonnull %16, ptr noundef nonnull %17, i32 noundef 4) #2 br label %19 19: ; preds = %15, %11 %20 = load i32, ptr @GL_CURRENT_BIT, align 4, !tbaa !6 %21 = and i32 %20, %2 %22 = icmp eq i32 %21, 0 br i1 %22, label %27, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %1, i64 72 %25 = getelementptr inbounds i8, ptr %0, i64 72 %26 = tail call i32 @MEMCPY(ptr noundef nonnull %24, ptr noundef nonnull %25, i32 noundef 4) #2 br label %27 27: ; preds = %23, %19 %28 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4, !tbaa !6 %29 = and i32 %28, %2 %30 = icmp eq i32 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %27 %32 = getelementptr inbounds i8, ptr %1, i64 68 %33 = getelementptr inbounds i8, ptr %0, i64 68 %34 = tail call i32 @MEMCPY(ptr noundef nonnull %32, ptr noundef nonnull %33, i32 noundef 4) #2 br label %35 35: ; preds = %31, %27 %36 = load i32, ptr @GL_EVAL_BIT, align 4, !tbaa !6 %37 = and i32 %36, %2 %38 = icmp eq i32 %37, 0 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = getelementptr inbounds i8, ptr %1, i64 64 %41 = getelementptr inbounds i8, ptr %0, i64 64 %42 = tail call i32 @MEMCPY(ptr noundef nonnull %40, ptr noundef nonnull %41, i32 noundef 4) #2 br label %43 43: ; preds = %39, %35 %44 = load i32, ptr @GL_FOG_BIT, align 4, !tbaa !6 %45 = and i32 %44, %2 %46 = icmp eq i32 %45, 0 br i1 %46, label %51, label %47 47: ; preds = %43 %48 = getelementptr inbounds i8, ptr %1, i64 60 %49 = getelementptr inbounds i8, ptr %0, i64 60 %50 = tail call i32 @MEMCPY(ptr noundef nonnull %48, ptr noundef nonnull %49, i32 noundef 4) #2 br label %51 51: ; preds = %47, %43 %52 = load i32, ptr @GL_HINT_BIT, align 4, !tbaa !6 %53 = and i32 %52, %2 %54 = icmp eq i32 %53, 0 br i1 %54, label %59, label %55 55: ; preds = %51 %56 = getelementptr inbounds i8, ptr %1, i64 56 %57 = getelementptr inbounds i8, ptr %0, i64 56 %58 = tail call i32 @MEMCPY(ptr noundef nonnull %56, ptr noundef nonnull %57, i32 noundef 4) #2 br label %59 59: ; preds = %55, %51 %60 = load i32, ptr @GL_LIGHTING_BIT, align 4, !tbaa !6 %61 = and i32 %60, %2 %62 = icmp eq i32 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %59 %64 = getelementptr inbounds i8, ptr %1, i64 52 %65 = getelementptr inbounds i8, ptr %0, i64 52 %66 = tail call i32 @MEMCPY(ptr noundef nonnull %64, ptr noundef nonnull %65, i32 noundef 4) #2 br label %67 67: ; preds = %63, %59 %68 = load i32, ptr @GL_LINE_BIT, align 4, !tbaa !6 %69 = and i32 %68, %2 %70 = icmp eq i32 %69, 0 br i1 %70, label %75, label %71 71: ; preds = %67 %72 = getelementptr inbounds i8, ptr %1, i64 48 %73 = getelementptr inbounds i8, ptr %0, i64 48 %74 = tail call i32 @MEMCPY(ptr noundef nonnull %72, ptr noundef nonnull %73, i32 noundef 4) #2 br label %75 75: ; preds = %71, %67 %76 = load i32, ptr @GL_LIST_BIT, align 4, !tbaa !6 %77 = and i32 %76, %2 %78 = icmp eq i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %75 %80 = getelementptr inbounds i8, ptr %1, i64 44 %81 = getelementptr inbounds i8, ptr %0, i64 44 %82 = tail call i32 @MEMCPY(ptr noundef nonnull %80, ptr noundef nonnull %81, i32 noundef 4) #2 br label %83 83: ; preds = %79, %75 %84 = load i32, ptr @GL_PIXEL_MODE_BIT, align 4, !tbaa !6 %85 = and i32 %84, %2 %86 = icmp eq i32 %85, 0 br i1 %86, label %91, label %87 87: ; preds = %83 %88 = getelementptr inbounds i8, ptr %1, i64 40 %89 = getelementptr inbounds i8, ptr %0, i64 40 %90 = tail call i32 @MEMCPY(ptr noundef nonnull %88, ptr noundef nonnull %89, i32 noundef 4) #2 br label %91 91: ; preds = %87, %83 %92 = load i32, ptr @GL_POINT_BIT, align 4, !tbaa !6 %93 = and i32 %92, %2 %94 = icmp eq i32 %93, 0 br i1 %94, label %99, label %95 95: ; preds = %91 %96 = getelementptr inbounds i8, ptr %1, i64 36 %97 = getelementptr inbounds i8, ptr %0, i64 36 %98 = tail call i32 @MEMCPY(ptr noundef nonnull %96, ptr noundef nonnull %97, i32 noundef 4) #2 br label %99 99: ; preds = %95, %91 %100 = load i32, ptr @GL_POLYGON_BIT, align 4, !tbaa !6 %101 = and i32 %100, %2 %102 = icmp eq i32 %101, 0 br i1 %102, label %107, label %103 103: ; preds = %99 %104 = getelementptr inbounds i8, ptr %1, i64 32 %105 = getelementptr inbounds i8, ptr %0, i64 32 %106 = tail call i32 @MEMCPY(ptr noundef nonnull %104, ptr noundef nonnull %105, i32 noundef 4) #2 br label %107 107: ; preds = %103, %99 %108 = load i32, ptr @GL_POLYGON_STIPPLE_BIT, align 4, !tbaa !6 %109 = and i32 %108, %2 %110 = icmp eq i32 %109, 0 br i1 %110, label %210, label %111 111: ; preds = %107 %112 = getelementptr inbounds i8, ptr %0, i64 24 %113 = load ptr, ptr %112, align 8, !tbaa !10 %114 = getelementptr inbounds i8, ptr %1, i64 24 %115 = load ptr, ptr %114, align 8, !tbaa !10 %116 = load i32, ptr %113, align 4, !tbaa !6 store i32 %116, ptr %115, align 4, !tbaa !6 %117 = getelementptr inbounds i8, ptr %113, i64 4 %118 = load i32, ptr %117, align 4, !tbaa !6 %119 = getelementptr inbounds i8, ptr %115, i64 4 store i32 %118, ptr %119, align 4, !tbaa !6 %120 = getelementptr inbounds i8, ptr %113, i64 8 %121 = load i32, ptr %120, align 4, !tbaa !6 %122 = getelementptr inbounds i8, ptr %115, i64 8 store i32 %121, ptr %122, align 4, !tbaa !6 %123 = getelementptr inbounds i8, ptr %113, i64 12 %124 = load i32, ptr %123, align 4, !tbaa !6 %125 = getelementptr inbounds i8, ptr %115, i64 12 store i32 %124, ptr %125, align 4, !tbaa !6 %126 = getelementptr inbounds i8, ptr %113, i64 16 %127 = load i32, ptr %126, align 4, !tbaa !6 %128 = getelementptr inbounds i8, ptr %115, i64 16 store i32 %127, ptr %128, align 4, !tbaa !6 %129 = getelementptr inbounds i8, ptr %113, i64 20 %130 = load i32, ptr %129, align 4, !tbaa !6 %131 = getelementptr inbounds i8, ptr %115, i64 20 store i32 %130, ptr %131, align 4, !tbaa !6 %132 = getelementptr inbounds i8, ptr %113, i64 24 %133 = load i32, ptr %132, align 4, !tbaa !6 %134 = getelementptr inbounds i8, ptr %115, i64 24 store i32 %133, ptr %134, align 4, !tbaa !6 %135 = getelementptr inbounds i8, ptr %113, i64 28 %136 = load i32, ptr %135, align 4, !tbaa !6 %137 = getelementptr inbounds i8, ptr %115, i64 28 store i32 %136, ptr %137, align 4, !tbaa !6 %138 = getelementptr inbounds i8, ptr %113, i64 32 %139 = load i32, ptr %138, align 4, !tbaa !6 %140 = getelementptr inbounds i8, ptr %115, i64 32 store i32 %139, ptr %140, align 4, !tbaa !6 %141 = getelementptr inbounds i8, ptr %113, i64 36 %142 = load i32, ptr %141, align 4, !tbaa !6 %143 = getelementptr inbounds i8, ptr %115, i64 36 store i32 %142, ptr %143, align 4, !tbaa !6 %144 = getelementptr inbounds i8, ptr %113, i64 40 %145 = load i32, ptr %144, align 4, !tbaa !6 %146 = getelementptr inbounds i8, ptr %115, i64 40 store i32 %145, ptr %146, align 4, !tbaa !6 %147 = getelementptr inbounds i8, ptr %113, i64 44 %148 = load i32, ptr %147, align 4, !tbaa !6 %149 = getelementptr inbounds i8, ptr %115, i64 44 store i32 %148, ptr %149, align 4, !tbaa !6 %150 = getelementptr inbounds i8, ptr %113, i64 48 %151 = load i32, ptr %150, align 4, !tbaa !6 %152 = getelementptr inbounds i8, ptr %115, i64 48 store i32 %151, ptr %152, align 4, !tbaa !6 %153 = getelementptr inbounds i8, ptr %113, i64 52 %154 = load i32, ptr %153, align 4, !tbaa !6 %155 = getelementptr inbounds i8, ptr %115, i64 52 store i32 %154, ptr %155, align 4, !tbaa !6 %156 = getelementptr inbounds i8, ptr %113, i64 56 %157 = load i32, ptr %156, align 4, !tbaa !6 %158 = getelementptr inbounds i8, ptr %115, i64 56 store i32 %157, ptr %158, align 4, !tbaa !6 %159 = getelementptr inbounds i8, ptr %113, i64 60 %160 = load i32, ptr %159, align 4, !tbaa !6 %161 = getelementptr inbounds i8, ptr %115, i64 60 store i32 %160, ptr %161, align 4, !tbaa !6 %162 = getelementptr inbounds i8, ptr %113, i64 64 %163 = load i32, ptr %162, align 4, !tbaa !6 %164 = getelementptr inbounds i8, ptr %115, i64 64 store i32 %163, ptr %164, align 4, !tbaa !6 %165 = getelementptr inbounds i8, ptr %113, i64 68 %166 = load i32, ptr %165, align 4, !tbaa !6 %167 = getelementptr inbounds i8, ptr %115, i64 68 store i32 %166, ptr %167, align 4, !tbaa !6 %168 = getelementptr inbounds i8, ptr %113, i64 72 %169 = load i32, ptr %168, align 4, !tbaa !6 %170 = getelementptr inbounds i8, ptr %115, i64 72 store i32 %169, ptr %170, align 4, !tbaa !6 %171 = getelementptr inbounds i8, ptr %113, i64 76 %172 = load i32, ptr %171, align 4, !tbaa !6 %173 = getelementptr inbounds i8, ptr %115, i64 76 store i32 %172, ptr %173, align 4, !tbaa !6 %174 = getelementptr inbounds i8, ptr %113, i64 80 %175 = load i32, ptr %174, align 4, !tbaa !6 %176 = getelementptr inbounds i8, ptr %115, i64 80 store i32 %175, ptr %176, align 4, !tbaa !6 %177 = getelementptr inbounds i8, ptr %113, i64 84 %178 = load i32, ptr %177, align 4, !tbaa !6 %179 = getelementptr inbounds i8, ptr %115, i64 84 store i32 %178, ptr %179, align 4, !tbaa !6 %180 = getelementptr inbounds i8, ptr %113, i64 88 %181 = load i32, ptr %180, align 4, !tbaa !6 %182 = getelementptr inbounds i8, ptr %115, i64 88 store i32 %181, ptr %182, align 4, !tbaa !6 %183 = getelementptr inbounds i8, ptr %113, i64 92 %184 = load i32, ptr %183, align 4, !tbaa !6 %185 = getelementptr inbounds i8, ptr %115, i64 92 store i32 %184, ptr %185, align 4, !tbaa !6 %186 = getelementptr inbounds i8, ptr %113, i64 96 %187 = load i32, ptr %186, align 4, !tbaa !6 %188 = getelementptr inbounds i8, ptr %115, i64 96 store i32 %187, ptr %188, align 4, !tbaa !6 %189 = getelementptr inbounds i8, ptr %113, i64 100 %190 = load i32, ptr %189, align 4, !tbaa !6 %191 = getelementptr inbounds i8, ptr %115, i64 100 store i32 %190, ptr %191, align 4, !tbaa !6 %192 = getelementptr inbounds i8, ptr %113, i64 104 %193 = load i32, ptr %192, align 4, !tbaa !6 %194 = getelementptr inbounds i8, ptr %115, i64 104 store i32 %193, ptr %194, align 4, !tbaa !6 %195 = getelementptr inbounds i8, ptr %113, i64 108 %196 = load i32, ptr %195, align 4, !tbaa !6 %197 = getelementptr inbounds i8, ptr %115, i64 108 store i32 %196, ptr %197, align 4, !tbaa !6 %198 = getelementptr inbounds i8, ptr %113, i64 112 %199 = load i32, ptr %198, align 4, !tbaa !6 %200 = getelementptr inbounds i8, ptr %115, i64 112 store i32 %199, ptr %200, align 4, !tbaa !6 %201 = getelementptr inbounds i8, ptr %113, i64 116 %202 = load i32, ptr %201, align 4, !tbaa !6 %203 = getelementptr inbounds i8, ptr %115, i64 116 store i32 %202, ptr %203, align 4, !tbaa !6 %204 = getelementptr inbounds i8, ptr %113, i64 120 %205 = load i32, ptr %204, align 4, !tbaa !6 %206 = getelementptr inbounds i8, ptr %115, i64 120 store i32 %205, ptr %206, align 4, !tbaa !6 %207 = getelementptr inbounds i8, ptr %113, i64 124 %208 = load i32, ptr %207, align 4, !tbaa !6 %209 = getelementptr inbounds i8, ptr %115, i64 124 store i32 %208, ptr %209, align 4, !tbaa !6 br label %210 210: ; preds = %111, %107 %211 = load i32, ptr @GL_SCISSOR_BIT, align 4, !tbaa !6 %212 = and i32 %211, %2 %213 = icmp eq i32 %212, 0 br i1 %213, label %218, label %214 214: ; preds = %210 %215 = getelementptr inbounds i8, ptr %1, i64 16 %216 = getelementptr inbounds i8, ptr %0, i64 16 %217 = tail call i32 @MEMCPY(ptr noundef nonnull %215, ptr noundef nonnull %216, i32 noundef 4) #2 br label %218 218: ; preds = %214, %210 %219 = load i32, ptr @GL_STENCIL_BUFFER_BIT, align 4, !tbaa !6 %220 = and i32 %219, %2 %221 = icmp eq i32 %220, 0 br i1 %221, label %226, label %222 222: ; preds = %218 %223 = getelementptr inbounds i8, ptr %1, i64 12 %224 = getelementptr inbounds i8, ptr %0, i64 12 %225 = tail call i32 @MEMCPY(ptr noundef nonnull %223, ptr noundef nonnull %224, i32 noundef 4) #2 br label %226 226: ; preds = %222, %218 %227 = load i32, ptr @GL_TEXTURE_BIT, align 4, !tbaa !6 %228 = and i32 %227, %2 %229 = icmp eq i32 %228, 0 br i1 %229, label %234, label %230 230: ; preds = %226 %231 = getelementptr inbounds i8, ptr %1, i64 8 %232 = getelementptr inbounds i8, ptr %0, i64 8 %233 = tail call i32 @MEMCPY(ptr noundef nonnull %231, ptr noundef nonnull %232, i32 noundef 4) #2 br label %234 234: ; preds = %230, %226 %235 = load i32, ptr @GL_TRANSFORM_BIT, align 4, !tbaa !6 %236 = and i32 %235, %2 %237 = icmp eq i32 %236, 0 br i1 %237, label %242, label %238 238: ; preds = %234 %239 = getelementptr inbounds i8, ptr %1, i64 4 %240 = getelementptr inbounds i8, ptr %0, i64 4 %241 = tail call i32 @MEMCPY(ptr noundef nonnull %239, ptr noundef nonnull %240, i32 noundef 4) #2 br label %242 242: ; preds = %238, %234 %243 = load i32, ptr @GL_VIEWPORT_BIT, align 4, !tbaa !6 %244 = and i32 %243, %2 %245 = icmp eq i32 %244, 0 br i1 %245, label %248, label %246 246: ; preds = %242 %247 = tail call i32 @MEMCPY(ptr noundef %1, ptr noundef %0, i32 noundef 4) #2 br label %248 248: ; preds = %246, %242 ret void } declare i32 @MEMCPY(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 24} !11 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80} !12 = !{!"any pointer", !8, i64 0}
reactos_dll_opengl_mesa_extr_context.c_gl_copy_context
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powernv/extr_opal_console.c_opalcons_probe.c' source_filename = "AnghaBench/freebsd/sys/powerpc/powernv/extr_opal_console.c_opalcons_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"consoles\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"OPAL Consoles\00", align 1 @BUS_PROBE_SPECIFIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @opalcons_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @opalcons_probe(i32 noundef %0) #0 { %2 = tail call ptr @ofw_bus_get_name(i32 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = tail call i64 @strcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %9 9: ; preds = %1, %4, %7 %10 = phi ptr [ @BUS_PROBE_SPECIFIC, %7 ], [ @ENXIO, %4 ], [ @ENXIO, %1 ] %11 = load i32, ptr %10, align 4, !tbaa !5 ret i32 %11 } declare ptr @ofw_bus_get_name(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powernv/extr_opal_console.c_opalcons_probe.c' source_filename = "AnghaBench/freebsd/sys/powerpc/powernv/extr_opal_console.c_opalcons_probe.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 [9 x i8] c"consoles\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"OPAL Consoles\00", align 1 @BUS_PROBE_SPECIFIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @opalcons_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @opalcons_probe(i32 noundef %0) #0 { %2 = tail call ptr @ofw_bus_get_name(i32 noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = tail call i64 @strcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str.1) #2 br label %9 9: ; preds = %1, %4, %7 %10 = phi ptr [ @BUS_PROBE_SPECIFIC, %7 ], [ @ENXIO, %4 ], [ @ENXIO, %1 ] %11 = load i32, ptr %10, align 4, !tbaa !6 ret i32 %11 } declare ptr @ofw_bus_get_name(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @device_set_desc(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_powerpc_powernv_extr_opal_console.c_opalcons_probe
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_atomic.c_drm_atomic_connector_check.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_atomic.c_drm_atomic_connector_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_connector_state = type { i32, ptr, ptr, i32, i32 } %struct.drm_connector = type { i64, i32, %struct.TYPE_5__, i64, %struct.drm_display_info } %struct.TYPE_5__ = type { i32 } %struct.drm_display_info = type { i32 } %struct.drm_writeback_job = type { i64, i64 } @DRM_MODE_CONNECTOR_WRITEBACK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [44 x i8] c"[CONNECTOR:%d:%s] framebuffer without CRTC\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [57 x i8] c"[CONNECTOR:%d:%s] has framebuffer, but [CRTC:%d] is off\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c"[CONNECTOR:%d:%s] requesting out-fence without framebuffer\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @drm_atomic_connector_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @drm_atomic_connector_check(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.drm_connector_state, ptr %1, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i32 8, i32 %6 store i32 %8, ptr %1, align 8, !tbaa !13 %9 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 3 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = getelementptr inbounds %struct.drm_connector_state, ptr %1, i64 0, i32 4 %14 = load i32, ptr %13, align 4, !tbaa !18 %15 = tail call i32 @min(i32 noundef %8, i32 noundef %14) #2 store i32 %15, ptr %1, align 8, !tbaa !13 br label %16 16: ; preds = %12, %2 %17 = load i64, ptr %0, align 8, !tbaa !19 %18 = load i64, ptr @DRM_MODE_CONNECTOR_WRITEBACK, align 8, !tbaa !20 %19 = icmp eq i64 %17, %18 %20 = icmp ne ptr %4, null %21 = select i1 %19, i1 %20, i1 false br i1 %21, label %22, label %72 22: ; preds = %16 %23 = getelementptr inbounds %struct.drm_writeback_job, ptr %4, i64 0, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !21 %25 = icmp eq i64 %24, 0 %26 = getelementptr inbounds %struct.drm_connector_state, ptr %1, i64 0, i32 2 %27 = load ptr, ptr %26, align 8, !tbaa !23 %28 = icmp eq ptr %27, null br i1 %25, label %38, label %29 29: ; preds = %22 br i1 %28, label %30, label %39 30: ; preds = %29 %31 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 2 %32 = load i32, ptr %31, align 4, !tbaa !24 %33 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 1 %34 = load i32, ptr %33, align 8, !tbaa !25 %35 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str, i32 noundef %32, i32 noundef %34) #2 %36 = load i32, ptr @EINVAL, align 4, !tbaa !26 %37 = sub nsw i32 0, %36 br label %72 38: ; preds = %22 br i1 %28, label %59, label %39 39: ; preds = %29, %38 %40 = getelementptr inbounds %struct.drm_connector_state, ptr %1, i64 0, i32 2 %41 = getelementptr inbounds %struct.drm_connector_state, ptr %1, i64 0, i32 3 %42 = load i32, ptr %41, align 8, !tbaa !27 %43 = tail call ptr @drm_atomic_get_existing_crtc_state(i32 noundef %42, ptr noundef nonnull %27) #2 %44 = load i64, ptr %23, align 8, !tbaa !21 %45 = icmp eq i64 %44, 0 br i1 %45, label %59, label %46 46: ; preds = %39 %47 = load i32, ptr %43, align 4, !tbaa !28 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %72 49: ; preds = %46 %50 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 2 %51 = load i32, ptr %50, align 4, !tbaa !24 %52 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 1 %53 = load i32, ptr %52, align 8, !tbaa !25 %54 = load ptr, ptr %40, align 8, !tbaa !23 %55 = load i32, ptr %54, align 4, !tbaa !30 %56 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str.1, i32 noundef %51, i32 noundef %53, i32 noundef %55) #2 %57 = load i32, ptr @EINVAL, align 4, !tbaa !26 %58 = sub nsw i32 0, %57 br label %72 59: ; preds = %38, %39 %60 = load i64, ptr %4, align 8, !tbaa !33 %61 = icmp eq i64 %60, 0 br i1 %61, label %70, label %62 62: ; preds = %59 %63 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 2 %64 = load i32, ptr %63, align 4, !tbaa !24 %65 = getelementptr inbounds %struct.drm_connector, ptr %0, i64 0, i32 1 %66 = load i32, ptr %65, align 8, !tbaa !25 %67 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str.2, i32 noundef %64, i32 noundef %66) #2 %68 = load i32, ptr @EINVAL, align 4, !tbaa !26 %69 = sub nsw i32 0, %68 br label %72 70: ; preds = %59 %71 = tail call i32 @drm_writeback_cleanup_job(ptr noundef nonnull %4) #2 store ptr null, ptr %3, align 8, !tbaa !5 br label %72 72: ; preds = %46, %70, %16, %62, %49, %30 %73 = phi i32 [ %69, %62 ], [ %58, %49 ], [ %37, %30 ], [ 0, %16 ], [ 0, %70 ], [ 0, %46 ] ret i32 %73 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_ATOMIC(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare ptr @drm_atomic_get_existing_crtc_state(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_writeback_cleanup_job(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"drm_connector_state", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"drm_display_info", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !16, i64 16} !15 = !{!"drm_connector", !16, i64 0, !7, i64 8, !17, i64 12, !16, i64 16, !12, i64 24} !16 = !{!"long", !8, i64 0} !17 = !{!"TYPE_5__", !7, i64 0} !18 = !{!6, !7, i64 28} !19 = !{!15, !16, i64 0} !20 = !{!16, !16, i64 0} !21 = !{!22, !16, i64 8} !22 = !{!"drm_writeback_job", !16, i64 0, !16, i64 8} !23 = !{!6, !10, i64 16} !24 = !{!15, !7, i64 12} !25 = !{!15, !7, i64 8} !26 = !{!7, !7, i64 0} !27 = !{!6, !7, i64 24} !28 = !{!29, !7, i64 0} !29 = !{!"drm_crtc_state", !7, i64 0} !30 = !{!31, !7, i64 0} !31 = !{!"TYPE_6__", !32, i64 0} !32 = !{!"TYPE_4__", !7, i64 0} !33 = !{!22, !16, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/extr_drm_atomic.c_drm_atomic_connector_check.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/extr_drm_atomic.c_drm_atomic_connector_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DRM_MODE_CONNECTOR_WRITEBACK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [44 x i8] c"[CONNECTOR:%d:%s] framebuffer without CRTC\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [57 x i8] c"[CONNECTOR:%d:%s] has framebuffer, but [CRTC:%d] is off\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c"[CONNECTOR:%d:%s] requesting out-fence without framebuffer\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @drm_atomic_connector_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @drm_atomic_connector_check(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 24 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i32 8, i32 %6 store i32 %8, ptr %1, align 8, !tbaa !14 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !15 %11 = icmp eq i64 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %1, i64 28 %14 = load i32, ptr %13, align 4, !tbaa !19 %15 = tail call i32 @min(i32 noundef %8, i32 noundef %14) #2 store i32 %15, ptr %1, align 8, !tbaa !14 br label %16 16: ; preds = %12, %2 %17 = load i64, ptr %0, align 8, !tbaa !20 %18 = load i64, ptr @DRM_MODE_CONNECTOR_WRITEBACK, align 8, !tbaa !21 %19 = icmp eq i64 %17, %18 %20 = icmp ne ptr %4, null %21 = select i1 %19, i1 %20, i1 false br i1 %21, label %22, label %71 22: ; preds = %16 %23 = getelementptr inbounds i8, ptr %4, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !22 %25 = icmp eq i64 %24, 0 %26 = getelementptr inbounds i8, ptr %1, i64 16 %27 = load ptr, ptr %26, align 8, !tbaa !24 %28 = icmp eq ptr %27, null br i1 %25, label %38, label %29 29: ; preds = %22 br i1 %28, label %30, label %39 30: ; preds = %29 %31 = getelementptr inbounds i8, ptr %0, i64 12 %32 = load i32, ptr %31, align 4, !tbaa !25 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load i32, ptr %33, align 8, !tbaa !26 %35 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str, i32 noundef %32, i32 noundef %34) #2 %36 = load i32, ptr @EINVAL, align 4, !tbaa !27 %37 = sub nsw i32 0, %36 br label %71 38: ; preds = %22 br i1 %28, label %58, label %39 39: ; preds = %29, %38 %40 = getelementptr inbounds i8, ptr %1, i64 24 %41 = load i32, ptr %40, align 8, !tbaa !28 %42 = tail call ptr @drm_atomic_get_existing_crtc_state(i32 noundef %41, ptr noundef nonnull %27) #2 %43 = load i64, ptr %23, align 8, !tbaa !22 %44 = icmp eq i64 %43, 0 br i1 %44, label %58, label %45 45: ; preds = %39 %46 = load i32, ptr %42, align 4, !tbaa !29 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %71 48: ; preds = %45 %49 = getelementptr inbounds i8, ptr %0, i64 12 %50 = load i32, ptr %49, align 4, !tbaa !25 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load i32, ptr %51, align 8, !tbaa !26 %53 = load ptr, ptr %26, align 8, !tbaa !24 %54 = load i32, ptr %53, align 4, !tbaa !31 %55 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str.1, i32 noundef %50, i32 noundef %52, i32 noundef %54) #2 %56 = load i32, ptr @EINVAL, align 4, !tbaa !27 %57 = sub nsw i32 0, %56 br label %71 58: ; preds = %38, %39 %59 = load i64, ptr %4, align 8, !tbaa !34 %60 = icmp eq i64 %59, 0 br i1 %60, label %69, label %61 61: ; preds = %58 %62 = getelementptr inbounds i8, ptr %0, i64 12 %63 = load i32, ptr %62, align 4, !tbaa !25 %64 = getelementptr inbounds i8, ptr %0, i64 8 %65 = load i32, ptr %64, align 8, !tbaa !26 %66 = tail call i32 (ptr, i32, i32, ...) @DRM_DEBUG_ATOMIC(ptr noundef nonnull @.str.2, i32 noundef %63, i32 noundef %65) #2 %67 = load i32, ptr @EINVAL, align 4, !tbaa !27 %68 = sub nsw i32 0, %67 br label %71 69: ; preds = %58 %70 = tail call i32 @drm_writeback_cleanup_job(ptr noundef nonnull %4) #2 store ptr null, ptr %3, align 8, !tbaa !6 br label %71 71: ; preds = %45, %69, %16, %61, %48, %30 %72 = phi i32 [ %68, %61 ], [ %57, %48 ], [ %37, %30 ], [ 0, %16 ], [ 0, %69 ], [ 0, %45 ] ret i32 %72 } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DRM_DEBUG_ATOMIC(ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare ptr @drm_atomic_get_existing_crtc_state(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_writeback_cleanup_job(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"drm_connector_state", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"drm_display_info", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !17, i64 16} !16 = !{!"drm_connector", !17, i64 0, !8, i64 8, !18, i64 12, !17, i64 16, !13, i64 24} !17 = !{!"long", !9, i64 0} !18 = !{!"TYPE_5__", !8, i64 0} !19 = !{!7, !8, i64 28} !20 = !{!16, !17, i64 0} !21 = !{!17, !17, i64 0} !22 = !{!23, !17, i64 8} !23 = !{!"drm_writeback_job", !17, i64 0, !17, i64 8} !24 = !{!7, !11, i64 16} !25 = !{!16, !8, i64 12} !26 = !{!16, !8, i64 8} !27 = !{!8, !8, i64 0} !28 = !{!7, !8, i64 24} !29 = !{!30, !8, i64 0} !30 = !{!"drm_crtc_state", !8, i64 0} !31 = !{!32, !8, i64 0} !32 = !{!"TYPE_6__", !33, i64 0} !33 = !{!"TYPE_4__", !8, i64 0} !34 = !{!23, !17, i64 0}
linux_drivers_gpu_drm_extr_drm_atomic.c_drm_atomic_connector_check
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new_ex.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new_ex.c" target datalayout = "e-m:e-p270:32:32-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_35__ = type { i32, %struct.TYPE_32__, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, i64 } %struct.TYPE_32__ = type { ptr } %struct.TYPE_34__ = type { i32, i32, i32 } %struct.TYPE_33__ = type { i32, ptr } @spl_ptr_llist_zval_ctor = dso_local local_unnamed_addr global i32 0, align 4 @spl_ptr_llist_zval_dtor = dso_local local_unnamed_addr global i32 0, align 4 @spl_ce_SplStack = dso_local local_unnamed_addr global ptr null, align 8 @SPL_DLLIST_IT_FIX = dso_local local_unnamed_addr global i32 0, align 4 @SPL_DLLIST_IT_LIFO = dso_local local_unnamed_addr global i32 0, align 4 @spl_handler_SplDoublyLinkedList = dso_local global i32 0, align 4 @spl_ce_SplQueue = dso_local local_unnamed_addr global ptr null, align 8 @spl_ce_SplDoublyLinkedList = dso_local local_unnamed_addr global ptr null, align 8 @E_COMPILE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"Internal compiler error, Class is not child of SplDoublyLinkedList\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"offsetget\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"offsetset\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"offsetexists\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"offsetunset\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"count\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @spl_dllist_object_new_ex], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @spl_dllist_object_new_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @zend_object_alloc(i32 noundef 88, ptr noundef %0) #2 %5 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 1 %6 = tail call i32 @zend_object_std_init(ptr noundef nonnull %5, ptr noundef %0) #2 %7 = tail call i32 @object_properties_init(ptr noundef nonnull %5, ptr noundef %0) #2 store i32 0, ptr %4, align 8, !tbaa !5 %8 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 10 store i64 0, ptr %8, align 8, !tbaa !13 %9 = icmp eq ptr %1, null br i1 %9, label %37, label %10 10: ; preds = %3 %11 = tail call ptr @spl_dllist_from_obj(ptr noundef nonnull %1) #2 %12 = getelementptr inbounds %struct.TYPE_35__, ptr %11, i64 0, i32 9 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 9 store i32 %13, ptr %14, align 8, !tbaa !14 %15 = icmp eq i32 %2, 0 %16 = getelementptr inbounds %struct.TYPE_35__, ptr %11, i64 0, i32 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 br i1 %15, label %29, label %18 18: ; preds = %10 %19 = getelementptr inbounds %struct.TYPE_34__, ptr %17, i64 0, i32 2 %20 = load i32, ptr %19, align 4, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_34__, ptr %17, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !18 %23 = tail call i64 @spl_ptr_llist_init(i32 noundef %20, i32 noundef %22) #2 %24 = inttoptr i64 %23 to ptr %25 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 8 store ptr %24, ptr %25, align 8, !tbaa !15 %26 = load ptr, ptr %16, align 8, !tbaa !15 %27 = tail call i32 @spl_ptr_llist_copy(ptr noundef %26, ptr noundef %24) #2 %28 = load ptr, ptr %25, align 8, !tbaa !15 br label %31 29: ; preds = %10 %30 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 8 store ptr %17, ptr %30, align 8, !tbaa !15 br label %31 31: ; preds = %29, %18 %32 = phi ptr [ %17, %29 ], [ %28, %18 ] %33 = load i32, ptr %32, align 4, !tbaa !19 %34 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 7 store i32 %33, ptr %34, align 8, !tbaa !20 %35 = tail call i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef %33) #2 %36 = load i32, ptr %11, align 8, !tbaa !5 store i32 %36, ptr %4, align 8, !tbaa !5 br label %46 37: ; preds = %3 %38 = load i32, ptr @spl_ptr_llist_zval_ctor, align 4, !tbaa !21 %39 = load i32, ptr @spl_ptr_llist_zval_dtor, align 4, !tbaa !21 %40 = tail call i64 @spl_ptr_llist_init(i32 noundef %38, i32 noundef %39) #2 %41 = inttoptr i64 %40 to ptr %42 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 8 store ptr %41, ptr %42, align 8, !tbaa !15 %43 = load i32, ptr %41, align 4, !tbaa !19 %44 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 7 store i32 %43, ptr %44, align 8, !tbaa !20 %45 = tail call i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef %43) #2 br label %46 46: ; preds = %37, %31 %47 = icmp eq ptr %0, null br i1 %47, label %48, label %51 48: ; preds = %46 %49 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !21 %50 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %49, ptr noundef nonnull @.str) #2 br label %132 51: ; preds = %46 %52 = load ptr, ptr @spl_ce_SplStack, align 8, !tbaa !22 %53 = load ptr, ptr @spl_ce_SplQueue, align 8 %54 = load ptr, ptr @spl_ce_SplDoublyLinkedList, align 8, !tbaa !22 %55 = icmp eq ptr %52, %0 br i1 %55, label %60, label %56 56: ; preds = %51 %57 = icmp eq ptr %53, %0 br i1 %57, label %58, label %69 58: ; preds = %56 %59 = load i32, ptr %4, align 8, !tbaa !5 br label %64 60: ; preds = %51 %61 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !21 %62 = load i32, ptr @SPL_DLLIST_IT_LIFO, align 4, !tbaa !21 %63 = or i32 %62, %61 br label %64 64: ; preds = %58, %60 %65 = phi ptr [ %4, %60 ], [ @SPL_DLLIST_IT_FIX, %58 ] %66 = phi i32 [ %63, %60 ], [ %59, %58 ] %67 = load i32, ptr %65, align 4, !tbaa !21 %68 = or i32 %66, %67 store i32 %68, ptr %4, align 8, !tbaa !5 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !23 br label %69 69: ; preds = %64, %56 %70 = icmp eq ptr %54, %0 br i1 %70, label %71, label %72 71: ; preds = %69 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !23 br label %132 72: ; preds = %69 %73 = getelementptr inbounds %struct.TYPE_33__, ptr %0, i64 0, i32 1 %74 = load ptr, ptr %73, align 8, !tbaa !24 %75 = icmp eq ptr %74, null br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !21 %78 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %77, ptr noundef nonnull @.str) #2 br label %105 79: ; preds = %72, %98 %80 = phi ptr [ %100, %98 ], [ %74, %72 ] %81 = icmp eq ptr %80, %52 br i1 %81, label %82, label %86 82: ; preds = %79 %83 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !21 %84 = load i32, ptr @SPL_DLLIST_IT_LIFO, align 4, !tbaa !21 %85 = or i32 %84, %83 br label %90 86: ; preds = %79 %87 = icmp eq ptr %80, %53 br i1 %87, label %88, label %95 88: ; preds = %86 %89 = load i32, ptr %4, align 8, !tbaa !5 br label %90 90: ; preds = %82, %88 %91 = phi ptr [ @SPL_DLLIST_IT_FIX, %88 ], [ %4, %82 ] %92 = phi i32 [ %89, %88 ], [ %85, %82 ] %93 = load i32, ptr %91, align 4, !tbaa !21 %94 = or i32 %92, %93 store i32 %94, ptr %4, align 8, !tbaa !5 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !23 br label %95 95: ; preds = %90, %86 %96 = icmp eq ptr %80, %54 br i1 %96, label %97, label %98 97: ; preds = %95 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !23 br i1 %70, label %132, label %105 98: ; preds = %95 %99 = getelementptr inbounds %struct.TYPE_33__, ptr %80, i64 0, i32 1 %100 = load ptr, ptr %99, align 8, !tbaa !24 %101 = icmp eq ptr %100, null br i1 %101, label %102, label %79, !llvm.loop !26 102: ; preds = %98 %103 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !21 %104 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %103, ptr noundef nonnull @.str) #2 br i1 %47, label %132, label %105 105: ; preds = %76, %97, %102 %106 = phi ptr [ %54, %97 ], [ null, %102 ], [ null, %76 ] %107 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef 9) #2 %108 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 6 %109 = load ptr, ptr %107, align 8, !tbaa !29 %110 = icmp eq ptr %109, %106 %111 = select i1 %110, ptr null, ptr %107 store ptr %111, ptr %108, align 8 %112 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef 9) #2 %113 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 5 %114 = load ptr, ptr %112, align 8, !tbaa !32 %115 = icmp eq ptr %114, %106 %116 = select i1 %115, ptr null, ptr %112 store ptr %116, ptr %113, align 8 %117 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef 12) #2 %118 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 4 %119 = load ptr, ptr %117, align 8, !tbaa !35 %120 = icmp eq ptr %119, %106 %121 = select i1 %120, ptr null, ptr %117 store ptr %121, ptr %118, align 8 %122 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef 11) #2 %123 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 3 %124 = load ptr, ptr %122, align 8, !tbaa !38 %125 = icmp eq ptr %124, %106 %126 = select i1 %125, ptr null, ptr %122 store ptr %126, ptr %123, align 8 %127 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef 5) #2 %128 = getelementptr inbounds %struct.TYPE_35__, ptr %4, i64 0, i32 2 %129 = load ptr, ptr %127, align 8, !tbaa !41 %130 = icmp eq ptr %129, %106 %131 = select i1 %130, ptr null, ptr %127 store ptr %131, ptr %128, align 8 br label %132 132: ; preds = %71, %48, %97, %105, %102 ret ptr %5 } declare ptr @zend_object_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_object_std_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @object_properties_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @spl_dllist_from_obj(ptr noundef) local_unnamed_addr #1 declare i64 @spl_ptr_llist_init(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spl_ptr_llist_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef) local_unnamed_addr #1 declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @zend_hash_str_find_ptr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_35__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !7, i64 56, !11, i64 64, !7, i64 72, !12, i64 80} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_32__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !12, i64 80} !14 = !{!6, !7, i64 72} !15 = !{!6, !11, i64 64} !16 = !{!17, !7, i64 8} !17 = !{!"TYPE_34__", !7, i64 0, !7, i64 4, !7, i64 8} !18 = !{!17, !7, i64 4} !19 = !{!17, !7, i64 0} !20 = !{!6, !7, i64 56} !21 = !{!7, !7, i64 0} !22 = !{!11, !11, i64 0} !23 = !{!6, !11, i64 8} !24 = !{!25, !11, i64 8} !25 = !{!"TYPE_33__", !7, i64 0, !11, i64 8} !26 = distinct !{!26, !27, !28} !27 = !{!"llvm.loop.mustprogress"} !28 = !{!"llvm.loop.peeled.count", i32 1} !29 = !{!30, !11, i64 0} !30 = !{!"TYPE_37__", !31, i64 0} !31 = !{!"TYPE_36__", !11, i64 0} !32 = !{!33, !11, i64 0} !33 = !{!"TYPE_39__", !34, i64 0} !34 = !{!"TYPE_38__", !11, i64 0} !35 = !{!36, !11, i64 0} !36 = !{!"TYPE_41__", !37, i64 0} !37 = !{!"TYPE_40__", !11, i64 0} !38 = !{!39, !11, i64 0} !39 = !{!"TYPE_43__", !40, i64 0} !40 = !{!"TYPE_42__", !11, i64 0} !41 = !{!42, !11, i64 0} !42 = !{!"TYPE_31__", !43, i64 0} !43 = !{!"TYPE_44__", !11, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new_ex.c' source_filename = "AnghaBench/php-src/ext/spl/extr_spl_dllist.c_spl_dllist_object_new_ex.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @spl_ptr_llist_zval_ctor = common local_unnamed_addr global i32 0, align 4 @spl_ptr_llist_zval_dtor = common local_unnamed_addr global i32 0, align 4 @spl_ce_SplStack = common local_unnamed_addr global ptr null, align 8 @SPL_DLLIST_IT_FIX = common local_unnamed_addr global i32 0, align 4 @SPL_DLLIST_IT_LIFO = common local_unnamed_addr global i32 0, align 4 @spl_handler_SplDoublyLinkedList = common global i32 0, align 4 @spl_ce_SplQueue = common local_unnamed_addr global ptr null, align 8 @spl_ce_SplDoublyLinkedList = common local_unnamed_addr global ptr null, align 8 @E_COMPILE_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [67 x i8] c"Internal compiler error, Class is not child of SplDoublyLinkedList\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"offsetget\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"offsetset\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"offsetexists\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"offsetunset\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"count\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @spl_dllist_object_new_ex], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @spl_dllist_object_new_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @zend_object_alloc(i32 noundef 88, ptr noundef %0) #2 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = tail call i32 @zend_object_std_init(ptr noundef nonnull %5, ptr noundef %0) #2 %7 = tail call i32 @object_properties_init(ptr noundef nonnull %5, ptr noundef %0) #2 store i32 0, ptr %4, align 8, !tbaa !6 %8 = getelementptr inbounds i8, ptr %4, i64 80 store i64 0, ptr %8, align 8, !tbaa !14 %9 = icmp eq ptr %1, null br i1 %9, label %37, label %10 10: ; preds = %3 %11 = tail call ptr @spl_dllist_from_obj(ptr noundef nonnull %1) #2 %12 = getelementptr inbounds i8, ptr %11, i64 72 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds i8, ptr %4, i64 72 store i32 %13, ptr %14, align 8, !tbaa !15 %15 = icmp eq i32 %2, 0 %16 = getelementptr inbounds i8, ptr %11, i64 64 %17 = load ptr, ptr %16, align 8, !tbaa !16 br i1 %15, label %29, label %18 18: ; preds = %10 %19 = getelementptr inbounds i8, ptr %17, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !17 %21 = getelementptr inbounds i8, ptr %17, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !19 %23 = tail call i64 @spl_ptr_llist_init(i32 noundef %20, i32 noundef %22) #2 %24 = inttoptr i64 %23 to ptr %25 = getelementptr inbounds i8, ptr %4, i64 64 store ptr %24, ptr %25, align 8, !tbaa !16 %26 = load ptr, ptr %16, align 8, !tbaa !16 %27 = tail call i32 @spl_ptr_llist_copy(ptr noundef %26, ptr noundef %24) #2 %28 = load ptr, ptr %25, align 8, !tbaa !16 br label %31 29: ; preds = %10 %30 = getelementptr inbounds i8, ptr %4, i64 64 store ptr %17, ptr %30, align 8, !tbaa !16 br label %31 31: ; preds = %29, %18 %32 = phi ptr [ %17, %29 ], [ %28, %18 ] %33 = load i32, ptr %32, align 4, !tbaa !20 %34 = getelementptr inbounds i8, ptr %4, i64 56 store i32 %33, ptr %34, align 8, !tbaa !21 %35 = tail call i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef %33) #2 %36 = load i32, ptr %11, align 8, !tbaa !6 store i32 %36, ptr %4, align 8, !tbaa !6 br label %46 37: ; preds = %3 %38 = load i32, ptr @spl_ptr_llist_zval_ctor, align 4, !tbaa !22 %39 = load i32, ptr @spl_ptr_llist_zval_dtor, align 4, !tbaa !22 %40 = tail call i64 @spl_ptr_llist_init(i32 noundef %38, i32 noundef %39) #2 %41 = inttoptr i64 %40 to ptr %42 = getelementptr inbounds i8, ptr %4, i64 64 store ptr %41, ptr %42, align 8, !tbaa !16 %43 = load i32, ptr %41, align 4, !tbaa !20 %44 = getelementptr inbounds i8, ptr %4, i64 56 store i32 %43, ptr %44, align 8, !tbaa !21 %45 = tail call i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef %43) #2 br label %46 46: ; preds = %37, %31 %47 = icmp eq ptr %0, null br i1 %47, label %48, label %51 48: ; preds = %46 %49 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !22 %50 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %49, ptr noundef nonnull @.str) #2 br label %134 51: ; preds = %46 %52 = load ptr, ptr @spl_ce_SplStack, align 8, !tbaa !23 %53 = load ptr, ptr @spl_ce_SplQueue, align 8 %54 = load ptr, ptr @spl_ce_SplDoublyLinkedList, align 8, !tbaa !23 %55 = icmp eq ptr %52, %0 br i1 %55, label %62, label %56 56: ; preds = %51 %57 = icmp eq ptr %53, %0 br i1 %57, label %58, label %70 58: ; preds = %56 %59 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !22 %60 = load i32, ptr %4, align 8, !tbaa !6 %61 = or i32 %60, %59 br label %68 62: ; preds = %51 %63 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !22 %64 = load i32, ptr @SPL_DLLIST_IT_LIFO, align 4, !tbaa !22 %65 = or i32 %64, %63 %66 = load i32, ptr %4, align 8, !tbaa !6 %67 = or i32 %65, %66 br label %68 68: ; preds = %58, %62 %69 = phi i32 [ %67, %62 ], [ %61, %58 ] store i32 %69, ptr %4, align 8, !tbaa !6 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !24 br label %70 70: ; preds = %68, %56 %71 = icmp eq ptr %54, %0 br i1 %71, label %72, label %73 72: ; preds = %70 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !24 br label %134 73: ; preds = %70 %74 = getelementptr inbounds i8, ptr %0, i64 8 %75 = load ptr, ptr %74, align 8, !tbaa !25 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %80 77: ; preds = %73 %78 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !22 %79 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %78, ptr noundef nonnull @.str) #2 br label %107 80: ; preds = %73, %100 %81 = phi ptr [ %102, %100 ], [ %75, %73 ] %82 = icmp eq ptr %81, %52 br i1 %82, label %83, label %89 83: ; preds = %80 %84 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !22 %85 = load i32, ptr @SPL_DLLIST_IT_LIFO, align 4, !tbaa !22 %86 = or i32 %85, %84 %87 = load i32, ptr %4, align 8, !tbaa !6 %88 = or i32 %86, %87 br label %95 89: ; preds = %80 %90 = icmp eq ptr %81, %53 br i1 %90, label %91, label %97 91: ; preds = %89 %92 = load i32, ptr @SPL_DLLIST_IT_FIX, align 4, !tbaa !22 %93 = load i32, ptr %4, align 8, !tbaa !6 %94 = or i32 %93, %92 br label %95 95: ; preds = %83, %91 %96 = phi i32 [ %94, %91 ], [ %88, %83 ] store i32 %96, ptr %4, align 8, !tbaa !6 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !24 br label %97 97: ; preds = %95, %89 %98 = icmp eq ptr %81, %54 br i1 %98, label %99, label %100 99: ; preds = %97 store ptr @spl_handler_SplDoublyLinkedList, ptr %5, align 8, !tbaa !24 br label %107 100: ; preds = %97 %101 = getelementptr inbounds i8, ptr %81, i64 8 %102 = load ptr, ptr %101, align 8, !tbaa !25 %103 = icmp eq ptr %102, null br i1 %103, label %104, label %80, !llvm.loop !27 104: ; preds = %100 %105 = load i32, ptr @E_COMPILE_ERROR, align 4, !tbaa !22 %106 = tail call i32 @php_error_docref(ptr noundef null, i32 noundef %105, ptr noundef nonnull @.str) #2 br label %107 107: ; preds = %99, %104, %77 %108 = phi ptr [ %54, %99 ], [ null, %104 ], [ null, %77 ] %109 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef 9) #2 %110 = getelementptr inbounds i8, ptr %4, i64 48 %111 = load ptr, ptr %109, align 8, !tbaa !30 %112 = icmp eq ptr %111, %108 %113 = select i1 %112, ptr null, ptr %109 store ptr %113, ptr %110, align 8 %114 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef 9) #2 %115 = getelementptr inbounds i8, ptr %4, i64 40 %116 = load ptr, ptr %114, align 8, !tbaa !33 %117 = icmp eq ptr %116, %108 %118 = select i1 %117, ptr null, ptr %114 store ptr %118, ptr %115, align 8 %119 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef 12) #2 %120 = getelementptr inbounds i8, ptr %4, i64 32 %121 = load ptr, ptr %119, align 8, !tbaa !36 %122 = icmp eq ptr %121, %108 %123 = select i1 %122, ptr null, ptr %119 store ptr %123, ptr %120, align 8 %124 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, i32 noundef 11) #2 %125 = getelementptr inbounds i8, ptr %4, i64 24 %126 = load ptr, ptr %124, align 8, !tbaa !39 %127 = icmp eq ptr %126, %108 %128 = select i1 %127, ptr null, ptr %124 store ptr %128, ptr %125, align 8 %129 = tail call ptr @zend_hash_str_find_ptr(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i32 noundef 5) #2 %130 = getelementptr inbounds i8, ptr %4, i64 16 %131 = load ptr, ptr %129, align 8, !tbaa !42 %132 = icmp eq ptr %131, %108 %133 = select i1 %132, ptr null, ptr %129 store ptr %133, ptr %130, align 8 br label %134 134: ; preds = %72, %48, %107 ret ptr %5 } declare ptr @zend_object_alloc(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_object_std_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @object_properties_init(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @spl_dllist_from_obj(ptr noundef) local_unnamed_addr #1 declare i64 @spl_ptr_llist_init(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spl_ptr_llist_copy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SPL_LLIST_CHECK_ADDREF(i32 noundef) local_unnamed_addr #1 declare i32 @php_error_docref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @zend_hash_str_find_ptr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_35__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !8, i64 56, !12, i64 64, !8, i64 72, !13, i64 80} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_32__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!7, !13, i64 80} !15 = !{!7, !8, i64 72} !16 = !{!7, !12, i64 64} !17 = !{!18, !8, i64 8} !18 = !{!"TYPE_34__", !8, i64 0, !8, i64 4, !8, i64 8} !19 = !{!18, !8, i64 4} !20 = !{!18, !8, i64 0} !21 = !{!7, !8, i64 56} !22 = !{!8, !8, i64 0} !23 = !{!12, !12, i64 0} !24 = !{!7, !12, i64 8} !25 = !{!26, !12, i64 8} !26 = !{!"TYPE_33__", !8, i64 0, !12, i64 8} !27 = distinct !{!27, !28, !29} !28 = !{!"llvm.loop.mustprogress"} !29 = !{!"llvm.loop.peeled.count", i32 1} !30 = !{!31, !12, i64 0} !31 = !{!"TYPE_37__", !32, i64 0} !32 = !{!"TYPE_36__", !12, i64 0} !33 = !{!34, !12, i64 0} !34 = !{!"TYPE_39__", !35, i64 0} !35 = !{!"TYPE_38__", !12, i64 0} !36 = !{!37, !12, i64 0} !37 = !{!"TYPE_41__", !38, i64 0} !38 = !{!"TYPE_40__", !12, i64 0} !39 = !{!40, !12, i64 0} !40 = !{!"TYPE_43__", !41, i64 0} !41 = !{!"TYPE_42__", !12, i64 0} !42 = !{!43, !12, i64 0} !43 = !{!"TYPE_31__", !44, i64 0} !44 = !{!"TYPE_44__", !12, i64 0}
php-src_ext_spl_extr_spl_dllist.c_spl_dllist_object_new_ex
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_print_exit_tok.c' source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_print_exit_tok.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_6__, i32 } %struct.TYPE_6__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @AU_OFLAG_XML = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"errval\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"retval\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_exit_tok], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_exit_tok(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = tail call i32 @print_tok_type(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #2 %8 = load i32, ptr @AU_OFLAG_XML, align 4, !tbaa !12 %9 = and i32 %8, %3 %10 = icmp eq i32 %9, 0 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1 br i1 %10, label %23, label %12 12: ; preds = %4 %13 = tail call i32 @open_attr(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %14 = load i32, ptr %11, align 4, !tbaa !13 %15 = tail call i32 @print_errval(ptr noundef %0, i32 noundef %14) #2 %16 = tail call i32 @close_attr(ptr noundef %0) #2 %17 = tail call i32 @open_attr(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %18 = load i32, ptr %1, align 4, !tbaa !14 %19 = tail call i32 @print_4_bytes(ptr noundef %0, i32 noundef %18, ptr noundef nonnull @.str.3) #2 %20 = tail call i32 @close_attr(ptr noundef %0) #2 %21 = load i32, ptr %5, align 4, !tbaa !5 %22 = tail call i32 @close_tag(ptr noundef %0, i32 noundef %21) #2 br label %30 23: ; preds = %4 %24 = tail call i32 @print_delim(ptr noundef %0, ptr noundef %2) #2 %25 = load i32, ptr %11, align 4, !tbaa !13 %26 = tail call i32 @print_errval(ptr noundef %0, i32 noundef %25) #2 %27 = tail call i32 @print_delim(ptr noundef %0, ptr noundef %2) #2 %28 = load i32, ptr %1, align 4, !tbaa !14 %29 = tail call i32 @print_4_bytes(ptr noundef %0, i32 noundef %28, ptr noundef nonnull @.str.3) #2 br label %30 30: ; preds = %23, %12 ret void } declare i32 @print_tok_type(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @open_attr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @print_errval(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close_attr(ptr noundef) local_unnamed_addr #1 declare i32 @print_4_bytes(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close_tag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_delim(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, !9, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !9, i64 8} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!6, !9, i64 4} !14 = !{!6, !9, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_print_exit_tok.c' source_filename = "AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_io.c_print_exit_tok.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @AU_OFLAG_XML = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"errval\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"retval\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_exit_tok], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_exit_tok(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = tail call i32 @print_tok_type(ptr noundef %0, i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %3) #2 %8 = load i32, ptr @AU_OFLAG_XML, align 4, !tbaa !13 %9 = and i32 %8, %3 %10 = icmp eq i32 %9, 0 %11 = getelementptr inbounds i8, ptr %1, i64 4 br i1 %10, label %23, label %12 12: ; preds = %4 %13 = tail call i32 @open_attr(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %14 = load i32, ptr %11, align 4, !tbaa !14 %15 = tail call i32 @print_errval(ptr noundef %0, i32 noundef %14) #2 %16 = tail call i32 @close_attr(ptr noundef %0) #2 %17 = tail call i32 @open_attr(ptr noundef %0, ptr noundef nonnull @.str.2) #2 %18 = load i32, ptr %1, align 4, !tbaa !15 %19 = tail call i32 @print_4_bytes(ptr noundef %0, i32 noundef %18, ptr noundef nonnull @.str.3) #2 %20 = tail call i32 @close_attr(ptr noundef %0) #2 %21 = load i32, ptr %5, align 4, !tbaa !6 %22 = tail call i32 @close_tag(ptr noundef %0, i32 noundef %21) #2 br label %30 23: ; preds = %4 %24 = tail call i32 @print_delim(ptr noundef %0, ptr noundef %2) #2 %25 = load i32, ptr %11, align 4, !tbaa !14 %26 = tail call i32 @print_errval(ptr noundef %0, i32 noundef %25) #2 %27 = tail call i32 @print_delim(ptr noundef %0, ptr noundef %2) #2 %28 = load i32, ptr %1, align 4, !tbaa !15 %29 = tail call i32 @print_4_bytes(ptr noundef %0, i32 noundef %28, ptr noundef nonnull @.str.3) #2 br label %30 30: ; preds = %23, %12 ret void } declare i32 @print_tok_type(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @open_attr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @print_errval(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @close_attr(ptr noundef) local_unnamed_addr #1 declare i32 @print_4_bytes(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @close_tag(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @print_delim(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, !10, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !10, i64 8} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"TYPE_5__", !10, i64 0, !10, i64 4} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!10, !10, i64 0} !14 = !{!7, !10, i64 4} !15 = !{!7, !10, i64 0}
freebsd_contrib_openbsm_libbsm_extr_bsm_io.c_print_exit_tok
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_isGreater.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_isGreater.c" target datalayout = "e-m:e-p270:32:32-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 @isGreater], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @isGreater(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i64 @stackPop(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i64 @stackPop(i32 noundef %4) #2 %6 = icmp sgt i64 %5, %3 %7 = zext i1 %6 to i32 %8 = tail call i32 @FICL_BOOL(i32 noundef %7) #2 %9 = tail call i32 @PUSHINT(i32 noundef %8) #2 ret void } declare i64 @stackPop(i32 noundef) local_unnamed_addr #1 declare i32 @PUSHINT(i32 noundef) local_unnamed_addr #1 declare i32 @FICL_BOOL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/stand/ficl/extr_words.c_isGreater.c' source_filename = "AnghaBench/freebsd/stand/ficl/extr_words.c_isGreater.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 @isGreater], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @isGreater(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i64 @stackPop(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i64 @stackPop(i32 noundef %4) #2 %6 = icmp sgt i64 %5, %3 %7 = zext i1 %6 to i32 %8 = tail call i32 @FICL_BOOL(i32 noundef %7) #2 %9 = tail call i32 @PUSHINT(i32 noundef %8) #2 ret void } declare i64 @stackPop(i32 noundef) local_unnamed_addr #1 declare i32 @PUSHINT(i32 noundef) local_unnamed_addr #1 declare i32 @FICL_BOOL(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_stand_ficl_extr_words.c_isGreater
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/math/extr_s_modf.c_modf.c' source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/math/extr_s_modf.c_modf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @one = dso_local local_unnamed_addr global double 0.000000e+00, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef double @modf(double noundef returned %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call i32 @EXTRACT_WORDS(i32 noundef undef, i32 noundef undef, double noundef %0) #2 %4 = load double, ptr %1, align 8, !tbaa !5 %5 = tail call i32 @INSERT_WORDS(double noundef %4, i32 noundef 0, i32 noundef 0) #2 ret double %0 } declare i32 @EXTRACT_WORDS(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #1 declare i32 @INSERT_WORDS(double 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 = !{!"double", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/math/extr_s_modf.c_modf.c' source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/math/extr_s_modf.c_modf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @one = common local_unnamed_addr global double 0.000000e+00, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef double @modf(double noundef returned %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = tail call i32 @EXTRACT_WORDS(i32 noundef undef, i32 noundef undef, double noundef %0) #2 %4 = load double, ptr %1, align 8, !tbaa !6 %5 = tail call i32 @INSERT_WORDS(double noundef %4, i32 noundef 0, i32 noundef 0) #2 ret double %0 } declare i32 @EXTRACT_WORDS(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #1 declare i32 @INSERT_WORDS(double 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 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
How-to-Make-a-Computer-Operating-System_src_sdk_src_libc_src_math_extr_s_modf.c_modf
; ModuleID = 'AnghaBench/RetroArch/deps/pthreads/extr_pthread_cond.c_pte_cond_unblock.c' source_filename = "AnghaBench/RetroArch/deps/pthreads/extr_pthread_cond.c_pte_cond_unblock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, i32, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @PTHREAD_COND_INITIALIZER = dso_local local_unnamed_addr global ptr null, align 8 @errno = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pte_cond_unblock], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pte_cond_unblock(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %4, %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !9 br label %69 9: ; preds = %4 %10 = load ptr, ptr @PTHREAD_COND_INITIALIZER, align 8, !tbaa !5 %11 = icmp eq ptr %5, %10 br i1 %11, label %69, label %12 12: ; preds = %9 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 4 %14 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %69 16: ; preds = %12 %17 = load i32, ptr %5, align 4, !tbaa !11 %18 = icmp eq i32 %17, 0 %19 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1 %20 = load i32, ptr %19, align 4, !tbaa !13 br i1 %18, label %32, label %21 21: ; preds = %16 %22 = icmp eq i32 %20, 0 br i1 %22, label %23, label %25 23: ; preds = %21 %24 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 25: ; preds = %21 %26 = icmp eq i32 %1, 0 br i1 %26, label %29, label %27 27: ; preds = %25 %28 = add nsw i32 %20, %17 store i32 %28, ptr %5, align 4, !tbaa !11 br label %58 29: ; preds = %25 %30 = add nsw i32 %17, 1 store i32 %30, ptr %5, align 4, !tbaa !11 %31 = add nsw i32 %20, -1 br label %58 32: ; preds = %16 %33 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2 %34 = load i32, ptr %33, align 4, !tbaa !14 %35 = icmp sgt i32 %20, %34 br i1 %35, label %36, label %56 36: ; preds = %32 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 5 %38 = tail call i64 @sem_wait(ptr noundef nonnull %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load i32, ptr @errno, align 4, !tbaa !9 %42 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 43: ; preds = %36 %44 = load i32, ptr %33, align 4, !tbaa !14 %45 = icmp eq i32 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load i32, ptr %19, align 4, !tbaa !13 %48 = sub nsw i32 %47, %44 store i32 %48, ptr %19, align 4, !tbaa !13 store i32 0, ptr %33, align 4, !tbaa !14 br label %49 49: ; preds = %46, %43 %50 = icmp eq i32 %1, 0 br i1 %50, label %53, label %51 51: ; preds = %49 %52 = load i32, ptr %19, align 4, !tbaa !13 store i32 %52, ptr %5, align 4, !tbaa !11 br label %58 53: ; preds = %49 store i32 1, ptr %5, align 4, !tbaa !11 %54 = load i32, ptr %19, align 4, !tbaa !13 %55 = add nsw i32 %54, -1 br label %58 56: ; preds = %32 %57 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 58: ; preds = %53, %51, %27, %29 %59 = phi i32 [ %55, %53 ], [ 0, %51 ], [ 0, %27 ], [ %31, %29 ] %60 = phi i32 [ 1, %53 ], [ %52, %51 ], [ %20, %27 ], [ 1, %29 ] store i32 %59, ptr %19, align 4, !tbaa !13 %61 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %58 %64 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 3 %65 = tail call i64 @sem_post_multiple(ptr noundef nonnull %64, i32 noundef %60) #2 %66 = icmp eq i64 %65, 0 %67 = load i32, ptr @errno, align 4 %68 = select i1 %66, i32 0, i32 %67 br label %69 69: ; preds = %63, %58, %12, %9, %56, %40, %23, %7 %70 = phi i32 [ %8, %7 ], [ %24, %23 ], [ %41, %40 ], [ %57, %56 ], [ 0, %9 ], [ %14, %12 ], [ %61, %58 ], [ %68, %63 ] ret i32 %70 } declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @sem_wait(ptr noundef) local_unnamed_addr #1 declare i64 @sem_post_multiple(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20} !13 = !{!12, !10, i64 4} !14 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/RetroArch/deps/pthreads/extr_pthread_cond.c_pte_cond_unblock.c' source_filename = "AnghaBench/RetroArch/deps/pthreads/extr_pthread_cond.c_pte_cond_unblock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @PTHREAD_COND_INITIALIZER = common local_unnamed_addr global ptr null, align 8 @errno = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pte_cond_unblock], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pte_cond_unblock(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = icmp eq ptr %0, null br i1 %3, label %7, label %4 4: ; preds = %2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %4, %2 %8 = load i32, ptr @EINVAL, align 4, !tbaa !10 br label %69 9: ; preds = %4 %10 = load ptr, ptr @PTHREAD_COND_INITIALIZER, align 8, !tbaa !6 %11 = icmp eq ptr %5, %10 br i1 %11, label %69, label %12 12: ; preds = %9 %13 = getelementptr inbounds i8, ptr %5, i64 16 %14 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %69 16: ; preds = %12 %17 = load i32, ptr %5, align 4, !tbaa !12 %18 = icmp eq i32 %17, 0 %19 = getelementptr inbounds i8, ptr %5, i64 4 %20 = load i32, ptr %19, align 4, !tbaa !14 br i1 %18, label %32, label %21 21: ; preds = %16 %22 = icmp eq i32 %20, 0 br i1 %22, label %23, label %25 23: ; preds = %21 %24 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 25: ; preds = %21 %26 = icmp eq i32 %1, 0 br i1 %26, label %29, label %27 27: ; preds = %25 %28 = add nsw i32 %20, %17 store i32 %28, ptr %5, align 4, !tbaa !12 br label %58 29: ; preds = %25 %30 = add nsw i32 %17, 1 store i32 %30, ptr %5, align 4, !tbaa !12 %31 = add nsw i32 %20, -1 br label %58 32: ; preds = %16 %33 = getelementptr inbounds i8, ptr %5, i64 8 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = icmp sgt i32 %20, %34 br i1 %35, label %36, label %56 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %5, i64 20 %38 = tail call i64 @sem_wait(ptr noundef nonnull %37) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load i32, ptr @errno, align 4, !tbaa !10 %42 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 43: ; preds = %36 %44 = load i32, ptr %33, align 4, !tbaa !15 %45 = icmp eq i32 %44, 0 br i1 %45, label %49, label %46 46: ; preds = %43 %47 = load i32, ptr %19, align 4, !tbaa !14 %48 = sub nsw i32 %47, %44 store i32 %48, ptr %19, align 4, !tbaa !14 store i32 0, ptr %33, align 4, !tbaa !15 br label %49 49: ; preds = %46, %43 %50 = icmp eq i32 %1, 0 br i1 %50, label %53, label %51 51: ; preds = %49 %52 = load i32, ptr %19, align 4, !tbaa !14 store i32 %52, ptr %5, align 4, !tbaa !12 br label %58 53: ; preds = %49 store i32 1, ptr %5, align 4, !tbaa !12 %54 = load i32, ptr %19, align 4, !tbaa !14 %55 = add nsw i32 %54, -1 br label %58 56: ; preds = %32 %57 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 br label %69 58: ; preds = %53, %51, %27, %29 %59 = phi i32 [ %55, %53 ], [ 0, %51 ], [ 0, %27 ], [ %31, %29 ] %60 = phi i32 [ 1, %53 ], [ %52, %51 ], [ %20, %27 ], [ 1, %29 ] store i32 %59, ptr %19, align 4, !tbaa !14 %61 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %13) #2 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %58 %64 = getelementptr inbounds i8, ptr %5, i64 12 %65 = tail call i64 @sem_post_multiple(ptr noundef nonnull %64, i32 noundef %60) #2 %66 = icmp eq i64 %65, 0 %67 = load i32, ptr @errno, align 4 %68 = select i1 %66, i32 0, i32 %67 br label %69 69: ; preds = %63, %58, %12, %9, %56, %40, %23, %7 %70 = phi i32 [ %8, %7 ], [ %24, %23 ], [ %41, %40 ], [ %57, %56 ], [ 0, %9 ], [ %14, %12 ], [ %61, %58 ], [ %68, %63 ] ret i32 %70 } declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 declare i64 @sem_wait(ptr noundef) local_unnamed_addr #1 declare i64 @sem_post_multiple(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20} !14 = !{!13, !11, i64 4} !15 = !{!13, !11, i64 8}
RetroArch_deps_pthreads_extr_pthread_cond.c_pte_cond_unblock
; ModuleID = 'AnghaBench/qmk_firmware/quantum/audio/extr_audio_pwm.c_play_note.c' source_filename = "AnghaBench/qmk_firmware/quantum/audio/extr_audio_pwm.c_play_note.c" target datalayout = "e-m:e-p270:32:32-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 { i64 } @audio_initialized = dso_local local_unnamed_addr global i32 0, align 4 @audio_config = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @voices = dso_local local_unnamed_addr global i32 0, align 4 @DISABLE_AUDIO_COUNTER_3_ISR = dso_local local_unnamed_addr global i32 0, align 4 @playing_notes = dso_local local_unnamed_addr global i64 0, align 8 @playing_note = dso_local local_unnamed_addr global i32 0, align 4 @envelope_index = dso_local local_unnamed_addr global i64 0, align 8 @frequencies = dso_local local_unnamed_addr global ptr null, align 8 @volumes = dso_local local_unnamed_addr global ptr null, align 8 @ENABLE_AUDIO_COUNTER_3_ISR = dso_local local_unnamed_addr global i32 0, align 4 @ENABLE_AUDIO_COUNTER_3_OUTPUT = dso_local local_unnamed_addr global i32 0, align 4 @SAMPLE_RATE = dso_local local_unnamed_addr global float 0.000000e+00, align 4 ; Function Attrs: nounwind uwtable define dso_local void @play_note(float noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @audio_initialized, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 (...) @audio_init() #2 br label %7 7: ; preds = %5, %2 %8 = load i64, ptr @audio_config, align 8, !tbaa !9 %9 = icmp ne i64 %8, 0 %10 = load i32, ptr @voices, align 4 %11 = icmp slt i32 %10, 8 %12 = select i1 %9, i1 %11, i1 false br i1 %12, label %13, label %29 13: ; preds = %7 %14 = load i64, ptr @playing_notes, align 8, !tbaa !12 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 (...) @stop_all_notes() #2 br label %18 18: ; preds = %16, %13 store i32 1, ptr @playing_note, align 4, !tbaa !5 store i64 0, ptr @envelope_index, align 8, !tbaa !12 %19 = fcmp ogt float %0, 0.000000e+00 br i1 %19, label %20, label %29 20: ; preds = %18 %21 = load ptr, ptr @frequencies, align 8, !tbaa !13 %22 = load i32, ptr @voices, align 4, !tbaa !5 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 store float %0, ptr %24, align 4, !tbaa !15 %25 = load ptr, ptr @volumes, align 8, !tbaa !13 %26 = getelementptr inbounds i32, ptr %25, i64 %23 store i32 %1, ptr %26, align 4, !tbaa !5 %27 = load i32, ptr @voices, align 4, !tbaa !5 %28 = add nsw i32 %27, 1 store i32 %28, ptr @voices, align 4, !tbaa !5 br label %29 29: ; preds = %18, %20, %7 ret void } declare i32 @audio_init(...) local_unnamed_addr #1 declare i32 @stop_all_notes(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"float", !7, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/quantum/audio/extr_audio_pwm.c_play_note.c' source_filename = "AnghaBench/qmk_firmware/quantum/audio/extr_audio_pwm.c_play_note.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64 } @audio_initialized = common local_unnamed_addr global i32 0, align 4 @audio_config = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @voices = common local_unnamed_addr global i32 0, align 4 @DISABLE_AUDIO_COUNTER_3_ISR = common local_unnamed_addr global i32 0, align 4 @playing_notes = common local_unnamed_addr global i64 0, align 8 @playing_note = common local_unnamed_addr global i32 0, align 4 @envelope_index = common local_unnamed_addr global i64 0, align 8 @frequencies = common local_unnamed_addr global ptr null, align 8 @volumes = common local_unnamed_addr global ptr null, align 8 @ENABLE_AUDIO_COUNTER_3_ISR = common local_unnamed_addr global i32 0, align 4 @ENABLE_AUDIO_COUNTER_3_OUTPUT = common local_unnamed_addr global i32 0, align 4 @SAMPLE_RATE = common local_unnamed_addr global float 0.000000e+00, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @play_note(float noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @audio_initialized, align 4, !tbaa !6 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @audio_init() #2 br label %7 7: ; preds = %5, %2 %8 = load i64, ptr @audio_config, align 8, !tbaa !10 %9 = icmp ne i64 %8, 0 %10 = load i32, ptr @voices, align 4 %11 = icmp slt i32 %10, 8 %12 = select i1 %9, i1 %11, i1 false br i1 %12, label %13, label %29 13: ; preds = %7 %14 = load i64, ptr @playing_notes, align 8, !tbaa !13 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %13 %17 = tail call i32 @stop_all_notes() #2 br label %18 18: ; preds = %16, %13 store i32 1, ptr @playing_note, align 4, !tbaa !6 store i64 0, ptr @envelope_index, align 8, !tbaa !13 %19 = fcmp ogt float %0, 0.000000e+00 br i1 %19, label %20, label %29 20: ; preds = %18 %21 = load ptr, ptr @frequencies, align 8, !tbaa !14 %22 = load i32, ptr @voices, align 4, !tbaa !6 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 store float %0, ptr %24, align 4, !tbaa !16 %25 = load ptr, ptr @volumes, align 8, !tbaa !14 %26 = getelementptr inbounds i32, ptr %25, i64 %23 store i32 %1, ptr %26, align 4, !tbaa !6 %27 = load i32, ptr @voices, align 4, !tbaa !6 %28 = add nsw i32 %27, 1 store i32 %28, ptr @voices, align 4, !tbaa !6 br label %29 29: ; preds = %18, %20, %7 ret void } declare i32 @audio_init(...) local_unnamed_addr #1 declare i32 @stop_all_notes(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"float", !8, i64 0}
qmk_firmware_quantum_audio_extr_audio_pwm.c_play_note
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_exprNodeIsConstantOrGroupBy.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_exprNodeIsConstantOrGroupBy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i64, i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { ptr } %struct.TYPE_12__ = type { i32, ptr } %struct.TYPE_10__ = type { ptr } @.str = private unnamed_addr constant [7 x i8] c"BINARY\00", align 1 @WRC_Prune = dso_local local_unnamed_addr global i32 0, align 4 @EP_xIsSelect = dso_local local_unnamed_addr global i32 0, align 4 @WRC_Abort = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @exprNodeIsConstantOrGroupBy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @exprNodeIsConstantOrGroupBy(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 8, !tbaa !13 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %2 %8 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1 %9 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 br label %10 10: ; preds = %7, %23 %11 = phi i64 [ 0, %7 ], [ %24, %23 ] %12 = load ptr, ptr %8, align 8, !tbaa !15 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %12, i64 %11 %14 = load ptr, ptr %13, align 8, !tbaa !16 %15 = tail call i32 @sqlite3ExprCompare(i32 noundef 0, ptr noundef %1, ptr noundef %14, i32 noundef -1) #2 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %23 17: ; preds = %10 %18 = load i32, ptr %9, align 8, !tbaa !18 %19 = tail call ptr @sqlite3ExprNNCollSeq(i32 noundef %18, ptr noundef %14) #2 %20 = load i32, ptr %19, align 4, !tbaa !19 %21 = tail call i64 @sqlite3_stricmp(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %36, label %23 23: ; preds = %10, %17 %24 = add nuw nsw i64 %11, 1 %25 = load i32, ptr %4, align 8, !tbaa !13 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %24, %26 br i1 %27, label %10, label %28, !llvm.loop !21 28: ; preds = %23, %2 %29 = load i32, ptr @EP_xIsSelect, align 4, !tbaa !23 %30 = tail call i64 @ExprHasProperty(ptr noundef %1, i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %28 store i64 0, ptr %0, align 8, !tbaa !24 %33 = load i32, ptr @WRC_Abort, align 4, !tbaa !23 br label %38 34: ; preds = %28 %35 = tail call i32 @exprNodeIsConstant(ptr noundef %0, ptr noundef %1) #2 br label %38 36: ; preds = %17 %37 = load i32, ptr @WRC_Prune, align 4 br label %38 38: ; preds = %36, %34, %32 %39 = phi i32 [ %33, %32 ], [ %35, %34 ], [ %37, %36 ] ret i32 %39 } declare i32 @sqlite3ExprCompare(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3ExprNNCollSeq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sqlite3_stricmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ExprHasProperty(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @exprNodeIsConstant(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, !12, i64 16} !6 = !{!"TYPE_11__", !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 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_12__", !10, i64 0, !12, i64 8} !15 = !{!14, !12, i64 8} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_10__", !12, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!20, !10, i64 0} !20 = !{!"TYPE_13__", !10, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!10, !10, i64 0} !24 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_exprNodeIsConstantOrGroupBy.c' source_filename = "AnghaBench/ccv/lib/3rdparty/sqlite3/extr_sqlite3.c_exprNodeIsConstantOrGroupBy.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 } @.str = private unnamed_addr constant [7 x i8] c"BINARY\00", align 1 @WRC_Prune = common local_unnamed_addr global i32 0, align 4 @EP_xIsSelect = common local_unnamed_addr global i32 0, align 4 @WRC_Abort = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @exprNodeIsConstantOrGroupBy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @exprNodeIsConstantOrGroupBy(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 8, !tbaa !14 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %28 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = getelementptr inbounds i8, ptr %0, i64 8 br label %10 10: ; preds = %7, %23 %11 = phi i64 [ 0, %7 ], [ %24, %23 ] %12 = load ptr, ptr %8, align 8, !tbaa !16 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %12, i64 %11 %14 = load ptr, ptr %13, align 8, !tbaa !17 %15 = tail call i32 @sqlite3ExprCompare(i32 noundef 0, ptr noundef %1, ptr noundef %14, i32 noundef -1) #2 %16 = icmp slt i32 %15, 2 br i1 %16, label %17, label %23 17: ; preds = %10 %18 = load i32, ptr %9, align 8, !tbaa !19 %19 = tail call ptr @sqlite3ExprNNCollSeq(i32 noundef %18, ptr noundef %14) #2 %20 = load i32, ptr %19, align 4, !tbaa !20 %21 = tail call i64 @sqlite3_stricmp(ptr noundef nonnull @.str, i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %36, label %23 23: ; preds = %10, %17 %24 = add nuw nsw i64 %11, 1 %25 = load i32, ptr %4, align 8, !tbaa !14 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %24, %26 br i1 %27, label %10, label %28, !llvm.loop !22 28: ; preds = %23, %2 %29 = load i32, ptr @EP_xIsSelect, align 4, !tbaa !24 %30 = tail call i64 @ExprHasProperty(ptr noundef %1, i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %28 store i64 0, ptr %0, align 8, !tbaa !25 %33 = load i32, ptr @WRC_Abort, align 4, !tbaa !24 br label %38 34: ; preds = %28 %35 = tail call i32 @exprNodeIsConstant(ptr noundef %0, ptr noundef %1) #2 br label %38 36: ; preds = %17 %37 = load i32, ptr @WRC_Prune, align 4 br label %38 38: ; preds = %36, %34, %32 %39 = phi i32 [ %33, %32 ], [ %35, %34 ], [ %37, %36 ] ret i32 %39 } declare i32 @sqlite3ExprCompare(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @sqlite3ExprNNCollSeq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @sqlite3_stricmp(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ExprHasProperty(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @exprNodeIsConstant(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, !13, i64 16} !7 = !{!"TYPE_11__", !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 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_12__", !11, i64 0, !13, i64 8} !16 = !{!15, !13, i64 8} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_10__", !13, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_13__", !11, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!11, !11, i64 0} !25 = !{!7, !8, i64 0}
ccv_lib_3rdparty_sqlite3_extr_sqlite3.c_exprNodeIsConstantOrGroupBy
; ModuleID = 'AnghaBench/linux/net/wireless/extr_rdev-ops.h_rdev_start_p2p_device.c' source_filename = "AnghaBench/linux/net/wireless/extr_rdev-ops.h_rdev_start_p2p_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cfg80211_registered_device = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @rdev_start_p2p_device], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @rdev_start_p2p_device(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @trace_rdev_start_p2p_device(ptr noundef %0, ptr noundef %1) #2 %4 = getelementptr inbounds %struct.cfg80211_registered_device, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call i32 %6(ptr noundef %0, ptr noundef %1) #2 %8 = tail call i32 @trace_rdev_return_int(ptr noundef %0, i32 noundef %7) #2 ret i32 %7 } declare i32 @trace_rdev_start_p2p_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @trace_rdev_return_int(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"cfg80211_registered_device", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/net/wireless/extr_rdev-ops.h_rdev_start_p2p_device.c' source_filename = "AnghaBench/linux/net/wireless/extr_rdev-ops.h_rdev_start_p2p_device.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 @rdev_start_p2p_device], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal noundef i32 @rdev_start_p2p_device(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @trace_rdev_start_p2p_device(ptr noundef %0, ptr noundef %1) #2 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i32 %6(ptr noundef %0, ptr noundef %1) #2 %8 = tail call i32 @trace_rdev_return_int(ptr noundef %0, i32 noundef %7) #2 ret i32 %7 } declare i32 @trace_rdev_start_p2p_device(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @trace_rdev_return_int(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"cfg80211_registered_device", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0}
linux_net_wireless_extr_rdev-ops.h_rdev_start_p2p_device
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_sminfo.c_process_opt.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_sminfo.c_process_opt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @act = dso_local local_unnamed_addr global ptr null, align 8 @state = dso_local local_unnamed_addr global ptr null, align 8 @prio = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @process_opt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @process_opt(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 { switch i32 %1, label %9 [ i32 97, label %6 i32 115, label %4 i32 112, label %5 ] 4: ; preds = %3 br label %6 5: ; preds = %3 br label %6 6: ; preds = %3, %5, %4 %7 = phi ptr [ @state, %4 ], [ @prio, %5 ], [ @act, %3 ] %8 = tail call ptr @strtoul(ptr noundef %2, i32 noundef 0, i32 noundef 0) #2 store ptr %8, ptr %7, align 8, !tbaa !5 br label %9 9: ; preds = %6, %3 %10 = phi i32 [ -1, %3 ], [ 0, %6 ] ret i32 %10 } declare ptr @strtoul(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_sminfo.c_process_opt.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_sminfo.c_process_opt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @act = common local_unnamed_addr global ptr null, align 8 @state = common local_unnamed_addr global ptr null, align 8 @prio = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @process_opt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @process_opt(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 { switch i32 %1, label %9 [ i32 97, label %6 i32 115, label %4 i32 112, label %5 ] 4: ; preds = %3 br label %6 5: ; preds = %3 br label %6 6: ; preds = %3, %5, %4 %7 = phi ptr [ @state, %4 ], [ @prio, %5 ], [ @act, %3 ] %8 = tail call ptr @strtoul(ptr noundef %2, i32 noundef 0, i32 noundef 0) #2 store ptr %8, ptr %7, align 8, !tbaa !6 br label %9 9: ; preds = %6, %3 %10 = phi i32 [ -1, %3 ], [ 0, %6 ] ret i32 %10 } declare ptr @strtoul(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ofed_infiniband-diags_src_extr_sminfo.c_process_opt
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_CheckTeamStatus.c' source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_CheckTeamStatus.c" target datalayout = "e-m:e-p270:32:32-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_17__ = type { i64, i64 } %struct.TYPE_18__ = type { i32 } %struct.TYPE_16__ = type { ptr, i64, i64 } %struct.TYPE_15__ = type { %struct.TYPE_14__, %struct.TYPE_13__ } %struct.TYPE_14__ = type { i64 } %struct.TYPE_13__ = type { i64, %struct.TYPE_12__ } %struct.TYPE_12__ = type { i64 } @level = dso_local local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 8 @TEAM_LOCATION_UPDATE_TIME = dso_local local_unnamed_addr global i64 0, align 8 @g_maxclients = dso_local local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 4 @g_entities = dso_local local_unnamed_addr global ptr null, align 8 @CON_CONNECTED = dso_local local_unnamed_addr global i64 0, align 8 @TEAM_RED = dso_local local_unnamed_addr global i64 0, align 8 @TEAM_BLUE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @CheckTeamStatus() local_unnamed_addr #0 { %1 = load i64, ptr @level, align 8, !tbaa !5 %2 = load i64, ptr getelementptr inbounds (%struct.TYPE_17__, ptr @level, i64 0, i32 1), align 8, !tbaa !10 %3 = sub nsw i64 %1, %2 %4 = load i64, ptr @TEAM_LOCATION_UPDATE_TIME, align 8, !tbaa !11 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %89 6: ; preds = %0 store i64 %1, ptr getelementptr inbounds (%struct.TYPE_17__, ptr @level, i64 0, i32 1), align 8, !tbaa !10 %7 = load i32, ptr @g_maxclients, align 4, !tbaa !12 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %89 9: ; preds = %6 %10 = load ptr, ptr @g_entities, align 8, !tbaa !15 %11 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !11 br label %17 12: ; preds = %49 %13 = icmp sgt i32 %53, 0 br i1 %13, label %14, label %89 14: ; preds = %12 %15 = load ptr, ptr @g_entities, align 8, !tbaa !15 %16 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !11 br label %56 17: ; preds = %9, %49 %18 = phi i64 [ %11, %9 ], [ %50, %49 ] %19 = phi ptr [ %10, %9 ], [ %51, %49 ] %20 = phi i64 [ 0, %9 ], [ %52, %49 ] %21 = getelementptr inbounds %struct.TYPE_16__, ptr %19, i64 %20 %22 = load ptr, ptr %21, align 8, !tbaa !17 %23 = getelementptr inbounds %struct.TYPE_15__, ptr %22, i64 0, i32 1 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = icmp eq i64 %24, %18 br i1 %25, label %26, label %49 26: ; preds = %17 %27 = getelementptr inbounds %struct.TYPE_16__, ptr %19, i64 %20, i32 1 %28 = load i64, ptr %27, align 8, !tbaa !24 %29 = icmp eq i64 %28, 0 br i1 %29, label %49, label %30 30: ; preds = %26 %31 = load i64, ptr %22, align 8, !tbaa !25 %32 = load i64, ptr @TEAM_RED, align 8, !tbaa !11 %33 = icmp eq i64 %31, %32 %34 = load i64, ptr @TEAM_BLUE, align 8 %35 = icmp eq i64 %31, %34 %36 = select i1 %33, i1 true, i1 %35 br i1 %36, label %37, label %49 37: ; preds = %30 %38 = tail call ptr @Team_GetLocation(ptr noundef nonnull %21) #2 %39 = icmp eq ptr %38, null %40 = load ptr, ptr @g_entities, align 8, !tbaa !15 %41 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !11 br i1 %39, label %45, label %42 42: ; preds = %37 %43 = getelementptr inbounds %struct.TYPE_16__, ptr %38, i64 0, i32 2 %44 = load i64, ptr %43, align 8, !tbaa !26 br label %45 45: ; preds = %37, %42 %46 = phi i64 [ %44, %42 ], [ 0, %37 ] %47 = load ptr, ptr %21, align 8, !tbaa !17 %48 = getelementptr inbounds %struct.TYPE_15__, ptr %47, i64 0, i32 1, i32 1 store i64 %46, ptr %48, align 8, !tbaa !27 br label %49 49: ; preds = %45, %30, %26, %17 %50 = phi i64 [ %18, %30 ], [ %18, %26 ], [ %18, %17 ], [ %41, %45 ] %51 = phi ptr [ %19, %30 ], [ %19, %26 ], [ %19, %17 ], [ %40, %45 ] %52 = add nuw nsw i64 %20, 1 %53 = load i32, ptr @g_maxclients, align 4, !tbaa !12 %54 = sext i32 %53 to i64 %55 = icmp slt i64 %52, %54 br i1 %55, label %17, label %12, !llvm.loop !28 56: ; preds = %14, %82 %57 = phi i32 [ %53, %14 ], [ %83, %82 ] %58 = phi i64 [ %16, %14 ], [ %84, %82 ] %59 = phi ptr [ %15, %14 ], [ %85, %82 ] %60 = phi i64 [ 0, %14 ], [ %86, %82 ] %61 = getelementptr inbounds %struct.TYPE_16__, ptr %59, i64 %60 %62 = load ptr, ptr %61, align 8, !tbaa !17 %63 = getelementptr inbounds %struct.TYPE_15__, ptr %62, i64 0, i32 1 %64 = load i64, ptr %63, align 8, !tbaa !19 %65 = icmp eq i64 %64, %58 br i1 %65, label %66, label %82 66: ; preds = %56 %67 = getelementptr inbounds %struct.TYPE_16__, ptr %59, i64 %60, i32 1 %68 = load i64, ptr %67, align 8, !tbaa !24 %69 = icmp eq i64 %68, 0 br i1 %69, label %82, label %70 70: ; preds = %66 %71 = load i64, ptr %62, align 8, !tbaa !25 %72 = load i64, ptr @TEAM_RED, align 8, !tbaa !11 %73 = icmp eq i64 %71, %72 %74 = load i64, ptr @TEAM_BLUE, align 8 %75 = icmp eq i64 %71, %74 %76 = select i1 %73, i1 true, i1 %75 br i1 %76, label %77, label %82 77: ; preds = %70 %78 = tail call i32 @TeamplayInfoMessage(ptr noundef nonnull %61) #2 %79 = load ptr, ptr @g_entities, align 8, !tbaa !15 %80 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !11 %81 = load i32, ptr @g_maxclients, align 4, !tbaa !12 br label %82 82: ; preds = %70, %66, %77, %56 %83 = phi i32 [ %57, %70 ], [ %57, %66 ], [ %81, %77 ], [ %57, %56 ] %84 = phi i64 [ %58, %70 ], [ %58, %66 ], [ %80, %77 ], [ %58, %56 ] %85 = phi ptr [ %59, %70 ], [ %59, %66 ], [ %79, %77 ], [ %59, %56 ] %86 = add nuw nsw i64 %60, 1 %87 = sext i32 %83 to i64 %88 = icmp slt i64 %86, %87 br i1 %88, label %56, label %89, !llvm.loop !30 89: ; preds = %82, %6, %12, %0 ret void } declare ptr @Team_GetLocation(ptr noundef) local_unnamed_addr #1 declare i32 @TeamplayInfoMessage(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_17__", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_18__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_16__", !16, i64 0, !7, i64 8, !7, i64 16} !19 = !{!20, !7, i64 8} !20 = !{!"TYPE_15__", !21, i64 0, !22, i64 8} !21 = !{!"TYPE_14__", !7, i64 0} !22 = !{!"TYPE_13__", !7, i64 0, !23, i64 8} !23 = !{!"TYPE_12__", !7, i64 0} !24 = !{!18, !7, i64 8} !25 = !{!20, !7, i64 0} !26 = !{!18, !7, i64 16} !27 = !{!20, !7, i64 16} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = distinct !{!30, !29}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_CheckTeamStatus.c' source_filename = "AnghaBench/Quake-III-Arena/code/game/extr_g_team.c_CheckTeamStatus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { i64, i64 } %struct.TYPE_18__ = type { i32 } %struct.TYPE_16__ = type { ptr, i64, i64 } @level = common local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 8 @TEAM_LOCATION_UPDATE_TIME = common local_unnamed_addr global i64 0, align 8 @g_maxclients = common local_unnamed_addr global %struct.TYPE_18__ zeroinitializer, align 4 @g_entities = common local_unnamed_addr global ptr null, align 8 @CON_CONNECTED = common local_unnamed_addr global i64 0, align 8 @TEAM_RED = common local_unnamed_addr global i64 0, align 8 @TEAM_BLUE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @CheckTeamStatus() local_unnamed_addr #0 { %1 = load i64, ptr @level, align 8, !tbaa !6 %2 = load i64, ptr getelementptr inbounds (i8, ptr @level, i64 8), align 8, !tbaa !11 %3 = sub nsw i64 %1, %2 %4 = load i64, ptr @TEAM_LOCATION_UPDATE_TIME, align 8, !tbaa !12 %5 = icmp sgt i64 %3, %4 br i1 %5, label %6, label %89 6: ; preds = %0 store i64 %1, ptr getelementptr inbounds (i8, ptr @level, i64 8), align 8, !tbaa !11 %7 = load i32, ptr @g_maxclients, align 4, !tbaa !13 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %89 9: ; preds = %6 %10 = load ptr, ptr @g_entities, align 8, !tbaa !16 %11 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !12 br label %17 12: ; preds = %49 %13 = icmp sgt i32 %53, 0 br i1 %13, label %14, label %89 14: ; preds = %12 %15 = load ptr, ptr @g_entities, align 8, !tbaa !16 %16 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !12 br label %56 17: ; preds = %9, %49 %18 = phi i64 [ %11, %9 ], [ %50, %49 ] %19 = phi ptr [ %10, %9 ], [ %51, %49 ] %20 = phi i64 [ 0, %9 ], [ %52, %49 ] %21 = getelementptr inbounds %struct.TYPE_16__, ptr %19, i64 %20 %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = getelementptr inbounds i8, ptr %22, i64 8 %24 = load i64, ptr %23, align 8, !tbaa !20 %25 = icmp eq i64 %24, %18 br i1 %25, label %26, label %49 26: ; preds = %17 %27 = getelementptr inbounds i8, ptr %21, i64 8 %28 = load i64, ptr %27, align 8, !tbaa !25 %29 = icmp eq i64 %28, 0 br i1 %29, label %49, label %30 30: ; preds = %26 %31 = load i64, ptr %22, align 8, !tbaa !26 %32 = load i64, ptr @TEAM_RED, align 8, !tbaa !12 %33 = icmp eq i64 %31, %32 %34 = load i64, ptr @TEAM_BLUE, align 8 %35 = icmp eq i64 %31, %34 %36 = select i1 %33, i1 true, i1 %35 br i1 %36, label %37, label %49 37: ; preds = %30 %38 = tail call ptr @Team_GetLocation(ptr noundef nonnull %21) #2 %39 = icmp eq ptr %38, null %40 = load ptr, ptr @g_entities, align 8, !tbaa !16 %41 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !12 br i1 %39, label %45, label %42 42: ; preds = %37 %43 = getelementptr inbounds i8, ptr %38, i64 16 %44 = load i64, ptr %43, align 8, !tbaa !27 br label %45 45: ; preds = %37, %42 %46 = phi i64 [ %44, %42 ], [ 0, %37 ] %47 = load ptr, ptr %21, align 8, !tbaa !18 %48 = getelementptr inbounds i8, ptr %47, i64 16 store i64 %46, ptr %48, align 8, !tbaa !28 br label %49 49: ; preds = %45, %30, %26, %17 %50 = phi i64 [ %18, %30 ], [ %18, %26 ], [ %18, %17 ], [ %41, %45 ] %51 = phi ptr [ %19, %30 ], [ %19, %26 ], [ %19, %17 ], [ %40, %45 ] %52 = add nuw nsw i64 %20, 1 %53 = load i32, ptr @g_maxclients, align 4, !tbaa !13 %54 = sext i32 %53 to i64 %55 = icmp slt i64 %52, %54 br i1 %55, label %17, label %12, !llvm.loop !29 56: ; preds = %14, %82 %57 = phi i32 [ %53, %14 ], [ %83, %82 ] %58 = phi i64 [ %16, %14 ], [ %84, %82 ] %59 = phi ptr [ %15, %14 ], [ %85, %82 ] %60 = phi i64 [ 0, %14 ], [ %86, %82 ] %61 = getelementptr inbounds %struct.TYPE_16__, ptr %59, i64 %60 %62 = load ptr, ptr %61, align 8, !tbaa !18 %63 = getelementptr inbounds i8, ptr %62, i64 8 %64 = load i64, ptr %63, align 8, !tbaa !20 %65 = icmp eq i64 %64, %58 br i1 %65, label %66, label %82 66: ; preds = %56 %67 = getelementptr inbounds i8, ptr %61, i64 8 %68 = load i64, ptr %67, align 8, !tbaa !25 %69 = icmp eq i64 %68, 0 br i1 %69, label %82, label %70 70: ; preds = %66 %71 = load i64, ptr %62, align 8, !tbaa !26 %72 = load i64, ptr @TEAM_RED, align 8, !tbaa !12 %73 = icmp eq i64 %71, %72 %74 = load i64, ptr @TEAM_BLUE, align 8 %75 = icmp eq i64 %71, %74 %76 = select i1 %73, i1 true, i1 %75 br i1 %76, label %77, label %82 77: ; preds = %70 %78 = tail call i32 @TeamplayInfoMessage(ptr noundef nonnull %61) #2 %79 = load ptr, ptr @g_entities, align 8, !tbaa !16 %80 = load i64, ptr @CON_CONNECTED, align 8, !tbaa !12 %81 = load i32, ptr @g_maxclients, align 4, !tbaa !13 br label %82 82: ; preds = %70, %66, %77, %56 %83 = phi i32 [ %57, %70 ], [ %57, %66 ], [ %81, %77 ], [ %57, %56 ] %84 = phi i64 [ %58, %70 ], [ %58, %66 ], [ %80, %77 ], [ %58, %56 ] %85 = phi ptr [ %59, %70 ], [ %59, %66 ], [ %79, %77 ], [ %59, %56 ] %86 = add nuw nsw i64 %60, 1 %87 = sext i32 %83 to i64 %88 = icmp slt i64 %86, %87 br i1 %88, label %56, label %89, !llvm.loop !31 89: ; preds = %82, %6, %12, %0 ret void } declare ptr @Team_GetLocation(ptr noundef) local_unnamed_addr #1 declare i32 @TeamplayInfoMessage(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_17__", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_18__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !17, i64 0} !19 = !{!"TYPE_16__", !17, i64 0, !8, i64 8, !8, i64 16} !20 = !{!21, !8, i64 8} !21 = !{!"TYPE_15__", !22, i64 0, !23, i64 8} !22 = !{!"TYPE_14__", !8, i64 0} !23 = !{!"TYPE_13__", !8, i64 0, !24, i64 8} !24 = !{!"TYPE_12__", !8, i64 0} !25 = !{!19, !8, i64 8} !26 = !{!21, !8, i64 0} !27 = !{!19, !8, i64 16} !28 = !{!21, !8, i64 16} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = distinct !{!31, !30}
Quake-III-Arena_code_game_extr_g_team.c_CheckTeamStatus
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_free_buffers.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_free_buffers.c" target datalayout = "e-m:e-p270:32:32-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.ftmac100 = type { i32, ptr, i32 } %struct.TYPE_2__ = type { ptr, ptr } %struct.ftmac100_rxdes = type { i32 } %struct.ftmac100_txdes = type { i32 } @RX_QUEUE_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4 @RX_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @TX_QUEUE_ENTRIES = dso_local local_unnamed_addr global i32 0, align 4 @DMA_TO_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ftmac100_free_buffers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ftmac100_free_buffers(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @RX_QUEUE_ENTRIES, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 1 %6 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 2 br label %13 7: ; preds = %28, %1 %8 = load i32, ptr @TX_QUEUE_ENTRIES, align 4, !tbaa !5 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %52 10: ; preds = %7 %11 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 1 %12 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 2 br label %33 13: ; preds = %4, %28 %14 = phi i64 [ 0, %4 ], [ %29, %28 ] %15 = load ptr, ptr %5, align 8, !tbaa !9 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.ftmac100_rxdes, ptr %17, i64 %14 %19 = tail call ptr @ftmac100_rxdes_get_page(ptr noundef %18) #2 %20 = tail call i32 @ftmac100_rxdes_get_dma_addr(ptr noundef %18) #2 %21 = icmp eq ptr %19, null br i1 %21, label %28, label %22 22: ; preds = %13 %23 = load i32, ptr %6, align 8, !tbaa !14 %24 = load i32, ptr @RX_BUF_SIZE, align 4, !tbaa !5 %25 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !5 %26 = tail call i32 @dma_unmap_page(i32 noundef %23, i32 noundef %20, i32 noundef %24, i32 noundef %25) #2 %27 = tail call i32 @__free_page(ptr noundef nonnull %19) #2 br label %28 28: ; preds = %13, %22 %29 = add nuw nsw i64 %14, 1 %30 = load i32, ptr @RX_QUEUE_ENTRIES, align 4, !tbaa !5 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %29, %31 br i1 %32, label %13, label %7, !llvm.loop !15 33: ; preds = %10, %47 %34 = phi i64 [ 0, %10 ], [ %48, %47 ] %35 = load ptr, ptr %11, align 8, !tbaa !9 %36 = load ptr, ptr %35, align 8, !tbaa !17 %37 = getelementptr inbounds %struct.ftmac100_txdes, ptr %36, i64 %34 %38 = tail call ptr @ftmac100_txdes_get_skb(ptr noundef %37) #2 %39 = tail call i32 @ftmac100_txdes_get_dma_addr(ptr noundef %37) #2 %40 = icmp eq ptr %38, null br i1 %40, label %47, label %41 41: ; preds = %33 %42 = load i32, ptr %12, align 8, !tbaa !14 %43 = tail call i32 @skb_headlen(ptr noundef nonnull %38) #2 %44 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !5 %45 = tail call i32 @dma_unmap_single(i32 noundef %42, i32 noundef %39, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %38) #2 br label %47 47: ; preds = %33, %41 %48 = add nuw nsw i64 %34, 1 %49 = load i32, ptr @TX_QUEUE_ENTRIES, align 4, !tbaa !5 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %48, %50 br i1 %51, label %33, label %52, !llvm.loop !18 52: ; preds = %47, %7 %53 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 2 %54 = load i32, ptr %53, align 8, !tbaa !14 %55 = getelementptr inbounds %struct.ftmac100, ptr %0, i64 0, i32 1 %56 = load ptr, ptr %55, align 8, !tbaa !9 %57 = load i32, ptr %0, align 8, !tbaa !19 %58 = tail call i32 @dma_free_coherent(i32 noundef %54, i32 noundef 4, ptr noundef %56, i32 noundef %57) #2 ret void } declare ptr @ftmac100_rxdes_get_page(ptr noundef) local_unnamed_addr #1 declare i32 @ftmac100_rxdes_get_dma_addr(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_page(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 declare ptr @ftmac100_txdes_get_skb(ptr noundef) local_unnamed_addr #1 declare i32 @ftmac100_txdes_get_dma_addr(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @dma_free_coherent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"ftmac100", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_2__", !11, i64 0, !11, i64 8} !14 = !{!10, !6, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!13, !11, i64 0} !18 = distinct !{!18, !16} !19 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_free_buffers.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_free_buffers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ftmac100_rxdes = type { i32 } %struct.ftmac100_txdes = type { i32 } @RX_QUEUE_ENTRIES = common local_unnamed_addr global i32 0, align 4 @RX_BUF_SIZE = common local_unnamed_addr global i32 0, align 4 @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @TX_QUEUE_ENTRIES = common local_unnamed_addr global i32 0, align 4 @DMA_TO_DEVICE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ftmac100_free_buffers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ftmac100_free_buffers(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @RX_QUEUE_ENTRIES, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = getelementptr inbounds i8, ptr %0, i64 16 br label %13 7: ; preds = %28, %1 %8 = load i32, ptr @TX_QUEUE_ENTRIES, align 4, !tbaa !6 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %52 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = getelementptr inbounds i8, ptr %0, i64 16 br label %33 13: ; preds = %4, %28 %14 = phi i64 [ 0, %4 ], [ %29, %28 ] %15 = load ptr, ptr %5, align 8, !tbaa !10 %16 = getelementptr inbounds i8, ptr %15, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !13 %18 = getelementptr inbounds %struct.ftmac100_rxdes, ptr %17, i64 %14 %19 = tail call ptr @ftmac100_rxdes_get_page(ptr noundef %18) #2 %20 = tail call i32 @ftmac100_rxdes_get_dma_addr(ptr noundef %18) #2 %21 = icmp eq ptr %19, null br i1 %21, label %28, label %22 22: ; preds = %13 %23 = load i32, ptr %6, align 8, !tbaa !15 %24 = load i32, ptr @RX_BUF_SIZE, align 4, !tbaa !6 %25 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !6 %26 = tail call i32 @dma_unmap_page(i32 noundef %23, i32 noundef %20, i32 noundef %24, i32 noundef %25) #2 %27 = tail call i32 @__free_page(ptr noundef nonnull %19) #2 br label %28 28: ; preds = %13, %22 %29 = add nuw nsw i64 %14, 1 %30 = load i32, ptr @RX_QUEUE_ENTRIES, align 4, !tbaa !6 %31 = sext i32 %30 to i64 %32 = icmp slt i64 %29, %31 br i1 %32, label %13, label %7, !llvm.loop !16 33: ; preds = %10, %47 %34 = phi i64 [ 0, %10 ], [ %48, %47 ] %35 = load ptr, ptr %11, align 8, !tbaa !10 %36 = load ptr, ptr %35, align 8, !tbaa !18 %37 = getelementptr inbounds %struct.ftmac100_txdes, ptr %36, i64 %34 %38 = tail call ptr @ftmac100_txdes_get_skb(ptr noundef %37) #2 %39 = tail call i32 @ftmac100_txdes_get_dma_addr(ptr noundef %37) #2 %40 = icmp eq ptr %38, null br i1 %40, label %47, label %41 41: ; preds = %33 %42 = load i32, ptr %12, align 8, !tbaa !15 %43 = tail call i32 @skb_headlen(ptr noundef nonnull %38) #2 %44 = load i32, ptr @DMA_TO_DEVICE, align 4, !tbaa !6 %45 = tail call i32 @dma_unmap_single(i32 noundef %42, i32 noundef %39, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @dev_kfree_skb(ptr noundef nonnull %38) #2 br label %47 47: ; preds = %33, %41 %48 = add nuw nsw i64 %34, 1 %49 = load i32, ptr @TX_QUEUE_ENTRIES, align 4, !tbaa !6 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %48, %50 br i1 %51, label %33, label %52, !llvm.loop !19 52: ; preds = %47, %7 %53 = getelementptr inbounds i8, ptr %0, i64 16 %54 = load i32, ptr %53, align 8, !tbaa !15 %55 = getelementptr inbounds i8, ptr %0, i64 8 %56 = load ptr, ptr %55, align 8, !tbaa !10 %57 = load i32, ptr %0, align 8, !tbaa !20 %58 = tail call i32 @dma_free_coherent(i32 noundef %54, i32 noundef 4, ptr noundef %56, i32 noundef %57) #2 ret void } declare ptr @ftmac100_rxdes_get_page(ptr noundef) local_unnamed_addr #1 declare i32 @ftmac100_rxdes_get_dma_addr(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_page(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__free_page(ptr noundef) local_unnamed_addr #1 declare ptr @ftmac100_txdes_get_skb(ptr noundef) local_unnamed_addr #1 declare i32 @ftmac100_txdes_get_dma_addr(ptr noundef) local_unnamed_addr #1 declare i32 @dma_unmap_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare i32 @dev_kfree_skb(ptr noundef) local_unnamed_addr #1 declare i32 @dma_free_coherent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"ftmac100", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"TYPE_2__", !12, i64 0, !12, i64 8} !15 = !{!11, !7, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!14, !12, i64 0} !19 = distinct !{!19, !17} !20 = !{!11, !7, i64 0}
linux_drivers_net_ethernet_faraday_extr_ftmac100.c_ftmac100_free_buffers
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_alloc_fast_reg_mr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_alloc_fast_reg_mr.c" target datalayout = "e-m:e-p270:32:32-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.nes_adapter = type { i32, i32 } %struct.ib_mr = type { i32, i32 } %struct.nes_mr = type { %struct.ib_mr, i32 } @NES_4K_PBL_CHUNK_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @E2BIG = dso_local local_unnamed_addr global i32 0, align 4 @NES_RESOURCE_FAST_MR = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @NES_DBG_MR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Allocating STag 0x%08X index = 0x%08X\0A\00", align 1 @IWNES_MEMREG_TYPE_FMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nes_alloc_fast_reg_mr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @nes_alloc_fast_reg_mr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = tail call ptr @to_nespd(ptr noundef %0) #3 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call ptr @to_nesvnic(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = load ptr, ptr %8, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !15 %10 = sext i32 %1 to i64 %11 = load i32, ptr @NES_4K_PBL_CHUNK_SIZE, align 4, !tbaa !15 %12 = sext i32 %11 to i64 %13 = lshr i64 %12, 2 %14 = icmp ult i64 %13, %10 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @E2BIG, align 4, !tbaa !15 %17 = sub nsw i32 0, %16 %18 = tail call ptr @ERR_PTR(i32 noundef %17) #3 br label %63 19: ; preds = %2 %20 = call i32 @get_random_bytes(ptr noundef nonnull %3, i32 noundef 4) #3 %21 = load i32, ptr %3, align 4, !tbaa !15 %22 = ashr i32 %21, 8 %23 = load i32, ptr %9, align 4, !tbaa !16 %24 = srem i32 %22, %23 store i32 %24, ptr %3, align 4, !tbaa !15 %25 = getelementptr inbounds %struct.nes_adapter, ptr %9, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !18 %27 = load i32, ptr @NES_RESOURCE_FAST_MR, align 4, !tbaa !15 %28 = call i32 @nes_alloc_resource(ptr noundef nonnull %9, i32 noundef %26, i32 noundef %23, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %27) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %19 %31 = call ptr @ERR_PTR(i32 noundef %28) #3 br label %63 32: ; preds = %19 %33 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15 %34 = call ptr @kzalloc(i32 noundef 12, i32 noundef %33) #3 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load i32, ptr %25, align 4, !tbaa !18 %38 = load i32, ptr %4, align 4, !tbaa !15 %39 = call i32 @nes_free_resource(ptr noundef nonnull %9, i32 noundef %37, i32 noundef %38) #3 %40 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %41 = sub nsw i32 0, %40 %42 = call ptr @ERR_PTR(i32 noundef %41) #3 br label %63 43: ; preds = %32 %44 = load i32, ptr %4, align 4, !tbaa !15 %45 = shl i32 %44, 8 %46 = add nsw i32 %45, %21 %47 = load i32, ptr @NES_DBG_MR, align 4, !tbaa !15 %48 = call i32 @nes_debug(i32 noundef %47, ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %44) #3 %49 = call i32 @alloc_fast_reg_mr(ptr noundef nonnull %8, ptr noundef %5, i32 noundef %46, i32 noundef %1) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %43 store i32 %46, ptr %34, align 4, !tbaa !19 %52 = getelementptr inbounds %struct.ib_mr, ptr %34, i64 0, i32 1 store i32 %46, ptr %52, align 4, !tbaa !22 %53 = load i32, ptr @IWNES_MEMREG_TYPE_FMEM, align 4, !tbaa !15 %54 = getelementptr inbounds %struct.nes_mr, ptr %34, i64 0, i32 1 store i32 %53, ptr %54, align 4, !tbaa !23 br label %63 55: ; preds = %43 %56 = call i32 @kfree(ptr noundef nonnull %34) #3 %57 = load i32, ptr %25, align 4, !tbaa !18 %58 = load i32, ptr %4, align 4, !tbaa !15 %59 = call i32 @nes_free_resource(ptr noundef nonnull %9, i32 noundef %57, i32 noundef %58) #3 %60 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %61 = sub nsw i32 0, %60 %62 = call ptr @ERR_PTR(i32 noundef %61) #3 br label %63 63: ; preds = %51, %55, %36, %30, %15 %64 = phi ptr [ %18, %15 ], [ %31, %30 ], [ %42, %36 ], [ %34, %51 ], [ %62, %55 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret ptr %64 } ; 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_nespd(ptr noundef) local_unnamed_addr #2 declare ptr @to_nesvnic(i32 noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_alloc_resource(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_free_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @alloc_fast_reg_mr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(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 = !{!"ib_pd", !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 = !{!"nes_vnic", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"nes_device", !12, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"nes_adapter", !7, i64 0, !7, i64 4} !18 = !{!17, !7, i64 4} !19 = !{!20, !7, i64 0} !20 = !{!"nes_mr", !21, i64 0, !7, i64 8} !21 = !{!"ib_mr", !7, i64 0, !7, i64 4} !22 = !{!20, !7, i64 4} !23 = !{!20, !7, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_alloc_fast_reg_mr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/nes/extr_nes_verbs.c_nes_alloc_fast_reg_mr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NES_4K_PBL_CHUNK_SIZE = common local_unnamed_addr global i32 0, align 4 @E2BIG = common local_unnamed_addr global i32 0, align 4 @NES_RESOURCE_FAST_MR = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @NES_DBG_MR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Allocating STag 0x%08X index = 0x%08X\0A\00", align 1 @IWNES_MEMREG_TYPE_FMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nes_alloc_fast_reg_mr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @nes_alloc_fast_reg_mr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = tail call ptr @to_nespd(ptr noundef %0) #3 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call ptr @to_nesvnic(i32 noundef %6) #3 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = load ptr, ptr %8, align 8, !tbaa !14 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 store i32 0, ptr %4, align 4, !tbaa !16 %10 = sext i32 %1 to i64 %11 = load i32, ptr @NES_4K_PBL_CHUNK_SIZE, align 4, !tbaa !16 %12 = sext i32 %11 to i64 %13 = lshr i64 %12, 2 %14 = icmp ult i64 %13, %10 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load i32, ptr @E2BIG, align 4, !tbaa !16 %17 = sub nsw i32 0, %16 %18 = tail call ptr @ERR_PTR(i32 noundef %17) #3 br label %63 19: ; preds = %2 %20 = call i32 @get_random_bytes(ptr noundef nonnull %3, i32 noundef 4) #3 %21 = load i32, ptr %3, align 4, !tbaa !16 %22 = ashr i32 %21, 8 %23 = load i32, ptr %9, align 4, !tbaa !17 %24 = srem i32 %22, %23 store i32 %24, ptr %3, align 4, !tbaa !16 %25 = getelementptr inbounds i8, ptr %9, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !19 %27 = load i32, ptr @NES_RESOURCE_FAST_MR, align 4, !tbaa !16 %28 = call i32 @nes_alloc_resource(ptr noundef nonnull %9, i32 noundef %26, i32 noundef %23, ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %27) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %19 %31 = call ptr @ERR_PTR(i32 noundef %28) #3 br label %63 32: ; preds = %19 %33 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %34 = call ptr @kzalloc(i32 noundef 12, i32 noundef %33) #3 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load i32, ptr %25, align 4, !tbaa !19 %38 = load i32, ptr %4, align 4, !tbaa !16 %39 = call i32 @nes_free_resource(ptr noundef nonnull %9, i32 noundef %37, i32 noundef %38) #3 %40 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %41 = sub nsw i32 0, %40 %42 = call ptr @ERR_PTR(i32 noundef %41) #3 br label %63 43: ; preds = %32 %44 = load i32, ptr %4, align 4, !tbaa !16 %45 = shl i32 %44, 8 %46 = add nsw i32 %45, %21 %47 = load i32, ptr @NES_DBG_MR, align 4, !tbaa !16 %48 = call i32 @nes_debug(i32 noundef %47, ptr noundef nonnull @.str, i32 noundef %46, i32 noundef %44) #3 %49 = call i32 @alloc_fast_reg_mr(ptr noundef nonnull %8, ptr noundef %5, i32 noundef %46, i32 noundef %1) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %43 store i32 %46, ptr %34, align 4, !tbaa !20 %52 = getelementptr inbounds i8, ptr %34, i64 4 store i32 %46, ptr %52, align 4, !tbaa !23 %53 = load i32, ptr @IWNES_MEMREG_TYPE_FMEM, align 4, !tbaa !16 %54 = getelementptr inbounds i8, ptr %34, i64 8 store i32 %53, ptr %54, align 4, !tbaa !24 br label %63 55: ; preds = %43 %56 = call i32 @kfree(ptr noundef nonnull %34) #3 %57 = load i32, ptr %25, align 4, !tbaa !19 %58 = load i32, ptr %4, align 4, !tbaa !16 %59 = call i32 @nes_free_resource(ptr noundef nonnull %9, i32 noundef %57, i32 noundef %58) #3 %60 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %61 = sub nsw i32 0, %60 %62 = call ptr @ERR_PTR(i32 noundef %61) #3 br label %63 63: ; preds = %51, %55, %36, %30, %15 %64 = phi ptr [ %18, %15 ], [ %31, %30 ], [ %42, %36 ], [ %34, %51 ], [ %62, %55 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret ptr %64 } ; 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_nespd(ptr noundef) local_unnamed_addr #2 declare ptr @to_nesvnic(i32 noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #2 declare i32 @get_random_bytes(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_alloc_resource(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_free_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nes_debug(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @alloc_fast_reg_mr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kfree(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 = !{!"ib_pd", !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 = !{!"nes_vnic", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"nes_device", !13, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"nes_adapter", !8, i64 0, !8, i64 4} !19 = !{!18, !8, i64 4} !20 = !{!21, !8, i64 0} !21 = !{!"nes_mr", !22, i64 0, !8, i64 8} !22 = !{!"ib_mr", !8, i64 0, !8, i64 4} !23 = !{!21, !8, i64 4} !24 = !{!21, !8, i64 8}
fastsocket_kernel_drivers_infiniband_hw_nes_extr_nes_verbs.c_nes_alloc_fast_reg_mr
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_ethtool.c_bnx2x_get_ts_info.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_ethtool.c_bnx2x_get_ts_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" %struct.bnx2x = type { i32, i64 } %struct.ethtool_ts_info = type { i32, i32, i32, i32 } @PTP_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_TX_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RX_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_TX_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RX_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RAW_HARDWARE = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_NONE = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V1_L4_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V2_L4_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V2_EVENT = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_TX_OFF = dso_local local_unnamed_addr global i32 0, align 4 @HWTSTAMP_TX_ON = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_get_ts_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @bnx2x_get_ts_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr @PTP_SUPPORTED, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %46, label %8 8: ; preds = %2 %9 = load i32, ptr @SOF_TIMESTAMPING_TX_SOFTWARE, align 4, !tbaa !11 %10 = load i32, ptr @SOF_TIMESTAMPING_RX_SOFTWARE, align 4, !tbaa !11 %11 = or i32 %10, %9 %12 = load i32, ptr @SOF_TIMESTAMPING_SOFTWARE, align 4, !tbaa !11 %13 = or i32 %11, %12 %14 = load i32, ptr @SOF_TIMESTAMPING_TX_HARDWARE, align 4, !tbaa !11 %15 = or i32 %13, %14 %16 = load i32, ptr @SOF_TIMESTAMPING_RX_HARDWARE, align 4, !tbaa !11 %17 = or i32 %15, %16 %18 = load i32, ptr @SOF_TIMESTAMPING_RAW_HARDWARE, align 4, !tbaa !11 %19 = or i32 %17, %18 store i32 %19, ptr %1, align 4, !tbaa !12 %20 = getelementptr inbounds %struct.bnx2x, ptr %3, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %8 %24 = tail call i32 @ptp_clock_index(i64 noundef %21) #2 br label %25 25: ; preds = %8, %23 %26 = phi i32 [ %24, %23 ], [ -1, %8 ] %27 = getelementptr inbounds %struct.ethtool_ts_info, ptr %1, i64 0, i32 1 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @HWTSTAMP_FILTER_NONE, align 4, !tbaa !11 %29 = shl nuw i32 1, %28 %30 = load i32, ptr @HWTSTAMP_FILTER_PTP_V1_L4_EVENT, align 4, !tbaa !11 %31 = shl nuw i32 1, %30 %32 = or i32 %31, %29 %33 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_L4_EVENT, align 4, !tbaa !11 %34 = shl nuw i32 1, %33 %35 = or i32 %32, %34 %36 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_EVENT, align 4, !tbaa !11 %37 = shl nuw i32 1, %36 %38 = or i32 %35, %37 %39 = getelementptr inbounds %struct.ethtool_ts_info, ptr %1, i64 0, i32 2 store i32 %38, ptr %39, align 4, !tbaa !15 %40 = load i32, ptr @HWTSTAMP_TX_OFF, align 4, !tbaa !11 %41 = shl nuw i32 1, %40 %42 = load i32, ptr @HWTSTAMP_TX_ON, align 4, !tbaa !11 %43 = shl nuw i32 1, %42 %44 = or i32 %43, %41 %45 = getelementptr inbounds %struct.ethtool_ts_info, ptr %1, i64 0, i32 3 store i32 %44, ptr %45, align 4, !tbaa !16 br label %48 46: ; preds = %2 %47 = tail call i32 @ethtool_op_get_ts_info(ptr noundef %0, ptr noundef %1) #2 br label %48 48: ; preds = %46, %25 %49 = phi i32 [ 0, %25 ], [ %47, %46 ] ret i32 %49 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ptp_clock_index(i64 noundef) local_unnamed_addr #1 declare i32 @ethtool_op_get_ts_info(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"bnx2x", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ethtool_ts_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !14 = !{!6, !10, i64 8} !15 = !{!13, !7, i64 8} !16 = !{!13, !7, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_ethtool.c_bnx2x_get_ts_info.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_ethtool.c_bnx2x_get_ts_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PTP_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_TX_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RX_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_TX_HARDWARE = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RX_HARDWARE = common local_unnamed_addr global i32 0, align 4 @SOF_TIMESTAMPING_RAW_HARDWARE = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_NONE = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V1_L4_EVENT = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V2_L4_EVENT = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_FILTER_PTP_V2_EVENT = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_TX_OFF = common local_unnamed_addr global i32 0, align 4 @HWTSTAMP_TX_ON = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bnx2x_get_ts_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @bnx2x_get_ts_info(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %0) #2 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr @PTP_SUPPORTED, align 4, !tbaa !12 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %46, label %8 8: ; preds = %2 %9 = load i32, ptr @SOF_TIMESTAMPING_TX_SOFTWARE, align 4, !tbaa !12 %10 = load i32, ptr @SOF_TIMESTAMPING_RX_SOFTWARE, align 4, !tbaa !12 %11 = or i32 %10, %9 %12 = load i32, ptr @SOF_TIMESTAMPING_SOFTWARE, align 4, !tbaa !12 %13 = or i32 %11, %12 %14 = load i32, ptr @SOF_TIMESTAMPING_TX_HARDWARE, align 4, !tbaa !12 %15 = or i32 %13, %14 %16 = load i32, ptr @SOF_TIMESTAMPING_RX_HARDWARE, align 4, !tbaa !12 %17 = or i32 %15, %16 %18 = load i32, ptr @SOF_TIMESTAMPING_RAW_HARDWARE, align 4, !tbaa !12 %19 = or i32 %17, %18 store i32 %19, ptr %1, align 4, !tbaa !13 %20 = getelementptr inbounds i8, ptr %3, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %8 %24 = tail call i32 @ptp_clock_index(i64 noundef %21) #2 br label %25 25: ; preds = %8, %23 %26 = phi i32 [ %24, %23 ], [ -1, %8 ] %27 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @HWTSTAMP_FILTER_NONE, align 4, !tbaa !12 %29 = shl nuw i32 1, %28 %30 = load i32, ptr @HWTSTAMP_FILTER_PTP_V1_L4_EVENT, align 4, !tbaa !12 %31 = shl nuw i32 1, %30 %32 = or i32 %31, %29 %33 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_L4_EVENT, align 4, !tbaa !12 %34 = shl nuw i32 1, %33 %35 = or i32 %32, %34 %36 = load i32, ptr @HWTSTAMP_FILTER_PTP_V2_EVENT, align 4, !tbaa !12 %37 = shl nuw i32 1, %36 %38 = or i32 %35, %37 %39 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %38, ptr %39, align 4, !tbaa !16 %40 = load i32, ptr @HWTSTAMP_TX_OFF, align 4, !tbaa !12 %41 = shl nuw i32 1, %40 %42 = load i32, ptr @HWTSTAMP_TX_ON, align 4, !tbaa !12 %43 = shl nuw i32 1, %42 %44 = or i32 %43, %41 %45 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %44, ptr %45, align 4, !tbaa !17 br label %48 46: ; preds = %2 %47 = tail call i32 @ethtool_op_get_ts_info(ptr noundef %0, ptr noundef %1) #2 br label %48 48: ; preds = %46, %25 %49 = phi i32 [ 0, %25 ], [ %47, %46 ] ret i32 %49 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ptp_clock_index(i64 noundef) local_unnamed_addr #1 declare i32 @ethtool_op_get_ts_info(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"bnx2x", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"ethtool_ts_info", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !15 = !{!7, !11, i64 8} !16 = !{!14, !8, i64 8} !17 = !{!14, !8, i64 12}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_ethtool.c_bnx2x_get_ts_info
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_dc21285.c_dc21285_write16.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_dc21285.c_dc21285_write16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CSR_ROMWRITEREG = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dc21285_write16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dc21285_write16(ptr nocapture noundef readonly %0, ptr nocapture readonly %1, i64 noundef %2) #0 { %4 = tail call i64 (...) @machine_is_netwinder() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 (...) @nw_en_write() #2 br label %8 8: ; preds = %6, %3 %9 = and i64 %2, 3 %10 = load ptr, ptr @CSR_ROMWRITEREG, align 8, !tbaa !5 store i64 %9, ptr %10, align 8, !tbaa !9 %11 = and i64 %2, -4 %12 = load i32, ptr %1, align 4, !tbaa !11 %13 = load i64, ptr %0, align 8, !tbaa !13 %14 = add i64 %13, %11 %15 = inttoptr i64 %14 to ptr store i32 %12, ptr %15, align 4, !tbaa !11 ret void } declare i64 @machine_is_netwinder(...) local_unnamed_addr #1 declare i32 @nw_en_write(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"map_info", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_dc21285.c_dc21285_write16.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/maps/extr_dc21285.c_dc21285_write16.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CSR_ROMWRITEREG = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @dc21285_write16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dc21285_write16(ptr nocapture noundef readonly %0, i64 %1, i64 noundef %2) #0 { %4 = tail call i64 @machine_is_netwinder() #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @nw_en_write() #2 br label %8 8: ; preds = %6, %3 %9 = inttoptr i64 %1 to ptr %10 = and i64 %2, 3 %11 = load ptr, ptr @CSR_ROMWRITEREG, align 8, !tbaa !6 store i64 %10, ptr %11, align 8, !tbaa !10 %12 = and i64 %2, -4 %13 = load i32, ptr %9, align 4, !tbaa !12 %14 = load i64, ptr %0, align 8, !tbaa !14 %15 = add i64 %14, %12 %16 = inttoptr i64 %15 to ptr store i32 %13, ptr %16, align 4, !tbaa !12 ret void } declare i64 @machine_is_netwinder(...) local_unnamed_addr #1 declare i32 @nw_en_write(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"map_info", !11, i64 0}
fastsocket_kernel_drivers_mtd_maps_extr_dc21285.c_dc21285_write16
; ModuleID = 'AnghaBench/twemproxy/src/proto/extr_nc_memcache.c_memcache_touch.c' source_filename = "AnghaBench/twemproxy/src/proto/extr_nc_memcache.c_memcache_touch.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MSG_REQ_MC_TOUCH = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @memcache_touch], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @memcache_touch(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @MSG_REQ_MC_TOUCH, align 8, !tbaa !10 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } 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 = !{!"msg", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/twemproxy/src/proto/extr_nc_memcache.c_memcache_touch.c' source_filename = "AnghaBench/twemproxy/src/proto/extr_nc_memcache.c_memcache_touch.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSG_REQ_MC_TOUCH = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @memcache_touch], 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 @memcache_touch(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @MSG_REQ_MC_TOUCH, align 8, !tbaa !11 %4 = icmp eq i64 %2, %3 %5 = zext i1 %4 to i32 ret i32 %5 } 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 = !{!"msg", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
twemproxy_src_proto_extr_nc_memcache.c_memcache_touch
; ModuleID = 'AnghaBench/zfs/module/icp/io/extr_edonr_mod.c_edonr_mod_init.c' source_filename = "AnghaBench/zfs/module/icp/io/extr_edonr_mod.c_edonr_mod_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" @modlinkage = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @edonr_mod_init() local_unnamed_addr #0 { %1 = tail call i32 @mod_install(ptr noundef nonnull @modlinkage) #2 ret i32 %1 } declare i32 @mod_install(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/zfs/module/icp/io/extr_edonr_mod.c_edonr_mod_init.c' source_filename = "AnghaBench/zfs/module/icp/io/extr_edonr_mod.c_edonr_mod_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @modlinkage = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @edonr_mod_init() local_unnamed_addr #0 { %1 = tail call i32 @mod_install(ptr noundef nonnull @modlinkage) #2 ret i32 %1 } declare i32 @mod_install(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)"}
zfs_module_icp_io_extr_edonr_mod.c_edonr_mod_init
; ModuleID = 'AnghaBench/freebsd/usr.bin/xargs/extr_xargs.c_xwait.c' source_filename = "AnghaBench/freebsd/usr.bin/xargs/extr_xargs.c_xwait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ECHILD = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @WNOHANG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xwait], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xwait(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i64 (...) @pids_empty() #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = icmp eq i32 %0, 0 br label %9 7: ; preds = %2 %8 = load i32, ptr @ECHILD, align 4, !tbaa !5 store i32 %8, ptr @errno, align 4, !tbaa !5 br label %17 9: ; preds = %5, %14 %10 = load i32, ptr @WNOHANG, align 4 %11 = select i1 %6, i32 %10, i32 0 %12 = tail call i32 @waitpid(i32 noundef -1, ptr noundef %1, i32 noundef %11) #2 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = tail call i64 @pids_remove(i32 noundef %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %9, label %17, !llvm.loop !9 17: ; preds = %9, %14, %7 %18 = phi i32 [ -1, %7 ], [ %12, %14 ], [ %12, %9 ] ret i32 %18 } declare i64 @pids_empty(...) local_unnamed_addr #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pids_remove(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/usr.bin/xargs/extr_xargs.c_xwait.c' source_filename = "AnghaBench/freebsd/usr.bin/xargs/extr_xargs.c_xwait.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECHILD = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @WNOHANG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xwait], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xwait(i32 noundef %0, ptr noundef %1) #0 { %3 = tail call i64 @pids_empty() #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = icmp eq i32 %0, 0 br label %9 7: ; preds = %2 %8 = load i32, ptr @ECHILD, align 4, !tbaa !6 store i32 %8, ptr @errno, align 4, !tbaa !6 br label %17 9: ; preds = %5, %14 %10 = load i32, ptr @WNOHANG, align 4 %11 = select i1 %6, i32 %10, i32 0 %12 = tail call i32 @waitpid(i32 noundef -1, ptr noundef %1, i32 noundef %11) #2 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = tail call i64 @pids_remove(i32 noundef %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %9, label %17, !llvm.loop !10 17: ; preds = %9, %14, %7 %18 = phi i32 [ -1, %7 ], [ %12, %14 ], [ %12, %9 ] ret i32 %18 } declare i64 @pids_empty(...) local_unnamed_addr #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @pids_remove(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_usr.bin_xargs_extr_xargs.c_xwait
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_smb347-charger.c_smb347_set_current_limits.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_smb347-charger.c_smb347_set_current_limits.c" target datalayout = "e-m:e-p270:32:32-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.smb347_charger = type { i32, ptr } %struct.TYPE_2__ = type { i64, i64 } @icl_tbl = dso_local local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT = dso_local local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_DC_MASK = dso_local local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_DC_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_USB_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @smb347_set_current_limits], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smb347_set_current_limits(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.smb347_charger, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = icmp eq i64 %5, 0 br i1 %6, label %25, label %7 7: ; preds = %1 %8 = load i32, ptr @icl_tbl, align 4, !tbaa !14 %9 = tail call i32 @ARRAY_SIZE(i32 noundef %8) #2 %10 = load ptr, ptr %2, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = tail call i32 @current_to_hw(i32 noundef %8, i32 noundef %9, i64 noundef %12) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %43, label %15 15: ; preds = %7 %16 = load i32, ptr %0, align 8, !tbaa !15 %17 = load i32, ptr @CFG_CURRENT_LIMIT, align 4, !tbaa !14 %18 = load i32, ptr @CFG_CURRENT_LIMIT_DC_MASK, align 4, !tbaa !14 %19 = load i32, ptr @CFG_CURRENT_LIMIT_DC_SHIFT, align 4, !tbaa !14 %20 = shl i32 %13, %19 %21 = tail call i32 @regmap_update_bits(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %20) #2 %22 = icmp slt i32 %21, 0 br i1 %22, label %43, label %23 23: ; preds = %15 %24 = load ptr, ptr %2, align 8, !tbaa !5 br label %25 25: ; preds = %23, %1 %26 = phi ptr [ %24, %23 ], [ %3, %1 ] %27 = load i64, ptr %26, align 8, !tbaa !16 %28 = icmp eq i64 %27, 0 br i1 %28, label %42, label %29 29: ; preds = %25 %30 = load i32, ptr @icl_tbl, align 4, !tbaa !14 %31 = tail call i32 @ARRAY_SIZE(i32 noundef %30) #2 %32 = load ptr, ptr %2, align 8, !tbaa !5 %33 = load i64, ptr %32, align 8, !tbaa !16 %34 = tail call i32 @current_to_hw(i32 noundef %30, i32 noundef %31, i64 noundef %33) #2 %35 = icmp slt i32 %34, 0 br i1 %35, label %43, label %36 36: ; preds = %29 %37 = load i32, ptr %0, align 8, !tbaa !15 %38 = load i32, ptr @CFG_CURRENT_LIMIT, align 4, !tbaa !14 %39 = load i32, ptr @CFG_CURRENT_LIMIT_USB_MASK, align 4, !tbaa !14 %40 = tail call i32 @regmap_update_bits(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %34) #2 %41 = icmp slt i32 %40, 0 br i1 %41, label %43, label %42 42: ; preds = %36, %25 br label %43 43: ; preds = %36, %29, %15, %7, %42 %44 = phi i32 [ 0, %42 ], [ %13, %7 ], [ %21, %15 ], [ %34, %29 ], [ %40, %36 ] ret i32 %44 } declare i32 @current_to_hw(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"smb347_charger", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_smb347-charger.c_smb347_set_current_limits.c' source_filename = "AnghaBench/linux/drivers/power/supply/extr_smb347-charger.c_smb347_set_current_limits.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @icl_tbl = common local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT = common local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_DC_MASK = common local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_DC_SHIFT = common local_unnamed_addr global i32 0, align 4 @CFG_CURRENT_LIMIT_USB_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @smb347_set_current_limits], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @smb347_set_current_limits(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = icmp eq i64 %5, 0 br i1 %6, label %25, label %7 7: ; preds = %1 %8 = load i32, ptr @icl_tbl, align 4, !tbaa !15 %9 = tail call i32 @ARRAY_SIZE(i32 noundef %8) #2 %10 = load ptr, ptr %2, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %10, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !12 %13 = tail call i32 @current_to_hw(i32 noundef %8, i32 noundef %9, i64 noundef %12) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %43, label %15 15: ; preds = %7 %16 = load i32, ptr %0, align 8, !tbaa !16 %17 = load i32, ptr @CFG_CURRENT_LIMIT, align 4, !tbaa !15 %18 = load i32, ptr @CFG_CURRENT_LIMIT_DC_MASK, align 4, !tbaa !15 %19 = load i32, ptr @CFG_CURRENT_LIMIT_DC_SHIFT, align 4, !tbaa !15 %20 = shl i32 %13, %19 %21 = tail call i32 @regmap_update_bits(i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %20) #2 %22 = icmp slt i32 %21, 0 br i1 %22, label %43, label %23 23: ; preds = %15 %24 = load ptr, ptr %2, align 8, !tbaa !6 br label %25 25: ; preds = %23, %1 %26 = phi ptr [ %24, %23 ], [ %3, %1 ] %27 = load i64, ptr %26, align 8, !tbaa !17 %28 = icmp eq i64 %27, 0 br i1 %28, label %42, label %29 29: ; preds = %25 %30 = load i32, ptr @icl_tbl, align 4, !tbaa !15 %31 = tail call i32 @ARRAY_SIZE(i32 noundef %30) #2 %32 = load ptr, ptr %2, align 8, !tbaa !6 %33 = load i64, ptr %32, align 8, !tbaa !17 %34 = tail call i32 @current_to_hw(i32 noundef %30, i32 noundef %31, i64 noundef %33) #2 %35 = icmp slt i32 %34, 0 br i1 %35, label %43, label %36 36: ; preds = %29 %37 = load i32, ptr %0, align 8, !tbaa !16 %38 = load i32, ptr @CFG_CURRENT_LIMIT, align 4, !tbaa !15 %39 = load i32, ptr @CFG_CURRENT_LIMIT_USB_MASK, align 4, !tbaa !15 %40 = tail call i32 @regmap_update_bits(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %34) #2 %41 = icmp slt i32 %40, 0 br i1 %41, label %43, label %42 42: ; preds = %36, %25 br label %43 43: ; preds = %36, %29, %15, %7, %42 %44 = phi i32 [ 0, %42 ], [ %13, %7 ], [ %21, %15 ], [ %34, %29 ], [ %40, %36 ] ret i32 %44 } declare i32 @current_to_hw(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"smb347_charger", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_2__", !14, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!13, !14, i64 0}
linux_drivers_power_supply_extr_smb347-charger.c_smb347_set_current_limits
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-pmcmsp.c_pmcmsptwi_poll_complete.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-pmcmsp.c_pmcmsptwi_poll_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } %struct.pmcmsptwi_data = type { i32, i64 } @MSP_MAX_POLL = dso_local local_unnamed_addr global i32 0, align 4 @MSP_TWI_BUSY_REG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8 @MSP_TWI_INT_STS_REG_OFFSET = dso_local local_unnamed_addr global i64 0, align 8 @MSP_POLL_DELAY = dso_local local_unnamed_addr global i32 0, align 4 @pmcmsptwi_adapter = dso_local global %struct.TYPE_2__ zeroinitializer, align 4 @.str = private unnamed_addr constant [22 x i8] c"Result: Poll timeout\0A\00", align 1 @MSP_TWI_XFER_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pmcmsptwi_poll_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @pmcmsptwi_poll_complete(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @MSP_MAX_POLL, align 4, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = getelementptr inbounds %struct.pmcmsptwi_data, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %23 %7 = phi i32 [ 0, %4 ], [ %26, %23 ] %8 = load i64, ptr %5, align 8, !tbaa !9 %9 = load i64, ptr @MSP_TWI_BUSY_REG_OFFSET, align 8, !tbaa !12 %10 = add nsw i64 %9, %8 %11 = tail call i64 @pmcmsptwi_readl(i64 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %6 %14 = load i64, ptr %5, align 8, !tbaa !9 %15 = load i64, ptr @MSP_TWI_INT_STS_REG_OFFSET, align 8, !tbaa !12 %16 = add nsw i64 %15, %14 %17 = tail call i64 @pmcmsptwi_readl(i64 noundef %16) #2 %18 = load i64, ptr %5, align 8, !tbaa !9 %19 = load i64, ptr @MSP_TWI_INT_STS_REG_OFFSET, align 8, !tbaa !12 %20 = add nsw i64 %19, %18 %21 = tail call i32 @pmcmsptwi_writel(i64 noundef %17, i64 noundef %20) #2 %22 = tail call i32 @pmcmsptwi_get_result(i64 noundef %17) #2 br label %32 23: ; preds = %6 %24 = load i32, ptr @MSP_POLL_DELAY, align 4, !tbaa !5 %25 = tail call i32 @udelay(i32 noundef %24) #2 %26 = add nuw nsw i32 %7, 1 %27 = load i32, ptr @MSP_MAX_POLL, align 4, !tbaa !5 %28 = icmp slt i32 %26, %27 br i1 %28, label %6, label %29, !llvm.loop !13 29: ; preds = %23, %1 %30 = tail call i32 @dev_dbg(ptr noundef nonnull @pmcmsptwi_adapter, ptr noundef nonnull @.str) #2 %31 = load i32, ptr @MSP_TWI_XFER_TIMEOUT, align 4, !tbaa !5 br label %32 32: ; preds = %13, %29 %33 = phi i32 [ %31, %29 ], [ %22, %13 ] store i32 %33, ptr %0, align 8, !tbaa !15 ret void } declare i64 @pmcmsptwi_readl(i64 noundef) local_unnamed_addr #1 declare i32 @pmcmsptwi_writel(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pmcmsptwi_get_result(i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"pmcmsptwi_data", !6, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-pmcmsp.c_pmcmsptwi_poll_complete.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-pmcmsp.c_pmcmsptwi_poll_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @MSP_MAX_POLL = common local_unnamed_addr global i32 0, align 4 @MSP_TWI_BUSY_REG_OFFSET = common local_unnamed_addr global i64 0, align 8 @MSP_TWI_INT_STS_REG_OFFSET = common local_unnamed_addr global i64 0, align 8 @MSP_POLL_DELAY = common local_unnamed_addr global i32 0, align 4 @pmcmsptwi_adapter = common global %struct.TYPE_2__ zeroinitializer, align 4 @.str = private unnamed_addr constant [22 x i8] c"Result: Poll timeout\0A\00", align 1 @MSP_TWI_XFER_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pmcmsptwi_poll_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @pmcmsptwi_poll_complete(ptr nocapture noundef %0) #0 { %2 = load i32, ptr @MSP_MAX_POLL, align 4, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %29 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %6 6: ; preds = %4, %23 %7 = phi i32 [ 0, %4 ], [ %26, %23 ] %8 = load i64, ptr %5, align 8, !tbaa !10 %9 = load i64, ptr @MSP_TWI_BUSY_REG_OFFSET, align 8, !tbaa !13 %10 = add nsw i64 %9, %8 %11 = tail call i64 @pmcmsptwi_readl(i64 noundef %10) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %6 %14 = load i64, ptr %5, align 8, !tbaa !10 %15 = load i64, ptr @MSP_TWI_INT_STS_REG_OFFSET, align 8, !tbaa !13 %16 = add nsw i64 %15, %14 %17 = tail call i64 @pmcmsptwi_readl(i64 noundef %16) #2 %18 = load i64, ptr %5, align 8, !tbaa !10 %19 = load i64, ptr @MSP_TWI_INT_STS_REG_OFFSET, align 8, !tbaa !13 %20 = add nsw i64 %19, %18 %21 = tail call i32 @pmcmsptwi_writel(i64 noundef %17, i64 noundef %20) #2 %22 = tail call i32 @pmcmsptwi_get_result(i64 noundef %17) #2 br label %32 23: ; preds = %6 %24 = load i32, ptr @MSP_POLL_DELAY, align 4, !tbaa !6 %25 = tail call i32 @udelay(i32 noundef %24) #2 %26 = add nuw nsw i32 %7, 1 %27 = load i32, ptr @MSP_MAX_POLL, align 4, !tbaa !6 %28 = icmp slt i32 %26, %27 br i1 %28, label %6, label %29, !llvm.loop !14 29: ; preds = %23, %1 %30 = tail call i32 @dev_dbg(ptr noundef nonnull @pmcmsptwi_adapter, ptr noundef nonnull @.str) #2 %31 = load i32, ptr @MSP_TWI_XFER_TIMEOUT, align 4, !tbaa !6 br label %32 32: ; preds = %13, %29 %33 = phi i32 [ %31, %29 ], [ %22, %13 ] store i32 %33, ptr %0, align 8, !tbaa !16 ret void } declare i64 @pmcmsptwi_readl(i64 noundef) local_unnamed_addr #1 declare i32 @pmcmsptwi_writel(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @pmcmsptwi_get_result(i64 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"pmcmsptwi_data", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!11, !7, i64 0}
linux_drivers_i2c_busses_extr_i2c-pmcmsp.c_pmcmsptwi_poll_complete
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_groupConcatFinalize.c' source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_groupConcatFinalize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @STRACCUM_TOOBIG = dso_local local_unnamed_addr global i64 0, align 8 @STRACCUM_NOMEM = dso_local local_unnamed_addr global i64 0, align 8 @sqlite3_free = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @groupConcatFinalize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @groupConcatFinalize(ptr noundef %0) #0 { %2 = tail call ptr @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !5 %6 = load i64, ptr @STRACCUM_TOOBIG, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sqlite3_result_error_toobig(ptr noundef %0) #2 br label %19 10: ; preds = %4 %11 = load i64, ptr @STRACCUM_NOMEM, align 8, !tbaa !10 %12 = icmp eq i64 %5, %11 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 @sqlite3_result_error_nomem(ptr noundef %0) #2 br label %19 15: ; preds = %10 %16 = tail call i32 @sqlite3StrAccumFinish(ptr noundef nonnull %2) #2 %17 = load i32, ptr @sqlite3_free, align 4, !tbaa !11 %18 = tail call i32 @sqlite3_result_text(ptr noundef %0, i32 noundef %16, i32 noundef -1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %15, %13, %1 ret void } declare ptr @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_toobig(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3StrAccumFinish(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"long", !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 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_groupConcatFinalize.c' source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_groupConcatFinalize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STRACCUM_TOOBIG = common local_unnamed_addr global i64 0, align 8 @STRACCUM_NOMEM = common local_unnamed_addr global i64 0, align 8 @sqlite3_free = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @groupConcatFinalize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @groupConcatFinalize(ptr noundef %0) #0 { %2 = tail call ptr @sqlite3_aggregate_context(ptr noundef %0, i32 noundef 0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !6 %6 = load i64, ptr @STRACCUM_TOOBIG, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %4 %9 = tail call i32 @sqlite3_result_error_toobig(ptr noundef %0) #2 br label %19 10: ; preds = %4 %11 = load i64, ptr @STRACCUM_NOMEM, align 8, !tbaa !11 %12 = icmp eq i64 %5, %11 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = tail call i32 @sqlite3_result_error_nomem(ptr noundef %0) #2 br label %19 15: ; preds = %10 %16 = tail call i32 @sqlite3StrAccumFinish(ptr noundef nonnull %2) #2 %17 = load i32, ptr @sqlite3_free, align 4, !tbaa !12 %18 = tail call i32 @sqlite3_result_text(ptr noundef %0, i32 noundef %16, i32 noundef -1, i32 noundef %17) #2 br label %19 19: ; preds = %8, %15, %13, %1 ret void } declare ptr @sqlite3_aggregate_context(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_toobig(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_result_text(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3StrAccumFinish(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"long", !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 = !{!"int", !9, i64 0}
nodemcu-firmware_app_sqlite3_extr_sqlite3.c_groupConcatFinalize
; ModuleID = 'AnghaBench/freebsd/usr.sbin/fwcontrol/extr_fwcontrol.c_sysctl_set_int.c' source_filename = "AnghaBench/freebsd/usr.sbin/fwcontrol/extr_fwcontrol.c_sysctl_set_int.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"sysctl %s failed.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sysctl_set_int], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sysctl_set_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 store i32 %1, ptr %3, align 4, !tbaa !5 %4 = call i64 @sysctlbyname(ptr noundef %0, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 4) #2 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0) #2 br label %8 8: ; preds = %6, %2 ret void } declare i64 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/fwcontrol/extr_fwcontrol.c_sysctl_set_int.c' source_filename = "AnghaBench/freebsd/usr.sbin/fwcontrol/extr_fwcontrol.c_sysctl_set_int.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 [18 x i8] c"sysctl %s failed.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sysctl_set_int], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sysctl_set_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 store i32 %1, ptr %3, align 4, !tbaa !6 %4 = call i64 @sysctlbyname(ptr noundef %0, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 4) #2 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef %0) #2 br label %8 8: ; preds = %6, %2 ret void } declare i64 @sysctlbyname(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_usr.sbin_fwcontrol_extr_fwcontrol.c_sysctl_set_int
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-iop/extr_pci.c_iop3xx_pci_abort.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-iop/extr_pci.c_iop3xx_pci_abort.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pt_regs = type { i32, i32 } @.str = private unnamed_addr constant [69 x i8] c"PCI abort: address = 0x%08lx fsr = 0x%03x PC = 0x%08lx LR = 0x%08lx\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @iop3xx_pci_abort], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @iop3xx_pci_abort(i64 noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.pt_regs, ptr %2, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @DBG(ptr noundef nonnull @.str, i64 noundef %0, i32 noundef %1, i32 noundef %4, i32 noundef %6) #2 %8 = and i32 %1, 1024 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %2, align 4, !tbaa !5 %12 = add nsw i32 %11, 4 store i32 %12, ptr %2, align 4, !tbaa !5 br label %13 13: ; preds = %10, %3 ret i32 0 } declare i32 @DBG(ptr noundef, i64 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 = !{!"pt_regs", !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 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/plat-iop/extr_pci.c_iop3xx_pci_abort.c' source_filename = "AnghaBench/fastsocket/kernel/arch/arm/plat-iop/extr_pci.c_iop3xx_pci_abort.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"PCI abort: address = 0x%08lx fsr = 0x%03x PC = 0x%08lx LR = 0x%08lx\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @iop3xx_pci_abort], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @iop3xx_pci_abort(i64 noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %2, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 @DBG(ptr noundef nonnull @.str, i64 noundef %0, i32 noundef %1, i32 noundef %4, i32 noundef %6) #2 %8 = and i32 %1, 1024 %9 = icmp eq i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %2, align 4, !tbaa !6 %12 = add nsw i32 %11, 4 store i32 %12, ptr %2, align 4, !tbaa !6 br label %13 13: ; preds = %10, %3 ret i32 0 } declare i32 @DBG(ptr noundef, i64 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 = !{!"pt_regs", !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 4}
fastsocket_kernel_arch_arm_plat-iop_extr_pci.c_iop3xx_pci_abort
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_symbol.c_mem_info__get.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_symbol.c_mem_info__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" ; Function Attrs: nounwind uwtable define dso_local noundef ptr @mem_info__get(ptr noundef returned %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @refcount_inc(ptr noundef nonnull %0) #2 br label %5 5: ; preds = %3, %1 ret ptr %0 } declare i32 @refcount_inc(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/tools/perf/util/extr_symbol.c_mem_info__get.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_symbol.c_mem_info__get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @mem_info__get(ptr noundef returned %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = tail call i32 @refcount_inc(ptr noundef nonnull %0) #2 br label %5 5: ; preds = %3, %1 ret ptr %0 } declare i32 @refcount_inc(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_tools_perf_util_extr_symbol.c_mem_info__get
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_wbd_to_db.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_wbd_to_db.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dib0090_wbd_slopes = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dib0090_wbd_to_db], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @dib0090_wbd_to_db(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = and i32 %1, 1023 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = icmp slt i32 %3, %4 %6 = sub nsw i32 %3, %4 %7 = select i1 %5, i32 0, i32 %6 %8 = load i32, ptr @dib0090_wbd_slopes, align 4, !tbaa !10 %9 = tail call i32 @ARRAY_SIZE(i32 noundef %8) #2 %10 = tail call i64 @slopes_to_scale(i32 noundef %8, i32 noundef %9, i32 noundef %7) #2 %11 = add nsw i64 %10, -640 ret i64 %11 } declare i64 @slopes_to_scale(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(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 = !{!"dib0090_state", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_wbd_to_db.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_dib0090.c_dib0090_wbd_to_db.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dib0090_wbd_slopes = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dib0090_wbd_to_db], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 -9223372036854775808, 9223372036854775168) i64 @dib0090_wbd_to_db(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = and i32 %1, 1023 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp slt i32 %3, %4 %6 = sub nsw i32 %3, %4 %7 = select i1 %5, i32 0, i32 %6 %8 = load i32, ptr @dib0090_wbd_slopes, align 4, !tbaa !11 %9 = tail call i32 @ARRAY_SIZE(i32 noundef %8) #2 %10 = tail call i64 @slopes_to_scale(i32 noundef %8, i32 noundef %9, i32 noundef %7) #2 %11 = add nsw i64 %10, -640 ret i64 %11 } declare i64 @slopes_to_scale(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(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 = !{!"dib0090_state", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_media_dvb-frontends_extr_dib0090.c_dib0090_wbd_to_db
; ModuleID = 'AnghaBench/freebsd/sbin/pfctl/extr_pfctl_radix.c_pfr_buf_grow.c' source_filename = "AnghaBench/freebsd/sbin/pfctl/extr_pfctl_radix.c_pfr_buf_grow.c" target datalayout = "e-m:e-p270:32:32-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.pfr_buffer = type { i64, i32, ptr } @PFRB_MAX = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @buf_esize = dso_local local_unnamed_addr global ptr null, align 8 @SIZE_T_MAX = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @pfr_buf_grow(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %10, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp ne i64 %5, 0 %7 = load i64, ptr @PFRB_MAX, align 8 %8 = icmp ult i64 %5, %7 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %12, label %10 10: ; preds = %4, %2 %11 = load i32, ptr @EINVAL, align 4, !tbaa !12 store i32 %11, ptr @errno, align 4, !tbaa !12 br label %57 12: ; preds = %4 %13 = icmp eq i32 %1, 0 %14 = getelementptr inbounds %struct.pfr_buffer, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = icmp slt i32 %15, %1 %17 = select i1 %13, i1 true, i1 %16 br i1 %17, label %18, label %57 18: ; preds = %12 %19 = load ptr, ptr @buf_esize, align 8, !tbaa !14 %20 = getelementptr inbounds i64, ptr %19, i64 %5 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = getelementptr inbounds %struct.pfr_buffer, ptr %0, i64 0, i32 1 %23 = icmp eq i32 %15, 0 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = tail call i32 @llvm.smax.i32(i32 %1, i32 64) %26 = tail call ptr @calloc(i64 noundef %21, i32 noundef %25) #3 %27 = getelementptr inbounds %struct.pfr_buffer, ptr %0, i64 0, i32 2 store ptr %26, ptr %27, align 8, !tbaa !16 %28 = icmp eq ptr %26, null br i1 %28, label %57, label %55 29: ; preds = %18 %30 = shl nsw i32 %15, 1 %31 = select i1 %13, i32 %30, i32 %1 %32 = icmp slt i32 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %29 %34 = zext nneg i32 %31 to i64 %35 = load i64, ptr @SIZE_T_MAX, align 8, !tbaa !15 %36 = udiv i64 %35, %21 %37 = icmp ugt i64 %36, %34 br i1 %37, label %40, label %38 38: ; preds = %33, %29 %39 = load i32, ptr @ENOMEM, align 4, !tbaa !12 store i32 %39, ptr @errno, align 4, !tbaa !12 br label %57 40: ; preds = %33 %41 = getelementptr inbounds %struct.pfr_buffer, ptr %0, i64 0, i32 2 %42 = load ptr, ptr %41, align 8, !tbaa !16 %43 = trunc i64 %21 to i32 %44 = mul i32 %31, %43 %45 = tail call ptr @realloc(ptr noundef %42, i32 noundef %44) #3 %46 = icmp eq ptr %45, null br i1 %46, label %57, label %47 47: ; preds = %40 %48 = load i32, ptr %22, align 8, !tbaa !13 %49 = sext i32 %48 to i64 %50 = mul i64 %21, %49 %51 = getelementptr inbounds i32, ptr %45, i64 %50 %52 = sub nsw i32 %31, %48 %53 = mul i32 %52, %43 %54 = tail call i32 @bzero(ptr noundef nonnull %51, i32 noundef %53) #3 store ptr %45, ptr %41, align 8, !tbaa !16 br label %55 55: ; preds = %24, %47 %56 = phi i32 [ %31, %47 ], [ %25, %24 ] store i32 %56, ptr %22, align 8, !tbaa !13 br label %57 57: ; preds = %12, %40, %24, %55, %38, %10 %58 = phi i32 [ -1, %10 ], [ -1, %38 ], [ 0, %55 ], [ -1, %24 ], [ -1, %40 ], [ 0, %12 ] ret i32 %58 } declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"pfr_buffer", !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 = !{!6, !10, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/freebsd/sbin/pfctl/extr_pfctl_radix.c_pfr_buf_grow.c' source_filename = "AnghaBench/freebsd/sbin/pfctl/extr_pfctl_radix.c_pfr_buf_grow.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PFRB_MAX = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @buf_esize = common local_unnamed_addr global ptr null, align 8 @SIZE_T_MAX = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @pfr_buf_grow(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %10, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp ne i64 %5, 0 %7 = load i64, ptr @PFRB_MAX, align 8 %8 = icmp ult i64 %5, %7 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %12, label %10 10: ; preds = %4, %2 %11 = load i32, ptr @EINVAL, align 4, !tbaa !13 store i32 %11, ptr @errno, align 4, !tbaa !13 br label %56 12: ; preds = %4 %13 = icmp eq i32 %1, 0 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = icmp slt i32 %15, %1 %17 = select i1 %13, i1 true, i1 %16 br i1 %17, label %18, label %56 18: ; preds = %12 %19 = load ptr, ptr @buf_esize, align 8, !tbaa !15 %20 = getelementptr inbounds i64, ptr %19, i64 %5 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = icmp eq i32 %15, 0 br i1 %22, label %23, label %28 23: ; preds = %18 %24 = tail call i32 @llvm.smax.i32(i32 %1, i32 64) %25 = tail call ptr @calloc(i64 noundef %21, i32 noundef %24) #3 %26 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %25, ptr %26, align 8, !tbaa !17 %27 = icmp eq ptr %25, null br i1 %27, label %56, label %54 28: ; preds = %18 %29 = shl nsw i32 %15, 1 %30 = select i1 %13, i32 %29, i32 %1 %31 = icmp slt i32 %30, 0 br i1 %31, label %37, label %32 32: ; preds = %28 %33 = zext nneg i32 %30 to i64 %34 = load i64, ptr @SIZE_T_MAX, align 8, !tbaa !16 %35 = udiv i64 %34, %21 %36 = icmp ugt i64 %35, %33 br i1 %36, label %39, label %37 37: ; preds = %32, %28 %38 = load i32, ptr @ENOMEM, align 4, !tbaa !13 store i32 %38, ptr @errno, align 4, !tbaa !13 br label %56 39: ; preds = %32 %40 = getelementptr inbounds i8, ptr %0, i64 16 %41 = load ptr, ptr %40, align 8, !tbaa !17 %42 = trunc i64 %21 to i32 %43 = mul i32 %30, %42 %44 = tail call ptr @realloc(ptr noundef %41, i32 noundef %43) #3 %45 = icmp eq ptr %44, null br i1 %45, label %56, label %46 46: ; preds = %39 %47 = load i32, ptr %14, align 8, !tbaa !14 %48 = sext i32 %47 to i64 %49 = mul i64 %21, %48 %50 = getelementptr inbounds i32, ptr %44, i64 %49 %51 = sub nsw i32 %30, %47 %52 = mul i32 %51, %42 %53 = tail call i32 @bzero(ptr noundef nonnull %50, i32 noundef %52) #3 store ptr %44, ptr %40, align 8, !tbaa !17 br label %54 54: ; preds = %23, %46 %55 = phi i32 [ %30, %46 ], [ %24, %23 ] store i32 %55, ptr %14, align 8, !tbaa !14 br label %56 56: ; preds = %12, %39, %23, %54, %37, %10 %57 = phi i32 [ -1, %10 ], [ -1, %37 ], [ 0, %54 ], [ -1, %23 ], [ -1, %39 ], [ 0, %12 ] ret i32 %57 } declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @realloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"pfr_buffer", !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 = !{!7, !11, i64 8} !15 = !{!12, !12, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!7, !12, i64 16}
freebsd_sbin_pfctl_extr_pfctl_radix.c_pfr_buf_grow
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_CheckConnectionTimeout.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_CheckConnectionTimeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32, i32, i32, i32, i32, ptr } %struct.TYPE_6__ = type { i64, i64 } @NodeConnectionTimeout = dso_local local_unnamed_addr global i32 0, align 4 @WARNING = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_CONNECTION_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"could not establish any connections to the node %s:%d after %u ms\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @CheckConnectionTimeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @CheckConnectionTimeout(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr %0, align 8, !tbaa !12 %5 = tail call i64 (...) @GetCurrentTimestamp() #2 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 5 %7 = load i32, ptr %6, align 8, !tbaa !13 %8 = tail call i32 @list_length(i32 noundef %7) #2 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = icmp eq i32 %8, 0 br i1 %11, label %12, label %16 12: ; preds = %1 %13 = icmp eq i64 %4, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @Assert(i32 noundef %14) #2 br label %49 16: ; preds = %1 %17 = tail call i64 (...) @UseConnectionPerPlacement() #2 %18 = load i32, ptr @NodeConnectionTimeout, align 4, !tbaa !15 %19 = tail call i64 @TimestampDifferenceExceeds(i64 noundef %4, i64 noundef %5, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %49, label %21 21: ; preds = %16 %22 = icmp eq i64 %17, 0 %23 = select i1 %22, i32 1, i32 %8 %24 = icmp slt i32 %10, %23 br i1 %24, label %25, label %47 25: ; preds = %21 %26 = load i32, ptr @WARNING, align 4, !tbaa !15 %27 = tail call i32 @WorkerPoolFailed(ptr noundef nonnull %0) #2 %28 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 %29 = load i64, ptr %28, align 8, !tbaa !16 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load i64, ptr %3, align 8, !tbaa !18 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31, %25 %35 = load i32, ptr @ERROR, align 4, !tbaa !15 br label %36 36: ; preds = %34, %31 %37 = phi i32 [ %35, %34 ], [ %26, %31 ] %38 = load i32, ptr @ERRCODE_CONNECTION_FAILURE, align 4, !tbaa !15 %39 = tail call i32 @errcode(i32 noundef %38) #2 %40 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3 %43 = load i32, ptr %42, align 8, !tbaa !20 %44 = load i32, ptr @NodeConnectionTimeout, align 4, !tbaa !15 %45 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %41, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @ereport(i32 noundef %37, i32 noundef %45) #2 br label %49 47: ; preds = %21 %48 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 store i32 0, ptr %48, align 4, !tbaa !21 br label %49 49: ; preds = %16, %47, %36, %12 ret void } declare i64 @GetCurrentTimestamp(...) local_unnamed_addr #1 declare i32 @list_length(i32 noundef) local_unnamed_addr #1 declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i64 @UseConnectionPerPlacement(...) local_unnamed_addr #1 declare i64 @TimestampDifferenceExceeds(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WorkerPoolFailed(ptr noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 32} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !11, 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 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 24} !14 = !{!6, !10, i64 8} !15 = !{!10, !10, i64 0} !16 = !{!17, !7, i64 8} !17 = !{!"TYPE_6__", !7, i64 0, !7, i64 8} !18 = !{!17, !7, i64 0} !19 = !{!6, !10, i64 20} !20 = !{!6, !10, i64 16} !21 = !{!6, !10, i64 12}
; ModuleID = 'AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_CheckConnectionTimeout.c' source_filename = "AnghaBench/citus/src/backend/distributed/executor/extr_adaptive_executor.c_CheckConnectionTimeout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NodeConnectionTimeout = common local_unnamed_addr global i32 0, align 4 @WARNING = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_CONNECTION_FAILURE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [66 x i8] c"could not establish any connections to the node %s:%d after %u ms\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @CheckConnectionTimeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @CheckConnectionTimeout(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr %0, align 8, !tbaa !13 %5 = tail call i64 @GetCurrentTimestamp() #2 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load i32, ptr %6, align 8, !tbaa !14 %8 = tail call i32 @list_length(i32 noundef %7) #2 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = icmp eq i32 %8, 0 br i1 %11, label %12, label %16 12: ; preds = %1 %13 = icmp eq i64 %4, 0 %14 = zext i1 %13 to i32 %15 = tail call i32 @Assert(i32 noundef %14) #2 br label %49 16: ; preds = %1 %17 = tail call i64 @UseConnectionPerPlacement() #2 %18 = load i32, ptr @NodeConnectionTimeout, align 4, !tbaa !16 %19 = tail call i64 @TimestampDifferenceExceeds(i64 noundef %4, i64 noundef %5, i32 noundef %18) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %49, label %21 21: ; preds = %16 %22 = icmp eq i64 %17, 0 %23 = select i1 %22, i32 1, i32 %8 %24 = icmp slt i32 %10, %23 br i1 %24, label %25, label %47 25: ; preds = %21 %26 = load i32, ptr @WARNING, align 4, !tbaa !16 %27 = tail call i32 @WorkerPoolFailed(ptr noundef nonnull %0) #2 %28 = getelementptr inbounds i8, ptr %3, i64 8 %29 = load i64, ptr %28, align 8, !tbaa !17 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load i64, ptr %3, align 8, !tbaa !19 %33 = icmp eq i64 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %31, %25 %35 = load i32, ptr @ERROR, align 4, !tbaa !16 br label %36 36: ; preds = %34, %31 %37 = phi i32 [ %35, %34 ], [ %26, %31 ] %38 = load i32, ptr @ERRCODE_CONNECTION_FAILURE, align 4, !tbaa !16 %39 = tail call i32 @errcode(i32 noundef %38) #2 %40 = getelementptr inbounds i8, ptr %0, i64 20 %41 = load i32, ptr %40, align 4, !tbaa !20 %42 = getelementptr inbounds i8, ptr %0, i64 16 %43 = load i32, ptr %42, align 8, !tbaa !21 %44 = load i32, ptr @NodeConnectionTimeout, align 4, !tbaa !16 %45 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %41, i32 noundef %43, i32 noundef %44) #2 %46 = tail call i32 @ereport(i32 noundef %37, i32 noundef %45) #2 br label %49 47: ; preds = %21 %48 = getelementptr inbounds i8, ptr %0, i64 12 store i32 0, ptr %48, align 4, !tbaa !22 br label %49 49: ; preds = %16, %47, %36, %12 ret void } declare i64 @GetCurrentTimestamp(...) local_unnamed_addr #1 declare i32 @list_length(i32 noundef) local_unnamed_addr #1 declare i32 @Assert(i32 noundef) local_unnamed_addr #1 declare i64 @UseConnectionPerPlacement(...) local_unnamed_addr #1 declare i64 @TimestampDifferenceExceeds(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WorkerPoolFailed(ptr noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 32} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !12, 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 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 24} !15 = !{!7, !11, i64 8} !16 = !{!11, !11, i64 0} !17 = !{!18, !8, i64 8} !18 = !{!"TYPE_6__", !8, i64 0, !8, i64 8} !19 = !{!18, !8, i64 0} !20 = !{!7, !11, i64 20} !21 = !{!7, !11, i64 16} !22 = !{!7, !11, i64 12}
citus_src_backend_distributed_executor_extr_adaptive_executor.c_CheckConnectionTimeout
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power7-pmu.c_power7_get_constraint.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power7-pmu.c_power7_get_constraint.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PM_PMC_SH = dso_local local_unnamed_addr global i32 0, align 4 @PM_PMC_MSK = dso_local local_unnamed_addr global i32 0, align 4 @PM_UNIT_SH = dso_local local_unnamed_addr global i32 0, align 4 @PM_UNIT_MSK = dso_local local_unnamed_addr global i32 0, align 4 @PM_L2SEL_SH = dso_local local_unnamed_addr global i32 0, align 4 @PM_L2SEL_MSK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @power7_get_constraint], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal noundef i32 @power7_get_constraint(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @PM_PMC_SH, align 4, !tbaa !5 %5 = ashr i32 %0, %4 %6 = load i32, ptr @PM_PMC_MSK, align 4, !tbaa !5 %7 = and i32 %5, %6 %8 = freeze i32 %7 %9 = icmp eq i32 %8, 0 br i1 %9, label %20, label %10 10: ; preds = %3 %11 = icmp sgt i32 %8, 6 br i1 %11, label %46, label %12 12: ; preds = %10 %13 = shl i32 %8, 1 %14 = add i32 %13, -2 %15 = shl i32 2, %14 %16 = sext i32 %15 to i64 %17 = shl nuw i32 1, %14 %18 = icmp slt i32 %8, 5 br i1 %18, label %20, label %19 19: ; preds = %12 switch i32 %0, label %46 [ i32 393460, label %20 i32 327930, label %20 ] 20: ; preds = %19, %19, %12, %3 %21 = phi i64 [ %16, %19 ], [ 0, %3 ], [ %16, %12 ], [ %16, %19 ] %22 = phi i32 [ %17, %19 ], [ 0, %3 ], [ %17, %12 ], [ %17, %19 ] %23 = zext i32 %22 to i64 %24 = icmp slt i32 %8, 5 %25 = or i64 %21, 32768 %26 = or i64 %23, 4096 %27 = select i1 %24, i64 %25, i64 %21 %28 = select i1 %24, i64 %26, i64 %23 %29 = load i32, ptr @PM_UNIT_SH, align 4, !tbaa !5 %30 = ashr i32 %0, %29 %31 = load i32, ptr @PM_UNIT_MSK, align 4, !tbaa !5 %32 = and i32 %30, %31 %33 = icmp eq i32 %32, 6 br i1 %33, label %34, label %43 34: ; preds = %20 %35 = load i32, ptr @PM_L2SEL_SH, align 4, !tbaa !5 %36 = ashr i32 %0, %35 %37 = load i32, ptr @PM_L2SEL_MSK, align 4, !tbaa !5 %38 = and i32 %36, %37 %39 = or i64 %27, 458752 %40 = shl i32 %38, 16 %41 = sext i32 %40 to i64 %42 = or i64 %28, %41 br label %43 43: ; preds = %34, %20 %44 = phi i64 [ %39, %34 ], [ %27, %20 ] %45 = phi i64 [ %42, %34 ], [ %28, %20 ] store i64 %44, ptr %1, align 8, !tbaa !9 store i64 %45, ptr %2, align 8, !tbaa !9 br label %46 46: ; preds = %19, %10, %43 %47 = phi i32 [ 0, %43 ], [ -1, %10 ], [ -1, %19 ] ret i32 %47 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/perf/extr_power7-pmu.c_power7_get_constraint.c' source_filename = "AnghaBench/linux/arch/powerpc/perf/extr_power7-pmu.c_power7_get_constraint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PM_PMC_SH = common local_unnamed_addr global i32 0, align 4 @PM_PMC_MSK = common local_unnamed_addr global i32 0, align 4 @PM_UNIT_SH = common local_unnamed_addr global i32 0, align 4 @PM_UNIT_MSK = common local_unnamed_addr global i32 0, align 4 @PM_L2SEL_SH = common local_unnamed_addr global i32 0, align 4 @PM_L2SEL_MSK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @power7_get_constraint], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal range(i32 -1, 1) i32 @power7_get_constraint(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @PM_PMC_SH, align 4, !tbaa !6 %5 = ashr i32 %0, %4 %6 = load i32, ptr @PM_PMC_MSK, align 4, !tbaa !6 %7 = and i32 %5, %6 %8 = freeze i32 %7 %9 = icmp eq i32 %8, 0 br i1 %9, label %20, label %10 10: ; preds = %3 %11 = icmp sgt i32 %8, 6 br i1 %11, label %46, label %12 12: ; preds = %10 %13 = shl i32 %8, 1 %14 = add i32 %13, -2 %15 = shl i32 2, %14 %16 = sext i32 %15 to i64 %17 = shl nuw i32 1, %14 %18 = icmp slt i32 %8, 5 br i1 %18, label %20, label %19 19: ; preds = %12 switch i32 %0, label %46 [ i32 393460, label %20 i32 327930, label %20 ] 20: ; preds = %19, %19, %12, %3 %21 = phi i64 [ %16, %19 ], [ 0, %3 ], [ %16, %12 ], [ %16, %19 ] %22 = phi i32 [ %17, %19 ], [ 0, %3 ], [ %17, %12 ], [ %17, %19 ] %23 = zext i32 %22 to i64 %24 = icmp slt i32 %8, 5 %25 = or i64 %21, 32768 %26 = or i64 %23, 4096 %27 = select i1 %24, i64 %25, i64 %21 %28 = select i1 %24, i64 %26, i64 %23 %29 = load i32, ptr @PM_UNIT_SH, align 4, !tbaa !6 %30 = ashr i32 %0, %29 %31 = load i32, ptr @PM_UNIT_MSK, align 4, !tbaa !6 %32 = and i32 %30, %31 %33 = icmp eq i32 %32, 6 br i1 %33, label %34, label %43 34: ; preds = %20 %35 = load i32, ptr @PM_L2SEL_SH, align 4, !tbaa !6 %36 = ashr i32 %0, %35 %37 = load i32, ptr @PM_L2SEL_MSK, align 4, !tbaa !6 %38 = and i32 %36, %37 %39 = or i64 %27, 458752 %40 = shl i32 %38, 16 %41 = sext i32 %40 to i64 %42 = or i64 %28, %41 br label %43 43: ; preds = %34, %20 %44 = phi i64 [ %39, %34 ], [ %27, %20 ] %45 = phi i64 [ %42, %34 ], [ %28, %20 ] store i64 %44, ptr %1, align 8, !tbaa !10 store i64 %45, ptr %2, align 8, !tbaa !10 br label %46 46: ; preds = %19, %10, %43 %47 = phi i32 [ 0, %43 ], [ -1, %10 ], [ -1, %19 ] ret i32 %47 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
linux_arch_powerpc_perf_extr_power7-pmu.c_power7_get_constraint
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_metaslab.c_metaslab_class_minblocksize_update.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_metaslab.c_metaslab_class_minblocksize_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i64, ptr } %struct.TYPE_6__ = type { ptr, ptr } @UINT64_MAX = dso_local local_unnamed_addr global i64 0, align 8 @SPA_MINBLOCKSIZE = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @metaslab_class_minblocksize_update(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load i64, ptr @UINT64_MAX, align 8, !tbaa !11 br label %9 7: ; preds = %1 %8 = load i64, ptr @SPA_MINBLOCKSIZE, align 8, !tbaa !11 br label %20 9: ; preds = %5, %9 %10 = phi ptr [ %16, %9 ], [ %3, %5 ] %11 = phi i64 [ %14, %9 ], [ %6, %5 ] %12 = load ptr, ptr %10, align 8, !tbaa !12 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = tail call i64 @llvm.umin.i64(i64 %13, i64 %11) %15 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = icmp eq ptr %16, %3 br i1 %17, label %18, label %9, !llvm.loop !17 18: ; preds = %9 %19 = shl nuw i64 1, %14 br label %20 20: ; preds = %18, %7 %21 = phi i64 [ %19, %18 ], [ %8, %7 ] store i64 %21, ptr %0, align 8, !tbaa !19 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #1 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" } 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, !10, i64 8} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8} !7 = !{!"long long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_6__", !10, i64 0, !10, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_5__", !7, i64 0} !16 = !{!13, !10, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_metaslab.c_metaslab_class_minblocksize_update.c' source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_metaslab.c_metaslab_class_minblocksize_update.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UINT64_MAX = common local_unnamed_addr global i64 0, align 8 @SPA_MINBLOCKSIZE = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @metaslab_class_minblocksize_update(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = load i64, ptr @UINT64_MAX, align 8, !tbaa !12 br label %9 7: ; preds = %1 %8 = load i64, ptr @SPA_MINBLOCKSIZE, align 8, !tbaa !12 br label %20 9: ; preds = %5, %9 %10 = phi ptr [ %16, %9 ], [ %3, %5 ] %11 = phi i64 [ %14, %9 ], [ %6, %5 ] %12 = load ptr, ptr %10, align 8, !tbaa !13 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = tail call i64 @llvm.umin.i64(i64 %13, i64 %11) %15 = getelementptr inbounds i8, ptr %10, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !17 %17 = icmp eq ptr %16, %3 br i1 %17, label %18, label %9, !llvm.loop !18 18: ; preds = %9 %19 = shl nuw i64 1, %14 br label %20 20: ; preds = %18, %7 %21 = phi i64 [ %19, %18 ], [ %8, %7 ] store i64 %21, ptr %0, align 8, !tbaa !20 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #1 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" } 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, !11, i64 8} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8} !8 = !{!"long long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_5__", !8, i64 0} !17 = !{!14, !11, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !8, i64 0}
freebsd_sys_cddl_contrib_opensolaris_uts_common_fs_zfs_extr_metaslab.c_metaslab_class_minblocksize_update
; ModuleID = 'AnghaBench/libgit2/src/extr_config.c_git_config_get_string.c' source_filename = "AnghaBench/libgit2/src/extr_config.c_git_config_get_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GIT_ERROR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"get_string called on a live config object\00", align 1 @GET_ALL_ERRORS = 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 i32 @git_config_get_string(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @is_readonly(ptr noundef %1) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @GIT_ERROR_CONFIG, align 4, !tbaa !5 %9 = tail call i32 @git_error_set(i32 noundef %8, ptr noundef nonnull @.str) #3 br label %22 10: ; preds = %3 %11 = load i32, ptr @GET_ALL_ERRORS, align 4, !tbaa !5 %12 = call i32 @get_entry(ptr noundef nonnull %4, ptr noundef %1, ptr noundef %2, i32 noundef 1, i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 %14 = load ptr, ptr %4, align 8, !tbaa !9 br i1 %13, label %15, label %19 15: ; preds = %10 %16 = load ptr, ptr %14, align 8, !tbaa !11 %17 = icmp eq ptr %16, null %18 = select i1 %17, ptr @.str.1, ptr %16 br label %19 19: ; preds = %15, %10 %20 = phi ptr [ null, %10 ], [ %18, %15 ] store ptr %20, ptr %0, align 8, !tbaa !9 %21 = call i32 @git_config_entry_free(ptr noundef %14) #3 br label %22 22: ; preds = %19, %7 %23 = phi i32 [ %12, %19 ], [ -1, %7 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %23 } ; 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_readonly(ptr noundef) local_unnamed_addr #2 declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_entry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_config_entry_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0}
; ModuleID = 'AnghaBench/libgit2/src/extr_config.c_git_config_get_string.c' source_filename = "AnghaBench/libgit2/src/extr_config.c_git_config_get_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GIT_ERROR_CONFIG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"get_string called on a live config object\00", align 1 @GET_ALL_ERRORS = 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 i32 @git_config_get_string(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @is_readonly(ptr noundef %1) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @GIT_ERROR_CONFIG, align 4, !tbaa !6 %9 = tail call i32 @git_error_set(i32 noundef %8, ptr noundef nonnull @.str) #3 br label %22 10: ; preds = %3 %11 = load i32, ptr @GET_ALL_ERRORS, align 4, !tbaa !6 %12 = call i32 @get_entry(ptr noundef nonnull %4, ptr noundef %1, ptr noundef %2, i32 noundef 1, i32 noundef %11) #3 %13 = icmp eq i32 %12, 0 %14 = load ptr, ptr %4, align 8, !tbaa !10 br i1 %13, label %15, label %19 15: ; preds = %10 %16 = load ptr, ptr %14, align 8, !tbaa !12 %17 = icmp eq ptr %16, null %18 = select i1 %17, ptr @.str.1, ptr %16 br label %19 19: ; preds = %15, %10 %20 = phi ptr [ null, %10 ], [ %18, %15 ] store ptr %20, ptr %0, align 8, !tbaa !10 %21 = call i32 @git_config_entry_free(ptr noundef %14) #3 br label %22 22: ; preds = %19, %7 %23 = phi i32 [ %12, %19 ], [ -1, %7 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %23 } ; 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_readonly(ptr noundef) local_unnamed_addr #2 declare i32 @git_error_set(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_entry(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_config_entry_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0}
libgit2_src_extr_config.c_git_config_get_string
; ModuleID = 'AnghaBench/linux/tools/thermal/tmon/extr_tui.c_close_windows.c' source_filename = "AnghaBench/linux/tools/thermal/tmon/extr_tui.c_close_windows.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @tui_disabled = dso_local local_unnamed_addr global i64 0, align 8 @dialogue_window = dso_local local_unnamed_addr global i64 0, align 8 @dialogue_panel = dso_local local_unnamed_addr global i32 0, align 4 @cooling_device_window = dso_local local_unnamed_addr global i64 0, align 8 @data_panel = dso_local local_unnamed_addr global i32 0, align 4 @title_bar_window = dso_local local_unnamed_addr global i64 0, align 8 @tz_sensor_window = dso_local local_unnamed_addr global i64 0, align 8 @status_bar_window = dso_local local_unnamed_addr global i64 0, align 8 @control_window = dso_local local_unnamed_addr global i64 0, align 8 @thermal_data_window = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @close_windows() local_unnamed_addr #0 { %1 = load i64, ptr @tui_disabled, align 8, !tbaa !5 %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %30 3: ; preds = %0 %4 = load i64, ptr @dialogue_window, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @dialogue_panel, align 4, !tbaa !9 %8 = tail call i32 @close_panel(i32 noundef %7) #2 br label %9 9: ; preds = %6, %3 %10 = load i64, ptr @cooling_device_window, align 8, !tbaa !5 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr @data_panel, align 4, !tbaa !9 %14 = tail call i32 @close_panel(i32 noundef %13) #2 br label %15 15: ; preds = %12, %9 %16 = load i64, ptr @title_bar_window, align 8, !tbaa !5 %17 = tail call i32 @close_window(i64 noundef %16) #2 %18 = load i64, ptr @tz_sensor_window, align 8, !tbaa !5 %19 = tail call i32 @close_window(i64 noundef %18) #2 %20 = load i64, ptr @status_bar_window, align 8, !tbaa !5 %21 = tail call i32 @close_window(i64 noundef %20) #2 %22 = load i64, ptr @cooling_device_window, align 8, !tbaa !5 %23 = tail call i32 @close_window(i64 noundef %22) #2 %24 = load i64, ptr @control_window, align 8, !tbaa !5 %25 = tail call i32 @close_window(i64 noundef %24) #2 %26 = load i64, ptr @thermal_data_window, align 8, !tbaa !5 %27 = tail call i32 @close_window(i64 noundef %26) #2 %28 = load i64, ptr @dialogue_window, align 8, !tbaa !5 %29 = tail call i32 @close_window(i64 noundef %28) #2 br label %30 30: ; preds = %0, %15 ret void } declare i32 @close_panel(i32 noundef) local_unnamed_addr #1 declare i32 @close_window(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/thermal/tmon/extr_tui.c_close_windows.c' source_filename = "AnghaBench/linux/tools/thermal/tmon/extr_tui.c_close_windows.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @tui_disabled = common local_unnamed_addr global i64 0, align 8 @dialogue_window = common local_unnamed_addr global i64 0, align 8 @dialogue_panel = common local_unnamed_addr global i32 0, align 4 @cooling_device_window = common local_unnamed_addr global i64 0, align 8 @data_panel = common local_unnamed_addr global i32 0, align 4 @title_bar_window = common local_unnamed_addr global i64 0, align 8 @tz_sensor_window = common local_unnamed_addr global i64 0, align 8 @status_bar_window = common local_unnamed_addr global i64 0, align 8 @control_window = common local_unnamed_addr global i64 0, align 8 @thermal_data_window = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @close_windows() local_unnamed_addr #0 { %1 = load i64, ptr @tui_disabled, align 8, !tbaa !6 %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %30 3: ; preds = %0 %4 = load i64, ptr @dialogue_window, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @dialogue_panel, align 4, !tbaa !10 %8 = tail call i32 @close_panel(i32 noundef %7) #2 br label %9 9: ; preds = %6, %3 %10 = load i64, ptr @cooling_device_window, align 8, !tbaa !6 %11 = icmp eq i64 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr @data_panel, align 4, !tbaa !10 %14 = tail call i32 @close_panel(i32 noundef %13) #2 br label %15 15: ; preds = %12, %9 %16 = load i64, ptr @title_bar_window, align 8, !tbaa !6 %17 = tail call i32 @close_window(i64 noundef %16) #2 %18 = load i64, ptr @tz_sensor_window, align 8, !tbaa !6 %19 = tail call i32 @close_window(i64 noundef %18) #2 %20 = load i64, ptr @status_bar_window, align 8, !tbaa !6 %21 = tail call i32 @close_window(i64 noundef %20) #2 %22 = load i64, ptr @cooling_device_window, align 8, !tbaa !6 %23 = tail call i32 @close_window(i64 noundef %22) #2 %24 = load i64, ptr @control_window, align 8, !tbaa !6 %25 = tail call i32 @close_window(i64 noundef %24) #2 %26 = load i64, ptr @thermal_data_window, align 8, !tbaa !6 %27 = tail call i32 @close_window(i64 noundef %26) #2 %28 = load i64, ptr @dialogue_window, align 8, !tbaa !6 %29 = tail call i32 @close_window(i64 noundef %28) #2 br label %30 30: ; preds = %0, %15 ret void } declare i32 @close_panel(i32 noundef) local_unnamed_addr #1 declare i32 @close_window(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
linux_tools_thermal_tmon_extr_tui.c_close_windows
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/virtual/extr_virtual_stream_encoder.c_virtual_stream_encoder_update_dp_info_packets.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/virtual/extr_virtual_stream_encoder.c_virtual_stream_encoder_update_dp_info_packets.c" target datalayout = "e-m:e-p270:32:32-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 @virtual_stream_encoder_update_dp_info_packets], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @virtual_stream_encoder_update_dp_info_packets(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/display/dc/virtual/extr_virtual_stream_encoder.c_virtual_stream_encoder_update_dp_info_packets.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/display/dc/virtual/extr_virtual_stream_encoder.c_virtual_stream_encoder_update_dp_info_packets.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 @virtual_stream_encoder_update_dp_info_packets], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @virtual_stream_encoder_update_dp_info_packets(ptr nocapture readnone %0, ptr nocapture readnone %1) #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_amd_display_dc_virtual_extr_virtual_stream_encoder.c_virtual_stream_encoder_update_dp_info_packets
; ModuleID = 'AnghaBench/linux/drivers/clk/at91/extr_clk-usb.c_at91sam9x5_clk_usb_set_parent.c' source_filename = "AnghaBench/linux/drivers/clk/at91/extr_clk-usb.c_at91sam9x5_clk_usb_set_parent.c" target datalayout = "e-m:e-p270:32:32-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.at91sam9x5_clk_usb = type { i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @AT91_PMC_USB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @at91sam9x5_clk_usb_set_parent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @at91sam9x5_clk_usb_set_parent(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @to_at91sam9x5_clk_usb(ptr noundef %0) #2 %4 = icmp sgt i32 %1, 1 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %14 8: ; preds = %2 %9 = getelementptr inbounds %struct.at91sam9x5_clk_usb, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !9 %11 = load i32, ptr @AT91_PMC_USB, align 4, !tbaa !5 %12 = load i32, ptr %3, align 4, !tbaa !11 %13 = tail call i32 @regmap_update_bits(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %1) #2 br label %14 14: ; preds = %8, %5 %15 = phi i32 [ %7, %5 ], [ 0, %8 ] ret i32 %15 } declare ptr @to_at91sam9x5_clk_usb(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"at91sam9x5_clk_usb", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/clk/at91/extr_clk-usb.c_at91sam9x5_clk_usb_set_parent.c' source_filename = "AnghaBench/linux/drivers/clk/at91/extr_clk-usb.c_at91sam9x5_clk_usb_set_parent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @AT91_PMC_USB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @at91sam9x5_clk_usb_set_parent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @at91sam9x5_clk_usb_set_parent(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @to_at91sam9x5_clk_usb(ptr noundef %0) #2 %4 = icmp sgt i32 %1, 1 br i1 %4, label %5, label %8 5: ; preds = %2 %6 = load i32, ptr @EINVAL, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %14 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = load i32, ptr @AT91_PMC_USB, align 4, !tbaa !6 %12 = load i32, ptr %3, align 4, !tbaa !12 %13 = tail call i32 @regmap_update_bits(i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %1) #2 br label %14 14: ; preds = %8, %5 %15 = phi i32 [ %7, %5 ], [ 0, %8 ] ret i32 %15 } declare ptr @to_at91sam9x5_clk_usb(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"at91sam9x5_clk_usb", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 0}
linux_drivers_clk_at91_extr_clk-usb.c_at91sam9x5_clk_usb_set_parent
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-video.c_render_convert_texture.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-video.c_render_convert_texture.c" target datalayout = "e-m:e-p270:32:32-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.vec4 = type { i32 } %struct.obs_core_video = type { i32, ptr, ptr, i32, ptr, ptr } @render_convert_texture_name = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"color_vec0\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"color_vec1\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"color_vec2\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"image\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"width_i\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @render_convert_texture], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @render_convert_texture(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.vec4, align 4 %4 = alloca %struct.vec4, align 4 %5 = alloca %struct.vec4, align 4 %6 = load i32, ptr @render_convert_texture_name, align 4, !tbaa !5 %7 = tail call i32 @profile_start(i32 noundef %6) #3 %8 = getelementptr inbounds %struct.obs_core_video, ptr %0, i64 0, i32 5 %9 = load ptr, ptr %8, align 8, !tbaa !9 %10 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str) #3 %11 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.1) #3 %12 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.2) #3 %13 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.3) #3 %14 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %15 = getelementptr inbounds %struct.obs_core_video, ptr %0, i64 0, i32 4 %16 = load ptr, ptr %15, align 8, !tbaa !12 %17 = getelementptr inbounds i32, ptr %16, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !5 %19 = getelementptr inbounds i32, ptr %16, i64 5 %20 = load i32, ptr %19, align 4, !tbaa !5 %21 = getelementptr inbounds i32, ptr %16, i64 6 %22 = load i32, ptr %21, align 4, !tbaa !5 %23 = getelementptr inbounds i32, ptr %16, i64 7 %24 = load i32, ptr %23, align 4, !tbaa !5 %25 = call i32 @vec4_set(ptr noundef nonnull %3, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24) #3 %26 = load ptr, ptr %15, align 8, !tbaa !12 %27 = load i32, ptr %26, align 4, !tbaa !5 %28 = getelementptr inbounds i32, ptr %26, i64 1 %29 = load i32, ptr %28, align 4, !tbaa !5 %30 = getelementptr inbounds i32, ptr %26, i64 2 %31 = load i32, ptr %30, align 4, !tbaa !5 %32 = getelementptr inbounds i32, ptr %26, i64 3 %33 = load i32, ptr %32, align 4, !tbaa !5 %34 = call i32 @vec4_set(ptr noundef nonnull %4, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33) #3 %35 = load ptr, ptr %15, align 8, !tbaa !12 %36 = getelementptr inbounds i32, ptr %35, i64 8 %37 = load i32, ptr %36, align 4, !tbaa !5 %38 = getelementptr inbounds i32, ptr %35, i64 9 %39 = load i32, ptr %38, align 4, !tbaa !5 %40 = getelementptr inbounds i32, ptr %35, i64 10 %41 = load i32, ptr %40, align 4, !tbaa !5 %42 = getelementptr inbounds i32, ptr %35, i64 11 %43 = load i32, ptr %42, align 4, !tbaa !5 %44 = call i32 @vec4_set(ptr noundef nonnull %5, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43) #3 %45 = call i32 @gs_enable_blending(i32 noundef 0) #3 %46 = getelementptr inbounds %struct.obs_core_video, ptr %0, i64 0, i32 2 %47 = load ptr, ptr %46, align 8, !tbaa !13 %48 = load i32, ptr %47, align 4, !tbaa !5 %49 = icmp eq i32 %48, 0 br i1 %49, label %99, label %50 50: ; preds = %2 %51 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %52 = call i32 @gs_effect_set_vec4(ptr noundef %10, ptr noundef nonnull %3) #3 %53 = load ptr, ptr %46, align 8, !tbaa !13 %54 = load i32, ptr %53, align 4, !tbaa !5 %55 = getelementptr inbounds %struct.obs_core_video, ptr %0, i64 0, i32 1 %56 = load ptr, ptr %55, align 8, !tbaa !14 %57 = load i32, ptr %56, align 4, !tbaa !5 %58 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %54, i32 noundef %57) #3 %59 = load ptr, ptr %46, align 8, !tbaa !13 %60 = getelementptr inbounds i32, ptr %59, i64 1 %61 = load i32, ptr %60, align 4, !tbaa !5 %62 = icmp eq i32 %61, 0 br i1 %62, label %99, label %63 63: ; preds = %50 %64 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %65 = call i32 @gs_effect_set_vec4(ptr noundef %11, ptr noundef nonnull %4) #3 %66 = load ptr, ptr %46, align 8, !tbaa !13 %67 = getelementptr inbounds i32, ptr %66, i64 2 %68 = load i32, ptr %67, align 4, !tbaa !5 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %63 %71 = call i32 @gs_effect_set_vec4(ptr noundef %12, ptr noundef nonnull %5) #3 br label %72 72: ; preds = %70, %63 %73 = getelementptr inbounds %struct.obs_core_video, ptr %0, i64 0, i32 3 %74 = load i32, ptr %73, align 8, !tbaa !15 %75 = call i32 @gs_effect_set_float(ptr noundef %14, i32 noundef %74) #3 %76 = load ptr, ptr %46, align 8, !tbaa !13 %77 = getelementptr inbounds i32, ptr %76, i64 1 %78 = load i32, ptr %77, align 4, !tbaa !5 %79 = load ptr, ptr %55, align 8, !tbaa !14 %80 = getelementptr inbounds i32, ptr %79, i64 1 %81 = load i32, ptr %80, align 4, !tbaa !5 %82 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %78, i32 noundef %81) #3 %83 = load ptr, ptr %46, align 8, !tbaa !13 %84 = getelementptr inbounds i32, ptr %83, i64 2 %85 = load i32, ptr %84, align 4, !tbaa !5 %86 = icmp eq i32 %85, 0 br i1 %86, label %99, label %87 87: ; preds = %72 %88 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %89 = call i32 @gs_effect_set_vec4(ptr noundef %12, ptr noundef nonnull %5) #3 %90 = load i32, ptr %73, align 8, !tbaa !15 %91 = call i32 @gs_effect_set_float(ptr noundef %14, i32 noundef %90) #3 %92 = load ptr, ptr %46, align 8, !tbaa !13 %93 = getelementptr inbounds i32, ptr %92, i64 2 %94 = load i32, ptr %93, align 4, !tbaa !5 %95 = load ptr, ptr %55, align 8, !tbaa !14 %96 = getelementptr inbounds i32, ptr %95, i64 2 %97 = load i32, ptr %96, align 4, !tbaa !5 %98 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %94, i32 noundef %97) #3 br label %99 99: ; preds = %50, %87, %72, %2 %100 = call i32 @gs_enable_blending(i32 noundef 1) #3 store i32 1, ptr %0, align 8, !tbaa !16 %101 = load i32, ptr @render_convert_texture_name, align 4, !tbaa !5 %102 = call i32 @profile_end(i32 noundef %101) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } declare i32 @profile_start(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @gs_effect_get_param_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vec4_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gs_enable_blending(i32 noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_texture(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_vec4(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @render_convert_plane(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_float(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @profile_end(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 40} !10 = !{!"obs_core_video", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 40} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 32} !13 = !{!10, !11, i64 16} !14 = !{!10, !11, i64 8} !15 = !{!10, !6, i64 24} !16 = !{!10, !6, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-video.c_render_convert_texture.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-video.c_render_convert_texture.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vec4 = type { i32 } @render_convert_texture_name = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"color_vec0\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"color_vec1\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"color_vec2\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"image\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"width_i\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @render_convert_texture], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @render_convert_texture(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca %struct.vec4, align 4 %4 = alloca %struct.vec4, align 4 %5 = alloca %struct.vec4, align 4 %6 = load i32, ptr @render_convert_texture_name, align 4, !tbaa !6 %7 = tail call i32 @profile_start(i32 noundef %6) #3 %8 = getelementptr inbounds i8, ptr %0, i64 40 %9 = load ptr, ptr %8, align 8, !tbaa !10 %10 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str) #3 %11 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.1) #3 %12 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.2) #3 %13 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.3) #3 %14 = tail call ptr @gs_effect_get_param_by_name(ptr noundef %9, ptr noundef nonnull @.str.4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %15 = getelementptr inbounds i8, ptr %0, i64 32 %16 = load ptr, ptr %15, align 8, !tbaa !13 %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = load i32, ptr %17, align 4, !tbaa !6 %19 = getelementptr inbounds i8, ptr %16, i64 20 %20 = load i32, ptr %19, align 4, !tbaa !6 %21 = getelementptr inbounds i8, ptr %16, i64 24 %22 = load i32, ptr %21, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %16, i64 28 %24 = load i32, ptr %23, align 4, !tbaa !6 %25 = call i32 @vec4_set(ptr noundef nonnull %3, i32 noundef %18, i32 noundef %20, i32 noundef %22, i32 noundef %24) #3 %26 = load ptr, ptr %15, align 8, !tbaa !13 %27 = load i32, ptr %26, align 4, !tbaa !6 %28 = getelementptr inbounds i8, ptr %26, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !6 %30 = getelementptr inbounds i8, ptr %26, i64 8 %31 = load i32, ptr %30, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %26, i64 12 %33 = load i32, ptr %32, align 4, !tbaa !6 %34 = call i32 @vec4_set(ptr noundef nonnull %4, i32 noundef %27, i32 noundef %29, i32 noundef %31, i32 noundef %33) #3 %35 = load ptr, ptr %15, align 8, !tbaa !13 %36 = getelementptr inbounds i8, ptr %35, i64 32 %37 = load i32, ptr %36, align 4, !tbaa !6 %38 = getelementptr inbounds i8, ptr %35, i64 36 %39 = load i32, ptr %38, align 4, !tbaa !6 %40 = getelementptr inbounds i8, ptr %35, i64 40 %41 = load i32, ptr %40, align 4, !tbaa !6 %42 = getelementptr inbounds i8, ptr %35, i64 44 %43 = load i32, ptr %42, align 4, !tbaa !6 %44 = call i32 @vec4_set(ptr noundef nonnull %5, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43) #3 %45 = call i32 @gs_enable_blending(i32 noundef 0) #3 %46 = getelementptr inbounds i8, ptr %0, i64 16 %47 = load ptr, ptr %46, align 8, !tbaa !14 %48 = load i32, ptr %47, align 4, !tbaa !6 %49 = icmp eq i32 %48, 0 br i1 %49, label %99, label %50 50: ; preds = %2 %51 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %52 = call i32 @gs_effect_set_vec4(ptr noundef %10, ptr noundef nonnull %3) #3 %53 = load ptr, ptr %46, align 8, !tbaa !14 %54 = load i32, ptr %53, align 4, !tbaa !6 %55 = getelementptr inbounds i8, ptr %0, i64 8 %56 = load ptr, ptr %55, align 8, !tbaa !15 %57 = load i32, ptr %56, align 4, !tbaa !6 %58 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %54, i32 noundef %57) #3 %59 = load ptr, ptr %46, align 8, !tbaa !14 %60 = getelementptr inbounds i8, ptr %59, i64 4 %61 = load i32, ptr %60, align 4, !tbaa !6 %62 = icmp eq i32 %61, 0 br i1 %62, label %99, label %63 63: ; preds = %50 %64 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %65 = call i32 @gs_effect_set_vec4(ptr noundef %11, ptr noundef nonnull %4) #3 %66 = load ptr, ptr %46, align 8, !tbaa !14 %67 = getelementptr inbounds i8, ptr %66, i64 8 %68 = load i32, ptr %67, align 4, !tbaa !6 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %63 %71 = call i32 @gs_effect_set_vec4(ptr noundef %12, ptr noundef nonnull %5) #3 br label %72 72: ; preds = %70, %63 %73 = getelementptr inbounds i8, ptr %0, i64 24 %74 = load i32, ptr %73, align 8, !tbaa !16 %75 = call i32 @gs_effect_set_float(ptr noundef %14, i32 noundef %74) #3 %76 = load ptr, ptr %46, align 8, !tbaa !14 %77 = getelementptr inbounds i8, ptr %76, i64 4 %78 = load i32, ptr %77, align 4, !tbaa !6 %79 = load ptr, ptr %55, align 8, !tbaa !15 %80 = getelementptr inbounds i8, ptr %79, i64 4 %81 = load i32, ptr %80, align 4, !tbaa !6 %82 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %78, i32 noundef %81) #3 %83 = load ptr, ptr %46, align 8, !tbaa !14 %84 = getelementptr inbounds i8, ptr %83, i64 8 %85 = load i32, ptr %84, align 4, !tbaa !6 %86 = icmp eq i32 %85, 0 br i1 %86, label %99, label %87 87: ; preds = %72 %88 = call i32 @gs_effect_set_texture(ptr noundef %13, ptr noundef %1) #3 %89 = call i32 @gs_effect_set_vec4(ptr noundef %12, ptr noundef nonnull %5) #3 %90 = load i32, ptr %73, align 8, !tbaa !16 %91 = call i32 @gs_effect_set_float(ptr noundef %14, i32 noundef %90) #3 %92 = load ptr, ptr %46, align 8, !tbaa !14 %93 = getelementptr inbounds i8, ptr %92, i64 8 %94 = load i32, ptr %93, align 4, !tbaa !6 %95 = load ptr, ptr %55, align 8, !tbaa !15 %96 = getelementptr inbounds i8, ptr %95, i64 8 %97 = load i32, ptr %96, align 4, !tbaa !6 %98 = call i32 @render_convert_plane(ptr noundef %9, i32 noundef %94, i32 noundef %97) #3 br label %99 99: ; preds = %50, %87, %72, %2 %100 = call i32 @gs_enable_blending(i32 noundef 1) #3 store i32 1, ptr %0, align 8, !tbaa !17 %101 = load i32, ptr @render_convert_texture_name, align 4, !tbaa !6 %102 = call i32 @profile_end(i32 noundef %101) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } declare i32 @profile_start(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare ptr @gs_effect_get_param_by_name(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vec4_set(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gs_enable_blending(i32 noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_texture(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_vec4(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @render_convert_plane(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gs_effect_set_float(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @profile_end(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 40} !11 = !{!"obs_core_video", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !12, i64 40} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 32} !14 = !{!11, !12, i64 16} !15 = !{!11, !12, i64 8} !16 = !{!11, !7, i64 24} !17 = !{!11, !7, i64 0}
obs-studio_libobs_extr_obs-video.c_render_convert_texture
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_iwarp.c_ecore_iwarp_mpa_classify.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_iwarp.c_ecore_iwarp_mpa_classify.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ecore_iwarp_fpdu = type { i32, i64 } @ECORE_IWARP_MPA_PKT_UNALIGNED = dso_local local_unnamed_addr global i32 0, align 4 @ECORE_IWARP_MPA_PKT_PARTIAL = dso_local local_unnamed_addr global i32 0, align 4 @ECORE_IWARP_MPA_PKT_PACKED = dso_local local_unnamed_addr global i32 0, align 4 @ECORE_MSG_RDMA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%x\0A\00", align 1 @pkt_type_str = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_iwarp_mpa_classify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ecore_iwarp_mpa_classify(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds %struct.ecore_iwarp_fpdu, ptr %1, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = load i32, ptr %1, align 8, !tbaa !11 br label %20 10: ; preds = %4 %11 = icmp eq i32 %2, 1 %12 = load i32, ptr %3, align 4, !tbaa !12 br i1 %11, label %13, label %15 13: ; preds = %10 %14 = shl i32 %12, 8 store i32 %14, ptr %1, align 8, !tbaa !11 br label %20 15: ; preds = %10 %16 = tail call i32 @ntohs(i32 noundef %12) #2 %17 = tail call i32 @ECORE_IWARP_FPDU_LEN_WITH_PAD(i32 noundef %16) #2 store i32 %17, ptr %1, align 8, !tbaa !11 %18 = icmp sgt i32 %17, %2 %19 = select i1 %18, ptr @ECORE_IWARP_MPA_PKT_PARTIAL, ptr @ECORE_IWARP_MPA_PKT_PACKED br label %20 20: ; preds = %8, %15, %13 %21 = phi i32 [ %14, %13 ], [ %9, %8 ], [ %17, %15 ] %22 = phi ptr [ @ECORE_IWARP_MPA_PKT_PARTIAL, %13 ], [ @ECORE_IWARP_MPA_PKT_UNALIGNED, %8 ], [ %19, %15 ] %23 = load i32, ptr %22, align 4, !tbaa !12 %24 = load i32, ptr @ECORE_MSG_RDMA, align 4, !tbaa !12 %25 = load ptr, ptr @pkt_type_str, align 8, !tbaa !13 %26 = zext i32 %23 to i64 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !12 %29 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %21, i32 noundef %2) #2 ret i32 %23 } declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @ECORE_IWARP_FPDU_LEN_WITH_PAD(i32 noundef) local_unnamed_addr #1 declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ecore_iwarp_fpdu", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_iwarp.c_ecore_iwarp_mpa_classify.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_iwarp.c_ecore_iwarp_mpa_classify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECORE_IWARP_MPA_PKT_UNALIGNED = common local_unnamed_addr global i32 0, align 4 @ECORE_IWARP_MPA_PKT_PARTIAL = common local_unnamed_addr global i32 0, align 4 @ECORE_IWARP_MPA_PKT_PACKED = common local_unnamed_addr global i32 0, align 4 @ECORE_MSG_RDMA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [54 x i8] c"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%x\0A\00", align 1 @pkt_type_str = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @ecore_iwarp_mpa_classify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ecore_iwarp_mpa_classify(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = icmp eq i64 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = load i32, ptr %1, align 8, !tbaa !12 br label %20 10: ; preds = %4 %11 = icmp eq i32 %2, 1 %12 = load i32, ptr %3, align 4, !tbaa !13 br i1 %11, label %13, label %15 13: ; preds = %10 %14 = shl i32 %12, 8 store i32 %14, ptr %1, align 8, !tbaa !12 br label %20 15: ; preds = %10 %16 = tail call i32 @ntohs(i32 noundef %12) #2 %17 = tail call i32 @ECORE_IWARP_FPDU_LEN_WITH_PAD(i32 noundef %16) #2 store i32 %17, ptr %1, align 8, !tbaa !12 %18 = icmp sgt i32 %17, %2 %19 = select i1 %18, ptr @ECORE_IWARP_MPA_PKT_PARTIAL, ptr @ECORE_IWARP_MPA_PKT_PACKED br label %20 20: ; preds = %8, %15, %13 %21 = phi i32 [ %14, %13 ], [ %9, %8 ], [ %17, %15 ] %22 = phi ptr [ @ECORE_IWARP_MPA_PKT_PARTIAL, %13 ], [ @ECORE_IWARP_MPA_PKT_UNALIGNED, %8 ], [ %19, %15 ] %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = load i32, ptr @ECORE_MSG_RDMA, align 4, !tbaa !13 %25 = load ptr, ptr @pkt_type_str, align 8, !tbaa !14 %26 = zext i32 %23 to i64 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !13 %29 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %24, ptr noundef nonnull @.str, i32 noundef %28, i32 noundef %21, i32 noundef %2) #2 ret i32 %23 } declare i32 @ntohs(i32 noundef) local_unnamed_addr #1 declare i32 @ECORE_IWARP_FPDU_LEN_WITH_PAD(i32 noundef) local_unnamed_addr #1 declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ecore_iwarp_fpdu", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_iwarp.c_ecore_iwarp_mpa_classify
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_new.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ASN1_F_UINT32_NEW = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uint32_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @uint32_new(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @OPENSSL_zalloc(i32 noundef 4) #2 %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %0, align 8, !tbaa !5 %5 = icmp eq i64 %3, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i32, ptr @ASN1_F_UINT32_NEW, align 4, !tbaa !9 %8 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !9 %9 = tail call i32 @ASN1err(i32 noundef %7, i32 noundef %8) #2 br label %10 10: ; preds = %2, %6 %11 = phi i32 [ 0, %6 ], [ 1, %2 ] ret i32 %11 } declare i64 @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ASN1err(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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_new.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/asn1/extr_x_int64.c_uint32_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ASN1_F_UINT32_NEW = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uint32_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @uint32_new(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @OPENSSL_zalloc(i32 noundef 4) #2 %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %0, align 8, !tbaa !6 %5 = icmp eq i64 %3, 0 br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i32, ptr @ASN1_F_UINT32_NEW, align 4, !tbaa !10 %8 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !10 %9 = tail call i32 @ASN1err(i32 noundef %7, i32 noundef %8) #2 br label %10 10: ; preds = %2, %6 %11 = phi i32 [ 0, %6 ], [ 1, %2 ] ret i32 %11 } declare i64 @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ASN1err(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_crypto_openssl_crypto_asn1_extr_x_int64.c_uint32_new
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_sys_sparc_64.c_arch_get_unmapped_area.c' source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_sys_sparc_64.c_arch_get_unmapped_area.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vm_unmapped_area_info = type { i64, i64, i64, i32, i64, i64 } @current = dso_local local_unnamed_addr global ptr null, align 8 @TASK_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @MAP_FIXED = dso_local local_unnamed_addr global i64 0, align 8 @MAP_SHARED = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @SHMLBA = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i64 0, align 8 @TIF_32BIT = dso_local local_unnamed_addr global i32 0, align 4 @STACK_TOP32 = dso_local local_unnamed_addr global i64 0, align 8 @VA_EXCLUDE_START = dso_local local_unnamed_addr global i64 0, align 8 @ENOMEM = dso_local local_unnamed_addr global i64 0, align 8 @TASK_UNMAPPED_BASE = dso_local local_unnamed_addr global i64 0, align 8 @PAGE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @VA_EXCLUDE_END = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @arch_get_unmapped_area(ptr noundef readnone %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.vm_unmapped_area_info, align 8 %7 = load ptr, ptr @current, align 8, !tbaa !5 %8 = load ptr, ptr %7, align 8, !tbaa !9 %9 = load i64, ptr @TASK_SIZE, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3 %10 = load i64, ptr @MAP_FIXED, align 8, !tbaa !11 %11 = and i64 %10, %4 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %5 %14 = load i64, ptr @MAP_SHARED, align 8, !tbaa !11 %15 = and i64 %14, %4 %16 = icmp eq i64 %15, 0 br i1 %16, label %105, label %17 17: ; preds = %13 %18 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11 %19 = shl i64 %3, %18 %20 = sub i64 %1, %19 %21 = load i32, ptr @SHMLBA, align 4, !tbaa !13 %22 = add nsw i32 %21, -1 %23 = sext i32 %22 to i64 %24 = and i64 %20, %23 %25 = icmp eq i64 %24, 0 br i1 %25, label %105, label %26 26: ; preds = %17 %27 = load i64, ptr @EINVAL, align 8, !tbaa !11 %28 = sub i64 0, %27 br label %105 29: ; preds = %5 %30 = load i32, ptr @TIF_32BIT, align 4, !tbaa !13 %31 = tail call i64 @test_thread_flag(i32 noundef %30) #3 %32 = icmp eq i64 %31, 0 %33 = load i64, ptr @STACK_TOP32, align 8 %34 = select i1 %32, i64 %9, i64 %33 %35 = icmp ult i64 %34, %2 %36 = load i64, ptr @VA_EXCLUDE_START, align 8 %37 = icmp ule i64 %36, %2 %38 = select i1 %35, i1 true, i1 %37 %39 = zext i1 %38 to i32 %40 = tail call i64 @unlikely(i32 noundef %39) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %29 %43 = load i64, ptr @ENOMEM, align 8, !tbaa !11 %44 = sub i64 0, %43 br label %105 45: ; preds = %29 %46 = icmp eq ptr %0, null br i1 %46, label %47, label %53 47: ; preds = %45 %48 = load i64, ptr @MAP_SHARED, align 8, !tbaa !11 %49 = and i64 %48, %4 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = icmp eq i64 %1, 0 br i1 %52, label %71, label %57 53: ; preds = %45, %47 %54 = icmp eq i64 %1, 0 br i1 %54, label %71, label %55 55: ; preds = %53 %56 = tail call i64 @COLOR_ALIGN(i64 noundef %1, i64 noundef %3) #3 br label %59 57: ; preds = %51 %58 = tail call i64 @PAGE_ALIGN(i64 noundef %1) #3 br label %59 59: ; preds = %57, %55 %60 = phi i1 [ false, %55 ], [ true, %57 ] %61 = phi i64 [ %56, %55 ], [ %58, %57 ] %62 = tail call ptr @find_vma(ptr noundef %8, i64 noundef %61) #3 %63 = sub i64 %34, %2 %64 = icmp ult i64 %63, %61 br i1 %64, label %71, label %65 65: ; preds = %59 %66 = icmp eq ptr %62, null br i1 %66, label %105, label %67 67: ; preds = %65 %68 = add i64 %61, %2 %69 = tail call i64 @vm_start_gap(ptr noundef nonnull %62) #3 %70 = icmp ugt i64 %68, %69 br i1 %70, label %71, label %105 71: ; preds = %53, %59, %67, %51 %72 = phi i1 [ false, %53 ], [ %60, %59 ], [ %60, %67 ], [ true, %51 ] %73 = getelementptr inbounds %struct.vm_unmapped_area_info, ptr %6, i64 0, i32 5 store i64 0, ptr %73, align 8, !tbaa !15 store i64 %2, ptr %6, align 8, !tbaa !17 %74 = load i64, ptr @TASK_UNMAPPED_BASE, align 8, !tbaa !11 %75 = getelementptr inbounds %struct.vm_unmapped_area_info, ptr %6, i64 0, i32 1 store i64 %74, ptr %75, align 8, !tbaa !18 %76 = load i64, ptr @VA_EXCLUDE_START, align 8, !tbaa !11 %77 = tail call i64 @min(i64 noundef %34, i64 noundef %76) #3 %78 = getelementptr inbounds %struct.vm_unmapped_area_info, ptr %6, i64 0, i32 2 store i64 %77, ptr %78, align 8, !tbaa !19 %79 = load i32, ptr @PAGE_MASK, align 4 %80 = load i32, ptr @SHMLBA, align 4 %81 = add nsw i32 %80, -1 %82 = and i32 %81, %79 %83 = select i1 %72, i32 0, i32 %82 %84 = getelementptr inbounds %struct.vm_unmapped_area_info, ptr %6, i64 0, i32 3 store i32 %83, ptr %84, align 8, !tbaa !20 %85 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11 %86 = shl i64 %3, %85 %87 = getelementptr inbounds %struct.vm_unmapped_area_info, ptr %6, i64 0, i32 4 store i64 %86, ptr %87, align 8, !tbaa !21 %88 = call i64 @vm_unmapped_area(ptr noundef nonnull %6) #3 %89 = load i32, ptr @PAGE_MASK, align 4, !tbaa !13 %90 = xor i32 %89, -1 %91 = sext i32 %90 to i64 %92 = and i64 %88, %91 %93 = icmp ne i64 %92, 0 %94 = load i64, ptr @VA_EXCLUDE_END, align 8 %95 = icmp ugt i64 %34, %94 %96 = select i1 %93, i1 %95, i1 false br i1 %96, label %97, label %105 97: ; preds = %71 %98 = load i64, ptr @ENOMEM, align 8, !tbaa !11 %99 = sub i64 0, %98 %100 = icmp ne i64 %88, %99 %101 = zext i1 %100 to i32 %102 = call i32 @VM_BUG_ON(i32 noundef %101) #3 %103 = load i64, ptr @VA_EXCLUDE_END, align 8, !tbaa !11 store i64 %103, ptr %75, align 8, !tbaa !18 store i64 %34, ptr %78, align 8, !tbaa !19 %104 = call i64 @vm_unmapped_area(ptr noundef nonnull %6) #3 br label %105 105: ; preds = %71, %97, %65, %67, %13, %17, %42, %26 %106 = phi i64 [ %28, %26 ], [ %44, %42 ], [ %1, %17 ], [ %1, %13 ], [ %61, %67 ], [ %61, %65 ], [ %104, %97 ], [ %88, %71 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3 ret i64 %106 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @test_thread_flag(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @COLOR_ALIGN(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #2 declare ptr @find_vma(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @vm_start_gap(ptr noundef) local_unnamed_addr #2 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @vm_unmapped_area(ptr noundef) local_unnamed_addr #2 declare i32 @VM_BUG_ON(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0} !15 = !{!16, !12, i64 40} !16 = !{!"vm_unmapped_area_info", !12, i64 0, !12, i64 8, !12, i64 16, !14, i64 24, !12, i64 32, !12, i64 40} !17 = !{!16, !12, i64 0} !18 = !{!16, !12, i64 8} !19 = !{!16, !12, i64 16} !20 = !{!16, !14, i64 24} !21 = !{!16, !12, i64 32}
; ModuleID = 'AnghaBench/linux/arch/sparc/kernel/extr_sys_sparc_64.c_arch_get_unmapped_area.c' source_filename = "AnghaBench/linux/arch/sparc/kernel/extr_sys_sparc_64.c_arch_get_unmapped_area.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.vm_unmapped_area_info = type { i64, i64, i64, i32, i64, i64 } @current = common local_unnamed_addr global ptr null, align 8 @TASK_SIZE = common local_unnamed_addr global i64 0, align 8 @MAP_FIXED = common local_unnamed_addr global i64 0, align 8 @MAP_SHARED = common local_unnamed_addr global i64 0, align 8 @PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8 @SHMLBA = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i64 0, align 8 @TIF_32BIT = common local_unnamed_addr global i32 0, align 4 @STACK_TOP32 = common local_unnamed_addr global i64 0, align 8 @VA_EXCLUDE_START = common local_unnamed_addr global i64 0, align 8 @ENOMEM = common local_unnamed_addr global i64 0, align 8 @TASK_UNMAPPED_BASE = common local_unnamed_addr global i64 0, align 8 @PAGE_MASK = common local_unnamed_addr global i32 0, align 4 @VA_EXCLUDE_END = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @arch_get_unmapped_area(ptr noundef readnone %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #0 { %6 = alloca %struct.vm_unmapped_area_info, align 8 %7 = load ptr, ptr @current, align 8, !tbaa !6 %8 = load ptr, ptr %7, align 8, !tbaa !10 %9 = load i64, ptr @TASK_SIZE, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3 %10 = load i64, ptr @MAP_FIXED, align 8, !tbaa !12 %11 = and i64 %10, %4 %12 = icmp eq i64 %11, 0 br i1 %12, label %29, label %13 13: ; preds = %5 %14 = load i64, ptr @MAP_SHARED, align 8, !tbaa !12 %15 = and i64 %14, %4 %16 = icmp eq i64 %15, 0 br i1 %16, label %105, label %17 17: ; preds = %13 %18 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !12 %19 = shl i64 %3, %18 %20 = sub i64 %1, %19 %21 = load i32, ptr @SHMLBA, align 4, !tbaa !14 %22 = add nsw i32 %21, -1 %23 = sext i32 %22 to i64 %24 = and i64 %20, %23 %25 = icmp eq i64 %24, 0 br i1 %25, label %105, label %26 26: ; preds = %17 %27 = load i64, ptr @EINVAL, align 8, !tbaa !12 %28 = sub i64 0, %27 br label %105 29: ; preds = %5 %30 = load i32, ptr @TIF_32BIT, align 4, !tbaa !14 %31 = tail call i64 @test_thread_flag(i32 noundef %30) #3 %32 = icmp eq i64 %31, 0 %33 = load i64, ptr @STACK_TOP32, align 8 %34 = select i1 %32, i64 %9, i64 %33 %35 = icmp ult i64 %34, %2 %36 = load i64, ptr @VA_EXCLUDE_START, align 8 %37 = icmp ule i64 %36, %2 %38 = select i1 %35, i1 true, i1 %37 %39 = zext i1 %38 to i32 %40 = tail call i64 @unlikely(i32 noundef %39) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %29 %43 = load i64, ptr @ENOMEM, align 8, !tbaa !12 %44 = sub i64 0, %43 br label %105 45: ; preds = %29 %46 = icmp eq ptr %0, null br i1 %46, label %47, label %53 47: ; preds = %45 %48 = load i64, ptr @MAP_SHARED, align 8, !tbaa !12 %49 = and i64 %48, %4 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = icmp eq i64 %1, 0 br i1 %52, label %71, label %57 53: ; preds = %45, %47 %54 = icmp eq i64 %1, 0 br i1 %54, label %71, label %55 55: ; preds = %53 %56 = tail call i64 @COLOR_ALIGN(i64 noundef %1, i64 noundef %3) #3 br label %59 57: ; preds = %51 %58 = tail call i64 @PAGE_ALIGN(i64 noundef %1) #3 br label %59 59: ; preds = %57, %55 %60 = phi i1 [ false, %55 ], [ true, %57 ] %61 = phi i64 [ %56, %55 ], [ %58, %57 ] %62 = tail call ptr @find_vma(ptr noundef %8, i64 noundef %61) #3 %63 = sub i64 %34, %2 %64 = icmp ult i64 %63, %61 br i1 %64, label %71, label %65 65: ; preds = %59 %66 = icmp eq ptr %62, null br i1 %66, label %105, label %67 67: ; preds = %65 %68 = add i64 %61, %2 %69 = tail call i64 @vm_start_gap(ptr noundef nonnull %62) #3 %70 = icmp ugt i64 %68, %69 br i1 %70, label %71, label %105 71: ; preds = %53, %59, %67, %51 %72 = phi i1 [ false, %53 ], [ %60, %59 ], [ %60, %67 ], [ true, %51 ] %73 = getelementptr inbounds i8, ptr %6, i64 40 store i64 0, ptr %73, align 8, !tbaa !16 store i64 %2, ptr %6, align 8, !tbaa !18 %74 = load i64, ptr @TASK_UNMAPPED_BASE, align 8, !tbaa !12 %75 = getelementptr inbounds i8, ptr %6, i64 8 store i64 %74, ptr %75, align 8, !tbaa !19 %76 = load i64, ptr @VA_EXCLUDE_START, align 8, !tbaa !12 %77 = tail call i64 @min(i64 noundef %34, i64 noundef %76) #3 %78 = getelementptr inbounds i8, ptr %6, i64 16 store i64 %77, ptr %78, align 8, !tbaa !20 %79 = load i32, ptr @PAGE_MASK, align 4 %80 = load i32, ptr @SHMLBA, align 4 %81 = add nsw i32 %80, -1 %82 = and i32 %81, %79 %83 = select i1 %72, i32 0, i32 %82 %84 = getelementptr inbounds i8, ptr %6, i64 24 store i32 %83, ptr %84, align 8, !tbaa !21 %85 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !12 %86 = shl i64 %3, %85 %87 = getelementptr inbounds i8, ptr %6, i64 32 store i64 %86, ptr %87, align 8, !tbaa !22 %88 = call i64 @vm_unmapped_area(ptr noundef nonnull %6) #3 %89 = load i32, ptr @PAGE_MASK, align 4, !tbaa !14 %90 = xor i32 %89, -1 %91 = sext i32 %90 to i64 %92 = and i64 %88, %91 %93 = icmp ne i64 %92, 0 %94 = load i64, ptr @VA_EXCLUDE_END, align 8 %95 = icmp ugt i64 %34, %94 %96 = select i1 %93, i1 %95, i1 false br i1 %96, label %97, label %105 97: ; preds = %71 %98 = load i64, ptr @ENOMEM, align 8, !tbaa !12 %99 = sub i64 0, %98 %100 = icmp ne i64 %88, %99 %101 = zext i1 %100 to i32 %102 = call i32 @VM_BUG_ON(i32 noundef %101) #3 %103 = load i64, ptr @VA_EXCLUDE_END, align 8, !tbaa !12 store i64 %103, ptr %75, align 8, !tbaa !19 store i64 %34, ptr %78, align 8, !tbaa !20 %104 = call i64 @vm_unmapped_area(ptr noundef nonnull %6) #3 br label %105 105: ; preds = %71, %97, %65, %67, %13, %17, %42, %26 %106 = phi i64 [ %28, %26 ], [ %44, %42 ], [ %1, %17 ], [ %1, %13 ], [ %61, %67 ], [ %61, %65 ], [ %104, %97 ], [ %88, %71 ] call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3 ret i64 %106 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @test_thread_flag(i32 noundef) local_unnamed_addr #2 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @COLOR_ALIGN(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PAGE_ALIGN(i64 noundef) local_unnamed_addr #2 declare ptr @find_vma(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @vm_start_gap(ptr noundef) local_unnamed_addr #2 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @vm_unmapped_area(ptr noundef) local_unnamed_addr #2 declare i32 @VM_BUG_ON(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !13, i64 40} !17 = !{!"vm_unmapped_area_info", !13, i64 0, !13, i64 8, !13, i64 16, !15, i64 24, !13, i64 32, !13, i64 40} !18 = !{!17, !13, i64 0} !19 = !{!17, !13, i64 8} !20 = !{!17, !13, i64 16} !21 = !{!17, !15, i64 24} !22 = !{!17, !13, i64 32}
linux_arch_sparc_kernel_extr_sys_sparc_64.c_arch_get_unmapped_area
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr__libkernel_init.c___libkernel_init.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr__libkernel_init.c___libkernel_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" @_libkernel_functions = dso_local local_unnamed_addr global ptr null, align 8 @_dlsym = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @__libkernel_init(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { store ptr %0, ptr @_libkernel_functions, align 8, !tbaa !5 %5 = load i64, ptr %0, align 8, !tbaa !9 %6 = icmp eq i64 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %4 store i64 %5, ptr @_dlsym, align 8, !tbaa !12 br label %8 8: ; preds = %7, %4 %9 = tail call i32 (...) @mach_init() #2 ret void } declare i32 @mach_init(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/libsyscall/wrappers/extr__libkernel_init.c___libkernel_init.c' source_filename = "AnghaBench/darwin-xnu/libsyscall/wrappers/extr__libkernel_init.c___libkernel_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_libkernel_functions = common local_unnamed_addr global ptr null, align 8 @_dlsym = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @__libkernel_init(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readnone %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 { store ptr %0, ptr @_libkernel_functions, align 8, !tbaa !6 %5 = load i64, ptr %0, align 8, !tbaa !10 %6 = icmp eq i64 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %4 store i64 %5, ptr @_dlsym, align 8, !tbaa !13 br label %8 8: ; preds = %7, %4 %9 = tail call i32 @mach_init() #2 ret void } declare i32 @mach_init(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
darwin-xnu_libsyscall_wrappers_extr__libkernel_init.c___libkernel_init
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_atomic_plane.c_intel_plane_free.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_atomic_plane.c_intel_plane_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" ; Function Attrs: nounwind uwtable define dso_local void @intel_plane_free(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @intel_plane_destroy_state(ptr noundef nonnull %0, i32 noundef %2) #2 %4 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @intel_plane_destroy_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"intel_plane", !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/linux/drivers/gpu/drm/i915/display/extr_intel_atomic_plane.c_intel_plane_free.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_atomic_plane.c_intel_plane_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define void @intel_plane_free(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @intel_plane_destroy_state(ptr noundef nonnull %0, i32 noundef %2) #2 %4 = tail call i32 @kfree(ptr noundef nonnull %0) #2 ret void } declare i32 @intel_plane_destroy_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"intel_plane", !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"}
linux_drivers_gpu_drm_i915_display_extr_intel_atomic_plane.c_intel_plane_free
; ModuleID = 'AnghaBench/jq/src/decNumber/extr_decNumber.c_decNaNs.c' source_filename = "AnghaBench/jq/src/decNumber/extr_decNumber.c_decNaNs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i32, i64, ptr } @DECSNAN = dso_local local_unnamed_addr global i32 0, align 4 @DEC_Invalid_operation = dso_local local_unnamed_addr global i32 0, align 4 @DEC_sNaN = dso_local local_unnamed_addr global i32 0, align 4 @DECNAN = dso_local local_unnamed_addr global i32 0, align 4 @DECDPUN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decNaNs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @decNaNs(ptr noundef returned %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = load i32, ptr @DECSNAN, align 4, !tbaa !12 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @DEC_Invalid_operation, align 4, !tbaa !12 %12 = load i32, ptr @DEC_sNaN, align 4, !tbaa !12 %13 = or i32 %12, %11 %14 = load i32, ptr %4, align 4, !tbaa !12 %15 = or i32 %13, %14 store i32 %15, ptr %4, align 4, !tbaa !12 br label %33 16: ; preds = %5 %17 = icmp eq ptr %2, null br i1 %17, label %33, label %18 18: ; preds = %16 %19 = load i32, ptr %2, align 8, !tbaa !5 %20 = and i32 %19, %7 %21 = icmp eq i32 %20, 0 br i1 %21, label %28, label %22 22: ; preds = %18 %23 = load i32, ptr @DEC_Invalid_operation, align 4, !tbaa !12 %24 = load i32, ptr @DEC_sNaN, align 4, !tbaa !12 %25 = or i32 %24, %23 %26 = load i32, ptr %4, align 4, !tbaa !12 %27 = or i32 %25, %26 store i32 %27, ptr %4, align 4, !tbaa !12 br label %33 28: ; preds = %18 %29 = load i32, ptr @DECNAN, align 4, !tbaa !12 %30 = and i32 %29, %6 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, ptr %2, ptr %1 br label %33 33: ; preds = %28, %16, %22, %10 %34 = phi ptr [ %1, %10 ], [ %1, %16 ], [ %2, %22 ], [ %32, %28 ] %35 = getelementptr inbounds %struct.TYPE_11__, ptr %34, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !13 %37 = load i32, ptr %3, align 4, !tbaa !14 %38 = icmp sgt i32 %36, %37 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = tail call i32 @decNumberCopy(ptr noundef %0, ptr noundef nonnull %34) #3 br label %109 41: ; preds = %33 %42 = load i32, ptr %34, align 8, !tbaa !5 store i32 %42, ptr %0, align 8, !tbaa !5 %43 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 %44 = load ptr, ptr %43, align 8, !tbaa !16 %45 = tail call i32 @D2U(i32 noundef %37) #3 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load ptr, ptr %43, align 8, !tbaa !16 %49 = icmp ult ptr %48, %47 br i1 %49, label %50, label %98 50: ; preds = %41 %51 = ptrtoint ptr %48 to i64 %52 = ptrtoint ptr %44 to i64 %53 = getelementptr inbounds %struct.TYPE_11__, ptr %34, i64 0, i32 3 %54 = load ptr, ptr %53, align 8, !tbaa !16 %55 = shl nsw i64 %46, 2 %56 = add i64 %55, %52 %57 = add i64 %51, 4 %58 = tail call i64 @llvm.umax.i64(i64 %56, i64 %57) %59 = xor i64 %51, -1 %60 = add i64 %58, %59 %61 = lshr i64 %60, 2 %62 = add nuw nsw i64 %61, 1 %63 = icmp ult i64 %60, 28 %64 = ptrtoint ptr %54 to i64 %65 = sub i64 %51, %64 %66 = icmp ult i64 %65, 32 %67 = select i1 %63, i1 true, i1 %66 br i1 %67, label %88, label %68 68: ; preds = %50 %69 = and i64 %62, 9223372036854775800 %70 = shl i64 %69, 2 %71 = getelementptr i8, ptr %48, i64 %70 %72 = shl i64 %69, 2 %73 = getelementptr i8, ptr %54, i64 %72 br label %74 74: ; preds = %74, %68 %75 = phi i64 [ 0, %68 ], [ %84, %74 ] %76 = shl i64 %75, 2 %77 = getelementptr i8, ptr %48, i64 %76 %78 = shl i64 %75, 2 %79 = getelementptr i8, ptr %54, i64 %78 %80 = getelementptr i32, ptr %79, i64 4 %81 = load <4 x i32>, ptr %79, align 4, !tbaa !12 %82 = load <4 x i32>, ptr %80, align 4, !tbaa !12 %83 = getelementptr i32, ptr %77, i64 4 store <4 x i32> %81, ptr %77, align 4, !tbaa !12 store <4 x i32> %82, ptr %83, align 4, !tbaa !12 %84 = add nuw i64 %75, 8 %85 = icmp eq i64 %84, %69 br i1 %85, label %86, label %74, !llvm.loop !17 86: ; preds = %74 %87 = icmp eq i64 %62, %69 br i1 %87, label %98, label %88 88: ; preds = %50, %86 %89 = phi ptr [ %48, %50 ], [ %71, %86 ] %90 = phi ptr [ %54, %50 ], [ %73, %86 ] br label %91 91: ; preds = %88, %91 %92 = phi ptr [ %95, %91 ], [ %89, %88 ] %93 = phi ptr [ %96, %91 ], [ %90, %88 ] %94 = load i32, ptr %93, align 4, !tbaa !12 store i32 %94, ptr %92, align 4, !tbaa !12 %95 = getelementptr inbounds i32, ptr %92, i64 1 %96 = getelementptr inbounds i32, ptr %93, i64 1 %97 = icmp ult ptr %95, %47 br i1 %97, label %91, label %98, !llvm.loop !21 98: ; preds = %91, %86, %41 %99 = load i32, ptr %3, align 4, !tbaa !14 %100 = tail call i32 @D2U(i32 noundef %99) #3 %101 = load i32, ptr @DECDPUN, align 4, !tbaa !12 %102 = mul nsw i32 %101, %100 %103 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 store i32 %102, ptr %103, align 4, !tbaa !13 %104 = load i32, ptr %3, align 4, !tbaa !14 %105 = icmp sgt i32 %102, %104 br i1 %105, label %106, label %109 106: ; preds = %98 %107 = sub nsw i32 %102, %104 %108 = tail call i32 @decDecap(ptr noundef nonnull %0, i32 noundef %107) #3 br label %109 109: ; preds = %98, %106, %39 %110 = load i32, ptr @DECSNAN, align 4, !tbaa !12 %111 = xor i32 %110, -1 %112 = load i32, ptr %0, align 8, !tbaa !5 %113 = and i32 %112, %111 store i32 %113, ptr %0, align 8, !tbaa !5 %114 = load i32, ptr @DECNAN, align 4, !tbaa !12 %115 = or i32 %114, %113 store i32 %115, ptr %0, align 8, !tbaa !5 %116 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 store i64 0, ptr %116, align 8, !tbaa !22 ret ptr %0 } declare i32 @decNumberCopy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @D2U(i32 noundef) local_unnamed_addr #1 declare i32 @decDecap(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !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 4} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_12__", !7, i64 0} !16 = !{!6, !11, i64 16} !17 = distinct !{!17, !18, !19, !20} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!"llvm.loop.isvectorized", i32 1} !20 = !{!"llvm.loop.unroll.runtime.disable"} !21 = distinct !{!21, !18, !19} !22 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/jq/src/decNumber/extr_decNumber.c_decNaNs.c' source_filename = "AnghaBench/jq/src/decNumber/extr_decNumber.c_decNaNs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DECSNAN = common local_unnamed_addr global i32 0, align 4 @DEC_Invalid_operation = common local_unnamed_addr global i32 0, align 4 @DEC_sNaN = common local_unnamed_addr global i32 0, align 4 @DECNAN = common local_unnamed_addr global i32 0, align 4 @DECDPUN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decNaNs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @decNaNs(ptr noundef returned %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4) #0 { %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = load i32, ptr @DECSNAN, align 4, !tbaa !13 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %16, label %10 10: ; preds = %5 %11 = load i32, ptr @DEC_Invalid_operation, align 4, !tbaa !13 %12 = load i32, ptr @DEC_sNaN, align 4, !tbaa !13 %13 = or i32 %12, %11 %14 = load i32, ptr %4, align 4, !tbaa !13 %15 = or i32 %13, %14 store i32 %15, ptr %4, align 4, !tbaa !13 br label %33 16: ; preds = %5 %17 = icmp eq ptr %2, null br i1 %17, label %33, label %18 18: ; preds = %16 %19 = load i32, ptr %2, align 8, !tbaa !6 %20 = and i32 %19, %7 %21 = icmp eq i32 %20, 0 br i1 %21, label %28, label %22 22: ; preds = %18 %23 = load i32, ptr @DEC_Invalid_operation, align 4, !tbaa !13 %24 = load i32, ptr @DEC_sNaN, align 4, !tbaa !13 %25 = or i32 %24, %23 %26 = load i32, ptr %4, align 4, !tbaa !13 %27 = or i32 %25, %26 store i32 %27, ptr %4, align 4, !tbaa !13 br label %33 28: ; preds = %18 %29 = load i32, ptr @DECNAN, align 4, !tbaa !13 %30 = and i32 %29, %6 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, ptr %2, ptr %1 br label %33 33: ; preds = %28, %16, %22, %10 %34 = phi ptr [ %1, %10 ], [ %1, %16 ], [ %2, %22 ], [ %32, %28 ] %35 = getelementptr inbounds i8, ptr %34, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !14 %37 = load i32, ptr %3, align 4, !tbaa !15 %38 = icmp sgt i32 %36, %37 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = tail call i32 @decNumberCopy(ptr noundef %0, ptr noundef nonnull %34) #3 br label %115 41: ; preds = %33 %42 = load i32, ptr %34, align 8, !tbaa !6 store i32 %42, ptr %0, align 8, !tbaa !6 %43 = getelementptr inbounds i8, ptr %0, i64 16 %44 = load ptr, ptr %43, align 8, !tbaa !17 %45 = tail call i32 @D2U(i32 noundef %37) #3 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load ptr, ptr %43, align 8, !tbaa !17 %49 = icmp ult ptr %48, %47 br i1 %49, label %50, label %104 50: ; preds = %41 %51 = ptrtoint ptr %48 to i64 %52 = ptrtoint ptr %44 to i64 %53 = getelementptr inbounds i8, ptr %34, i64 16 %54 = load ptr, ptr %53, align 8, !tbaa !17 %55 = shl nsw i64 %46, 2 %56 = add i64 %55, %52 %57 = add i64 %51, 4 %58 = tail call i64 @llvm.umax.i64(i64 %56, i64 %57) %59 = xor i64 %51, -1 %60 = add i64 %58, %59 %61 = lshr i64 %60, 2 %62 = add nuw nsw i64 %61, 1 %63 = icmp ult i64 %60, 60 %64 = ptrtoint ptr %54 to i64 %65 = sub i64 %51, %64 %66 = icmp ult i64 %65, 64 %67 = select i1 %63, i1 true, i1 %66 br i1 %67, label %94, label %68 68: ; preds = %50 %69 = and i64 %62, 9223372036854775792 %70 = shl i64 %69, 2 %71 = getelementptr i8, ptr %48, i64 %70 %72 = shl i64 %69, 2 %73 = getelementptr i8, ptr %54, i64 %72 br label %74 74: ; preds = %74, %68 %75 = phi i64 [ 0, %68 ], [ %90, %74 ] %76 = shl i64 %75, 2 %77 = getelementptr i8, ptr %48, i64 %76 %78 = shl i64 %75, 2 %79 = getelementptr i8, ptr %54, i64 %78 %80 = getelementptr i8, ptr %79, i64 16 %81 = getelementptr i8, ptr %79, i64 32 %82 = getelementptr i8, ptr %79, i64 48 %83 = load <4 x i32>, ptr %79, align 4, !tbaa !13 %84 = load <4 x i32>, ptr %80, align 4, !tbaa !13 %85 = load <4 x i32>, ptr %81, align 4, !tbaa !13 %86 = load <4 x i32>, ptr %82, align 4, !tbaa !13 %87 = getelementptr i8, ptr %77, i64 16 %88 = getelementptr i8, ptr %77, i64 32 %89 = getelementptr i8, ptr %77, i64 48 store <4 x i32> %83, ptr %77, align 4, !tbaa !13 store <4 x i32> %84, ptr %87, align 4, !tbaa !13 store <4 x i32> %85, ptr %88, align 4, !tbaa !13 store <4 x i32> %86, ptr %89, align 4, !tbaa !13 %90 = add nuw i64 %75, 16 %91 = icmp eq i64 %90, %69 br i1 %91, label %92, label %74, !llvm.loop !18 92: ; preds = %74 %93 = icmp eq i64 %62, %69 br i1 %93, label %104, label %94 94: ; preds = %92, %50 %95 = phi ptr [ %48, %50 ], [ %71, %92 ] %96 = phi ptr [ %54, %50 ], [ %73, %92 ] br label %97 97: ; preds = %94, %97 %98 = phi ptr [ %101, %97 ], [ %95, %94 ] %99 = phi ptr [ %102, %97 ], [ %96, %94 ] %100 = load i32, ptr %99, align 4, !tbaa !13 store i32 %100, ptr %98, align 4, !tbaa !13 %101 = getelementptr inbounds i8, ptr %98, i64 4 %102 = getelementptr inbounds i8, ptr %99, i64 4 %103 = icmp ult ptr %101, %47 br i1 %103, label %97, label %104, !llvm.loop !22 104: ; preds = %97, %92, %41 %105 = load i32, ptr %3, align 4, !tbaa !15 %106 = tail call i32 @D2U(i32 noundef %105) #3 %107 = load i32, ptr @DECDPUN, align 4, !tbaa !13 %108 = mul nsw i32 %107, %106 %109 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %108, ptr %109, align 4, !tbaa !14 %110 = load i32, ptr %3, align 4, !tbaa !15 %111 = icmp sgt i32 %108, %110 br i1 %111, label %112, label %115 112: ; preds = %104 %113 = sub nsw i32 %108, %110 %114 = tail call i32 @decDecap(ptr noundef nonnull %0, i32 noundef %113) #3 br label %115 115: ; preds = %104, %112, %39 %116 = load i32, ptr @DECSNAN, align 4, !tbaa !13 %117 = xor i32 %116, -1 %118 = load i32, ptr %0, align 8, !tbaa !6 %119 = and i32 %118, %117 store i32 %119, ptr %0, align 8, !tbaa !6 %120 = load i32, ptr @DECNAN, align 4, !tbaa !13 %121 = or i32 %120, %119 store i32 %121, ptr %0, align 8, !tbaa !6 %122 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %122, align 8, !tbaa !23 ret ptr %0 } declare i32 @decNumberCopy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @D2U(i32 noundef) local_unnamed_addr #1 declare i32 @decDecap(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_11__", !8, i64 0, !8, i64 4, !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 4} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_12__", !8, i64 0} !17 = !{!7, !12, i64 16} !18 = distinct !{!18, !19, !20, !21} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!"llvm.loop.isvectorized", i32 1} !21 = !{!"llvm.loop.unroll.runtime.disable"} !22 = distinct !{!22, !19, !20} !23 = !{!7, !11, i64 8}
jq_src_decNumber_extr_decNumber.c_decNaNs
; ModuleID = 'AnghaBench/postgres/src/backend/utils/mb/extr_conv.c_LocalToUtf.c' source_filename = "AnghaBench/postgres/src/backend/utils/mb/extr_conv.c_LocalToUtf.c" target datalayout = "e-m:e-p270:32:32-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 { i8, i8 } @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_INVALID_PARAMETER_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"invalid encoding number: %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"unsupported character length %d\00", align 1 @compare4 = dso_local local_unnamed_addr global i32 0, align 4 @PG_UTF8 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @LocalToUtf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef readonly %6, i32 noundef %7) local_unnamed_addr #0 { %9 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3 %10 = tail call i32 @PG_VALID_ENCODING(i32 noundef %7) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr @ERROR, align 4, !tbaa !5 %14 = load i32, ptr @ERRCODE_INVALID_PARAMETER_VALUE, align 4, !tbaa !5 %15 = tail call i32 @errcode(i32 noundef %14) #3 %16 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %7) #3 %17 = tail call i32 @ereport(i32 noundef %13, i32 noundef %16) #3 br label %18 18: ; preds = %12, %8 %19 = icmp sgt i32 %1, 0 br i1 %19, label %20, label %111 20: ; preds = %18 %21 = icmp eq ptr %3, null %22 = icmp eq ptr %4, null %23 = icmp eq ptr %6, null br label %24 24: ; preds = %20, %103 %25 = phi ptr [ %0, %20 ], [ %106, %103 ] %26 = phi i32 [ %1, %20 ], [ %107, %103 ] %27 = phi ptr [ %2, %20 ], [ %105, %103 ] %28 = load i8, ptr %25, align 1, !tbaa !9 %29 = icmp eq i8 %28, 0 br i1 %29, label %109, label %30 30: ; preds = %24 %31 = call i32 @IS_HIGHBIT_SET(i8 noundef zeroext %28) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = getelementptr inbounds i8, ptr %25, i64 1 %35 = load i8, ptr %25, align 1, !tbaa !9 %36 = getelementptr inbounds i8, ptr %27, i64 1 store i8 %35, ptr %27, align 1, !tbaa !9 br label %103 37: ; preds = %30 %38 = call i32 @pg_encoding_verifymb(i32 noundef %7, ptr noundef nonnull %25, i32 noundef %26) #3 %39 = icmp slt i32 %38, 0 br i1 %39, label %109, label %40 40: ; preds = %37 switch i32 %38, label %65 [ i32 1, label %41 i32 2, label %44 i32 3, label %49 i32 4, label %56 ] 41: ; preds = %40 %42 = getelementptr inbounds i8, ptr %25, i64 1 %43 = load i8, ptr %25, align 1, !tbaa !9 br label %68 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %25, i64 1 %46 = load i8, ptr %25, align 1, !tbaa !9 %47 = getelementptr inbounds i8, ptr %25, i64 2 %48 = load i8, ptr %45, align 1, !tbaa !9 br label %68 49: ; preds = %40 %50 = getelementptr inbounds i8, ptr %25, i64 1 %51 = load i8, ptr %25, align 1, !tbaa !9 %52 = getelementptr inbounds i8, ptr %25, i64 2 %53 = load i8, ptr %50, align 1, !tbaa !9 %54 = getelementptr inbounds i8, ptr %25, i64 3 %55 = load i8, ptr %52, align 1, !tbaa !9 br label %68 56: ; preds = %40 %57 = getelementptr inbounds i8, ptr %25, i64 1 %58 = load i8, ptr %25, align 1, !tbaa !9 %59 = getelementptr inbounds i8, ptr %25, i64 2 %60 = load i8, ptr %57, align 1, !tbaa !9 %61 = getelementptr inbounds i8, ptr %25, i64 3 %62 = load i8, ptr %59, align 1, !tbaa !9 %63 = getelementptr inbounds i8, ptr %25, i64 4 %64 = load i8, ptr %61, align 1, !tbaa !9 br label %68 65: ; preds = %40 %66 = load i32, ptr @ERROR, align 4, !tbaa !5 %67 = call i32 @elog(i32 noundef %66, ptr noundef nonnull @.str.1, i32 noundef %38) #3 br label %68 68: ; preds = %44, %56, %65, %49, %41 %69 = phi i8 [ 0, %41 ], [ 0, %44 ], [ 0, %49 ], [ %58, %56 ], [ 0, %65 ] %70 = phi i8 [ 0, %41 ], [ 0, %44 ], [ %51, %49 ], [ %60, %56 ], [ 0, %65 ] %71 = phi i8 [ 0, %41 ], [ %46, %44 ], [ %53, %49 ], [ %62, %56 ], [ 0, %65 ] %72 = phi i8 [ %43, %41 ], [ %48, %44 ], [ %55, %49 ], [ %64, %56 ], [ 0, %65 ] %73 = phi ptr [ %42, %41 ], [ %47, %44 ], [ %54, %49 ], [ %63, %56 ], [ %25, %65 ] store i8 %72, ptr %9, align 1, !tbaa !9 br i1 %21, label %90, label %74 74: ; preds = %68 %75 = call zeroext i8 @pg_mb_radix_conv(ptr noundef nonnull %3, i32 noundef %38, i8 noundef zeroext %69, i8 noundef zeroext %70, i8 noundef zeroext %71, i8 noundef zeroext %72) #3 %76 = icmp eq i8 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %74 %78 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %75) #3 br label %103 79: ; preds = %74 br i1 %22, label %90, label %80 80: ; preds = %79 %81 = load i32, ptr @compare4, align 4, !tbaa !5 %82 = call ptr @bsearch(ptr noundef nonnull %9, ptr noundef nonnull %4, i32 noundef %5, i32 noundef 2, i32 noundef %81) #3 %83 = icmp eq ptr %82, null br i1 %83, label %90, label %84 84: ; preds = %80 %85 = load i8, ptr %82, align 1, !tbaa !10 %86 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %85) #3 %87 = getelementptr inbounds %struct.TYPE_5__, ptr %82, i64 0, i32 1 %88 = load i8, ptr %87, align 1, !tbaa !12 %89 = call ptr @store_coded_char(ptr noundef %86, i8 noundef zeroext %88) #3 br label %103 90: ; preds = %79, %80, %68 br i1 %23, label %97, label %91 91: ; preds = %90 %92 = load i8, ptr %9, align 1, !tbaa !9 %93 = call zeroext i8 %6(i8 noundef zeroext %92) #3 %94 = icmp eq i8 %93, 0 br i1 %94, label %97, label %95 95: ; preds = %91 %96 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %93) #3 br label %103 97: ; preds = %91, %90 %98 = load i32, ptr @PG_UTF8, align 4, !tbaa !5 %99 = zext nneg i32 %38 to i64 %100 = sub nsw i64 0, %99 %101 = getelementptr inbounds i8, ptr %73, i64 %100 %102 = call i32 @report_untranslatable_char(i32 noundef %7, i32 noundef %98, ptr noundef nonnull %101, i32 noundef %26) #3 br label %103 103: ; preds = %97, %95, %33, %77, %84 %104 = phi i32 [ %38, %77 ], [ %38, %84 ], [ 1, %33 ], [ %38, %95 ], [ %38, %97 ] %105 = phi ptr [ %78, %77 ], [ %89, %84 ], [ %36, %33 ], [ %96, %95 ], [ %27, %97 ] %106 = phi ptr [ %73, %77 ], [ %73, %84 ], [ %34, %33 ], [ %73, %95 ], [ %73, %97 ] %107 = sub nsw i32 %26, %104 %108 = icmp sgt i32 %107, 0 br i1 %108, label %24, label %111, !llvm.loop !13 109: ; preds = %24, %37 %110 = call i32 @report_invalid_encoding(i32 noundef %7, ptr noundef nonnull %25, i32 noundef %26) #3 br label %111 111: ; preds = %103, %18, %109 %112 = phi ptr [ %27, %109 ], [ %2, %18 ], [ %105, %103 ] store i8 0, ptr %112, align 1, !tbaa !9 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #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 @PG_VALID_ENCODING(i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IS_HIGHBIT_SET(i8 noundef zeroext) local_unnamed_addr #2 declare i32 @pg_encoding_verifymb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare zeroext i8 @pg_mb_radix_conv(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #2 declare ptr @store_coded_char(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2 declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @report_untranslatable_char(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @report_invalid_encoding(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0, !7, i64 1} !12 = !{!11, !7, i64 1} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/postgres/src/backend/utils/mb/extr_conv.c_LocalToUtf.c' source_filename = "AnghaBench/postgres/src/backend/utils/mb/extr_conv.c_LocalToUtf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_INVALID_PARAMETER_VALUE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"invalid encoding number: %d\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"unsupported character length %d\00", align 1 @compare4 = common local_unnamed_addr global i32 0, align 4 @PG_UTF8 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @LocalToUtf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef readonly %6, i32 noundef %7) local_unnamed_addr #0 { %9 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3 %10 = tail call i32 @PG_VALID_ENCODING(i32 noundef %7) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %18 12: ; preds = %8 %13 = load i32, ptr @ERROR, align 4, !tbaa !6 %14 = load i32, ptr @ERRCODE_INVALID_PARAMETER_VALUE, align 4, !tbaa !6 %15 = tail call i32 @errcode(i32 noundef %14) #3 %16 = tail call i32 @errmsg(ptr noundef nonnull @.str, i32 noundef %7) #3 %17 = tail call i32 @ereport(i32 noundef %13, i32 noundef %16) #3 br label %18 18: ; preds = %12, %8 %19 = icmp sgt i32 %1, 0 br i1 %19, label %20, label %111 20: ; preds = %18 %21 = icmp eq ptr %3, null %22 = icmp eq ptr %4, null %23 = icmp eq ptr %6, null br label %24 24: ; preds = %20, %103 %25 = phi ptr [ %0, %20 ], [ %106, %103 ] %26 = phi i32 [ %1, %20 ], [ %107, %103 ] %27 = phi ptr [ %2, %20 ], [ %105, %103 ] %28 = load i8, ptr %25, align 1, !tbaa !10 %29 = icmp eq i8 %28, 0 br i1 %29, label %109, label %30 30: ; preds = %24 %31 = call i32 @IS_HIGHBIT_SET(i8 noundef zeroext %28) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = getelementptr inbounds i8, ptr %25, i64 1 %35 = load i8, ptr %25, align 1, !tbaa !10 %36 = getelementptr inbounds i8, ptr %27, i64 1 store i8 %35, ptr %27, align 1, !tbaa !10 br label %103 37: ; preds = %30 %38 = call i32 @pg_encoding_verifymb(i32 noundef %7, ptr noundef nonnull %25, i32 noundef %26) #3 %39 = icmp slt i32 %38, 0 br i1 %39, label %109, label %40 40: ; preds = %37 switch i32 %38, label %65 [ i32 1, label %41 i32 2, label %44 i32 3, label %49 i32 4, label %56 ] 41: ; preds = %40 %42 = getelementptr inbounds i8, ptr %25, i64 1 %43 = load i8, ptr %25, align 1, !tbaa !10 br label %68 44: ; preds = %40 %45 = getelementptr inbounds i8, ptr %25, i64 1 %46 = load i8, ptr %25, align 1, !tbaa !10 %47 = getelementptr inbounds i8, ptr %25, i64 2 %48 = load i8, ptr %45, align 1, !tbaa !10 br label %68 49: ; preds = %40 %50 = getelementptr inbounds i8, ptr %25, i64 1 %51 = load i8, ptr %25, align 1, !tbaa !10 %52 = getelementptr inbounds i8, ptr %25, i64 2 %53 = load i8, ptr %50, align 1, !tbaa !10 %54 = getelementptr inbounds i8, ptr %25, i64 3 %55 = load i8, ptr %52, align 1, !tbaa !10 br label %68 56: ; preds = %40 %57 = getelementptr inbounds i8, ptr %25, i64 1 %58 = load i8, ptr %25, align 1, !tbaa !10 %59 = getelementptr inbounds i8, ptr %25, i64 2 %60 = load i8, ptr %57, align 1, !tbaa !10 %61 = getelementptr inbounds i8, ptr %25, i64 3 %62 = load i8, ptr %59, align 1, !tbaa !10 %63 = getelementptr inbounds i8, ptr %25, i64 4 %64 = load i8, ptr %61, align 1, !tbaa !10 br label %68 65: ; preds = %40 %66 = load i32, ptr @ERROR, align 4, !tbaa !6 %67 = call i32 @elog(i32 noundef %66, ptr noundef nonnull @.str.1, i32 noundef %38) #3 br label %68 68: ; preds = %44, %56, %65, %49, %41 %69 = phi i8 [ 0, %41 ], [ 0, %44 ], [ 0, %49 ], [ %58, %56 ], [ 0, %65 ] %70 = phi i8 [ 0, %41 ], [ 0, %44 ], [ %51, %49 ], [ %60, %56 ], [ 0, %65 ] %71 = phi i8 [ 0, %41 ], [ %46, %44 ], [ %53, %49 ], [ %62, %56 ], [ 0, %65 ] %72 = phi i8 [ %43, %41 ], [ %48, %44 ], [ %55, %49 ], [ %64, %56 ], [ 0, %65 ] %73 = phi ptr [ %42, %41 ], [ %47, %44 ], [ %54, %49 ], [ %63, %56 ], [ %25, %65 ] store i8 %72, ptr %9, align 1, !tbaa !10 br i1 %21, label %90, label %74 74: ; preds = %68 %75 = call zeroext i8 @pg_mb_radix_conv(ptr noundef nonnull %3, i32 noundef %38, i8 noundef zeroext %69, i8 noundef zeroext %70, i8 noundef zeroext %71, i8 noundef zeroext %72) #3 %76 = icmp eq i8 %75, 0 br i1 %76, label %79, label %77 77: ; preds = %74 %78 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %75) #3 br label %103 79: ; preds = %74 br i1 %22, label %90, label %80 80: ; preds = %79 %81 = load i32, ptr @compare4, align 4, !tbaa !6 %82 = call ptr @bsearch(ptr noundef nonnull %9, ptr noundef nonnull %4, i32 noundef %5, i32 noundef 2, i32 noundef %81) #3 %83 = icmp eq ptr %82, null br i1 %83, label %90, label %84 84: ; preds = %80 %85 = load i8, ptr %82, align 1, !tbaa !11 %86 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %85) #3 %87 = getelementptr inbounds i8, ptr %82, i64 1 %88 = load i8, ptr %87, align 1, !tbaa !13 %89 = call ptr @store_coded_char(ptr noundef %86, i8 noundef zeroext %88) #3 br label %103 90: ; preds = %79, %80, %68 br i1 %23, label %97, label %91 91: ; preds = %90 %92 = load i8, ptr %9, align 1, !tbaa !10 %93 = call zeroext i8 %6(i8 noundef zeroext %92) #3 %94 = icmp eq i8 %93, 0 br i1 %94, label %97, label %95 95: ; preds = %91 %96 = call ptr @store_coded_char(ptr noundef %27, i8 noundef zeroext %93) #3 br label %103 97: ; preds = %91, %90 %98 = load i32, ptr @PG_UTF8, align 4, !tbaa !6 %99 = zext nneg i32 %38 to i64 %100 = sub nsw i64 0, %99 %101 = getelementptr inbounds i8, ptr %73, i64 %100 %102 = call i32 @report_untranslatable_char(i32 noundef %7, i32 noundef %98, ptr noundef nonnull %101, i32 noundef %26) #3 br label %103 103: ; preds = %97, %95, %33, %77, %84 %104 = phi i32 [ %38, %77 ], [ %38, %84 ], [ 1, %33 ], [ %38, %95 ], [ %38, %97 ] %105 = phi ptr [ %78, %77 ], [ %89, %84 ], [ %36, %33 ], [ %96, %95 ], [ %27, %97 ] %106 = phi ptr [ %73, %77 ], [ %73, %84 ], [ %34, %33 ], [ %73, %95 ], [ %73, %97 ] %107 = sub nsw i32 %26, %104 %108 = icmp sgt i32 %107, 0 br i1 %108, label %24, label %111, !llvm.loop !14 109: ; preds = %24, %37 %110 = call i32 @report_invalid_encoding(i32 noundef %7, ptr noundef nonnull %25, i32 noundef %26) #3 br label %111 111: ; preds = %103, %18, %109 %112 = phi ptr [ %27, %109 ], [ %2, %18 ], [ %105, %103 ] store i8 0, ptr %112, align 1, !tbaa !10 call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #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 @PG_VALID_ENCODING(i32 noundef) local_unnamed_addr #2 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @errcode(i32 noundef) local_unnamed_addr #2 declare i32 @errmsg(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IS_HIGHBIT_SET(i8 noundef zeroext) local_unnamed_addr #2 declare i32 @pg_encoding_verifymb(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @elog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare zeroext i8 @pg_mb_radix_conv(ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #2 declare ptr @store_coded_char(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2 declare ptr @bsearch(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @report_untranslatable_char(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @report_invalid_encoding(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_5__", !8, i64 0, !8, i64 1} !13 = !{!12, !8, i64 1} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
postgres_src_backend_utils_mb_extr_conv.c_LocalToUtf
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_renoir_ppt.c_renoir_print_clk_levels.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_renoir_ppt.c_renoir_print_clk_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.TYPE_4__ = type { ptr, i32 } @SMU_CLK_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SMU_TABLE_SMU_METRICS = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_GFXCLK = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"0: %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 @.str.3 = private unnamed_addr constant [13 x i8] c"1: %uMhz %s\0A\00", align 1 @RENOIR_UMD_PSTATE_GFXCLK = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"2: %uMhz %s\0A\00", align 1 @NUM_SOCCLK_DPM_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_SOCCLK = dso_local local_unnamed_addr global i64 0, align 8 @NUM_MEMCLK_DPM_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_UMCCLK = dso_local local_unnamed_addr global i64 0, align 8 @NUM_DCFCLK_DPM_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_DCFCLK = dso_local local_unnamed_addr global i64 0, align 8 @NUM_FCLK_DPM_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 @CLOCK_FCLK = dso_local local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [14 x i8] c"%d: %uMhz %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @renoir_print_clk_levels], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @renoir_print_clk_levels(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %4, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 0, ptr %5, align 4, !tbaa !5 %7 = load ptr, ptr %0, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false) %8 = icmp ne ptr %7, null %9 = load i32, ptr @SMU_CLK_COUNT, align 4 %10 = icmp ugt i32 %9, %1 %11 = select i1 %8, i1 %10, i1 false br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr @EINVAL, align 4, !tbaa !5 %14 = sub nsw i32 0, %13 br label %82 15: ; preds = %3 %16 = load i32, ptr @SMU_TABLE_SMU_METRICS, align 4, !tbaa !5 %17 = call i32 @smu_update_table(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0, ptr noundef nonnull %6, i32 noundef 0) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %82 19: ; preds = %15 switch i32 %1, label %56 [ i32 131, label %20 i32 129, label %20 i32 128, label %59 i32 130, label %53 i32 133, label %54 i32 132, label %55 ] 20: ; preds = %19, %19 %21 = load ptr, ptr %6, align 8, !tbaa !13 %22 = load i64, ptr @CLOCK_GFXCLK, align 8, !tbaa !15 %23 = getelementptr inbounds i32, ptr %21, i64 %22 %24 = load i32, ptr %23, align 4, !tbaa !5 %25 = call i32 @smu_get_dpm_freq_range(ptr noundef nonnull %0, i32 noundef 131, ptr noundef nonnull %4, ptr noundef nonnull %5) #4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %82 27: ; preds = %20 %28 = load i32, ptr %5, align 4, !tbaa !5 %29 = icmp eq i32 %24, %28 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %24, %30 %32 = select i1 %29, ptr @.str.1, ptr @.str.2 %33 = or i1 %29, %31 %34 = select i1 %33, ptr @.str.2, ptr @.str.1 %35 = xor i1 %29, true %36 = and i1 %31, %35 %37 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %30, ptr noundef nonnull %34) #4 %38 = shl i64 %37, 32 %39 = ashr exact i64 %38, 32 %40 = getelementptr inbounds i8, ptr %2, i64 %39 %41 = load i32, ptr @RENOIR_UMD_PSTATE_GFXCLK, align 4 %42 = select i1 %36, i32 %24, i32 %41 %43 = select i1 %36, ptr @.str.1, ptr @.str.2 %44 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %40, ptr noundef nonnull @.str.3, i32 noundef %42, ptr noundef nonnull %43) #4 %45 = add i64 %44, %37 %46 = shl i64 %45, 32 %47 = ashr exact i64 %46, 32 %48 = getelementptr inbounds i8, ptr %2, i64 %47 %49 = load i32, ptr %5, align 4, !tbaa !5 %50 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %48, ptr noundef nonnull @.str.4, i32 noundef %49, ptr noundef nonnull %32) #4 %51 = add i64 %50, %45 %52 = trunc i64 %51 to i32 br label %82 53: ; preds = %19 br label %59 54: ; preds = %19 br label %59 55: ; preds = %19 br label %59 56: ; preds = %19 %57 = load i32, ptr @EINVAL, align 4, !tbaa !5 %58 = sub nsw i32 0, %57 br label %82 59: ; preds = %19, %55, %54, %53 %60 = phi ptr [ @CLOCK_FCLK, %55 ], [ @CLOCK_DCFCLK, %54 ], [ @CLOCK_UMCCLK, %53 ], [ @CLOCK_SOCCLK, %19 ] %61 = phi ptr [ @NUM_FCLK_DPM_LEVELS, %55 ], [ @NUM_DCFCLK_DPM_LEVELS, %54 ], [ @NUM_MEMCLK_DPM_LEVELS, %53 ], [ @NUM_SOCCLK_DPM_LEVELS, %19 ] %62 = load i32, ptr %61, align 4, !tbaa !5 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %82 64: ; preds = %59 %65 = load ptr, ptr %6, align 8, !tbaa !13 %66 = load i64, ptr %60, align 8, !tbaa !15 %67 = getelementptr inbounds i32, ptr %65, i64 %66 %68 = load i32, ptr %67, align 4, !tbaa !5 %69 = icmp eq i32 %68, 0 %70 = select i1 %69, ptr @.str.1, ptr @.str.2 br label %71 71: ; preds = %64, %71 %72 = phi i32 [ 0, %64 ], [ %80, %71 ] %73 = phi i32 [ 0, %64 ], [ %79, %71 ] %74 = call i32 @GET_DPM_CUR_FREQ(ptr noundef nonnull %7, i32 noundef %1, i32 noundef %72, i32 noundef 0) #4 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds i8, ptr %2, i64 %75 %77 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %76, ptr noundef nonnull @.str.5, i32 noundef %72, i32 noundef 0, ptr noundef nonnull %70) #4 %78 = trunc i64 %77 to i32 %79 = add i32 %73, %78 %80 = add nuw nsw i32 %72, 1 %81 = icmp eq i32 %80, %62 br i1 %81, label %82, label %71, !llvm.loop !17 82: ; preds = %71, %59, %20, %27, %15, %56, %12 %83 = phi i32 [ %14, %12 ], [ %58, %56 ], [ %17, %15 ], [ 0, %20 ], [ %52, %27 ], [ 0, %59 ], [ %79, %71 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @smu_update_table(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @smu_get_dpm_freq_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #3 declare i32 @GET_DPM_CUR_FREQ(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 0} !10 = !{!"smu_context", !11, i64 0} !11 = !{!"TYPE_3__", !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_4__", !12, i64 0, !6, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"long", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_renoir_ppt.c_renoir_print_clk_levels.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_renoir_ppt.c_renoir_print_clk_levels.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, i32 } @SMU_CLK_COUNT = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @SMU_TABLE_SMU_METRICS = common local_unnamed_addr global i32 0, align 4 @CLOCK_GFXCLK = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c"0: %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 @.str.3 = private unnamed_addr constant [13 x i8] c"1: %uMhz %s\0A\00", align 1 @RENOIR_UMD_PSTATE_GFXCLK = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"2: %uMhz %s\0A\00", align 1 @NUM_SOCCLK_DPM_LEVELS = common local_unnamed_addr global i32 0, align 4 @CLOCK_SOCCLK = common local_unnamed_addr global i64 0, align 8 @NUM_MEMCLK_DPM_LEVELS = common local_unnamed_addr global i32 0, align 4 @CLOCK_UMCCLK = common local_unnamed_addr global i64 0, align 8 @NUM_DCFCLK_DPM_LEVELS = common local_unnamed_addr global i32 0, align 4 @CLOCK_DCFCLK = common local_unnamed_addr global i64 0, align 8 @NUM_FCLK_DPM_LEVELS = common local_unnamed_addr global i32 0, align 4 @CLOCK_FCLK = common local_unnamed_addr global i64 0, align 8 @.str.5 = private unnamed_addr constant [14 x i8] c"%d: %uMhz %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @renoir_print_clk_levels], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @renoir_print_clk_levels(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 store i32 0, ptr %4, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 0, ptr %5, align 4, !tbaa !6 %7 = load ptr, ptr %0, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false) %8 = icmp ne ptr %7, null %9 = load i32, ptr @SMU_CLK_COUNT, align 4 %10 = icmp ugt i32 %9, %1 %11 = select i1 %8, i1 %10, i1 false br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load i32, ptr @EINVAL, align 4, !tbaa !6 %14 = sub nsw i32 0, %13 br label %82 15: ; preds = %3 %16 = load i32, ptr @SMU_TABLE_SMU_METRICS, align 4, !tbaa !6 %17 = call i32 @smu_update_table(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 0, ptr noundef nonnull %6, i32 noundef 0) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %82 19: ; preds = %15 switch i32 %1, label %56 [ i32 131, label %20 i32 129, label %20 i32 128, label %59 i32 130, label %53 i32 133, label %54 i32 132, label %55 ] 20: ; preds = %19, %19 %21 = load ptr, ptr %6, align 8, !tbaa !14 %22 = load i64, ptr @CLOCK_GFXCLK, align 8, !tbaa !16 %23 = getelementptr inbounds i32, ptr %21, i64 %22 %24 = load i32, ptr %23, align 4, !tbaa !6 %25 = call i32 @smu_get_dpm_freq_range(ptr noundef nonnull %0, i32 noundef 131, ptr noundef nonnull %4, ptr noundef nonnull %5) #4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %82 27: ; preds = %20 %28 = load i32, ptr %5, align 4, !tbaa !6 %29 = icmp eq i32 %24, %28 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %24, %30 %32 = select i1 %29, ptr @.str.1, ptr @.str.2 %33 = or i1 %29, %31 %34 = select i1 %33, ptr @.str.2, ptr @.str.1 %35 = xor i1 %29, true %36 = and i1 %31, %35 %37 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %30, ptr noundef nonnull %34) #4 %38 = shl i64 %37, 32 %39 = ashr exact i64 %38, 32 %40 = getelementptr inbounds i8, ptr %2, i64 %39 %41 = load i32, ptr @RENOIR_UMD_PSTATE_GFXCLK, align 4 %42 = select i1 %36, i32 %24, i32 %41 %43 = select i1 %36, ptr @.str.1, ptr @.str.2 %44 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %40, ptr noundef nonnull @.str.3, i32 noundef %42, ptr noundef nonnull %43) #4 %45 = add i64 %44, %37 %46 = shl i64 %45, 32 %47 = ashr exact i64 %46, 32 %48 = getelementptr inbounds i8, ptr %2, i64 %47 %49 = load i32, ptr %5, align 4, !tbaa !6 %50 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %48, ptr noundef nonnull @.str.4, i32 noundef %49, ptr noundef nonnull %32) #4 %51 = add i64 %50, %45 %52 = trunc i64 %51 to i32 br label %82 53: ; preds = %19 br label %59 54: ; preds = %19 br label %59 55: ; preds = %19 br label %59 56: ; preds = %19 %57 = load i32, ptr @EINVAL, align 4, !tbaa !6 %58 = sub nsw i32 0, %57 br label %82 59: ; preds = %19, %55, %54, %53 %60 = phi ptr [ @CLOCK_FCLK, %55 ], [ @CLOCK_DCFCLK, %54 ], [ @CLOCK_UMCCLK, %53 ], [ @CLOCK_SOCCLK, %19 ] %61 = phi ptr [ @NUM_FCLK_DPM_LEVELS, %55 ], [ @NUM_DCFCLK_DPM_LEVELS, %54 ], [ @NUM_MEMCLK_DPM_LEVELS, %53 ], [ @NUM_SOCCLK_DPM_LEVELS, %19 ] %62 = load i32, ptr %61, align 4, !tbaa !6 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %82 64: ; preds = %59 %65 = load ptr, ptr %6, align 8, !tbaa !14 %66 = load i64, ptr %60, align 8, !tbaa !16 %67 = getelementptr inbounds i32, ptr %65, i64 %66 %68 = load i32, ptr %67, align 4, !tbaa !6 %69 = icmp eq i32 %68, 0 %70 = select i1 %69, ptr @.str.1, ptr @.str.2 br label %71 71: ; preds = %64, %71 %72 = phi i32 [ 0, %64 ], [ %80, %71 ] %73 = phi i32 [ 0, %64 ], [ %79, %71 ] %74 = call i32 @GET_DPM_CUR_FREQ(ptr noundef nonnull %7, i32 noundef %1, i32 noundef %72, i32 noundef 0) #4 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds i8, ptr %2, i64 %75 %77 = call i64 (ptr, ptr, i32, ...) @sprintf(ptr noundef %76, ptr noundef nonnull @.str.5, i32 noundef %72, i32 noundef 0, ptr noundef nonnull %70) #4 %78 = trunc i64 %77 to i32 %79 = add i32 %73, %78 %80 = add nuw nsw i32 %72, 1 %81 = icmp eq i32 %80, %62 br i1 %81, label %82, label %71, !llvm.loop !18 82: ; preds = %71, %59, %20, %27, %15, %56, %12 %83 = phi i32 [ %14, %12 ], [ %58, %56 ], [ %17, %15 ], [ 0, %20 ], [ %52, %27 ], [ 0, %59 ], [ %79, %71 ] call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 ret i32 %83 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @smu_update_table(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @smu_get_dpm_freq_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #3 declare i32 @GET_DPM_CUR_FREQ(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 0} !11 = !{!"smu_context", !12, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_4__", !13, i64 0, !7, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"long", !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_amd_powerplay_extr_renoir_ppt.c_renoir_print_clk_levels
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_pcmcia.c_pcmcia_access_speed.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_pcmcia.c_pcmcia_access_speed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @PCMCIA_SPEED_100NS = dso_local local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_100NS = dso_local local_unnamed_addr global i8 0, align 1 @PCMCIA_SPEED_150NS = dso_local local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_150NS = dso_local local_unnamed_addr global i8 0, align 1 @PCMCIA_SPEED_250NS = dso_local local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_250NS = dso_local local_unnamed_addr global i8 0, align 1 @GAYLE_CFG_720NS = dso_local local_unnamed_addr global i8 0, align 1 @cfg_byte = dso_local local_unnamed_addr global i32 0, align 4 @gayle = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable define dso_local void @pcmcia_access_speed(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PCMCIA_SPEED_100NS, align 4, !tbaa !5 %3 = icmp slt i32 %2, %0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = load i32, ptr @PCMCIA_SPEED_150NS, align 4, !tbaa !5 %6 = icmp slt i32 %5, %0 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr @PCMCIA_SPEED_250NS, align 4, !tbaa !5 %9 = icmp slt i32 %8, %0 %10 = select i1 %9, ptr @GAYLE_CFG_720NS, ptr @GAYLE_CFG_250NS br label %11 11: ; preds = %7, %4, %1 %12 = phi ptr [ @GAYLE_CFG_100NS, %1 ], [ @GAYLE_CFG_150NS, %4 ], [ %10, %7 ] %13 = load i8, ptr %12, align 1, !tbaa !9 %14 = load i32, ptr @cfg_byte, align 4, !tbaa !5 %15 = and i32 %14, 243 %16 = zext i8 %13 to i32 %17 = or i32 %15, %16 store i32 %17, ptr @cfg_byte, align 4, !tbaa !5 store i32 %17, ptr @gayle, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: 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 = !{!7, !7, i64 0} !10 = !{!11, !6, i64 0} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_pcmcia.c_pcmcia_access_speed.c' source_filename = "AnghaBench/fastsocket/kernel/arch/m68k/amiga/extr_pcmcia.c_pcmcia_access_speed.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @PCMCIA_SPEED_100NS = common local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_100NS = common local_unnamed_addr global i8 0, align 1 @PCMCIA_SPEED_150NS = common local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_150NS = common local_unnamed_addr global i8 0, align 1 @PCMCIA_SPEED_250NS = common local_unnamed_addr global i32 0, align 4 @GAYLE_CFG_250NS = common local_unnamed_addr global i8 0, align 1 @GAYLE_CFG_720NS = common local_unnamed_addr global i8 0, align 1 @cfg_byte = common local_unnamed_addr global i32 0, align 4 @gayle = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable(sync) define void @pcmcia_access_speed(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @PCMCIA_SPEED_100NS, align 4, !tbaa !6 %3 = icmp slt i32 %2, %0 br i1 %3, label %4, label %11 4: ; preds = %1 %5 = load i32, ptr @PCMCIA_SPEED_150NS, align 4, !tbaa !6 %6 = icmp slt i32 %5, %0 br i1 %6, label %7, label %11 7: ; preds = %4 %8 = load i32, ptr @PCMCIA_SPEED_250NS, align 4, !tbaa !6 %9 = icmp slt i32 %8, %0 %10 = select i1 %9, ptr @GAYLE_CFG_720NS, ptr @GAYLE_CFG_250NS br label %11 11: ; preds = %7, %4, %1 %12 = phi ptr [ @GAYLE_CFG_100NS, %1 ], [ @GAYLE_CFG_150NS, %4 ], [ %10, %7 ] %13 = load i8, ptr %12, align 1, !tbaa !10 %14 = load i32, ptr @cfg_byte, align 4, !tbaa !6 %15 = and i32 %14, 243 %16 = zext i8 %13 to i32 %17 = or i32 %15, %16 store i32 %17, ptr @cfg_byte, align 4, !tbaa !6 store i32 %17, ptr @gayle, align 4, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: 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 = !{!8, !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
fastsocket_kernel_arch_m68k_amiga_extr_pcmcia.c_pcmcia_access_speed
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_single_conv.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_single_conv.c" target datalayout = "e-m:e-p270:32:32-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.stm32_adc = type { ptr, ptr, ptr, i32, i64 } %struct.TYPE_8__ = type { ptr, ptr, ptr } %struct.stm32_adc_regspec = type { %struct.TYPE_7__, ptr, ptr } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32 } @STM32_ADC_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @stm32_adc_single_conv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stm32_adc_single_conv(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @iio_priv(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.stm32_adc, ptr %4, i64 0, i32 2 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.stm32_adc, ptr %4, i64 0, i32 3 %11 = tail call i32 @reinit_completion(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds %struct.stm32_adc, ptr %4, i64 0, i32 4 store i64 0, ptr %12, align 8, !tbaa !17 %13 = tail call i32 @pm_runtime_get_sync(ptr noundef %5) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = tail call i32 @pm_runtime_put_noidle(ptr noundef %5) #2 br label %86 17: ; preds = %3 %18 = getelementptr inbounds %struct.stm32_adc_regspec, ptr %9, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !18 %20 = load i32, ptr %19, align 4, !tbaa !21 %21 = load ptr, ptr %4, align 8, !tbaa !22 %22 = load i32, ptr %21, align 4, !tbaa !21 %23 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %20, i32 noundef %22) #2 %24 = load ptr, ptr %18, align 8, !tbaa !18 %25 = getelementptr inbounds i32, ptr %24, i64 1 %26 = load i32, ptr %25, align 4, !tbaa !21 %27 = load ptr, ptr %4, align 8, !tbaa !22 %28 = getelementptr inbounds i32, ptr %27, i64 1 %29 = load i32, ptr %28, align 4, !tbaa !21 %30 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %26, i32 noundef %29) #2 %31 = getelementptr inbounds %struct.stm32_adc_regspec, ptr %9, i64 0, i32 1 %32 = load ptr, ptr %31, align 8, !tbaa !23 %33 = getelementptr inbounds %struct.TYPE_6__, ptr %32, i64 1, i32 2 %34 = load i32, ptr %33, align 4, !tbaa !24 %35 = tail call i32 @stm32_adc_readl(ptr noundef nonnull %4, i32 noundef %34) #2 %36 = load ptr, ptr %31, align 8, !tbaa !23 %37 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 1 %38 = load i32, ptr %37, align 4, !tbaa !26 %39 = xor i32 %38, -1 %40 = and i32 %35, %39 %41 = load i32, ptr %1, align 4, !tbaa !27 %42 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 1, i32 1 %43 = load i32, ptr %42, align 4, !tbaa !29 %44 = shl i32 %41, %43 %45 = or i32 %44, %40 %46 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i64 1, i32 2 %47 = load i32, ptr %46, align 4, !tbaa !24 %48 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %47, i32 noundef %45) #2 %49 = load ptr, ptr %31, align 8, !tbaa !23 %50 = getelementptr inbounds %struct.TYPE_6__, ptr %49, i64 0, i32 2 %51 = load i32, ptr %50, align 4, !tbaa !24 %52 = load i32, ptr %49, align 4, !tbaa !26 %53 = tail call i32 @stm32_adc_clr_bits(ptr noundef nonnull %4, i32 noundef %51, i32 noundef %52) #2 %54 = getelementptr inbounds %struct.TYPE_7__, ptr %9, i64 0, i32 1 %55 = load i32, ptr %54, align 4, !tbaa !30 %56 = load i32, ptr %9, align 8, !tbaa !31 %57 = tail call i32 @stm32_adc_clr_bits(ptr noundef nonnull %4, i32 noundef %55, i32 noundef %56) #2 %58 = tail call i32 @stm32_adc_conv_irq_enable(ptr noundef nonnull %4) #2 %59 = load ptr, ptr %6, align 8, !tbaa !11 %60 = getelementptr inbounds %struct.TYPE_8__, ptr %59, i64 0, i32 1 %61 = load ptr, ptr %60, align 8, !tbaa !32 %62 = tail call i32 %61(ptr noundef nonnull %4, i32 noundef 0) #2 %63 = load i32, ptr @STM32_ADC_TIMEOUT, align 4, !tbaa !21 %64 = tail call i64 @wait_for_completion_interruptible_timeout(ptr noundef nonnull %10, i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %17 %67 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !21 %68 = sub nsw i32 0, %67 br label %78 69: ; preds = %17 %70 = icmp slt i64 %64, 0 br i1 %70, label %71, label %73 71: ; preds = %69 %72 = trunc i64 %64 to i32 br label %78 73: ; preds = %69 %74 = getelementptr inbounds %struct.stm32_adc, ptr %4, i64 0, i32 1 %75 = load ptr, ptr %74, align 8, !tbaa !33 %76 = load i32, ptr %75, align 4, !tbaa !21 store i32 %76, ptr %2, align 4, !tbaa !21 %77 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !21 br label %78 78: ; preds = %71, %73, %66 %79 = phi i32 [ %68, %66 ], [ %72, %71 ], [ %77, %73 ] %80 = load ptr, ptr %6, align 8, !tbaa !11 %81 = load ptr, ptr %80, align 8, !tbaa !34 %82 = tail call i32 %81(ptr noundef nonnull %4) #2 %83 = tail call i32 @stm32_adc_conv_irq_disable(ptr noundef nonnull %4) #2 %84 = tail call i32 @pm_runtime_mark_last_busy(ptr noundef %5) #2 %85 = tail call i32 @pm_runtime_put_autosuspend(ptr noundef %5) #2 br label %86 86: ; preds = %78, %15 %87 = phi i32 [ %13, %15 ], [ %79, %78 ] ret i32 %87 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_noidle(ptr noundef) local_unnamed_addr #1 declare i32 @stm32_adc_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_clr_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_conv_irq_enable(ptr noundef) local_unnamed_addr #1 declare i64 @wait_for_completion_interruptible_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_conv_irq_disable(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_mark_last_busy(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_autosuspend(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"iio_dev", !7, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"stm32_adc", !8, i64 0, !8, i64 8, !8, i64 16, !13, i64 24, !14, i64 32} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !8, i64 16} !16 = !{!"TYPE_8__", !8, i64 0, !8, i64 8, !8, i64 16} !17 = !{!12, !14, i64 32} !18 = !{!19, !8, i64 16} !19 = !{!"stm32_adc_regspec", !20, i64 0, !8, i64 8, !8, i64 16} !20 = !{!"TYPE_7__", !13, i64 0, !13, i64 4} !21 = !{!13, !13, i64 0} !22 = !{!12, !8, i64 0} !23 = !{!19, !8, i64 8} !24 = !{!25, !13, i64 8} !25 = !{!"TYPE_6__", !13, i64 0, !13, i64 4, !13, i64 8} !26 = !{!25, !13, i64 0} !27 = !{!28, !13, i64 0} !28 = !{!"iio_chan_spec", !13, i64 0} !29 = !{!25, !13, i64 4} !30 = !{!19, !13, i64 4} !31 = !{!19, !13, i64 0} !32 = !{!16, !8, i64 8} !33 = !{!12, !8, i64 8} !34 = !{!16, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_single_conv.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_stm32-adc.c_stm32_adc_single_conv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STM32_ADC_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @ETIMEDOUT = common local_unnamed_addr global i32 0, align 4 @IIO_VAL_INT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @stm32_adc_single_conv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @stm32_adc_single_conv(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = tail call ptr @iio_priv(ptr noundef %0) #2 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %4, i64 16 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds i8, ptr %7, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !16 %10 = getelementptr inbounds i8, ptr %4, i64 24 %11 = tail call i32 @reinit_completion(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds i8, ptr %4, i64 32 store i64 0, ptr %12, align 8, !tbaa !18 %13 = tail call i32 @pm_runtime_get_sync(ptr noundef %5) #2 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = tail call i32 @pm_runtime_put_noidle(ptr noundef %5) #2 br label %86 17: ; preds = %3 %18 = getelementptr inbounds i8, ptr %9, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = load i32, ptr %19, align 4, !tbaa !22 %21 = load ptr, ptr %4, align 8, !tbaa !23 %22 = load i32, ptr %21, align 4, !tbaa !22 %23 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %20, i32 noundef %22) #2 %24 = load ptr, ptr %18, align 8, !tbaa !19 %25 = getelementptr inbounds i8, ptr %24, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !22 %27 = load ptr, ptr %4, align 8, !tbaa !23 %28 = getelementptr inbounds i8, ptr %27, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %26, i32 noundef %29) #2 %31 = getelementptr inbounds i8, ptr %9, i64 8 %32 = load ptr, ptr %31, align 8, !tbaa !24 %33 = getelementptr inbounds i8, ptr %32, i64 20 %34 = load i32, ptr %33, align 4, !tbaa !25 %35 = tail call i32 @stm32_adc_readl(ptr noundef nonnull %4, i32 noundef %34) #2 %36 = load ptr, ptr %31, align 8, !tbaa !24 %37 = getelementptr inbounds i8, ptr %36, i64 12 %38 = load i32, ptr %37, align 4, !tbaa !27 %39 = xor i32 %38, -1 %40 = and i32 %35, %39 %41 = load i32, ptr %1, align 4, !tbaa !28 %42 = getelementptr inbounds i8, ptr %36, i64 16 %43 = load i32, ptr %42, align 4, !tbaa !30 %44 = shl i32 %41, %43 %45 = or i32 %44, %40 %46 = getelementptr inbounds i8, ptr %36, i64 20 %47 = load i32, ptr %46, align 4, !tbaa !25 %48 = tail call i32 @stm32_adc_writel(ptr noundef nonnull %4, i32 noundef %47, i32 noundef %45) #2 %49 = load ptr, ptr %31, align 8, !tbaa !24 %50 = getelementptr inbounds i8, ptr %49, i64 8 %51 = load i32, ptr %50, align 4, !tbaa !25 %52 = load i32, ptr %49, align 4, !tbaa !27 %53 = tail call i32 @stm32_adc_clr_bits(ptr noundef nonnull %4, i32 noundef %51, i32 noundef %52) #2 %54 = getelementptr inbounds i8, ptr %9, i64 4 %55 = load i32, ptr %54, align 4, !tbaa !31 %56 = load i32, ptr %9, align 8, !tbaa !32 %57 = tail call i32 @stm32_adc_clr_bits(ptr noundef nonnull %4, i32 noundef %55, i32 noundef %56) #2 %58 = tail call i32 @stm32_adc_conv_irq_enable(ptr noundef nonnull %4) #2 %59 = load ptr, ptr %6, align 8, !tbaa !12 %60 = getelementptr inbounds i8, ptr %59, i64 8 %61 = load ptr, ptr %60, align 8, !tbaa !33 %62 = tail call i32 %61(ptr noundef nonnull %4, i32 noundef 0) #2 %63 = load i32, ptr @STM32_ADC_TIMEOUT, align 4, !tbaa !22 %64 = tail call i64 @wait_for_completion_interruptible_timeout(ptr noundef nonnull %10, i32 noundef %63) #2 %65 = icmp eq i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %17 %67 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !22 %68 = sub nsw i32 0, %67 br label %78 69: ; preds = %17 %70 = icmp slt i64 %64, 0 br i1 %70, label %71, label %73 71: ; preds = %69 %72 = trunc i64 %64 to i32 br label %78 73: ; preds = %69 %74 = getelementptr inbounds i8, ptr %4, i64 8 %75 = load ptr, ptr %74, align 8, !tbaa !34 %76 = load i32, ptr %75, align 4, !tbaa !22 store i32 %76, ptr %2, align 4, !tbaa !22 %77 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !22 br label %78 78: ; preds = %71, %73, %66 %79 = phi i32 [ %68, %66 ], [ %72, %71 ], [ %77, %73 ] %80 = load ptr, ptr %6, align 8, !tbaa !12 %81 = load ptr, ptr %80, align 8, !tbaa !35 %82 = tail call i32 %81(ptr noundef nonnull %4) #2 %83 = tail call i32 @stm32_adc_conv_irq_disable(ptr noundef nonnull %4) #2 %84 = tail call i32 @pm_runtime_mark_last_busy(ptr noundef %5) #2 %85 = tail call i32 @pm_runtime_put_autosuspend(ptr noundef %5) #2 br label %86 86: ; preds = %78, %15 %87 = phi i32 [ %13, %15 ], [ %79, %78 ] ret i32 %87 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @reinit_completion(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_get_sync(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_noidle(ptr noundef) local_unnamed_addr #1 declare i32 @stm32_adc_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_readl(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_clr_bits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_conv_irq_enable(ptr noundef) local_unnamed_addr #1 declare i64 @wait_for_completion_interruptible_timeout(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @stm32_adc_conv_irq_disable(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_mark_last_busy(ptr noundef) local_unnamed_addr #1 declare i32 @pm_runtime_put_autosuspend(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"iio_dev", !8, i64 0} !8 = !{!"TYPE_5__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !9, i64 16} !13 = !{!"stm32_adc", !9, i64 0, !9, i64 8, !9, i64 16, !14, i64 24, !15, i64 32} !14 = !{!"int", !10, i64 0} !15 = !{!"long", !10, i64 0} !16 = !{!17, !9, i64 16} !17 = !{!"TYPE_8__", !9, i64 0, !9, i64 8, !9, i64 16} !18 = !{!13, !15, i64 32} !19 = !{!20, !9, i64 16} !20 = !{!"stm32_adc_regspec", !21, i64 0, !9, i64 8, !9, i64 16} !21 = !{!"TYPE_7__", !14, i64 0, !14, i64 4} !22 = !{!14, !14, i64 0} !23 = !{!13, !9, i64 0} !24 = !{!20, !9, i64 8} !25 = !{!26, !14, i64 8} !26 = !{!"TYPE_6__", !14, i64 0, !14, i64 4, !14, i64 8} !27 = !{!26, !14, i64 0} !28 = !{!29, !14, i64 0} !29 = !{!"iio_chan_spec", !14, i64 0} !30 = !{!26, !14, i64 4} !31 = !{!20, !14, i64 4} !32 = !{!20, !14, i64 0} !33 = !{!17, !9, i64 8} !34 = !{!13, !9, i64 8} !35 = !{!17, !9, i64 0}
linux_drivers_iio_adc_extr_stm32-adc.c_stm32_adc_single_conv
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_incrVacuumStep.c' source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_incrVacuumStep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i64, ptr, i32 } @SQLITE_DONE = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @PTRMAP_ROOTPAGE = dso_local local_unnamed_addr global i64 0, align 8 @SQLITE_CORRUPT_BKPT = dso_local local_unnamed_addr global i32 0, align 4 @PTRMAP_FREEPAGE = dso_local local_unnamed_addr global i64 0, align 8 @BTALLOC_EXACT = dso_local local_unnamed_addr global i64 0, align 8 @BTALLOC_ANY = dso_local local_unnamed_addr global i64 0, align 8 @BTALLOC_LE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @incrVacuumStep], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @incrVacuumStep(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3 %13 = load i32, ptr %12, align 8, !tbaa !5 %14 = tail call i32 @sqlite3_mutex_held(i32 noundef %13) #3 %15 = tail call i32 @assert(i32 noundef %14) #3 %16 = icmp sgt i64 %2, %1 %17 = zext i1 %16 to i32 %18 = tail call i32 @assert(i32 noundef %17) #3 %19 = tail call i64 @PTRMAP_ISPAGE(ptr noundef %0, i64 noundef %2) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %103 21: ; preds = %4 %22 = tail call i64 @PENDING_BYTE_PAGE(ptr noundef nonnull %0) #3 %23 = icmp eq i64 %22, %2 br i1 %23, label %103, label %24 24: ; preds = %21 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %25 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %26 = load ptr, ptr %25, align 8, !tbaa !12 %27 = load ptr, ptr %26, align 8, !tbaa !13 %28 = getelementptr inbounds i32, ptr %27, i64 36 %29 = tail call i64 @get4byte(ptr noundef nonnull %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = load i32, ptr @SQLITE_DONE, align 4, !tbaa !15 br label %85 33: ; preds = %24 %34 = call i32 @ptrmapGet(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %35 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %85 37: ; preds = %33 %38 = load i64, ptr %5, align 8, !tbaa !16 %39 = load i64, ptr @PTRMAP_ROOTPAGE, align 8, !tbaa !16 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !15 br label %85 43: ; preds = %37 %44 = load i64, ptr @PTRMAP_FREEPAGE, align 8, !tbaa !16 %45 = icmp eq i64 %38, %44 br i1 %45, label %46, label %60 46: ; preds = %43 %47 = icmp eq i32 %3, 0 br i1 %47, label %48, label %87 48: ; preds = %46 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %49 = load i64, ptr @BTALLOC_EXACT, align 8, !tbaa !16 %50 = call i32 @allocateBtreePage(ptr noundef nonnull %0, ptr noundef nonnull %8, ptr noundef nonnull %7, i64 noundef %2, i64 noundef %49) #3 %51 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %84 53: ; preds = %48 %54 = load i64, ptr %7, align 8, !tbaa !16 %55 = icmp eq i64 %54, %2 %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) #3 %58 = load ptr, ptr %8, align 8, !tbaa !17 %59 = call i32 @releasePage(ptr noundef %58) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %87 60: ; preds = %43 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 %61 = load i64, ptr @BTALLOC_ANY, align 8, !tbaa !16 %62 = call i32 @btreeGetPage(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %10, i32 noundef 0) #3 %63 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %88 65: ; preds = %60 %66 = icmp eq i32 %3, 0 %67 = load i64, ptr @BTALLOC_LE, align 8 %68 = select i1 %66, i64 %67, i64 %61 %69 = select i1 %66, i64 %1, i64 0 %70 = icmp ne i32 %3, 0 br label %71 71: ; preds = %78, %65 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %72 = call i32 @allocateBtreePage(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %9, i64 noundef %69, i64 noundef %68) #3 %73 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %74 = icmp eq i32 %72, %73 br i1 %74, label %78, label %75 75: ; preds = %71 %76 = load ptr, ptr %10, align 8, !tbaa !17 %77 = call i32 @releasePage(ptr noundef %76) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 br label %88 78: ; preds = %71 %79 = load ptr, ptr %11, align 8, !tbaa !17 %80 = call i32 @releasePage(ptr noundef %79) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 %81 = load i64, ptr %9, align 8 %82 = icmp sgt i64 %81, %1 %83 = select i1 %70, i1 %82, i1 false br i1 %83, label %71, label %90, !llvm.loop !18 84: ; preds = %48 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %85 85: ; preds = %31, %41, %33, %84 %86 = phi i32 [ %50, %84 ], [ %34, %33 ], [ %42, %41 ], [ %32, %31 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %118 87: ; preds = %53, %46 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %103 88: ; preds = %75, %60 %89 = phi i32 [ %62, %60 ], [ %72, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %118 90: ; preds = %78 %91 = icmp slt i64 %81, %2 %92 = zext i1 %91 to i32 %93 = call i32 @assert(i32 noundef %92) #3 %94 = load ptr, ptr %10, align 8, !tbaa !17 %95 = load i64, ptr %5, align 8, !tbaa !16 %96 = load i64, ptr %6, align 8, !tbaa !16 %97 = load i64, ptr %9, align 8, !tbaa !16 %98 = call i32 @relocatePage(ptr noundef %0, ptr noundef %94, i64 noundef %95, i64 noundef %96, i64 noundef %97, i32 noundef %3) #3 %99 = load ptr, ptr %10, align 8, !tbaa !17 %100 = call i32 @releasePage(ptr noundef %99) #3 %101 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 %102 = icmp eq i32 %98, %101 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br i1 %102, label %103, label %118 103: ; preds = %87, %90, %21, %4 %104 = icmp eq i32 %3, 0 br i1 %104, label %105, label %116 105: ; preds = %103, %113 %106 = phi i64 [ %107, %113 ], [ %2, %103 ] %107 = add nsw i64 %106, -1 %108 = call i64 @PENDING_BYTE_PAGE(ptr noundef %0) #3 %109 = icmp eq i64 %107, %108 br i1 %109, label %113, label %110 110: ; preds = %105 %111 = call i64 @PTRMAP_ISPAGE(ptr noundef %0, i64 noundef %107) #3 %112 = icmp eq i64 %111, 0 br i1 %112, label %114, label %113 113: ; preds = %110, %105 br label %105, !llvm.loop !20 114: ; preds = %110 store i32 1, ptr %0, align 8, !tbaa !21 %115 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 store i64 %107, ptr %115, align 8, !tbaa !22 br label %116 116: ; preds = %114, %103 %117 = load i32, ptr @SQLITE_OK, align 4, !tbaa !15 br label %118 118: ; preds = %88, %85, %90, %116 %119 = phi i32 [ %117, %116 ], [ %98, %90 ], [ %86, %85 ], [ %89, %88 ] ret i32 %119 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #2 declare i64 @PTRMAP_ISPAGE(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PENDING_BYTE_PAGE(ptr noundef) local_unnamed_addr #2 declare i64 @get4byte(ptr noundef) local_unnamed_addr #2 declare i32 @ptrmapGet(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @allocateBtreePage(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @releasePage(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 @btreeGetPage(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @relocatePage(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 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 24} !6 = !{!"TYPE_11__", !7, i64 0, !10, i64 8, !11, 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 = !{!"any pointer", !8, i64 0} !12 = !{!6, !11, i64 16} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_10__", !11, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!11, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = distinct !{!20, !19} !21 = !{!6, !7, i64 0} !22 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_incrVacuumStep.c' source_filename = "AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_incrVacuumStep.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SQLITE_DONE = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @PTRMAP_ROOTPAGE = common local_unnamed_addr global i64 0, align 8 @SQLITE_CORRUPT_BKPT = common local_unnamed_addr global i32 0, align 4 @PTRMAP_FREEPAGE = common local_unnamed_addr global i64 0, align 8 @BTALLOC_EXACT = common local_unnamed_addr global i64 0, align 8 @BTALLOC_ANY = common local_unnamed_addr global i64 0, align 8 @BTALLOC_LE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @incrVacuumStep], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @incrVacuumStep(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = getelementptr inbounds i8, ptr %0, i64 24 %13 = load i32, ptr %12, align 8, !tbaa !6 %14 = tail call i32 @sqlite3_mutex_held(i32 noundef %13) #3 %15 = tail call i32 @assert(i32 noundef %14) #3 %16 = icmp sgt i64 %2, %1 %17 = zext i1 %16 to i32 %18 = tail call i32 @assert(i32 noundef %17) #3 %19 = tail call i64 @PTRMAP_ISPAGE(ptr noundef %0, i64 noundef %2) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %103 21: ; preds = %4 %22 = tail call i64 @PENDING_BYTE_PAGE(ptr noundef nonnull %0) #3 %23 = icmp eq i64 %22, %2 br i1 %23, label %103, label %24 24: ; preds = %21 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %25 = getelementptr inbounds i8, ptr %0, i64 16 %26 = load ptr, ptr %25, align 8, !tbaa !13 %27 = load ptr, ptr %26, align 8, !tbaa !14 %28 = getelementptr inbounds i8, ptr %27, i64 144 %29 = tail call i64 @get4byte(ptr noundef nonnull %28) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = load i32, ptr @SQLITE_DONE, align 4, !tbaa !16 br label %100 33: ; preds = %24 %34 = call i32 @ptrmapGet(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %35 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %100 37: ; preds = %33 %38 = load i64, ptr %5, align 8, !tbaa !17 %39 = load i64, ptr @PTRMAP_ROOTPAGE, align 8, !tbaa !17 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = load i32, ptr @SQLITE_CORRUPT_BKPT, align 4, !tbaa !16 br label %100 43: ; preds = %37 %44 = load i64, ptr @PTRMAP_FREEPAGE, align 8, !tbaa !17 %45 = icmp eq i64 %38, %44 br i1 %45, label %46, label %60 46: ; preds = %43 %47 = icmp eq i32 %3, 0 br i1 %47, label %48, label %102 48: ; preds = %46 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %49 = load i64, ptr @BTALLOC_EXACT, align 8, !tbaa !17 %50 = call i32 @allocateBtreePage(ptr noundef nonnull %0, ptr noundef nonnull %8, ptr noundef nonnull %7, i64 noundef %2, i64 noundef %49) #3 %51 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %99 53: ; preds = %48 %54 = load i64, ptr %7, align 8, !tbaa !17 %55 = icmp eq i64 %54, %2 %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) #3 %58 = load ptr, ptr %8, align 8, !tbaa !18 %59 = call i32 @releasePage(ptr noundef %58) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %102 60: ; preds = %43 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 %61 = load i64, ptr @BTALLOC_ANY, align 8, !tbaa !17 %62 = call i32 @btreeGetPage(ptr noundef nonnull %0, i64 noundef %2, ptr noundef nonnull %10, i32 noundef 0) #3 %63 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %84 65: ; preds = %60 %66 = icmp eq i32 %3, 0 %67 = load i64, ptr @BTALLOC_LE, align 8 %68 = select i1 %66, i64 %67, i64 %61 %69 = select i1 %66, i64 %1, i64 0 %70 = icmp ne i32 %3, 0 br label %71 71: ; preds = %78, %65 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 %72 = call i32 @allocateBtreePage(ptr noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %9, i64 noundef %69, i64 noundef %68) #3 %73 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 %74 = icmp eq i32 %72, %73 br i1 %74, label %78, label %75 75: ; preds = %71 %76 = load ptr, ptr %10, align 8, !tbaa !18 %77 = call i32 @releasePage(ptr noundef %76) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 br label %84 78: ; preds = %71 %79 = load ptr, ptr %11, align 8, !tbaa !18 %80 = call i32 @releasePage(ptr noundef %79) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 %81 = load i64, ptr %9, align 8 %82 = icmp sgt i64 %81, %1 %83 = select i1 %70, i1 %82, i1 false br i1 %83, label %71, label %86, !llvm.loop !19 84: ; preds = %75, %60 %85 = phi i32 [ %62, %60 ], [ %72, %75 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 br label %100 86: ; preds = %78 %87 = icmp slt i64 %81, %2 %88 = zext i1 %87 to i32 %89 = call i32 @assert(i32 noundef %88) #3 %90 = load ptr, ptr %10, align 8, !tbaa !18 %91 = load i64, ptr %5, align 8, !tbaa !17 %92 = load i64, ptr %6, align 8, !tbaa !17 %93 = load i64, ptr %9, align 8, !tbaa !17 %94 = call i32 @relocatePage(ptr noundef %0, ptr noundef %90, i64 noundef %91, i64 noundef %92, i64 noundef %93, i32 noundef %3) #3 %95 = load ptr, ptr %10, align 8, !tbaa !18 %96 = call i32 @releasePage(ptr noundef %95) #3 %97 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 %98 = icmp eq i32 %94, %97 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 br i1 %98, label %102, label %100 99: ; preds = %48 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 br label %100 100: ; preds = %31, %41, %86, %33, %99, %84 %101 = phi i32 [ %85, %84 ], [ %50, %99 ], [ %34, %33 ], [ %94, %86 ], [ %42, %41 ], [ %32, %31 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %118 102: ; preds = %46, %86, %53 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %103 103: ; preds = %102, %21, %4 %104 = icmp eq i32 %3, 0 br i1 %104, label %105, label %116 105: ; preds = %103, %113 %106 = phi i64 [ %107, %113 ], [ %2, %103 ] %107 = add nsw i64 %106, -1 %108 = call i64 @PENDING_BYTE_PAGE(ptr noundef %0) #3 %109 = icmp eq i64 %107, %108 br i1 %109, label %113, label %110 110: ; preds = %105 %111 = call i64 @PTRMAP_ISPAGE(ptr noundef %0, i64 noundef %107) #3 %112 = icmp eq i64 %111, 0 br i1 %112, label %114, label %113 113: ; preds = %110, %105 br label %105, !llvm.loop !21 114: ; preds = %110 store i32 1, ptr %0, align 8, !tbaa !22 %115 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %107, ptr %115, align 8, !tbaa !23 br label %116 116: ; preds = %114, %103 %117 = load i32, ptr @SQLITE_OK, align 4, !tbaa !16 br label %118 118: ; preds = %100, %116 %119 = phi i32 [ %117, %116 ], [ %101, %100 ] ret i32 %119 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #2 declare i64 @PTRMAP_ISPAGE(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @PENDING_BYTE_PAGE(ptr noundef) local_unnamed_addr #2 declare i64 @get4byte(ptr noundef) local_unnamed_addr #2 declare i32 @ptrmapGet(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @allocateBtreePage(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @releasePage(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 @btreeGetPage(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @relocatePage(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 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 24} !7 = !{!"TYPE_11__", !8, i64 0, !11, i64 8, !12, 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 = !{!"any pointer", !9, i64 0} !13 = !{!7, !12, i64 16} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_10__", !12, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!12, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = distinct !{!21, !20} !22 = !{!7, !8, i64 0} !23 = !{!7, !11, i64 8}
nodemcu-firmware_app_sqlite3_extr_sqlite3.c_incrVacuumStep
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_cache.c_buf_init.c' source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_cache.c_buf_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.fs_info_t = type { ptr, ptr, ptr, ptr, %struct.TYPE_11__, %struct.TYPE_11__ } %struct.TYPE_11__ = type { ptr, ptr } %struct.TYPE_10__ = type { i32, ptr, ptr, ptr, i64, i32 } %struct.TYPE_8__ = type { i32, ptr, ptr, i32 } %struct.TYPE_9__ = type { i32, ptr, ptr, i32 } @FAT_CACHE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @BUF_CACHE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @FAT_CACHE_HASH_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @BUF_CACHE_HASH_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @buf_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @EXFAT_SB(ptr noundef %0) #3 %3 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 5 %4 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 5, i32 1 store ptr %3, ptr %4, align 8, !tbaa !5 store ptr %3, ptr %3, align 8, !tbaa !11 %5 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !12 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 2 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %16, %9 ] %11 = load ptr, ptr %8, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10 store i32 -1, ptr %12, align 8, !tbaa !15 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10, i32 5 store i32 -1, ptr %13, align 8, !tbaa !18 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 0, i64 32, i1 false) %15 = tail call i32 @push_to_mru(ptr noundef nonnull %12, ptr noundef nonnull %3) #3 %16 = add nuw nsw i64 %10, 1 %17 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !12 %18 = sext i32 %17 to i64 %19 = icmp slt i64 %16, %18 br i1 %19, label %9, label %20, !llvm.loop !19 20: ; preds = %9, %1 %21 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 4 %22 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 4, i32 1 store ptr %21, ptr %22, align 8, !tbaa !21 store ptr %21, ptr %21, align 8, !tbaa !22 %23 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !12 %24 = icmp sgt i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %31, %20 %26 = load i32, ptr @FAT_CACHE_HASH_SIZE, align 4, !tbaa !12 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %42 28: ; preds = %25 %29 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 3 %30 = load ptr, ptr %29, align 8, !tbaa !23 br label %47 31: ; preds = %20, %31 %32 = phi i64 [ %38, %31 ], [ 0, %20 ] %33 = load ptr, ptr %2, align 8, !tbaa !24 %34 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32 store i32 -1, ptr %34, align 8, !tbaa !15 %35 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32, i32 5 store i32 -1, ptr %35, align 8, !tbaa !18 %36 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %36, i8 0, i64 32, i1 false) %37 = tail call i32 @push_to_mru(ptr noundef nonnull %34, ptr noundef nonnull %21) #3 %38 = add nuw nsw i64 %32, 1 %39 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !12 %40 = sext i32 %39 to i64 %41 = icmp slt i64 %38, %40 br i1 %41, label %31, label %25, !llvm.loop !25 42: ; preds = %47, %25 %43 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !12 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %57 45: ; preds = %42 %46 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 2 br label %63 47: ; preds = %28, %47 %48 = phi i64 [ 0, %28 ], [ %53, %47 ] %49 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48 store i32 -1, ptr %49, align 8, !tbaa !26 %50 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48, i32 3 store i32 -1, ptr %50, align 8, !tbaa !28 %51 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48, i32 2 store ptr %49, ptr %51, align 8, !tbaa !29 %52 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48, i32 1 store ptr %49, ptr %52, align 8, !tbaa !30 %53 = add nuw nsw i64 %48, 1 %54 = load i32, ptr @FAT_CACHE_HASH_SIZE, align 4, !tbaa !12 %55 = sext i32 %54 to i64 %56 = icmp slt i64 %53, %55 br i1 %56, label %47, label %42, !llvm.loop !31 57: ; preds = %63, %42 %58 = load i32, ptr @BUF_CACHE_HASH_SIZE, align 4, !tbaa !12 %59 = icmp sgt i32 %58, 0 br i1 %59, label %60, label %72 60: ; preds = %57 %61 = getelementptr inbounds %struct.fs_info_t, ptr %2, i64 0, i32 1 %62 = load ptr, ptr %61, align 8, !tbaa !32 br label %75 63: ; preds = %45, %63 %64 = phi i64 [ 0, %45 ], [ %68, %63 ] %65 = load ptr, ptr %46, align 8, !tbaa !14 %66 = getelementptr inbounds %struct.TYPE_10__, ptr %65, i64 %64 %67 = tail call i32 @FAT_cache_insert_hash(ptr noundef %0, ptr noundef %66) #3 %68 = add nuw nsw i64 %64, 1 %69 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !12 %70 = sext i32 %69 to i64 %71 = icmp slt i64 %68, %70 br i1 %71, label %63, label %57, !llvm.loop !33 72: ; preds = %75, %57 %73 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !12 %74 = icmp sgt i32 %73, 0 br i1 %74, label %85, label %94 75: ; preds = %60, %75 %76 = phi i64 [ 0, %60 ], [ %81, %75 ] %77 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76 store i32 -1, ptr %77, align 8, !tbaa !34 %78 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76, i32 3 store i32 -1, ptr %78, align 8, !tbaa !36 %79 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76, i32 2 store ptr %77, ptr %79, align 8, !tbaa !37 %80 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76, i32 1 store ptr %77, ptr %80, align 8, !tbaa !38 %81 = add nuw nsw i64 %76, 1 %82 = load i32, ptr @BUF_CACHE_HASH_SIZE, align 4, !tbaa !12 %83 = sext i32 %82 to i64 %84 = icmp slt i64 %81, %83 br i1 %84, label %75, label %72, !llvm.loop !39 85: ; preds = %72, %85 %86 = phi i64 [ %90, %85 ], [ 0, %72 ] %87 = load ptr, ptr %2, align 8, !tbaa !24 %88 = getelementptr inbounds %struct.TYPE_10__, ptr %87, i64 %86 %89 = tail call i32 @buf_cache_insert_hash(ptr noundef %0, ptr noundef %88) #3 %90 = add nuw nsw i64 %86, 1 %91 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !12 %92 = sext i32 %91 to i64 %93 = icmp slt i64 %90, %92 br i1 %93, label %85, label %94, !llvm.loop !40 94: ; preds = %85, %72 ret void } declare ptr @EXFAT_SB(ptr noundef) local_unnamed_addr #1 declare i32 @push_to_mru(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FAT_cache_insert_hash(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @buf_cache_insert_hash(ptr noundef, 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, !7, i64 56} !6 = !{!"fs_info_t", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 48} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_11__", !7, i64 0, !7, i64 8} !11 = !{!6, !7, i64 48} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_10__", !13, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !17, i64 32, !13, i64 40} !17 = !{!"long", !8, i64 0} !18 = !{!16, !13, i64 40} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!6, !7, i64 40} !22 = !{!6, !7, i64 32} !23 = !{!6, !7, i64 24} !24 = !{!6, !7, i64 0} !25 = distinct !{!25, !20} !26 = !{!27, !13, i64 0} !27 = !{!"TYPE_8__", !13, i64 0, !7, i64 8, !7, i64 16, !13, i64 24} !28 = !{!27, !13, i64 24} !29 = !{!27, !7, i64 16} !30 = !{!27, !7, i64 8} !31 = distinct !{!31, !20} !32 = !{!6, !7, i64 8} !33 = distinct !{!33, !20} !34 = !{!35, !13, i64 0} !35 = !{!"TYPE_9__", !13, i64 0, !7, i64 8, !7, i64 16, !13, i64 24} !36 = !{!35, !13, i64 24} !37 = !{!35, !7, i64 16} !38 = !{!35, !7, i64 8} !39 = distinct !{!39, !20} !40 = distinct !{!40, !20}
; ModuleID = 'AnghaBench/linux/drivers/staging/exfat/extr_exfat_cache.c_buf_init.c' source_filename = "AnghaBench/linux/drivers/staging/exfat/extr_exfat_cache.c_buf_init.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 { i32, ptr, ptr, ptr, i64, i32 } %struct.TYPE_8__ = type { i32, ptr, ptr, i32 } %struct.TYPE_9__ = type { i32, ptr, ptr, i32 } @FAT_CACHE_SIZE = common local_unnamed_addr global i32 0, align 4 @BUF_CACHE_SIZE = common local_unnamed_addr global i32 0, align 4 @FAT_CACHE_HASH_SIZE = common local_unnamed_addr global i32 0, align 4 @BUF_CACHE_HASH_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @buf_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @EXFAT_SB(ptr noundef %0) #3 %3 = getelementptr inbounds i8, ptr %2, i64 48 %4 = getelementptr inbounds i8, ptr %2, i64 56 store ptr %3, ptr %4, align 8, !tbaa !6 store ptr %3, ptr %3, align 8, !tbaa !12 %5 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !13 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %2, i64 16 br label %9 9: ; preds = %7, %9 %10 = phi i64 [ 0, %7 ], [ %16, %9 ] %11 = load ptr, ptr %8, align 8, !tbaa !15 %12 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10 store i32 -1, ptr %12, align 8, !tbaa !16 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10, i32 5 store i32 -1, ptr %13, align 8, !tbaa !19 %14 = getelementptr inbounds %struct.TYPE_10__, ptr %11, i64 %10, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %14, i8 0, i64 32, i1 false) %15 = tail call i32 @push_to_mru(ptr noundef nonnull %12, ptr noundef nonnull %3) #3 %16 = add nuw nsw i64 %10, 1 %17 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !13 %18 = sext i32 %17 to i64 %19 = icmp slt i64 %16, %18 br i1 %19, label %9, label %20, !llvm.loop !20 20: ; preds = %9, %1 %21 = getelementptr inbounds i8, ptr %2, i64 32 %22 = getelementptr inbounds i8, ptr %2, i64 40 store ptr %21, ptr %22, align 8, !tbaa !22 store ptr %21, ptr %21, align 8, !tbaa !23 %23 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !13 %24 = icmp sgt i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %31, %20 %26 = load i32, ptr @FAT_CACHE_HASH_SIZE, align 4, !tbaa !13 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %42 28: ; preds = %25 %29 = getelementptr inbounds i8, ptr %2, i64 24 %30 = load ptr, ptr %29, align 8, !tbaa !24 br label %47 31: ; preds = %20, %31 %32 = phi i64 [ %38, %31 ], [ 0, %20 ] %33 = load ptr, ptr %2, align 8, !tbaa !25 %34 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32 store i32 -1, ptr %34, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32, i32 5 store i32 -1, ptr %35, align 8, !tbaa !19 %36 = getelementptr inbounds %struct.TYPE_10__, ptr %33, i64 %32, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %36, i8 0, i64 32, i1 false) %37 = tail call i32 @push_to_mru(ptr noundef nonnull %34, ptr noundef nonnull %21) #3 %38 = add nuw nsw i64 %32, 1 %39 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !13 %40 = sext i32 %39 to i64 %41 = icmp slt i64 %38, %40 br i1 %41, label %31, label %25, !llvm.loop !26 42: ; preds = %47, %25 %43 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !13 %44 = icmp sgt i32 %43, 0 br i1 %44, label %45, label %57 45: ; preds = %42 %46 = getelementptr inbounds i8, ptr %2, i64 16 br label %63 47: ; preds = %28, %47 %48 = phi i64 [ 0, %28 ], [ %53, %47 ] %49 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48 store i32 -1, ptr %49, align 8, !tbaa !27 %50 = getelementptr inbounds %struct.TYPE_8__, ptr %30, i64 %48, i32 3 store i32 -1, ptr %50, align 8, !tbaa !29 %51 = getelementptr inbounds i8, ptr %49, i64 16 store ptr %49, ptr %51, align 8, !tbaa !30 %52 = getelementptr inbounds i8, ptr %49, i64 8 store ptr %49, ptr %52, align 8, !tbaa !31 %53 = add nuw nsw i64 %48, 1 %54 = load i32, ptr @FAT_CACHE_HASH_SIZE, align 4, !tbaa !13 %55 = sext i32 %54 to i64 %56 = icmp slt i64 %53, %55 br i1 %56, label %47, label %42, !llvm.loop !32 57: ; preds = %63, %42 %58 = load i32, ptr @BUF_CACHE_HASH_SIZE, align 4, !tbaa !13 %59 = icmp sgt i32 %58, 0 br i1 %59, label %60, label %72 60: ; preds = %57 %61 = getelementptr inbounds i8, ptr %2, i64 8 %62 = load ptr, ptr %61, align 8, !tbaa !33 br label %75 63: ; preds = %45, %63 %64 = phi i64 [ 0, %45 ], [ %68, %63 ] %65 = load ptr, ptr %46, align 8, !tbaa !15 %66 = getelementptr inbounds %struct.TYPE_10__, ptr %65, i64 %64 %67 = tail call i32 @FAT_cache_insert_hash(ptr noundef %0, ptr noundef %66) #3 %68 = add nuw nsw i64 %64, 1 %69 = load i32, ptr @FAT_CACHE_SIZE, align 4, !tbaa !13 %70 = sext i32 %69 to i64 %71 = icmp slt i64 %68, %70 br i1 %71, label %63, label %57, !llvm.loop !34 72: ; preds = %75, %57 %73 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !13 %74 = icmp sgt i32 %73, 0 br i1 %74, label %85, label %94 75: ; preds = %60, %75 %76 = phi i64 [ 0, %60 ], [ %81, %75 ] %77 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76 store i32 -1, ptr %77, align 8, !tbaa !35 %78 = getelementptr inbounds %struct.TYPE_9__, ptr %62, i64 %76, i32 3 store i32 -1, ptr %78, align 8, !tbaa !37 %79 = getelementptr inbounds i8, ptr %77, i64 16 store ptr %77, ptr %79, align 8, !tbaa !38 %80 = getelementptr inbounds i8, ptr %77, i64 8 store ptr %77, ptr %80, align 8, !tbaa !39 %81 = add nuw nsw i64 %76, 1 %82 = load i32, ptr @BUF_CACHE_HASH_SIZE, align 4, !tbaa !13 %83 = sext i32 %82 to i64 %84 = icmp slt i64 %81, %83 br i1 %84, label %75, label %72, !llvm.loop !40 85: ; preds = %72, %85 %86 = phi i64 [ %90, %85 ], [ 0, %72 ] %87 = load ptr, ptr %2, align 8, !tbaa !25 %88 = getelementptr inbounds %struct.TYPE_10__, ptr %87, i64 %86 %89 = tail call i32 @buf_cache_insert_hash(ptr noundef %0, ptr noundef %88) #3 %90 = add nuw nsw i64 %86, 1 %91 = load i32, ptr @BUF_CACHE_SIZE, align 4, !tbaa !13 %92 = sext i32 %91 to i64 %93 = icmp slt i64 %90, %92 br i1 %93, label %85, label %94, !llvm.loop !41 94: ; preds = %85, %72 ret void } declare ptr @EXFAT_SB(ptr noundef) local_unnamed_addr #1 declare i32 @push_to_mru(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @FAT_cache_insert_hash(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @buf_cache_insert_hash(ptr noundef, 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, !8, i64 56} !7 = !{!"fs_info_t", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !11, i64 48} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_11__", !8, i64 0, !8, i64 8} !12 = !{!7, !8, i64 48} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!7, !8, i64 16} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_10__", !14, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !18, i64 32, !14, i64 40} !18 = !{!"long", !9, i64 0} !19 = !{!17, !14, i64 40} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !8, i64 40} !23 = !{!7, !8, i64 32} !24 = !{!7, !8, i64 24} !25 = !{!7, !8, i64 0} !26 = distinct !{!26, !21} !27 = !{!28, !14, i64 0} !28 = !{!"TYPE_8__", !14, i64 0, !8, i64 8, !8, i64 16, !14, i64 24} !29 = !{!28, !14, i64 24} !30 = !{!28, !8, i64 16} !31 = !{!28, !8, i64 8} !32 = distinct !{!32, !21} !33 = !{!7, !8, i64 8} !34 = distinct !{!34, !21} !35 = !{!36, !14, i64 0} !36 = !{!"TYPE_9__", !14, i64 0, !8, i64 8, !8, i64 16, !14, i64 24} !37 = !{!36, !14, i64 24} !38 = !{!36, !8, i64 16} !39 = !{!36, !8, i64 8} !40 = distinct !{!40, !21} !41 = distinct !{!41, !21}
linux_drivers_staging_exfat_extr_exfat_cache.c_buf_init
; ModuleID = 'AnghaBench/libevent/extr_event.c_event_config_set_max_dispatch_interval.c' source_filename = "AnghaBench/libevent/extr_event.c_event_config_set_max_dispatch_interval.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.event_config = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @event_config_set_max_dispatch_interval(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %1, null %6 = getelementptr inbounds %struct.event_config, ptr %0, i64 0, i32 2 br i1 %5, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @memcpy(ptr noundef nonnull %6, ptr noundef nonnull %1, i32 noundef 4) #3 br label %10 9: ; preds = %4 store i32 -1, ptr %6, align 4, !tbaa !5 br label %10 10: ; preds = %9, %7 %11 = load i32, ptr @INT_MAX, align 4 %12 = icmp slt i32 %2, 0 %13 = select i1 %12, i32 %11, i32 %2 store i32 %13, ptr %0, align 4, !tbaa !11 %14 = tail call i32 @llvm.smax.i32(i32 %3, i32 0) %15 = getelementptr inbounds %struct.event_config, ptr %0, i64 0, i32 1 store i32 %14, ptr %15, align 4, !tbaa !12 ret i32 0 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"event_config", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/libevent/extr_event.c_event_config_set_max_dispatch_interval.c' source_filename = "AnghaBench/libevent/extr_event.c_event_config_set_max_dispatch_interval.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @event_config_set_max_dispatch_interval(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %1, null %6 = getelementptr inbounds i8, ptr %0, i64 8 br i1 %5, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @memcpy(ptr noundef nonnull %6, ptr noundef nonnull %1, i32 noundef 4) #3 br label %10 9: ; preds = %4 store i32 -1, ptr %6, align 4, !tbaa !6 br label %10 10: ; preds = %9, %7 %11 = load i32, ptr @INT_MAX, align 4 %12 = icmp slt i32 %2, 0 %13 = select i1 %12, i32 %11, i32 %2 store i32 %13, ptr %0, align 4, !tbaa !12 %14 = tail call i32 @llvm.smax.i32(i32 %3, i32 0) %15 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %14, ptr %15, align 4, !tbaa !13 ret i32 0 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"event_config", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 4}
libevent_extr_event.c_event_config_set_max_dispatch_interval
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_cmi.c_cmimix_wr.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_cmi.c_cmimix_wr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CMPCI_REG_SBADDR = dso_local local_unnamed_addr global i32 0, align 4 @CMPCI_REG_SBDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cmimix_wr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cmimix_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @CMPCI_REG_SBADDR, align 4, !tbaa !5 %5 = tail call i32 @cmi_wr(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 1) #2 %6 = load i32, ptr @CMPCI_REG_SBDATA, align 4, !tbaa !5 %7 = tail call i32 @cmi_wr(ptr noundef %0, i32 noundef %6, i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @cmi_wr(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_cmi.c_cmimix_wr.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_cmi.c_cmimix_wr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CMPCI_REG_SBADDR = common local_unnamed_addr global i32 0, align 4 @CMPCI_REG_SBDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cmimix_wr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cmimix_wr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @CMPCI_REG_SBADDR, align 4, !tbaa !6 %5 = tail call i32 @cmi_wr(ptr noundef %0, i32 noundef %4, i32 noundef %1, i32 noundef 1) #2 %6 = load i32, ptr @CMPCI_REG_SBDATA, align 4, !tbaa !6 %7 = tail call i32 @cmi_wr(ptr noundef %0, i32 noundef %6, i32 noundef %2, i32 noundef 1) #2 ret void } declare i32 @cmi_wr(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_sound_pci_extr_cmi.c_cmimix_wr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ethoc.c_ethoc_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ethoc.c_ethoc_interrupt.c" target datalayout = "e-m:e-p270:32:32-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.ethoc = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @INT_MASK_ALL = dso_local local_unnamed_addr global i32 0, align 4 @INT_SOURCE = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4 @INT_MASK_BUSY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"packet dropped\0A\00", align 1 @INT_MASK_RX = dso_local local_unnamed_addr global i32 0, align 4 @INT_MASK_TX = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ethoc_interrupt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ethoc_interrupt(i32 %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !5 %5 = tail call i32 @ethoc_disable_irq(ptr noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @INT_SOURCE, align 4, !tbaa !5 %7 = tail call i32 @ethoc_read(ptr noundef %3, i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %2 %13 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !5 br label %46 14: ; preds = %2 %15 = tail call i32 @ethoc_ack_irq(ptr noundef %3, i32 noundef %7) #2 %16 = load i32, ptr @INT_MASK_BUSY, align 4, !tbaa !5 %17 = and i32 %16, %7 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = tail call i32 @dev_err(ptr noundef %1, ptr noundef nonnull @.str) #2 %21 = getelementptr inbounds %struct.ethoc, ptr %3, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !9 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4, !tbaa !9 br label %24 24: ; preds = %19, %14 %25 = load i32, ptr @INT_MASK_RX, align 4, !tbaa !5 %26 = and i32 %25, %7 %27 = icmp eq i32 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %24 %29 = tail call i64 @napi_schedule_prep(ptr noundef %3) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28 %32 = tail call i32 @__napi_schedule(ptr noundef %3) #2 br label %35 33: ; preds = %24 %34 = tail call i32 @ethoc_enable_irq(ptr noundef %3, i32 noundef %25) #2 br label %35 35: ; preds = %28, %31, %33 %36 = load i32, ptr @INT_MASK_TX, align 4, !tbaa !5 %37 = and i32 %36, %7 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %35 %40 = tail call i32 @ethoc_tx(ptr noundef %1) #2 br label %41 41: ; preds = %39, %35 %42 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !5 %43 = load i32, ptr @INT_MASK_RX, align 4, !tbaa !5 %44 = xor i32 %43, -1 %45 = and i32 %42, %44 br label %46 46: ; preds = %41, %12 %47 = phi i32 [ %45, %41 ], [ %13, %12 ] %48 = phi ptr [ @IRQ_HANDLED, %41 ], [ @IRQ_NONE, %12 ] %49 = tail call i32 @ethoc_enable_irq(ptr noundef %3, i32 noundef %47) #2 %50 = load i32, ptr %48, align 4, !tbaa !5 ret i32 %50 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ethoc_disable_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_enable_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_ack_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @napi_schedule_prep(ptr noundef) local_unnamed_addr #1 declare i32 @__napi_schedule(ptr noundef) local_unnamed_addr #1 declare i32 @ethoc_tx(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"ethoc", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_ethoc.c_ethoc_interrupt.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_ethoc.c_ethoc_interrupt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_MASK_ALL = common local_unnamed_addr global i32 0, align 4 @INT_SOURCE = common local_unnamed_addr global i32 0, align 4 @IRQ_NONE = common local_unnamed_addr global i32 0, align 4 @INT_MASK_BUSY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"packet dropped\0A\00", align 1 @INT_MASK_RX = common local_unnamed_addr global i32 0, align 4 @INT_MASK_TX = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ethoc_interrupt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ethoc_interrupt(i32 %0, ptr noundef %1) #0 { %3 = tail call ptr @netdev_priv(ptr noundef %1) #2 %4 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !6 %5 = tail call i32 @ethoc_disable_irq(ptr noundef %3, i32 noundef %4) #2 %6 = load i32, ptr @INT_SOURCE, align 4, !tbaa !6 %7 = tail call i32 @ethoc_read(ptr noundef %3, i32 noundef %6) #2 %8 = icmp eq i32 %7, 0 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %2 %13 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !6 br label %46 14: ; preds = %2 %15 = tail call i32 @ethoc_ack_irq(ptr noundef %3, i32 noundef %7) #2 %16 = load i32, ptr @INT_MASK_BUSY, align 4, !tbaa !6 %17 = and i32 %16, %7 %18 = icmp eq i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = tail call i32 @dev_err(ptr noundef %1, ptr noundef nonnull @.str) #2 %21 = getelementptr inbounds i8, ptr %3, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !10 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4, !tbaa !10 br label %24 24: ; preds = %19, %14 %25 = load i32, ptr @INT_MASK_RX, align 4, !tbaa !6 %26 = and i32 %25, %7 %27 = icmp eq i32 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %24 %29 = tail call i64 @napi_schedule_prep(ptr noundef %3) #2 %30 = icmp eq i64 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28 %32 = tail call i32 @__napi_schedule(ptr noundef %3) #2 br label %35 33: ; preds = %24 %34 = tail call i32 @ethoc_enable_irq(ptr noundef %3, i32 noundef %25) #2 br label %35 35: ; preds = %28, %31, %33 %36 = load i32, ptr @INT_MASK_TX, align 4, !tbaa !6 %37 = and i32 %36, %7 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %35 %40 = tail call i32 @ethoc_tx(ptr noundef %1) #2 br label %41 41: ; preds = %39, %35 %42 = load i32, ptr @INT_MASK_ALL, align 4, !tbaa !6 %43 = load i32, ptr @INT_MASK_RX, align 4, !tbaa !6 %44 = xor i32 %43, -1 %45 = and i32 %42, %44 br label %46 46: ; preds = %41, %12 %47 = phi i32 [ %45, %41 ], [ %13, %12 ] %48 = phi ptr [ @IRQ_HANDLED, %41 ], [ @IRQ_NONE, %12 ] %49 = tail call i32 @ethoc_enable_irq(ptr noundef %3, i32 noundef %47) #2 %50 = load i32, ptr %48, align 4, !tbaa !6 ret i32 %50 } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @ethoc_disable_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_enable_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ethoc_ack_irq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @napi_schedule_prep(ptr noundef) local_unnamed_addr #1 declare i32 @__napi_schedule(ptr noundef) local_unnamed_addr #1 declare i32 @ethoc_tx(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"ethoc", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_2__", !7, i64 0}
fastsocket_kernel_drivers_net_extr_ethoc.c_ethoc_interrupt
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_query_switchinfo_records.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_query_switchinfo_records.c" target datalayout = "e-m:e-p270:32:32-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 } @SWIR = dso_local local_unnamed_addr global i32 0, align 4 @LID = dso_local local_unnamed_addr global i32 0, align 4 @IB_SA_ATTR_SWITCHINFORECORD = dso_local local_unnamed_addr global i32 0, align 4 @dump_switch_info_record = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @query_switchinfo_records], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @query_switchinfo_records(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4) #0 { %6 = alloca %struct.TYPE_4__, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 0, ptr %7, align 4, !tbaa !5 %8 = icmp sgt i32 %3, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load ptr, ptr %4, align 8, !tbaa !9 %11 = call i32 @parse_lid_and_ports(ptr noundef %1, ptr noundef %10, ptr noundef nonnull %7, ptr noundef null, ptr noundef null) #3 br label %12 12: ; preds = %9, %5 %13 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #3 %14 = load i32, ptr %7, align 4, !tbaa !5 %15 = load i32, ptr %6, align 4, !tbaa !11 %16 = load i32, ptr @SWIR, align 4, !tbaa !5 %17 = load i32, ptr @LID, align 4, !tbaa !5 %18 = call i32 @CHECK_AND_SET_VAL(i32 noundef %14, i32 noundef 16, i32 noundef 0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = load i32, ptr @IB_SA_ATTR_SWITCHINFORECORD, align 4, !tbaa !5 %20 = load i32, ptr @dump_switch_info_record, align 4, !tbaa !5 %21 = call i32 @get_and_dump_any_records(ptr noundef %1, i32 noundef %19, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %6, i32 noundef 4, i32 noundef %20, ptr noundef %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @parse_lid_and_ports(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CHECK_AND_SET_VAL(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_and_dump_any_records(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_query_switchinfo_records.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_query_switchinfo_records.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 } @SWIR = common local_unnamed_addr global i32 0, align 4 @LID = common local_unnamed_addr global i32 0, align 4 @IB_SA_ATTR_SWITCHINFORECORD = common local_unnamed_addr global i32 0, align 4 @dump_switch_info_record = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @query_switchinfo_records], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @query_switchinfo_records(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4) #0 { %6 = alloca %struct.TYPE_4__, align 4 %7 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 store i32 0, ptr %7, align 4, !tbaa !6 %8 = icmp sgt i32 %3, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load ptr, ptr %4, align 8, !tbaa !10 %11 = call i32 @parse_lid_and_ports(ptr noundef %1, ptr noundef %10, ptr noundef nonnull %7, ptr noundef null, ptr noundef null) #3 br label %12 12: ; preds = %9, %5 %13 = call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 4) #3 %14 = load i32, ptr %7, align 4, !tbaa !6 %15 = load i32, ptr %6, align 4, !tbaa !12 %16 = load i32, ptr @SWIR, align 4, !tbaa !6 %17 = load i32, ptr @LID, align 4, !tbaa !6 %18 = call i32 @CHECK_AND_SET_VAL(i32 noundef %14, i32 noundef 16, i32 noundef 0, i32 noundef %15, i32 noundef %16, i32 noundef %17) #3 %19 = load i32, ptr @IB_SA_ATTR_SWITCHINFORECORD, align 4, !tbaa !6 %20 = load i32, ptr @dump_switch_info_record, align 4, !tbaa !6 %21 = call i32 @get_and_dump_any_records(ptr noundef %1, i32 noundef %19, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %6, i32 noundef 4, i32 noundef %20, ptr noundef %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %21 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @parse_lid_and_ports(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CHECK_AND_SET_VAL(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_and_dump_any_records(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
freebsd_contrib_ofed_infiniband-diags_src_extr_saquery.c_query_switchinfo_records
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_request.c_sci_request_build_sgl.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_request.c_sci_request_build_sgl.c" target datalayout = "e-m:e-p270:32:32-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.isci_request = type { i32, ptr } %struct.sas_task = type { i64, i32, i32, ptr } %struct.scu_sgl_element_pair = type { ptr, ptr, %struct.TYPE_5__, %struct.TYPE_5__ } %struct.TYPE_5__ = type { ptr, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @sci_request_build_sgl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sci_request_build_sgl(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.isci_request, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call ptr @isci_request_access_task(ptr noundef %0) #3 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %37 7: ; preds = %1 %8 = getelementptr inbounds %struct.sas_task, ptr %4, i64 0, i32 3 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = icmp eq ptr %9, null br i1 %10, label %57, label %11 11: ; preds = %7, %34 %12 = phi ptr [ %15, %34 ], [ null, %7 ] %13 = phi i64 [ %35, %34 ], [ 0, %7 ] %14 = phi ptr [ %27, %34 ], [ %9, %7 ] %15 = tail call ptr @to_sgl_element_pair(ptr noundef %0, i64 noundef %13) #3 %16 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %15, i64 0, i32 2 %17 = tail call i32 @init_sgl_element(ptr noundef nonnull %16, ptr noundef nonnull %14) #3 %18 = tail call ptr @sg_next(ptr noundef nonnull %14) #3 %19 = icmp eq ptr %18, null %20 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %15, i64 0, i32 3 br i1 %19, label %24, label %21 21: ; preds = %11 %22 = tail call i32 @init_sgl_element(ptr noundef nonnull %20, ptr noundef nonnull %18) #3 %23 = tail call ptr @sg_next(ptr noundef nonnull %18) #3 br label %26 24: ; preds = %11 %25 = tail call i32 @memset(ptr noundef nonnull %20, i32 noundef 0, i32 noundef 24) #3 br label %26 26: ; preds = %24, %21 %27 = phi ptr [ %23, %21 ], [ null, %24 ] %28 = icmp eq ptr %12, null br i1 %28, label %34, label %29 29: ; preds = %26 %30 = tail call i32 @to_sgl_element_pair_dma(ptr noundef %3, ptr noundef %0, i64 noundef %13) #3 %31 = tail call ptr @upper_32_bits(i32 noundef %30) #3 %32 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %12, i64 0, i32 1 store ptr %31, ptr %32, align 8, !tbaa !15 %33 = tail call ptr @lower_32_bits(i32 noundef %30) #3 store ptr %33, ptr %12, align 8, !tbaa !18 br label %34 34: ; preds = %29, %26 %35 = add nuw nsw i64 %13, 1 %36 = icmp eq ptr %27, null br i1 %36, label %53, label %11, !llvm.loop !19 37: ; preds = %1 %38 = tail call ptr @to_sgl_element_pair(ptr noundef nonnull %0, i64 noundef 0) #3 %39 = load ptr, ptr %3, align 8, !tbaa !21 %40 = getelementptr inbounds %struct.sas_task, ptr %4, i64 0, i32 3 %41 = load ptr, ptr %40, align 8, !tbaa !14 %42 = getelementptr inbounds %struct.sas_task, ptr %4, i64 0, i32 1 %43 = load i32, ptr %42, align 8, !tbaa !23 %44 = getelementptr inbounds %struct.sas_task, ptr %4, i64 0, i32 2 %45 = load i32, ptr %44, align 4, !tbaa !24 %46 = tail call i32 @dma_map_single(ptr noundef %39, ptr noundef %41, i32 noundef %43, i32 noundef %45) #3 store i32 %46, ptr %0, align 8, !tbaa !25 %47 = load i32, ptr %42, align 8, !tbaa !23 %48 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %38, i64 0, i32 2 %49 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %38, i64 0, i32 2, i32 2 store i32 %47, ptr %49, align 8, !tbaa !26 %50 = tail call ptr @upper_32_bits(i32 noundef %46) #3 %51 = getelementptr inbounds %struct.scu_sgl_element_pair, ptr %38, i64 0, i32 2, i32 1 store ptr %50, ptr %51, align 8, !tbaa !27 %52 = tail call ptr @lower_32_bits(i32 noundef %46) #3 store ptr %52, ptr %48, align 8, !tbaa !28 br label %55 53: ; preds = %34 %54 = icmp eq ptr %15, null br i1 %54, label %57, label %55 55: ; preds = %37, %53 %56 = phi ptr [ %38, %37 ], [ %15, %53 ] tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %56, i8 0, i64 16, i1 false) br label %57 57: ; preds = %7, %55, %53 ret void } declare ptr @isci_request_access_task(ptr noundef) local_unnamed_addr #1 declare ptr @to_sgl_element_pair(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @init_sgl_element(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @sg_next(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @to_sgl_element_pair_dma(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @upper_32_bits(i32 noundef) local_unnamed_addr #1 declare ptr @lower_32_bits(i32 noundef) local_unnamed_addr #1 declare i32 @dma_map_single(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"isci_request", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"sas_task", !13, i64 0, !7, i64 8, !7, i64 12, !10, i64 16} !13 = !{!"long", !8, i64 0} !14 = !{!12, !10, i64 16} !15 = !{!16, !10, i64 8} !16 = !{!"scu_sgl_element_pair", !10, i64 0, !10, i64 8, !17, i64 16, !17, i64 40} !17 = !{!"TYPE_5__", !10, i64 0, !10, i64 8, !7, i64 16} !18 = !{!16, !10, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!22, !10, i64 0} !22 = !{!"isci_host", !10, i64 0} !23 = !{!12, !7, i64 8} !24 = !{!12, !7, i64 12} !25 = !{!6, !7, i64 0} !26 = !{!16, !7, i64 32} !27 = !{!16, !10, i64 24} !28 = !{!16, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_request.c_sci_request_build_sgl.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_request.c_sci_request_build_sgl.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 @sci_request_build_sgl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sci_request_build_sgl(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call ptr @isci_request_access_task(ptr noundef %0) #3 %5 = load i64, ptr %4, align 8, !tbaa !12 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %37 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %4, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = icmp eq ptr %9, null br i1 %10, label %57, label %11 11: ; preds = %7, %34 %12 = phi ptr [ %15, %34 ], [ null, %7 ] %13 = phi i64 [ %35, %34 ], [ 0, %7 ] %14 = phi ptr [ %27, %34 ], [ %9, %7 ] %15 = tail call ptr @to_sgl_element_pair(ptr noundef %0, i64 noundef %13) #3 %16 = getelementptr inbounds i8, ptr %15, i64 16 %17 = tail call i32 @init_sgl_element(ptr noundef nonnull %16, ptr noundef nonnull %14) #3 %18 = tail call ptr @sg_next(ptr noundef nonnull %14) #3 %19 = icmp eq ptr %18, null %20 = getelementptr inbounds i8, ptr %15, i64 40 br i1 %19, label %24, label %21 21: ; preds = %11 %22 = tail call i32 @init_sgl_element(ptr noundef nonnull %20, ptr noundef nonnull %18) #3 %23 = tail call ptr @sg_next(ptr noundef nonnull %18) #3 br label %26 24: ; preds = %11 %25 = tail call i32 @memset(ptr noundef nonnull %20, i32 noundef 0, i32 noundef 24) #3 br label %26 26: ; preds = %24, %21 %27 = phi ptr [ %23, %21 ], [ null, %24 ] %28 = icmp eq ptr %12, null br i1 %28, label %34, label %29 29: ; preds = %26 %30 = tail call i32 @to_sgl_element_pair_dma(ptr noundef %3, ptr noundef %0, i64 noundef %13) #3 %31 = tail call ptr @upper_32_bits(i32 noundef %30) #3 %32 = getelementptr inbounds i8, ptr %12, i64 8 store ptr %31, ptr %32, align 8, !tbaa !16 %33 = tail call ptr @lower_32_bits(i32 noundef %30) #3 store ptr %33, ptr %12, align 8, !tbaa !19 br label %34 34: ; preds = %29, %26 %35 = add nuw nsw i64 %13, 1 %36 = icmp eq ptr %27, null br i1 %36, label %53, label %11, !llvm.loop !20 37: ; preds = %1 %38 = tail call ptr @to_sgl_element_pair(ptr noundef nonnull %0, i64 noundef 0) #3 %39 = load ptr, ptr %3, align 8, !tbaa !22 %40 = getelementptr inbounds i8, ptr %4, i64 16 %41 = load ptr, ptr %40, align 8, !tbaa !15 %42 = getelementptr inbounds i8, ptr %4, i64 8 %43 = load i32, ptr %42, align 8, !tbaa !24 %44 = getelementptr inbounds i8, ptr %4, i64 12 %45 = load i32, ptr %44, align 4, !tbaa !25 %46 = tail call i32 @dma_map_single(ptr noundef %39, ptr noundef %41, i32 noundef %43, i32 noundef %45) #3 store i32 %46, ptr %0, align 8, !tbaa !26 %47 = load i32, ptr %42, align 8, !tbaa !24 %48 = getelementptr inbounds i8, ptr %38, i64 16 %49 = getelementptr inbounds i8, ptr %38, i64 32 store i32 %47, ptr %49, align 8, !tbaa !27 %50 = tail call ptr @upper_32_bits(i32 noundef %46) #3 %51 = getelementptr inbounds i8, ptr %38, i64 24 store ptr %50, ptr %51, align 8, !tbaa !28 %52 = tail call ptr @lower_32_bits(i32 noundef %46) #3 store ptr %52, ptr %48, align 8, !tbaa !29 br label %55 53: ; preds = %34 %54 = icmp eq ptr %15, null br i1 %54, label %57, label %55 55: ; preds = %37, %53 %56 = phi ptr [ %38, %37 ], [ %15, %53 ] tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %56, i8 0, i64 16, i1 false) br label %57 57: ; preds = %7, %55, %53 ret void } declare ptr @isci_request_access_task(ptr noundef) local_unnamed_addr #1 declare ptr @to_sgl_element_pair(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @init_sgl_element(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @sg_next(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @to_sgl_element_pair_dma(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @upper_32_bits(i32 noundef) local_unnamed_addr #1 declare ptr @lower_32_bits(i32 noundef) local_unnamed_addr #1 declare i32 @dma_map_single(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"isci_request", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"sas_task", !14, i64 0, !8, i64 8, !8, i64 12, !11, i64 16} !14 = !{!"long", !9, i64 0} !15 = !{!13, !11, i64 16} !16 = !{!17, !11, i64 8} !17 = !{!"scu_sgl_element_pair", !11, i64 0, !11, i64 8, !18, i64 16, !18, i64 40} !18 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !8, i64 16} !19 = !{!17, !11, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!23, !11, i64 0} !23 = !{!"isci_host", !11, i64 0} !24 = !{!13, !8, i64 8} !25 = !{!13, !8, i64 12} !26 = !{!7, !8, i64 0} !27 = !{!17, !8, i64 32} !28 = !{!17, !11, i64 24} !29 = !{!17, !11, i64 16}
linux_drivers_scsi_isci_extr_request.c_sci_request_build_sgl
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_mcp.c_qed_mcp_cmd.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_mcp.c_qed_mcp_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qed_mcp_mb_params = type { ptr, ptr, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @qed_mcp_cmd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 { %7 = alloca %struct.qed_mcp_mb_params, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 32) #3 %9 = getelementptr inbounds %struct.qed_mcp_mb_params, ptr %7, i64 0, i32 3 store ptr %2, ptr %9, align 8, !tbaa !5 %10 = getelementptr inbounds %struct.qed_mcp_mb_params, ptr %7, i64 0, i32 2 store ptr %3, ptr %10, align 8, !tbaa !10 %11 = call i32 @qed_mcp_cmd_and_union(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %6 %14 = getelementptr inbounds %struct.qed_mcp_mb_params, ptr %7, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !11 store ptr %15, ptr %4, align 8, !tbaa !12 %16 = load ptr, ptr %7, align 8, !tbaa !13 store ptr %16, ptr %5, align 8, !tbaa !12 br label %17 17: ; preds = %6, %13 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qed_mcp_cmd_and_union(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 24} !6 = !{!"qed_mcp_mb_params", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 16} !11 = !{!6, !7, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_mcp.c_qed_mcp_cmd.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_mcp.c_qed_mcp_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.qed_mcp_mb_params = type { ptr, ptr, ptr, ptr } ; Function Attrs: nounwind ssp uwtable(sync) define i32 @qed_mcp_cmd(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 { %7 = alloca %struct.qed_mcp_mb_params, align 8 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3 %8 = call i32 @memset(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 32) #3 %9 = getelementptr inbounds i8, ptr %7, i64 24 store ptr %2, ptr %9, align 8, !tbaa !6 %10 = getelementptr inbounds i8, ptr %7, i64 16 store ptr %3, ptr %10, align 8, !tbaa !11 %11 = call i32 @qed_mcp_cmd_and_union(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %7) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %6 %14 = getelementptr inbounds i8, ptr %7, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !12 store ptr %15, ptr %4, align 8, !tbaa !13 %16 = load ptr, ptr %7, align 8, !tbaa !14 store ptr %16, ptr %5, align 8, !tbaa !13 br label %17 17: ; preds = %6, %13 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3 ret i32 %11 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @qed_mcp_cmd_and_union(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 24} !7 = !{!"qed_mcp_mb_params", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 16} !12 = !{!7, !8, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_mcp.c_qed_mcp_cmd
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_select.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_select.c" target datalayout = "e-m:e-p270:32:32-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.timeval = type { i32, i64 } %struct.TYPE_10__ = type { i32, i64, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32, i64 } @False = dso_local local_unnamed_addr global i64 0, align 8 @True = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"select: %s\0A\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ui_select(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timeval, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %8 = load i64, ptr @False, align 8, !tbaa !5 store i64 %8, ptr %7, align 8, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2 %10 = load i64, ptr @True, align 8, !tbaa !5 %11 = icmp eq i64 %10, 0 br i1 %11, label %54, label %12 12: ; preds = %2 %13 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 2, i32 1 %14 = getelementptr inbounds %struct.timeval, ptr %6, i64 0, i32 1 br label %15 15: ; preds = %12, %46 %16 = load i32, ptr %9, align 8, !tbaa !9 %17 = call i32 @llvm.smax.i32(i32 %16, i32 %1) store i32 %17, ptr %3, align 4, !tbaa !13 %18 = call i32 @xwin_process_events(ptr noundef %0) #4 %19 = icmp eq i32 %18, 0 br i1 %19, label %54, label %20 20: ; preds = %15 %21 = load i64, ptr %13, align 8, !tbaa !14 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %20 %24 = call i32 @sw_check_timers(ptr noundef nonnull %0) #4 br label %25 25: ; preds = %23, %20 %26 = call i32 @FD_ZERO(ptr noundef nonnull %4) #4 %27 = call i32 @FD_ZERO(ptr noundef nonnull %5) #4 %28 = call i32 @FD_SET(i32 noundef %1, ptr noundef nonnull %4) #4 %29 = load i32, ptr %9, align 8, !tbaa !9 %30 = call i32 @FD_SET(i32 noundef %29, ptr noundef nonnull %4) #4 store i32 60, ptr %6, align 8, !tbaa !15 store i64 0, ptr %14, align 8, !tbaa !17 %31 = call i32 @rdpdr_add_fds(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %32 = call i32 @seamless_select_timeout(ptr noundef nonnull %0, ptr noundef nonnull %6) #4 %33 = load i32, ptr %3, align 4, !tbaa !13 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4, !tbaa !13 %35 = call i32 @select(i32 noundef %34, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef null, ptr noundef nonnull %6) #4 switch i32 %35, label %49 [ i32 -1, label %36 i32 0, label %40 ] 36: ; preds = %25 %37 = load i32, ptr @errno, align 4, !tbaa !13 %38 = call i32 @strerror(i32 noundef %37) #4 %39 = call i32 @error(ptr noundef nonnull @.str, i32 noundef %38) #4 br label %40 40: ; preds = %25, %36 %41 = load i64, ptr %7, align 8, !tbaa !5 %42 = icmp eq i64 %41, 0 br i1 %42, label %46, label %43 43: ; preds = %40 %44 = load i64, ptr @True, align 8, !tbaa !5 %45 = call i32 @rdpdr_check_fds(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, i64 noundef %44) #4 br label %46 46: ; preds = %40, %43, %49 %47 = load i64, ptr @True, align 8, !tbaa !5 %48 = icmp eq i64 %47, 0 br i1 %48, label %54, label %15, !llvm.loop !18 49: ; preds = %25 %50 = load i64, ptr @False, align 8, !tbaa !5 %51 = call i32 @rdpdr_check_fds(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, i64 noundef %50) #4 %52 = call i64 @FD_ISSET(i32 noundef %1, ptr noundef nonnull %4) #4 %53 = icmp eq i64 %52, 0 br i1 %53, label %46, label %54 54: ; preds = %15, %49, %46, %2 %55 = phi i32 [ undef, %2 ], [ undef, %46 ], [ 1, %49 ], [ 0, %15 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xwin_process_events(ptr noundef) local_unnamed_addr #2 declare i32 @sw_check_timers(ptr noundef) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdpdr_add_fds(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seamless_select_timeout(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @rdpdr_check_fds(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @FD_ISSET(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 nosync nounwind speculatable willreturn memory(none) } 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"TYPE_10__", !11, i64 0, !6, i64 8, !12, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"TYPE_9__", !11, i64 0, !6, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!10, !6, i64 24} !15 = !{!16, !11, i64 0} !16 = !{!"timeval", !11, i64 0, !6, i64 8} !17 = !{!16, !6, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_select.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/tsclient/rdesktop/extr_xwin.c_ui_select.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.timeval = type { i32, i64 } @False = common local_unnamed_addr global i64 0, align 8 @True = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"select: %s\0A\00", align 1 @errno = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ui_select(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timeval, align 8 %7 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 %8 = load i64, ptr @False, align 8, !tbaa !6 store i64 %8, ptr %7, align 8, !tbaa !6 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr @True, align 8, !tbaa !6 %11 = icmp eq i64 %10, 0 br i1 %11, label %54, label %12 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %0, i64 24 %14 = getelementptr inbounds i8, ptr %6, i64 8 br label %15 15: ; preds = %12, %46 %16 = load i32, ptr %9, align 8, !tbaa !10 %17 = call i32 @llvm.smax.i32(i32 %16, i32 %1) store i32 %17, ptr %3, align 4, !tbaa !14 %18 = call i32 @xwin_process_events(ptr noundef %0) #4 %19 = icmp eq i32 %18, 0 br i1 %19, label %54, label %20 20: ; preds = %15 %21 = load i64, ptr %13, align 8, !tbaa !15 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %20 %24 = call i32 @sw_check_timers(ptr noundef nonnull %0) #4 br label %25 25: ; preds = %23, %20 %26 = call i32 @FD_ZERO(ptr noundef nonnull %4) #4 %27 = call i32 @FD_ZERO(ptr noundef nonnull %5) #4 %28 = call i32 @FD_SET(i32 noundef %1, ptr noundef nonnull %4) #4 %29 = load i32, ptr %9, align 8, !tbaa !10 %30 = call i32 @FD_SET(i32 noundef %29, ptr noundef nonnull %4) #4 store i32 60, ptr %6, align 8, !tbaa !16 store i64 0, ptr %14, align 8, !tbaa !18 %31 = call i32 @rdpdr_add_fds(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 %32 = call i32 @seamless_select_timeout(ptr noundef nonnull %0, ptr noundef nonnull %6) #4 %33 = load i32, ptr %3, align 4, !tbaa !14 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4, !tbaa !14 %35 = call i32 @select(i32 noundef %34, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef null, ptr noundef nonnull %6) #4 switch i32 %35, label %49 [ i32 -1, label %36 i32 0, label %40 ] 36: ; preds = %25 %37 = load i32, ptr @errno, align 4, !tbaa !14 %38 = call i32 @strerror(i32 noundef %37) #4 %39 = call i32 @error(ptr noundef nonnull @.str, i32 noundef %38) #4 br label %40 40: ; preds = %25, %36 %41 = load i64, ptr %7, align 8, !tbaa !6 %42 = icmp eq i64 %41, 0 br i1 %42, label %46, label %43 43: ; preds = %40 %44 = load i64, ptr @True, align 8, !tbaa !6 %45 = call i32 @rdpdr_check_fds(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, i64 noundef %44) #4 br label %46 46: ; preds = %40, %43, %49 %47 = load i64, ptr @True, align 8, !tbaa !6 %48 = icmp eq i64 %47, 0 br i1 %48, label %54, label %15, !llvm.loop !19 49: ; preds = %25 %50 = load i64, ptr @False, align 8, !tbaa !6 %51 = call i32 @rdpdr_check_fds(ptr noundef nonnull %0, ptr noundef nonnull %4, ptr noundef nonnull %5, i64 noundef %50) #4 %52 = call i64 @FD_ISSET(i32 noundef %1, ptr noundef nonnull %4) #4 %53 = icmp eq i64 %52, 0 br i1 %53, label %46, label %54 54: ; preds = %15, %49, %46, %2 %55 = phi i32 [ undef, %2 ], [ undef, %46 ], [ 1, %49 ], [ 0, %15 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 ret i32 %55 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @xwin_process_events(ptr noundef) local_unnamed_addr #2 declare i32 @sw_check_timers(ptr noundef) local_unnamed_addr #2 declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @FD_SET(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rdpdr_add_fds(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @seamless_select_timeout(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @error(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @rdpdr_check_fds(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i64 @FD_ISSET(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 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 nosync nounwind speculatable willreturn memory(none) } 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"TYPE_10__", !12, i64 0, !7, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"TYPE_9__", !12, i64 0, !7, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!11, !7, i64 24} !16 = !{!17, !12, i64 0} !17 = !{!"timeval", !12, i64 0, !7, i64 8} !18 = !{!17, !7, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
reactos_modules_rosapps_applications_net_tsclient_rdesktop_extr_xwin.c_ui_select
; ModuleID = 'AnghaBench/HandBrake/gtk/src/extr_titledict.c_ghb_get_title_subtitle_track.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_titledict.c_ghb_get_title_subtitle_track.c" target datalayout = "e-m:e-p270:32:32-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 @ghb_get_title_subtitle_track(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ghb_get_title_subtitle_list(ptr noundef %0) #2 %4 = tail call ptr @ghb_array_get(ptr noundef %3, i32 noundef %1) #2 ret ptr %4 } declare ptr @ghb_get_title_subtitle_list(ptr noundef) local_unnamed_addr #1 declare ptr @ghb_array_get(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/HandBrake/gtk/src/extr_titledict.c_ghb_get_title_subtitle_track.c' source_filename = "AnghaBench/HandBrake/gtk/src/extr_titledict.c_ghb_get_title_subtitle_track.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 @ghb_get_title_subtitle_track(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ghb_get_title_subtitle_list(ptr noundef %0) #2 %4 = tail call ptr @ghb_array_get(ptr noundef %3, i32 noundef %1) #2 ret ptr %4 } declare ptr @ghb_get_title_subtitle_list(ptr noundef) local_unnamed_addr #1 declare ptr @ghb_array_get(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)"}
HandBrake_gtk_src_extr_titledict.c_ghb_get_title_subtitle_track
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_kern_environment.c_getenv_long.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_environment.c_getenv_long.c" target datalayout = "e-m:e-p270:32:32-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 @getenv_long(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @getenv_quad(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !5 store i64 %7, ptr %1, align 8, !tbaa !5 br label %8 8: ; preds = %6, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getenv_quad(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/freebsd/sys/kern/extr_kern_environment.c_getenv_long.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_kern_environment.c_getenv_long.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 @getenv_long(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i32 @getenv_quad(ptr noundef %0, ptr noundef nonnull %3) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !6 store i64 %7, ptr %1, align 8, !tbaa !6 br label %8 8: ; preds = %6, %2 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getenv_quad(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"}
freebsd_sys_kern_extr_kern_environment.c_getenv_long
; ModuleID = 'AnghaBench/linux/kernel/time/extr_alarmtimer.c_alarmtimer_rtc_interface_remove.c' source_filename = "AnghaBench/linux/kernel/time/extr_alarmtimer.c_alarmtimer_rtc_interface_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @alarmtimer_rtc_interface_remove], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @alarmtimer_rtc_interface_remove() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/kernel/time/extr_alarmtimer.c_alarmtimer_rtc_interface_remove.c' source_filename = "AnghaBench/linux/kernel/time/extr_alarmtimer.c_alarmtimer_rtc_interface_remove.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 @alarmtimer_rtc_interface_remove], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @alarmtimer_rtc_interface_remove() #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_kernel_time_extr_alarmtimer.c_alarmtimer_rtc_interface_remove
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lparser.c_statlist.c' source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lparser.c_statlist.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TK_RETURN = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @statlist], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @statlist(ptr noundef %0) #0 { %2 = tail call i32 @block_follow(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %12 4: ; preds = %1, %9 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = load i64, ptr @TK_RETURN, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 %8 = tail call i32 @statement(ptr noundef nonnull %0) #2 br i1 %7, label %12, label %9 9: ; preds = %4 %10 = tail call i32 @block_follow(ptr noundef nonnull %0, i32 noundef 1) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %4, label %12, !llvm.loop !12 12: ; preds = %9, %4, %1 ret void } declare i32 @block_follow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @statement(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_7__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lparser.c_statlist.c' source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lparser.c_statlist.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TK_RETURN = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @statlist], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @statlist(ptr noundef %0) #0 { %2 = tail call i32 @block_follow(ptr noundef %0, i32 noundef 1) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %12 4: ; preds = %1, %9 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = load i64, ptr @TK_RETURN, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 %8 = tail call i32 @statement(ptr noundef nonnull %0) #2 br i1 %7, label %12, label %9 9: ; preds = %4 %10 = tail call i32 @block_follow(ptr noundef nonnull %0, i32 noundef 1) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %4, label %12, !llvm.loop !13 12: ; preds = %9, %4, %1 ret void } declare i32 @block_follow(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @statement(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_7__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
RetroArch_deps_lua_src_extr_lparser.c_statlist
; ModuleID = 'AnghaBench/sqlcipher/ext/fts5/extr_fts5_config.c_fts5_iswhitespace.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_config.c_fts5_iswhitespace.c" target datalayout = "e-m:e-p270:32:32-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 @fts5_iswhitespace], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @fts5_iswhitespace(i8 noundef signext %0) #0 { %2 = icmp eq i8 %0, 32 %3 = zext i1 %2 to i32 ret i32 %3 } 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/sqlcipher/ext/fts5/extr_fts5_config.c_fts5_iswhitespace.c' source_filename = "AnghaBench/sqlcipher/ext/fts5/extr_fts5_config.c_fts5_iswhitespace.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 @fts5_iswhitespace], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 2) i32 @fts5_iswhitespace(i8 noundef signext %0) #0 { %2 = icmp eq i8 %0, 32 %3 = zext i1 %2 to i32 ret i32 %3 } 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)"}
sqlcipher_ext_fts5_extr_fts5_config.c_fts5_iswhitespace
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_scattach.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_scattach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SC_AUTODETECT_KBD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ofwfb_scattach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ofwfb_scattach(i32 noundef %0) #0 { %2 = tail call i32 @device_get_unit(i32 noundef %0) #2 %3 = tail call i32 @device_get_flags(i32 noundef %0) #2 %4 = load i32, ptr @SC_AUTODETECT_KBD, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = tail call i32 @sc_attach_unit(i32 noundef %2, i32 noundef %5) #2 ret i32 %6 } declare i32 @sc_attach_unit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_flags(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/powerpc/ofw/extr_ofw_syscons.c_ofwfb_scattach.c' source_filename = "AnghaBench/freebsd/sys/powerpc/ofw/extr_ofw_syscons.c_ofwfb_scattach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SC_AUTODETECT_KBD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ofwfb_scattach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ofwfb_scattach(i32 noundef %0) #0 { %2 = tail call i32 @device_get_unit(i32 noundef %0) #2 %3 = tail call i32 @device_get_flags(i32 noundef %0) #2 %4 = load i32, ptr @SC_AUTODETECT_KBD, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = tail call i32 @sc_attach_unit(i32 noundef %2, i32 noundef %5) #2 ret i32 %6 } declare i32 @sc_attach_unit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @device_get_unit(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_flags(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_powerpc_ofw_extr_ofw_syscons.c_ofwfb_scattach
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_m66592-udc.c_m66592_usb_connect.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_m66592-udc.c_m66592_usb_connect.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M66592_CTRE = dso_local local_unnamed_addr global i32 0, align 4 @M66592_INTENB0 = dso_local local_unnamed_addr global i32 0, align 4 @M66592_WDST = dso_local local_unnamed_addr global i32 0, align 4 @M66592_RDST = dso_local local_unnamed_addr global i32 0, align 4 @M66592_CMPL = dso_local local_unnamed_addr global i32 0, align 4 @M66592_BEMPE = dso_local local_unnamed_addr global i32 0, align 4 @M66592_BRDYE = dso_local local_unnamed_addr global i32 0, align 4 @M66592_DPRPU = dso_local local_unnamed_addr global i32 0, align 4 @M66592_SYSCFG = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @m66592_usb_connect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @m66592_usb_connect(ptr noundef %0) #0 { %2 = load i32, ptr @M66592_CTRE, align 4, !tbaa !5 %3 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !5 %4 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @M66592_WDST, align 4, !tbaa !5 %6 = load i32, ptr @M66592_RDST, align 4, !tbaa !5 %7 = or i32 %6, %5 %8 = load i32, ptr @M66592_CMPL, align 4, !tbaa !5 %9 = or i32 %7, %8 %10 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !5 %11 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @M66592_BEMPE, align 4, !tbaa !5 %13 = load i32, ptr @M66592_BRDYE, align 4, !tbaa !5 %14 = or i32 %13, %12 %15 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !5 %16 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 %17 = load i32, ptr @M66592_DPRPU, align 4, !tbaa !5 %18 = load i32, ptr @M66592_SYSCFG, align 4, !tbaa !5 %19 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %17, i32 noundef %18) #2 ret void } declare i32 @m66592_bset(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/fastsocket/kernel/drivers/usb/gadget/extr_m66592-udc.c_m66592_usb_connect.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_m66592-udc.c_m66592_usb_connect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M66592_CTRE = common local_unnamed_addr global i32 0, align 4 @M66592_INTENB0 = common local_unnamed_addr global i32 0, align 4 @M66592_WDST = common local_unnamed_addr global i32 0, align 4 @M66592_RDST = common local_unnamed_addr global i32 0, align 4 @M66592_CMPL = common local_unnamed_addr global i32 0, align 4 @M66592_BEMPE = common local_unnamed_addr global i32 0, align 4 @M66592_BRDYE = common local_unnamed_addr global i32 0, align 4 @M66592_DPRPU = common local_unnamed_addr global i32 0, align 4 @M66592_SYSCFG = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @m66592_usb_connect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @m66592_usb_connect(ptr noundef %0) #0 { %2 = load i32, ptr @M66592_CTRE, align 4, !tbaa !6 %3 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !6 %4 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @M66592_WDST, align 4, !tbaa !6 %6 = load i32, ptr @M66592_RDST, align 4, !tbaa !6 %7 = or i32 %6, %5 %8 = load i32, ptr @M66592_CMPL, align 4, !tbaa !6 %9 = or i32 %7, %8 %10 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !6 %11 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr @M66592_BEMPE, align 4, !tbaa !6 %13 = load i32, ptr @M66592_BRDYE, align 4, !tbaa !6 %14 = or i32 %13, %12 %15 = load i32, ptr @M66592_INTENB0, align 4, !tbaa !6 %16 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %14, i32 noundef %15) #2 %17 = load i32, ptr @M66592_DPRPU, align 4, !tbaa !6 %18 = load i32, ptr @M66592_SYSCFG, align 4, !tbaa !6 %19 = tail call i32 @m66592_bset(ptr noundef %0, i32 noundef %17, i32 noundef %18) #2 ret void } declare i32 @m66592_bset(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"}
fastsocket_kernel_drivers_usb_gadget_extr_m66592-udc.c_m66592_usb_connect
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-novatek-nt39016.c_nt39016_get_modes.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-novatek-nt39016.c_nt39016_get_modes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.drm_panel = type { i32, ptr } %struct.nt39016_panel_info = type { i32, i32, i32, i32, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @DRM_MODE_TYPE_DRIVER = dso_local local_unnamed_addr global i32 0, align 4 @DRM_MODE_TYPE_PREFERRED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nt39016_get_modes], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nt39016_get_modes(ptr noundef %0) #0 { %2 = tail call ptr @to_nt39016(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.drm_panel, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i32, ptr %0, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.nt39016_panel_info, ptr %3, i64 0, i32 4 %8 = tail call ptr @drm_mode_duplicate(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %12 = sub nsw i32 0, %11 br label %26 13: ; preds = %1 %14 = tail call i32 @drm_mode_set_name(ptr noundef nonnull %8) #2 %15 = load i32, ptr @DRM_MODE_TYPE_DRIVER, align 4, !tbaa !14 %16 = load i32, ptr @DRM_MODE_TYPE_PREFERRED, align 4, !tbaa !14 %17 = or i32 %16, %15 store i32 %17, ptr %8, align 4, !tbaa !15 %18 = tail call i32 @drm_mode_probed_add(ptr noundef %5, ptr noundef nonnull %8) #2 store i32 8, ptr %5, align 4, !tbaa !17 %19 = getelementptr inbounds %struct.nt39016_panel_info, ptr %3, i64 0, i32 2 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 2 %21 = load <2 x i32>, ptr %19, align 4, !tbaa !14 store <2 x i32> %21, ptr %20, align 4, !tbaa !14 %22 = getelementptr inbounds %struct.nt39016_panel_info, ptr %3, i64 0, i32 1 %23 = tail call i32 @drm_display_info_set_bus_formats(ptr noundef nonnull %5, ptr noundef nonnull %22, i32 noundef 1) #2 %24 = load i32, ptr %3, align 4, !tbaa !20 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %5, i64 0, i32 1 store i32 %24, ptr %25, align 4, !tbaa !22 br label %26 26: ; preds = %13, %10 %27 = phi i32 [ 1, %13 ], [ %12, %10 ] ret i32 %27 } declare ptr @to_nt39016(ptr noundef) local_unnamed_addr #1 declare ptr @drm_mode_duplicate(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_set_name(ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_probed_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_display_info_set_bus_formats(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 = !{!"nt39016", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"drm_panel", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"drm_display_mode", !12, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"drm_connector", !19, i64 0} !19 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !20 = !{!21, !12, i64 0} !21 = !{!"nt39016_panel_info", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16} !22 = !{!18, !12, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-novatek-nt39016.c_nt39016_get_modes.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/panel/extr_panel-novatek-nt39016.c_nt39016_get_modes.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 @DRM_MODE_TYPE_DRIVER = common local_unnamed_addr global i32 0, align 4 @DRM_MODE_TYPE_PREFERRED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nt39016_get_modes], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nt39016_get_modes(ptr noundef %0) #0 { %2 = tail call ptr @to_nt39016(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i32, ptr %0, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %3, i64 16 %8 = tail call ptr @drm_mode_duplicate(i32 noundef %6, ptr noundef nonnull %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %12 = sub nsw i32 0, %11 br label %26 13: ; preds = %1 %14 = tail call i32 @drm_mode_set_name(ptr noundef nonnull %8) #2 %15 = load i32, ptr @DRM_MODE_TYPE_DRIVER, align 4, !tbaa !15 %16 = load i32, ptr @DRM_MODE_TYPE_PREFERRED, align 4, !tbaa !15 %17 = or i32 %16, %15 store i32 %17, ptr %8, align 4, !tbaa !16 %18 = tail call i32 @drm_mode_probed_add(ptr noundef %5, ptr noundef nonnull %8) #2 store i32 8, ptr %5, align 4, !tbaa !18 %19 = getelementptr inbounds i8, ptr %3, i64 8 %20 = getelementptr inbounds i8, ptr %5, i64 8 %21 = load <2 x i32>, ptr %19, align 4, !tbaa !15 store <2 x i32> %21, ptr %20, align 4, !tbaa !15 %22 = getelementptr inbounds i8, ptr %3, i64 4 %23 = tail call i32 @drm_display_info_set_bus_formats(ptr noundef nonnull %5, ptr noundef nonnull %22, i32 noundef 1) #2 %24 = load i32, ptr %3, align 4, !tbaa !21 %25 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %24, ptr %25, align 4, !tbaa !23 br label %26 26: ; preds = %13, %10 %27 = phi i32 [ 1, %13 ], [ %12, %10 ] ret i32 %27 } declare ptr @to_nt39016(ptr noundef) local_unnamed_addr #1 declare ptr @drm_mode_duplicate(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_set_name(ptr noundef) local_unnamed_addr #1 declare i32 @drm_mode_probed_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @drm_display_info_set_bus_formats(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 = !{!"nt39016", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"drm_panel", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"drm_display_mode", !13, i64 0} !18 = !{!19, !13, i64 0} !19 = !{!"drm_connector", !20, i64 0} !20 = !{!"TYPE_2__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12} !21 = !{!22, !13, i64 0} !22 = !{!"nt39016_panel_info", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16} !23 = !{!19, !13, i64 4}
linux_drivers_gpu_drm_panel_extr_panel-novatek-nt39016.c_nt39016_get_modes
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_psk_kex_modes.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_psk_kex_modes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @SSL_OP_ALLOW_NO_DHE_KEX = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_TYPE_psk_kex_modes = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_KE_DHE = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_KE = dso_local local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @EXT_RETURN_FAIL = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_FLAG_KE_DHE = dso_local local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_FLAG_KE = dso_local local_unnamed_addr global i32 0, align 4 @EXT_RETURN_SENT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @tls_construct_ctos_psk_kex_modes(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = load i32, ptr @SSL_OP_ALLOW_NO_DHE_KEX, align 4, !tbaa !11 %8 = and i32 %7, %6 %9 = load i32, ptr @TLSEXT_TYPE_psk_kex_modes, align 4, !tbaa !11 %10 = tail call i32 @WPACKET_put_bytes_u16(ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %34, label %12 12: ; preds = %5 %13 = tail call i32 @WPACKET_start_sub_packet_u16(ptr noundef %1) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %34, label %15 15: ; preds = %12 %16 = tail call i32 @WPACKET_start_sub_packet_u8(ptr noundef %1) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %34, label %18 18: ; preds = %15 %19 = load i32, ptr @TLSEXT_KEX_MODE_KE_DHE, align 4, !tbaa !11 %20 = tail call i32 @WPACKET_put_bytes_u8(ptr noundef %1, i32 noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %34, label %22 22: ; preds = %18 %23 = icmp eq i32 %8, 0 br i1 %23, label %28, label %24 24: ; preds = %22 %25 = load i32, ptr @TLSEXT_KEX_MODE_KE, align 4, !tbaa !11 %26 = tail call i32 @WPACKET_put_bytes_u8(ptr noundef %1, i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %34, label %28 28: ; preds = %24, %22 %29 = tail call i32 @WPACKET_close(ptr noundef %1) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = tail call i32 @WPACKET_close(ptr noundef %1) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %31, %28, %24, %18, %15, %12, %5 %35 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !11 %36 = load i32, ptr @SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES, align 4, !tbaa !11 %37 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !11 %38 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %37) #2 br label %45 39: ; preds = %31 %40 = load i32, ptr @TLSEXT_KEX_MODE_FLAG_KE_DHE, align 4, !tbaa !11 %41 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 store i32 %40, ptr %41, align 4, !tbaa !12 br i1 %23, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr @TLSEXT_KEX_MODE_FLAG_KE, align 4, !tbaa !11 %44 = or i32 %43, %40 store i32 %44, ptr %41, align 4, !tbaa !12 br label %45 45: ; preds = %39, %42, %34 %46 = phi ptr [ @EXT_RETURN_FAIL, %34 ], [ @EXT_RETURN_SENT, %42 ], [ @EXT_RETURN_SENT, %39 ] %47 = load i32, ptr %46, align 4, !tbaa !11 ret i32 %47 } declare i32 @WPACKET_put_bytes_u16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u16(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u8(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_put_bytes_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_close(ptr noundef) local_unnamed_addr #1 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !10, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_5__", !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_psk_kex_modes.c' source_filename = "AnghaBench/freebsd/crypto/openssl/ssl/statem/extr_extensions_clnt.c_tls_construct_ctos_psk_kex_modes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SSL_OP_ALLOW_NO_DHE_KEX = common local_unnamed_addr global i32 0, align 4 @TLSEXT_TYPE_psk_kex_modes = common local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_KE_DHE = common local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_KE = common local_unnamed_addr global i32 0, align 4 @SSL_AD_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES = common local_unnamed_addr global i32 0, align 4 @ERR_R_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @EXT_RETURN_FAIL = common local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_FLAG_KE_DHE = common local_unnamed_addr global i32 0, align 4 @TLSEXT_KEX_MODE_FLAG_KE = common local_unnamed_addr global i32 0, align 4 @EXT_RETURN_SENT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @tls_construct_ctos_psk_kex_modes(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3, i64 noundef %4) local_unnamed_addr #0 { %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = load i32, ptr @SSL_OP_ALLOW_NO_DHE_KEX, align 4, !tbaa !12 %8 = and i32 %7, %6 %9 = load i32, ptr @TLSEXT_TYPE_psk_kex_modes, align 4, !tbaa !12 %10 = tail call i32 @WPACKET_put_bytes_u16(ptr noundef %1, i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %34, label %12 12: ; preds = %5 %13 = tail call i32 @WPACKET_start_sub_packet_u16(ptr noundef %1) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %34, label %15 15: ; preds = %12 %16 = tail call i32 @WPACKET_start_sub_packet_u8(ptr noundef %1) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %34, label %18 18: ; preds = %15 %19 = load i32, ptr @TLSEXT_KEX_MODE_KE_DHE, align 4, !tbaa !12 %20 = tail call i32 @WPACKET_put_bytes_u8(ptr noundef %1, i32 noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %34, label %22 22: ; preds = %18 %23 = icmp eq i32 %8, 0 br i1 %23, label %28, label %24 24: ; preds = %22 %25 = load i32, ptr @TLSEXT_KEX_MODE_KE, align 4, !tbaa !12 %26 = tail call i32 @WPACKET_put_bytes_u8(ptr noundef %1, i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %34, label %28 28: ; preds = %24, %22 %29 = tail call i32 @WPACKET_close(ptr noundef %1) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = tail call i32 @WPACKET_close(ptr noundef %1) #2 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %31, %28, %24, %18, %15, %12, %5 %35 = load i32, ptr @SSL_AD_INTERNAL_ERROR, align 4, !tbaa !12 %36 = load i32, ptr @SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES, align 4, !tbaa !12 %37 = load i32, ptr @ERR_R_INTERNAL_ERROR, align 4, !tbaa !12 %38 = tail call i32 @SSLfatal(ptr noundef nonnull %0, i32 noundef %35, i32 noundef %36, i32 noundef %37) #2 br label %45 39: ; preds = %31 %40 = load i32, ptr @TLSEXT_KEX_MODE_FLAG_KE_DHE, align 4, !tbaa !12 %41 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %40, ptr %41, align 4, !tbaa !13 br i1 %23, label %45, label %42 42: ; preds = %39 %43 = load i32, ptr @TLSEXT_KEX_MODE_FLAG_KE, align 4, !tbaa !12 %44 = or i32 %43, %40 store i32 %44, ptr %41, align 4, !tbaa !13 br label %45 45: ; preds = %39, %42, %34 %46 = phi ptr [ @EXT_RETURN_FAIL, %34 ], [ @EXT_RETURN_SENT, %42 ], [ @EXT_RETURN_SENT, %39 ] %47 = load i32, ptr %46, align 4, !tbaa !12 ret i32 %47 } declare i32 @WPACKET_put_bytes_u16(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u16(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_start_sub_packet_u8(ptr noundef) local_unnamed_addr #1 declare i32 @WPACKET_put_bytes_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WPACKET_close(ptr noundef) local_unnamed_addr #1 declare i32 @SSLfatal(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !11, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_5__", !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 4}
freebsd_crypto_openssl_ssl_statem_extr_extensions_clnt.c_tls_construct_ctos_psk_kex_modes
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_tasks.c' source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_tasks.c" target datalayout = "e-m:e-p270:32:32-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.bwn_mac = type { i64, i32, ptr } @BWN_MAC_STATUS_STARTED = dso_local local_unnamed_addr global i64 0, align 8 @hz = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @bwn_tasks], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bwn_tasks(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.bwn_mac, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @BWN_ASSERT_LOCKED(ptr noundef %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !12 %6 = load i64, ptr @BWN_MAC_STATUS_STARTED, align 8, !tbaa !13 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %29 8: ; preds = %1 %9 = getelementptr inbounds %struct.bwn_mac, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = and i32 %10, 3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = tail call i32 @bwn_task_60s(ptr noundef nonnull %0) #2 %15 = load i32, ptr %9, align 8, !tbaa !14 br label %16 16: ; preds = %13, %8 %17 = phi i32 [ %15, %13 ], [ %10, %8 ] %18 = and i32 %17, 1 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @bwn_task_30s(ptr noundef nonnull %0) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 @bwn_task_15s(ptr noundef nonnull %0) #2 %24 = load i32, ptr %9, align 8, !tbaa !14 %25 = add nsw i32 %24, 1 store i32 %25, ptr %9, align 8, !tbaa !14 %26 = load i32, ptr @hz, align 4, !tbaa !15 %27 = mul nsw i32 %26, 15 %28 = tail call i32 @callout_reset(ptr noundef %3, i32 noundef %27, ptr noundef nonnull @bwn_tasks, ptr noundef nonnull %0) #2 br label %29 29: ; preds = %1, %22 ret void } declare i32 @BWN_ASSERT_LOCKED(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_60s(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_30s(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_15s(ptr noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"bwn_mac", !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 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !10, i64 8} !15 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_tasks.c' source_filename = "AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn.c_bwn_tasks.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BWN_MAC_STATUS_STARTED = common local_unnamed_addr global i64 0, align 8 @hz = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @bwn_tasks], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bwn_tasks(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 @BWN_ASSERT_LOCKED(ptr noundef %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !13 %6 = load i64, ptr @BWN_MAC_STATUS_STARTED, align 8, !tbaa !14 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %29 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = and i32 %10, 3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = tail call i32 @bwn_task_60s(ptr noundef nonnull %0) #2 %15 = load i32, ptr %9, align 8, !tbaa !15 br label %16 16: ; preds = %13, %8 %17 = phi i32 [ %15, %13 ], [ %10, %8 ] %18 = and i32 %17, 1 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = tail call i32 @bwn_task_30s(ptr noundef nonnull %0) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 @bwn_task_15s(ptr noundef nonnull %0) #2 %24 = load i32, ptr %9, align 8, !tbaa !15 %25 = add nsw i32 %24, 1 store i32 %25, ptr %9, align 8, !tbaa !15 %26 = load i32, ptr @hz, align 4, !tbaa !16 %27 = mul nsw i32 %26, 15 %28 = tail call i32 @callout_reset(ptr noundef %3, i32 noundef %27, ptr noundef nonnull @bwn_tasks, ptr noundef nonnull %0) #2 br label %29 29: ; preds = %1, %22 ret void } declare i32 @BWN_ASSERT_LOCKED(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_60s(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_30s(ptr noundef) local_unnamed_addr #1 declare i32 @bwn_task_15s(ptr noundef) local_unnamed_addr #1 declare i32 @callout_reset(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"bwn_mac", !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 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!11, !11, i64 0}
freebsd_sys_dev_bwn_extr_if_bwn.c_bwn_tasks
; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_vnodeRead.c_vnodeBinarySearchKey.c' source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_vnodeRead.c_vnodeBinarySearchKey.c" target datalayout = "e-m:e-p270:32:32-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: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i32 @vnodeBinarySearchKey(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %1, 1 br i1 %5, label %85, label %6 6: ; preds = %4 %7 = add nsw i32 %1, -1 %8 = icmp eq i32 %3, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i64, ptr %0, align 8, !tbaa !5 %11 = icmp slt i64 %10, %2 br i1 %11, label %50, label %85 12: ; preds = %6 %13 = zext nneg i32 %7 to i64 %14 = getelementptr inbounds i64, ptr %0, i64 %13 %15 = load i64, ptr %14, align 8, !tbaa !5 %16 = icmp sgt i64 %15, %2 br i1 %16, label %17, label %85 17: ; preds = %12, %43 %18 = phi i32 [ %45, %43 ], [ %7, %12 ] %19 = phi i32 [ %44, %43 ], [ 0, %12 ] %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %0, i64 %20 %22 = load i64, ptr %21, align 8, !tbaa !5 %23 = icmp eq i64 %22, %2 br i1 %23, label %85, label %24 24: ; preds = %17 %25 = icmp sgt i64 %22, %2 br i1 %25, label %26, label %28 26: ; preds = %24 %27 = add nsw i32 %19, -1 br label %85 28: ; preds = %24 %29 = sub i32 %18, %19 %30 = add i32 %29, 1 %31 = ashr i32 %30, 1 %32 = add nsw i32 %31, %19 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i64, ptr %0, i64 %33 %35 = load i64, ptr %34, align 8, !tbaa !5 %36 = icmp sgt i64 %35, %2 br i1 %36, label %37, label %39 37: ; preds = %28 %38 = add nsw i32 %32, -1 br label %43 39: ; preds = %28 %40 = icmp slt i64 %35, %2 br i1 %40, label %41, label %85 41: ; preds = %39 %42 = add nsw i32 %32, 1 br label %43 43: ; preds = %41, %37 %44 = phi i32 [ %19, %37 ], [ %42, %41 ] %45 = phi i32 [ %38, %37 ], [ %18, %41 ] %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i64, ptr %0, i64 %46 %48 = load i64, ptr %47, align 8, !tbaa !5 %49 = icmp sgt i64 %48, %2 br i1 %49, label %17, label %85 50: ; preds = %9, %78 %51 = phi i32 [ %80, %78 ], [ %7, %9 ] %52 = phi i32 [ %79, %78 ], [ 0, %9 ] %53 = sext i32 %51 to i64 %54 = getelementptr inbounds i64, ptr %0, i64 %53 %55 = load i64, ptr %54, align 8, !tbaa !5 %56 = icmp eq i64 %55, %2 br i1 %56, label %85, label %57 57: ; preds = %50 %58 = icmp slt i64 %55, %2 br i1 %58, label %59, label %63 59: ; preds = %57 %60 = add nsw i32 %51, 1 %61 = icmp slt i32 %60, %1 %62 = select i1 %61, i32 %60, i32 -1 br label %85 63: ; preds = %57 %64 = sub i32 %51, %52 %65 = add i32 %64, 1 %66 = ashr i32 %65, 1 %67 = add nsw i32 %66, %52 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i64, ptr %0, i64 %68 %70 = load i64, ptr %69, align 8, !tbaa !5 %71 = icmp sgt i64 %70, %2 br i1 %71, label %72, label %74 72: ; preds = %63 %73 = add nsw i32 %67, -1 br label %78 74: ; preds = %63 %75 = icmp slt i64 %70, %2 br i1 %75, label %76, label %85 76: ; preds = %74 %77 = add nsw i32 %67, 1 br label %78 78: ; preds = %76, %72 %79 = phi i32 [ %52, %72 ], [ %77, %76 ] %80 = phi i32 [ %73, %72 ], [ %51, %76 ] %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i64, ptr %0, i64 %81 %83 = load i64, ptr %82, align 8, !tbaa !5 %84 = icmp slt i64 %83, %2 br i1 %84, label %50, label %85 85: ; preds = %78, %50, %74, %43, %17, %39, %9, %12, %59, %4, %26 %86 = phi i32 [ %27, %26 ], [ -1, %4 ], [ %62, %59 ], [ %7, %12 ], [ 0, %9 ], [ %45, %43 ], [ %19, %17 ], [ %32, %39 ], [ %79, %78 ], [ %51, %50 ], [ %67, %74 ] ret i32 %86 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_vnodeRead.c_vnodeBinarySearchKey.c' source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_vnodeRead.c_vnodeBinarySearchKey.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define i32 @vnodeBinarySearchKey(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %1, 1 br i1 %5, label %85, label %6 6: ; preds = %4 %7 = add nsw i32 %1, -1 %8 = icmp eq i32 %3, 0 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i64, ptr %0, align 8, !tbaa !6 %11 = icmp slt i64 %10, %2 br i1 %11, label %50, label %85 12: ; preds = %6 %13 = zext nneg i32 %7 to i64 %14 = getelementptr inbounds i64, ptr %0, i64 %13 %15 = load i64, ptr %14, align 8, !tbaa !6 %16 = icmp sgt i64 %15, %2 br i1 %16, label %17, label %85 17: ; preds = %12, %43 %18 = phi i32 [ %45, %43 ], [ %7, %12 ] %19 = phi i32 [ %44, %43 ], [ 0, %12 ] %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %0, i64 %20 %22 = load i64, ptr %21, align 8, !tbaa !6 %23 = icmp eq i64 %22, %2 br i1 %23, label %85, label %24 24: ; preds = %17 %25 = icmp sgt i64 %22, %2 br i1 %25, label %26, label %28 26: ; preds = %24 %27 = add nsw i32 %19, -1 br label %85 28: ; preds = %24 %29 = sub i32 %18, %19 %30 = add i32 %29, 1 %31 = ashr i32 %30, 1 %32 = add nsw i32 %31, %19 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i64, ptr %0, i64 %33 %35 = load i64, ptr %34, align 8, !tbaa !6 %36 = icmp sgt i64 %35, %2 br i1 %36, label %37, label %39 37: ; preds = %28 %38 = add nsw i32 %32, -1 br label %43 39: ; preds = %28 %40 = icmp slt i64 %35, %2 br i1 %40, label %41, label %85 41: ; preds = %39 %42 = add nsw i32 %32, 1 br label %43 43: ; preds = %41, %37 %44 = phi i32 [ %19, %37 ], [ %42, %41 ] %45 = phi i32 [ %38, %37 ], [ %18, %41 ] %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i64, ptr %0, i64 %46 %48 = load i64, ptr %47, align 8, !tbaa !6 %49 = icmp sgt i64 %48, %2 br i1 %49, label %17, label %85 50: ; preds = %9, %78 %51 = phi i32 [ %80, %78 ], [ %7, %9 ] %52 = phi i32 [ %79, %78 ], [ 0, %9 ] %53 = sext i32 %51 to i64 %54 = getelementptr inbounds i64, ptr %0, i64 %53 %55 = load i64, ptr %54, align 8, !tbaa !6 %56 = icmp eq i64 %55, %2 br i1 %56, label %85, label %57 57: ; preds = %50 %58 = icmp slt i64 %55, %2 br i1 %58, label %59, label %63 59: ; preds = %57 %60 = add nsw i32 %51, 1 %61 = icmp slt i32 %60, %1 %62 = select i1 %61, i32 %60, i32 -1 br label %85 63: ; preds = %57 %64 = sub i32 %51, %52 %65 = add i32 %64, 1 %66 = ashr i32 %65, 1 %67 = add nsw i32 %66, %52 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i64, ptr %0, i64 %68 %70 = load i64, ptr %69, align 8, !tbaa !6 %71 = icmp sgt i64 %70, %2 br i1 %71, label %72, label %74 72: ; preds = %63 %73 = add nsw i32 %67, -1 br label %78 74: ; preds = %63 %75 = icmp slt i64 %70, %2 br i1 %75, label %76, label %85 76: ; preds = %74 %77 = add nsw i32 %67, 1 br label %78 78: ; preds = %76, %72 %79 = phi i32 [ %52, %72 ], [ %77, %76 ] %80 = phi i32 [ %73, %72 ], [ %51, %76 ] %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i64, ptr %0, i64 %81 %83 = load i64, ptr %82, align 8, !tbaa !6 %84 = icmp slt i64 %83, %2 br i1 %84, label %50, label %85 85: ; preds = %78, %50, %74, %43, %17, %39, %9, %12, %59, %4, %26 %86 = phi i32 [ %27, %26 ], [ -1, %4 ], [ %62, %59 ], [ %7, %12 ], [ 0, %9 ], [ %45, %43 ], [ %19, %17 ], [ %32, %39 ], [ %79, %78 ], [ %51, %50 ], [ %67, %74 ] ret i32 %86 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
TDengine_src_system_detail_src_extr_vnodeRead.c_vnodeBinarySearchKey
; ModuleID = 'AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_mbox_enable.c' source_filename = "AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_mbox_enable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mips_irq_chip = dso_local local_unnamed_addr global i64 0, align 8 @mips_irq_chip_reg_en_w1s = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @irq_mbox_enable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @irq_mbox_enable(ptr noundef %0) #0 { %2 = load i64, ptr @mips_irq_chip, align 8, !tbaa !5 %3 = load i64, ptr @mips_irq_chip_reg_en_w1s, align 8, !tbaa !5 %4 = add i64 %2, 4 %5 = add i64 %4, %3 %6 = tail call i32 @irq_mbox_all(ptr noundef %0, i64 noundef %5) #2 ret void } declare i32 @irq_mbox_all(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_mbox_enable.c' source_filename = "AnghaBench/linux/arch/mips/paravirt/extr_paravirt-irq.c_irq_mbox_enable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mips_irq_chip = common local_unnamed_addr global i64 0, align 8 @mips_irq_chip_reg_en_w1s = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @irq_mbox_enable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @irq_mbox_enable(ptr noundef %0) #0 { %2 = load i64, ptr @mips_irq_chip, align 8, !tbaa !6 %3 = load i64, ptr @mips_irq_chip_reg_en_w1s, align 8, !tbaa !6 %4 = add i64 %2, 4 %5 = add i64 %4, %3 %6 = tail call i32 @irq_mbox_all(ptr noundef %0, i64 noundef %5) #2 ret void } declare i32 @irq_mbox_all(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_arch_mips_paravirt_extr_paravirt-irq.c_irq_mbox_enable
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_uclo.c_qat_uclo_map_uof_obj.c' source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_uclo.c_qat_uclo_map_uof_obj.c" target datalayout = "e-m:e-p270:32:32-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.icp_qat_uclo_objhandle = type { ptr, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @ICP_QAT_UOF_OBJS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"QAT: object file chunk is null\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qat_uclo_map_uof_obj], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qat_uclo_map_uof_obj(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %5 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %38 10: ; preds = %3 %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %12 = tail call ptr @kmemdup(ptr noundef %1, i32 noundef %2, i32 noundef %11) #2 store ptr %12, ptr %5, align 8, !tbaa !9 %13 = icmp eq ptr %12, null br i1 %13, label %34, label %14 14: ; preds = %10 %15 = tail call i64 @qat_uclo_check_uof_format(ptr noundef nonnull %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %31 17: ; preds = %14 %18 = load ptr, ptr %5, align 8, !tbaa !9 %19 = load i32, ptr @ICP_QAT_UOF_OBJS, align 4, !tbaa !5 %20 = tail call ptr @qat_uclo_map_chunk(ptr noundef %18, ptr noundef nonnull %12, i32 noundef %19) #2 %21 = getelementptr inbounds %struct.icp_qat_uclo_objhandle, ptr %5, i64 0, i32 1 store ptr %20, ptr %21, align 8, !tbaa !12 %22 = icmp eq ptr %20, null br i1 %22, label %23, label %25 23: ; preds = %17 %24 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %31 25: ; preds = %17 store ptr %5, ptr %0, align 8, !tbaa !13 %26 = tail call i64 @qat_uclo_parse_uof_obj(ptr noundef nonnull %0) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %38, label %28 28: ; preds = %25 store ptr null, ptr %0, align 8, !tbaa !13 %29 = load ptr, ptr %21, align 8, !tbaa !12 %30 = tail call i32 @kfree(ptr noundef %29) #2 br label %31 31: ; preds = %14, %28, %23 %32 = load ptr, ptr %5, align 8, !tbaa !9 %33 = tail call i32 @kfree(ptr noundef %32) #2 br label %34 34: ; preds = %10, %31 %35 = tail call i32 @kfree(ptr noundef nonnull %5) #2 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %25, %34, %7 %39 = phi i32 [ %37, %34 ], [ %9, %7 ], [ 0, %25 ] ret i32 %39 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kmemdup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @qat_uclo_check_uof_format(ptr noundef) local_unnamed_addr #1 declare ptr @qat_uclo_map_chunk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i64 @qat_uclo_parse_uof_obj(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"icp_qat_uclo_objhandle", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"icp_qat_fw_loader_handle", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_uclo.c_qat_uclo_map_uof_obj.c' source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_qat_uclo.c_qat_uclo_map_uof_obj.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @ICP_QAT_UOF_OBJS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"QAT: object file chunk is null\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qat_uclo_map_uof_obj], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qat_uclo_map_uof_obj(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %5 = tail call ptr @kzalloc(i32 noundef 16, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %38 10: ; preds = %3 %11 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %12 = tail call ptr @kmemdup(ptr noundef %1, i32 noundef %2, i32 noundef %11) #2 store ptr %12, ptr %5, align 8, !tbaa !10 %13 = icmp eq ptr %12, null br i1 %13, label %34, label %14 14: ; preds = %10 %15 = tail call i64 @qat_uclo_check_uof_format(ptr noundef nonnull %12) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %31 17: ; preds = %14 %18 = load ptr, ptr %5, align 8, !tbaa !10 %19 = load i32, ptr @ICP_QAT_UOF_OBJS, align 4, !tbaa !6 %20 = tail call ptr @qat_uclo_map_chunk(ptr noundef %18, ptr noundef nonnull %12, i32 noundef %19) #2 %21 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %20, ptr %21, align 8, !tbaa !13 %22 = icmp eq ptr %20, null br i1 %22, label %23, label %25 23: ; preds = %17 %24 = tail call i32 @pr_err(ptr noundef nonnull @.str) #2 br label %31 25: ; preds = %17 store ptr %5, ptr %0, align 8, !tbaa !14 %26 = tail call i64 @qat_uclo_parse_uof_obj(ptr noundef nonnull %0) #2 %27 = icmp eq i64 %26, 0 br i1 %27, label %38, label %28 28: ; preds = %25 store ptr null, ptr %0, align 8, !tbaa !14 %29 = load ptr, ptr %21, align 8, !tbaa !13 %30 = tail call i32 @kfree(ptr noundef %29) #2 br label %31 31: ; preds = %14, %28, %23 %32 = load ptr, ptr %5, align 8, !tbaa !10 %33 = tail call i32 @kfree(ptr noundef %32) #2 br label %34 34: ; preds = %10, %31 %35 = tail call i32 @kfree(ptr noundef nonnull %5) #2 %36 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %37 = sub nsw i32 0, %36 br label %38 38: ; preds = %25, %34, %7 %39 = phi i32 [ %37, %34 ], [ %9, %7 ], [ 0, %25 ] ret i32 %39 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kmemdup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @qat_uclo_check_uof_format(ptr noundef) local_unnamed_addr #1 declare ptr @qat_uclo_map_chunk(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef) local_unnamed_addr #1 declare i64 @qat_uclo_parse_uof_obj(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, !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 = !{!"icp_qat_uclo_objhandle", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !12, i64 0} !15 = !{!"icp_qat_fw_loader_handle", !12, i64 0}
linux_drivers_crypto_qat_qat_common_extr_qat_uclo.c_qat_uclo_map_uof_obj
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_rw_clear_promotions_x86.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_rw_clear_promotions_x86.c" target datalayout = "e-m:e-p270:32:32-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 @lck_rw_clear_promotions_x86(ptr noundef %0) local_unnamed_addr #0 { store i64 0, ptr %0, align 8, !tbaa !5 %2 = tail call i32 @lck_rw_clear_promotion(ptr noundef nonnull %0, i32 noundef 0) #2 ret void } declare i32 @lck_rw_clear_promotion(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_rw_clear_promotions_x86.c' source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_locks_i386.c_lck_rw_clear_promotions_x86.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 @lck_rw_clear_promotions_x86(ptr noundef %0) local_unnamed_addr #0 { store i64 0, ptr %0, align 8, !tbaa !6 %2 = tail call i32 @lck_rw_clear_promotion(ptr noundef nonnull %0, i32 noundef 0) #2 ret void } declare i32 @lck_rw_clear_promotion(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
darwin-xnu_osfmk_i386_extr_locks_i386.c_lck_rw_clear_promotions_x86
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hysdn/extr_hysdn_net.c_hysdn_net_release.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hysdn/extr_hysdn_net.c_hysdn_net_release.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, ptr } @LOG_NET_INIT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"network device deleted\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @hysdn_net_release(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %16, label %5 5: ; preds = %1 store ptr null, ptr %2, align 8, !tbaa !5 %6 = tail call i32 @net_close(ptr noundef nonnull %3) #2 %7 = tail call i32 @flush_tx_buffers(ptr noundef nonnull %3) #2 %8 = tail call i32 @unregister_netdev(ptr noundef nonnull %3) #2 %9 = tail call i32 @free_netdev(ptr noundef nonnull %3) #2 %10 = load i32, ptr %0, align 8, !tbaa !11 %11 = load i32, ptr @LOG_NET_INIT, align 4, !tbaa !12 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %5 %15 = tail call i32 @hysdn_addlog(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %5, %14, %1 ret i32 0 } declare i32 @net_close(ptr noundef) local_unnamed_addr #1 declare i32 @flush_tx_buffers(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @hysdn_addlog(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hysdn/extr_hysdn_net.c_hysdn_net_release.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hysdn/extr_hysdn_net.c_hysdn_net_release.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LOG_NET_INIT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"network device deleted\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @hysdn_net_release(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %16, label %5 5: ; preds = %1 store ptr null, ptr %2, align 8, !tbaa !6 %6 = tail call i32 @net_close(ptr noundef nonnull %3) #2 %7 = tail call i32 @flush_tx_buffers(ptr noundef nonnull %3) #2 %8 = tail call i32 @unregister_netdev(ptr noundef nonnull %3) #2 %9 = tail call i32 @free_netdev(ptr noundef nonnull %3) #2 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = load i32, ptr @LOG_NET_INIT, align 4, !tbaa !13 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %16, label %14 14: ; preds = %5 %15 = tail call i32 @hysdn_addlog(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 br label %16 16: ; preds = %5, %14, %1 ret i32 0 } declare i32 @net_close(ptr noundef) local_unnamed_addr #1 declare i32 @flush_tx_buffers(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @free_netdev(ptr noundef) local_unnamed_addr #1 declare i32 @hysdn_addlog(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"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 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_isdn_hysdn_extr_hysdn_net.c_hysdn_net_release
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ptrace_64.c_flush_ptrace_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ptrace_64.c_flush_ptrace_access.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @tlb_type = dso_local local_unnamed_addr global i64 0, align 8 @hypervisor = dso_local local_unnamed_addr global i64 0, align 8 @spitfire = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @flush_ptrace_access(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !5 %8 = icmp ult i64 %7, %4 %9 = zext i1 %8 to i32 %10 = tail call i32 @BUG_ON(i32 noundef %9) #2 %11 = load i64, ptr @tlb_type, align 8, !tbaa !5 %12 = load i64, ptr @hypervisor, align 8, !tbaa !5 %13 = icmp eq i64 %11, %12 br i1 %13, label %34, label %14 14: ; preds = %6 %15 = tail call i32 (...) @preempt_disable() #2 %16 = icmp eq i32 %5, 0 br i1 %16, label %32, label %17 17: ; preds = %14 %18 = load i64, ptr @tlb_type, align 8, !tbaa !5 %19 = load i64, ptr @spitfire, align 8, !tbaa !5 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = ptrtoint ptr %3 to i64 %23 = add i64 %22, %4 %24 = tail call { i64, i64 } (...) @local_cpu_data() #2 %25 = extractvalue { i64, i64 } %24, 1 %26 = icmp ugt i64 %23, %22 br i1 %26, label %27, label %32 27: ; preds = %21, %27 %28 = phi i64 [ %30, %27 ], [ %22, %21 ] %29 = tail call i32 @flushi(i64 noundef %28) #2 %30 = add i64 %28, %25 %31 = icmp ult i64 %30, %23 br i1 %31, label %27, label %32, !llvm.loop !9 32: ; preds = %27, %21, %17, %14 %33 = tail call i32 (...) @preempt_enable() #2 br label %34 34: ; preds = %6, %32 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @preempt_disable(...) local_unnamed_addr #1 declare { i64, i64 } @local_cpu_data(...) local_unnamed_addr #1 declare i32 @flushi(i64 noundef) local_unnamed_addr #1 declare i32 @preempt_enable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ptrace_64.c_flush_ptrace_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_ptrace_64.c_flush_ptrace_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @tlb_type = common local_unnamed_addr global i64 0, align 8 @hypervisor = common local_unnamed_addr global i64 0, align 8 @spitfire = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @flush_ptrace_access(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = load i64, ptr @PAGE_SIZE, align 8, !tbaa !6 %8 = icmp ult i64 %7, %4 %9 = zext i1 %8 to i32 %10 = tail call i32 @BUG_ON(i32 noundef %9) #2 %11 = load i64, ptr @tlb_type, align 8, !tbaa !6 %12 = load i64, ptr @hypervisor, align 8, !tbaa !6 %13 = icmp eq i64 %11, %12 br i1 %13, label %34, label %14 14: ; preds = %6 %15 = tail call i32 @preempt_disable() #2 %16 = icmp eq i32 %5, 0 br i1 %16, label %32, label %17 17: ; preds = %14 %18 = load i64, ptr @tlb_type, align 8, !tbaa !6 %19 = load i64, ptr @spitfire, align 8, !tbaa !6 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = ptrtoint ptr %3 to i64 %23 = add i64 %22, %4 %24 = tail call [2 x i64] @local_cpu_data() #2 %25 = extractvalue [2 x i64] %24, 1 %26 = icmp ugt i64 %23, %22 br i1 %26, label %27, label %32 27: ; preds = %21, %27 %28 = phi i64 [ %30, %27 ], [ %22, %21 ] %29 = tail call i32 @flushi(i64 noundef %28) #2 %30 = add i64 %28, %25 %31 = icmp ult i64 %30, %23 br i1 %31, label %27, label %32, !llvm.loop !10 32: ; preds = %27, %21, %17, %14 %33 = tail call i32 @preempt_enable() #2 br label %34 34: ; preds = %6, %32 ret void } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @preempt_disable(...) local_unnamed_addr #1 declare [2 x i64] @local_cpu_data(...) local_unnamed_addr #1 declare i32 @flushi(i64 noundef) local_unnamed_addr #1 declare i32 @preempt_enable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_arch_sparc_kernel_extr_ptrace_64.c_flush_ptrace_access
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_inline.h___qla4xxx_disable_intrs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_inline.h___qla4xxx_disable_intrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.scsi_qla_host = type { i32, ptr } %struct.TYPE_6__ = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { %struct.TYPE_5__ } %struct.TYPE_5__ = type { i32 } @IMR_SCSI_INTR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @CSR_SCSI_INTR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @AF_INTERRUPTS_ON = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__qla4xxx_disable_intrs], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__qla4xxx_disable_intrs(ptr noundef %0) #0 { %2 = tail call i32 @is_qla4022(ptr noundef %0) #2 %3 = tail call i32 @is_qla4032(ptr noundef %0) #2 %4 = or i32 %3, %2 %5 = icmp eq i32 %4, 0 %6 = getelementptr inbounds %struct.scsi_qla_host, ptr %0, i64 0, i32 1 br i1 %5, label %16, label %7 7: ; preds = %1 %8 = load i32, ptr @IMR_SCSI_INTR_ENABLE, align 4, !tbaa !5 %9 = tail call i32 @clr_rmask(i32 noundef %8) #2 %10 = load ptr, ptr %6, align 8, !tbaa !9 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %10, i64 0, i32 1 %12 = tail call i32 @writel(i32 noundef %9, ptr noundef nonnull %11) #2 %13 = load ptr, ptr %6, align 8, !tbaa !9 %14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i64 0, i32 1 %15 = tail call i32 @readl(ptr noundef nonnull %14) #2 br label %23 16: ; preds = %1 %17 = load i32, ptr @CSR_SCSI_INTR_ENABLE, align 4, !tbaa !5 %18 = tail call i32 @clr_rmask(i32 noundef %17) #2 %19 = load ptr, ptr %6, align 8, !tbaa !9 %20 = tail call i32 @writel(i32 noundef %18, ptr noundef %19) #2 %21 = load ptr, ptr %6, align 8, !tbaa !9 %22 = tail call i32 @readl(ptr noundef %21) #2 br label %23 23: ; preds = %16, %7 %24 = load i32, ptr @AF_INTERRUPTS_ON, align 4, !tbaa !5 %25 = tail call i32 @clear_bit(i32 noundef %24, ptr noundef nonnull %0) #2 ret void } declare i32 @is_qla4022(ptr noundef) local_unnamed_addr #1 declare i32 @is_qla4032(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clr_rmask(i32 noundef) local_unnamed_addr #1 declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"scsi_qla_host", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_inline.h___qla4xxx_disable_intrs.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/qla4xxx/extr_ql4_inline.h___qla4xxx_disable_intrs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IMR_SCSI_INTR_ENABLE = common local_unnamed_addr global i32 0, align 4 @CSR_SCSI_INTR_ENABLE = common local_unnamed_addr global i32 0, align 4 @AF_INTERRUPTS_ON = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__qla4xxx_disable_intrs], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__qla4xxx_disable_intrs(ptr noundef %0) #0 { %2 = tail call i32 @is_qla4022(ptr noundef %0) #2 %3 = tail call i32 @is_qla4032(ptr noundef %0) #2 %4 = or i32 %3, %2 %5 = icmp eq i32 %4, 0 %6 = getelementptr inbounds i8, ptr %0, i64 8 br i1 %5, label %16, label %7 7: ; preds = %1 %8 = load i32, ptr @IMR_SCSI_INTR_ENABLE, align 4, !tbaa !6 %9 = tail call i32 @clr_rmask(i32 noundef %8) #2 %10 = load ptr, ptr %6, align 8, !tbaa !10 %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = tail call i32 @writel(i32 noundef %9, ptr noundef nonnull %11) #2 %13 = load ptr, ptr %6, align 8, !tbaa !10 %14 = getelementptr inbounds i8, ptr %13, i64 4 %15 = tail call i32 @readl(ptr noundef nonnull %14) #2 br label %23 16: ; preds = %1 %17 = load i32, ptr @CSR_SCSI_INTR_ENABLE, align 4, !tbaa !6 %18 = tail call i32 @clr_rmask(i32 noundef %17) #2 %19 = load ptr, ptr %6, align 8, !tbaa !10 %20 = tail call i32 @writel(i32 noundef %18, ptr noundef %19) #2 %21 = load ptr, ptr %6, align 8, !tbaa !10 %22 = tail call i32 @readl(ptr noundef %21) #2 br label %23 23: ; preds = %16, %7 %24 = load i32, ptr @AF_INTERRUPTS_ON, align 4, !tbaa !6 %25 = tail call i32 @clear_bit(i32 noundef %24, ptr noundef nonnull %0) #2 ret void } declare i32 @is_qla4022(ptr noundef) local_unnamed_addr #1 declare i32 @is_qla4032(ptr noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clr_rmask(i32 noundef) local_unnamed_addr #1 declare i32 @readl(ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"scsi_qla_host", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_scsi_qla4xxx_extr_ql4_inline.h___qla4xxx_disable_intrs
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-message.c_message_peek_field_string.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-message.c_message_peek_field_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EBADMSG = dso_local local_unnamed_addr global i32 0, align 4 @UINT32_MAX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @message_peek_field_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @message_peek_field_string(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2, i64 noundef %3, ptr noundef writeonly %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @assert(ptr noundef %0) #3 %9 = tail call i32 @assert(ptr noundef %2) #3 %10 = tail call i64 @BUS_MESSAGE_IS_GVARIANT(ptr noundef %0) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %23, label %12 12: ; preds = %5 %13 = icmp eq i64 %3, 0 br i1 %13, label %14, label %17 14: ; preds = %12 %15 = load i32, ptr @EBADMSG, align 4, !tbaa !5 %16 = sub nsw i32 0, %15 br label %64 17: ; preds = %12 %18 = trunc i64 %3 to i32 %19 = call i32 @message_peek_fields(ptr noundef %0, ptr noundef %2, i32 noundef 1, i32 noundef %18, ptr noundef nonnull %7) #3 %20 = icmp slt i32 %19, 0 br i1 %20, label %64, label %21 21: ; preds = %17 %22 = add i32 %18, -1 store i32 %22, ptr %6, align 4, !tbaa !5 br label %37 23: ; preds = %5 %24 = call i32 @message_peek_field_uint32(ptr noundef %0, ptr noundef %2, i32 noundef 4, ptr noundef nonnull %6) #3 %25 = icmp slt i32 %24, 0 br i1 %25, label %64, label %26 26: ; preds = %23 %27 = load i32, ptr %6, align 4, !tbaa !5 %28 = load i32, ptr @UINT32_MAX, align 4, !tbaa !5 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr @EBADMSG, align 4, !tbaa !5 %32 = sub nsw i32 0, %31 br label %64 33: ; preds = %26 %34 = add nsw i32 %27, 1 %35 = call i32 @message_peek_fields(ptr noundef %0, ptr noundef %2, i32 noundef 1, i32 noundef %34, ptr noundef nonnull %7) #3 %36 = icmp slt i32 %35, 0 br i1 %36, label %64, label %37 37: ; preds = %33, %21 %38 = icmp eq ptr %1, null %39 = load ptr, ptr %7, align 8, !tbaa !9 %40 = load i32, ptr %6, align 4, !tbaa !5 br i1 %38, label %54, label %41 41: ; preds = %37 %42 = call i32 @validate_nul(ptr noundef %39, i32 noundef %40) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr @EBADMSG, align 4, !tbaa !5 %46 = sub nsw i32 0, %45 br label %64 47: ; preds = %41 %48 = load ptr, ptr %7, align 8, !tbaa !9 %49 = call i32 %1(ptr noundef %48) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %47 %52 = load i32, ptr @EBADMSG, align 4, !tbaa !5 %53 = sub nsw i32 0, %52 br label %64 54: ; preds = %37 %55 = call i32 @validate_string(ptr noundef %39, i32 noundef %40) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = load i32, ptr @EBADMSG, align 4, !tbaa !5 %59 = sub nsw i32 0, %58 br label %64 60: ; preds = %54, %47 %61 = icmp eq ptr %4, null br i1 %61, label %64, label %62 62: ; preds = %60 %63 = load ptr, ptr %7, align 8, !tbaa !9 store ptr %63, ptr %4, align 8, !tbaa !9 br label %64 64: ; preds = %60, %62, %33, %23, %17, %57, %51, %44, %30, %14 %65 = phi i32 [ %16, %14 ], [ %53, %51 ], [ %46, %44 ], [ %59, %57 ], [ %32, %30 ], [ %19, %17 ], [ %24, %23 ], [ %35, %33 ], [ 0, %62 ], [ 0, %60 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(ptr noundef) local_unnamed_addr #2 declare i64 @BUS_MESSAGE_IS_GVARIANT(ptr noundef) local_unnamed_addr #2 declare i32 @message_peek_fields(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @message_peek_field_uint32(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @validate_nul(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @validate_string(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-message.c_message_peek_field_string.c' source_filename = "AnghaBench/systemd/src/libsystemd/sd-bus/extr_bus-message.c_message_peek_field_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EBADMSG = common local_unnamed_addr global i32 0, align 4 @UINT32_MAX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @message_peek_field_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @message_peek_field_string(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2, i64 noundef %3, ptr noundef writeonly %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @assert(ptr noundef %0) #3 %9 = tail call i32 @assert(ptr noundef %2) #3 %10 = tail call i64 @BUS_MESSAGE_IS_GVARIANT(ptr noundef %0) #3 %11 = icmp eq i64 %10, 0 br i1 %11, label %23, label %12 12: ; preds = %5 %13 = icmp eq i64 %3, 0 br i1 %13, label %14, label %17 14: ; preds = %12 %15 = load i32, ptr @EBADMSG, align 4, !tbaa !6 %16 = sub nsw i32 0, %15 br label %64 17: ; preds = %12 %18 = trunc i64 %3 to i32 %19 = call i32 @message_peek_fields(ptr noundef %0, ptr noundef %2, i32 noundef 1, i32 noundef %18, ptr noundef nonnull %7) #3 %20 = icmp slt i32 %19, 0 br i1 %20, label %64, label %21 21: ; preds = %17 %22 = add i32 %18, -1 store i32 %22, ptr %6, align 4, !tbaa !6 br label %37 23: ; preds = %5 %24 = call i32 @message_peek_field_uint32(ptr noundef %0, ptr noundef %2, i32 noundef 4, ptr noundef nonnull %6) #3 %25 = icmp slt i32 %24, 0 br i1 %25, label %64, label %26 26: ; preds = %23 %27 = load i32, ptr %6, align 4, !tbaa !6 %28 = load i32, ptr @UINT32_MAX, align 4, !tbaa !6 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %26 %31 = load i32, ptr @EBADMSG, align 4, !tbaa !6 %32 = sub nsw i32 0, %31 br label %64 33: ; preds = %26 %34 = add nsw i32 %27, 1 %35 = call i32 @message_peek_fields(ptr noundef %0, ptr noundef %2, i32 noundef 1, i32 noundef %34, ptr noundef nonnull %7) #3 %36 = icmp slt i32 %35, 0 br i1 %36, label %64, label %37 37: ; preds = %33, %21 %38 = icmp eq ptr %1, null %39 = load ptr, ptr %7, align 8, !tbaa !10 %40 = load i32, ptr %6, align 4, !tbaa !6 br i1 %38, label %54, label %41 41: ; preds = %37 %42 = call i32 @validate_nul(ptr noundef %39, i32 noundef %40) #3 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load i32, ptr @EBADMSG, align 4, !tbaa !6 %46 = sub nsw i32 0, %45 br label %64 47: ; preds = %41 %48 = load ptr, ptr %7, align 8, !tbaa !10 %49 = call i32 %1(ptr noundef %48) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %47 %52 = load i32, ptr @EBADMSG, align 4, !tbaa !6 %53 = sub nsw i32 0, %52 br label %64 54: ; preds = %37 %55 = call i32 @validate_string(ptr noundef %39, i32 noundef %40) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %54 %58 = load i32, ptr @EBADMSG, align 4, !tbaa !6 %59 = sub nsw i32 0, %58 br label %64 60: ; preds = %54, %47 %61 = icmp eq ptr %4, null br i1 %61, label %64, label %62 62: ; preds = %60 %63 = load ptr, ptr %7, align 8, !tbaa !10 store ptr %63, ptr %4, align 8, !tbaa !10 br label %64 64: ; preds = %60, %62, %33, %23, %17, %57, %51, %44, %30, %14 %65 = phi i32 [ %16, %14 ], [ %53, %51 ], [ %46, %44 ], [ %59, %57 ], [ %32, %30 ], [ %19, %17 ], [ %24, %23 ], [ %35, %33 ], [ 0, %62 ], [ 0, %60 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %65 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(ptr noundef) local_unnamed_addr #2 declare i64 @BUS_MESSAGE_IS_GVARIANT(ptr noundef) local_unnamed_addr #2 declare i32 @message_peek_fields(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @message_peek_field_uint32(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @validate_nul(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @validate_string(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
systemd_src_libsystemd_sd-bus_extr_bus-message.c_message_peek_field_string
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_addArgumentToVtab.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_addArgumentToVtab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, ptr, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @addArgumentToVtab], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @addArgumentToVtab(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %6 %10 = inttoptr i64 %4 to ptr %11 = load i32, ptr %2, align 8, !tbaa !14 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = tail call i32 @sqlite3DbStrNDup(ptr noundef %13, ptr noundef nonnull %10, i32 noundef %11) #2 %15 = tail call i32 @addModuleArgument(ptr noundef %13, i64 noundef %7, i32 noundef %14) #2 br label %16 16: ; preds = %9, %6, %1 ret void } declare i32 @addModuleArgument(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3DbStrNDup(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 24} !6 = !{!"TYPE_5__", !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 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !12, i64 16} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_addArgumentToVtab.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_addArgumentToVtab.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 @addArgumentToVtab], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @addArgumentToVtab(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %16, label %6 6: ; preds = %1 %7 = load i64, ptr %0, align 8, !tbaa !14 %8 = icmp eq i64 %7, 0 br i1 %8, label %16, label %9 9: ; preds = %6 %10 = inttoptr i64 %4 to ptr %11 = load i32, ptr %2, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !16 %14 = tail call i32 @sqlite3DbStrNDup(ptr noundef %13, ptr noundef nonnull %10, i32 noundef %11) #2 %15 = tail call i32 @addModuleArgument(ptr noundef %13, i64 noundef %7, i32 noundef %14) #2 br label %16 16: ; preds = %9, %6, %1 ret void } declare i32 @addModuleArgument(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3DbStrNDup(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 24} !7 = !{!"TYPE_5__", !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 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !13, i64 16} !16 = !{!7, !11, i64 8}
Craft_deps_sqlite_extr_sqlite3.c_addArgumentToVtab
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utascii.c_acpi_ut_valid_nameseg.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utascii.c_acpi_ut_valid_nameseg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ACPI_NAMESEG_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @acpi_ut_valid_nameseg(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr @ACPI_NAMESEG_SIZE, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %14, label %8 4: ; preds = %8 %5 = add nuw i64 %9, 1 %6 = load i64, ptr @ACPI_NAMESEG_SIZE, align 8, !tbaa !5 %7 = icmp ult i64 %5, %6 br i1 %7, label %8, label %14, !llvm.loop !9 8: ; preds = %1, %4 %9 = phi i64 [ %5, %4 ], [ 0, %1 ] %10 = getelementptr inbounds i8, ptr %0, i64 %9 %11 = load i8, ptr %10, align 1, !tbaa !11 %12 = tail call i32 @acpi_ut_valid_name_char(i8 noundef signext %11, i64 noundef %9) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %4 14: ; preds = %8, %4, %1 %15 = phi ptr [ @TRUE, %1 ], [ @TRUE, %4 ], [ @FALSE, %8 ] %16 = load i32, ptr %15, align 4, !tbaa !12 ret i32 %16 } declare i32 @acpi_ut_valid_name_char(i8 noundef signext, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!7, !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_utascii.c_acpi_ut_valid_nameseg.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_utascii.c_acpi_ut_valid_nameseg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ACPI_NAMESEG_SIZE = common local_unnamed_addr global i64 0, align 8 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @acpi_ut_valid_nameseg(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr @ACPI_NAMESEG_SIZE, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %14, label %8 4: ; preds = %8 %5 = add nuw i64 %9, 1 %6 = load i64, ptr @ACPI_NAMESEG_SIZE, align 8, !tbaa !6 %7 = icmp ult i64 %5, %6 br i1 %7, label %8, label %14, !llvm.loop !10 8: ; preds = %1, %4 %9 = phi i64 [ %5, %4 ], [ 0, %1 ] %10 = getelementptr inbounds i8, ptr %0, i64 %9 %11 = load i8, ptr %10, align 1, !tbaa !12 %12 = tail call i32 @acpi_ut_valid_name_char(i8 noundef signext %11, i64 noundef %9) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %4 14: ; preds = %8, %4, %1 %15 = phi ptr [ @TRUE, %1 ], [ @TRUE, %4 ], [ @FALSE, %8 ] %16 = load i32, ptr %15, align 4, !tbaa !13 ret i32 %16 } declare i32 @acpi_ut_valid_name_char(i8 noundef signext, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!8, !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
linux_drivers_acpi_acpica_extr_utascii.c_acpi_ut_valid_nameseg
; ModuleID = 'AnghaBench/freebsd/tools/regression/sockets/unix_cmsg/extr_uc_common.c_uc_vlogmsgx.c' source_filename = "AnghaBench/freebsd/tools/regression/sockets/unix_cmsg/extr_uc_common.c_uc_vlogmsgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @LOGMSG_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"uc_logmsgx: vsnprintf failed\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @uc_cfg = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @uc_vlogmsgx(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @LOGMSG_SIZE, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = call i64 @vsnprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef %0, i32 noundef %1) #2 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 %10 = call i32 @err(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %8, %2 %12 = load i32, ptr @uc_cfg, align 4, !tbaa !9 %13 = call i32 @uc_output(ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef nonnull %5) #2 ret void } declare i64 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @uc_output(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/tools/regression/sockets/unix_cmsg/extr_uc_common.c_uc_vlogmsgx.c' source_filename = "AnghaBench/freebsd/tools/regression/sockets/unix_cmsg/extr_uc_common.c_uc_vlogmsgx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @LOGMSG_SIZE = common local_unnamed_addr global i32 0, align 4 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"uc_logmsgx: vsnprintf failed\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @uc_cfg = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @uc_vlogmsgx(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @LOGMSG_SIZE, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = call i64 @vsnprintf(ptr noundef nonnull %5, i32 noundef %3, ptr noundef %0, i32 noundef %1) #2 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 %10 = call i32 @err(i32 noundef %9, ptr noundef nonnull @.str) #2 br label %11 11: ; preds = %8, %2 %12 = load i32, ptr @uc_cfg, align 4, !tbaa !10 %13 = call i32 @uc_output(ptr noundef nonnull @.str.1, i32 noundef %12, ptr noundef nonnull %5) #2 ret void } declare i64 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @uc_output(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
freebsd_tools_regression_sockets_unix_cmsg_extr_uc_common.c_uc_vlogmsgx
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/xen/extr_balloon.c_register_balloon.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/xen/extr_balloon.c_register_balloon.c" target datalayout = "e-m:e-p270:32:32-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_device = type { i32, ptr, i64 } @balloon_sysdev_class = dso_local global i32 0, align 4 @balloon_attrs = dso_local local_unnamed_addr global ptr null, align 8 @balloon_info_group = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @register_balloon], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @register_balloon(ptr noundef %0) #0 { %2 = tail call i32 @sysdev_class_register(ptr noundef nonnull @balloon_sysdev_class) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %53 4: ; preds = %1 %5 = getelementptr inbounds %struct.sys_device, ptr %0, i64 0, i32 2 store i64 0, ptr %5, align 8, !tbaa !5 %6 = getelementptr inbounds %struct.sys_device, ptr %0, i64 0, i32 1 store ptr @balloon_sysdev_class, ptr %6, align 8, !tbaa !12 %7 = tail call i32 @sysdev_register(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %50 9: ; preds = %4 %10 = load ptr, ptr @balloon_attrs, align 8, !tbaa !13 %11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %28 13: ; preds = %9, %20 %14 = phi i64 [ %21, %20 ], [ 0, %9 ] %15 = load ptr, ptr @balloon_attrs, align 8, !tbaa !13 %16 = getelementptr inbounds i32, ptr %15, i64 %14 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = tail call i32 @sysdev_create_file(ptr noundef %0, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %13 %21 = add nuw nsw i64 %14, 1 %22 = load ptr, ptr @balloon_attrs, align 8, !tbaa !13 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %21, %24 br i1 %25, label %13, label %26, !llvm.loop !15 26: ; preds = %20 %27 = trunc i64 %21 to i32 br label %28 28: ; preds = %26, %9 %29 = phi i32 [ 0, %9 ], [ %27, %26 ] %30 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @balloon_info_group) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %53, label %34 32: ; preds = %13 %33 = trunc i64 %14 to i32 br label %34 34: ; preds = %32, %28 %35 = phi i32 [ %29, %28 ], [ %33, %32 ] %36 = phi i32 [ %30, %28 ], [ %18, %32 ] %37 = icmp sgt i32 %35, 0 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = zext nneg i32 %35 to i64 br label %40 40: ; preds = %38, %40 %41 = phi i64 [ %39, %38 ], [ %42, %40 ] %42 = add nsw i64 %41, -1 %43 = load ptr, ptr @balloon_attrs, align 8, !tbaa !13 %44 = getelementptr inbounds i32, ptr %43, i64 %42 %45 = load i32, ptr %44, align 4, !tbaa !14 %46 = tail call i32 @sysdev_remove_file(ptr noundef %0, i32 noundef %45) #2 %47 = icmp ugt i64 %41, 1 br i1 %47, label %40, label %48, !llvm.loop !17 48: ; preds = %40, %34 %49 = tail call i32 @sysdev_unregister(ptr noundef %0) #2 br label %50 50: ; preds = %4, %48 %51 = phi i32 [ %36, %48 ], [ %7, %4 ] %52 = tail call i32 @sysdev_class_unregister(ptr noundef nonnull @balloon_sysdev_class) #2 br label %53 53: ; preds = %50, %28, %1 %54 = phi i32 [ %2, %1 ], [ 0, %28 ], [ %51, %50 ] ret i32 %54 } declare i32 @sysdev_class_register(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_register(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_class_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_create_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_remove_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sysdev_unregister(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 = !{!"sys_device", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = distinct !{!17, !16}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/xen/extr_balloon.c_register_balloon.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/xen/extr_balloon.c_register_balloon.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @balloon_sysdev_class = common global i32 0, align 4 @balloon_attrs = common local_unnamed_addr global ptr null, align 8 @balloon_info_group = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @register_balloon], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @register_balloon(ptr noundef %0) #0 { %2 = tail call i32 @sysdev_class_register(ptr noundef nonnull @balloon_sysdev_class) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %53 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %5, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 store ptr @balloon_sysdev_class, ptr %6, align 8, !tbaa !13 %7 = tail call i32 @sysdev_register(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %50 9: ; preds = %4 %10 = load ptr, ptr @balloon_attrs, align 8, !tbaa !14 %11 = tail call i32 @ARRAY_SIZE(ptr noundef %10) #2 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %28 13: ; preds = %9, %20 %14 = phi i64 [ %21, %20 ], [ 0, %9 ] %15 = load ptr, ptr @balloon_attrs, align 8, !tbaa !14 %16 = getelementptr inbounds i32, ptr %15, i64 %14 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @sysdev_create_file(ptr noundef %0, i32 noundef %17) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %13 %21 = add nuw nsw i64 %14, 1 %22 = load ptr, ptr @balloon_attrs, align 8, !tbaa !14 %23 = tail call i32 @ARRAY_SIZE(ptr noundef %22) #2 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %21, %24 br i1 %25, label %13, label %26, !llvm.loop !16 26: ; preds = %20 %27 = trunc nuw nsw i64 %21 to i32 br label %28 28: ; preds = %26, %9 %29 = phi i32 [ 0, %9 ], [ %27, %26 ] %30 = tail call i32 @sysfs_create_group(ptr noundef %0, ptr noundef nonnull @balloon_info_group) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %53, label %34 32: ; preds = %13 %33 = trunc nuw nsw i64 %14 to i32 br label %34 34: ; preds = %32, %28 %35 = phi i32 [ %29, %28 ], [ %33, %32 ] %36 = phi i32 [ %30, %28 ], [ %18, %32 ] %37 = icmp sgt i32 %35, 0 br i1 %37, label %38, label %48 38: ; preds = %34 %39 = zext nneg i32 %35 to i64 br label %40 40: ; preds = %38, %40 %41 = phi i64 [ %39, %38 ], [ %42, %40 ] %42 = add nsw i64 %41, -1 %43 = load ptr, ptr @balloon_attrs, align 8, !tbaa !14 %44 = getelementptr inbounds i32, ptr %43, i64 %42 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = tail call i32 @sysdev_remove_file(ptr noundef %0, i32 noundef %45) #2 %47 = icmp ugt i64 %41, 1 br i1 %47, label %40, label %48, !llvm.loop !18 48: ; preds = %40, %34 %49 = tail call i32 @sysdev_unregister(ptr noundef %0) #2 br label %50 50: ; preds = %4, %48 %51 = phi i32 [ %36, %48 ], [ %7, %4 ] %52 = tail call i32 @sysdev_class_unregister(ptr noundef nonnull @balloon_sysdev_class) #2 br label %53 53: ; preds = %50, %28, %1 %54 = phi i32 [ %2, %1 ], [ 0, %28 ], [ %51, %50 ] ret i32 %54 } declare i32 @sysdev_class_register(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_register(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_class_unregister(ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_create_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sysfs_create_group(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sysdev_remove_file(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sysdev_unregister(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 = !{!"sys_device", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17}
fastsocket_kernel_drivers_xen_extr_balloon.c_register_balloon
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_s35390a.c_s390rtc_read.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_s35390a.c_s390rtc_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.iic_msg = type { i32, i64, ptr, i32 } @IIC_M_RD = dso_local local_unnamed_addr global i32 0, align 4 @IIC_WAIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s390rtc_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @s390rtc_read(i32 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca [1 x %struct.iic_msg], align 16 %6 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = or i32 %7, %1 store i32 %8, ptr %5, align 16, !tbaa !10 %9 = getelementptr inbounds %struct.iic_msg, ptr %5, i64 0, i32 1 store i64 %3, ptr %9, align 8, !tbaa !14 %10 = getelementptr inbounds %struct.iic_msg, ptr %5, i64 0, i32 2 store ptr %2, ptr %10, align 16, !tbaa !15 %11 = getelementptr inbounds %struct.iic_msg, ptr %5, i64 0, i32 3 %12 = load i32, ptr @IIC_M_RD, align 4, !tbaa !16 store i32 %12, ptr %11, align 8, !tbaa !17 %13 = load i32, ptr @IIC_WAIT, align 4, !tbaa !16 %14 = call i32 @iicbus_transfer_excl(i32 noundef %0, ptr noundef nonnull %5, i32 noundef 1, i32 noundef %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %4 %17 = icmp eq i64 %3, 0 br i1 %17, label %25, label %18 18: ; preds = %16, %18 %19 = phi i64 [ %23, %18 ], [ 0, %16 ] %20 = getelementptr inbounds i32, ptr %2, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = call i32 @bitreverse(i32 noundef %21) #3 store i32 %22, ptr %20, align 4, !tbaa !16 %23 = add nuw i64 %19, 1 %24 = icmp eq i64 %23, %3 br i1 %24, label %25, label %18, !llvm.loop !18 25: ; preds = %18, %16, %4 %26 = phi i32 [ %14, %4 ], [ 0, %16 ], [ 0, %18 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #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 @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @iicbus_transfer_excl(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bitreverse(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 = !{!"s390rtc_softc", !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 = !{!"iic_msg", !7, i64 0, !12, i64 8, !13, i64 16, !7, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !12, i64 8} !15 = !{!11, !13, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!11, !7, i64 24} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/iicbus/extr_s35390a.c_s390rtc_read.c' source_filename = "AnghaBench/freebsd/sys/dev/iicbus/extr_s35390a.c_s390rtc_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.iic_msg = type { i32, i64, ptr, i32 } @IIC_M_RD = common local_unnamed_addr global i32 0, align 4 @IIC_WAIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s390rtc_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @s390rtc_read(i32 noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca [1 x %struct.iic_msg], align 8 %6 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = or i32 %7, %1 store i32 %8, ptr %5, align 8, !tbaa !11 %9 = getelementptr inbounds i8, ptr %5, i64 8 store i64 %3, ptr %9, align 8, !tbaa !15 %10 = getelementptr inbounds i8, ptr %5, i64 16 store ptr %2, ptr %10, align 8, !tbaa !16 %11 = getelementptr inbounds i8, ptr %5, i64 24 %12 = load i32, ptr @IIC_M_RD, align 4, !tbaa !17 store i32 %12, ptr %11, align 8, !tbaa !18 %13 = load i32, ptr @IIC_WAIT, align 4, !tbaa !17 %14 = call i32 @iicbus_transfer_excl(i32 noundef %0, ptr noundef nonnull %5, i32 noundef 1, i32 noundef %13) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %4 %17 = icmp eq i64 %3, 0 br i1 %17, label %25, label %18 18: ; preds = %16, %18 %19 = phi i64 [ %23, %18 ], [ 0, %16 ] %20 = getelementptr inbounds i32, ptr %2, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = call i32 @bitreverse(i32 noundef %21) #3 store i32 %22, ptr %20, align 4, !tbaa !17 %23 = add nuw i64 %19, 1 %24 = icmp eq i64 %23, %3 br i1 %24, label %25, label %18, !llvm.loop !19 25: ; preds = %18, %16, %4 %26 = phi i32 [ %14, %4 ], [ 0, %16 ], [ 0, %18 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #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 @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @iicbus_transfer_excl(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bitreverse(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 = !{!"s390rtc_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"iic_msg", !8, i64 0, !13, i64 8, !14, i64 16, !8, i64 24} !13 = !{!"long", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!12, !13, i64 8} !16 = !{!12, !14, i64 16} !17 = !{!8, !8, i64 0} !18 = !{!12, !8, i64 24} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_iicbus_extr_s35390a.c_s390rtc_read
; ModuleID = 'AnghaBench/libui/examples/histogram/extr_main.c_handlerMouseEvent.c' source_filename = "AnghaBench/libui/examples/histogram/extr_main.c_handlerMouseEvent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32 } @currentPoint = dso_local local_unnamed_addr global i32 0, align 4 @histogram = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @handlerMouseEvent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @handlerMouseEvent(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca [10 x double], align 16 %7 = alloca [10 x double], align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #3 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 3 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 2 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = call i32 @graphSize(i32 noundef %9, i32 noundef %11, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %13 = load double, ptr %4, align 8, !tbaa !11 %14 = load double, ptr %5, align 8, !tbaa !11 %15 = call i32 @pointLocations(double noundef %13, double noundef %14, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = load i32, ptr %2, align 4, !tbaa !14 %19 = load double, ptr %6, align 16, !tbaa !11 %20 = load double, ptr %7, align 16, !tbaa !11 %21 = call i64 @inPoint(i32 noundef %17, i32 noundef %18, double noundef %19, double noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %105 23: ; preds = %3 %24 = load i32, ptr %16, align 4, !tbaa !13 %25 = load i32, ptr %2, align 4, !tbaa !14 %26 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 1 %27 = load double, ptr %26, align 8, !tbaa !11 %28 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 1 %29 = load double, ptr %28, align 8, !tbaa !11 %30 = call i64 @inPoint(i32 noundef %24, i32 noundef %25, double noundef %27, double noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %105 32: ; preds = %23 %33 = load i32, ptr %16, align 4, !tbaa !13 %34 = load i32, ptr %2, align 4, !tbaa !14 %35 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 2 %36 = load double, ptr %35, align 16, !tbaa !11 %37 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 2 %38 = load double, ptr %37, align 16, !tbaa !11 %39 = call i64 @inPoint(i32 noundef %33, i32 noundef %34, double noundef %36, double noundef %38) #3 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %105 41: ; preds = %32 %42 = load i32, ptr %16, align 4, !tbaa !13 %43 = load i32, ptr %2, align 4, !tbaa !14 %44 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 3 %45 = load double, ptr %44, align 8, !tbaa !11 %46 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 3 %47 = load double, ptr %46, align 8, !tbaa !11 %48 = call i64 @inPoint(i32 noundef %42, i32 noundef %43, double noundef %45, double noundef %47) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %105 50: ; preds = %41 %51 = load i32, ptr %16, align 4, !tbaa !13 %52 = load i32, ptr %2, align 4, !tbaa !14 %53 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 4 %54 = load double, ptr %53, align 16, !tbaa !11 %55 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 4 %56 = load double, ptr %55, align 16, !tbaa !11 %57 = call i64 @inPoint(i32 noundef %51, i32 noundef %52, double noundef %54, double noundef %56) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %105 59: ; preds = %50 %60 = load i32, ptr %16, align 4, !tbaa !13 %61 = load i32, ptr %2, align 4, !tbaa !14 %62 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 5 %63 = load double, ptr %62, align 8, !tbaa !11 %64 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 5 %65 = load double, ptr %64, align 8, !tbaa !11 %66 = call i64 @inPoint(i32 noundef %60, i32 noundef %61, double noundef %63, double noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %105 68: ; preds = %59 %69 = load i32, ptr %16, align 4, !tbaa !13 %70 = load i32, ptr %2, align 4, !tbaa !14 %71 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 6 %72 = load double, ptr %71, align 16, !tbaa !11 %73 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 6 %74 = load double, ptr %73, align 16, !tbaa !11 %75 = call i64 @inPoint(i32 noundef %69, i32 noundef %70, double noundef %72, double noundef %74) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %105 77: ; preds = %68 %78 = load i32, ptr %16, align 4, !tbaa !13 %79 = load i32, ptr %2, align 4, !tbaa !14 %80 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 7 %81 = load double, ptr %80, align 8, !tbaa !11 %82 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 7 %83 = load double, ptr %82, align 8, !tbaa !11 %84 = call i64 @inPoint(i32 noundef %78, i32 noundef %79, double noundef %81, double noundef %83) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %105 86: ; preds = %77 %87 = load i32, ptr %16, align 4, !tbaa !13 %88 = load i32, ptr %2, align 4, !tbaa !14 %89 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 8 %90 = load double, ptr %89, align 16, !tbaa !11 %91 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 8 %92 = load double, ptr %91, align 16, !tbaa !11 %93 = call i64 @inPoint(i32 noundef %87, i32 noundef %88, double noundef %90, double noundef %92) #3 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %105 95: ; preds = %86 %96 = load i32, ptr %16, align 4, !tbaa !13 %97 = load i32, ptr %2, align 4, !tbaa !14 %98 = getelementptr inbounds [10 x double], ptr %6, i64 0, i64 9 %99 = load double, ptr %98, align 8, !tbaa !11 %100 = getelementptr inbounds [10 x double], ptr %7, i64 0, i64 9 %101 = load double, ptr %100, align 8, !tbaa !11 %102 = call i64 @inPoint(i32 noundef %96, i32 noundef %97, double noundef %99, double noundef %101) #3 %103 = icmp eq i64 %102, 0 %104 = select i1 %103, i32 -1, i32 9 br label %105 105: ; preds = %95, %86, %77, %68, %59, %50, %41, %32, %23, %3 %106 = phi i32 [ 0, %3 ], [ 1, %23 ], [ 2, %32 ], [ 3, %41 ], [ 4, %50 ], [ 5, %59 ], [ 6, %68 ], [ 7, %77 ], [ 8, %86 ], [ %104, %95 ] store i32 %106, ptr @currentPoint, align 4, !tbaa !15 %107 = load i32, ptr @histogram, align 4, !tbaa !15 %108 = call i32 @uiAreaQueueRedrawAll(i32 noundef %107) #3 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 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 @graphSize(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pointLocations(double noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @inPoint(i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #2 declare i32 @uiAreaQueueRedrawAll(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 12} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"double", !8, i64 0} !13 = !{!6, !7, i64 4} !14 = !{!6, !7, i64 0} !15 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/libui/examples/histogram/extr_main.c_handlerMouseEvent.c' source_filename = "AnghaBench/libui/examples/histogram/extr_main.c_handlerMouseEvent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @currentPoint = common local_unnamed_addr global i32 0, align 4 @histogram = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @handlerMouseEvent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @handlerMouseEvent(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca [10 x double], align 8 %7 = alloca [10 x double], align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %7) #3 %8 = getelementptr inbounds i8, ptr %2, i64 12 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %2, i64 8 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = call i32 @graphSize(i32 noundef %9, i32 noundef %11, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %13 = load double, ptr %4, align 8, !tbaa !12 %14 = load double, ptr %5, align 8, !tbaa !12 %15 = call i32 @pointLocations(double noundef %13, double noundef %14, ptr noundef nonnull %6, ptr noundef nonnull %7) #3 %16 = getelementptr inbounds i8, ptr %2, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = load i32, ptr %2, align 4, !tbaa !15 %19 = load double, ptr %6, align 8, !tbaa !12 %20 = load double, ptr %7, align 8, !tbaa !12 %21 = call i64 @inPoint(i32 noundef %17, i32 noundef %18, double noundef %19, double noundef %20) #3 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %105 23: ; preds = %3 %24 = load i32, ptr %16, align 4, !tbaa !14 %25 = load i32, ptr %2, align 4, !tbaa !15 %26 = getelementptr inbounds i8, ptr %6, i64 8 %27 = load double, ptr %26, align 8, !tbaa !12 %28 = getelementptr inbounds i8, ptr %7, i64 8 %29 = load double, ptr %28, align 8, !tbaa !12 %30 = call i64 @inPoint(i32 noundef %24, i32 noundef %25, double noundef %27, double noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %105 32: ; preds = %23 %33 = load i32, ptr %16, align 4, !tbaa !14 %34 = load i32, ptr %2, align 4, !tbaa !15 %35 = getelementptr inbounds i8, ptr %6, i64 16 %36 = load double, ptr %35, align 8, !tbaa !12 %37 = getelementptr inbounds i8, ptr %7, i64 16 %38 = load double, ptr %37, align 8, !tbaa !12 %39 = call i64 @inPoint(i32 noundef %33, i32 noundef %34, double noundef %36, double noundef %38) #3 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %105 41: ; preds = %32 %42 = load i32, ptr %16, align 4, !tbaa !14 %43 = load i32, ptr %2, align 4, !tbaa !15 %44 = getelementptr inbounds i8, ptr %6, i64 24 %45 = load double, ptr %44, align 8, !tbaa !12 %46 = getelementptr inbounds i8, ptr %7, i64 24 %47 = load double, ptr %46, align 8, !tbaa !12 %48 = call i64 @inPoint(i32 noundef %42, i32 noundef %43, double noundef %45, double noundef %47) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %105 50: ; preds = %41 %51 = load i32, ptr %16, align 4, !tbaa !14 %52 = load i32, ptr %2, align 4, !tbaa !15 %53 = getelementptr inbounds i8, ptr %6, i64 32 %54 = load double, ptr %53, align 8, !tbaa !12 %55 = getelementptr inbounds i8, ptr %7, i64 32 %56 = load double, ptr %55, align 8, !tbaa !12 %57 = call i64 @inPoint(i32 noundef %51, i32 noundef %52, double noundef %54, double noundef %56) #3 %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %105 59: ; preds = %50 %60 = load i32, ptr %16, align 4, !tbaa !14 %61 = load i32, ptr %2, align 4, !tbaa !15 %62 = getelementptr inbounds i8, ptr %6, i64 40 %63 = load double, ptr %62, align 8, !tbaa !12 %64 = getelementptr inbounds i8, ptr %7, i64 40 %65 = load double, ptr %64, align 8, !tbaa !12 %66 = call i64 @inPoint(i32 noundef %60, i32 noundef %61, double noundef %63, double noundef %65) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %105 68: ; preds = %59 %69 = load i32, ptr %16, align 4, !tbaa !14 %70 = load i32, ptr %2, align 4, !tbaa !15 %71 = getelementptr inbounds i8, ptr %6, i64 48 %72 = load double, ptr %71, align 8, !tbaa !12 %73 = getelementptr inbounds i8, ptr %7, i64 48 %74 = load double, ptr %73, align 8, !tbaa !12 %75 = call i64 @inPoint(i32 noundef %69, i32 noundef %70, double noundef %72, double noundef %74) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %105 77: ; preds = %68 %78 = load i32, ptr %16, align 4, !tbaa !14 %79 = load i32, ptr %2, align 4, !tbaa !15 %80 = getelementptr inbounds i8, ptr %6, i64 56 %81 = load double, ptr %80, align 8, !tbaa !12 %82 = getelementptr inbounds i8, ptr %7, i64 56 %83 = load double, ptr %82, align 8, !tbaa !12 %84 = call i64 @inPoint(i32 noundef %78, i32 noundef %79, double noundef %81, double noundef %83) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %86, label %105 86: ; preds = %77 %87 = load i32, ptr %16, align 4, !tbaa !14 %88 = load i32, ptr %2, align 4, !tbaa !15 %89 = getelementptr inbounds i8, ptr %6, i64 64 %90 = load double, ptr %89, align 8, !tbaa !12 %91 = getelementptr inbounds i8, ptr %7, i64 64 %92 = load double, ptr %91, align 8, !tbaa !12 %93 = call i64 @inPoint(i32 noundef %87, i32 noundef %88, double noundef %90, double noundef %92) #3 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %105 95: ; preds = %86 %96 = load i32, ptr %16, align 4, !tbaa !14 %97 = load i32, ptr %2, align 4, !tbaa !15 %98 = getelementptr inbounds i8, ptr %6, i64 72 %99 = load double, ptr %98, align 8, !tbaa !12 %100 = getelementptr inbounds i8, ptr %7, i64 72 %101 = load double, ptr %100, align 8, !tbaa !12 %102 = call i64 @inPoint(i32 noundef %96, i32 noundef %97, double noundef %99, double noundef %101) #3 %103 = icmp eq i64 %102, 0 %104 = select i1 %103, i32 -1, i32 9 br label %105 105: ; preds = %95, %86, %77, %68, %59, %50, %41, %32, %23, %3 %106 = phi i32 [ 0, %3 ], [ 1, %23 ], [ 2, %32 ], [ 3, %41 ], [ 4, %50 ], [ 5, %59 ], [ 6, %68 ], [ 7, %77 ], [ 8, %86 ], [ %104, %95 ] store i32 %106, ptr @currentPoint, align 4, !tbaa !16 %107 = load i32, ptr @histogram, align 4, !tbaa !16 %108 = call i32 @uiAreaQueueRedrawAll(i32 noundef %107) #3 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 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 @graphSize(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pointLocations(double noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @inPoint(i32 noundef, i32 noundef, double noundef, double noundef) local_unnamed_addr #2 declare i32 @uiAreaQueueRedrawAll(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 12} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"double", !9, i64 0} !14 = !{!7, !8, i64 4} !15 = !{!7, !8, i64 0} !16 = !{!8, !8, i64 0}
libui_examples_histogram_extr_main.c_handlerMouseEvent
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/rio/extr_riocmd.c_RIOWFlushMark.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/rio/extr_riocmd.c_RIOWFlushMark.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.Port = type { i32, i32, i32 } @MAGIC_FLUSH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @RIOWFlushMark(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = tail call i32 @rio_spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds %struct.Port, ptr %3, i64 0, i32 2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = add nsw i32 %6, 1 store i32 %7, ptr %5, align 4, !tbaa !5 %8 = load i32, ptr @MAGIC_FLUSH, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.Port, ptr %3, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = or i32 %10, %8 store i32 %11, ptr %9, align 4, !tbaa !11 %12 = tail call i32 @rio_spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %13 = tail call i32 @RIOUnUse(i64 noundef %0, ptr noundef %1) #2 ret i32 %13 } declare i32 @rio_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rio_spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @RIOUnUse(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"Port", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/rio/extr_riocmd.c_RIOWFlushMark.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/rio/extr_riocmd.c_RIOWFlushMark.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAGIC_FLUSH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @RIOWFlushMark(i64 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = tail call i32 @rio_spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = add nsw i32 %6, 1 store i32 %7, ptr %5, align 4, !tbaa !6 %8 = load i32, ptr @MAGIC_FLUSH, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %3, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = or i32 %10, %8 store i32 %11, ptr %9, align 4, !tbaa !12 %12 = tail call i32 @rio_spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %13 = tail call i32 @RIOUnUse(i64 noundef %0, ptr noundef %1) #2 ret i32 %13 } declare i32 @rio_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @rio_spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @RIOUnUse(i64 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"Port", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_char_rio_extr_riocmd.c_RIOWFlushMark
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lcorolib.c_luaB_coresume.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lcorolib.c_luaB_coresume.c" target datalayout = "e-m:e-p270:32:32-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 @luaB_coresume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @luaB_coresume(ptr noundef %0) #0 { %2 = tail call ptr @getco(ptr noundef %0) #2 %3 = tail call i64 @lua_gettop(ptr noundef %0) #2 %4 = add nsw i64 %3, -1 %5 = tail call i32 @auxresume(ptr noundef %0, ptr noundef %2, i64 noundef %4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 0) #2 br label %13 9: ; preds = %1 %10 = tail call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #2 %11 = add nuw nsw i32 %5, 1 %12 = xor i32 %5, -1 br label %13 13: ; preds = %9, %7 %14 = phi i32 [ %12, %9 ], [ -2, %7 ] %15 = phi i32 [ %11, %9 ], [ 2, %7 ] %16 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef %14) #2 ret i32 %15 } declare ptr @getco(ptr noundef) local_unnamed_addr #1 declare i32 @auxresume(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @lua_gettop(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushboolean(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_lcorolib.c_luaB_coresume.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_lcorolib.c_luaB_coresume.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 @luaB_coresume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 1, -2147483648) i32 @luaB_coresume(ptr noundef %0) #0 { %2 = tail call ptr @getco(ptr noundef %0) #2 %3 = tail call i64 @lua_gettop(ptr noundef %0) #2 %4 = add nsw i64 %3, -1 %5 = tail call i32 @auxresume(ptr noundef %0, ptr noundef %2, i64 noundef %4) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 0) #2 br label %13 9: ; preds = %1 %10 = tail call i32 @lua_pushboolean(ptr noundef %0, i32 noundef 1) #2 %11 = add nuw nsw i32 %5, 1 %12 = xor i32 %5, -1 br label %13 13: ; preds = %9, %7 %14 = phi i32 [ %12, %9 ], [ -2, %7 ] %15 = phi i32 [ %11, %9 ], [ 2, %7 ] %16 = tail call i32 @lua_insert(ptr noundef %0, i32 noundef %14) #2 ret i32 %15 } declare ptr @getco(ptr noundef) local_unnamed_addr #1 declare i32 @auxresume(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @lua_gettop(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushboolean(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_insert(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
xLua_build_lua-5.3.3_src_extr_lcorolib.c_luaB_coresume
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_vt1724_midi_output_close.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_vt1724_midi_output_close.c" target datalayout = "e-m:e-p270:32:32-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 @vt1724_midi_output_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @vt1724_midi_output_close(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_vt1724_midi_output_close.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ice1712/extr_ice1724.c_vt1724_midi_output_close.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 @vt1724_midi_output_close], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @vt1724_midi_output_close(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_sound_pci_ice1712_extr_ice1724.c_vt1724_midi_output_close
; ModuleID = 'AnghaBench/reactos/dll/win32/ole32/extr_storage32.h_StorageBaseImpl_LockTransaction.c' source_filename = "AnghaBench/reactos/dll/win32/ole32/extr_storage32.h_StorageBaseImpl_LockTransaction.c" target datalayout = "e-m:e-p270:32:32-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 @StorageBaseImpl_LockTransaction], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @StorageBaseImpl_LockTransaction(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1 ret i32 %5 } attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_5__", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/ole32/extr_storage32.h_StorageBaseImpl_LockTransaction.c' source_filename = "AnghaBench/reactos/dll/win32/ole32/extr_storage32.h_StorageBaseImpl_LockTransaction.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 @StorageBaseImpl_LockTransaction], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @StorageBaseImpl_LockTransaction(ptr noundef %0, i32 noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1 ret i32 %5 } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_5__", !8, i64 0}
reactos_dll_win32_ole32_extr_storage32.h_StorageBaseImpl_LockTransaction
; ModuleID = 'AnghaBench/openssl/crypto/extr_mem.c_CRYPTO_get_mem_functions.c' source_filename = "AnghaBench/openssl/crypto/extr_mem.c_CRYPTO_get_mem_functions.c" target datalayout = "e-m:e-p270:32:32-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 @CRYPTO_get_mem_functions(ptr noundef writeonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %6, label %5 5: ; preds = %3 store ptr @malloc_impl, ptr %0, align 8, !tbaa !5 br label %6 6: ; preds = %5, %3 %7 = icmp eq ptr %1, null br i1 %7, label %9, label %8 8: ; preds = %6 store ptr @realloc_impl, ptr %1, align 8, !tbaa !5 br label %9 9: ; preds = %8, %6 %10 = icmp eq ptr %2, null br i1 %10, label %12, label %11 11: ; preds = %9 store ptr @free_impl, ptr %2, align 8, !tbaa !5 br label %12 12: ; preds = %11, %9 ret void } declare ptr @malloc_impl(i64 noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc_impl(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare void @free_impl(ptr noundef, ptr noundef, i32 noundef) #1 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" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/openssl/crypto/extr_mem.c_CRYPTO_get_mem_functions.c' source_filename = "AnghaBench/openssl/crypto/extr_mem.c_CRYPTO_get_mem_functions.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 @CRYPTO_get_mem_functions(ptr noundef writeonly %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #0 { %4 = icmp eq ptr %0, null br i1 %4, label %6, label %5 5: ; preds = %3 store ptr @malloc_impl, ptr %0, align 8, !tbaa !6 br label %6 6: ; preds = %5, %3 %7 = icmp eq ptr %1, null br i1 %7, label %9, label %8 8: ; preds = %6 store ptr @realloc_impl, ptr %1, align 8, !tbaa !6 br label %9 9: ; preds = %8, %6 %10 = icmp eq ptr %2, null br i1 %10, label %12, label %11 11: ; preds = %9 store ptr @free_impl, ptr %2, align 8, !tbaa !6 br label %12 12: ; preds = %11, %9 ret void } declare ptr @malloc_impl(i64 noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc_impl(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 declare void @free_impl(ptr noundef, ptr noundef, i32 noundef) #1 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" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
openssl_crypto_extr_mem.c_CRYPTO_get_mem_functions
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_namei.c_f2fs_lookup.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_namei.c_f2fs_lookup.c" target datalayout = "e-m:e-p270:32:32-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.fscrypt_name = type { i32 } %struct.inode = type { i32, i32, i32 } @F2FS_NAME_LEN = dso_local local_unnamed_addr global i64 0, align 8 @ENAMETOOLONG = dso_local local_unnamed_addr global i32 0, align 4 @ENOENT = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"Inconsistent encryption contexts: %lu/%lu\00", align 1 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @f2fs_lookup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @f2fs_lookup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.fscrypt_name, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %6 = tail call i32 @F2FS_I_SB(ptr noundef %0) #3 %7 = tail call i32 @F2FS_ROOT_INO(i32 noundef %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %8 = tail call i32 @trace_f2fs_lookup_start(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 %9 = load i64, ptr %1, align 8, !tbaa !5 %10 = load i64, ptr @F2FS_NAME_LEN, align 8, !tbaa !11 %11 = icmp sgt i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !12 %14 = sub nsw i32 0, %13 br label %92 15: ; preds = %3 %16 = call i32 @fscrypt_prepare_lookup(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %5) #3 %17 = load i32, ptr @ENOENT, align 4, !tbaa !12 %18 = sub nsw i32 0, %17 %19 = icmp eq i32 %16, %18 br i1 %19, label %83, label %20 20: ; preds = %15 %21 = icmp eq i32 %16, 0 br i1 %21, label %22, label %92 22: ; preds = %20 %23 = call ptr @__f2fs_find_entry(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %24 = call i32 @fscrypt_free_filename(ptr noundef nonnull %5) #3 %25 = icmp eq ptr %23, null br i1 %25, label %26, label %33 26: ; preds = %22 %27 = load ptr, ptr %4, align 8, !tbaa !14 %28 = call i64 @IS_ERR(ptr noundef %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %83, label %30 30: ; preds = %26 %31 = load ptr, ptr %4, align 8, !tbaa !14 %32 = call i32 @PTR_ERR(ptr noundef %31) #3 br label %92 33: ; preds = %22 %34 = load i32, ptr %23, align 4, !tbaa !16 %35 = call i32 @le32_to_cpu(i32 noundef %34) #3 %36 = load ptr, ptr %4, align 8, !tbaa !14 %37 = call i32 @f2fs_put_page(ptr noundef %36, i32 noundef 0) #3 %38 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2 %39 = load i32, ptr %38, align 4, !tbaa !18 %40 = call ptr @f2fs_iget(i32 noundef %39, i32 noundef %35) #3 %41 = call i64 @IS_ERR(ptr noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %33 %44 = call i32 @PTR_ERR(ptr noundef %40) #3 br label %92 45: ; preds = %33 %46 = load i32, ptr %0, align 4, !tbaa !20 %47 = icmp eq i32 %46, %7 br i1 %47, label %48, label %54 48: ; preds = %45 %49 = call i64 @f2fs_has_inline_dots(ptr noundef nonnull %0) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %48 %52 = call i32 @__recover_dot_dentries(ptr noundef nonnull %0, i32 noundef %7) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %89 54: ; preds = %51, %48, %45 %55 = call i64 @f2fs_has_inline_dots(ptr noundef %40) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %61, label %57 57: ; preds = %54 %58 = load i32, ptr %0, align 4, !tbaa !20 %59 = call i32 @__recover_dot_dentries(ptr noundef %40, i32 noundef %58) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %89 61: ; preds = %57, %54 %62 = call i64 @IS_ENCRYPTED(ptr noundef nonnull %0) #3 %63 = icmp eq i64 %62, 0 br i1 %63, label %83, label %64 64: ; preds = %61 %65 = getelementptr inbounds %struct.inode, ptr %40, i64 0, i32 1 %66 = load i32, ptr %65, align 4, !tbaa !21 %67 = call i64 @S_ISDIR(i32 noundef %66) #3 %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = load i32, ptr %65, align 4, !tbaa !21 %71 = call i64 @S_ISLNK(i32 noundef %70) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %83, label %73 73: ; preds = %69, %64 %74 = call i32 @fscrypt_has_permitted_context(ptr noundef nonnull %0, ptr noundef nonnull %40) #3 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %83 76: ; preds = %73 %77 = call i32 @F2FS_I_SB(ptr noundef nonnull %40) #3 %78 = load i32, ptr %0, align 4, !tbaa !20 %79 = load i32, ptr %40, align 4, !tbaa !20 %80 = call i32 @f2fs_warn(i32 noundef %77, ptr noundef nonnull @.str, i32 noundef %78, i32 noundef %79) #3 %81 = load i32, ptr @EPERM, align 4, !tbaa !12 %82 = sub nsw i32 0, %81 br label %89 83: ; preds = %61, %69, %73, %26, %15 %84 = phi ptr [ null, %15 ], [ %40, %73 ], [ %40, %69 ], [ %40, %61 ], [ null, %26 ] %85 = phi i32 [ -1, %15 ], [ %35, %73 ], [ %35, %69 ], [ %35, %61 ], [ -1, %26 ] %86 = call ptr @d_splice_alias(ptr noundef %84, ptr noundef nonnull %1) #3 %87 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %86) #3 %88 = call i32 @trace_f2fs_lookup_end(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %85, i32 noundef %87) #3 br label %97 89: ; preds = %57, %51, %76 %90 = phi i32 [ %52, %51 ], [ %59, %57 ], [ %82, %76 ] %91 = call i32 @iput(ptr noundef %40) #3 br label %92 92: ; preds = %20, %89, %43, %30, %12 %93 = phi i32 [ -1, %12 ], [ -1, %20 ], [ %35, %43 ], [ %35, %89 ], [ -1, %30 ] %94 = phi i32 [ %14, %12 ], [ %16, %20 ], [ %44, %43 ], [ %90, %89 ], [ %32, %30 ] %95 = call i32 @trace_f2fs_lookup_end(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %93, i32 noundef %94) #3 %96 = call ptr @ERR_PTR(i32 noundef %94) #3 br label %97 97: ; preds = %92, %83 %98 = phi ptr [ %96, %92 ], [ %86, %83 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %98 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @F2FS_ROOT_INO(i32 noundef) local_unnamed_addr #2 declare i32 @F2FS_I_SB(ptr noundef) local_unnamed_addr #2 declare i32 @trace_f2fs_lookup_start(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_prepare_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @__f2fs_find_entry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_put_page(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @f2fs_iget(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @f2fs_has_inline_dots(ptr noundef) local_unnamed_addr #2 declare i32 @__recover_dot_dentries(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ENCRYPTED(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_has_permitted_context(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_warn(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @d_splice_alias(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @trace_f2fs_lookup_end(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @iput(ptr noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(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, !8, i64 0} !6 = !{!"dentry", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !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 = !{!"int", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !13, i64 0} !17 = !{!"f2fs_dir_entry", !13, i64 0} !18 = !{!19, !13, i64 8} !19 = !{!"inode", !13, i64 0, !13, i64 4, !13, i64 8} !20 = !{!19, !13, i64 0} !21 = !{!19, !13, i64 4}
; ModuleID = 'AnghaBench/linux/fs/f2fs/extr_namei.c_f2fs_lookup.c' source_filename = "AnghaBench/linux/fs/f2fs/extr_namei.c_f2fs_lookup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fscrypt_name = type { i32 } @F2FS_NAME_LEN = common local_unnamed_addr global i64 0, align 8 @ENAMETOOLONG = common local_unnamed_addr global i32 0, align 4 @ENOENT = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"Inconsistent encryption contexts: %lu/%lu\00", align 1 @EPERM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @f2fs_lookup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @f2fs_lookup(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.fscrypt_name, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %6 = tail call i32 @F2FS_I_SB(ptr noundef %0) #3 %7 = tail call i32 @F2FS_ROOT_INO(i32 noundef %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %8 = tail call i32 @trace_f2fs_lookup_start(ptr noundef %0, ptr noundef %1, i32 noundef %2) #3 %9 = load i64, ptr %1, align 8, !tbaa !6 %10 = load i64, ptr @F2FS_NAME_LEN, align 8, !tbaa !12 %11 = icmp sgt i64 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load i32, ptr @ENAMETOOLONG, align 4, !tbaa !13 %14 = sub nsw i32 0, %13 br label %92 15: ; preds = %3 %16 = call i32 @fscrypt_prepare_lookup(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %5) #3 %17 = load i32, ptr @ENOENT, align 4, !tbaa !13 %18 = sub nsw i32 0, %17 %19 = icmp eq i32 %16, %18 br i1 %19, label %83, label %20 20: ; preds = %15 %21 = icmp eq i32 %16, 0 br i1 %21, label %22, label %92 22: ; preds = %20 %23 = call ptr @__f2fs_find_entry(ptr noundef %0, ptr noundef nonnull %5, ptr noundef nonnull %4) #3 %24 = call i32 @fscrypt_free_filename(ptr noundef nonnull %5) #3 %25 = icmp eq ptr %23, null br i1 %25, label %26, label %33 26: ; preds = %22 %27 = load ptr, ptr %4, align 8, !tbaa !15 %28 = call i64 @IS_ERR(ptr noundef %27) #3 %29 = icmp eq i64 %28, 0 br i1 %29, label %83, label %30 30: ; preds = %26 %31 = load ptr, ptr %4, align 8, !tbaa !15 %32 = call i32 @PTR_ERR(ptr noundef %31) #3 br label %92 33: ; preds = %22 %34 = load i32, ptr %23, align 4, !tbaa !17 %35 = call i32 @le32_to_cpu(i32 noundef %34) #3 %36 = load ptr, ptr %4, align 8, !tbaa !15 %37 = call i32 @f2fs_put_page(ptr noundef %36, i32 noundef 0) #3 %38 = getelementptr inbounds i8, ptr %0, i64 8 %39 = load i32, ptr %38, align 4, !tbaa !19 %40 = call ptr @f2fs_iget(i32 noundef %39, i32 noundef %35) #3 %41 = call i64 @IS_ERR(ptr noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %33 %44 = call i32 @PTR_ERR(ptr noundef %40) #3 br label %92 45: ; preds = %33 %46 = load i32, ptr %0, align 4, !tbaa !21 %47 = icmp eq i32 %46, %7 br i1 %47, label %48, label %54 48: ; preds = %45 %49 = call i64 @f2fs_has_inline_dots(ptr noundef nonnull %0) #3 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %48 %52 = call i32 @__recover_dot_dentries(ptr noundef nonnull %0, i32 noundef %7) #3 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %89 54: ; preds = %51, %48, %45 %55 = call i64 @f2fs_has_inline_dots(ptr noundef %40) #3 %56 = icmp eq i64 %55, 0 br i1 %56, label %61, label %57 57: ; preds = %54 %58 = load i32, ptr %0, align 4, !tbaa !21 %59 = call i32 @__recover_dot_dentries(ptr noundef %40, i32 noundef %58) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %89 61: ; preds = %57, %54 %62 = call i64 @IS_ENCRYPTED(ptr noundef nonnull %0) #3 %63 = icmp eq i64 %62, 0 br i1 %63, label %83, label %64 64: ; preds = %61 %65 = getelementptr inbounds i8, ptr %40, i64 4 %66 = load i32, ptr %65, align 4, !tbaa !22 %67 = call i64 @S_ISDIR(i32 noundef %66) #3 %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %64 %70 = load i32, ptr %65, align 4, !tbaa !22 %71 = call i64 @S_ISLNK(i32 noundef %70) #3 %72 = icmp eq i64 %71, 0 br i1 %72, label %83, label %73 73: ; preds = %69, %64 %74 = call i32 @fscrypt_has_permitted_context(ptr noundef nonnull %0, ptr noundef nonnull %40) #3 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %83 76: ; preds = %73 %77 = call i32 @F2FS_I_SB(ptr noundef nonnull %40) #3 %78 = load i32, ptr %0, align 4, !tbaa !21 %79 = load i32, ptr %40, align 4, !tbaa !21 %80 = call i32 @f2fs_warn(i32 noundef %77, ptr noundef nonnull @.str, i32 noundef %78, i32 noundef %79) #3 %81 = load i32, ptr @EPERM, align 4, !tbaa !13 %82 = sub nsw i32 0, %81 br label %89 83: ; preds = %61, %69, %73, %26, %15 %84 = phi ptr [ null, %15 ], [ %40, %73 ], [ %40, %69 ], [ %40, %61 ], [ null, %26 ] %85 = phi i32 [ -1, %15 ], [ %35, %73 ], [ %35, %69 ], [ %35, %61 ], [ -1, %26 ] %86 = call ptr @d_splice_alias(ptr noundef %84, ptr noundef nonnull %1) #3 %87 = call i32 @PTR_ERR_OR_ZERO(ptr noundef %86) #3 %88 = call i32 @trace_f2fs_lookup_end(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %85, i32 noundef %87) #3 br label %97 89: ; preds = %57, %51, %76 %90 = phi i32 [ %52, %51 ], [ %59, %57 ], [ %82, %76 ] %91 = call i32 @iput(ptr noundef %40) #3 br label %92 92: ; preds = %20, %89, %43, %30, %12 %93 = phi i32 [ -1, %12 ], [ -1, %20 ], [ %35, %43 ], [ %35, %89 ], [ -1, %30 ] %94 = phi i32 [ %14, %12 ], [ %16, %20 ], [ %44, %43 ], [ %90, %89 ], [ %32, %30 ] %95 = call i32 @trace_f2fs_lookup_end(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %93, i32 noundef %94) #3 %96 = call ptr @ERR_PTR(i32 noundef %94) #3 br label %97 97: ; preds = %92, %83 %98 = phi ptr [ %96, %92 ], [ %86, %83 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %98 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @F2FS_ROOT_INO(i32 noundef) local_unnamed_addr #2 declare i32 @F2FS_I_SB(ptr noundef) local_unnamed_addr #2 declare i32 @trace_f2fs_lookup_start(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_prepare_lookup(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @__f2fs_find_entry(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @f2fs_put_page(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @f2fs_iget(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @f2fs_has_inline_dots(ptr noundef) local_unnamed_addr #2 declare i32 @__recover_dot_dentries(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @IS_ENCRYPTED(ptr noundef) local_unnamed_addr #2 declare i64 @S_ISDIR(i32 noundef) local_unnamed_addr #2 declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #2 declare i32 @fscrypt_has_permitted_context(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @f2fs_warn(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @d_splice_alias(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PTR_ERR_OR_ZERO(ptr noundef) local_unnamed_addr #2 declare i32 @trace_f2fs_lookup_end(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @iput(ptr noundef) local_unnamed_addr #2 declare ptr @ERR_PTR(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, !9, i64 0} !7 = !{!"dentry", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"any pointer", !10, i64 0} !17 = !{!18, !14, i64 0} !18 = !{!"f2fs_dir_entry", !14, i64 0} !19 = !{!20, !14, i64 8} !20 = !{!"inode", !14, i64 0, !14, i64 4, !14, i64 8} !21 = !{!20, !14, i64 0} !22 = !{!20, !14, i64 4}
linux_fs_f2fs_extr_namei.c_f2fs_lookup
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_buffer.c__descriptor_from_pep3118_format_fast.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_buffer.c__descriptor_from_pep3118_format_fast.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NPY_BYTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @_descriptor_from_pep3118_format_fast], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @_descriptor_from_pep3118_format_fast(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @NPY_BYTE, align 4, !tbaa !5 br label %4 4: ; preds = %26, %2 %5 = phi ptr [ %0, %2 ], [ %32, %26 ] %6 = phi i32 [ 0, %2 ], [ %28, %26 ] %7 = phi i8 [ 61, %2 ], [ %29, %26 ] %8 = phi i32 [ %3, %2 ], [ %30, %26 ] %9 = phi i32 [ 0, %2 ], [ %31, %26 ] %10 = load i8, ptr %5, align 1, !tbaa !9 switch i8 %10, label %16 [ i8 0, label %33 i8 64, label %26 i8 94, label %26 i8 60, label %11 i8 62, label %12 i8 33, label %12 i8 61, label %13 i8 90, label %14 ] 11: ; preds = %4 br label %26 12: ; preds = %4, %4 br label %26 13: ; preds = %4 br label %26 14: ; preds = %4 %15 = getelementptr inbounds i8, ptr %5, i64 1 br label %16 16: ; preds = %4, %14 %17 = phi ptr [ %15, %14 ], [ %5, %4 ] %18 = phi i32 [ 1, %14 ], [ 0, %4 ] %19 = icmp eq i32 %9, 0 br i1 %19, label %20, label %43 20: ; preds = %16 %21 = load i8, ptr %17, align 1, !tbaa !9 %22 = icmp eq i32 %6, 0 %23 = zext i1 %22 to i32 %24 = tail call i32 @_pep3118_letter_to_type(i8 noundef signext %21, i32 noundef %23, i32 noundef %18) #2 %25 = icmp slt i32 %24, 0 br i1 %25, label %43, label %26 26: ; preds = %20, %4, %4, %11, %12, %13 %27 = phi ptr [ %5, %13 ], [ %5, %12 ], [ %5, %11 ], [ %5, %4 ], [ %5, %4 ], [ %17, %20 ] %28 = phi i32 [ 1, %13 ], [ 1, %12 ], [ 1, %11 ], [ 0, %4 ], [ 0, %4 ], [ %6, %20 ] %29 = phi i8 [ %10, %13 ], [ 62, %12 ], [ %10, %11 ], [ 61, %4 ], [ 61, %4 ], [ %7, %20 ] %30 = phi i32 [ %8, %13 ], [ %8, %12 ], [ %8, %11 ], [ %8, %4 ], [ %8, %4 ], [ %24, %20 ] %31 = phi i32 [ %9, %13 ], [ %9, %12 ], [ %9, %11 ], [ %9, %4 ], [ %9, %4 ], [ 1, %20 ] %32 = getelementptr inbounds i8, ptr %27, i64 1 br label %4, !llvm.loop !10 33: ; preds = %4 %34 = icmp eq i32 %9, 0 br i1 %34, label %43, label %35 35: ; preds = %33 %36 = tail call ptr @PyArray_DescrFromType(i32 noundef %8) #2 %37 = icmp eq i8 %7, 61 br i1 %37, label %38, label %39 38: ; preds = %35 store ptr %36, ptr %1, align 8, !tbaa !12 br label %43 39: ; preds = %35 %40 = tail call i64 @PyArray_DescrNewByteorder(ptr noundef %36, i8 noundef signext %7) #2 %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %1, align 8, !tbaa !12 %42 = tail call i32 @Py_DECREF(ptr noundef %36) #2 br label %43 43: ; preds = %20, %16, %38, %39, %33 %44 = phi i32 [ 0, %33 ], [ 1, %39 ], [ 1, %38 ], [ 0, %16 ], [ 0, %20 ] ret i32 %44 } declare i32 @_pep3118_letter_to_type(i8 noundef signext, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @PyArray_DescrFromType(i32 noundef) local_unnamed_addr #1 declare i64 @PyArray_DescrNewByteorder(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @Py_DECREF(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 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/numpy/numpy/core/src/multiarray/extr_buffer.c__descriptor_from_pep3118_format_fast.c' source_filename = "AnghaBench/numpy/numpy/core/src/multiarray/extr_buffer.c__descriptor_from_pep3118_format_fast.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NPY_BYTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @_descriptor_from_pep3118_format_fast], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @_descriptor_from_pep3118_format_fast(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load i32, ptr @NPY_BYTE, align 4, !tbaa !6 br label %4 4: ; preds = %26, %2 %5 = phi ptr [ %0, %2 ], [ %32, %26 ] %6 = phi i32 [ 0, %2 ], [ %28, %26 ] %7 = phi i8 [ 61, %2 ], [ %29, %26 ] %8 = phi i32 [ %3, %2 ], [ %30, %26 ] %9 = phi i32 [ 0, %2 ], [ %31, %26 ] %10 = load i8, ptr %5, align 1, !tbaa !10 switch i8 %10, label %16 [ i8 0, label %33 i8 64, label %26 i8 94, label %26 i8 60, label %11 i8 62, label %12 i8 33, label %12 i8 61, label %13 i8 90, label %14 ] 11: ; preds = %4 br label %26 12: ; preds = %4, %4 br label %26 13: ; preds = %4 br label %26 14: ; preds = %4 %15 = getelementptr inbounds i8, ptr %5, i64 1 br label %16 16: ; preds = %4, %14 %17 = phi ptr [ %15, %14 ], [ %5, %4 ] %18 = phi i32 [ 1, %14 ], [ 0, %4 ] %19 = icmp eq i32 %9, 0 br i1 %19, label %20, label %43 20: ; preds = %16 %21 = load i8, ptr %17, align 1, !tbaa !10 %22 = icmp eq i32 %6, 0 %23 = zext i1 %22 to i32 %24 = tail call i32 @_pep3118_letter_to_type(i8 noundef signext %21, i32 noundef %23, i32 noundef %18) #2 %25 = icmp slt i32 %24, 0 br i1 %25, label %43, label %26 26: ; preds = %20, %4, %4, %11, %12, %13 %27 = phi ptr [ %5, %13 ], [ %5, %12 ], [ %5, %11 ], [ %5, %4 ], [ %5, %4 ], [ %17, %20 ] %28 = phi i32 [ 1, %13 ], [ 1, %12 ], [ 1, %11 ], [ 0, %4 ], [ 0, %4 ], [ %6, %20 ] %29 = phi i8 [ %10, %13 ], [ 62, %12 ], [ %10, %11 ], [ 61, %4 ], [ 61, %4 ], [ %7, %20 ] %30 = phi i32 [ %8, %13 ], [ %8, %12 ], [ %8, %11 ], [ %8, %4 ], [ %8, %4 ], [ %24, %20 ] %31 = phi i32 [ %9, %13 ], [ %9, %12 ], [ %9, %11 ], [ %9, %4 ], [ %9, %4 ], [ 1, %20 ] %32 = getelementptr inbounds i8, ptr %27, i64 1 br label %4, !llvm.loop !11 33: ; preds = %4 %34 = icmp eq i32 %9, 0 br i1 %34, label %43, label %35 35: ; preds = %33 %36 = tail call ptr @PyArray_DescrFromType(i32 noundef %8) #2 %37 = icmp eq i8 %7, 61 br i1 %37, label %38, label %39 38: ; preds = %35 store ptr %36, ptr %1, align 8, !tbaa !13 br label %43 39: ; preds = %35 %40 = tail call i64 @PyArray_DescrNewByteorder(ptr noundef %36, i8 noundef signext %7) #2 %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %1, align 8, !tbaa !13 %42 = tail call i32 @Py_DECREF(ptr noundef %36) #2 br label %43 43: ; preds = %20, %16, %38, %39, %33 %44 = phi i32 [ 0, %33 ], [ 1, %39 ], [ 1, %38 ], [ 0, %16 ], [ 0, %20 ] ret i32 %44 } declare i32 @_pep3118_letter_to_type(i8 noundef signext, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @PyArray_DescrFromType(i32 noundef) local_unnamed_addr #1 declare i64 @PyArray_DescrNewByteorder(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @Py_DECREF(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 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
numpy_numpy_core_src_multiarray_extr_buffer.c__descriptor_from_pep3118_format_fast