IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/RetroArch/menu/drivers/extr_xmb.c_xmb_update_thumbnail_path.c'
source_filename = "AnghaBench/RetroArch/menu/drivers/extr_xmb.c_xmb_update_thumbnail_path.c"
target datalayout = "e-m:e-p270:32:32-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 [12 x i8] c"imageviewer\00", align 1
@MENU_THUMBNAIL_RIGHT = dso_local local_unnamed_addr global i32 0, align 4
@MENU_THUMBNAIL_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xmb_update_thumbnail_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xmb_update_thumbnail_path(ptr noundef readonly %0, i32 %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !5
%5 = icmp eq ptr %0, null
br i1 %5, label %27, label %6
6: ; preds = %3
%7 = load i32, ptr %0, align 4, !tbaa !9
%8 = call i32 @menu_thumbnail_get_core_name(i32 noundef %7, ptr noundef nonnull %4) #3
%9 = load ptr, ptr %4, align 8, !tbaa !5
%10 = call i64 @string_is_equal(ptr noundef %9, ptr noundef nonnull @.str) #3
%11 = icmp eq i64 %10, 0
%12 = icmp eq i8 %2, 82
%13 = or i1 %11, %12
br i1 %13, label %21, label %14
14: ; preds = %6
%15 = icmp eq i8 %2, 76
br i1 %15, label %16, label %27
16: ; preds = %14
%17 = load i32, ptr %0, align 4, !tbaa !9
%18 = load i32, ptr @MENU_THUMBNAIL_RIGHT, align 4, !tbaa !12
%19 = call i32 @menu_thumbnail_is_enabled(i32 noundef %17, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %6, %16
%22 = load i32, ptr %0, align 4, !tbaa !9
%23 = load i32, ptr @MENU_THUMBNAIL_RIGHT, align 4
%24 = load i32, ptr @MENU_THUMBNAIL_LEFT, align 4
%25 = select i1 %12, i32 %23, i32 %24
%26 = call i32 @menu_thumbnail_update_path(i32 noundef %22, i32 noundef %25) #3
br label %27
27: ; preds = %21, %16, %14, %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 @menu_thumbnail_get_core_name(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @string_is_equal(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @menu_thumbnail_is_enabled(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @menu_thumbnail_update_path(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/drivers/extr_xmb.c_xmb_update_thumbnail_path.c'
source_filename = "AnghaBench/RetroArch/menu/drivers/extr_xmb.c_xmb_update_thumbnail_path.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"imageviewer\00", align 1
@MENU_THUMBNAIL_RIGHT = common local_unnamed_addr global i32 0, align 4
@MENU_THUMBNAIL_LEFT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xmb_update_thumbnail_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xmb_update_thumbnail_path(ptr noundef readonly %0, i32 %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store ptr null, ptr %4, align 8, !tbaa !6
%5 = icmp eq ptr %0, null
br i1 %5, label %27, label %6
6: ; preds = %3
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = call i32 @menu_thumbnail_get_core_name(i32 noundef %7, ptr noundef nonnull %4) #3
%9 = load ptr, ptr %4, align 8, !tbaa !6
%10 = call i64 @string_is_equal(ptr noundef %9, ptr noundef nonnull @.str) #3
%11 = icmp eq i64 %10, 0
%12 = icmp eq i8 %2, 82
%13 = or i1 %11, %12
br i1 %13, label %21, label %14
14: ; preds = %6
%15 = icmp eq i8 %2, 76
br i1 %15, label %16, label %27
16: ; preds = %14
%17 = load i32, ptr %0, align 4, !tbaa !10
%18 = load i32, ptr @MENU_THUMBNAIL_RIGHT, align 4, !tbaa !13
%19 = call i32 @menu_thumbnail_is_enabled(i32 noundef %17, i32 noundef %18) #3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %6, %16
%22 = load i32, ptr %0, align 4, !tbaa !10
%23 = load i32, ptr @MENU_THUMBNAIL_RIGHT, align 4
%24 = load i32, ptr @MENU_THUMBNAIL_LEFT, align 4
%25 = select i1 %12, i32 %23, i32 %24
%26 = call i32 @menu_thumbnail_update_path(i32 noundef %22, i32 noundef %25) #3
br label %27
27: ; preds = %21, %16, %14, %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 @menu_thumbnail_get_core_name(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @string_is_equal(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @menu_thumbnail_is_enabled(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @menu_thumbnail_update_path(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| RetroArch_menu_drivers_extr_xmb.c_xmb_update_thumbnail_path |
; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ab8500_fg.c_ab8500_fg_cc_int_calib_handler.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ab8500_fg.c_ab8500_fg_cc_int_calib_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ab8500_fg = type { i32, i32, i32 }
@AB8500_FG_CALIB_END = 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 @ab8500_fg_cc_int_calib_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ab8500_fg_cc_int_calib_handler(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @AB8500_FG_CALIB_END, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.ab8500_fg, ptr %1, i64 0, i32 2
store i32 %3, ptr %4, align 4, !tbaa !9
%5 = getelementptr inbounds %struct.ab8500_fg, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @queue_delayed_work(i32 noundef %6, ptr noundef %1, i32 noundef 0) #2
%8 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5
ret i32 %8
}
declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"ab8500_fg", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/power/supply/extr_ab8500_fg.c_ab8500_fg_cc_int_calib_handler.c'
source_filename = "AnghaBench/linux/drivers/power/supply/extr_ab8500_fg.c_ab8500_fg_cc_int_calib_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AB8500_FG_CALIB_END = 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 @ab8500_fg_cc_int_calib_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ab8500_fg_cc_int_calib_handler(i32 %0, ptr noundef %1) #0 {
%3 = load i32, ptr @AB8500_FG_CALIB_END, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %3, ptr %4, align 4, !tbaa !10
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = tail call i32 @queue_delayed_work(i32 noundef %6, ptr noundef %1, i32 noundef 0) #2
%8 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6
ret i32 %8
}
declare i32 @queue_delayed_work(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"ab8500_fg", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
| linux_drivers_power_supply_extr_ab8500_fg.c_ab8500_fg_cc_int_calib_handler |
; ModuleID = 'AnghaBench/linux/arch/x86/events/extr_core.c_is_x86_event.c'
source_filename = "AnghaBench/linux/arch/x86/events/extr_core.c_is_x86_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@pmu = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_x86_event], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @is_x86_event(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, @pmu
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"perf_event", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/events/extr_core.c_is_x86_event.c'
source_filename = "AnghaBench/linux/arch/x86/events/extr_core.c_is_x86_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pmu = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_x86_event], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @is_x86_event(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, @pmu
%4 = zext i1 %3 to i32
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"perf_event", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_x86_events_extr_core.c_is_x86_event |
; ModuleID = 'AnghaBench/linux/net/x25/extr_x25_timer.c_x25_start_t2timer.c'
source_filename = "AnghaBench/linux/net/x25/extr_x25_timer.c_x25_start_t2timer.c"
target datalayout = "e-m:e-p270:32:32-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.x25_sock = type { i64, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @x25_start_t2timer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @x25_sk(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.x25_sock, ptr %2, i64 0, i32 1
%4 = load i64, ptr @jiffies, align 8, !tbaa !5
%5 = load i64, ptr %2, align 8, !tbaa !9
%6 = add nsw i64 %5, %4
%7 = tail call i32 @mod_timer(ptr noundef nonnull %3, i64 noundef %6) #2
ret void
}
declare ptr @x25_sk(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"x25_sock", !6, i64 0, !11, i64 8}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/x25/extr_x25_timer.c_x25_start_t2timer.c'
source_filename = "AnghaBench/linux/net/x25/extr_x25_timer.c_x25_start_t2timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @x25_start_t2timer(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @x25_sk(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load i64, ptr @jiffies, align 8, !tbaa !6
%5 = load i64, ptr %2, align 8, !tbaa !10
%6 = add nsw i64 %5, %4
%7 = tail call i32 @mod_timer(ptr noundef nonnull %3, i64 noundef %6) #2
ret void
}
declare ptr @x25_sk(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"x25_sock", !7, i64 0, !12, i64 8}
!12 = !{!"int", !8, i64 0}
| linux_net_x25_extr_x25_timer.c_x25_start_t2timer |
; ModuleID = 'AnghaBench/systemd/src/core/extr_bpf-firewall.c_bpf_firewall_read_accounting.c'
source_filename = "AnghaBench/systemd/src/core/extr_bpf-firewall.c_bpf_firewall_read_accounting.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EBADF = dso_local local_unnamed_addr global i32 0, align 4
@MAP_KEY_PACKETS = dso_local local_unnamed_addr global i32 0, align 4
@MAP_KEY_BYTES = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bpf_firewall_read_accounting(i32 noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 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
%6 = icmp slt i32 %0, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EBADF, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %28
10: ; preds = %3
%11 = icmp eq ptr %2, null
br i1 %11, label %16, label %12
12: ; preds = %10
%13 = load i32, ptr @MAP_KEY_PACKETS, align 4, !tbaa !5
store i32 %13, ptr %4, align 4, !tbaa !5
%14 = call i32 @bpf_map_lookup_element(i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%15 = icmp slt i32 %14, 0
br i1 %15, label %28, label %18
16: ; preds = %10
%17 = icmp eq ptr %1, null
br i1 %17, label %28, label %20
18: ; preds = %12
%19 = icmp eq ptr %1, null
br i1 %19, label %26, label %20
20: ; preds = %18, %16
%21 = load i32, ptr @MAP_KEY_BYTES, align 4, !tbaa !5
store i32 %21, ptr %4, align 4, !tbaa !5
%22 = call i32 @bpf_map_lookup_element(i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %1) #4
%23 = icmp slt i32 %22, 0
%24 = or i1 %11, %23
%25 = call i32 @llvm.smin.i32(i32 %22, i32 0)
br i1 %24, label %28, label %26
26: ; preds = %18, %20
%27 = load i32, ptr %5, align 4, !tbaa !5
store i32 %27, ptr %2, align 4, !tbaa !5
br label %28
28: ; preds = %16, %20, %26, %12, %7
%29 = phi i32 [ %9, %7 ], [ %14, %12 ], [ %25, %20 ], [ 0, %26 ], [ 0, %16 ]
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 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bpf_map_lookup_element(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_bpf-firewall.c_bpf_firewall_read_accounting.c'
source_filename = "AnghaBench/systemd/src/core/extr_bpf-firewall.c_bpf_firewall_read_accounting.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EBADF = common local_unnamed_addr global i32 0, align 4
@MAP_KEY_PACKETS = common local_unnamed_addr global i32 0, align 4
@MAP_KEY_BYTES = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bpf_firewall_read_accounting(i32 noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 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
%6 = icmp slt i32 %0, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr @EBADF, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %28
10: ; preds = %3
%11 = icmp eq ptr %2, null
br i1 %11, label %16, label %12
12: ; preds = %10
%13 = load i32, ptr @MAP_KEY_PACKETS, align 4, !tbaa !6
store i32 %13, ptr %4, align 4, !tbaa !6
%14 = call i32 @bpf_map_lookup_element(i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5) #4
%15 = icmp slt i32 %14, 0
br i1 %15, label %28, label %18
16: ; preds = %10
%17 = icmp eq ptr %1, null
br i1 %17, label %28, label %20
18: ; preds = %12
%19 = icmp eq ptr %1, null
br i1 %19, label %26, label %20
20: ; preds = %18, %16
%21 = load i32, ptr @MAP_KEY_BYTES, align 4, !tbaa !6
store i32 %21, ptr %4, align 4, !tbaa !6
%22 = call i32 @bpf_map_lookup_element(i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %1) #4
%23 = icmp slt i32 %22, 0
%24 = or i1 %11, %23
%25 = call i32 @llvm.smin.i32(i32 %22, i32 0)
br i1 %24, label %28, label %26
26: ; preds = %18, %20
%27 = load i32, ptr %5, align 4, !tbaa !6
store i32 %27, ptr %2, align 4, !tbaa !6
br label %28
28: ; preds = %16, %20, %26, %12, %7
%29 = phi i32 [ %9, %7 ], [ %14, %12 ], [ %25, %20 ], [ 0, %26 ], [ 0, %16 ]
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 %29
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bpf_map_lookup_element(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| systemd_src_core_extr_bpf-firewall.c_bpf_firewall_read_accounting |
; ModuleID = 'AnghaBench/jemalloc/test/unit/extr_decay.c_do_arena_create.c'
source_filename = "AnghaBench/jemalloc/test/unit/extr_decay.c_do_arena_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"arenas.create\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Unexpected mallctl() failure\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"arena.0.dirty_decay_ms\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Unexpected mallctlnametomib() failure\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Unexpected mallctlbymib() failure\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"arena.0.muzzy_decay_ms\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_arena_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @do_arena_create(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca [3 x i64], align 16
%8 = alloca i64, align 8
store i32 %0, ptr %3, align 4, !tbaa !5
store i32 %1, ptr %4, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 4, ptr %6, align 8, !tbaa !9
%9 = call i32 @mallctl(ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%10 = call i32 @assert_d_eq(i32 noundef %9, i32 noundef 0, ptr noundef nonnull @.str.1) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i64 3, ptr %8, align 8, !tbaa !9
%11 = call i32 @mallctlnametomib(ptr noundef nonnull @.str.2, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%12 = call i32 @assert_d_eq(i32 noundef %11, i32 noundef 0, ptr noundef nonnull @.str.3) #3
%13 = load i32, ptr %5, align 4, !tbaa !5
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds [3 x i64], ptr %7, i64 0, i64 1
store i64 %14, ptr %15, align 8, !tbaa !9
%16 = load i64, ptr %8, align 8, !tbaa !9
%17 = call i32 @mallctlbymib(ptr noundef nonnull %7, i64 noundef %16, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 4) #3
%18 = call i32 @assert_d_eq(i32 noundef %17, i32 noundef 0, ptr noundef nonnull @.str.4) #3
%19 = call i32 @mallctlnametomib(ptr noundef nonnull @.str.5, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%20 = call i32 @assert_d_eq(i32 noundef %19, i32 noundef 0, ptr noundef nonnull @.str.3) #3
%21 = load i32, ptr %5, align 4, !tbaa !5
%22 = zext i32 %21 to i64
store i64 %22, ptr %15, align 8, !tbaa !9
%23 = load i64, ptr %8, align 8, !tbaa !9
%24 = call i32 @mallctlbymib(ptr noundef nonnull %7, i64 noundef %23, ptr noundef null, ptr noundef null, ptr noundef nonnull %4, i32 noundef 4) #3
%25 = call i32 @assert_d_eq(i32 noundef %24, i32 noundef 0, ptr noundef nonnull @.str.4) #3
%26 = load i32, ptr %5, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mallctlnametomib(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlbymib(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/jemalloc/test/unit/extr_decay.c_do_arena_create.c'
source_filename = "AnghaBench/jemalloc/test/unit/extr_decay.c_do_arena_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [14 x i8] c"arenas.create\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Unexpected mallctl() failure\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"arena.0.dirty_decay_ms\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"Unexpected mallctlnametomib() failure\00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"Unexpected mallctlbymib() failure\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"arena.0.muzzy_decay_ms\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @do_arena_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @do_arena_create(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca [3 x i64], align 8
%8 = alloca i64, align 8
store i32 %0, ptr %3, align 4, !tbaa !6
store i32 %1, ptr %4, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
store i64 4, ptr %6, align 8, !tbaa !10
%9 = call i32 @mallctl(ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef null, i32 noundef 0) #3
%10 = call i32 @assert_d_eq(i32 noundef %9, i32 noundef 0, ptr noundef nonnull @.str.1) #3
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
store i64 3, ptr %8, align 8, !tbaa !10
%11 = call i32 @mallctlnametomib(ptr noundef nonnull @.str.2, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%12 = call i32 @assert_d_eq(i32 noundef %11, i32 noundef 0, ptr noundef nonnull @.str.3) #3
%13 = load i32, ptr %5, align 4, !tbaa !6
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %7, i64 8
store i64 %14, ptr %15, align 8, !tbaa !10
%16 = load i64, ptr %8, align 8, !tbaa !10
%17 = call i32 @mallctlbymib(ptr noundef nonnull %7, i64 noundef %16, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, i32 noundef 4) #3
%18 = call i32 @assert_d_eq(i32 noundef %17, i32 noundef 0, ptr noundef nonnull @.str.4) #3
%19 = call i32 @mallctlnametomib(ptr noundef nonnull @.str.5, ptr noundef nonnull %7, ptr noundef nonnull %8) #3
%20 = call i32 @assert_d_eq(i32 noundef %19, i32 noundef 0, ptr noundef nonnull @.str.3) #3
%21 = load i32, ptr %5, align 4, !tbaa !6
%22 = zext i32 %21 to i64
store i64 %22, ptr %15, align 8, !tbaa !10
%23 = load i64, ptr %8, align 8, !tbaa !10
%24 = call i32 @mallctlbymib(ptr noundef nonnull %7, i64 noundef %23, ptr noundef null, ptr noundef null, ptr noundef nonnull %4, i32 noundef 4) #3
%25 = call i32 @assert_d_eq(i32 noundef %24, i32 noundef 0, ptr noundef nonnull @.str.4) #3
%26 = load i32, ptr %5, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @assert_d_eq(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctl(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mallctlnametomib(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mallctlbymib(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| jemalloc_test_unit_extr_decay.c_do_arena_create |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/spi/extr_spi_bitbang.c_spi_bitbang_transfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/spi/extr_spi_bitbang.c_spi_bitbang_transfer.c"
target datalayout = "e-m:e-p270:32:32-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.spi_message = type { i32, i32, i64 }
%struct.spi_device = type { i32, i32 }
%struct.spi_bitbang = type { i32, i32, i32, i32 }
@EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@ENETDOWN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @spi_bitbang_transfer(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.spi_message, ptr %1, i64 0, i32 2
store i64 0, ptr %3, align 8, !tbaa !5
%4 = load i32, ptr @EINPROGRESS, align 4, !tbaa !11
%5 = sub nsw i32 0, %4
%6 = getelementptr inbounds %struct.spi_message, ptr %1, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = getelementptr inbounds %struct.spi_device, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call ptr @spi_master_get_devdata(i32 noundef %8) #2
%10 = tail call i32 @spin_lock_irqsave(ptr noundef %9, i64 noundef undef) #2
%11 = load i32, ptr %0, align 4, !tbaa !15
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @ENETDOWN, align 4, !tbaa !11
%15 = sub nsw i32 0, %14
br label %23
16: ; preds = %2
%17 = getelementptr inbounds %struct.spi_bitbang, ptr %9, i64 0, i32 3
%18 = tail call i32 @list_add_tail(ptr noundef nonnull %1, ptr noundef nonnull %17) #2
%19 = getelementptr inbounds %struct.spi_bitbang, ptr %9, i64 0, i32 2
%20 = load i32, ptr %19, align 4, !tbaa !16
%21 = getelementptr inbounds %struct.spi_bitbang, ptr %9, i64 0, i32 1
%22 = tail call i32 @queue_work(i32 noundef %20, ptr noundef nonnull %21) #2
br label %23
23: ; preds = %16, %13
%24 = phi i32 [ 0, %16 ], [ %15, %13 ]
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef %9, i64 noundef undef) #2
ret i32 %24
}
declare ptr @spi_master_get_devdata(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"spi_message", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !7, i64 4}
!14 = !{!"spi_device", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
!16 = !{!17, !7, i64 8}
!17 = !{!"spi_bitbang", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/spi/extr_spi_bitbang.c_spi_bitbang_transfer.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/spi/extr_spi_bitbang.c_spi_bitbang_transfer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINPROGRESS = common local_unnamed_addr global i32 0, align 4
@ENETDOWN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @spi_bitbang_transfer(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
store i64 0, ptr %3, align 8, !tbaa !6
%4 = load i32, ptr @EINPROGRESS, align 4, !tbaa !12
%5 = sub nsw i32 0, %4
%6 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %5, ptr %6, align 4, !tbaa !13
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !14
%9 = tail call ptr @spi_master_get_devdata(i32 noundef %8) #2
%10 = tail call i32 @spin_lock_irqsave(ptr noundef %9, i64 noundef undef) #2
%11 = load i32, ptr %0, align 4, !tbaa !16
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @ENETDOWN, align 4, !tbaa !12
%15 = sub nsw i32 0, %14
br label %23
16: ; preds = %2
%17 = getelementptr inbounds i8, ptr %9, i64 12
%18 = tail call i32 @list_add_tail(ptr noundef nonnull %1, ptr noundef nonnull %17) #2
%19 = getelementptr inbounds i8, ptr %9, i64 8
%20 = load i32, ptr %19, align 4, !tbaa !17
%21 = getelementptr inbounds i8, ptr %9, i64 4
%22 = tail call i32 @queue_work(i32 noundef %20, ptr noundef nonnull %21) #2
br label %23
23: ; preds = %16, %13
%24 = phi i32 [ 0, %16 ], [ %15, %13 ]
%25 = tail call i32 @spin_unlock_irqrestore(ptr noundef %9, i64 noundef undef) #2
ret i32 %24
}
declare ptr @spi_master_get_devdata(i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @queue_work(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"spi_message", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!15, !8, i64 4}
!15 = !{!"spi_device", !8, i64 0, !8, i64 4}
!16 = !{!15, !8, i64 0}
!17 = !{!18, !8, i64 8}
!18 = !{!"spi_bitbang", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
| fastsocket_kernel_drivers_spi_extr_spi_bitbang.c_spi_bitbang_transfer |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/phy/extr_mdio-bitbang.c_free_mdio_bitbang.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/phy/extr_mdio-bitbang.c_free_mdio_bitbang.c"
target datalayout = "e-m:e-p270:32:32-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 @free_mdio_bitbang(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = tail call i32 @module_put(i32 noundef %4) #2
%6 = tail call i32 @mdiobus_free(ptr noundef nonnull %0) #2
ret void
}
declare i32 @module_put(i32 noundef) local_unnamed_addr #1
declare i32 @mdiobus_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mii_bus", !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 = !{!"mdiobb_ctrl", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/phy/extr_mdio-bitbang.c_free_mdio_bitbang.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/phy/extr_mdio-bitbang.c_free_mdio_bitbang.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 @free_mdio_bitbang(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr %3, align 4, !tbaa !13
%5 = tail call i32 @module_put(i32 noundef %4) #2
%6 = tail call i32 @mdiobus_free(ptr noundef nonnull %0) #2
ret void
}
declare i32 @module_put(i32 noundef) local_unnamed_addr #1
declare i32 @mdiobus_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mii_bus", !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 = !{!"mdiobb_ctrl", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_net_phy_extr_mdio-bitbang.c_free_mdio_bitbang |
; ModuleID = 'AnghaBench/fastdfs/tracker/extr_tracker_proto.c_fdfs_validate_group_name.c'
source_filename = "AnghaBench/fastdfs/tracker/extr_tracker_proto.c_fdfs_validate_group_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @fdfs_validate_group_name(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %24
6: ; preds = %1
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, ptr %0, i64 %7
%9 = icmp sgt i32 %2, 0
br i1 %9, label %13, label %24
10: ; preds = %13
%11 = getelementptr inbounds i8, ptr %14, i64 1
%12 = icmp ult ptr %11, %8
br i1 %12, label %13, label %24, !llvm.loop !9
13: ; preds = %6, %10
%14 = phi ptr [ %11, %10 ], [ %0, %6 ]
%15 = load i8, ptr %14, align 1, !tbaa !11
%16 = and i8 %15, -33
%17 = add i8 %16, -65
%18 = icmp ult i8 %17, 26
%19 = add i8 %15, -48
%20 = icmp ult i8 %19, 10
%21 = or i1 %20, %18
br i1 %21, label %10, label %22
22: ; preds = %13
%23 = load i32, ptr @EINVAL, align 4, !tbaa !5
br label %24
24: ; preds = %10, %6, %22, %4
%25 = phi i32 [ %5, %4 ], [ %23, %22 ], [ 0, %6 ], [ 0, %10 ]
ret i32 %25
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastdfs/tracker/extr_tracker_proto.c_fdfs_validate_group_name.c'
source_filename = "AnghaBench/fastdfs/tracker/extr_tracker_proto.c_fdfs_validate_group_name.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fdfs_validate_group_name(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @strlen(ptr noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %24
6: ; preds = %1
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, ptr %0, i64 %7
%9 = icmp sgt i32 %2, 0
br i1 %9, label %13, label %24
10: ; preds = %13
%11 = getelementptr inbounds i8, ptr %14, i64 1
%12 = icmp ult ptr %11, %8
br i1 %12, label %13, label %24, !llvm.loop !10
13: ; preds = %6, %10
%14 = phi ptr [ %11, %10 ], [ %0, %6 ]
%15 = load i8, ptr %14, align 1, !tbaa !12
%16 = and i8 %15, -33
%17 = add i8 %16, -65
%18 = icmp ult i8 %17, 26
%19 = add i8 %15, -48
%20 = icmp ult i8 %19, 10
%21 = or i1 %20, %18
br i1 %21, label %10, label %22
22: ; preds = %13
%23 = load i32, ptr @EINVAL, align 4, !tbaa !6
br label %24
24: ; preds = %10, %6, %22, %4
%25 = phi i32 [ %5, %4 ], [ %23, %22 ], [ 0, %6 ], [ 0, %10 ]
ret i32 %25
}
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!8, !8, i64 0}
| fastdfs_tracker_extr_tracker_proto.c_fdfs_validate_group_name |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Layer3.c_L3RecvArp.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Layer3.c_L3RecvArp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { ptr }
%struct.TYPE_9__ = type { i32, i32, i32, i32, i32, i32 }
@ARP_HARDWARE_TYPE_ETHERNET = dso_local local_unnamed_addr global i32 0, align 4
@MAC_PROTO_IPV4 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @L3RecvArp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %41, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 5
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 @Endian16(i32 noundef %10) #2
%12 = load i32, ptr @ARP_HARDWARE_TYPE_ETHERNET, align 4, !tbaa !14
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %41
14: ; preds = %6
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 4
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = tail call i32 @Endian16(i32 noundef %16) #2
%18 = load i32, ptr @MAC_PROTO_IPV4, align 4, !tbaa !14
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %41
20: ; preds = %14
%21 = load i32, ptr %8, align 4, !tbaa !16
%22 = icmp eq i32 %21, 6
br i1 %22, label %23, label %41
23: ; preds = %20
%24 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 1
%25 = load i32, ptr %24, align 4, !tbaa !17
%26 = icmp eq i32 %25, 4
br i1 %26, label %27, label %41
27: ; preds = %23
%28 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 3
%29 = load i32, ptr %28, align 4, !tbaa !18
%30 = load i32, ptr %1, align 8, !tbaa !19
%31 = tail call i64 @Cmp(i32 noundef %29, i32 noundef %30, i32 noundef 6) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %41
33: ; preds = %27
%34 = getelementptr inbounds %struct.TYPE_9__, ptr %8, i64 0, i32 2
%35 = load i32, ptr %34, align 4, !tbaa !20
%36 = tail call i32 @Endian16(i32 noundef %35) #2
switch i32 %36, label %41 [
i32 129, label %37
i32 128, label %39
]
37: ; preds = %33
%38 = tail call i32 @L3RecvArpRequest(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %41
39: ; preds = %33
%40 = tail call i32 @L3RecvArpResponse(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %41
41: ; preds = %37, %39, %33, %27, %6, %14, %20, %23, %2
ret void
}
declare i32 @Endian16(i32 noundef) local_unnamed_addr #1
declare i64 @Cmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @L3RecvArpRequest(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @L3RecvArpResponse(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 8}
!6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_7__", !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 20}
!13 = !{!"TYPE_9__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !7, i64 16}
!16 = !{!13, !7, i64 0}
!17 = !{!13, !7, i64 4}
!18 = !{!13, !7, i64 12}
!19 = !{!6, !7, i64 0}
!20 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Layer3.c_L3RecvArp.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Layer3.c_L3RecvArp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ARP_HARDWARE_TYPE_ETHERNET = common local_unnamed_addr global i32 0, align 4
@MAC_PROTO_IPV4 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @L3RecvArp(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = icmp eq ptr %0, null
%4 = icmp eq ptr %1, null
%5 = or i1 %3, %4
br i1 %5, label %41, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %8, i64 20
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = tail call i32 @Endian16(i32 noundef %10) #2
%12 = load i32, ptr @ARP_HARDWARE_TYPE_ETHERNET, align 4, !tbaa !15
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %41
14: ; preds = %6
%15 = getelementptr inbounds i8, ptr %8, i64 16
%16 = load i32, ptr %15, align 4, !tbaa !16
%17 = tail call i32 @Endian16(i32 noundef %16) #2
%18 = load i32, ptr @MAC_PROTO_IPV4, align 4, !tbaa !15
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %41
20: ; preds = %14
%21 = load i32, ptr %8, align 4, !tbaa !17
%22 = icmp eq i32 %21, 6
br i1 %22, label %23, label %41
23: ; preds = %20
%24 = getelementptr inbounds i8, ptr %8, i64 4
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = icmp eq i32 %25, 4
br i1 %26, label %27, label %41
27: ; preds = %23
%28 = getelementptr inbounds i8, ptr %8, i64 12
%29 = load i32, ptr %28, align 4, !tbaa !19
%30 = load i32, ptr %1, align 8, !tbaa !20
%31 = tail call i64 @Cmp(i32 noundef %29, i32 noundef %30, i32 noundef 6) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %41
33: ; preds = %27
%34 = getelementptr inbounds i8, ptr %8, i64 8
%35 = load i32, ptr %34, align 4, !tbaa !21
%36 = tail call i32 @Endian16(i32 noundef %35) #2
switch i32 %36, label %41 [
i32 129, label %37
i32 128, label %39
]
37: ; preds = %33
%38 = tail call i32 @L3RecvArpRequest(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %41
39: ; preds = %33
%40 = tail call i32 @L3RecvArpResponse(ptr noundef nonnull %0, ptr noundef nonnull %1) #2
br label %41
41: ; preds = %37, %39, %33, %27, %6, %14, %20, %23, %2
ret void
}
declare i32 @Endian16(i32 noundef) local_unnamed_addr #1
declare i64 @Cmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @L3RecvArpRequest(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @L3RecvArpResponse(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 8}
!7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_7__", !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 20}
!14 = !{!"TYPE_9__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20}
!15 = !{!8, !8, i64 0}
!16 = !{!14, !8, i64 16}
!17 = !{!14, !8, i64 0}
!18 = !{!14, !8, i64 4}
!19 = !{!14, !8, i64 12}
!20 = !{!7, !8, i64 0}
!21 = !{!14, !8, i64 8}
| SoftEtherVPN_src_Cedar_extr_Layer3.c_L3RecvArp |
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_e500.c_kvmppc_mmu_msr_notify.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500.c_kvmppc_mmu_msr_notify.c"
target datalayout = "e-m:e-p270:32:32-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 @kvmppc_mmu_msr_notify(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @to_e500(ptr noundef %0) #2
%4 = tail call i32 @kvmppc_e500_recalc_shadow_pid(i32 noundef %3) #2
ret void
}
declare i32 @kvmppc_e500_recalc_shadow_pid(i32 noundef) local_unnamed_addr #1
declare i32 @to_e500(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/arch/powerpc/kvm/extr_e500.c_kvmppc_mmu_msr_notify.c'
source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_e500.c_kvmppc_mmu_msr_notify.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 @kvmppc_mmu_msr_notify(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @to_e500(ptr noundef %0) #2
%4 = tail call i32 @kvmppc_e500_recalc_shadow_pid(i32 noundef %3) #2
ret void
}
declare i32 @kvmppc_e500_recalc_shadow_pid(i32 noundef) local_unnamed_addr #1
declare i32 @to_e500(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_arch_powerpc_kvm_extr_e500.c_kvmppc_mmu_msr_notify |
; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_playback_open.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_playback_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snd_rme9652 = type { ptr, i32, i32, i32, i32, ptr, i32, ptr, i32 }
%struct.snd_pcm_runtime = type { i32, i32, i32 }
%struct.TYPE_5__ = type { i32, ptr }
@snd_rme9652_playback_subinfo = dso_local local_unnamed_addr global i32 0, align 4
@RME9652_DMA_AREA_BYTES = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global ptr null, align 8
@SNDRV_PCM_HW_PARAM_PERIOD_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@hw_constraints_period_sizes = dso_local global i32 0, align 4
@SNDRV_PCM_HW_PARAM_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_channels = dso_local local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_channels_rate = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_HW_PARAM_RATE = dso_local local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_rate_channels = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_ELEM_ACCESS_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_EVENT_MASK_VALUE = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_EVENT_MASK_INFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme9652_playback_open], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_rme9652_playback_open(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 4
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = tail call i32 @snd_pcm_set_sync(ptr noundef nonnull %0) #2
%7 = load i32, ptr @snd_rme9652_playback_subinfo, align 4, !tbaa !10
%8 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %3, i64 0, i32 2
store i32 %7, ptr %8, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 8
%10 = load i32, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.snd_pcm_runtime, ptr %3, i64 0, i32 1
store i32 %10, ptr %11, align 4, !tbaa !16
%12 = load i32, ptr @RME9652_DMA_AREA_BYTES, align 4, !tbaa !10
store i32 %12, ptr %3, align 4, !tbaa !17
%13 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 7
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %1
%17 = tail call i32 @rme9652_stop(ptr noundef nonnull %2) #2
%18 = tail call i32 @rme9652_set_thru(ptr noundef nonnull %2, i32 noundef -1, i32 noundef 0) #2
br label %19
19: ; preds = %16, %1
%20 = load ptr, ptr @current, align 8, !tbaa !19
%21 = load i32, ptr %20, align 4, !tbaa !20
%22 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 6
store i32 %21, ptr %22, align 8, !tbaa !22
%23 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 5
store ptr %0, ptr %23, align 8, !tbaa !23
%24 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%25 = tail call i32 @snd_pcm_hw_constraint_msbits(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32, i32 noundef 24) #2
%26 = load i32, ptr @SNDRV_PCM_HW_PARAM_PERIOD_SIZE, align 4, !tbaa !10
%27 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %26, ptr noundef nonnull @hw_constraints_period_sizes) #2
%28 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !10
%29 = load i32, ptr @snd_rme9652_hw_rule_channels, align 4, !tbaa !10
%30 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %28, i32 noundef %29, ptr noundef nonnull %2, i32 noundef %28, i32 noundef -1) #2
%31 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !10
%32 = load i32, ptr @snd_rme9652_hw_rule_channels_rate, align 4, !tbaa !10
%33 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !10
%34 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %31, i32 noundef %32, ptr noundef nonnull %2, i32 noundef %33, i32 noundef -1) #2
%35 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !10
%36 = load i32, ptr @snd_rme9652_hw_rule_rate_channels, align 4, !tbaa !10
%37 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !10
%38 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %2, i32 noundef %37, i32 noundef -1) #2
%39 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 2
%40 = load i32, ptr %39, align 4, !tbaa !24
%41 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 3
store i32 %40, ptr %41, align 8, !tbaa !25
%42 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_INACTIVE, align 4, !tbaa !10
%43 = xor i32 %42, -1
%44 = load ptr, ptr %2, align 8, !tbaa !26
%45 = getelementptr inbounds %struct.TYPE_5__, ptr %44, i64 0, i32 1
%46 = load ptr, ptr %45, align 8, !tbaa !27
%47 = load i32, ptr %46, align 4, !tbaa !29
%48 = and i32 %47, %43
store i32 %48, ptr %46, align 4, !tbaa !29
%49 = getelementptr inbounds %struct.snd_rme9652, ptr %2, i64 0, i32 1
%50 = load i32, ptr %49, align 8, !tbaa !31
%51 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !10
%52 = load i32, ptr @SNDRV_CTL_EVENT_MASK_INFO, align 4, !tbaa !10
%53 = or i32 %52, %51
%54 = tail call i32 @snd_ctl_notify(i32 noundef %50, i32 noundef %53, ptr noundef %44) #2
ret i32 0
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_set_sync(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_stop(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_thru(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_msbits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_rule_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_pcm_substream", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"snd_pcm_runtime", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!15, !11, i64 48}
!15 = !{!"snd_rme9652", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !11, i64 32, !7, i64 40, !11, i64 48}
!16 = !{!13, !11, i64 4}
!17 = !{!13, !11, i64 0}
!18 = !{!15, !7, i64 40}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_6__", !11, i64 0}
!22 = !{!15, !11, i64 32}
!23 = !{!15, !7, i64 24}
!24 = !{!15, !11, i64 12}
!25 = !{!15, !11, i64 16}
!26 = !{!15, !7, i64 0}
!27 = !{!28, !7, i64 8}
!28 = !{!"TYPE_5__", !11, i64 0, !7, i64 8}
!29 = !{!30, !11, i64 0}
!30 = !{!"TYPE_4__", !11, i64 0}
!31 = !{!15, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_playback_open.c'
source_filename = "AnghaBench/linux/sound/pci/rme9652/extr_rme9652.c_snd_rme9652_playback_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@snd_rme9652_playback_subinfo = common local_unnamed_addr global i32 0, align 4
@RME9652_DMA_AREA_BYTES = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global ptr null, align 8
@SNDRV_PCM_HW_PARAM_PERIOD_SIZE = common local_unnamed_addr global i32 0, align 4
@hw_constraints_period_sizes = common global i32 0, align 4
@SNDRV_PCM_HW_PARAM_CHANNELS = common local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_channels = common local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_channels_rate = common local_unnamed_addr global i32 0, align 4
@SNDRV_PCM_HW_PARAM_RATE = common local_unnamed_addr global i32 0, align 4
@snd_rme9652_hw_rule_rate_channels = common local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_ELEM_ACCESS_INACTIVE = common local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_EVENT_MASK_VALUE = common local_unnamed_addr global i32 0, align 4
@SNDRV_CTL_EVENT_MASK_INFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @snd_rme9652_playback_open], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_rme9652_playback_open(ptr noundef %0) #0 {
%2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 20
%5 = tail call i32 @spin_lock_irq(ptr noundef nonnull %4) #2
%6 = tail call i32 @snd_pcm_set_sync(ptr noundef nonnull %0) #2
%7 = load i32, ptr @snd_rme9652_playback_subinfo, align 4, !tbaa !11
%8 = getelementptr inbounds i8, ptr %3, i64 8
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = getelementptr inbounds i8, ptr %2, i64 48
%10 = load i32, ptr %9, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %10, ptr %11, align 4, !tbaa !17
%12 = load i32, ptr @RME9652_DMA_AREA_BYTES, align 4, !tbaa !11
store i32 %12, ptr %3, align 4, !tbaa !18
%13 = getelementptr inbounds i8, ptr %2, i64 40
%14 = load ptr, ptr %13, align 8, !tbaa !19
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %1
%17 = tail call i32 @rme9652_stop(ptr noundef nonnull %2) #2
%18 = tail call i32 @rme9652_set_thru(ptr noundef nonnull %2, i32 noundef -1, i32 noundef 0) #2
br label %19
19: ; preds = %16, %1
%20 = load ptr, ptr @current, align 8, !tbaa !20
%21 = load i32, ptr %20, align 4, !tbaa !21
%22 = getelementptr inbounds i8, ptr %2, i64 32
store i32 %21, ptr %22, align 8, !tbaa !23
%23 = getelementptr inbounds i8, ptr %2, i64 24
store ptr %0, ptr %23, align 8, !tbaa !24
%24 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %4) #2
%25 = tail call i32 @snd_pcm_hw_constraint_msbits(ptr noundef nonnull %3, i32 noundef 0, i32 noundef 32, i32 noundef 24) #2
%26 = load i32, ptr @SNDRV_PCM_HW_PARAM_PERIOD_SIZE, align 4, !tbaa !11
%27 = tail call i32 @snd_pcm_hw_constraint_list(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %26, ptr noundef nonnull @hw_constraints_period_sizes) #2
%28 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !11
%29 = load i32, ptr @snd_rme9652_hw_rule_channels, align 4, !tbaa !11
%30 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %28, i32 noundef %29, ptr noundef nonnull %2, i32 noundef %28, i32 noundef -1) #2
%31 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !11
%32 = load i32, ptr @snd_rme9652_hw_rule_channels_rate, align 4, !tbaa !11
%33 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !11
%34 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %31, i32 noundef %32, ptr noundef nonnull %2, i32 noundef %33, i32 noundef -1) #2
%35 = load i32, ptr @SNDRV_PCM_HW_PARAM_RATE, align 4, !tbaa !11
%36 = load i32, ptr @snd_rme9652_hw_rule_rate_channels, align 4, !tbaa !11
%37 = load i32, ptr @SNDRV_PCM_HW_PARAM_CHANNELS, align 4, !tbaa !11
%38 = tail call i32 @snd_pcm_hw_rule_add(ptr noundef nonnull %3, i32 noundef 0, i32 noundef %35, i32 noundef %36, ptr noundef nonnull %2, i32 noundef %37, i32 noundef -1) #2
%39 = getelementptr inbounds i8, ptr %2, i64 12
%40 = load i32, ptr %39, align 4, !tbaa !25
%41 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %40, ptr %41, align 8, !tbaa !26
%42 = load i32, ptr @SNDRV_CTL_ELEM_ACCESS_INACTIVE, align 4, !tbaa !11
%43 = xor i32 %42, -1
%44 = load ptr, ptr %2, align 8, !tbaa !27
%45 = getelementptr inbounds i8, ptr %44, i64 8
%46 = load ptr, ptr %45, align 8, !tbaa !28
%47 = load i32, ptr %46, align 4, !tbaa !30
%48 = and i32 %47, %43
store i32 %48, ptr %46, align 4, !tbaa !30
%49 = getelementptr inbounds i8, ptr %2, i64 8
%50 = load i32, ptr %49, align 8, !tbaa !32
%51 = load i32, ptr @SNDRV_CTL_EVENT_MASK_VALUE, align 4, !tbaa !11
%52 = load i32, ptr @SNDRV_CTL_EVENT_MASK_INFO, align 4, !tbaa !11
%53 = or i32 %52, %51
%54 = tail call i32 @snd_ctl_notify(i32 noundef %50, i32 noundef %53, ptr noundef %44) #2
ret i32 0
}
declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_set_sync(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_stop(ptr noundef) local_unnamed_addr #1
declare i32 @rme9652_set_thru(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_msbits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_constraint_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @snd_pcm_hw_rule_add(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_ctl_notify(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_pcm_substream", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"snd_pcm_runtime", !12, i64 0, !12, i64 4, !12, i64 8}
!15 = !{!16, !12, i64 48}
!16 = !{!"snd_rme9652", !8, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !8, i64 24, !12, i64 32, !8, i64 40, !12, i64 48}
!17 = !{!14, !12, i64 4}
!18 = !{!14, !12, i64 0}
!19 = !{!16, !8, i64 40}
!20 = !{!8, !8, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_6__", !12, i64 0}
!23 = !{!16, !12, i64 32}
!24 = !{!16, !8, i64 24}
!25 = !{!16, !12, i64 12}
!26 = !{!16, !12, i64 16}
!27 = !{!16, !8, i64 0}
!28 = !{!29, !8, i64 8}
!29 = !{!"TYPE_5__", !12, i64 0, !8, i64 8}
!30 = !{!31, !12, i64 0}
!31 = !{!"TYPE_4__", !12, i64 0}
!32 = !{!16, !12, i64 8}
| linux_sound_pci_rme9652_extr_rme9652.c_snd_rme9652_playback_open |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap1/extr_board-nokia770.c_nokia770_mmc_init.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap1/extr_board-nokia770.c_nokia770_mmc_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @nokia770_mmc_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @nokia770_mmc_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap1/extr_board-nokia770.c_nokia770_mmc_init.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap1/extr_board-nokia770.c_nokia770_mmc_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @nokia770_mmc_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @nokia770_mmc_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_arm_mach-omap1_extr_board-nokia770.c_nokia770_mmc_init |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_fileerror.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_fileerror.c"
target datalayout = "e-m:e-p270:32:32-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 [7 x i8] c"%s: %s\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fileerror], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @fileerror(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @errno, align 4, !tbaa !5
%5 = tail call i32 @strerror(i32 noundef %4) #2
%6 = tail call i32 @lua_pushfstring(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %5) #2
%7 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%8 = tail call i32 @luaL_argerror(ptr noundef %0, i32 noundef %1, i32 noundef %7) #2
ret void
}
declare i32 @lua_pushfstring(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @luaL_argerror(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_tostring(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/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_fileerror.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b3/src/host/extr_minilua.c_fileerror.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 [7 x i8] c"%s: %s\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fileerror], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @fileerror(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @errno, align 4, !tbaa !6
%5 = tail call i32 @strerror(i32 noundef %4) #2
%6 = tail call i32 @lua_pushfstring(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %2, i32 noundef %5) #2
%7 = tail call i32 @lua_tostring(ptr noundef %0, i32 noundef -1) #2
%8 = tail call i32 @luaL_argerror(ptr noundef %0, i32 noundef %1, i32 noundef %7) #2
ret void
}
declare i32 @lua_pushfstring(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
declare i32 @luaL_argerror(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_tostring(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"}
| xLua_build_luajit-2.1.0b3_src_host_extr_minilua.c_fileerror |
; ModuleID = 'AnghaBench/linux/drivers/dma/ioat/extr_dma.c_ioat_issue_pending.c'
source_filename = "AnghaBench/linux/drivers/dma/ioat/extr_dma.c_ioat_issue_pending.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @ioat_issue_pending(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_ioat_chan(ptr noundef %0) #2
%3 = tail call i64 @ioat_ring_pending(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @spin_lock_bh(ptr noundef %2) #2
%7 = tail call i32 @__ioat_issue_pending(ptr noundef %2) #2
%8 = tail call i32 @spin_unlock_bh(ptr noundef %2) #2
br label %9
9: ; preds = %5, %1
ret void
}
declare ptr @to_ioat_chan(ptr noundef) local_unnamed_addr #1
declare i64 @ioat_ring_pending(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @__ioat_issue_pending(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/ioat/extr_dma.c_ioat_issue_pending.c'
source_filename = "AnghaBench/linux/drivers/dma/ioat/extr_dma.c_ioat_issue_pending.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 @ioat_issue_pending(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @to_ioat_chan(ptr noundef %0) #2
%3 = tail call i64 @ioat_ring_pending(ptr noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @spin_lock_bh(ptr noundef %2) #2
%7 = tail call i32 @__ioat_issue_pending(ptr noundef %2) #2
%8 = tail call i32 @spin_unlock_bh(ptr noundef %2) #2
br label %9
9: ; preds = %5, %1
ret void
}
declare ptr @to_ioat_chan(ptr noundef) local_unnamed_addr #1
declare i64 @ioat_ring_pending(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @__ioat_issue_pending(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_dma_ioat_extr_dma.c_ioat_issue_pending |
; ModuleID = 'AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_probe_dt_children.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_probe_dt_children.c"
target datalayout = "e-m:e-p270:32:32-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 @gpmc_probe_dt_children], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @gpmc_probe_dt_children(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_probe_dt_children.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_omap-gpmc.c_gpmc_probe_dt_children.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 @gpmc_probe_dt_children], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @gpmc_probe_dt_children(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_memory_extr_omap-gpmc.c_gpmc_probe_dt_children |
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_cleanup.c'
source_filename = "AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_cleanup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, i32, i32 }
%struct.TYPE_5__ = type { i64, i64, i64, i64, i32 }
@cur_ops = dso_local local_unnamed_addr global ptr null, align 8
@rcu_torture_fwd_prog = dso_local local_unnamed_addr global i32 0, align 4
@fwd_prog_task = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_stall = dso_local local_unnamed_addr global i32 0, align 4
@stall_task = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_writer = dso_local local_unnamed_addr global i32 0, align 4
@writer_task = dso_local local_unnamed_addr global i32 0, align 4
@reader_tasks = dso_local local_unnamed_addr global ptr null, align 8
@nrealreaders = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_reader = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_current = dso_local local_unnamed_addr global ptr null, align 8
@fakewriter_tasks = dso_local local_unnamed_addr global ptr null, align 8
@nfakewriters = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_fakewriter = dso_local local_unnamed_addr global i32 0, align 4
@srcu_ctlp = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"%s: End-test grace-period state: g%lu f%#x\0A\00", align 1
@rcu_torture_stats = dso_local local_unnamed_addr global i32 0, align 4
@stats_task = dso_local local_unnamed_addr global i32 0, align 4
@rcu_torture_fqs = dso_local local_unnamed_addr global i32 0, align 4
@fqs_task = dso_local local_unnamed_addr global i32 0, align 4
@rcutor_hp = dso_local local_unnamed_addr global i32 0, align 4
@err_segs_recorded = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [48 x i8] c"Failure/close-call rcutorture reader segments:\0A\00", align 1
@rt_read_nsegs = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i8] c"\09: No segments recorded!!!\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\09%d: %#x \00", align 1
@err_segs = dso_local local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [13 x i8] c"%s%ldjiffies\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"%s%ldms\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"%s%ldus\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"preempted\00", align 1
@n_rcu_torture_error = dso_local global i32 0, align 4
@n_rcu_torture_barrier_error = dso_local local_unnamed_addr global i64 0, align 8
@.str.11 = private unnamed_addr constant [21 x i8] c"End of test: FAILURE\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"End of test: RCU_HOTPLUG\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"End of test: SUCCESS\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @rcu_torture_cleanup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rcu_torture_cleanup() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 0, ptr %1, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !9
%3 = tail call i64 (...) @torture_cleanup_begin() #3
%4 = icmp eq i64 %3, 0
%5 = load ptr, ptr @cur_ops, align 8, !tbaa !11
br i1 %4, label %12, label %6
6: ; preds = %0
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = icmp eq ptr %8, null
br i1 %9, label %196, label %10
10: ; preds = %6
%11 = tail call i32 (...) %8() #3
br label %196
12: ; preds = %0
%13 = icmp eq ptr %5, null
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 (...) @torture_cleanup_end() #3
br label %196
16: ; preds = %12
%17 = tail call i32 (...) @show_rcu_gp_kthreads() #3
%18 = tail call i32 (...) @rcu_torture_barrier_cleanup() #3
%19 = load i32, ptr @rcu_torture_fwd_prog, align 4, !tbaa !5
%20 = load i32, ptr @fwd_prog_task, align 4, !tbaa !5
%21 = tail call i32 @torture_stop_kthread(i32 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr @rcu_torture_stall, align 4, !tbaa !5
%23 = load i32, ptr @stall_task, align 4, !tbaa !5
%24 = tail call i32 @torture_stop_kthread(i32 noundef %22, i32 noundef %23) #3
%25 = load i32, ptr @rcu_torture_writer, align 4, !tbaa !5
%26 = load i32, ptr @writer_task, align 4, !tbaa !5
%27 = tail call i32 @torture_stop_kthread(i32 noundef %25, i32 noundef %26) #3
%28 = load ptr, ptr @reader_tasks, align 8, !tbaa !11
%29 = icmp eq ptr %28, null
br i1 %29, label %49, label %30
30: ; preds = %16
%31 = load i32, ptr @nrealreaders, align 4, !tbaa !5
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %46
33: ; preds = %30, %33
%34 = phi i64 [ %40, %33 ], [ 0, %30 ]
%35 = load i32, ptr @rcu_torture_reader, align 4, !tbaa !5
%36 = load ptr, ptr @reader_tasks, align 8, !tbaa !11
%37 = getelementptr inbounds i32, ptr %36, i64 %34
%38 = load i32, ptr %37, align 4, !tbaa !5
%39 = tail call i32 @torture_stop_kthread(i32 noundef %35, i32 noundef %38) #3
%40 = add nuw nsw i64 %34, 1
%41 = load i32, ptr @nrealreaders, align 4, !tbaa !5
%42 = sext i32 %41 to i64
%43 = icmp slt i64 %40, %42
br i1 %43, label %33, label %44, !llvm.loop !15
44: ; preds = %33
%45 = load ptr, ptr @reader_tasks, align 8, !tbaa !11
br label %46
46: ; preds = %44, %30
%47 = phi ptr [ %45, %44 ], [ %28, %30 ]
%48 = tail call i32 @kfree(ptr noundef %47) #3
br label %49
49: ; preds = %46, %16
store ptr null, ptr @rcu_torture_current, align 8, !tbaa !11
%50 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !11
%51 = icmp eq ptr %50, null
br i1 %51, label %71, label %52
52: ; preds = %49
%53 = load i32, ptr @nfakewriters, align 4, !tbaa !5
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %68
55: ; preds = %52, %55
%56 = phi i64 [ %62, %55 ], [ 0, %52 ]
%57 = load i32, ptr @rcu_torture_fakewriter, align 4, !tbaa !5
%58 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !11
%59 = getelementptr inbounds i32, ptr %58, i64 %56
%60 = load i32, ptr %59, align 4, !tbaa !5
%61 = tail call i32 @torture_stop_kthread(i32 noundef %57, i32 noundef %60) #3
%62 = add nuw nsw i64 %56, 1
%63 = load i32, ptr @nfakewriters, align 4, !tbaa !5
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %62, %64
br i1 %65, label %55, label %66, !llvm.loop !17
66: ; preds = %55
%67 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !11
br label %68
68: ; preds = %66, %52
%69 = phi ptr [ %67, %66 ], [ %50, %52 ]
%70 = tail call i32 @kfree(ptr noundef %69) #3
store ptr null, ptr @fakewriter_tasks, align 8, !tbaa !11
br label %71
71: ; preds = %68, %49
%72 = load ptr, ptr @cur_ops, align 8, !tbaa !11
%73 = getelementptr inbounds %struct.TYPE_4__, ptr %72, i64 0, i32 3
%74 = load i32, ptr %73, align 4, !tbaa !18
%75 = call i32 @rcutorture_get_gp_data(i32 noundef %74, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%76 = load ptr, ptr @cur_ops, align 8, !tbaa !11
%77 = getelementptr inbounds %struct.TYPE_4__, ptr %76, i64 0, i32 3
%78 = load i32, ptr %77, align 4, !tbaa !18
%79 = load i32, ptr @srcu_ctlp, align 4, !tbaa !5
%80 = call i32 @srcutorture_get_gp_data(i32 noundef %78, i32 noundef %79, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%81 = load ptr, ptr @cur_ops, align 8, !tbaa !11
%82 = getelementptr inbounds %struct.TYPE_4__, ptr %81, i64 0, i32 2
%83 = load i32, ptr %82, align 8, !tbaa !19
%84 = load i64, ptr %2, align 8, !tbaa !9
%85 = load i32, ptr %1, align 4, !tbaa !5
%86 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str, i32 noundef %83, i64 noundef %84, i32 noundef %85) #3
%87 = load i32, ptr @rcu_torture_stats, align 4, !tbaa !5
%88 = load i32, ptr @stats_task, align 4, !tbaa !5
%89 = call i32 @torture_stop_kthread(i32 noundef %87, i32 noundef %88) #3
%90 = load i32, ptr @rcu_torture_fqs, align 4, !tbaa !5
%91 = load i32, ptr @fqs_task, align 4, !tbaa !5
%92 = call i32 @torture_stop_kthread(i32 noundef %90, i32 noundef %91) #3
%93 = call i64 (...) @rcu_torture_can_boost() #3
%94 = icmp eq i64 %93, 0
br i1 %94, label %98, label %95
95: ; preds = %71
%96 = load i32, ptr @rcutor_hp, align 4, !tbaa !5
%97 = call i32 @cpuhp_remove_state(i32 noundef %96) #3
br label %98
98: ; preds = %95, %71
%99 = load ptr, ptr @cur_ops, align 8, !tbaa !11
%100 = getelementptr inbounds %struct.TYPE_4__, ptr %99, i64 0, i32 1
%101 = load ptr, ptr %100, align 8, !tbaa !13
%102 = icmp eq ptr %101, null
br i1 %102, label %106, label %103
103: ; preds = %98
%104 = call i32 (...) %101() #3
%105 = load ptr, ptr @cur_ops, align 8, !tbaa !11
br label %106
106: ; preds = %103, %98
%107 = phi ptr [ %105, %103 ], [ %99, %98 ]
%108 = load ptr, ptr %107, align 8, !tbaa !20
%109 = icmp eq ptr %108, null
br i1 %109, label %112, label %110
110: ; preds = %106
%111 = call i32 (...) %108() #3
br label %112
112: ; preds = %110, %106
%113 = call i32 (...) @rcu_torture_stats_print() #3
%114 = load i64, ptr @err_segs_recorded, align 8, !tbaa !9
%115 = icmp eq i64 %114, 0
br i1 %115, label %177, label %116
116: ; preds = %112
%117 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.1) #3
%118 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !5
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %116
%121 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.2) #3
%122 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !5
br label %123
123: ; preds = %120, %116
%124 = phi i32 [ %122, %120 ], [ %118, %116 ]
%125 = icmp sgt i32 %124, 0
br i1 %125, label %126, label %177
126: ; preds = %123, %165
%127 = phi i64 [ %173, %165 ], [ 0, %123 ]
%128 = phi i32 [ %167, %165 ], [ 1, %123 ]
%129 = load ptr, ptr @err_segs, align 8, !tbaa !11
%130 = getelementptr inbounds %struct.TYPE_5__, ptr %129, i64 %127, i32 4
%131 = load i32, ptr %130, align 8, !tbaa !21
%132 = trunc i64 %127 to i32
%133 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.3, i32 noundef %132, i32 noundef %131) #3
%134 = load ptr, ptr @err_segs, align 8, !tbaa !11
%135 = getelementptr inbounds %struct.TYPE_5__, ptr %134, i64 %127
%136 = load i64, ptr %135, align 8, !tbaa !23
%137 = icmp eq i64 %136, 0
br i1 %137, label %143, label %138
138: ; preds = %126
%139 = icmp eq i32 %128, 0
%140 = select i1 %139, ptr @.str.6, ptr @.str.5
%141 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.4, ptr noundef nonnull %140, i64 noundef %136) #3
%142 = load ptr, ptr @err_segs, align 8, !tbaa !11
br label %143
143: ; preds = %138, %126
%144 = phi ptr [ %142, %138 ], [ %134, %126 ]
%145 = phi i32 [ 0, %138 ], [ %128, %126 ]
%146 = getelementptr inbounds %struct.TYPE_5__, ptr %144, i64 %127, i32 1
%147 = load i64, ptr %146, align 8, !tbaa !24
%148 = icmp eq i64 %147, 0
br i1 %148, label %154, label %149
149: ; preds = %143
%150 = icmp eq i32 %145, 0
%151 = select i1 %150, ptr @.str.6, ptr @.str.5
%152 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.7, ptr noundef nonnull %151, i64 noundef %147) #3
%153 = load ptr, ptr @err_segs, align 8, !tbaa !11
br label %154
154: ; preds = %149, %143
%155 = phi ptr [ %153, %149 ], [ %144, %143 ]
%156 = phi i32 [ 0, %149 ], [ %145, %143 ]
%157 = getelementptr inbounds %struct.TYPE_5__, ptr %155, i64 %127, i32 2
%158 = load i64, ptr %157, align 8, !tbaa !25
%159 = icmp eq i64 %158, 0
br i1 %159, label %165, label %160
160: ; preds = %154
%161 = icmp eq i32 %156, 0
%162 = select i1 %161, ptr @.str.6, ptr @.str.5
%163 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.8, ptr noundef nonnull %162, i64 noundef %158) #3
%164 = load ptr, ptr @err_segs, align 8, !tbaa !11
br label %165
165: ; preds = %160, %154
%166 = phi ptr [ %164, %160 ], [ %155, %154 ]
%167 = phi i32 [ 0, %160 ], [ %156, %154 ]
%168 = getelementptr inbounds %struct.TYPE_5__, ptr %166, i64 %127, i32 3
%169 = load i64, ptr %168, align 8, !tbaa !26
%170 = icmp eq i64 %169, 0
%171 = select i1 %170, ptr @.str.5, ptr @.str.10
%172 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.9, ptr noundef nonnull %171) #3
%173 = add nuw nsw i64 %127, 1
%174 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !5
%175 = sext i32 %174 to i64
%176 = icmp slt i64 %173, %175
br i1 %176, label %126, label %177, !llvm.loop !27
177: ; preds = %165, %123, %112
%178 = call i64 @atomic_read(ptr noundef nonnull @n_rcu_torture_error) #3
%179 = icmp ne i64 %178, 0
%180 = load i64, ptr @n_rcu_torture_barrier_error, align 8
%181 = icmp ne i64 %180, 0
%182 = select i1 %179, i1 true, i1 %181
br i1 %182, label %183, label %186
183: ; preds = %177
%184 = load ptr, ptr @cur_ops, align 8, !tbaa !11
%185 = call i32 @rcu_torture_print_module_parms(ptr noundef %184, ptr noundef nonnull @.str.11) #3
br label %194
186: ; preds = %177
%187 = call i64 (...) @torture_onoff_failures() #3
%188 = icmp eq i64 %187, 0
%189 = load ptr, ptr @cur_ops, align 8, !tbaa !11
br i1 %188, label %192, label %190
190: ; preds = %186
%191 = call i32 @rcu_torture_print_module_parms(ptr noundef %189, ptr noundef nonnull @.str.12) #3
br label %194
192: ; preds = %186
%193 = call i32 @rcu_torture_print_module_parms(ptr noundef %189, ptr noundef nonnull @.str.13) #3
br label %194
194: ; preds = %190, %192, %183
%195 = call i32 (...) @torture_cleanup_end() #3
br label %196
196: ; preds = %6, %10, %194, %14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @torture_cleanup_begin(...) local_unnamed_addr #2
declare i32 @torture_cleanup_end(...) local_unnamed_addr #2
declare i32 @show_rcu_gp_kthreads(...) local_unnamed_addr #2
declare i32 @rcu_torture_barrier_cleanup(...) local_unnamed_addr #2
declare i32 @torture_stop_kthread(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @rcutorture_get_gp_data(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @srcutorture_get_gp_data(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_alert(ptr noundef, ...) local_unnamed_addr #2
declare i64 @rcu_torture_can_boost(...) local_unnamed_addr #2
declare i32 @cpuhp_remove_state(i32 noundef) local_unnamed_addr #2
declare i32 @rcu_torture_stats_print(...) local_unnamed_addr #2
declare i32 @pr_cont(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #2
declare i32 @rcu_torture_print_module_parms(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @torture_onoff_failures(...) 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_4__", !12, i64 0, !12, i64 8, !6, i64 16, !6, i64 20}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!14, !6, i64 20}
!19 = !{!14, !6, i64 16}
!20 = !{!14, !12, i64 0}
!21 = !{!22, !6, i64 32}
!22 = !{!"TYPE_5__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !6, i64 32}
!23 = !{!22, !10, i64 0}
!24 = !{!22, !10, i64 8}
!25 = !{!22, !10, i64 16}
!26 = !{!22, !10, i64 24}
!27 = distinct !{!27, !16}
| ; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_cleanup.c'
source_filename = "AnghaBench/linux/kernel/rcu/extr_rcutorture.c_rcu_torture_cleanup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64, i64, i64, i64, i32 }
@cur_ops = common local_unnamed_addr global ptr null, align 8
@rcu_torture_fwd_prog = common local_unnamed_addr global i32 0, align 4
@fwd_prog_task = common local_unnamed_addr global i32 0, align 4
@rcu_torture_stall = common local_unnamed_addr global i32 0, align 4
@stall_task = common local_unnamed_addr global i32 0, align 4
@rcu_torture_writer = common local_unnamed_addr global i32 0, align 4
@writer_task = common local_unnamed_addr global i32 0, align 4
@reader_tasks = common local_unnamed_addr global ptr null, align 8
@nrealreaders = common local_unnamed_addr global i32 0, align 4
@rcu_torture_reader = common local_unnamed_addr global i32 0, align 4
@rcu_torture_current = common local_unnamed_addr global ptr null, align 8
@fakewriter_tasks = common local_unnamed_addr global ptr null, align 8
@nfakewriters = common local_unnamed_addr global i32 0, align 4
@rcu_torture_fakewriter = common local_unnamed_addr global i32 0, align 4
@srcu_ctlp = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"%s: End-test grace-period state: g%lu f%#x\0A\00", align 1
@rcu_torture_stats = common local_unnamed_addr global i32 0, align 4
@stats_task = common local_unnamed_addr global i32 0, align 4
@rcu_torture_fqs = common local_unnamed_addr global i32 0, align 4
@fqs_task = common local_unnamed_addr global i32 0, align 4
@rcutor_hp = common local_unnamed_addr global i32 0, align 4
@err_segs_recorded = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [48 x i8] c"Failure/close-call rcutorture reader segments:\0A\00", align 1
@rt_read_nsegs = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [28 x i8] c"\09: No segments recorded!!!\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\09%d: %#x \00", align 1
@err_segs = common local_unnamed_addr global ptr null, align 8
@.str.4 = private unnamed_addr constant [13 x i8] c"%s%ldjiffies\00", align 1
@.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.7 = private unnamed_addr constant [8 x i8] c"%s%ldms\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"%s%ldus\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"preempted\00", align 1
@n_rcu_torture_error = common global i32 0, align 4
@n_rcu_torture_barrier_error = common local_unnamed_addr global i64 0, align 8
@.str.11 = private unnamed_addr constant [21 x i8] c"End of test: FAILURE\00", align 1
@.str.12 = private unnamed_addr constant [25 x i8] c"End of test: RCU_HOTPLUG\00", align 1
@.str.13 = private unnamed_addr constant [21 x i8] c"End of test: SUCCESS\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @rcu_torture_cleanup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rcu_torture_cleanup() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
store i32 0, ptr %1, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !10
%3 = tail call i64 @torture_cleanup_begin() #3
%4 = icmp eq i64 %3, 0
%5 = load ptr, ptr @cur_ops, align 8, !tbaa !12
br i1 %4, label %12, label %6
6: ; preds = %0
%7 = getelementptr inbounds i8, ptr %5, i64 8
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = icmp eq ptr %8, null
br i1 %9, label %196, label %10
10: ; preds = %6
%11 = tail call i32 %8() #3
br label %196
12: ; preds = %0
%13 = icmp eq ptr %5, null
br i1 %13, label %14, label %16
14: ; preds = %12
%15 = tail call i32 @torture_cleanup_end() #3
br label %196
16: ; preds = %12
%17 = tail call i32 @show_rcu_gp_kthreads() #3
%18 = tail call i32 @rcu_torture_barrier_cleanup() #3
%19 = load i32, ptr @rcu_torture_fwd_prog, align 4, !tbaa !6
%20 = load i32, ptr @fwd_prog_task, align 4, !tbaa !6
%21 = tail call i32 @torture_stop_kthread(i32 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr @rcu_torture_stall, align 4, !tbaa !6
%23 = load i32, ptr @stall_task, align 4, !tbaa !6
%24 = tail call i32 @torture_stop_kthread(i32 noundef %22, i32 noundef %23) #3
%25 = load i32, ptr @rcu_torture_writer, align 4, !tbaa !6
%26 = load i32, ptr @writer_task, align 4, !tbaa !6
%27 = tail call i32 @torture_stop_kthread(i32 noundef %25, i32 noundef %26) #3
%28 = load ptr, ptr @reader_tasks, align 8, !tbaa !12
%29 = icmp eq ptr %28, null
br i1 %29, label %49, label %30
30: ; preds = %16
%31 = load i32, ptr @nrealreaders, align 4, !tbaa !6
%32 = icmp sgt i32 %31, 0
br i1 %32, label %33, label %46
33: ; preds = %30, %33
%34 = phi i64 [ %40, %33 ], [ 0, %30 ]
%35 = load i32, ptr @rcu_torture_reader, align 4, !tbaa !6
%36 = load ptr, ptr @reader_tasks, align 8, !tbaa !12
%37 = getelementptr inbounds i32, ptr %36, i64 %34
%38 = load i32, ptr %37, align 4, !tbaa !6
%39 = tail call i32 @torture_stop_kthread(i32 noundef %35, i32 noundef %38) #3
%40 = add nuw nsw i64 %34, 1
%41 = load i32, ptr @nrealreaders, align 4, !tbaa !6
%42 = sext i32 %41 to i64
%43 = icmp slt i64 %40, %42
br i1 %43, label %33, label %44, !llvm.loop !16
44: ; preds = %33
%45 = load ptr, ptr @reader_tasks, align 8, !tbaa !12
br label %46
46: ; preds = %44, %30
%47 = phi ptr [ %45, %44 ], [ %28, %30 ]
%48 = tail call i32 @kfree(ptr noundef %47) #3
br label %49
49: ; preds = %46, %16
store ptr null, ptr @rcu_torture_current, align 8, !tbaa !12
%50 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !12
%51 = icmp eq ptr %50, null
br i1 %51, label %71, label %52
52: ; preds = %49
%53 = load i32, ptr @nfakewriters, align 4, !tbaa !6
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %68
55: ; preds = %52, %55
%56 = phi i64 [ %62, %55 ], [ 0, %52 ]
%57 = load i32, ptr @rcu_torture_fakewriter, align 4, !tbaa !6
%58 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !12
%59 = getelementptr inbounds i32, ptr %58, i64 %56
%60 = load i32, ptr %59, align 4, !tbaa !6
%61 = tail call i32 @torture_stop_kthread(i32 noundef %57, i32 noundef %60) #3
%62 = add nuw nsw i64 %56, 1
%63 = load i32, ptr @nfakewriters, align 4, !tbaa !6
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %62, %64
br i1 %65, label %55, label %66, !llvm.loop !18
66: ; preds = %55
%67 = load ptr, ptr @fakewriter_tasks, align 8, !tbaa !12
br label %68
68: ; preds = %66, %52
%69 = phi ptr [ %67, %66 ], [ %50, %52 ]
%70 = tail call i32 @kfree(ptr noundef %69) #3
store ptr null, ptr @fakewriter_tasks, align 8, !tbaa !12
br label %71
71: ; preds = %68, %49
%72 = load ptr, ptr @cur_ops, align 8, !tbaa !12
%73 = getelementptr inbounds i8, ptr %72, i64 20
%74 = load i32, ptr %73, align 4, !tbaa !19
%75 = call i32 @rcutorture_get_gp_data(i32 noundef %74, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%76 = load ptr, ptr @cur_ops, align 8, !tbaa !12
%77 = getelementptr inbounds i8, ptr %76, i64 20
%78 = load i32, ptr %77, align 4, !tbaa !19
%79 = load i32, ptr @srcu_ctlp, align 4, !tbaa !6
%80 = call i32 @srcutorture_get_gp_data(i32 noundef %78, i32 noundef %79, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%81 = load ptr, ptr @cur_ops, align 8, !tbaa !12
%82 = getelementptr inbounds i8, ptr %81, i64 16
%83 = load i32, ptr %82, align 8, !tbaa !20
%84 = load i64, ptr %2, align 8, !tbaa !10
%85 = load i32, ptr %1, align 4, !tbaa !6
%86 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str, i32 noundef %83, i64 noundef %84, i32 noundef %85) #3
%87 = load i32, ptr @rcu_torture_stats, align 4, !tbaa !6
%88 = load i32, ptr @stats_task, align 4, !tbaa !6
%89 = call i32 @torture_stop_kthread(i32 noundef %87, i32 noundef %88) #3
%90 = load i32, ptr @rcu_torture_fqs, align 4, !tbaa !6
%91 = load i32, ptr @fqs_task, align 4, !tbaa !6
%92 = call i32 @torture_stop_kthread(i32 noundef %90, i32 noundef %91) #3
%93 = call i64 @rcu_torture_can_boost() #3
%94 = icmp eq i64 %93, 0
br i1 %94, label %98, label %95
95: ; preds = %71
%96 = load i32, ptr @rcutor_hp, align 4, !tbaa !6
%97 = call i32 @cpuhp_remove_state(i32 noundef %96) #3
br label %98
98: ; preds = %95, %71
%99 = load ptr, ptr @cur_ops, align 8, !tbaa !12
%100 = getelementptr inbounds i8, ptr %99, i64 8
%101 = load ptr, ptr %100, align 8, !tbaa !14
%102 = icmp eq ptr %101, null
br i1 %102, label %106, label %103
103: ; preds = %98
%104 = call i32 %101() #3
%105 = load ptr, ptr @cur_ops, align 8, !tbaa !12
br label %106
106: ; preds = %103, %98
%107 = phi ptr [ %105, %103 ], [ %99, %98 ]
%108 = load ptr, ptr %107, align 8, !tbaa !21
%109 = icmp eq ptr %108, null
br i1 %109, label %112, label %110
110: ; preds = %106
%111 = call i32 %108() #3
br label %112
112: ; preds = %110, %106
%113 = call i32 @rcu_torture_stats_print() #3
%114 = load i64, ptr @err_segs_recorded, align 8, !tbaa !10
%115 = icmp eq i64 %114, 0
br i1 %115, label %177, label %116
116: ; preds = %112
%117 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.1) #3
%118 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !6
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %116
%121 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.2) #3
%122 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !6
br label %123
123: ; preds = %120, %116
%124 = phi i32 [ %122, %120 ], [ %118, %116 ]
%125 = icmp sgt i32 %124, 0
br i1 %125, label %126, label %177
126: ; preds = %123, %165
%127 = phi i64 [ %173, %165 ], [ 0, %123 ]
%128 = phi i32 [ %167, %165 ], [ 1, %123 ]
%129 = load ptr, ptr @err_segs, align 8, !tbaa !12
%130 = getelementptr inbounds %struct.TYPE_5__, ptr %129, i64 %127, i32 4
%131 = load i32, ptr %130, align 8, !tbaa !22
%132 = trunc nuw nsw i64 %127 to i32
%133 = call i32 (ptr, ...) @pr_alert(ptr noundef nonnull @.str.3, i32 noundef %132, i32 noundef %131) #3
%134 = load ptr, ptr @err_segs, align 8, !tbaa !12
%135 = getelementptr inbounds %struct.TYPE_5__, ptr %134, i64 %127
%136 = load i64, ptr %135, align 8, !tbaa !24
%137 = icmp eq i64 %136, 0
br i1 %137, label %143, label %138
138: ; preds = %126
%139 = icmp eq i32 %128, 0
%140 = select i1 %139, ptr @.str.6, ptr @.str.5
%141 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.4, ptr noundef nonnull %140, i64 noundef %136) #3
%142 = load ptr, ptr @err_segs, align 8, !tbaa !12
br label %143
143: ; preds = %138, %126
%144 = phi ptr [ %142, %138 ], [ %134, %126 ]
%145 = phi i32 [ 0, %138 ], [ %128, %126 ]
%146 = getelementptr inbounds %struct.TYPE_5__, ptr %144, i64 %127, i32 1
%147 = load i64, ptr %146, align 8, !tbaa !25
%148 = icmp eq i64 %147, 0
br i1 %148, label %154, label %149
149: ; preds = %143
%150 = icmp eq i32 %145, 0
%151 = select i1 %150, ptr @.str.6, ptr @.str.5
%152 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.7, ptr noundef nonnull %151, i64 noundef %147) #3
%153 = load ptr, ptr @err_segs, align 8, !tbaa !12
br label %154
154: ; preds = %149, %143
%155 = phi ptr [ %153, %149 ], [ %144, %143 ]
%156 = phi i32 [ 0, %149 ], [ %145, %143 ]
%157 = getelementptr inbounds %struct.TYPE_5__, ptr %155, i64 %127, i32 2
%158 = load i64, ptr %157, align 8, !tbaa !26
%159 = icmp eq i64 %158, 0
br i1 %159, label %165, label %160
160: ; preds = %154
%161 = icmp eq i32 %156, 0
%162 = select i1 %161, ptr @.str.6, ptr @.str.5
%163 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.8, ptr noundef nonnull %162, i64 noundef %158) #3
%164 = load ptr, ptr @err_segs, align 8, !tbaa !12
br label %165
165: ; preds = %160, %154
%166 = phi ptr [ %164, %160 ], [ %155, %154 ]
%167 = phi i32 [ 0, %160 ], [ %156, %154 ]
%168 = getelementptr inbounds %struct.TYPE_5__, ptr %166, i64 %127, i32 3
%169 = load i64, ptr %168, align 8, !tbaa !27
%170 = icmp eq i64 %169, 0
%171 = select i1 %170, ptr @.str.5, ptr @.str.10
%172 = call i32 (ptr, ptr, ...) @pr_cont(ptr noundef nonnull @.str.9, ptr noundef nonnull %171) #3
%173 = add nuw nsw i64 %127, 1
%174 = load i32, ptr @rt_read_nsegs, align 4, !tbaa !6
%175 = sext i32 %174 to i64
%176 = icmp slt i64 %173, %175
br i1 %176, label %126, label %177, !llvm.loop !28
177: ; preds = %165, %123, %112
%178 = call i64 @atomic_read(ptr noundef nonnull @n_rcu_torture_error) #3
%179 = icmp ne i64 %178, 0
%180 = load i64, ptr @n_rcu_torture_barrier_error, align 8
%181 = icmp ne i64 %180, 0
%182 = select i1 %179, i1 true, i1 %181
br i1 %182, label %183, label %186
183: ; preds = %177
%184 = load ptr, ptr @cur_ops, align 8, !tbaa !12
%185 = call i32 @rcu_torture_print_module_parms(ptr noundef %184, ptr noundef nonnull @.str.11) #3
br label %194
186: ; preds = %177
%187 = call i64 @torture_onoff_failures() #3
%188 = icmp eq i64 %187, 0
%189 = load ptr, ptr @cur_ops, align 8, !tbaa !12
br i1 %188, label %192, label %190
190: ; preds = %186
%191 = call i32 @rcu_torture_print_module_parms(ptr noundef %189, ptr noundef nonnull @.str.12) #3
br label %194
192: ; preds = %186
%193 = call i32 @rcu_torture_print_module_parms(ptr noundef %189, ptr noundef nonnull @.str.13) #3
br label %194
194: ; preds = %190, %192, %183
%195 = call i32 @torture_cleanup_end() #3
br label %196
196: ; preds = %6, %10, %194, %14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @torture_cleanup_begin(...) local_unnamed_addr #2
declare i32 @torture_cleanup_end(...) local_unnamed_addr #2
declare i32 @show_rcu_gp_kthreads(...) local_unnamed_addr #2
declare i32 @rcu_torture_barrier_cleanup(...) local_unnamed_addr #2
declare i32 @torture_stop_kthread(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare i32 @rcutorture_get_gp_data(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @srcutorture_get_gp_data(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pr_alert(ptr noundef, ...) local_unnamed_addr #2
declare i64 @rcu_torture_can_boost(...) local_unnamed_addr #2
declare i32 @cpuhp_remove_state(i32 noundef) local_unnamed_addr #2
declare i32 @rcu_torture_stats_print(...) local_unnamed_addr #2
declare i32 @pr_cont(ptr noundef, ptr noundef, ...) local_unnamed_addr #2
declare i64 @atomic_read(ptr noundef) local_unnamed_addr #2
declare i32 @rcu_torture_print_module_parms(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @torture_onoff_failures(...) 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 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"TYPE_4__", !13, i64 0, !13, i64 8, !7, i64 16, !7, i64 20}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!15, !7, i64 20}
!20 = !{!15, !7, i64 16}
!21 = !{!15, !13, i64 0}
!22 = !{!23, !7, i64 32}
!23 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !7, i64 32}
!24 = !{!23, !11, i64 0}
!25 = !{!23, !11, i64 8}
!26 = !{!23, !11, i64 16}
!27 = !{!23, !11, i64 24}
!28 = distinct !{!28, !17}
| linux_kernel_rcu_extr_rcutorture.c_rcu_torture_cleanup |
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_cpu5wdt.c_cpu5wdt_init_module.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_cpu5wdt.c_cpu5wdt_init_module.c"
target datalayout = "e-m:e-p270:32:32-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 @cpu5wdt_init_module], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cpu5wdt_init_module() #0 {
%1 = tail call i32 (...) @cpu5wdt_init() #2
ret i32 %1
}
declare i32 @cpu5wdt_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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_cpu5wdt.c_cpu5wdt_init_module.c'
source_filename = "AnghaBench/linux/drivers/watchdog/extr_cpu5wdt.c_cpu5wdt_init_module.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 @cpu5wdt_init_module], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cpu5wdt_init_module() #0 {
%1 = tail call i32 @cpu5wdt_init() #2
ret i32 %1
}
declare i32 @cpu5wdt_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)"}
| linux_drivers_watchdog_extr_cpu5wdt.c_cpu5wdt_init_module |
; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_itg3200_core.c_itg3200_read_raw.c'
source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_itg3200_core.c_itg3200_read_raw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.iio_chan_spec = type { i32, i32 }
@IIO_VAL_INT = dso_local local_unnamed_addr global i32 0, align 4
@IIO_TEMP = dso_local local_unnamed_addr global i32 0, align 4
@IIO_VAL_INT_PLUS_NANO = dso_local local_unnamed_addr global i32 0, align 4
@ITG3200_REG_DLPF = dso_local local_unnamed_addr global i32 0, align 4
@ITG3200_DLPF_CFG_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ITG3200_REG_SAMPLE_RATE_DIV = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @itg3200_read_raw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @itg3200_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
switch i64 %4, label %39 [
i64 130, label %7
i64 128, label %12
i64 131, label %18
i64 129, label %20
]
7: ; preds = %5
%8 = getelementptr inbounds %struct.iio_chan_spec, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !5
%10 = tail call i32 @itg3200_read_reg_s16(ptr noundef %0, i32 noundef %9, ptr noundef %2) #3
%11 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !10
br label %42
12: ; preds = %5
store i32 0, ptr %2, align 4, !tbaa !10
%13 = load i32, ptr %1, align 4, !tbaa !11
%14 = load i32, ptr @IIO_TEMP, align 4, !tbaa !10
%15 = icmp eq i32 %13, %14
%16 = select i1 %15, i32 3571428, i32 1214142
store i32 %16, ptr %3, align 4, !tbaa !10
%17 = load i32, ptr @IIO_VAL_INT_PLUS_NANO, align 4, !tbaa !10
br label %42
18: ; preds = %5
store i32 23000, ptr %2, align 4, !tbaa !10
%19 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !10
br label %42
20: ; preds = %5
%21 = load i32, ptr @ITG3200_REG_DLPF, align 4, !tbaa !10
%22 = call i32 @itg3200_read_reg_8(ptr noundef %0, i32 noundef %21, ptr noundef nonnull %6) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %42
24: ; preds = %20
%25 = load i32, ptr %6, align 4, !tbaa !10
%26 = load i32, ptr @ITG3200_DLPF_CFG_MASK, align 4, !tbaa !10
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, i32 8000, i32 1000
store i32 %29, ptr %2, align 4, !tbaa !10
%30 = load i32, ptr @ITG3200_REG_SAMPLE_RATE_DIV, align 4, !tbaa !10
%31 = call i32 @itg3200_read_reg_8(ptr noundef %0, i32 noundef %30, ptr noundef nonnull %6) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %24
%34 = load i32, ptr %6, align 4, !tbaa !10
%35 = add nsw i32 %34, 1
%36 = load i32, ptr %2, align 4, !tbaa !10
%37 = sdiv i32 %36, %35
store i32 %37, ptr %2, align 4, !tbaa !10
%38 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !10
br label %42
39: ; preds = %5
%40 = load i32, ptr @EINVAL, align 4, !tbaa !10
%41 = sub nsw i32 0, %40
br label %42
42: ; preds = %24, %20, %39, %33, %18, %12, %7
%43 = phi i32 [ %41, %39 ], [ %38, %33 ], [ %19, %18 ], [ %17, %12 ], [ %11, %7 ], [ %22, %20 ], [ %31, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @itg3200_read_reg_s16(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @itg3200_read_reg_8(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"iio_chan_spec", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_itg3200_core.c_itg3200_read_raw.c'
source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_itg3200_core.c_itg3200_read_raw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IIO_VAL_INT = common local_unnamed_addr global i32 0, align 4
@IIO_TEMP = common local_unnamed_addr global i32 0, align 4
@IIO_VAL_INT_PLUS_NANO = common local_unnamed_addr global i32 0, align 4
@ITG3200_REG_DLPF = common local_unnamed_addr global i32 0, align 4
@ITG3200_DLPF_CFG_MASK = common local_unnamed_addr global i32 0, align 4
@ITG3200_REG_SAMPLE_RATE_DIV = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @itg3200_read_raw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @itg3200_read_raw(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef writeonly %3, i64 noundef %4) #0 {
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
switch i64 %4, label %39 [
i64 130, label %7
i64 128, label %12
i64 131, label %18
i64 129, label %20
]
7: ; preds = %5
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !6
%10 = tail call i32 @itg3200_read_reg_s16(ptr noundef %0, i32 noundef %9, ptr noundef %2) #3
%11 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !11
br label %42
12: ; preds = %5
store i32 0, ptr %2, align 4, !tbaa !11
%13 = load i32, ptr %1, align 4, !tbaa !12
%14 = load i32, ptr @IIO_TEMP, align 4, !tbaa !11
%15 = icmp eq i32 %13, %14
%16 = select i1 %15, i32 3571428, i32 1214142
store i32 %16, ptr %3, align 4, !tbaa !11
%17 = load i32, ptr @IIO_VAL_INT_PLUS_NANO, align 4, !tbaa !11
br label %42
18: ; preds = %5
store i32 23000, ptr %2, align 4, !tbaa !11
%19 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !11
br label %42
20: ; preds = %5
%21 = load i32, ptr @ITG3200_REG_DLPF, align 4, !tbaa !11
%22 = call i32 @itg3200_read_reg_8(ptr noundef %0, i32 noundef %21, ptr noundef nonnull %6) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %42
24: ; preds = %20
%25 = load i32, ptr %6, align 4, !tbaa !11
%26 = load i32, ptr @ITG3200_DLPF_CFG_MASK, align 4, !tbaa !11
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
%29 = select i1 %28, i32 8000, i32 1000
store i32 %29, ptr %2, align 4, !tbaa !11
%30 = load i32, ptr @ITG3200_REG_SAMPLE_RATE_DIV, align 4, !tbaa !11
%31 = call i32 @itg3200_read_reg_8(ptr noundef %0, i32 noundef %30, ptr noundef nonnull %6) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %24
%34 = load i32, ptr %6, align 4, !tbaa !11
%35 = add nsw i32 %34, 1
%36 = load i32, ptr %2, align 4, !tbaa !11
%37 = sdiv i32 %36, %35
store i32 %37, ptr %2, align 4, !tbaa !11
%38 = load i32, ptr @IIO_VAL_INT, align 4, !tbaa !11
br label %42
39: ; preds = %5
%40 = load i32, ptr @EINVAL, align 4, !tbaa !11
%41 = sub nsw i32 0, %40
br label %42
42: ; preds = %24, %20, %39, %33, %18, %12, %7
%43 = phi i32 [ %41, %39 ], [ %38, %33 ], [ %19, %18 ], [ %17, %12 ], [ %11, %7 ], [ %22, %20 ], [ %31, %24 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @itg3200_read_reg_s16(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @itg3200_read_reg_8(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"iio_chan_spec", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| linux_drivers_iio_gyro_extr_itg3200_core.c_itg3200_read_raw |
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctdaio.c_daio_in_next_conj_20k2.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctdaio.c_daio_in_next_conj_20k2.c"
target datalayout = "e-m:e-p270:32:32-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 @daio_in_next_conj_20k2], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal i32 @daio_in_next_conj_20k2(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = add nsw i32 %2, 256
store i32 %3, ptr %0, align 4, !tbaa !5
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"rsc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_ctdaio.c_daio_in_next_conj_20k2.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_ctdaio.c_daio_in_next_conj_20k2.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 @daio_in_next_conj_20k2], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal range(i32 -2147483392, -2147483648) i32 @daio_in_next_conj_20k2(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = add nsw i32 %2, 256
store i32 %3, ptr %0, align 4, !tbaa !6
ret i32 %3
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"rsc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_pci_ctxfi_extr_ctdaio.c_daio_in_next_conj_20k2 |
; ModuleID = 'AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outBitmapAndPath.c'
source_filename = "AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outBitmapAndPath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"BITMAPANDPATH\00", align 1
@bitmapquals = dso_local local_unnamed_addr global i32 0, align 4
@bitmapselectivity = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%.4f\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @_outBitmapAndPath], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @_outBitmapAndPath(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @WRITE_NODE_TYPE(ptr noundef nonnull @.str) #2
%4 = tail call i32 @_outPathInfo(i32 noundef %0, ptr noundef %1) #2
%5 = load i32, ptr @bitmapquals, align 4, !tbaa !5
%6 = tail call i32 @WRITE_NODE_FIELD(i32 noundef %5) #2
%7 = load i32, ptr @bitmapselectivity, align 4, !tbaa !5
%8 = tail call i32 @WRITE_FLOAT_FIELD(i32 noundef %7, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @WRITE_NODE_TYPE(ptr noundef) local_unnamed_addr #1
declare i32 @_outPathInfo(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WRITE_NODE_FIELD(i32 noundef) local_unnamed_addr #1
declare i32 @WRITE_FLOAT_FIELD(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/postgres/src/backend/nodes/extr_outfuncs.c__outBitmapAndPath.c'
source_filename = "AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outBitmapAndPath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [14 x i8] c"BITMAPANDPATH\00", align 1
@bitmapquals = common local_unnamed_addr global i32 0, align 4
@bitmapselectivity = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"%.4f\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @_outBitmapAndPath], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @_outBitmapAndPath(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @WRITE_NODE_TYPE(ptr noundef nonnull @.str) #2
%4 = tail call i32 @_outPathInfo(i32 noundef %0, ptr noundef %1) #2
%5 = load i32, ptr @bitmapquals, align 4, !tbaa !6
%6 = tail call i32 @WRITE_NODE_FIELD(i32 noundef %5) #2
%7 = load i32, ptr @bitmapselectivity, align 4, !tbaa !6
%8 = tail call i32 @WRITE_FLOAT_FIELD(i32 noundef %7, ptr noundef nonnull @.str.1) #2
ret void
}
declare i32 @WRITE_NODE_TYPE(ptr noundef) local_unnamed_addr #1
declare i32 @_outPathInfo(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @WRITE_NODE_FIELD(i32 noundef) local_unnamed_addr #1
declare i32 @WRITE_FLOAT_FIELD(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"}
| postgres_src_backend_nodes_extr_outfuncs.c__outBitmapAndPath |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/honeycomb/extr_matrix.c_matrix_init_quantum.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/honeycomb/extr_matrix.c_matrix_init_quantum.c"
target datalayout = "e-m:e-p270:32:32-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 weak dso_local void @matrix_init_quantum() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_init_kb() #2
ret void
}
declare i32 @matrix_init_kb(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/honeycomb/extr_matrix.c_matrix_init_quantum.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/honeycomb/extr_matrix.c_matrix_init_quantum.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 weak void @matrix_init_quantum() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_init_kb() #2
ret void
}
declare i32 @matrix_init_kb(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_honeycomb_extr_matrix.c_matrix_init_quantum |
; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_spav3_map_event.c'
source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_spav3_map_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nds32_pfm_perf_map = dso_local global i32 0, align 4
@nds32_pfm_perf_cache_map = dso_local global i32 0, align 4
@SOFTWARE_EVENT_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @nds32_spav3_map_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @nds32_spav3_map_event(ptr noundef %0) #0 {
%2 = load i32, ptr @SOFTWARE_EVENT_MASK, align 4, !tbaa !5
%3 = tail call i32 @nds32_pmu_map_event(ptr noundef %0, ptr noundef nonnull @nds32_pfm_perf_map, ptr noundef nonnull @nds32_pfm_perf_cache_map, i32 noundef %2) #2
ret i32 %3
}
declare i32 @nds32_pmu_map_event(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_spav3_map_event.c'
source_filename = "AnghaBench/linux/arch/nds32/kernel/extr_perf_event_cpu.c_nds32_spav3_map_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nds32_pfm_perf_map = common global i32 0, align 4
@nds32_pfm_perf_cache_map = common global i32 0, align 4
@SOFTWARE_EVENT_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @nds32_spav3_map_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @nds32_spav3_map_event(ptr noundef %0) #0 {
%2 = load i32, ptr @SOFTWARE_EVENT_MASK, align 4, !tbaa !6
%3 = tail call i32 @nds32_pmu_map_event(ptr noundef %0, ptr noundef nonnull @nds32_pfm_perf_map, ptr noundef nonnull @nds32_pfm_perf_cache_map, i32 noundef %2) #2
ret i32 %3
}
declare i32 @nds32_pmu_map_event(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_nds32_kernel_extr_perf_event_cpu.c_nds32_spav3_map_event |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_dbgport.c_dbg_handler.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_dbgport.c_dbg_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BVM_DBG_SIG = dso_local local_unnamed_addr global i8 0, align 1
@conn_fd = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Waiting for connection from gdb\0D\0A\00", align 1
@listen_fd = dso_local local_unnamed_addr global i32 0, align 4
@SOCK_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
@SOL_SOCKET = dso_local local_unnamed_addr global i32 0, align 4
@SO_NOSIGPIPE = dso_local local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = dso_local local_unnamed_addr global i32 0, align 4
@TCP_NODELAY = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EINTR = dso_local local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@EAGAIN = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @dbg_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @dbg_handler(ptr nocapture readnone %0, i32 %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr nocapture noundef %5, ptr nocapture readnone %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 1, ptr %8, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
%10 = icmp eq i32 %4, 2
%11 = icmp ne i32 %2, 0
%12 = and i1 %11, %10
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load i8, ptr @BVM_DBG_SIG, align 1, !tbaa !9
br label %63
15: ; preds = %7
%16 = icmp eq i32 %4, 4
br i1 %16, label %17, label %65
17: ; preds = %15
%18 = load i32, ptr @conn_fd, align 4, !tbaa !5
br label %19
19: ; preds = %17, %56
%20 = phi i32 [ %18, %17 ], [ -1, %56 ]
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %46
22: ; preds = %19
%23 = call i32 @printf(ptr noundef nonnull @.str) #3
br label %24
24: ; preds = %43, %22
%25 = load i32, ptr @listen_fd, align 4, !tbaa !5
%26 = load i32, ptr @SOCK_NONBLOCK, align 4, !tbaa !5
%27 = call i32 @accept4(i32 noundef %25, ptr noundef null, ptr noundef null, i32 noundef %26) #3
store i32 %27, ptr @conn_fd, align 4, !tbaa !5
%28 = icmp sgt i32 %27, -1
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !5
%31 = load i32, ptr @SO_NOSIGPIPE, align 4, !tbaa !5
%32 = call i32 @setsockopt(i32 noundef %27, i32 noundef %30, i32 noundef %31, ptr noundef nonnull %8, i32 noundef 4) #3
%33 = load i32, ptr @conn_fd, align 4, !tbaa !5
%34 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !5
%35 = load i32, ptr @TCP_NODELAY, align 4, !tbaa !5
%36 = call i32 @setsockopt(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %8, i32 noundef 4) #3
br label %43
37: ; preds = %24
%38 = load i64, ptr @errno, align 8, !tbaa !10
%39 = load i64, ptr @EINTR, align 8, !tbaa !10
%40 = icmp eq i64 %38, %39
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %43
43: ; preds = %37, %41, %29
%44 = load i32, ptr @conn_fd, align 4, !tbaa !5
%45 = icmp slt i32 %44, 0
br i1 %45, label %24, label %46, !llvm.loop !12
46: ; preds = %43, %19
%47 = phi i32 [ %20, %19 ], [ %44, %43 ]
br i1 %11, label %48, label %59
48: ; preds = %46
%49 = call i32 @read(i32 noundef %47, ptr noundef nonnull %9, i32 noundef 1) #3
switch i32 %49, label %56 [
i32 -1, label %50
i32 1, label %54
]
50: ; preds = %48
%51 = load i64, ptr @errno, align 8, !tbaa !10
%52 = load i64, ptr @EAGAIN, align 8, !tbaa !10
%53 = icmp eq i64 %51, %52
br i1 %53, label %63, label %56
54: ; preds = %48
%55 = load i8, ptr %9, align 1, !tbaa !9
br label %63
56: ; preds = %48, %50, %59
%57 = load i32, ptr @conn_fd, align 4, !tbaa !5
%58 = call i32 @close(i32 noundef %57) #3
store i32 -1, ptr @conn_fd, align 4, !tbaa !5
br label %19
59: ; preds = %46
%60 = load i8, ptr %5, align 1, !tbaa !9
store i8 %60, ptr %9, align 1, !tbaa !9
%61 = call i32 @write(i32 noundef %47, ptr noundef nonnull %9, i32 noundef 1) #3
%62 = icmp eq i32 %61, 1
br i1 %62, label %65, label %56
63: ; preds = %50, %13, %54
%64 = phi i8 [ %55, %54 ], [ %14, %13 ], [ -1, %50 ]
store i8 %64, ptr %5, align 1, !tbaa !9
br label %65
65: ; preds = %59, %63, %15
%66 = phi i32 [ -1, %15 ], [ 0, %63 ], [ 0, %59 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @accept4(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_dbgport.c_dbg_handler.c'
source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_dbgport.c_dbg_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BVM_DBG_SIG = common local_unnamed_addr global i8 0, align 1
@conn_fd = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Waiting for connection from gdb\0D\0A\00", align 1
@listen_fd = common local_unnamed_addr global i32 0, align 4
@SOCK_NONBLOCK = common local_unnamed_addr global i32 0, align 4
@SOL_SOCKET = common local_unnamed_addr global i32 0, align 4
@SO_NOSIGPIPE = common local_unnamed_addr global i32 0, align 4
@IPPROTO_TCP = common local_unnamed_addr global i32 0, align 4
@TCP_NODELAY = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@EINTR = common local_unnamed_addr global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@EAGAIN = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @dbg_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @dbg_handler(ptr nocapture readnone %0, i32 %1, i32 noundef %2, i32 %3, i32 noundef %4, ptr nocapture noundef %5, ptr nocapture readnone %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 1, ptr %8, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
%10 = icmp eq i32 %4, 2
%11 = icmp ne i32 %2, 0
%12 = and i1 %11, %10
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = load i8, ptr @BVM_DBG_SIG, align 1, !tbaa !10
br label %63
15: ; preds = %7
%16 = icmp eq i32 %4, 4
br i1 %16, label %17, label %65
17: ; preds = %15
%18 = load i32, ptr @conn_fd, align 4, !tbaa !6
br label %19
19: ; preds = %17, %56
%20 = phi i32 [ %18, %17 ], [ -1, %56 ]
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %46
22: ; preds = %19
%23 = call i32 @printf(ptr noundef nonnull @.str) #3
br label %24
24: ; preds = %43, %22
%25 = load i32, ptr @listen_fd, align 4, !tbaa !6
%26 = load i32, ptr @SOCK_NONBLOCK, align 4, !tbaa !6
%27 = call i32 @accept4(i32 noundef %25, ptr noundef null, ptr noundef null, i32 noundef %26) #3
store i32 %27, ptr @conn_fd, align 4, !tbaa !6
%28 = icmp sgt i32 %27, -1
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = load i32, ptr @SOL_SOCKET, align 4, !tbaa !6
%31 = load i32, ptr @SO_NOSIGPIPE, align 4, !tbaa !6
%32 = call i32 @setsockopt(i32 noundef %27, i32 noundef %30, i32 noundef %31, ptr noundef nonnull %8, i32 noundef 4) #3
%33 = load i32, ptr @conn_fd, align 4, !tbaa !6
%34 = load i32, ptr @IPPROTO_TCP, align 4, !tbaa !6
%35 = load i32, ptr @TCP_NODELAY, align 4, !tbaa !6
%36 = call i32 @setsockopt(i32 noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef nonnull %8, i32 noundef 4) #3
br label %43
37: ; preds = %24
%38 = load i64, ptr @errno, align 8, !tbaa !11
%39 = load i64, ptr @EINTR, align 8, !tbaa !11
%40 = icmp eq i64 %38, %39
br i1 %40, label %43, label %41
41: ; preds = %37
%42 = call i32 @perror(ptr noundef nonnull @.str.1) #3
br label %43
43: ; preds = %37, %41, %29
%44 = load i32, ptr @conn_fd, align 4, !tbaa !6
%45 = icmp slt i32 %44, 0
br i1 %45, label %24, label %46, !llvm.loop !13
46: ; preds = %43, %19
%47 = phi i32 [ %20, %19 ], [ %44, %43 ]
br i1 %11, label %48, label %59
48: ; preds = %46
%49 = call i32 @read(i32 noundef %47, ptr noundef nonnull %9, i32 noundef 1) #3
switch i32 %49, label %56 [
i32 -1, label %50
i32 1, label %54
]
50: ; preds = %48
%51 = load i64, ptr @errno, align 8, !tbaa !11
%52 = load i64, ptr @EAGAIN, align 8, !tbaa !11
%53 = icmp eq i64 %51, %52
br i1 %53, label %63, label %56
54: ; preds = %48
%55 = load i8, ptr %9, align 1, !tbaa !10
br label %63
56: ; preds = %48, %50, %59
%57 = load i32, ptr @conn_fd, align 4, !tbaa !6
%58 = call i32 @close(i32 noundef %57) #3
store i32 -1, ptr @conn_fd, align 4, !tbaa !6
br label %19
59: ; preds = %46
%60 = load i8, ptr %5, align 1, !tbaa !10
store i8 %60, ptr %9, align 1, !tbaa !10
%61 = call i32 @write(i32 noundef %47, ptr noundef nonnull %9, i32 noundef 1) #3
%62 = icmp eq i32 %61, 1
br i1 %62, label %65, label %56
63: ; preds = %50, %13, %54
%64 = phi i8 [ %55, %54 ], [ %14, %13 ], [ -1, %50 ]
store i8 %64, ptr %5, align 1, !tbaa !10
br label %65
65: ; preds = %59, %63, %15
%66 = phi i32 [ -1, %15 ], [ 0, %63 ], [ 0, %59 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @printf(ptr noundef) local_unnamed_addr #2
declare i32 @accept4(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.sbin_bhyve_extr_dbgport.c_dbg_handler |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_at76c50x-usb.c_at76_dfu_get_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_at76c50x-usb.c_at76_dfu_get_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DFU_GETSTATUS = dso_local local_unnamed_addr global i32 0, align 4
@USB_TYPE_CLASS = dso_local local_unnamed_addr global i32 0, align 4
@USB_DIR_IN = dso_local local_unnamed_addr global i32 0, align 4
@USB_RECIP_INTERFACE = dso_local local_unnamed_addr global i32 0, align 4
@USB_CTRL_GET_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @at76_dfu_get_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @at76_dfu_get_status(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @usb_rcvctrlpipe(ptr noundef %0, i32 noundef 0) #2
%4 = load i32, ptr @DFU_GETSTATUS, align 4, !tbaa !5
%5 = load i32, ptr @USB_TYPE_CLASS, align 4, !tbaa !5
%6 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !5
%7 = or i32 %6, %5
%8 = load i32, ptr @USB_RECIP_INTERFACE, align 4, !tbaa !5
%9 = or i32 %7, %8
%10 = load i32, ptr @USB_CTRL_GET_TIMEOUT, align 4, !tbaa !5
%11 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef 4, i32 noundef %10) #2
ret i32 %11
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(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/fastsocket/kernel/drivers/net/wireless/extr_at76c50x-usb.c_at76_dfu_get_status.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/extr_at76c50x-usb.c_at76_dfu_get_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DFU_GETSTATUS = common local_unnamed_addr global i32 0, align 4
@USB_TYPE_CLASS = common local_unnamed_addr global i32 0, align 4
@USB_DIR_IN = common local_unnamed_addr global i32 0, align 4
@USB_RECIP_INTERFACE = common local_unnamed_addr global i32 0, align 4
@USB_CTRL_GET_TIMEOUT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @at76_dfu_get_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @at76_dfu_get_status(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @usb_rcvctrlpipe(ptr noundef %0, i32 noundef 0) #2
%4 = load i32, ptr @DFU_GETSTATUS, align 4, !tbaa !6
%5 = load i32, ptr @USB_TYPE_CLASS, align 4, !tbaa !6
%6 = load i32, ptr @USB_DIR_IN, align 4, !tbaa !6
%7 = or i32 %6, %5
%8 = load i32, ptr @USB_RECIP_INTERFACE, align 4, !tbaa !6
%9 = or i32 %7, %8
%10 = load i32, ptr @USB_CTRL_GET_TIMEOUT, align 4, !tbaa !6
%11 = tail call i32 @usb_control_msg(ptr noundef %0, i32 noundef %3, i32 noundef %4, i32 noundef %9, i32 noundef 0, i32 noundef 0, ptr noundef %1, i32 noundef 4, i32 noundef %10) #2
ret i32 %11
}
declare i32 @usb_control_msg(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_rcvctrlpipe(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"}
| fastsocket_kernel_drivers_net_wireless_extr_at76c50x-usb.c_at76_dfu_get_status |
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_tree_stall.h_zero_cpu_stall_ticks.c'
source_filename = "AnghaBench/linux/kernel/rcu/extr_tree_stall.h_zero_cpu_stall_ticks.c"
target datalayout = "e-m:e-p270:32:32-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.rcu_data = type { i32, i32, i64 }
@RCU_SOFTIRQ = dso_local local_unnamed_addr global i32 0, align 4
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @zero_cpu_stall_ticks], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @zero_cpu_stall_ticks(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds %struct.rcu_data, ptr %0, i64 0, i32 2
store i64 0, ptr %2, align 8, !tbaa !5
%3 = load i32, ptr @RCU_SOFTIRQ, align 4, !tbaa !11
%4 = tail call i32 (...) @smp_processor_id() #2
%5 = tail call i32 @kstat_softirqs_cpu(i32 noundef %3, i32 noundef %4) #2
%6 = getelementptr inbounds %struct.rcu_data, ptr %0, i64 0, i32 1
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = load i32, ptr %0, align 8, !tbaa !13
%8 = load i32, ptr @jiffies, align 4, !tbaa !11
%9 = tail call i32 @WRITE_ONCE(i32 noundef %7, i32 noundef %8) #2
ret void
}
declare i32 @kstat_softirqs_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @WRITE_ONCE(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 = !{!"rcu_data", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_tree_stall.h_zero_cpu_stall_ticks.c'
source_filename = "AnghaBench/linux/kernel/rcu/extr_tree_stall.h_zero_cpu_stall_ticks.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCU_SOFTIRQ = common local_unnamed_addr global i32 0, align 4
@jiffies = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @zero_cpu_stall_ticks], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @zero_cpu_stall_ticks(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %2, align 8, !tbaa !6
%3 = load i32, ptr @RCU_SOFTIRQ, align 4, !tbaa !12
%4 = tail call i32 @smp_processor_id() #2
%5 = tail call i32 @kstat_softirqs_cpu(i32 noundef %3, i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %5, ptr %6, align 4, !tbaa !13
%7 = load i32, ptr %0, align 8, !tbaa !14
%8 = load i32, ptr @jiffies, align 4, !tbaa !12
%9 = tail call i32 @WRITE_ONCE(i32 noundef %7, i32 noundef %8) #2
ret void
}
declare i32 @kstat_softirqs_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @smp_processor_id(...) local_unnamed_addr #1
declare i32 @WRITE_ONCE(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 = !{!"rcu_data", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 0}
| linux_kernel_rcu_extr_tree_stall.h_zero_cpu_stall_ticks |
; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_rpi.c_update_display_size.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_rpi.c_update_display_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.priv = type { i64, i64 }
@.str = private unnamed_addr constant [29 x i8] c"Could not get display size.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Display size: %dx%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @update_display_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @update_display_size(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !10
%5 = call i64 @graphics_get_display_size(i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @MP_FATAL(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
br label %21
9: ; preds = %1
%10 = load i64, ptr %4, align 8, !tbaa !12
%11 = load i64, ptr %2, align 8, !tbaa !10
%12 = icmp eq i64 %10, %11
%13 = load i64, ptr %3, align 8, !tbaa !10
br i1 %12, label %14, label %18
14: ; preds = %9
%15 = getelementptr inbounds %struct.priv, ptr %4, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !14
%17 = icmp eq i64 %16, %13
br i1 %17, label %21, label %18
18: ; preds = %14, %9
store i64 %11, ptr %4, align 8, !tbaa !12
%19 = getelementptr inbounds %struct.priv, ptr %4, i64 0, i32 1
store i64 %13, ptr %19, align 8, !tbaa !14
%20 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %11, i64 noundef %13) #3
br label %21
21: ; preds = %14, %18, %7
%22 = phi i32 [ -1, %7 ], [ 0, %18 ], [ 0, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @graphics_get_display_size(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vo", !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, !11, i64 0}
!13 = !{!"priv", !11, i64 0, !11, i64 8}
!14 = !{!13, !11, i64 8}
| ; ModuleID = 'AnghaBench/mpv/video/out/extr_vo_rpi.c_update_display_size.c'
source_filename = "AnghaBench/mpv/video/out/extr_vo_rpi.c_update_display_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [29 x i8] c"Could not get display size.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Display size: %dx%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @update_display_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @update_display_size(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8, !tbaa !11
%5 = call i64 @graphics_get_display_size(i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3) #3
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @MP_FATAL(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3
br label %21
9: ; preds = %1
%10 = load i64, ptr %4, align 8, !tbaa !13
%11 = load i64, ptr %2, align 8, !tbaa !11
%12 = icmp eq i64 %10, %11
%13 = load i64, ptr %3, align 8, !tbaa !11
br i1 %12, label %14, label %18
14: ; preds = %9
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !15
%17 = icmp eq i64 %16, %13
br i1 %17, label %21, label %18
18: ; preds = %14, %9
store i64 %11, ptr %4, align 8, !tbaa !13
%19 = getelementptr inbounds i8, ptr %4, i64 8
store i64 %13, ptr %19, align 8, !tbaa !15
%20 = call i32 @MP_VERBOSE(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i64 noundef %11, i64 noundef %13) #3
br label %21
21: ; preds = %14, %18, %7
%22 = phi i32 [ -1, %7 ], [ 0, %18 ], [ 0, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @graphics_get_display_size(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_FATAL(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @MP_VERBOSE(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vo", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"priv", !12, i64 0, !12, i64 8}
!15 = !{!14, !12, i64 8}
| mpv_video_out_extr_vo_rpi.c_update_display_size |
; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_decals.c_ProjectDecalOntoTriangles.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_decals.c_ProjectDecalOntoTriangles.c"
target datalayout = "e-m:e-p270:32:32-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_16__ = type { i64, i64, i32, ptr, ptr, i64, ptr }
%struct.TYPE_18__ = type { i64, i32 }
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_15__ = type { i32, ptr }
@SURFACE_TRIANGLES = dso_local local_unnamed_addr global i64 0, align 8
@mapplanes = dso_local local_unnamed_addr global ptr null, align 8
@entityOrigin = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ProjectDecalOntoTriangles], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ProjectDecalOntoTriangles(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = load i64, ptr @SURFACE_TRIANGLES, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 6
%8 = load ptr, ptr %7, align 8, !tbaa !13
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = icmp eq ptr %9, null
br i1 %10, label %71, label %11
11: ; preds = %6, %2
%12 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 5
%13 = load i64, ptr %12, align 8, !tbaa !16
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 2
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %71
19: ; preds = %15
%20 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 4
%21 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 3
br label %31
22: ; preds = %11
%23 = load ptr, ptr @mapplanes, align 8, !tbaa !18
%24 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1
%25 = load i64, ptr %24, align 8, !tbaa !19
%26 = getelementptr inbounds %struct.TYPE_18__, ptr %23, i64 %25, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !20
%28 = tail call i32 @VectorCopy(i32 noundef %27, ptr noundef undef) #2
%29 = load ptr, ptr @entityOrigin, align 8, !tbaa !18
%30 = tail call float @DotProduct(ptr noundef undef, ptr noundef %29) #2
unreachable
31: ; preds = %19, %31
%32 = phi i64 [ 0, %19 ], [ %67, %31 ]
%33 = tail call ptr @AllocWinding(i32 noundef 3) #2
store i32 3, ptr %33, align 8, !tbaa !22
%34 = load ptr, ptr %20, align 8, !tbaa !24
%35 = load ptr, ptr %21, align 8, !tbaa !25
%36 = getelementptr inbounds i64, ptr %35, i64 %32
%37 = load i64, ptr %36, align 8, !tbaa !12
%38 = getelementptr inbounds %struct.TYPE_14__, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4, !tbaa !26
%40 = getelementptr inbounds %struct.TYPE_15__, ptr %33, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !28
%42 = load ptr, ptr %41, align 8, !tbaa !18
%43 = tail call i32 @VectorCopy(i32 noundef %39, ptr noundef %42) #2
%44 = load ptr, ptr %20, align 8, !tbaa !24
%45 = load ptr, ptr %21, align 8, !tbaa !25
%46 = getelementptr i64, ptr %45, i64 %32
%47 = getelementptr i64, ptr %46, i64 1
%48 = load i64, ptr %47, align 8, !tbaa !12
%49 = getelementptr inbounds %struct.TYPE_14__, ptr %44, i64 %48
%50 = load i32, ptr %49, align 4, !tbaa !26
%51 = load ptr, ptr %40, align 8, !tbaa !28
%52 = getelementptr inbounds ptr, ptr %51, i64 1
%53 = load ptr, ptr %52, align 8, !tbaa !18
%54 = tail call i32 @VectorCopy(i32 noundef %50, ptr noundef %53) #2
%55 = load ptr, ptr %20, align 8, !tbaa !24
%56 = load ptr, ptr %21, align 8, !tbaa !25
%57 = getelementptr i64, ptr %56, i64 %32
%58 = getelementptr i64, ptr %57, i64 2
%59 = load i64, ptr %58, align 8, !tbaa !12
%60 = getelementptr inbounds %struct.TYPE_14__, ptr %55, i64 %59
%61 = load i32, ptr %60, align 4, !tbaa !26
%62 = load ptr, ptr %40, align 8, !tbaa !28
%63 = getelementptr inbounds ptr, ptr %62, i64 2
%64 = load ptr, ptr %63, align 8, !tbaa !18
%65 = tail call i32 @VectorCopy(i32 noundef %61, ptr noundef %64) #2
%66 = tail call i32 @ProjectDecalOntoWinding(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %33) #2
%67 = add nuw i64 %32, 3
%68 = load i32, ptr %16, align 8, !tbaa !17
%69 = trunc i64 %67 to i32
%70 = icmp sgt i32 %68, %69
br i1 %70, label %31, label %71, !llvm.loop !29
71: ; preds = %31, %15, %6
ret void
}
declare i32 @VectorCopy(i32 noundef, ptr noundef) local_unnamed_addr #1
declare float @DotProduct(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @AllocWinding(i32 noundef) local_unnamed_addr #1
declare i32 @ProjectDecalOntoWinding(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_16__", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !11, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !11, i64 48}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_13__", !11, i64 0}
!16 = !{!6, !7, i64 40}
!17 = !{!6, !10, i64 16}
!18 = !{!11, !11, i64 0}
!19 = !{!6, !7, i64 8}
!20 = !{!21, !10, i64 8}
!21 = !{!"TYPE_18__", !7, i64 0, !10, i64 8}
!22 = !{!23, !10, i64 0}
!23 = !{!"TYPE_15__", !10, i64 0, !11, i64 8}
!24 = !{!6, !11, i64 32}
!25 = !{!6, !11, i64 24}
!26 = !{!27, !10, i64 0}
!27 = !{!"TYPE_14__", !10, i64 0}
!28 = !{!23, !11, i64 8}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/lab/q3map2/q3map2/extr_decals.c_ProjectDecalOntoTriangles.c'
source_filename = "AnghaBench/lab/q3map2/q3map2/extr_decals.c_ProjectDecalOntoTriangles.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { i32 }
%struct.TYPE_18__ = type { i64, i32 }
@SURFACE_TRIANGLES = common local_unnamed_addr global i64 0, align 8
@mapplanes = common local_unnamed_addr global ptr null, align 8
@entityOrigin = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ProjectDecalOntoTriangles], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ProjectDecalOntoTriangles(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = load i64, ptr @SURFACE_TRIANGLES, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 48
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load ptr, ptr %8, align 8, !tbaa !15
%10 = icmp eq ptr %9, null
br i1 %10, label %63, label %11
11: ; preds = %6, %2
%12 = getelementptr inbounds i8, ptr %1, i64 40
%13 = load i64, ptr %12, align 8, !tbaa !17
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = getelementptr inbounds i8, ptr %1, i64 16
%17 = load i32, ptr %16, align 8, !tbaa !18
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %63
19: ; preds = %15
%20 = getelementptr inbounds i8, ptr %1, i64 32
%21 = getelementptr inbounds i8, ptr %1, i64 24
br label %23
22: ; preds = %11
call void @ProjectDecalOntoTriangles.cold.1(ptr %1) #3
unreachable
23: ; preds = %19, %23
%24 = phi i64 [ 0, %19 ], [ %59, %23 ]
%25 = tail call ptr @AllocWinding(i32 noundef 3) #4
store i32 3, ptr %25, align 8, !tbaa !19
%26 = load ptr, ptr %20, align 8, !tbaa !21
%27 = load ptr, ptr %21, align 8, !tbaa !22
%28 = getelementptr inbounds i64, ptr %27, i64 %24
%29 = load i64, ptr %28, align 8, !tbaa !13
%30 = getelementptr inbounds %struct.TYPE_14__, ptr %26, i64 %29
%31 = load i32, ptr %30, align 4, !tbaa !23
%32 = getelementptr inbounds i8, ptr %25, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !25
%34 = load ptr, ptr %33, align 8, !tbaa !26
%35 = tail call i32 @VectorCopy(i32 noundef %31, ptr noundef %34) #4
%36 = load ptr, ptr %20, align 8, !tbaa !21
%37 = load ptr, ptr %21, align 8, !tbaa !22
%38 = getelementptr inbounds i64, ptr %37, i64 %24
%39 = getelementptr inbounds i8, ptr %38, i64 8
%40 = load i64, ptr %39, align 8, !tbaa !13
%41 = getelementptr inbounds %struct.TYPE_14__, ptr %36, i64 %40
%42 = load i32, ptr %41, align 4, !tbaa !23
%43 = load ptr, ptr %32, align 8, !tbaa !25
%44 = getelementptr inbounds i8, ptr %43, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !26
%46 = tail call i32 @VectorCopy(i32 noundef %42, ptr noundef %45) #4
%47 = load ptr, ptr %20, align 8, !tbaa !21
%48 = load ptr, ptr %21, align 8, !tbaa !22
%49 = getelementptr inbounds i64, ptr %48, i64 %24
%50 = getelementptr inbounds i8, ptr %49, i64 16
%51 = load i64, ptr %50, align 8, !tbaa !13
%52 = getelementptr inbounds %struct.TYPE_14__, ptr %47, i64 %51
%53 = load i32, ptr %52, align 4, !tbaa !23
%54 = load ptr, ptr %32, align 8, !tbaa !25
%55 = getelementptr inbounds i8, ptr %54, i64 16
%56 = load ptr, ptr %55, align 8, !tbaa !26
%57 = tail call i32 @VectorCopy(i32 noundef %53, ptr noundef %56) #4
%58 = tail call i32 @ProjectDecalOntoWinding(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %25) #4
%59 = add nuw nsw i64 %24, 3
%60 = load i32, ptr %16, align 8, !tbaa !18
%61 = trunc nuw i64 %59 to i32
%62 = icmp sgt i32 %60, %61
br i1 %62, label %23, label %63, !llvm.loop !27
63: ; preds = %23, %15, %6
ret void
}
declare i32 @VectorCopy(i32 noundef, ptr noundef) local_unnamed_addr #1
declare float @DotProduct(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @AllocWinding(i32 noundef) local_unnamed_addr #1
declare i32 @ProjectDecalOntoWinding(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: cold minsize noreturn nounwind ssp uwtable(sync)
define internal void @ProjectDecalOntoTriangles.cold.1(ptr %0) #2 {
br label %2
2: ; preds = %1
%3 = load ptr, ptr @mapplanes, align 8, !tbaa !26
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !29
%6 = getelementptr inbounds %struct.TYPE_18__, ptr %3, i64 %5, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !30
%8 = tail call i32 @VectorCopy(i32 noundef %7, ptr noundef undef) #4
%9 = load ptr, ptr @entityOrigin, align 8, !tbaa !26
%10 = tail call float @DotProduct(ptr noundef undef, ptr noundef %9) #4
unreachable
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { cold minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noinline }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_16__", !8, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !8, i64 40, !12, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !12, i64 48}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_13__", !12, i64 0}
!17 = !{!7, !8, i64 40}
!18 = !{!7, !11, i64 16}
!19 = !{!20, !11, i64 0}
!20 = !{!"TYPE_15__", !11, i64 0, !12, i64 8}
!21 = !{!7, !12, i64 32}
!22 = !{!7, !12, i64 24}
!23 = !{!24, !11, i64 0}
!24 = !{!"TYPE_14__", !11, i64 0}
!25 = !{!20, !12, i64 8}
!26 = !{!12, !12, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!7, !8, i64 8}
!30 = !{!31, !11, i64 8}
!31 = !{!"TYPE_18__", !8, i64 0, !11, i64 8}
| lab_q3map2_q3map2_extr_decals.c_ProjectDecalOntoTriangles |
; ModuleID = 'AnghaBench/linux/fs/fscache/extr_cookie.c___fscache_enable_cookie.c'
source_filename = "AnghaBench/linux/fs/fscache/extr_cookie.c___fscache_enable_cookie.c"
target datalayout = "e-m:e-p270:32:32-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.fscache_cookie = type { i64, i32 }
@.str = private unnamed_addr constant [3 x i8] c"%p\00", align 1
@FSCACHE_COOKIE_ENABLEMENT_LOCK = dso_local local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4
@FSCACHE_COOKIE_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@FSCACHE_COOKIE_TYPE_INDEX = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @__fscache_enable_cookie(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @_enter(ptr noundef nonnull @.str, ptr noundef %0) #2
%7 = tail call i32 @trace_fscache_enable(ptr noundef %0) #2
%8 = getelementptr inbounds %struct.fscache_cookie, ptr %0, i64 0, i32 1
%9 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !5
%10 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !5
%11 = tail call i32 @wait_on_bit_lock(ptr noundef nonnull %8, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @fscache_update_aux(ptr noundef %0, ptr noundef %1) #2
%13 = load i32, ptr @FSCACHE_COOKIE_ENABLED, align 4, !tbaa !5
%14 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %8) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %32
16: ; preds = %5
%17 = icmp eq ptr %3, null
br i1 %17, label %21, label %18
18: ; preds = %16
%19 = tail call i32 %3(ptr noundef %4) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %32, label %21
21: ; preds = %18, %16
%22 = load i64, ptr %0, align 8, !tbaa !9
%23 = load i64, ptr @FSCACHE_COOKIE_TYPE_INDEX, align 8, !tbaa !12
%24 = icmp eq i64 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = tail call i32 @__fscache_wait_on_invalidate(ptr noundef nonnull %0) #2
%27 = tail call i64 @fscache_acquire_non_index_cookie(ptr noundef nonnull %0, i32 noundef %2) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %21, %25
%30 = load i32, ptr @FSCACHE_COOKIE_ENABLED, align 4, !tbaa !5
%31 = tail call i32 @set_bit(i32 noundef %30, ptr noundef nonnull %8) #2
br label %32
32: ; preds = %29, %18, %25, %5
%33 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !5
%34 = tail call i32 @clear_bit_unlock(i32 noundef %33, ptr noundef nonnull %8) #2
%35 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !5
%36 = tail call i32 @wake_up_bit(ptr noundef nonnull %8, i32 noundef %35) #2
ret void
}
declare i32 @_enter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trace_fscache_enable(ptr noundef) local_unnamed_addr #1
declare i32 @wait_on_bit_lock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fscache_update_aux(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__fscache_wait_on_invalidate(ptr noundef) local_unnamed_addr #1
declare i64 @fscache_acquire_non_index_cookie(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit_unlock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_bit(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 0}
!10 = !{!"fscache_cookie", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/fscache/extr_cookie.c___fscache_enable_cookie.c'
source_filename = "AnghaBench/linux/fs/fscache/extr_cookie.c___fscache_enable_cookie.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [3 x i8] c"%p\00", align 1
@FSCACHE_COOKIE_ENABLEMENT_LOCK = common local_unnamed_addr global i32 0, align 4
@TASK_UNINTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4
@FSCACHE_COOKIE_ENABLED = common local_unnamed_addr global i32 0, align 4
@FSCACHE_COOKIE_TYPE_INDEX = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @__fscache_enable_cookie(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = tail call i32 @_enter(ptr noundef nonnull @.str, ptr noundef %0) #2
%7 = tail call i32 @trace_fscache_enable(ptr noundef %0) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !6
%10 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !6
%11 = tail call i32 @wait_on_bit_lock(ptr noundef nonnull %8, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @fscache_update_aux(ptr noundef %0, ptr noundef %1) #2
%13 = load i32, ptr @FSCACHE_COOKIE_ENABLED, align 4, !tbaa !6
%14 = tail call i64 @test_bit(i32 noundef %13, ptr noundef nonnull %8) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %32
16: ; preds = %5
%17 = icmp eq ptr %3, null
br i1 %17, label %21, label %18
18: ; preds = %16
%19 = tail call i32 %3(ptr noundef %4) #2
%20 = icmp eq i32 %19, 0
br i1 %20, label %32, label %21
21: ; preds = %18, %16
%22 = load i64, ptr %0, align 8, !tbaa !10
%23 = load i64, ptr @FSCACHE_COOKIE_TYPE_INDEX, align 8, !tbaa !13
%24 = icmp eq i64 %22, %23
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = tail call i32 @__fscache_wait_on_invalidate(ptr noundef nonnull %0) #2
%27 = tail call i64 @fscache_acquire_non_index_cookie(ptr noundef nonnull %0, i32 noundef %2) #2
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %21, %25
%30 = load i32, ptr @FSCACHE_COOKIE_ENABLED, align 4, !tbaa !6
%31 = tail call i32 @set_bit(i32 noundef %30, ptr noundef nonnull %8) #2
br label %32
32: ; preds = %29, %18, %25, %5
%33 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !6
%34 = tail call i32 @clear_bit_unlock(i32 noundef %33, ptr noundef nonnull %8) #2
%35 = load i32, ptr @FSCACHE_COOKIE_ENABLEMENT_LOCK, align 4, !tbaa !6
%36 = tail call i32 @wake_up_bit(ptr noundef nonnull %8, i32 noundef %35) #2
ret void
}
declare i32 @_enter(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trace_fscache_enable(ptr noundef) local_unnamed_addr #1
declare i32 @wait_on_bit_lock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fscache_update_aux(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__fscache_wait_on_invalidate(ptr noundef) local_unnamed_addr #1
declare i64 @fscache_acquire_non_index_cookie(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @clear_bit_unlock(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up_bit(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 0}
!11 = !{!"fscache_cookie", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
| linux_fs_fscache_extr_cookie.c___fscache_enable_cookie |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dib0070.c_dib0070_read_wbd_offset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dib0070.c_dib0070_read_wbd_offset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @dib0070_read_wbd_offset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dib0070_read_wbd_offset(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @dib0070_read_reg(ptr noundef %0, i32 noundef 32) #2
%4 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 24, i32 noundef 2047) #2
%5 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 32, i32 noundef 18555) #2
%6 = shl i32 %1, 9
%7 = or i32 %6, 24960
%8 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 15, i32 noundef %7) #2
%9 = tail call i32 @msleep(i32 noundef 9) #2
%10 = tail call i32 @dib0070_read_reg(ptr noundef %0, i32 noundef 25) #2
%11 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 32, i32 noundef %3) #2
ret i32 %10
}
declare i32 @dib0070_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dib0070_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dib0070.c_dib0070_read_wbd_offset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dib0070.c_dib0070_read_wbd_offset.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 @dib0070_read_wbd_offset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dib0070_read_wbd_offset(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @dib0070_read_reg(ptr noundef %0, i32 noundef 32) #2
%4 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 24, i32 noundef 2047) #2
%5 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 32, i32 noundef 18555) #2
%6 = shl i32 %1, 9
%7 = or i32 %6, 24960
%8 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 15, i32 noundef %7) #2
%9 = tail call i32 @msleep(i32 noundef 9) #2
%10 = tail call i32 @dib0070_read_reg(ptr noundef %0, i32 noundef 25) #2
%11 = tail call i32 @dib0070_write_reg(ptr noundef %0, i32 noundef 32, i32 noundef %3) #2
ret i32 %10
}
declare i32 @dib0070_read_reg(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dib0070_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_media_dvb_frontends_extr_dib0070.c_dib0070_read_wbd_offset |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ocsp/extr_ocsp_srv.c_OCSP_request_onereq_get0.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ocsp/extr_ocsp_srv.c_OCSP_request_onereq_get0.c"
target datalayout = "e-m:e-p270:32:32-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 @OCSP_request_onereq_get0(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @sk_OCSP_ONEREQ_value(i32 noundef %3, i32 noundef %1) #2
ret ptr %4
}
declare ptr @sk_OCSP_ONEREQ_value(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/ocsp/extr_ocsp_srv.c_OCSP_request_onereq_get0.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/ocsp/extr_ocsp_srv.c_OCSP_request_onereq_get0.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 @OCSP_request_onereq_get0(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @sk_OCSP_ONEREQ_value(i32 noundef %3, i32 noundef %1) #2
ret ptr %4
}
declare ptr @sk_OCSP_ONEREQ_value(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_crypto_openssl_crypto_ocsp_extr_ocsp_srv.c_OCSP_request_onereq_get0 |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_darwin.c_uv__platform_loop_init.c'
source_filename = "AnghaBench/libuv/src/unix/extr_darwin.c_uv__platform_loop_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"
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @uv__platform_loop_init(ptr noundef %0) local_unnamed_addr #0 {
store ptr null, ptr %0, align 8, !tbaa !5
%2 = tail call i64 @uv__kqueue_init(ptr noundef nonnull %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @errno, align 4, !tbaa !10
%6 = tail call i32 @UV__ERR(i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare i64 @uv__kqueue_init(ptr noundef) local_unnamed_addr #1
declare i32 @UV__ERR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0}
!7 = !{!"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/libuv/src/unix/extr_darwin.c_uv__platform_loop_init.c'
source_filename = "AnghaBench/libuv/src/unix/extr_darwin.c_uv__platform_loop_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @uv__platform_loop_init(ptr noundef %0) local_unnamed_addr #0 {
store ptr null, ptr %0, align 8, !tbaa !6
%2 = tail call i64 @uv__kqueue_init(ptr noundef nonnull %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr @errno, align 4, !tbaa !11
%6 = tail call i32 @UV__ERR(i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi i32 [ %6, %4 ], [ 0, %1 ]
ret i32 %8
}
declare i64 @uv__kqueue_init(ptr noundef) local_unnamed_addr #1
declare i32 @UV__ERR(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"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}
| libuv_src_unix_extr_darwin.c_uv__platform_loop_init |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_thread_act.c_act_abort.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_thread_act.c_act_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"
@TH_SFLAG_ABORT = dso_local local_unnamed_addr global i32 0, align 4
@TH_SFLAG_ABORTSAFELY = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @act_abort], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @act_abort(ptr noundef %0) #0 {
%2 = tail call i32 (...) @splsched() #2
%3 = tail call i32 @thread_lock(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = load i32, ptr @TH_SFLAG_ABORT, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = or i32 %5, %4
store i32 %9, ptr %0, align 4, !tbaa !5
%10 = tail call i32 @thread_set_apc_ast_locked(ptr noundef nonnull %0) #2
%11 = tail call i32 @thread_depress_abort_locked(ptr noundef nonnull %0) #2
br label %16
12: ; preds = %1
%13 = load i32, ptr @TH_SFLAG_ABORTSAFELY, align 4, !tbaa !10
%14 = xor i32 %13, -1
%15 = and i32 %4, %14
store i32 %15, ptr %0, align 4, !tbaa !5
br label %16
16: ; preds = %12, %8
%17 = tail call i32 @thread_unlock(ptr noundef nonnull %0) #2
%18 = tail call i32 @splx(i32 noundef %2) #2
ret void
}
declare i32 @splsched(...) local_unnamed_addr #1
declare i32 @thread_lock(ptr noundef) local_unnamed_addr #1
declare i32 @thread_set_apc_ast_locked(ptr noundef) local_unnamed_addr #1
declare i32 @thread_depress_abort_locked(ptr noundef) local_unnamed_addr #1
declare i32 @thread_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @splx(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/kern/extr_thread_act.c_act_abort.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/kern/extr_thread_act.c_act_abort.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TH_SFLAG_ABORT = common local_unnamed_addr global i32 0, align 4
@TH_SFLAG_ABORTSAFELY = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @act_abort], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @act_abort(ptr noundef %0) #0 {
%2 = tail call i32 @splsched() #2
%3 = tail call i32 @thread_lock(ptr noundef %0) #2
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = load i32, ptr @TH_SFLAG_ABORT, align 4, !tbaa !11
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = or i32 %5, %4
store i32 %9, ptr %0, align 4, !tbaa !6
%10 = tail call i32 @thread_set_apc_ast_locked(ptr noundef nonnull %0) #2
%11 = tail call i32 @thread_depress_abort_locked(ptr noundef nonnull %0) #2
br label %16
12: ; preds = %1
%13 = load i32, ptr @TH_SFLAG_ABORTSAFELY, align 4, !tbaa !11
%14 = xor i32 %13, -1
%15 = and i32 %4, %14
store i32 %15, ptr %0, align 4, !tbaa !6
br label %16
16: ; preds = %12, %8
%17 = tail call i32 @thread_unlock(ptr noundef nonnull %0) #2
%18 = tail call i32 @splx(i32 noundef %2) #2
ret void
}
declare i32 @splsched(...) local_unnamed_addr #1
declare i32 @thread_lock(ptr noundef) local_unnamed_addr #1
declare i32 @thread_set_apc_ast_locked(ptr noundef) local_unnamed_addr #1
declare i32 @thread_depress_abort_locked(ptr noundef) local_unnamed_addr #1
declare i32 @thread_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @splx(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| darwin-xnu_osfmk_kern_extr_thread_act.c_act_abort |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-kovaplus.c_kovaplus_raw_event.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-kovaplus.c_kovaplus_raw_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USB_INTERFACE_PROTOCOL_MOUSE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @kovaplus_raw_event], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @kovaplus_raw_event(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i32 %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call ptr @to_usb_interface(i32 noundef %5) #2
%7 = tail call ptr @hid_get_drvdata(ptr noundef nonnull %0) #2
%8 = load ptr, ptr %6, align 8, !tbaa !11
%9 = load i64, ptr %8, align 8, !tbaa !14
%10 = load i64, ptr @USB_INTERFACE_PROTOCOL_MOUSE, align 8, !tbaa !18
%11 = icmp ne i64 %9, %10
%12 = icmp eq ptr %7, null
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %20, label %14
14: ; preds = %4
%15 = tail call i32 @kovaplus_keep_values_up_to_date(ptr noundef nonnull %7, ptr noundef %2) #2
%16 = load i64, ptr %7, align 8, !tbaa !19
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @kovaplus_report_to_chrdev(ptr noundef nonnull %7, ptr noundef %2) #2
br label %20
20: ; preds = %14, %18, %4
ret i32 0
}
declare ptr @to_usb_interface(i32 noundef) local_unnamed_addr #1
declare ptr @hid_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @kovaplus_keep_values_up_to_date(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kovaplus_report_to_chrdev(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"hid_device", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"usb_interface", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!20, !17, i64 0}
!20 = !{!"kovaplus_device", !17, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-roccat-kovaplus.c_kovaplus_raw_event.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-roccat-kovaplus.c_kovaplus_raw_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USB_INTERFACE_PROTOCOL_MOUSE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @kovaplus_raw_event], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @kovaplus_raw_event(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2, i32 %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call ptr @to_usb_interface(i32 noundef %5) #2
%7 = tail call ptr @hid_get_drvdata(ptr noundef nonnull %0) #2
%8 = load ptr, ptr %6, align 8, !tbaa !12
%9 = load i64, ptr %8, align 8, !tbaa !15
%10 = load i64, ptr @USB_INTERFACE_PROTOCOL_MOUSE, align 8, !tbaa !19
%11 = icmp ne i64 %9, %10
%12 = icmp eq ptr %7, null
%13 = select i1 %11, i1 true, i1 %12
br i1 %13, label %20, label %14
14: ; preds = %4
%15 = tail call i32 @kovaplus_keep_values_up_to_date(ptr noundef nonnull %7, ptr noundef %2) #2
%16 = load i64, ptr %7, align 8, !tbaa !20
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @kovaplus_report_to_chrdev(ptr noundef nonnull %7, ptr noundef %2) #2
br label %20
20: ; preds = %14, %18, %4
ret i32 0
}
declare ptr @to_usb_interface(i32 noundef) local_unnamed_addr #1
declare ptr @hid_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @kovaplus_keep_values_up_to_date(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @kovaplus_report_to_chrdev(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"hid_device", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"usb_interface", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!16, !18, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_5__", !18, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!21, !18, i64 0}
!21 = !{!"kovaplus_device", !18, i64 0}
| linux_drivers_hid_extr_hid-roccat-kovaplus.c_kovaplus_raw_event |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkudata.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkudata.c"
target datalayout = "e-m:e-p270:32:32-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 @luaL_checkudata], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @luaL_checkudata(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = tail call i64 @lua_getmetatable(ptr noundef %0, i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %6
%10 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef -10000, ptr noundef %2) #2
%11 = tail call i64 @lua_rawequal(ptr noundef %0, i32 noundef -1, i32 noundef -2) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #2
br label %17
15: ; preds = %6, %9, %3
%16 = tail call i32 @luaL_typerror(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
br label %17
17: ; preds = %15, %13
%18 = phi ptr [ %4, %13 ], [ null, %15 ]
ret ptr %18
}
declare ptr @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @lua_rawequal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_typerror(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkudata.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_luaL_checkudata.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 @luaL_checkudata], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @luaL_checkudata(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %15, label %6
6: ; preds = %3
%7 = tail call i64 @lua_getmetatable(ptr noundef %0, i32 noundef %1) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %15, label %9
9: ; preds = %6
%10 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef -10000, ptr noundef %2) #2
%11 = tail call i64 @lua_rawequal(ptr noundef %0, i32 noundef -1, i32 noundef -2) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = tail call i32 @lua_pop(ptr noundef %0, i32 noundef 2) #2
br label %17
15: ; preds = %6, %9, %3
%16 = tail call i32 @luaL_typerror(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2
br label %17
17: ; preds = %15, %13
%18 = phi ptr [ %4, %13 ], [ null, %15 ]
ret ptr %18
}
declare ptr @lua_touserdata(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @lua_rawequal(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @luaL_typerror(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)"}
| xLua_build_luajit-2.1.0b2_src_host_extr_minilua.c_luaL_checkudata |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@APM_DEVICE_ALL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_system_power_state], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_system_power_state(i32 noundef %0) #0 {
%2 = load i32, ptr @APM_DEVICE_ALL, align 4, !tbaa !5
%3 = tail call i32 @set_power_state(i32 noundef %2, i32 noundef %0) #2
ret i32 %3
}
declare i32 @set_power_state(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kernel/extr_apm_32.c_set_system_power_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@APM_DEVICE_ALL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_system_power_state], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_system_power_state(i32 noundef %0) #0 {
%2 = load i32, ptr @APM_DEVICE_ALL, align 4, !tbaa !6
%3 = tail call i32 @set_power_state(i32 noundef %2, i32 noundef %0) #2
ret i32 %3
}
declare i32 @set_power_state(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_x86_kernel_extr_apm_32.c_set_system_power_state |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-scene.c_scene_save_item.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-scene.c_scene_save_item.c"
target datalayout = "e-m:e-p270:32:32-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.vec2 = type { i32 }
%struct.obs_scene_item = type { float, i32, i32, i32, i64, i32, ptr, ptr, i64, %struct.TYPE_7__, %struct.vec2, i64, i64, i64, %struct.vec2, %struct.vec2 }
%struct.TYPE_7__ = type { i64, i64, i64, i64 }
@.str = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"visible\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"locked\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"rot\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"pos\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"scale\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"align\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"bounds_type\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"bounds_align\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"bounds\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"crop_left\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"crop_top\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"crop_right\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"crop_bottom\00", align 1
@.str.14 = private unnamed_addr constant [3 x i8] c"id\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"group_item_backup\00", align 1
@OBS_SCALE_POINT = dso_local local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [6 x i8] c"point\00", align 1
@OBS_SCALE_BILINEAR = dso_local local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [9 x i8] c"bilinear\00", align 1
@OBS_SCALE_BICUBIC = dso_local local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [8 x i8] c"bicubic\00", align 1
@OBS_SCALE_LANCZOS = dso_local local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [8 x i8] c"lanczos\00", align 1
@OBS_SCALE_AREA = dso_local local_unnamed_addr global i64 0, align 8
@.str.20 = private unnamed_addr constant [5 x i8] c"area\00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"disable\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"scale_filter\00", align 1
@.str.23 = private unnamed_addr constant [17 x i8] c"private_settings\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @scene_save_item], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @scene_save_item(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.vec2, align 4
%5 = alloca %struct.vec2, align 4
%6 = alloca float, align 4
%7 = tail call ptr (...) @obs_data_create() #3
%8 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 7
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = tail call ptr @obs_source_get_name(ptr noundef %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%11 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 15
%12 = load i32, ptr %11, align 4, !tbaa !15
store i32 %12, ptr %4, align 4, !tbaa !15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%13 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 14
%14 = load i32, ptr %13, align 8, !tbaa !15
store i32 %14, ptr %5, align 4, !tbaa !15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%15 = load float, ptr %1, align 8, !tbaa !16
store float %15, ptr %6, align 4, !tbaa !17
%16 = icmp ne ptr %2, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @get_ungrouped_transform(ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
br label %19
19: ; preds = %17, %3
%20 = call i32 @obs_data_set_string(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef %10) #3
%21 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 1
%22 = load i32, ptr %21, align 4, !tbaa !18
%23 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef %22) #3
%24 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 2
%25 = load i32, ptr %24, align 8, !tbaa !19
%26 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.2, i32 noundef %25) #3
%27 = load float, ptr %6, align 4, !tbaa !17
%28 = call i32 @obs_data_set_double(ptr noundef %7, ptr noundef nonnull @.str.3, float noundef %27) #3
%29 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #3
%30 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.5, ptr noundef nonnull %5) #3
%31 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 13
%32 = load i64, ptr %31, align 8, !tbaa !20
%33 = trunc i64 %32 to i32
%34 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.6, i32 noundef %33) #3
%35 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 12
%36 = load i64, ptr %35, align 8, !tbaa !21
%37 = trunc i64 %36 to i32
%38 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.7, i32 noundef %37) #3
%39 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 11
%40 = load i64, ptr %39, align 8, !tbaa !22
%41 = trunc i64 %40 to i32
%42 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.8, i32 noundef %41) #3
%43 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 10
%44 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.9, ptr noundef nonnull %43) #3
%45 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 9
%46 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 9, i32 3
%47 = load i64, ptr %46, align 8, !tbaa !23
%48 = trunc i64 %47 to i32
%49 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.10, i32 noundef %48) #3
%50 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 9, i32 2
%51 = load i64, ptr %50, align 8, !tbaa !24
%52 = trunc i64 %51 to i32
%53 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.11, i32 noundef %52) #3
%54 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 9, i32 1
%55 = load i64, ptr %54, align 8, !tbaa !25
%56 = trunc i64 %55 to i32
%57 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.12, i32 noundef %56) #3
%58 = load i64, ptr %45, align 8, !tbaa !26
%59 = trunc i64 %58 to i32
%60 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.13, i32 noundef %59) #3
%61 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 3
%62 = load i32, ptr %61, align 4, !tbaa !27
%63 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.14, i32 noundef %62) #3
%64 = zext i1 %16 to i32
%65 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.15, i32 noundef %64) #3
%66 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 8
%67 = load i64, ptr %66, align 8, !tbaa !28
%68 = icmp eq i64 %67, 0
br i1 %68, label %82, label %69
69: ; preds = %19
%70 = load ptr, ptr %8, align 8, !tbaa !5
%71 = load ptr, ptr %70, align 8, !tbaa !29
%72 = call i32 @full_lock(ptr noundef %71) #3
%73 = load ptr, ptr %71, align 8, !tbaa !32
%74 = icmp eq ptr %73, null
br i1 %74, label %80, label %75
75: ; preds = %69, %75
%76 = phi ptr [ %78, %75 ], [ %73, %69 ]
call void @scene_save_item(ptr noundef %0, ptr noundef nonnull %76, ptr noundef nonnull %1)
%77 = getelementptr inbounds %struct.obs_scene_item, ptr %76, i64 0, i32 6
%78 = load ptr, ptr %77, align 8, !tbaa !32
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %75, !llvm.loop !33
80: ; preds = %75, %69
%81 = call i32 @full_unlock(ptr noundef nonnull %71) #3
br label %82
82: ; preds = %80, %19
%83 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 4
%84 = load i64, ptr %83, align 8, !tbaa !35
%85 = load i64, ptr @OBS_SCALE_POINT, align 8, !tbaa !36
%86 = icmp eq i64 %84, %85
br i1 %86, label %100, label %87
87: ; preds = %82
%88 = load i64, ptr @OBS_SCALE_BILINEAR, align 8, !tbaa !36
%89 = icmp eq i64 %84, %88
br i1 %89, label %100, label %90
90: ; preds = %87
%91 = load i64, ptr @OBS_SCALE_BICUBIC, align 8, !tbaa !36
%92 = icmp eq i64 %84, %91
br i1 %92, label %100, label %93
93: ; preds = %90
%94 = load i64, ptr @OBS_SCALE_LANCZOS, align 8, !tbaa !36
%95 = icmp eq i64 %84, %94
br i1 %95, label %100, label %96
96: ; preds = %93
%97 = load i64, ptr @OBS_SCALE_AREA, align 8, !tbaa !36
%98 = icmp eq i64 %84, %97
%99 = select i1 %98, ptr @.str.20, ptr @.str.21
br label %100
100: ; preds = %96, %93, %90, %87, %82
%101 = phi ptr [ @.str.16, %82 ], [ @.str.17, %87 ], [ @.str.18, %90 ], [ @.str.19, %93 ], [ %99, %96 ]
%102 = call i32 @obs_data_set_string(ptr noundef %7, ptr noundef nonnull @.str.22, ptr noundef nonnull %101) #3
%103 = getelementptr inbounds %struct.obs_scene_item, ptr %1, i64 0, i32 5
%104 = load i32, ptr %103, align 8, !tbaa !37
%105 = call i32 @obs_data_set_obj(ptr noundef %7, ptr noundef nonnull @.str.23, i32 noundef %104) #3
%106 = call i32 @obs_data_array_push_back(ptr noundef %0, ptr noundef %7) #3
%107 = call i32 @obs_data_release(ptr noundef %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @obs_data_create(...) local_unnamed_addr #2
declare ptr @obs_source_get_name(ptr noundef) local_unnamed_addr #2
declare i32 @get_ungrouped_transform(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_bool(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @obs_data_set_double(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2
declare i32 @obs_data_set_vec2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_int(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @full_lock(ptr noundef) local_unnamed_addr #2
declare i32 @full_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @obs_data_set_obj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @obs_data_array_push_back(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_release(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 40}
!6 = !{!"obs_scene_item", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !10, i64 24, !12, i64 32, !12, i64 40, !11, i64 48, !13, i64 56, !14, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !14, i64 120, !14, i64 124}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_7__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!14 = !{!"vec2", !10, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!6, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !10, i64 4}
!19 = !{!6, !10, i64 8}
!20 = !{!6, !11, i64 112}
!21 = !{!6, !11, i64 104}
!22 = !{!6, !11, i64 96}
!23 = !{!6, !11, i64 80}
!24 = !{!6, !11, i64 72}
!25 = !{!6, !11, i64 64}
!26 = !{!6, !11, i64 56}
!27 = !{!6, !10, i64 12}
!28 = !{!6, !11, i64 48}
!29 = !{!30, !12, i64 0}
!30 = !{!"TYPE_10__", !31, i64 0}
!31 = !{!"TYPE_8__", !12, i64 0}
!32 = !{!12, !12, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!6, !11, i64 16}
!36 = !{!11, !11, i64 0}
!37 = !{!6, !10, i64 24}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-scene.c_scene_save_item.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-scene.c_scene_save_item.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.vec2 = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"visible\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"locked\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"rot\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"pos\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"scale\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"align\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"bounds_type\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"bounds_align\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"bounds\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"crop_left\00", align 1
@.str.11 = private unnamed_addr constant [9 x i8] c"crop_top\00", align 1
@.str.12 = private unnamed_addr constant [11 x i8] c"crop_right\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"crop_bottom\00", align 1
@.str.14 = private unnamed_addr constant [3 x i8] c"id\00", align 1
@.str.15 = private unnamed_addr constant [18 x i8] c"group_item_backup\00", align 1
@OBS_SCALE_POINT = common local_unnamed_addr global i64 0, align 8
@.str.16 = private unnamed_addr constant [6 x i8] c"point\00", align 1
@OBS_SCALE_BILINEAR = common local_unnamed_addr global i64 0, align 8
@.str.17 = private unnamed_addr constant [9 x i8] c"bilinear\00", align 1
@OBS_SCALE_BICUBIC = common local_unnamed_addr global i64 0, align 8
@.str.18 = private unnamed_addr constant [8 x i8] c"bicubic\00", align 1
@OBS_SCALE_LANCZOS = common local_unnamed_addr global i64 0, align 8
@.str.19 = private unnamed_addr constant [8 x i8] c"lanczos\00", align 1
@OBS_SCALE_AREA = common local_unnamed_addr global i64 0, align 8
@.str.20 = private unnamed_addr constant [5 x i8] c"area\00", align 1
@.str.21 = private unnamed_addr constant [8 x i8] c"disable\00", align 1
@.str.22 = private unnamed_addr constant [13 x i8] c"scale_filter\00", align 1
@.str.23 = private unnamed_addr constant [17 x i8] c"private_settings\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @scene_save_item], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @scene_save_item(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.vec2, align 4
%5 = alloca %struct.vec2, align 4
%6 = alloca float, align 4
%7 = tail call ptr @obs_data_create() #3
%8 = getelementptr inbounds i8, ptr %1, i64 40
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = tail call ptr @obs_source_get_name(ptr noundef %9) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%11 = getelementptr inbounds i8, ptr %1, i64 124
%12 = load i32, ptr %11, align 4, !tbaa !16
store i32 %12, ptr %4, align 4, !tbaa !16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
%13 = getelementptr inbounds i8, ptr %1, i64 120
%14 = load i32, ptr %13, align 8, !tbaa !16
store i32 %14, ptr %5, align 4, !tbaa !16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%15 = load float, ptr %1, align 8, !tbaa !17
store float %15, ptr %6, align 4, !tbaa !18
%16 = icmp ne ptr %2, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @get_ungrouped_transform(ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #3
br label %19
19: ; preds = %17, %3
%20 = call i32 @obs_data_set_string(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef %10) #3
%21 = getelementptr inbounds i8, ptr %1, i64 4
%22 = load i32, ptr %21, align 4, !tbaa !19
%23 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.1, i32 noundef %22) #3
%24 = getelementptr inbounds i8, ptr %1, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !20
%26 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.2, i32 noundef %25) #3
%27 = load float, ptr %6, align 4, !tbaa !18
%28 = call i32 @obs_data_set_double(ptr noundef %7, ptr noundef nonnull @.str.3, float noundef %27) #3
%29 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.4, ptr noundef nonnull %4) #3
%30 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.5, ptr noundef nonnull %5) #3
%31 = getelementptr inbounds i8, ptr %1, i64 112
%32 = load i64, ptr %31, align 8, !tbaa !21
%33 = trunc i64 %32 to i32
%34 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.6, i32 noundef %33) #3
%35 = getelementptr inbounds i8, ptr %1, i64 104
%36 = load i64, ptr %35, align 8, !tbaa !22
%37 = trunc i64 %36 to i32
%38 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.7, i32 noundef %37) #3
%39 = getelementptr inbounds i8, ptr %1, i64 96
%40 = load i64, ptr %39, align 8, !tbaa !23
%41 = trunc i64 %40 to i32
%42 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.8, i32 noundef %41) #3
%43 = getelementptr inbounds i8, ptr %1, i64 88
%44 = call i32 @obs_data_set_vec2(ptr noundef %7, ptr noundef nonnull @.str.9, ptr noundef nonnull %43) #3
%45 = getelementptr inbounds i8, ptr %1, i64 56
%46 = getelementptr inbounds i8, ptr %1, i64 80
%47 = load i64, ptr %46, align 8, !tbaa !24
%48 = trunc i64 %47 to i32
%49 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.10, i32 noundef %48) #3
%50 = getelementptr inbounds i8, ptr %1, i64 72
%51 = load i64, ptr %50, align 8, !tbaa !25
%52 = trunc i64 %51 to i32
%53 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.11, i32 noundef %52) #3
%54 = getelementptr inbounds i8, ptr %1, i64 64
%55 = load i64, ptr %54, align 8, !tbaa !26
%56 = trunc i64 %55 to i32
%57 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.12, i32 noundef %56) #3
%58 = load i64, ptr %45, align 8, !tbaa !27
%59 = trunc i64 %58 to i32
%60 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.13, i32 noundef %59) #3
%61 = getelementptr inbounds i8, ptr %1, i64 12
%62 = load i32, ptr %61, align 4, !tbaa !28
%63 = call i32 @obs_data_set_int(ptr noundef %7, ptr noundef nonnull @.str.14, i32 noundef %62) #3
%64 = zext i1 %16 to i32
%65 = call i32 @obs_data_set_bool(ptr noundef %7, ptr noundef nonnull @.str.15, i32 noundef %64) #3
%66 = getelementptr inbounds i8, ptr %1, i64 48
%67 = load i64, ptr %66, align 8, !tbaa !29
%68 = icmp eq i64 %67, 0
br i1 %68, label %82, label %69
69: ; preds = %19
%70 = load ptr, ptr %8, align 8, !tbaa !6
%71 = load ptr, ptr %70, align 8, !tbaa !30
%72 = call i32 @full_lock(ptr noundef %71) #3
%73 = load ptr, ptr %71, align 8, !tbaa !33
%74 = icmp eq ptr %73, null
br i1 %74, label %80, label %75
75: ; preds = %69, %75
%76 = phi ptr [ %78, %75 ], [ %73, %69 ]
call void @scene_save_item(ptr noundef %0, ptr noundef nonnull %76, ptr noundef nonnull %1)
%77 = getelementptr inbounds i8, ptr %76, i64 32
%78 = load ptr, ptr %77, align 8, !tbaa !33
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %75, !llvm.loop !34
80: ; preds = %75, %69
%81 = call i32 @full_unlock(ptr noundef nonnull %71) #3
br label %82
82: ; preds = %80, %19
%83 = getelementptr inbounds i8, ptr %1, i64 16
%84 = load i64, ptr %83, align 8, !tbaa !36
%85 = load i64, ptr @OBS_SCALE_POINT, align 8, !tbaa !37
%86 = icmp eq i64 %84, %85
br i1 %86, label %100, label %87
87: ; preds = %82
%88 = load i64, ptr @OBS_SCALE_BILINEAR, align 8, !tbaa !37
%89 = icmp eq i64 %84, %88
br i1 %89, label %100, label %90
90: ; preds = %87
%91 = load i64, ptr @OBS_SCALE_BICUBIC, align 8, !tbaa !37
%92 = icmp eq i64 %84, %91
br i1 %92, label %100, label %93
93: ; preds = %90
%94 = load i64, ptr @OBS_SCALE_LANCZOS, align 8, !tbaa !37
%95 = icmp eq i64 %84, %94
br i1 %95, label %100, label %96
96: ; preds = %93
%97 = load i64, ptr @OBS_SCALE_AREA, align 8, !tbaa !37
%98 = icmp eq i64 %84, %97
%99 = select i1 %98, ptr @.str.20, ptr @.str.21
br label %100
100: ; preds = %96, %93, %90, %87, %82
%101 = phi ptr [ @.str.16, %82 ], [ @.str.17, %87 ], [ @.str.18, %90 ], [ @.str.19, %93 ], [ %99, %96 ]
%102 = call i32 @obs_data_set_string(ptr noundef %7, ptr noundef nonnull @.str.22, ptr noundef nonnull %101) #3
%103 = getelementptr inbounds i8, ptr %1, i64 24
%104 = load i32, ptr %103, align 8, !tbaa !38
%105 = call i32 @obs_data_set_obj(ptr noundef %7, ptr noundef nonnull @.str.23, i32 noundef %104) #3
%106 = call i32 @obs_data_array_push_back(ptr noundef %0, ptr noundef %7) #3
%107 = call i32 @obs_data_release(ptr noundef %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @obs_data_create(...) local_unnamed_addr #2
declare ptr @obs_source_get_name(ptr noundef) local_unnamed_addr #2
declare i32 @get_ungrouped_transform(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_bool(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @obs_data_set_double(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2
declare i32 @obs_data_set_vec2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_set_int(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @full_lock(ptr noundef) local_unnamed_addr #2
declare i32 @full_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @obs_data_set_obj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @obs_data_array_push_back(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @obs_data_release(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 40}
!7 = !{!"obs_scene_item", !8, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !11, i64 24, !13, i64 32, !13, i64 40, !12, i64 48, !14, i64 56, !15, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !15, i64 120, !15, i64 124}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"TYPE_7__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!15 = !{!"vec2", !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!7, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !11, i64 4}
!20 = !{!7, !11, i64 8}
!21 = !{!7, !12, i64 112}
!22 = !{!7, !12, i64 104}
!23 = !{!7, !12, i64 96}
!24 = !{!7, !12, i64 80}
!25 = !{!7, !12, i64 72}
!26 = !{!7, !12, i64 64}
!27 = !{!7, !12, i64 56}
!28 = !{!7, !11, i64 12}
!29 = !{!7, !12, i64 48}
!30 = !{!31, !13, i64 0}
!31 = !{!"TYPE_10__", !32, i64 0}
!32 = !{!"TYPE_8__", !13, i64 0}
!33 = !{!13, !13, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!7, !12, i64 16}
!37 = !{!12, !12, i64 0}
!38 = !{!7, !11, i64 24}
| obs-studio_libobs_extr_obs-scene.c_scene_save_item |
; ModuleID = 'AnghaBench/openssl/test/testutil/extr_stanza.c_test_start_file.c'
source_filename = "AnghaBench/openssl/test/testutil/extr_stanza.c_test_start_file.c"
target datalayout = "e-m:e-p270:32:32-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 }
@.str = private unnamed_addr constant [11 x i8] c"Reading %s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @test_start_file(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @TEST_info(ptr noundef nonnull @.str, ptr noundef %1) #2
%4 = tail call i32 @set_test_title(ptr noundef %1) #2
%5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 16) #2
%6 = tail call i32 @BIO_new_file(ptr noundef %1, ptr noundef nonnull @.str.1) #2
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
store i32 %6, ptr %7, align 8, !tbaa !5
%8 = tail call i32 @TEST_ptr(i32 noundef %6) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr %1, ptr %0, align 8, !tbaa !11
br label %11
11: ; preds = %2, %10
%12 = phi i32 [ 1, %10 ], [ 0, %2 ]
ret i32 %12
}
declare i32 @TEST_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @set_test_title(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TEST_ptr(i32 noundef) local_unnamed_addr #1
declare i32 @BIO_new_file(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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/openssl/test/testutil/extr_stanza.c_test_start_file.c'
source_filename = "AnghaBench/openssl/test/testutil/extr_stanza.c_test_start_file.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"Reading %s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @test_start_file(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @TEST_info(ptr noundef nonnull @.str, ptr noundef %1) #2
%4 = tail call i32 @set_test_title(ptr noundef %1) #2
%5 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 16) #2
%6 = tail call i32 @BIO_new_file(ptr noundef %1, ptr noundef nonnull @.str.1) #2
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %6, ptr %7, align 8, !tbaa !6
%8 = tail call i32 @TEST_ptr(i32 noundef %6) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr %1, ptr %0, align 8, !tbaa !12
br label %11
11: ; preds = %2, %10
%12 = phi i32 [ 1, %10 ], [ 0, %2 ]
ret i32 %12
}
declare i32 @TEST_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @set_test_title(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @TEST_ptr(i32 noundef) local_unnamed_addr #1
declare i32 @BIO_new_file(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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
| openssl_test_testutil_extr_stanza.c_test_start_file |
; ModuleID = 'AnghaBench/git/extr_bisect.c_do_find_bisection.c'
source_filename = "AnghaBench/git/extr_bisect.c_do_find_bisection.c"
target datalayout = "e-m:e-p270:32:32-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.commit_list = type { ptr, ptr }
%struct.commit = type { %struct.TYPE_2__, ptr }
%struct.TYPE_2__ = type { i32 }
@commit_weight = dso_local global i32 0, align 4
@TREESAME = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"bisection 2 count one\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"bisection 2 initialize\00", align 1
@UNINTERESTING = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"bisection 2 count_distance\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"bisection 2 counted all\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @do_find_bisection], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @do_find_bisection(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %6, label %8
6: ; preds = %4
%7 = tail call i32 @show_list(ptr noundef nonnull @.str.1, i32 noundef 0, i32 noundef %1, ptr noundef %0) #2
br label %64
8: ; preds = %4, %30
%9 = phi i64 [ %14, %30 ], [ 0, %4 ]
%10 = phi i32 [ %31, %30 ], [ 0, %4 ]
%11 = phi ptr [ %33, %30 ], [ %0, %4 ]
%12 = load ptr, ptr %11, align 8, !tbaa !5
%13 = load i32, ptr %12, align 8, !tbaa !10
%14 = add nuw i64 %9, 1
%15 = getelementptr inbounds i32, ptr %2, i64 %9
%16 = tail call ptr @commit_weight_at(ptr noundef nonnull @commit_weight, ptr noundef nonnull %12) #2
store ptr %15, ptr %16, align 8, !tbaa !14
%17 = tail call i32 @count_interesting_parents(ptr noundef nonnull %12) #2
switch i32 %17, label %28 [
i32 0, label %18
i32 1, label %26
]
18: ; preds = %8
%19 = load i32, ptr @TREESAME, align 4, !tbaa !15
%20 = and i32 %19, %13
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef 1) #2
%24 = add nsw i32 %10, 1
%25 = tail call i32 @show_list(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %1, ptr noundef nonnull %0) #2
br label %30
26: ; preds = %8
%27 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef -1) #2
br label %30
28: ; preds = %8
%29 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef -2) #2
br label %30
30: ; preds = %18, %22, %28, %26
%31 = phi i32 [ %10, %28 ], [ %10, %26 ], [ %10, %18 ], [ %24, %22 ]
%32 = getelementptr inbounds %struct.commit_list, ptr %11, i64 0, i32 1
%33 = load ptr, ptr %32, align 8, !tbaa !16
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %8, !llvm.loop !17
35: ; preds = %30
%36 = tail call i32 @show_list(ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %1, ptr noundef nonnull %0) #2
br i1 %5, label %64, label %37
37: ; preds = %35
%38 = icmp eq i32 %3, 0
br label %39
39: ; preds = %37, %59
%40 = phi i32 [ %31, %37 ], [ %60, %59 ]
%41 = phi ptr [ %0, %37 ], [ %62, %59 ]
%42 = load ptr, ptr %41, align 8, !tbaa !5
%43 = load i32, ptr %42, align 8, !tbaa !10
%44 = load i32, ptr @UNINTERESTING, align 4, !tbaa !15
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %39
%48 = tail call i64 @weight(ptr noundef nonnull %41) #2
%49 = icmp eq i64 %48, -2
br i1 %49, label %50, label %59
50: ; preds = %47
%51 = tail call i64 @count_distance(ptr noundef nonnull %41) #2
%52 = tail call i32 @weight_set(ptr noundef nonnull %41, i64 noundef %51) #2
%53 = tail call i32 @clear_distance(ptr noundef nonnull %0) #2
br i1 %38, label %54, label %57
54: ; preds = %50
%55 = tail call i64 @halfway(ptr noundef nonnull %41, i32 noundef %1) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %135
57: ; preds = %54, %50
%58 = add nsw i32 %40, 1
br label %59
59: ; preds = %47, %39, %57
%60 = phi i32 [ %40, %39 ], [ %40, %47 ], [ %58, %57 ]
%61 = getelementptr inbounds %struct.commit_list, ptr %41, i64 0, i32 1
%62 = load ptr, ptr %61, align 8, !tbaa !16
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %39, !llvm.loop !19
64: ; preds = %59, %6, %35
%65 = phi i32 [ %31, %35 ], [ 0, %6 ], [ %60, %59 ]
%66 = tail call i32 @show_list(ptr noundef nonnull @.str.2, i32 noundef %65, i32 noundef %1, ptr noundef %0) #2
%67 = icmp slt i32 %65, %1
br i1 %67, label %68, label %127
68: ; preds = %64
%69 = icmp eq i32 %3, 0
br label %73
70: ; preds = %122, %73
%71 = phi i32 [ %74, %73 ], [ %123, %122 ]
%72 = icmp slt i32 %71, %1
br i1 %72, label %73, label %127, !llvm.loop !20
73: ; preds = %68, %70
%74 = phi i32 [ %65, %68 ], [ %71, %70 ]
br i1 %5, label %70, label %75
75: ; preds = %73, %122
%76 = phi i32 [ %123, %122 ], [ %74, %73 ]
%77 = phi ptr [ %125, %122 ], [ %0, %73 ]
%78 = load ptr, ptr %77, align 8, !tbaa !5
%79 = load i32, ptr %78, align 8, !tbaa !10
%80 = tail call i64 @weight(ptr noundef nonnull %77) #2
%81 = icmp sgt i64 %80, -1
br i1 %81, label %122, label %82
82: ; preds = %75
%83 = load ptr, ptr %77, align 8, !tbaa !5
%84 = getelementptr inbounds %struct.commit, ptr %83, i64 0, i32 1
%85 = load ptr, ptr %84, align 8, !tbaa !14
%86 = icmp eq ptr %85, null
br i1 %86, label %122, label %87
87: ; preds = %82
%88 = load i32, ptr @UNINTERESTING, align 4, !tbaa !15
br label %89
89: ; preds = %87, %100
%90 = phi i32 [ %101, %100 ], [ %88, %87 ]
%91 = phi ptr [ %103, %100 ], [ %85, %87 ]
%92 = load ptr, ptr %91, align 8, !tbaa !5
%93 = load i32, ptr %92, align 8, !tbaa !10
%94 = and i32 %90, %93
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %100
96: ; preds = %89
%97 = tail call i64 @weight(ptr noundef nonnull %91) #2
%98 = icmp sgt i64 %97, -1
%99 = load i32, ptr @UNINTERESTING, align 4, !tbaa !15
br i1 %98, label %105, label %100
100: ; preds = %96, %89
%101 = phi i32 [ %99, %96 ], [ %90, %89 ]
%102 = getelementptr inbounds %struct.commit_list, ptr %91, i64 0, i32 1
%103 = load ptr, ptr %102, align 8, !tbaa !14
%104 = icmp eq ptr %103, null
br i1 %104, label %122, label %89, !llvm.loop !21
105: ; preds = %96
%106 = load i32, ptr @TREESAME, align 4, !tbaa !15
%107 = and i32 %106, %79
%108 = icmp eq i32 %107, 0
%109 = tail call i64 @weight(ptr noundef nonnull %91) #2
br i1 %108, label %110, label %115
110: ; preds = %105
%111 = add nsw i64 %109, 1
%112 = tail call i32 @weight_set(ptr noundef nonnull %77, i64 noundef %111) #2
%113 = add nsw i32 %76, 1
%114 = tail call i32 @show_list(ptr noundef nonnull @.str, i32 noundef %113, i32 noundef %1, ptr noundef nonnull %0) #2
br label %117
115: ; preds = %105
%116 = tail call i32 @weight_set(ptr noundef nonnull %77, i64 noundef %109) #2
br label %117
117: ; preds = %115, %110
%118 = phi i32 [ %76, %115 ], [ %113, %110 ]
br i1 %69, label %119, label %122
119: ; preds = %117
%120 = tail call i64 @halfway(ptr noundef nonnull %77, i32 noundef %1) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %135
122: ; preds = %100, %82, %117, %119, %75
%123 = phi i32 [ %76, %75 ], [ %118, %119 ], [ %118, %117 ], [ %76, %82 ], [ %76, %100 ]
%124 = getelementptr inbounds %struct.commit_list, ptr %77, i64 0, i32 1
%125 = load ptr, ptr %124, align 8, !tbaa !16
%126 = icmp eq ptr %125, null
br i1 %126, label %70, label %75, !llvm.loop !22
127: ; preds = %70, %64
%128 = phi i32 [ %65, %64 ], [ %71, %70 ]
%129 = tail call i32 @show_list(ptr noundef nonnull @.str.3, i32 noundef %128, i32 noundef %1, ptr noundef %0) #2
%130 = icmp eq i32 %3, 0
br i1 %130, label %131, label %133
131: ; preds = %127
%132 = tail call ptr @best_bisection(ptr noundef %0, i32 noundef %1) #2
br label %135
133: ; preds = %127
%134 = tail call ptr @best_bisection_sorted(ptr noundef %0, i32 noundef %1) #2
br label %135
135: ; preds = %54, %119, %133, %131
%136 = phi ptr [ %134, %133 ], [ %132, %131 ], [ %77, %119 ], [ %41, %54 ]
ret ptr %136
}
declare ptr @commit_weight_at(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @count_interesting_parents(ptr noundef) local_unnamed_addr #1
declare i32 @weight_set(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @show_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @weight(ptr noundef) local_unnamed_addr #1
declare i64 @count_distance(ptr noundef) local_unnamed_addr #1
declare i32 @clear_distance(ptr noundef) local_unnamed_addr #1
declare i64 @halfway(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @best_bisection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @best_bisection_sorted(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 = !{!"commit_list", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"commit", !12, i64 0, !7, i64 8}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!6, !7, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
| ; ModuleID = 'AnghaBench/git/extr_bisect.c_do_find_bisection.c'
source_filename = "AnghaBench/git/extr_bisect.c_do_find_bisection.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@commit_weight = common global i32 0, align 4
@TREESAME = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"bisection 2 count one\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"bisection 2 initialize\00", align 1
@UNINTERESTING = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"bisection 2 count_distance\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"bisection 2 counted all\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @do_find_bisection], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @do_find_bisection(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = icmp eq ptr %0, null
br i1 %5, label %6, label %8
6: ; preds = %4
%7 = tail call i32 @show_list(ptr noundef nonnull @.str.1, i32 noundef 0, i32 noundef %1, ptr noundef %0) #2
br label %64
8: ; preds = %4, %30
%9 = phi i64 [ %14, %30 ], [ 0, %4 ]
%10 = phi i32 [ %31, %30 ], [ 0, %4 ]
%11 = phi ptr [ %33, %30 ], [ %0, %4 ]
%12 = load ptr, ptr %11, align 8, !tbaa !6
%13 = load i32, ptr %12, align 8, !tbaa !11
%14 = add nuw nsw i64 %9, 1
%15 = getelementptr inbounds i32, ptr %2, i64 %9
%16 = tail call ptr @commit_weight_at(ptr noundef nonnull @commit_weight, ptr noundef nonnull %12) #2
store ptr %15, ptr %16, align 8, !tbaa !15
%17 = tail call i32 @count_interesting_parents(ptr noundef nonnull %12) #2
switch i32 %17, label %28 [
i32 0, label %18
i32 1, label %26
]
18: ; preds = %8
%19 = load i32, ptr @TREESAME, align 4, !tbaa !16
%20 = and i32 %19, %13
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef 1) #2
%24 = add nsw i32 %10, 1
%25 = tail call i32 @show_list(ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %1, ptr noundef nonnull %0) #2
br label %30
26: ; preds = %8
%27 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef -1) #2
br label %30
28: ; preds = %8
%29 = tail call i32 @weight_set(ptr noundef nonnull %11, i64 noundef -2) #2
br label %30
30: ; preds = %18, %22, %28, %26
%31 = phi i32 [ %10, %28 ], [ %10, %26 ], [ %10, %18 ], [ %24, %22 ]
%32 = getelementptr inbounds i8, ptr %11, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !17
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %8, !llvm.loop !18
35: ; preds = %30
%36 = tail call i32 @show_list(ptr noundef nonnull @.str.1, i32 noundef %31, i32 noundef %1, ptr noundef nonnull %0) #2
br i1 %5, label %64, label %37
37: ; preds = %35
%38 = icmp eq i32 %3, 0
br label %39
39: ; preds = %37, %59
%40 = phi i32 [ %31, %37 ], [ %60, %59 ]
%41 = phi ptr [ %0, %37 ], [ %62, %59 ]
%42 = load ptr, ptr %41, align 8, !tbaa !6
%43 = load i32, ptr %42, align 8, !tbaa !11
%44 = load i32, ptr @UNINTERESTING, align 4, !tbaa !16
%45 = and i32 %44, %43
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %59
47: ; preds = %39
%48 = tail call i64 @weight(ptr noundef nonnull %41) #2
%49 = icmp eq i64 %48, -2
br i1 %49, label %50, label %59
50: ; preds = %47
%51 = tail call i64 @count_distance(ptr noundef nonnull %41) #2
%52 = tail call i32 @weight_set(ptr noundef nonnull %41, i64 noundef %51) #2
%53 = tail call i32 @clear_distance(ptr noundef nonnull %0) #2
br i1 %38, label %54, label %57
54: ; preds = %50
%55 = tail call i64 @halfway(ptr noundef nonnull %41, i32 noundef %1) #2
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %135
57: ; preds = %54, %50
%58 = add nsw i32 %40, 1
br label %59
59: ; preds = %47, %39, %57
%60 = phi i32 [ %40, %39 ], [ %40, %47 ], [ %58, %57 ]
%61 = getelementptr inbounds i8, ptr %41, i64 8
%62 = load ptr, ptr %61, align 8, !tbaa !17
%63 = icmp eq ptr %62, null
br i1 %63, label %64, label %39, !llvm.loop !20
64: ; preds = %59, %6, %35
%65 = phi i32 [ %31, %35 ], [ 0, %6 ], [ %60, %59 ]
%66 = tail call i32 @show_list(ptr noundef nonnull @.str.2, i32 noundef %65, i32 noundef %1, ptr noundef %0) #2
%67 = icmp slt i32 %65, %1
br i1 %67, label %68, label %127
68: ; preds = %64
%69 = icmp eq i32 %3, 0
br label %73
70: ; preds = %122, %73
%71 = phi i32 [ %74, %73 ], [ %123, %122 ]
%72 = icmp slt i32 %71, %1
br i1 %72, label %73, label %127, !llvm.loop !21
73: ; preds = %68, %70
%74 = phi i32 [ %65, %68 ], [ %71, %70 ]
br i1 %5, label %70, label %75
75: ; preds = %73, %122
%76 = phi i32 [ %123, %122 ], [ %74, %73 ]
%77 = phi ptr [ %125, %122 ], [ %0, %73 ]
%78 = load ptr, ptr %77, align 8, !tbaa !6
%79 = load i32, ptr %78, align 8, !tbaa !11
%80 = tail call i64 @weight(ptr noundef nonnull %77) #2
%81 = icmp sgt i64 %80, -1
br i1 %81, label %122, label %82
82: ; preds = %75
%83 = load ptr, ptr %77, align 8, !tbaa !6
%84 = getelementptr inbounds i8, ptr %83, i64 8
%85 = load ptr, ptr %84, align 8, !tbaa !15
%86 = icmp eq ptr %85, null
br i1 %86, label %122, label %87
87: ; preds = %82
%88 = load i32, ptr @UNINTERESTING, align 4, !tbaa !16
br label %89
89: ; preds = %87, %100
%90 = phi i32 [ %101, %100 ], [ %88, %87 ]
%91 = phi ptr [ %103, %100 ], [ %85, %87 ]
%92 = load ptr, ptr %91, align 8, !tbaa !6
%93 = load i32, ptr %92, align 8, !tbaa !11
%94 = and i32 %90, %93
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %100
96: ; preds = %89
%97 = tail call i64 @weight(ptr noundef nonnull %91) #2
%98 = icmp sgt i64 %97, -1
%99 = load i32, ptr @UNINTERESTING, align 4, !tbaa !16
br i1 %98, label %105, label %100
100: ; preds = %96, %89
%101 = phi i32 [ %99, %96 ], [ %90, %89 ]
%102 = getelementptr inbounds i8, ptr %91, i64 8
%103 = load ptr, ptr %102, align 8, !tbaa !15
%104 = icmp eq ptr %103, null
br i1 %104, label %122, label %89, !llvm.loop !22
105: ; preds = %96
%106 = load i32, ptr @TREESAME, align 4, !tbaa !16
%107 = and i32 %106, %79
%108 = icmp eq i32 %107, 0
%109 = tail call i64 @weight(ptr noundef nonnull %91) #2
br i1 %108, label %110, label %115
110: ; preds = %105
%111 = add nsw i64 %109, 1
%112 = tail call i32 @weight_set(ptr noundef nonnull %77, i64 noundef %111) #2
%113 = add nsw i32 %76, 1
%114 = tail call i32 @show_list(ptr noundef nonnull @.str, i32 noundef %113, i32 noundef %1, ptr noundef nonnull %0) #2
br label %117
115: ; preds = %105
%116 = tail call i32 @weight_set(ptr noundef nonnull %77, i64 noundef %109) #2
br label %117
117: ; preds = %115, %110
%118 = phi i32 [ %76, %115 ], [ %113, %110 ]
br i1 %69, label %119, label %122
119: ; preds = %117
%120 = tail call i64 @halfway(ptr noundef nonnull %77, i32 noundef %1) #2
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %135
122: ; preds = %100, %82, %117, %119, %75
%123 = phi i32 [ %76, %75 ], [ %118, %119 ], [ %118, %117 ], [ %76, %82 ], [ %76, %100 ]
%124 = getelementptr inbounds i8, ptr %77, i64 8
%125 = load ptr, ptr %124, align 8, !tbaa !17
%126 = icmp eq ptr %125, null
br i1 %126, label %70, label %75, !llvm.loop !23
127: ; preds = %70, %64
%128 = phi i32 [ %65, %64 ], [ %71, %70 ]
%129 = tail call i32 @show_list(ptr noundef nonnull @.str.3, i32 noundef %128, i32 noundef %1, ptr noundef %0) #2
%130 = icmp eq i32 %3, 0
br i1 %130, label %131, label %133
131: ; preds = %127
%132 = tail call ptr @best_bisection(ptr noundef %0, i32 noundef %1) #2
br label %135
133: ; preds = %127
%134 = tail call ptr @best_bisection_sorted(ptr noundef %0, i32 noundef %1) #2
br label %135
135: ; preds = %54, %119, %133, %131
%136 = phi ptr [ %134, %133 ], [ %132, %131 ], [ %77, %119 ], [ %41, %54 ]
ret ptr %136
}
declare ptr @commit_weight_at(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @count_interesting_parents(ptr noundef) local_unnamed_addr #1
declare i32 @weight_set(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @show_list(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @weight(ptr noundef) local_unnamed_addr #1
declare i64 @count_distance(ptr noundef) local_unnamed_addr #1
declare i32 @clear_distance(ptr noundef) local_unnamed_addr #1
declare i64 @halfway(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @best_bisection(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @best_bisection_sorted(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 = !{!"commit_list", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !14, i64 0}
!12 = !{!"commit", !13, i64 0, !8, i64 8}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!8, !8, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!7, !8, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
| git_extr_bisect.c_do_find_bisection |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2100.c_ipw2100_corruption_detected.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2100.c_ipw2100_corruption_detected.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ipw2100_priv = type { ptr, i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_7__ = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@.str = private unnamed_addr constant [42 x i8] c": PCI latency error detected at 0x%04zX.\0A\00", align 1
@IPW2100_ERR_C3_CORRUPTION = dso_local local_unnamed_addr global i32 0, align 4
@IPW_AUX_HOST_RESET_REG_MASTER_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@IPW_AUX_HOST_RESET_REG_STOP_MASTER = dso_local local_unnamed_addr global i32 0, align 4
@IPW_REG_RESET_REG = dso_local local_unnamed_addr global i32 0, align 4
@IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY = dso_local local_unnamed_addr global i32 0, align 4
@RX_QUEUE_LENGTH = dso_local local_unnamed_addr global i32 0, align 4
@SEARCH_SNAPSHOT = dso_local local_unnamed_addr global i32 0, align 4
@SEARCH_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ipw2100_corruption_detected], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ipw2100_corruption_detected(ptr noundef %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i32 (ptr, i32, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = load i32, ptr @IPW2100_ERR_C3_CORRUPTION, align 4, !tbaa !5
%6 = getelementptr inbounds %struct.ipw2100_priv, ptr %0, i64 0, i32 1
store i32 %5, ptr %6, align 8, !tbaa !9
%7 = load ptr, ptr %0, align 8, !tbaa !13
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %7, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = add nsw i32 %9, 1
store i32 %10, ptr %8, align 4, !tbaa !14
%11 = tail call i32 @schedule_reset(ptr noundef nonnull %0) #2
ret void
}
declare i32 @IPW_DEBUG_INFO(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @schedule_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"ipw2100_priv", !11, i64 0, !6, i64 8, !12, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_5__", !11, i64 0}
!13 = !{!10, !11, i64 0}
!14 = !{!15, !6, i64 4}
!15 = !{!"TYPE_7__", !6, i64 0, !16, i64 4}
!16 = !{!"TYPE_6__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2100.c_ipw2100_corruption_detected.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/ipw2x00/extr_ipw2100.c_ipw2100_corruption_detected.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 [42 x i8] c": PCI latency error detected at 0x%04zX.\0A\00", align 1
@IPW2100_ERR_C3_CORRUPTION = common local_unnamed_addr global i32 0, align 4
@IPW_AUX_HOST_RESET_REG_MASTER_DISABLED = common local_unnamed_addr global i32 0, align 4
@IPW_AUX_HOST_RESET_REG_STOP_MASTER = common local_unnamed_addr global i32 0, align 4
@IPW_REG_RESET_REG = common local_unnamed_addr global i32 0, align 4
@IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY = common local_unnamed_addr global i32 0, align 4
@RX_QUEUE_LENGTH = common local_unnamed_addr global i32 0, align 4
@SEARCH_SNAPSHOT = common local_unnamed_addr global i32 0, align 4
@SEARCH_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ipw2100_corruption_detected], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ipw2100_corruption_detected(ptr noundef %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 2
%4 = tail call i32 (ptr, i32, ...) @IPW_DEBUG_INFO(ptr noundef nonnull @.str, i32 noundef %3) #2
%5 = load i32, ptr @IPW2100_ERR_C3_CORRUPTION, align 4, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %5, ptr %6, align 8, !tbaa !10
%7 = load ptr, ptr %0, align 8, !tbaa !14
%8 = getelementptr inbounds i8, ptr %7, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = add nsw i32 %9, 1
store i32 %10, ptr %8, align 4, !tbaa !15
%11 = tail call i32 @schedule_reset(ptr noundef nonnull %0) #2
ret void
}
declare i32 @IPW_DEBUG_INFO(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @schedule_reset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"ipw2100_priv", !12, i64 0, !7, i64 8, !13, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_5__", !12, i64 0}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !7, i64 4}
!16 = !{!"TYPE_7__", !7, i64 0, !17, i64 4}
!17 = !{!"TYPE_6__", !7, i64 0}
| linux_drivers_net_wireless_intel_ipw2x00_extr_ipw2100.c_ipw2100_corruption_detected |
; ModuleID = 'AnghaBench/linux/sound/isa/wavefront/extr_wavefront_midi.c_read_data.c'
source_filename = "AnghaBench/linux/sound/isa/wavefront/extr_wavefront_midi.c_read_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_data], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @read_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @inb(i32 noundef %2) #2
ret i32 %3
}
declare i32 @inb(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/isa/wavefront/extr_wavefront_midi.c_read_data.c'
source_filename = "AnghaBench/linux/sound/isa/wavefront/extr_wavefront_midi.c_read_data.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 @read_data], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @read_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @inb(i32 noundef %2) #2
ret i32 %3
}
declare i32 @inb(i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_isa_wavefront_extr_wavefront_midi.c_read_data |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonfilenbionbio_stdio.c_nbio_stdio_begin_read.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonfilenbionbio_stdio.c_nbio_stdio_begin_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.nbio_stdio_t = type { i64, i64, i32 }
@SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
@NBIO_READ = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @nbio_stdio_begin_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @nbio_stdio_begin_read(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %15, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i64 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 (...) @abort() #3
unreachable
8: ; preds = %3
%9 = getelementptr inbounds %struct.nbio_stdio_t, ptr %0, i64 0, i32 2
%10 = load i32, ptr %9, align 8, !tbaa !11
%11 = load i32, ptr @SEEK_SET, align 4, !tbaa !12
%12 = tail call i32 @fseek(i32 noundef %10, i32 noundef 0, i32 noundef %11) #4
%13 = load i64, ptr @NBIO_READ, align 8, !tbaa !13
store i64 %13, ptr %0, align 8, !tbaa !5
%14 = getelementptr inbounds %struct.nbio_stdio_t, ptr %0, i64 0, i32 1
store i64 0, ptr %14, align 8, !tbaa !14
br label %15
15: ; preds = %1, %8
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #1
declare i32 @fseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { noreturn nounwind }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"nbio_stdio_t", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!10, !10, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..libretro-commonfilenbionbio_stdio.c_nbio_stdio_begin_read.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..libretro-commonfilenbionbio_stdio.c_nbio_stdio_begin_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SEEK_SET = common local_unnamed_addr global i32 0, align 4
@NBIO_READ = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @nbio_stdio_begin_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @nbio_stdio_begin_read(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %15, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i64 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = tail call i32 @abort() #3
unreachable
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = load i32, ptr @SEEK_SET, align 4, !tbaa !13
%12 = tail call i32 @fseek(i32 noundef %10, i32 noundef 0, i32 noundef %11) #4
%13 = load i64, ptr @NBIO_READ, align 8, !tbaa !14
store i64 %13, ptr %0, align 8, !tbaa !6
%14 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %14, align 8, !tbaa !15
br label %15
15: ; preds = %1, %8
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) local_unnamed_addr #1
declare i32 @fseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 = { noreturn nounwind }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"nbio_stdio_t", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!11, !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 8}
| RetroArch_griffin_extr_..libretro-commonfilenbionbio_stdio.c_nbio_stdio_begin_read |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/extr_io_ctrl.c_io_gg_write.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/extr_io_ctrl.c_io_gg_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
@io_reg = dso_local local_unnamed_addr global ptr null, align 8
@Z80 = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@config = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
; Function Attrs: nounwind uwtable
define dso_local void @io_gg_write(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
switch i32 %0, label %23 [
i32 1, label %3
i32 2, label %6
i32 3, label %9
i32 5, label %12
i32 6, label %16
]
3: ; preds = %2
%4 = load ptr, ptr @io_reg, align 8, !tbaa !5
%5 = getelementptr inbounds i32, ptr %4, i64 1
store i32 %1, ptr %5, align 4, !tbaa !9
br label %23
6: ; preds = %2
%7 = load ptr, ptr @io_reg, align 8, !tbaa !5
%8 = getelementptr inbounds i32, ptr %7, i64 2
store i32 %1, ptr %8, align 4, !tbaa !9
br label %23
9: ; preds = %2
%10 = load ptr, ptr @io_reg, align 8, !tbaa !5
%11 = getelementptr inbounds i32, ptr %10, i64 3
store i32 %1, ptr %11, align 4, !tbaa !9
br label %23
12: ; preds = %2
%13 = and i32 %1, 248
%14 = load ptr, ptr @io_reg, align 8, !tbaa !5
%15 = getelementptr inbounds i32, ptr %14, i64 5
store i32 %13, ptr %15, align 4, !tbaa !9
br label %23
16: ; preds = %2
%17 = load ptr, ptr @io_reg, align 8, !tbaa !5
%18 = getelementptr inbounds i32, ptr %17, i64 6
store i32 %1, ptr %18, align 4, !tbaa !9
%19 = load i32, ptr @Z80, align 4, !tbaa !11
%20 = load i32, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @config, i64 0, i32 1), align 4, !tbaa !13
%21 = load i32, ptr @config, align 4, !tbaa !15
%22 = tail call i32 @SN76489_Config(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %1) #2
br label %23
23: ; preds = %2, %16, %12, %9, %6, %3
ret void
}
declare i32 @SN76489_Config(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 = !{!"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}
!13 = !{!14, !10, i64 4}
!14 = !{!"TYPE_3__", !10, i64 0, !10, i64 4}
!15 = !{!14, !10, i64 0}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/extr_io_ctrl.c_io_gg_write.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/extr_io_ctrl.c_io_gg_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
@io_reg = common local_unnamed_addr global ptr null, align 8
@Z80 = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@config = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @io_gg_write(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
switch i32 %0, label %23 [
i32 1, label %3
i32 2, label %6
i32 3, label %9
i32 5, label %12
i32 6, label %16
]
3: ; preds = %2
%4 = load ptr, ptr @io_reg, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 4
store i32 %1, ptr %5, align 4, !tbaa !10
br label %23
6: ; preds = %2
%7 = load ptr, ptr @io_reg, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %7, i64 8
store i32 %1, ptr %8, align 4, !tbaa !10
br label %23
9: ; preds = %2
%10 = load ptr, ptr @io_reg, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 12
store i32 %1, ptr %11, align 4, !tbaa !10
br label %23
12: ; preds = %2
%13 = and i32 %1, 248
%14 = load ptr, ptr @io_reg, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 20
store i32 %13, ptr %15, align 4, !tbaa !10
br label %23
16: ; preds = %2
%17 = load ptr, ptr @io_reg, align 8, !tbaa !6
%18 = getelementptr inbounds i8, ptr %17, i64 24
store i32 %1, ptr %18, align 4, !tbaa !10
%19 = load i32, ptr @Z80, align 4, !tbaa !12
%20 = load i32, ptr getelementptr inbounds (i8, ptr @config, i64 4), align 4, !tbaa !14
%21 = load i32, ptr @config, align 4, !tbaa !16
%22 = tail call i32 @SN76489_Config(i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %1) #2
br label %23
23: ; preds = %2, %16, %12, %9, %6, %3
ret void
}
declare i32 @SN76489_Config(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 = !{!"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}
!14 = !{!15, !11, i64 4}
!15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!16 = !{!15, !11, i64 0}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_extr_io_ctrl.c_io_gg_write |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_build_conf_rsp.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_build_conf_rsp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.l2cap_conf_rsp = type { ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [6 x i8] c"sk %p\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @l2cap_build_conf_rsp], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @l2cap_build_conf_rsp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds %struct.l2cap_conf_rsp, ptr %1, i64 0, i32 3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef %0) #2
%8 = tail call ptr @l2cap_pi(ptr noundef %0) #2
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = tail call ptr @cpu_to_le16(i32 noundef %9) #2
%11 = getelementptr inbounds %struct.l2cap_conf_rsp, ptr %1, i64 0, i32 2
store ptr %10, ptr %11, align 8, !tbaa !13
%12 = tail call ptr @cpu_to_le16(i32 noundef %2) #2
%13 = getelementptr inbounds %struct.l2cap_conf_rsp, ptr %1, i64 0, i32 1
store ptr %12, ptr %13, align 8, !tbaa !14
%14 = tail call ptr @cpu_to_le16(i32 noundef %3) #2
store ptr %14, ptr %1, align 8, !tbaa !15
%15 = ptrtoint ptr %6 to i64
%16 = ptrtoint ptr %1 to i64
%17 = sub i64 %15, %16
%18 = trunc i64 %17 to i32
ret i32 %18
}
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare ptr @l2cap_pi(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"l2cap_conf_rsp", !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 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_build_conf_rsp.c'
source_filename = "AnghaBench/fastsocket/kernel/net/bluetooth/extr_l2cap.c_l2cap_build_conf_rsp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"sk %p\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @l2cap_build_conf_rsp], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @l2cap_build_conf_rsp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %1, i64 24
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, ptr noundef %0) #2
%8 = tail call ptr @l2cap_pi(ptr noundef %0) #2
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call ptr @cpu_to_le16(i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %10, ptr %11, align 8, !tbaa !14
%12 = tail call ptr @cpu_to_le16(i32 noundef %2) #2
%13 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %12, ptr %13, align 8, !tbaa !15
%14 = tail call ptr @cpu_to_le16(i32 noundef %3) #2
store ptr %14, ptr %1, align 8, !tbaa !16
%15 = ptrtoint ptr %6 to i64
%16 = ptrtoint ptr %1 to i64
%17 = sub i64 %15, %16
%18 = trunc i64 %17 to i32
ret i32 %18
}
declare i32 @BT_DBG(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1
declare ptr @l2cap_pi(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 24}
!7 = !{!"l2cap_conf_rsp", !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 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 8}
!16 = !{!7, !8, i64 0}
| fastsocket_kernel_net_bluetooth_extr_l2cap.c_l2cap_build_conf_rsp |
; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/extr_aw_usb3phy.c_awusb3phy_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/extr_aw_usb3phy.c_awusb3phy_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"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@compat_data = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Allwinner USB3PHY\00", align 1
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @awusb3phy_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @awusb3phy_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = load i32, ptr @compat_data, align 4, !tbaa !5
%6 = tail call ptr @ofw_bus_search_compatible(i32 noundef %0, i32 noundef %5) #2
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %4, %1, %9
%12 = phi ptr [ @BUS_PROBE_DEFAULT, %9 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%13 = load i32, ptr %12, align 4, !tbaa !5
ret i32 %13
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_search_compatible(i32 noundef, i32 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"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/allwinner/extr_aw_usb3phy.c_awusb3phy_probe.c'
source_filename = "AnghaBench/freebsd/sys/arm/allwinner/extr_aw_usb3phy.c_awusb3phy_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@compat_data = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Allwinner USB3PHY\00", align 1
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @awusb3phy_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @awusb3phy_probe(i32 noundef %0) #0 {
%2 = tail call i32 @ofw_bus_status_okay(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %11, label %4
4: ; preds = %1
%5 = load i32, ptr @compat_data, align 4, !tbaa !6
%6 = tail call ptr @ofw_bus_search_compatible(i32 noundef %0, i32 noundef %5) #2
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 @device_set_desc(i32 noundef %0, ptr noundef nonnull @.str) #2
br label %11
11: ; preds = %4, %1, %9
%12 = phi ptr [ @BUS_PROBE_DEFAULT, %9 ], [ @ENXIO, %1 ], [ @ENXIO, %4 ]
%13 = load i32, ptr %12, align 4, !tbaa !6
ret i32 %13
}
declare i32 @ofw_bus_status_okay(i32 noundef) local_unnamed_addr #1
declare ptr @ofw_bus_search_compatible(i32 noundef, i32 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"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| freebsd_sys_arm_allwinner_extr_aw_usb3phy.c_awusb3phy_probe |
; ModuleID = 'AnghaBench/openssl/crypto/pem/extr_pem_pk8.c_PEM_write_bio_PKCS8PrivateKey.c'
source_filename = "AnghaBench/openssl/crypto/pem/extr_pem_pk8.c_PEM_write_bio_PKCS8PrivateKey.c"
target datalayout = "e-m:e-p270:32:32-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 @PEM_write_bio_PKCS8PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @do_pk8pkey(ptr noundef %0, ptr noundef %1, i32 noundef 0, i32 noundef -1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #2
ret i32 %8
}
declare i32 @do_pk8pkey(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, 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)"}
| ; ModuleID = 'AnghaBench/openssl/crypto/pem/extr_pem_pk8.c_PEM_write_bio_PKCS8PrivateKey.c'
source_filename = "AnghaBench/openssl/crypto/pem/extr_pem_pk8.c_PEM_write_bio_PKCS8PrivateKey.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 @PEM_write_bio_PKCS8PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = tail call i32 @do_pk8pkey(ptr noundef %0, ptr noundef %1, i32 noundef 0, i32 noundef -1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #2
ret i32 %8
}
declare i32 @do_pk8pkey(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, 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)"}
| openssl_crypto_pem_extr_pem_pk8.c_PEM_write_bio_PKCS8PrivateKey |
; ModuleID = 'AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_decompress4X_usingDTable_bmi2.c'
source_filename = "AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_decompress4X_usingDTable_bmi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @HUF_decompress4X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i32 @HUF_getDTableDesc(ptr noundef %4) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) #2
br label %13
11: ; preds = %6
%12 = tail call i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) #2
br label %13
13: ; preds = %11, %9
%14 = phi i64 [ %10, %9 ], [ %12, %11 ]
ret i64 %14
}
declare i32 @HUF_getDTableDesc(ptr noundef) local_unnamed_addr #1
declare i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_decompress4X_usingDTable_bmi2.c'
source_filename = "AnghaBench/zstd/lib/decompress/extr_huf_decompress.c_HUF_decompress4X_usingDTable_bmi2.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 i64 @HUF_decompress4X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = tail call i32 @HUF_getDTableDesc(ptr noundef %4) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) #2
br label %13
11: ; preds = %6
%12 = tail call i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) #2
br label %13
13: ; preds = %11, %9
%14 = phi i64 [ %10, %9 ], [ %12, %11 ]
ret i64 %14
}
declare i32 @HUF_getDTableDesc(ptr noundef) local_unnamed_addr #1
declare i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef, i64 noundef, ptr noundef, i64 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)"}
| zstd_lib_decompress_extr_huf_decompress.c_HUF_decompress4X_usingDTable_bmi2 |
; ModuleID = 'AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_end_pts.c'
source_filename = "AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_end_pts.c"
target datalayout = "e-m:e-p270:32:32-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.mp_aframe = type { i64, ptr }
@MP_NOPTS_VALUE = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local double @mp_aframe_end_pts(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call double @mp_aframe_get_effective_rate(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr @MP_NOPTS_VALUE, align 8, !tbaa !11
%5 = icmp eq i64 %3, %4
%6 = fcmp ole double %2, 0.000000e+00
%7 = select i1 %5, i1 true, i1 %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = sitofp i64 %4 to double
br label %17
10: ; preds = %1
%11 = sitofp i64 %3 to double
%12 = getelementptr inbounds %struct.mp_aframe, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = load double, ptr %13, align 8, !tbaa !13
%15 = fdiv double %14, %2
%16 = fadd double %15, %11
br label %17
17: ; preds = %10, %8
%18 = phi double [ %9, %8 ], [ %16, %10 ]
ret double %18
}
declare double @mp_aframe_get_effective_rate(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 = !{!"mp_aframe", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"double", !8, i64 0}
| ; ModuleID = 'AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_end_pts.c'
source_filename = "AnghaBench/mpv/audio/extr_aframe.c_mp_aframe_end_pts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MP_NOPTS_VALUE = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define double @mp_aframe_end_pts(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call double @mp_aframe_get_effective_rate(ptr noundef %0) #2
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr @MP_NOPTS_VALUE, align 8, !tbaa !12
%5 = icmp eq i64 %3, %4
%6 = fcmp ole double %2, 0.000000e+00
%7 = select i1 %5, i1 true, i1 %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = sitofp i64 %4 to double
br label %17
10: ; preds = %1
%11 = sitofp i64 %3 to double
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load double, ptr %13, align 8, !tbaa !14
%15 = fdiv double %14, %2
%16 = fadd double %15, %11
br label %17
17: ; preds = %10, %8
%18 = phi double [ %9, %8 ], [ %16, %10 ]
ret double %18
}
declare double @mp_aframe_get_effective_rate(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 = !{!"mp_aframe", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"double", !9, i64 0}
| mpv_audio_extr_aframe.c_mp_aframe_end_pts |
; ModuleID = 'AnghaBench/linux/drivers/staging/android/ion/extr_ion_system_heap.c_ion_system_contig_heap_create.c'
source_filename = "AnghaBench/linux/drivers/staging/android/ion/extr_ion_system_heap.c_ion_system_contig_heap_create.c"
target datalayout = "e-m:e-p270:32:32-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 @ion_system_contig_heap_create], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ion_system_contig_heap_create() #0 {
%1 = tail call ptr (...) @__ion_system_contig_heap_create() #2
%2 = tail call i64 @IS_ERR(ptr noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 @PTR_ERR(ptr noundef %1) #2
br label %8
6: ; preds = %0
%7 = tail call i32 @ion_device_add_heap(ptr noundef %1) #2
br label %8
8: ; preds = %6, %4
%9 = phi i32 [ %5, %4 ], [ 0, %6 ]
ret i32 %9
}
declare ptr @__ion_system_contig_heap_create(...) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ion_device_add_heap(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/android/ion/extr_ion_system_heap.c_ion_system_contig_heap_create.c'
source_filename = "AnghaBench/linux/drivers/staging/android/ion/extr_ion_system_heap.c_ion_system_contig_heap_create.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 @ion_system_contig_heap_create], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ion_system_contig_heap_create() #0 {
%1 = tail call ptr @__ion_system_contig_heap_create() #2
%2 = tail call i64 @IS_ERR(ptr noundef %1) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %0
%5 = tail call i32 @PTR_ERR(ptr noundef %1) #2
br label %8
6: ; preds = %0
%7 = tail call i32 @ion_device_add_heap(ptr noundef %1) #2
br label %8
8: ; preds = %6, %4
%9 = phi i32 [ %5, %4 ], [ 0, %6 ]
ret i32 %9
}
declare ptr @__ion_system_contig_heap_create(...) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @ion_device_add_heap(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_android_ion_extr_ion_system_heap.c_ion_system_contig_heap_create |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_saphir.c_WriteISAC.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_saphir.c_WriteISAC.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @WriteISAC], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @WriteISAC(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !12
%7 = tail call i32 @writereg(i32 noundef %5, i32 noundef %6, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @writereg(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, !9, i64 4}
!6 = !{!"IsdnCardState", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_saphir.c_WriteISAC.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/hisax/extr_saphir.c_WriteISAC.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 @WriteISAC], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @WriteISAC(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !13
%7 = tail call i32 @writereg(i32 noundef %5, i32 noundef %6, i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @writereg(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, !10, i64 4}
!7 = !{!"IsdnCardState", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"TYPE_3__", !10, i64 0, !10, i64 4}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!7, !10, i64 0}
| fastsocket_kernel_drivers_isdn_hisax_extr_saphir.c_WriteISAC |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mmtimer.c_sgi_timer_create.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mmtimer.c_sgi_timer_create.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIMER_OFF = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sgi_timer_create], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal noundef i32 @sgi_timer_create(ptr nocapture noundef writeonly %0) #0 {
%2 = load i32, ptr @TIMER_OFF, align 4, !tbaa !5
store i32 %2, ptr %0, align 4, !tbaa !9
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"k_itimer", !11, i64 0}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mmtimer.c_sgi_timer_create.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mmtimer.c_sgi_timer_create.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIMER_OFF = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sgi_timer_create], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @sgi_timer_create(ptr nocapture noundef writeonly %0) #0 {
%2 = load i32, ptr @TIMER_OFF, align 4, !tbaa !6
store i32 %2, ptr %0, align 4, !tbaa !10
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"k_itimer", !12, i64 0}
!12 = !{!"TYPE_4__", !13, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
| fastsocket_kernel_drivers_char_extr_mmtimer.c_sgi_timer_create |
; ModuleID = 'AnghaBench/redis/deps/hiredis/extr_sds.c_sdsAllocPtr.c'
source_filename = "AnghaBench/redis/deps/hiredis/extr_sds.c_sdsAllocPtr.c"
target datalayout = "e-m:e-p270:32:32-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 @sdsAllocPtr(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i32, ptr %0, i64 -1
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call i32 @sdsHdrSize(i32 noundef %3) #2
%5 = sext i32 %4 to i64
%6 = sub nsw i64 0, %5
%7 = getelementptr inbounds i32, ptr %0, i64 %6
ret ptr %7
}
declare i32 @sdsHdrSize(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/redis/deps/hiredis/extr_sds.c_sdsAllocPtr.c'
source_filename = "AnghaBench/redis/deps/hiredis/extr_sds.c_sdsAllocPtr.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 @sdsAllocPtr(ptr noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 -4
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call i32 @sdsHdrSize(i32 noundef %3) #2
%5 = sext i32 %4 to i64
%6 = sub nsw i64 0, %5
%7 = getelementptr inbounds i32, ptr %0, i64 %6
ret ptr %7
}
declare i32 @sdsHdrSize(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"}
| redis_deps_hiredis_extr_sds.c_sdsAllocPtr |
; ModuleID = 'AnghaBench/fastsocket/kernel/net/llc/extr_llc_c_ac.c_llc_conn_ac_start_ack_tmr_if_not_running.c'
source_filename = "AnghaBench/fastsocket/kernel/net/llc/extr_llc_c_ac.c_llc_conn_ac_start_ack_tmr_if_not_running.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @llc_conn_ac_start_ack_tmr_if_not_running(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sk(ptr noundef %0) #2
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1
%5 = tail call i32 @timer_pending(ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i64, ptr @jiffies, align 8, !tbaa !5
%9 = load i64, ptr %3, align 8, !tbaa !9
%10 = add nsw i64 %9, %8
%11 = tail call i32 @mod_timer(ptr noundef nonnull %4, i64 noundef %10) #2
br label %12
12: ; preds = %7, %2
ret i32 0
}
declare ptr @llc_sk(ptr noundef) local_unnamed_addr #1
declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"llc_sock", !11, i64 0}
!11 = !{!"TYPE_2__", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/net/llc/extr_llc_c_ac.c_llc_conn_ac_start_ack_tmr_if_not_running.c'
source_filename = "AnghaBench/fastsocket/kernel/net/llc/extr_llc_c_ac.c_llc_conn_ac_start_ack_tmr_if_not_running.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @llc_conn_ac_start_ack_tmr_if_not_running(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = tail call ptr @llc_sk(ptr noundef %0) #2
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = tail call i32 @timer_pending(ptr noundef nonnull %4) #2
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %2
%8 = load i64, ptr @jiffies, align 8, !tbaa !6
%9 = load i64, ptr %3, align 8, !tbaa !10
%10 = add nsw i64 %9, %8
%11 = tail call i32 @mod_timer(ptr noundef nonnull %4, i64 noundef %10) #2
br label %12
12: ; preds = %7, %2
ret i32 0
}
declare ptr @llc_sk(ptr noundef) local_unnamed_addr #1
declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"llc_sock", !12, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0, !13, i64 8}
!13 = !{!"int", !8, i64 0}
| fastsocket_kernel_net_llc_extr_llc_c_ac.c_llc_conn_ac_start_ack_tmr_if_not_running |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/lua/extr_lua.c_dostring.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_lua.c_dostring.c"
target datalayout = "e-m:e-p270:32:32-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 @dostring], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @strlen(ptr noundef %1) #2
%5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %3
%12 = phi i32 [ 1, %3 ], [ %10, %7 ]
%13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2
ret i32 %13
}
declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @report(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/nodemcu-firmware/app/lua/extr_lua.c_dostring.c'
source_filename = "AnghaBench/nodemcu-firmware/app/lua/extr_lua.c_dostring.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 @dostring], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dostring(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @strlen(ptr noundef %1) #2
%5 = tail call i64 @luaL_loadbuffer(ptr noundef %0, ptr noundef %1, i32 noundef %4, ptr noundef %2) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %3
%8 = tail call i64 @docall(ptr noundef %0, i32 noundef 0, i32 noundef 1) #2
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i32
br label %11
11: ; preds = %7, %3
%12 = phi i32 [ 1, %3 ], [ %10, %7 ]
%13 = tail call i32 @report(ptr noundef %0, i32 noundef %12) #2
ret i32 %13
}
declare i64 @luaL_loadbuffer(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strlen(ptr noundef) local_unnamed_addr #1
declare i64 @docall(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @report(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)"}
| nodemcu-firmware_app_lua_extr_lua.c_dostring |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_proc.c_proc_setregister.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_proc.c_proc_setregister.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@P_LREGISTER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @proc_setregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @proc_lock(ptr noundef %0) #2
%3 = load i32, ptr @P_LREGISTER, align 4, !tbaa !5
%4 = load i32, ptr %0, align 4, !tbaa !9
%5 = or i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !9
%6 = tail call i32 @proc_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @proc_lock(ptr noundef) local_unnamed_addr #1
declare i32 @proc_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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_5__", !6, i64 0}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_proc.c_proc_setregister.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_proc.c_proc_setregister.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@P_LREGISTER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @proc_setregister(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @proc_lock(ptr noundef %0) #2
%3 = load i32, ptr @P_LREGISTER, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = or i32 %4, %3
store i32 %5, ptr %0, align 4, !tbaa !10
%6 = tail call i32 @proc_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @proc_lock(ptr noundef) local_unnamed_addr #1
declare i32 @proc_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_5__", !7, i64 0}
| darwin-xnu_bsd_kern_extr_kern_proc.c_proc_setregister |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_kaweth.c_kaweth_resubmit_rx_urb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_kaweth.c_kaweth_resubmit_rx_urb.c"
target datalayout = "e-m:e-p270:32:32-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.kaweth_device = type { i32, i32, ptr, i32, i32, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@KAWETH_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@kaweth_usb_receive = dso_local local_unnamed_addr global i32 0, align 4
@URB_NO_TRANSFER_DMA_MAP = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"resubmitting rx_urb %d failed\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @kaweth_resubmit_rx_urb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kaweth_resubmit_rx_urb(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 5
%6 = load i32, ptr %5, align 8, !tbaa !11
%7 = tail call i32 @usb_rcvbulkpipe(i32 noundef %6, i32 noundef 1) #2
%8 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = load i32, ptr @KAWETH_BUF_SIZE, align 4, !tbaa !13
%11 = load i32, ptr @kaweth_usb_receive, align 4, !tbaa !13
%12 = tail call i32 @usb_fill_bulk_urb(ptr noundef %4, i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %0) #2
%13 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !13
%14 = load ptr, ptr %3, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = or i32 %16, %13
store i32 %17, ptr %15, align 4, !tbaa !14
%18 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 3
%19 = load i32, ptr %18, align 8, !tbaa !16
store i32 %19, ptr %14, align 4, !tbaa !17
%20 = tail call i32 @usb_submit_urb(ptr noundef nonnull %14, i32 noundef %1) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %33, label %22
22: ; preds = %2
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%24 = sub nsw i32 0, %23
%25 = icmp eq i32 %20, %24
br i1 %25, label %26, label %31
26: ; preds = %22
store i32 1, ptr %0, align 8, !tbaa !18
%27 = getelementptr inbounds %struct.kaweth_device, ptr %0, i64 0, i32 1
%28 = load i32, ptr @HZ, align 4, !tbaa !13
%29 = sdiv i32 %28, 4
%30 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %27, i32 noundef %29) #2
br label %31
31: ; preds = %26, %22
%32 = tail call i32 @err(ptr noundef nonnull @.str, i32 noundef %20) #2
br label %34
33: ; preds = %2
store i32 0, ptr %0, align 8, !tbaa !18
br label %34
34: ; preds = %33, %31
ret i32 %20
}
declare i32 @usb_fill_bulk_urb(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_rcvbulkpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_submit_urb(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"kaweth_device", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !7, i64 20}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 4}
!15 = !{!"TYPE_3__", !7, i64 0, !7, i64 4}
!16 = !{!6, !7, i64 16}
!17 = !{!15, !7, i64 0}
!18 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/usb/extr_kaweth.c_kaweth_resubmit_rx_urb.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/usb/extr_kaweth.c_kaweth_resubmit_rx_urb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KAWETH_BUF_SIZE = common local_unnamed_addr global i32 0, align 4
@kaweth_usb_receive = common local_unnamed_addr global i32 0, align 4
@URB_NO_TRANSFER_DMA_MAP = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [30 x i8] c"resubmitting rx_urb %d failed\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @kaweth_resubmit_rx_urb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @kaweth_resubmit_rx_urb(ptr noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i32, ptr %5, align 8, !tbaa !12
%7 = tail call i32 @usb_rcvbulkpipe(i32 noundef %6, i32 noundef 1) #2
%8 = getelementptr inbounds i8, ptr %0, i64 20
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = load i32, ptr @KAWETH_BUF_SIZE, align 4, !tbaa !14
%11 = load i32, ptr @kaweth_usb_receive, align 4, !tbaa !14
%12 = tail call i32 @usb_fill_bulk_urb(ptr noundef %4, i32 noundef %6, i32 noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %0) #2
%13 = load i32, ptr @URB_NO_TRANSFER_DMA_MAP, align 4, !tbaa !14
%14 = load ptr, ptr %3, align 8, !tbaa !6
%15 = getelementptr inbounds i8, ptr %14, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = or i32 %16, %13
store i32 %17, ptr %15, align 4, !tbaa !15
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load i32, ptr %18, align 8, !tbaa !17
store i32 %19, ptr %14, align 4, !tbaa !18
%20 = tail call i32 @usb_submit_urb(ptr noundef nonnull %14, i32 noundef %1) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %33, label %22
22: ; preds = %2
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%24 = sub nsw i32 0, %23
%25 = icmp eq i32 %20, %24
br i1 %25, label %26, label %31
26: ; preds = %22
store i32 1, ptr %0, align 8, !tbaa !19
%27 = getelementptr inbounds i8, ptr %0, i64 4
%28 = load i32, ptr @HZ, align 4, !tbaa !14
%29 = sdiv i32 %28, 4
%30 = tail call i32 @schedule_delayed_work(ptr noundef nonnull %27, i32 noundef %29) #2
br label %31
31: ; preds = %26, %22
%32 = tail call i32 @err(ptr noundef nonnull @.str, i32 noundef %20) #2
br label %34
33: ; preds = %2
store i32 0, ptr %0, align 8, !tbaa !19
br label %34
34: ; preds = %33, %31
ret i32 %20
}
declare i32 @usb_fill_bulk_urb(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_rcvbulkpipe(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usb_submit_urb(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_delayed_work(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @err(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"kaweth_device", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 24}
!13 = !{!7, !8, i64 20}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 4}
!16 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!17 = !{!7, !8, i64 16}
!18 = !{!16, !8, i64 0}
!19 = !{!7, !8, i64 0}
| fastsocket_kernel_drivers_net_usb_extr_kaweth.c_kaweth_resubmit_rx_urb |
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_sprd-dma.c_sprd_dma_free_desc.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_sprd-dma.c_sprd_dma_free_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sprd_dma_free_desc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sprd_dma_free_desc(ptr noundef %0) #0 {
%2 = tail call ptr @to_sprd_dma_desc(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_sprd_dma_desc(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)"}
| ; ModuleID = 'AnghaBench/linux/drivers/dma/extr_sprd-dma.c_sprd_dma_free_desc.c'
source_filename = "AnghaBench/linux/drivers/dma/extr_sprd-dma.c_sprd_dma_free_desc.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 @sprd_dma_free_desc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sprd_dma_free_desc(ptr noundef %0) #0 {
%2 = tail call ptr @to_sprd_dma_desc(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_sprd_dma_desc(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)"}
| linux_drivers_dma_extr_sprd-dma.c_sprd_dma_free_desc |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_faces.c_EmitVertexes_r.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_faces.c_EmitVertexes_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr, ptr }
@PLANENUM_LEAF = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @EmitVertexes_r(ptr noundef %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %11, %1
%3 = phi ptr [ %0, %1 ], [ %17, %11 ]
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %23, label %7
7: ; preds = %2
%8 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %18, %7
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load ptr, ptr %13, align 8, !tbaa !12
tail call void @EmitVertexes_r(ptr noundef %14)
%15 = load ptr, ptr %12, align 8, !tbaa !13
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8, !tbaa !12
br label %2
18: ; preds = %7, %18
%19 = phi ptr [ %21, %18 ], [ %9, %7 ]
%20 = tail call i32 @EmitFaceVertexes(ptr noundef nonnull %3, ptr noundef nonnull %19) #2
%21 = load ptr, ptr %19, align 8, !tbaa !12
%22 = icmp eq ptr %21, null
br i1 %22, label %11, label %18, !llvm.loop !14
23: ; preds = %2
ret void
}
declare i32 @EmitFaceVertexes(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_faces.c_EmitVertexes_r.c'
source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_faces.c_EmitVertexes_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PLANENUM_LEAF = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @EmitVertexes_r(ptr noundef %0) local_unnamed_addr #0 {
br label %2
2: ; preds = %11, %1
%3 = phi ptr [ %0, %1 ], [ %17, %11 ]
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @PLANENUM_LEAF, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %23, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %3, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %18, %7
%12 = getelementptr inbounds i8, ptr %3, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load ptr, ptr %13, align 8, !tbaa !13
tail call void @EmitVertexes_r(ptr noundef %14)
%15 = load ptr, ptr %12, align 8, !tbaa !14
%16 = getelementptr inbounds i8, ptr %15, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !13
br label %2
18: ; preds = %7, %18
%19 = phi ptr [ %21, %18 ], [ %9, %7 ]
%20 = tail call i32 @EmitFaceVertexes(ptr noundef nonnull %3, ptr noundef nonnull %19) #2
%21 = load ptr, ptr %19, align 8, !tbaa !13
%22 = icmp eq ptr %21, null
br i1 %22, label %11, label %18, !llvm.loop !15
23: ; preds = %2
ret void
}
declare i32 @EmitFaceVertexes(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| Quake-III-Arena_code_bspc_extr_faces.c_EmitVertexes_r |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_nvram.c_core99_nvram_write.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_nvram.c_core99_nvram_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@nvram_image = dso_local local_unnamed_addr global ptr null, align 8
@ENODEV = dso_local local_unnamed_addr global i64 0, align 8
@NVRAM_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @core99_nvram_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @core99_nvram_write(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr @nvram_image, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i64, ptr @ENODEV, align 8, !tbaa !9
%8 = sub i64 0, %7
br label %25
9: ; preds = %3
%10 = load i32, ptr %2, align 4, !tbaa !11
%11 = load i32, ptr @NVRAM_SIZE, align 4, !tbaa !11
%12 = icmp sgt i32 %10, %11
br i1 %12, label %25, label %13
13: ; preds = %9
%14 = sext i32 %10 to i64
%15 = add i64 %14, %1
%16 = sext i32 %11 to i64
%17 = icmp ugt i64 %15, %16
%18 = sub nsw i32 %11, %10
%19 = sext i32 %18 to i64
%20 = select i1 %17, i64 %19, i64 %1
%21 = getelementptr inbounds i32, ptr %4, i64 %14
%22 = tail call i32 @memcpy(ptr noundef nonnull %21, ptr noundef %0, i64 noundef %20) #2
%23 = trunc i64 %20 to i32
%24 = add i32 %10, %23
store i32 %24, ptr %2, align 4, !tbaa !11
br label %25
25: ; preds = %9, %13, %6
%26 = phi i64 [ %8, %6 ], [ %20, %13 ], [ 0, %9 ]
ret i64 %26
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powermac/extr_nvram.c_core99_nvram_write.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powermac/extr_nvram.c_core99_nvram_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@nvram_image = common local_unnamed_addr global ptr null, align 8
@ENODEV = common local_unnamed_addr global i64 0, align 8
@NVRAM_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @core99_nvram_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @core99_nvram_write(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) #0 {
%4 = load ptr, ptr @nvram_image, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i64, ptr @ENODEV, align 8, !tbaa !10
%8 = sub i64 0, %7
br label %25
9: ; preds = %3
%10 = load i32, ptr %2, align 4, !tbaa !12
%11 = load i32, ptr @NVRAM_SIZE, align 4, !tbaa !12
%12 = icmp sgt i32 %10, %11
br i1 %12, label %25, label %13
13: ; preds = %9
%14 = sext i32 %10 to i64
%15 = add i64 %14, %1
%16 = sext i32 %11 to i64
%17 = icmp ugt i64 %15, %16
%18 = sub nsw i32 %11, %10
%19 = sext i32 %18 to i64
%20 = select i1 %17, i64 %19, i64 %1
%21 = getelementptr inbounds i32, ptr %4, i64 %14
%22 = tail call i32 @memcpy(ptr noundef nonnull %21, ptr noundef %0, i64 noundef %20) #2
%23 = trunc i64 %20 to i32
%24 = add i32 %10, %23
store i32 %24, ptr %2, align 4, !tbaa !12
br label %25
25: ; preds = %9, %13, %6
%26 = phi i64 [ %8, %6 ], [ %20, %13 ], [ 0, %9 ]
ret i64 %26
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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}
| linux_arch_powerpc_platforms_powermac_extr_nvram.c_core99_nvram_write |
; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c_vb2_mmap.c'
source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c_vb2_mmap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.vm_area_struct = type { i64, i32, i64, i64 }
%struct.vb2_queue = type { i64, i32, ptr, i64 }
%struct.TYPE_2__ = type { i32, i32 }
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@VB2_MEMORY_MMAP = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c"queue is not currently set up for mmap\0A\00", align 1
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@VM_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"invalid vma flags, VM_SHARED needed\0A\00", align 1
@VM_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"invalid vma flags, VM_WRITE needed\0A\00", align 1
@VM_READ = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [35 x i8] c"invalid vma flags, VM_READ needed\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"mmap: file io in progress\0A\00", align 1
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [50 x i8] c"MMAP invalid, as it would overflow buffer length\0A\00", align 1
@mmap = dso_local local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [41 x i8] c"buffer %d, plane %d successfully mapped\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @vb2_mmap(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i64, ptr %1, align 8, !tbaa !5
%6 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !11
%7 = shl i64 %5, %6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !12
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !12
%8 = load i64, ptr %0, align 8, !tbaa !13
%9 = load i64, ptr @VB2_MEMORY_MMAP, align 8, !tbaa !11
%10 = icmp eq i64 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str) #3
%13 = load i32, ptr @EINVAL, align 4, !tbaa !12
%14 = sub nsw i32 0, %13
br label %98
15: ; preds = %2
%16 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1
%17 = load i32, ptr %16, align 8, !tbaa !16
%18 = load i32, ptr @VM_SHARED, align 4, !tbaa !12
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %15
%22 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.1) #3
%23 = load i32, ptr @EINVAL, align 4, !tbaa !12
%24 = sub nsw i32 0, %23
br label %98
25: ; preds = %15
%26 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 3
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = icmp eq i64 %27, 0
br i1 %28, label %37, label %29
29: ; preds = %25
%30 = load i32, ptr @VM_WRITE, align 4, !tbaa !12
%31 = and i32 %30, %17
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %45
33: ; preds = %29
%34 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.2) #3
%35 = load i32, ptr @EINVAL, align 4, !tbaa !12
%36 = sub nsw i32 0, %35
br label %98
37: ; preds = %25
%38 = load i32, ptr @VM_READ, align 4, !tbaa !12
%39 = and i32 %38, %17
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.3) #3
%43 = load i32, ptr @EINVAL, align 4, !tbaa !12
%44 = sub nsw i32 0, %43
br label %98
45: ; preds = %37, %29
%46 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 1
%47 = tail call i32 @mutex_lock(ptr noundef nonnull %46) #3
%48 = tail call i64 @vb2_fileio_is_active(ptr noundef nonnull %0) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %45
%51 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.4) #3
%52 = load i32, ptr @EBUSY, align 4, !tbaa !12
%53 = sub nsw i32 0, %52
br label %90
54: ; preds = %45
%55 = call i32 @__find_plane_by_offset(ptr noundef nonnull %0, i64 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%56 = icmp eq i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %54
%58 = call i32 @mutex_unlock(ptr noundef nonnull %46) #3
br label %98
59: ; preds = %54
%60 = getelementptr inbounds %struct.vb2_queue, ptr %0, i64 0, i32 2
%61 = load ptr, ptr %60, align 8, !tbaa !18
%62 = load i32, ptr %3, align 4, !tbaa !12
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8, !tbaa !19
%66 = load ptr, ptr %65, align 8, !tbaa !20
%67 = load i32, ptr %4, align 4, !tbaa !12
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %68, i32 1
%70 = load i32, ptr %69, align 4, !tbaa !22
%71 = call i64 @PAGE_ALIGN(i32 noundef %70) #3
%72 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 2
%73 = load i64, ptr %72, align 8, !tbaa !24
%74 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 3
%75 = load i64, ptr %74, align 8, !tbaa !25
%76 = sub i64 %73, %75
%77 = icmp ult i64 %71, %76
br i1 %77, label %78, label %82
78: ; preds = %59
%79 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.5) #3
%80 = load i32, ptr @EINVAL, align 4, !tbaa !12
%81 = sub nsw i32 0, %80
br label %90
82: ; preds = %59
store i64 0, ptr %1, align 8, !tbaa !5
%83 = load i32, ptr @mmap, align 4, !tbaa !12
%84 = load ptr, ptr %65, align 8, !tbaa !20
%85 = load i32, ptr %4, align 4, !tbaa !12
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds %struct.TYPE_2__, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4, !tbaa !26
%89 = call i32 @call_memop(ptr noundef nonnull %65, i32 noundef %83, i32 noundef %88, ptr noundef nonnull %1) #3
br label %90
90: ; preds = %82, %78, %50
%91 = phi i32 [ %53, %50 ], [ %81, %78 ], [ %89, %82 ]
%92 = call i32 @mutex_unlock(ptr noundef nonnull %46) #3
%93 = icmp eq i32 %91, 0
br i1 %93, label %94, label %98
94: ; preds = %90
%95 = load i32, ptr %3, align 4, !tbaa !12
%96 = load i32, ptr %4, align 4, !tbaa !12
%97 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 3, ptr noundef nonnull @.str.6, i32 noundef %95, i32 noundef %96) #3
br label %98
98: ; preds = %57, %90, %94, %41, %33, %21, %11
%99 = phi i32 [ %14, %11 ], [ 0, %94 ], [ %36, %33 ], [ %44, %41 ], [ %24, %21 ], [ %91, %90 ], [ %55, %57 ]
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 i32 %99
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @vb2_fileio_is_active(ptr noundef) local_unnamed_addr #2
declare i32 @__find_plane_by_offset(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #2
declare i32 @call_memop(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vm_area_struct", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"vb2_queue", !7, i64 0, !10, i64 8, !15, i64 16, !7, i64 24}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!6, !10, i64 8}
!17 = !{!14, !7, i64 24}
!18 = !{!14, !15, i64 16}
!19 = !{!15, !15, i64 0}
!20 = !{!21, !15, i64 0}
!21 = !{!"vb2_buffer", !15, i64 0}
!22 = !{!23, !10, i64 4}
!23 = !{!"TYPE_2__", !10, i64 0, !10, i64 4}
!24 = !{!6, !7, i64 16}
!25 = !{!6, !7, i64 24}
!26 = !{!23, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c_vb2_mmap.c'
source_filename = "AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-core.c_vb2_mmap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, i32 }
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@VB2_MEMORY_MMAP = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [40 x i8] c"queue is not currently set up for mmap\0A\00", align 1
@EINVAL = common local_unnamed_addr global i32 0, align 4
@VM_SHARED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"invalid vma flags, VM_SHARED needed\0A\00", align 1
@VM_WRITE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [36 x i8] c"invalid vma flags, VM_WRITE needed\0A\00", align 1
@VM_READ = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [35 x i8] c"invalid vma flags, VM_READ needed\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"mmap: file io in progress\0A\00", align 1
@EBUSY = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [50 x i8] c"MMAP invalid, as it would overflow buffer length\0A\00", align 1
@mmap = common local_unnamed_addr global i32 0, align 4
@.str.6 = private unnamed_addr constant [41 x i8] c"buffer %d, plane %d successfully mapped\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @vb2_mmap(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i64, ptr %1, align 8, !tbaa !6
%6 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !12
%7 = shl i64 %5, %6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
store i32 0, ptr %3, align 4, !tbaa !13
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !13
%8 = load i64, ptr %0, align 8, !tbaa !14
%9 = load i64, ptr @VB2_MEMORY_MMAP, align 8, !tbaa !12
%10 = icmp eq i64 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str) #3
%13 = load i32, ptr @EINVAL, align 4, !tbaa !13
%14 = sub nsw i32 0, %13
br label %98
15: ; preds = %2
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i32, ptr %16, align 8, !tbaa !17
%18 = load i32, ptr @VM_SHARED, align 4, !tbaa !13
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %15
%22 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.1) #3
%23 = load i32, ptr @EINVAL, align 4, !tbaa !13
%24 = sub nsw i32 0, %23
br label %98
25: ; preds = %15
%26 = getelementptr inbounds i8, ptr %0, i64 24
%27 = load i64, ptr %26, align 8, !tbaa !18
%28 = icmp eq i64 %27, 0
br i1 %28, label %37, label %29
29: ; preds = %25
%30 = load i32, ptr @VM_WRITE, align 4, !tbaa !13
%31 = and i32 %30, %17
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %45
33: ; preds = %29
%34 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.2) #3
%35 = load i32, ptr @EINVAL, align 4, !tbaa !13
%36 = sub nsw i32 0, %35
br label %98
37: ; preds = %25
%38 = load i32, ptr @VM_READ, align 4, !tbaa !13
%39 = and i32 %38, %17
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.3) #3
%43 = load i32, ptr @EINVAL, align 4, !tbaa !13
%44 = sub nsw i32 0, %43
br label %98
45: ; preds = %37, %29
%46 = getelementptr inbounds i8, ptr %0, i64 8
%47 = tail call i32 @mutex_lock(ptr noundef nonnull %46) #3
%48 = tail call i64 @vb2_fileio_is_active(ptr noundef nonnull %0) #3
%49 = icmp eq i64 %48, 0
br i1 %49, label %54, label %50
50: ; preds = %45
%51 = tail call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.4) #3
%52 = load i32, ptr @EBUSY, align 4, !tbaa !13
%53 = sub nsw i32 0, %52
br label %90
54: ; preds = %45
%55 = call i32 @__find_plane_by_offset(ptr noundef nonnull %0, i64 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4) #3
%56 = icmp eq i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %54
%58 = call i32 @mutex_unlock(ptr noundef nonnull %46) #3
br label %98
59: ; preds = %54
%60 = getelementptr inbounds i8, ptr %0, i64 16
%61 = load ptr, ptr %60, align 8, !tbaa !19
%62 = load i32, ptr %3, align 4, !tbaa !13
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8, !tbaa !20
%66 = load ptr, ptr %65, align 8, !tbaa !21
%67 = load i32, ptr %4, align 4, !tbaa !13
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i64 %68, i32 1
%70 = load i32, ptr %69, align 4, !tbaa !23
%71 = call i64 @PAGE_ALIGN(i32 noundef %70) #3
%72 = getelementptr inbounds i8, ptr %1, i64 16
%73 = load i64, ptr %72, align 8, !tbaa !25
%74 = getelementptr inbounds i8, ptr %1, i64 24
%75 = load i64, ptr %74, align 8, !tbaa !26
%76 = sub i64 %73, %75
%77 = icmp ult i64 %71, %76
br i1 %77, label %78, label %82
78: ; preds = %59
%79 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 1, ptr noundef nonnull @.str.5) #3
%80 = load i32, ptr @EINVAL, align 4, !tbaa !13
%81 = sub nsw i32 0, %80
br label %90
82: ; preds = %59
store i64 0, ptr %1, align 8, !tbaa !6
%83 = load i32, ptr @mmap, align 4, !tbaa !13
%84 = load ptr, ptr %65, align 8, !tbaa !21
%85 = load i32, ptr %4, align 4, !tbaa !13
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds %struct.TYPE_2__, ptr %84, i64 %86
%88 = load i32, ptr %87, align 4, !tbaa !27
%89 = call i32 @call_memop(ptr noundef nonnull %65, i32 noundef %83, i32 noundef %88, ptr noundef nonnull %1) #3
br label %90
90: ; preds = %82, %78, %50
%91 = phi i32 [ %53, %50 ], [ %81, %78 ], [ %89, %82 ]
%92 = call i32 @mutex_unlock(ptr noundef nonnull %46) #3
%93 = icmp eq i32 %91, 0
br i1 %93, label %94, label %98
94: ; preds = %90
%95 = load i32, ptr %3, align 4, !tbaa !13
%96 = load i32, ptr %4, align 4, !tbaa !13
%97 = call i32 (i32, ptr, ...) @dprintk(i32 noundef 3, ptr noundef nonnull @.str.6, i32 noundef %95, i32 noundef %96) #3
br label %98
98: ; preds = %57, %90, %94, %41, %33, %21, %11
%99 = phi i32 [ %14, %11 ], [ 0, %94 ], [ %36, %33 ], [ %44, %41 ], [ %24, %21 ], [ %91, %90 ], [ %55, %57 ]
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 i32 %99
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @dprintk(i32 noundef, ptr noundef, ...) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i64 @vb2_fileio_is_active(ptr noundef) local_unnamed_addr #2
declare i32 @__find_plane_by_offset(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @PAGE_ALIGN(i32 noundef) local_unnamed_addr #2
declare i32 @call_memop(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vm_area_struct", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"vb2_queue", !8, i64 0, !11, i64 8, !16, i64 16, !8, i64 24}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!7, !11, i64 8}
!18 = !{!15, !8, i64 24}
!19 = !{!15, !16, i64 16}
!20 = !{!16, !16, i64 0}
!21 = !{!22, !16, i64 0}
!22 = !{!"vb2_buffer", !16, i64 0}
!23 = !{!24, !11, i64 4}
!24 = !{!"TYPE_2__", !11, i64 0, !11, i64 4}
!25 = !{!7, !8, i64 16}
!26 = !{!7, !8, i64 24}
!27 = !{!24, !11, i64 0}
| linux_drivers_media_common_videobuf2_extr_videobuf2-core.c_vb2_mmap |
; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_sigp.c___prepare_sigp_cpu_reset.c'
source_filename = "AnghaBench/linux/arch/s390/kvm/extr_sigp.c___prepare_sigp_cpu_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__prepare_sigp_cpu_reset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @__prepare_sigp_cpu_reset(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%5 = sub nsw i32 0, %4
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/s390/kvm/extr_sigp.c___prepare_sigp_cpu_reset.c'
source_filename = "AnghaBench/linux/arch/s390/kvm/extr_sigp.c___prepare_sigp_cpu_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__prepare_sigp_cpu_reset], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @__prepare_sigp_cpu_reset(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
%4 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%5 = sub nsw i32 0, %4
ret i32 %5
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_arch_s390_kvm_extr_sigp.c___prepare_sigp_cpu_reset |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_triflex.c_triflex_prereset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_triflex.c_triflex_prereset.c"
target datalayout = "e-m:e-p270:32:32-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.pci_bits = type { i32, i32, i32, i32 }
%struct.ata_port = type { i64, ptr }
@triflex_prereset.triflex_enable_bits = internal constant [2 x %struct.pci_bits] [%struct.pci_bits { i32 128, i32 1, i32 1, i32 1 }, %struct.pci_bits { i32 128, i32 1, i32 2, i32 2 }], align 16
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @triflex_prereset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @triflex_prereset(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ata_port, ptr %3, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = load i32, ptr %5, align 4, !tbaa !13
%7 = tail call ptr @to_pci_dev(i32 noundef %6) #2
%8 = load i64, ptr %3, align 8, !tbaa !16
%9 = getelementptr inbounds [2 x %struct.pci_bits], ptr @triflex_prereset.triflex_enable_bits, i64 0, i64 %8
%10 = tail call i32 @pci_test_config_bits(ptr noundef %7, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @ENOENT, align 4, !tbaa !17
%14 = sub nsw i32 0, %13
br label %17
15: ; preds = %2
%16 = tail call i32 @ata_sff_prereset(ptr noundef nonnull %0, i64 noundef %1) #2
br label %17
17: ; preds = %15, %12
%18 = phi i32 [ %16, %15 ], [ %14, %12 ]
ret i32 %18
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_test_config_bits(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_sff_prereset(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ata_link", !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 = !{!"ata_port", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!15, !15, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_triflex.c_triflex_prereset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_triflex.c_triflex_prereset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pci_bits = type { i32, i32, i32, i32 }
@triflex_prereset.triflex_enable_bits = internal constant [2 x %struct.pci_bits] [%struct.pci_bits { i32 128, i32 1, i32 1, i32 1 }, %struct.pci_bits { i32 128, i32 1, i32 2, i32 2 }], align 4
@ENOENT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @triflex_prereset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @triflex_prereset(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = load i32, ptr %5, align 4, !tbaa !14
%7 = tail call ptr @to_pci_dev(i32 noundef %6) #2
%8 = load i64, ptr %3, align 8, !tbaa !17
%9 = getelementptr inbounds [2 x %struct.pci_bits], ptr @triflex_prereset.triflex_enable_bits, i64 0, i64 %8
%10 = tail call i32 @pci_test_config_bits(ptr noundef %7, ptr noundef nonnull %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @ENOENT, align 4, !tbaa !18
%14 = sub nsw i32 0, %13
br label %17
15: ; preds = %2
%16 = tail call i32 @ata_sff_prereset(ptr noundef nonnull %0, i64 noundef %1) #2
br label %17
17: ; preds = %15, %12
%18 = phi i32 [ %16, %15 ], [ %14, %12 ]
ret i32 %18
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_test_config_bits(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ata_sff_prereset(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ata_link", !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 = !{!"ata_port", !13, i64 0, !8, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = !{!12, !13, i64 0}
!18 = !{!16, !16, i64 0}
| fastsocket_kernel_drivers_ata_extr_pata_triflex.c_triflex_prereset |
; ModuleID = 'AnghaBench/exploitdb/shellcodes/bsd_x86/extr_13453.c_main.c'
source_filename = "AnghaBench/exploitdb/shellcodes/bsd_x86/extr_13453.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@shellcode = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/exploitdb/shellcodes/bsd_x86/extr_13453.c_main.c'
source_filename = "AnghaBench/exploitdb/shellcodes/bsd_x86/extr_13453.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@shellcode = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @main() local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| exploitdb_shellcodes_bsd_x86_extr_13453.c_main |
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_equal_functions.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_equal_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @equal_functions], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @equal_functions(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @DECL_LOCAL_FUNCTION_P(i64 noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call i64 @DECL_LOCAL_FUNCTION_P(i64 noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = tail call i64 @DECL_EXTERN_C_FUNCTION_P(i64 noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8, %5, %2
%12 = tail call i32 @decls_match(i64 noundef %0, i64 noundef %1) #2
br label %16
13: ; preds = %8
%14 = icmp eq i64 %0, %1
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %13, %11
%17 = phi i32 [ %12, %11 ], [ %15, %13 ]
ret i32 %17
}
declare i64 @DECL_LOCAL_FUNCTION_P(i64 noundef) local_unnamed_addr #1
declare i64 @DECL_EXTERN_C_FUNCTION_P(i64 noundef) local_unnamed_addr #1
declare i32 @decls_match(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_equal_functions.c'
source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_call.c_equal_functions.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 @equal_functions], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @equal_functions(i64 noundef %0, i64 noundef %1) #0 {
%3 = tail call i64 @DECL_LOCAL_FUNCTION_P(i64 noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = tail call i64 @DECL_LOCAL_FUNCTION_P(i64 noundef %1) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = tail call i64 @DECL_EXTERN_C_FUNCTION_P(i64 noundef %0) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8, %5, %2
%12 = tail call i32 @decls_match(i64 noundef %0, i64 noundef %1) #2
br label %16
13: ; preds = %8
%14 = icmp eq i64 %0, %1
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %13, %11
%17 = phi i32 [ %12, %11 ], [ %15, %13 ]
ret i32 %17
}
declare i64 @DECL_LOCAL_FUNCTION_P(i64 noundef) local_unnamed_addr #1
declare i64 @DECL_EXTERN_C_FUNCTION_P(i64 noundef) local_unnamed_addr #1
declare i32 @decls_match(i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_gcc_cp_extr_call.c_equal_functions |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_tetris_text.c_rotate_piece.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_tetris_text.c_rotate_piece.c"
target datalayout = "e-m:e-p270:32:32-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 @rotate_piece], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define internal void @rotate_piece(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 1
%3 = load i8, ptr %2, align 1, !tbaa !5
%4 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 0
%5 = load i8, ptr %4, align 1, !tbaa !5
store i8 %5, ptr %2, align 1, !tbaa !5
store i8 %3, ptr %4, align 1, !tbaa !5
%6 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 2
%7 = load i8, ptr %6, align 1, !tbaa !5
%8 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 0
%9 = load i8, ptr %8, align 1, !tbaa !5
store i8 %9, ptr %6, align 1, !tbaa !5
store i8 %7, ptr %8, align 1, !tbaa !5
%10 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 3
%11 = load i8, ptr %10, align 1, !tbaa !5
%12 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 0
%13 = load i8, ptr %12, align 1, !tbaa !5
store i8 %13, ptr %10, align 1, !tbaa !5
store i8 %11, ptr %12, align 1, !tbaa !5
%14 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 4
%15 = load i8, ptr %14, align 1, !tbaa !5
%16 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 0
%17 = load i8, ptr %16, align 1, !tbaa !5
store i8 %17, ptr %14, align 1, !tbaa !5
store i8 %15, ptr %16, align 1, !tbaa !5
%18 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 5
%19 = load i8, ptr %18, align 1, !tbaa !5
%20 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 0
%21 = load i8, ptr %20, align 1, !tbaa !5
store i8 %21, ptr %18, align 1, !tbaa !5
store i8 %19, ptr %20, align 1, !tbaa !5
%22 = getelementptr inbounds [7 x i8], ptr %0, i64 0, i64 6
%23 = load i8, ptr %22, align 1, !tbaa !5
%24 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 0
%25 = load i8, ptr %24, align 1, !tbaa !5
store i8 %25, ptr %22, align 1, !tbaa !5
store i8 %23, ptr %24, align 1, !tbaa !5
%26 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 2
%27 = load i8, ptr %26, align 1, !tbaa !5
%28 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 1
%29 = load i8, ptr %28, align 1, !tbaa !5
store i8 %29, ptr %26, align 1, !tbaa !5
store i8 %27, ptr %28, align 1, !tbaa !5
%30 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 3
%31 = load i8, ptr %30, align 1, !tbaa !5
%32 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 1
%33 = load i8, ptr %32, align 1, !tbaa !5
store i8 %33, ptr %30, align 1, !tbaa !5
store i8 %31, ptr %32, align 1, !tbaa !5
%34 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 4
%35 = load i8, ptr %34, align 1, !tbaa !5
%36 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 1
%37 = load i8, ptr %36, align 1, !tbaa !5
store i8 %37, ptr %34, align 1, !tbaa !5
store i8 %35, ptr %36, align 1, !tbaa !5
%38 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 5
%39 = load i8, ptr %38, align 1, !tbaa !5
%40 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 1
%41 = load i8, ptr %40, align 1, !tbaa !5
store i8 %41, ptr %38, align 1, !tbaa !5
store i8 %39, ptr %40, align 1, !tbaa !5
%42 = getelementptr inbounds [7 x i8], ptr %0, i64 1, i64 6
%43 = load i8, ptr %42, align 1, !tbaa !5
%44 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 1
%45 = load i8, ptr %44, align 1, !tbaa !5
store i8 %45, ptr %42, align 1, !tbaa !5
store i8 %43, ptr %44, align 1, !tbaa !5
%46 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 3
%47 = load i8, ptr %46, align 1, !tbaa !5
%48 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 2
%49 = load i8, ptr %48, align 1, !tbaa !5
store i8 %49, ptr %46, align 1, !tbaa !5
store i8 %47, ptr %48, align 1, !tbaa !5
%50 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 4
%51 = load i8, ptr %50, align 1, !tbaa !5
%52 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 2
%53 = load i8, ptr %52, align 1, !tbaa !5
store i8 %53, ptr %50, align 1, !tbaa !5
store i8 %51, ptr %52, align 1, !tbaa !5
%54 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 5
%55 = load i8, ptr %54, align 1, !tbaa !5
%56 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 2
%57 = load i8, ptr %56, align 1, !tbaa !5
store i8 %57, ptr %54, align 1, !tbaa !5
store i8 %55, ptr %56, align 1, !tbaa !5
%58 = getelementptr inbounds [7 x i8], ptr %0, i64 2, i64 6
%59 = load i8, ptr %58, align 1, !tbaa !5
%60 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 2
%61 = load i8, ptr %60, align 1, !tbaa !5
store i8 %61, ptr %58, align 1, !tbaa !5
store i8 %59, ptr %60, align 1, !tbaa !5
%62 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 4
%63 = load i8, ptr %62, align 1, !tbaa !5
%64 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 3
%65 = load i8, ptr %64, align 1, !tbaa !5
store i8 %65, ptr %62, align 1, !tbaa !5
store i8 %63, ptr %64, align 1, !tbaa !5
%66 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 5
%67 = load i8, ptr %66, align 1, !tbaa !5
%68 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 3
%69 = load i8, ptr %68, align 1, !tbaa !5
store i8 %69, ptr %66, align 1, !tbaa !5
store i8 %67, ptr %68, align 1, !tbaa !5
%70 = getelementptr inbounds [7 x i8], ptr %0, i64 3, i64 6
%71 = load i8, ptr %70, align 1, !tbaa !5
%72 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 3
%73 = load i8, ptr %72, align 1, !tbaa !5
store i8 %73, ptr %70, align 1, !tbaa !5
store i8 %71, ptr %72, align 1, !tbaa !5
%74 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 5
%75 = load i8, ptr %74, align 1, !tbaa !5
%76 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 4
%77 = load i8, ptr %76, align 1, !tbaa !5
store i8 %77, ptr %74, align 1, !tbaa !5
store i8 %75, ptr %76, align 1, !tbaa !5
%78 = getelementptr inbounds [7 x i8], ptr %0, i64 4, i64 6
%79 = load i8, ptr %78, align 1, !tbaa !5
%80 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 4
%81 = load i8, ptr %80, align 1, !tbaa !5
store i8 %81, ptr %78, align 1, !tbaa !5
store i8 %79, ptr %80, align 1, !tbaa !5
%82 = getelementptr inbounds [7 x i8], ptr %0, i64 5, i64 6
%83 = load i8, ptr %82, align 1, !tbaa !5
%84 = getelementptr inbounds [7 x i8], ptr %0, i64 6, i64 5
%85 = load i8, ptr %84, align 1, !tbaa !5
store i8 %85, ptr %82, align 1, !tbaa !5
store i8 %83, ptr %84, align 1, !tbaa !5
br label %86
86: ; preds = %1, %86
%87 = phi i64 [ 0, %1 ], [ %100, %86 ]
%88 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 6
%89 = load i8, ptr %88, align 1, !tbaa !5
%90 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 0
%91 = load i8, ptr %90, align 1, !tbaa !5
store i8 %91, ptr %88, align 1, !tbaa !5
store i8 %89, ptr %90, align 1, !tbaa !5
%92 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 5
%93 = load i8, ptr %92, align 1, !tbaa !5
%94 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 1
%95 = load i8, ptr %94, align 1, !tbaa !5
store i8 %95, ptr %92, align 1, !tbaa !5
store i8 %93, ptr %94, align 1, !tbaa !5
%96 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 4
%97 = load i8, ptr %96, align 1, !tbaa !5
%98 = getelementptr inbounds [7 x i8], ptr %0, i64 %87, i64 2
%99 = load i8, ptr %98, align 1, !tbaa !5
store i8 %99, ptr %96, align 1, !tbaa !5
store i8 %97, ptr %98, align 1, !tbaa !5
%100 = add nuw nsw i64 %87, 1
%101 = icmp eq i64 %100, 7
br i1 %101, label %102, label %86, !llvm.loop !8
102: ; preds = %86
ret void
}
attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_tetris_text.c_rotate_piece.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/clueboard/66/keymaps/tetris/extr_tetris_text.c_rotate_piece.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 @rotate_piece], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @rotate_piece(ptr nocapture noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 1
%3 = load i8, ptr %2, align 1, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 7
%5 = load i8, ptr %4, align 1, !tbaa !6
store i8 %5, ptr %2, align 1, !tbaa !6
store i8 %3, ptr %4, align 1, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 2
%7 = load i8, ptr %6, align 1, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 14
%9 = load i8, ptr %8, align 1, !tbaa !6
store i8 %9, ptr %6, align 1, !tbaa !6
store i8 %7, ptr %8, align 1, !tbaa !6
%10 = getelementptr inbounds i8, ptr %0, i64 3
%11 = load i8, ptr %10, align 1, !tbaa !6
%12 = getelementptr inbounds i8, ptr %0, i64 21
%13 = load i8, ptr %12, align 1, !tbaa !6
store i8 %13, ptr %10, align 1, !tbaa !6
store i8 %11, ptr %12, align 1, !tbaa !6
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i8, ptr %14, align 1, !tbaa !6
%16 = getelementptr inbounds i8, ptr %0, i64 28
%17 = load i8, ptr %16, align 1, !tbaa !6
store i8 %17, ptr %14, align 1, !tbaa !6
store i8 %15, ptr %16, align 1, !tbaa !6
%18 = getelementptr inbounds i8, ptr %0, i64 5
%19 = load i8, ptr %18, align 1, !tbaa !6
%20 = getelementptr inbounds i8, ptr %0, i64 35
%21 = load i8, ptr %20, align 1, !tbaa !6
store i8 %21, ptr %18, align 1, !tbaa !6
store i8 %19, ptr %20, align 1, !tbaa !6
%22 = getelementptr inbounds i8, ptr %0, i64 6
%23 = load i8, ptr %22, align 1, !tbaa !6
%24 = getelementptr inbounds i8, ptr %0, i64 42
%25 = load i8, ptr %24, align 1, !tbaa !6
store i8 %25, ptr %22, align 1, !tbaa !6
store i8 %23, ptr %24, align 1, !tbaa !6
%26 = getelementptr inbounds i8, ptr %0, i64 9
%27 = load i8, ptr %26, align 1, !tbaa !6
%28 = getelementptr inbounds i8, ptr %0, i64 15
%29 = load i8, ptr %28, align 1, !tbaa !6
store i8 %29, ptr %26, align 1, !tbaa !6
store i8 %27, ptr %28, align 1, !tbaa !6
%30 = getelementptr inbounds i8, ptr %0, i64 10
%31 = load i8, ptr %30, align 1, !tbaa !6
%32 = getelementptr inbounds i8, ptr %0, i64 22
%33 = load i8, ptr %32, align 1, !tbaa !6
store i8 %33, ptr %30, align 1, !tbaa !6
store i8 %31, ptr %32, align 1, !tbaa !6
%34 = getelementptr inbounds i8, ptr %0, i64 11
%35 = load i8, ptr %34, align 1, !tbaa !6
%36 = getelementptr inbounds i8, ptr %0, i64 29
%37 = load i8, ptr %36, align 1, !tbaa !6
store i8 %37, ptr %34, align 1, !tbaa !6
store i8 %35, ptr %36, align 1, !tbaa !6
%38 = getelementptr inbounds i8, ptr %0, i64 12
%39 = load i8, ptr %38, align 1, !tbaa !6
%40 = getelementptr inbounds i8, ptr %0, i64 36
%41 = load i8, ptr %40, align 1, !tbaa !6
store i8 %41, ptr %38, align 1, !tbaa !6
store i8 %39, ptr %40, align 1, !tbaa !6
%42 = getelementptr inbounds i8, ptr %0, i64 13
%43 = load i8, ptr %42, align 1, !tbaa !6
%44 = getelementptr inbounds i8, ptr %0, i64 43
%45 = load i8, ptr %44, align 1, !tbaa !6
store i8 %45, ptr %42, align 1, !tbaa !6
store i8 %43, ptr %44, align 1, !tbaa !6
%46 = getelementptr inbounds i8, ptr %0, i64 17
%47 = load i8, ptr %46, align 1, !tbaa !6
%48 = getelementptr inbounds i8, ptr %0, i64 23
%49 = load i8, ptr %48, align 1, !tbaa !6
store i8 %49, ptr %46, align 1, !tbaa !6
store i8 %47, ptr %48, align 1, !tbaa !6
%50 = getelementptr inbounds i8, ptr %0, i64 18
%51 = load i8, ptr %50, align 1, !tbaa !6
%52 = getelementptr inbounds i8, ptr %0, i64 30
%53 = load i8, ptr %52, align 1, !tbaa !6
store i8 %53, ptr %50, align 1, !tbaa !6
store i8 %51, ptr %52, align 1, !tbaa !6
%54 = getelementptr inbounds i8, ptr %0, i64 19
%55 = load i8, ptr %54, align 1, !tbaa !6
%56 = getelementptr inbounds i8, ptr %0, i64 37
%57 = load i8, ptr %56, align 1, !tbaa !6
store i8 %57, ptr %54, align 1, !tbaa !6
store i8 %55, ptr %56, align 1, !tbaa !6
%58 = getelementptr inbounds i8, ptr %0, i64 20
%59 = load i8, ptr %58, align 1, !tbaa !6
%60 = getelementptr inbounds i8, ptr %0, i64 44
%61 = load i8, ptr %60, align 1, !tbaa !6
store i8 %61, ptr %58, align 1, !tbaa !6
store i8 %59, ptr %60, align 1, !tbaa !6
%62 = getelementptr inbounds i8, ptr %0, i64 25
%63 = load i8, ptr %62, align 1, !tbaa !6
%64 = getelementptr inbounds i8, ptr %0, i64 31
%65 = load i8, ptr %64, align 1, !tbaa !6
store i8 %65, ptr %62, align 1, !tbaa !6
store i8 %63, ptr %64, align 1, !tbaa !6
%66 = getelementptr inbounds i8, ptr %0, i64 26
%67 = load i8, ptr %66, align 1, !tbaa !6
%68 = getelementptr inbounds i8, ptr %0, i64 38
%69 = load i8, ptr %68, align 1, !tbaa !6
store i8 %69, ptr %66, align 1, !tbaa !6
store i8 %67, ptr %68, align 1, !tbaa !6
%70 = getelementptr inbounds i8, ptr %0, i64 27
%71 = load i8, ptr %70, align 1, !tbaa !6
%72 = getelementptr inbounds i8, ptr %0, i64 45
%73 = load i8, ptr %72, align 1, !tbaa !6
store i8 %73, ptr %70, align 1, !tbaa !6
store i8 %71, ptr %72, align 1, !tbaa !6
%74 = getelementptr inbounds i8, ptr %0, i64 33
%75 = load i8, ptr %74, align 1, !tbaa !6
%76 = getelementptr inbounds i8, ptr %0, i64 39
%77 = load i8, ptr %76, align 1, !tbaa !6
store i8 %77, ptr %74, align 1, !tbaa !6
store i8 %75, ptr %76, align 1, !tbaa !6
%78 = getelementptr inbounds i8, ptr %0, i64 34
%79 = load i8, ptr %78, align 1, !tbaa !6
%80 = getelementptr inbounds i8, ptr %0, i64 46
%81 = load i8, ptr %80, align 1, !tbaa !6
store i8 %81, ptr %78, align 1, !tbaa !6
store i8 %79, ptr %80, align 1, !tbaa !6
%82 = getelementptr inbounds i8, ptr %0, i64 41
%83 = load i8, ptr %82, align 1, !tbaa !6
%84 = getelementptr inbounds i8, ptr %0, i64 47
%85 = load i8, ptr %84, align 1, !tbaa !6
store i8 %85, ptr %82, align 1, !tbaa !6
store i8 %83, ptr %84, align 1, !tbaa !6
%86 = load i8, ptr %22, align 1, !tbaa !6
%87 = load i8, ptr %0, align 1, !tbaa !6
store i8 %87, ptr %22, align 1, !tbaa !6
store i8 %86, ptr %0, align 1, !tbaa !6
%88 = load i8, ptr %18, align 1, !tbaa !6
%89 = load i8, ptr %2, align 1, !tbaa !6
store i8 %89, ptr %18, align 1, !tbaa !6
store i8 %88, ptr %2, align 1, !tbaa !6
%90 = load i8, ptr %14, align 1, !tbaa !6
%91 = load i8, ptr %6, align 1, !tbaa !6
store i8 %91, ptr %14, align 1, !tbaa !6
store i8 %90, ptr %6, align 1, !tbaa !6
%92 = load i8, ptr %42, align 1, !tbaa !6
%93 = load i8, ptr %4, align 1, !tbaa !6
store i8 %93, ptr %42, align 1, !tbaa !6
store i8 %92, ptr %4, align 1, !tbaa !6
%94 = load i8, ptr %38, align 1, !tbaa !6
%95 = getelementptr inbounds i8, ptr %0, i64 8
%96 = load i8, ptr %95, align 1, !tbaa !6
store i8 %96, ptr %38, align 1, !tbaa !6
store i8 %94, ptr %95, align 1, !tbaa !6
%97 = load i8, ptr %34, align 1, !tbaa !6
%98 = load i8, ptr %26, align 1, !tbaa !6
store i8 %98, ptr %34, align 1, !tbaa !6
store i8 %97, ptr %26, align 1, !tbaa !6
%99 = load i8, ptr %58, align 1, !tbaa !6
%100 = load i8, ptr %8, align 1, !tbaa !6
store i8 %100, ptr %58, align 1, !tbaa !6
store i8 %99, ptr %8, align 1, !tbaa !6
%101 = load i8, ptr %54, align 1, !tbaa !6
%102 = load i8, ptr %28, align 1, !tbaa !6
store i8 %102, ptr %54, align 1, !tbaa !6
store i8 %101, ptr %28, align 1, !tbaa !6
%103 = load i8, ptr %50, align 1, !tbaa !6
%104 = getelementptr inbounds i8, ptr %0, i64 16
%105 = load i8, ptr %104, align 1, !tbaa !6
store i8 %105, ptr %50, align 1, !tbaa !6
store i8 %103, ptr %104, align 1, !tbaa !6
%106 = load i8, ptr %70, align 1, !tbaa !6
%107 = load i8, ptr %12, align 1, !tbaa !6
store i8 %107, ptr %70, align 1, !tbaa !6
store i8 %106, ptr %12, align 1, !tbaa !6
%108 = load i8, ptr %66, align 1, !tbaa !6
%109 = load i8, ptr %32, align 1, !tbaa !6
store i8 %109, ptr %66, align 1, !tbaa !6
store i8 %108, ptr %32, align 1, !tbaa !6
%110 = load i8, ptr %62, align 1, !tbaa !6
%111 = load i8, ptr %48, align 1, !tbaa !6
store i8 %111, ptr %62, align 1, !tbaa !6
store i8 %110, ptr %48, align 1, !tbaa !6
%112 = load i8, ptr %78, align 1, !tbaa !6
%113 = load i8, ptr %16, align 1, !tbaa !6
store i8 %113, ptr %78, align 1, !tbaa !6
store i8 %112, ptr %16, align 1, !tbaa !6
%114 = load i8, ptr %74, align 1, !tbaa !6
%115 = load i8, ptr %36, align 1, !tbaa !6
store i8 %115, ptr %74, align 1, !tbaa !6
store i8 %114, ptr %36, align 1, !tbaa !6
%116 = getelementptr inbounds i8, ptr %0, i64 32
%117 = load i8, ptr %116, align 1, !tbaa !6
%118 = load i8, ptr %52, align 1, !tbaa !6
store i8 %118, ptr %116, align 1, !tbaa !6
store i8 %117, ptr %52, align 1, !tbaa !6
%119 = load i8, ptr %82, align 1, !tbaa !6
%120 = load i8, ptr %20, align 1, !tbaa !6
store i8 %120, ptr %82, align 1, !tbaa !6
store i8 %119, ptr %20, align 1, !tbaa !6
%121 = getelementptr inbounds i8, ptr %0, i64 40
%122 = load i8, ptr %121, align 1, !tbaa !6
%123 = load i8, ptr %40, align 1, !tbaa !6
store i8 %123, ptr %121, align 1, !tbaa !6
store i8 %122, ptr %40, align 1, !tbaa !6
%124 = load i8, ptr %76, align 1, !tbaa !6
%125 = load i8, ptr %56, align 1, !tbaa !6
store i8 %125, ptr %76, align 1, !tbaa !6
store i8 %124, ptr %56, align 1, !tbaa !6
%126 = getelementptr inbounds i8, ptr %0, i64 48
%127 = load i8, ptr %126, align 1, !tbaa !6
%128 = load i8, ptr %24, align 1, !tbaa !6
store i8 %128, ptr %126, align 1, !tbaa !6
store i8 %127, ptr %24, align 1, !tbaa !6
%129 = load i8, ptr %84, align 1, !tbaa !6
%130 = load i8, ptr %44, align 1, !tbaa !6
store i8 %130, ptr %84, align 1, !tbaa !6
store i8 %129, ptr %44, align 1, !tbaa !6
%131 = load i8, ptr %80, align 1, !tbaa !6
%132 = load i8, ptr %60, align 1, !tbaa !6
store i8 %132, ptr %80, align 1, !tbaa !6
store i8 %131, ptr %60, align 1, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| qmk_firmware_keyboards_clueboard_66_keymaps_tetris_extr_tetris_text.c_rotate_piece |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_init_sgl_list.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_init_sgl_list.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @lpfc_init_sgl_list], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lpfc_init_sgl_list(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 3
%3 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #3
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @INIT_LIST_HEAD(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)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_init_sgl_list.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/lpfc/extr_lpfc_init.c_lpfc_init_sgl_list.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 @lpfc_init_sgl_list], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lpfc_init_sgl_list(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 20
%3 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %2) #3
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
ret void
}
declare i32 @INIT_LIST_HEAD(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)"}
| fastsocket_kernel_drivers_scsi_lpfc_extr_lpfc_init.c_lpfc_init_sgl_list |
; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_xmalloc.c_xmalloc_failed.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_xmalloc.c_xmalloc_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"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"\0A%s%sout of memory allocating %lu bytes\0A\00", align 1
@name = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@first_break = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @xmalloc_failed(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !5
%3 = load ptr, ptr @name, align 8, !tbaa !9
%4 = load i8, ptr %3, align 1, !tbaa !11
%5 = icmp eq i8 %4, 0
%6 = select i1 %5, ptr @.str.2, ptr @.str.1
%7 = tail call i32 (i32, ptr, ptr, ptr, i64, ...) @fprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %6, i64 noundef %0) #2
%8 = tail call i32 @xexit(i32 noundef 1) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
declare i32 @xexit(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_xmalloc.c_xmalloc_failed.c'
source_filename = "AnghaBench/freebsd/contrib/gcclibs/libiberty/extr_xmalloc.c_xmalloc_failed.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [41 x i8] c"\0A%s%sout of memory allocating %lu bytes\0A\00", align 1
@name = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c": \00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@first_break = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @xmalloc_failed(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @stderr, align 4, !tbaa !6
%3 = load ptr, ptr @name, align 8, !tbaa !10
%4 = load i8, ptr %3, align 1, !tbaa !12
%5 = icmp eq i8 %4, 0
%6 = select i1 %5, ptr @.str.2, ptr @.str.1
%7 = tail call i32 (i32, ptr, ptr, ptr, i64, ...) @fprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %6, i64 noundef %0) #2
%8 = tail call i32 @xexit(i32 noundef 1) #2
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
declare i32 @xexit(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!8, !8, i64 0}
| freebsd_contrib_gcclibs_libiberty_extr_xmalloc.c_xmalloc_failed |
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_memory.c_ttm_shrink.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_memory.c_ttm_shrink.c"
target datalayout = "e-m:e-p270:32:32-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.ttm_mem_global = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ttm_shrink], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ttm_shrink(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mtx_lock(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.ttm_mem_global, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %21, label %8
8: ; preds = %3, %11
%9 = tail call i64 @ttm_zones_above_swap_target(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %21, label %11
11: ; preds = %8
%12 = load ptr, ptr %5, align 8, !tbaa !5
%13 = tail call i32 @mtx_unlock(ptr noundef nonnull %0) #2
%14 = load ptr, ptr %12, align 8, !tbaa !11
%15 = tail call i32 %14(ptr noundef nonnull %12) #2
%16 = tail call i32 @mtx_lock(ptr noundef nonnull %0) #2
%17 = icmp ne i32 %15, 0
%18 = zext i1 %17 to i32
%19 = tail call i64 @unlikely(i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %8, label %21, !llvm.loop !13
21: ; preds = %8, %11, %3
%22 = tail call i32 @mtx_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ttm_zones_above_swap_target(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(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 = !{!"ttm_mem_global", !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 = !{!"ttm_mem_shrink", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_memory.c_ttm_shrink.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/ttm/extr_ttm_memory.c_ttm_shrink.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 @ttm_shrink], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ttm_shrink(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @mtx_lock(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %21, label %8
8: ; preds = %3, %11
%9 = tail call i64 @ttm_zones_above_swap_target(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %21, label %11
11: ; preds = %8
%12 = load ptr, ptr %5, align 8, !tbaa !6
%13 = tail call i32 @mtx_unlock(ptr noundef nonnull %0) #2
%14 = load ptr, ptr %12, align 8, !tbaa !12
%15 = tail call i32 %14(ptr noundef nonnull %12) #2
%16 = tail call i32 @mtx_lock(ptr noundef nonnull %0) #2
%17 = icmp ne i32 %15, 0
%18 = zext i1 %17 to i32
%19 = tail call i64 @unlikely(i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %8, label %21, !llvm.loop !14
21: ; preds = %8, %11, %3
%22 = tail call i32 @mtx_unlock(ptr noundef nonnull %0) #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ttm_zones_above_swap_target(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i64 @unlikely(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 = !{!"ttm_mem_global", !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 = !{!"ttm_mem_shrink", !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_sys_dev_drm2_ttm_extr_ttm_memory.c_ttm_shrink |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_edac_device_sysfs.c_edac_dev_instance_store.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_edac_device_sysfs.c_edac_dev_instance_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @edac_dev_instance_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @edac_dev_instance_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_instance(ptr noundef %0) #2
%6 = tail call ptr @to_instance_attr(ptr noundef %1) #2
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 %7(ptr noundef %5, ptr noundef %2, i64 noundef %3) #2
br label %14
11: ; preds = %4
%12 = load i32, ptr @EIO, align 4, !tbaa !10
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %11, %9
%15 = phi i32 [ %10, %9 ], [ %13, %11 ]
ret i32 %15
}
declare ptr @to_instance(ptr noundef) local_unnamed_addr #1
declare ptr @to_instance_attr(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 = !{!"instance_attribute", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_edac_device_sysfs.c_edac_dev_instance_store.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_edac_device_sysfs.c_edac_dev_instance_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @edac_dev_instance_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @edac_dev_instance_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = tail call ptr @to_instance(ptr noundef %0) #2
%6 = tail call ptr @to_instance_attr(ptr noundef %1) #2
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 %7(ptr noundef %5, ptr noundef %2, i64 noundef %3) #2
br label %14
11: ; preds = %4
%12 = load i32, ptr @EIO, align 4, !tbaa !11
%13 = sub nsw i32 0, %12
br label %14
14: ; preds = %11, %9
%15 = phi i32 [ %10, %9 ], [ %13, %11 ]
ret i32 %15
}
declare ptr @to_instance(ptr noundef) local_unnamed_addr #1
declare ptr @to_instance_attr(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 = !{!"instance_attribute", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_drivers_edac_extr_edac_device_sysfs.c_edac_dev_instance_store |
; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_decl_lv_underscore.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_decl_lv_underscore.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"_=nil\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"create parser state error\0A\00", align 1
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @decl_lv_underscore(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @mrb_parse_string(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !5
%7 = tail call i32 @fputs(ptr noundef nonnull @.str.1, i32 noundef %6) #3
%8 = tail call i32 @mrb_close(ptr noundef %0) #3
%9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5
%10 = tail call i32 @exit(i32 noundef %9) #4
unreachable
11: ; preds = %2
%12 = tail call ptr @mrb_generate_code(ptr noundef %0, ptr noundef nonnull %3) #3
%13 = tail call i32 @mrb_top_self(ptr noundef %0) #3
%14 = tail call i32 @mrb_vm_run(ptr noundef %0, ptr noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = tail call i32 @mrb_parser_free(ptr noundef nonnull %3) #3
ret void
}
declare ptr @mrb_parse_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mrb_close(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare ptr @mrb_generate_code(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mrb_vm_run(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mrb_top_self(ptr noundef) local_unnamed_addr #1
declare i32 @mrb_parser_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_decl_lv_underscore.c'
source_filename = "AnghaBench/mruby/mrbgems/mruby-bin-mirb/tools/mirb/extr_mirb.c_decl_lv_underscore.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [6 x i8] c"_=nil\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"create parser state error\0A\00", align 1
@stderr = common local_unnamed_addr global i32 0, align 4
@EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @decl_lv_underscore(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @mrb_parse_string(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef %1) #3
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %11
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !6
%7 = tail call i32 @fputs(ptr noundef nonnull @.str.1, i32 noundef %6) #3
%8 = tail call i32 @mrb_close(ptr noundef %0) #3
%9 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6
%10 = tail call i32 @exit(i32 noundef %9) #4
unreachable
11: ; preds = %2
%12 = tail call ptr @mrb_generate_code(ptr noundef %0, ptr noundef nonnull %3) #3
%13 = tail call i32 @mrb_top_self(ptr noundef %0) #3
%14 = tail call i32 @mrb_vm_run(ptr noundef %0, ptr noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = tail call i32 @mrb_parser_free(ptr noundef nonnull %3) #3
ret void
}
declare ptr @mrb_parse_string(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mrb_close(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare ptr @mrb_generate_code(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mrb_vm_run(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mrb_top_self(ptr noundef) local_unnamed_addr #1
declare i32 @mrb_parser_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| mruby_mrbgems_mruby-bin-mirb_tools_mirb_extr_mirb.c_decl_lv_underscore |
; ModuleID = 'AnghaBench/goaccess/src/extr_options.c_add_dash_filename.c'
source_filename = "AnghaBench/goaccess/src/extr_options.c_add_dash_filename.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i32 }
@conf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@MAX_FILENAMES = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @add_dash_filename() local_unnamed_addr #0 {
%1 = load i32, ptr @conf, align 8, !tbaa !5
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %19
3: ; preds = %0
%4 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 1), align 8, !tbaa !11
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %3, %16
%7 = phi i64 [ 0, %3 ], [ %17, %16 ]
%8 = getelementptr inbounds ptr, ptr %4, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i8, ptr %9, align 1, !tbaa !13
%11 = icmp eq i8 %10, 45
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = getelementptr inbounds i8, ptr %9, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !13
%15 = icmp eq i8 %14, 0
br i1 %15, label %30, label %16
16: ; preds = %6, %12
%17 = add nuw nsw i64 %7, 1
%18 = icmp eq i64 %17, %5
br i1 %18, label %19, label %6, !llvm.loop !14
19: ; preds = %16, %0
%20 = load i32, ptr @MAX_FILENAMES, align 4, !tbaa !16
%21 = icmp sge i32 %1, %20
%22 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 2), align 8
%23 = icmp ne i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %30, label %25
25: ; preds = %19
store i32 1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 2), align 8, !tbaa !17
%26 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @conf, i64 0, i32 1), align 8, !tbaa !11
%27 = add nsw i32 %1, 1
store i32 %27, ptr @conf, align 8, !tbaa !5
%28 = sext i32 %1 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr @.str, ptr %29, align 8, !tbaa !12
br label %30
30: ; preds = %12, %19, %25
ret void
}
attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8, !7, 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 = !{!10, !10, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_options.c_add_dash_filename.c'
source_filename = "AnghaBench/goaccess/src/extr_options.c_add_dash_filename.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, ptr, i32 }
@conf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@MAX_FILENAMES = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define void @add_dash_filename() local_unnamed_addr #0 {
%1 = load i32, ptr @conf, align 8, !tbaa !6
%2 = icmp sgt i32 %1, 0
br i1 %2, label %3, label %19
3: ; preds = %0
%4 = load ptr, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !12
%5 = zext nneg i32 %1 to i64
br label %6
6: ; preds = %3, %16
%7 = phi i64 [ 0, %3 ], [ %17, %16 ]
%8 = getelementptr inbounds ptr, ptr %4, i64 %7
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i8, ptr %9, align 1, !tbaa !14
%11 = icmp eq i8 %10, 45
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = getelementptr inbounds i8, ptr %9, i64 1
%14 = load i8, ptr %13, align 1, !tbaa !14
%15 = icmp eq i8 %14, 0
br i1 %15, label %30, label %16
16: ; preds = %6, %12
%17 = add nuw nsw i64 %7, 1
%18 = icmp eq i64 %17, %5
br i1 %18, label %19, label %6, !llvm.loop !15
19: ; preds = %16, %0
%20 = load i32, ptr @MAX_FILENAMES, align 4, !tbaa !17
%21 = icmp sge i32 %1, %20
%22 = load i32, ptr getelementptr inbounds (i8, ptr @conf, i64 16), align 8
%23 = icmp ne i32 %22, 0
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %30, label %25
25: ; preds = %19
store i32 1, ptr getelementptr inbounds (i8, ptr @conf, i64 16), align 8, !tbaa !18
%26 = load ptr, ptr getelementptr inbounds (i8, ptr @conf, i64 8), align 8, !tbaa !12
%27 = add nsw i32 %1, 1
store i32 %27, ptr @conf, align 8, !tbaa !6
%28 = sext i32 %1 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr @.str, ptr %29, align 8, !tbaa !13
br label %30
30: ; preds = %12, %19, %25
ret void
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8, !8, 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 = !{!11, !11, i64 0}
!14 = !{!9, !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !8, i64 16}
| goaccess_src_extr_options.c_add_dash_filename |
; ModuleID = 'AnghaBench/tmux/extr_format-draw.c_format_draw_centre.c'
source_filename = "AnghaBench/tmux/extr_format-draw.c_format_draw_centre.c"
target datalayout = "e-m:e-p270:32:32-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.screen_write_ctx = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @format_draw_centre], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @format_draw_centre(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13) #0 {
%15 = alloca %struct.screen_write_ctx, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
%16 = load i64, ptr %4, align 8, !tbaa !5
%17 = load i64, ptr %5, align 8, !tbaa !5
%18 = load i64, ptr %6, align 8, !tbaa !5
%19 = load i64, ptr %7, align 8, !tbaa !5
%20 = load i64, ptr %10, align 8, !tbaa !5
%21 = add nsw i64 %17, %16
%22 = add nsw i64 %21, %18
%23 = add nsw i64 %22, %19
%24 = add nsw i64 %23, %20
%25 = icmp sgt i64 %24, %1
br i1 %25, label %26, label %60
26: ; preds = %14, %49
%27 = phi i64 [ %54, %49 ], [ %20, %14 ]
%28 = phi i64 [ %53, %49 ], [ %19, %14 ]
%29 = phi i64 [ %52, %49 ], [ %18, %14 ]
%30 = phi i64 [ %51, %49 ], [ %17, %14 ]
%31 = phi i64 [ %50, %49 ], [ %16, %14 ]
%32 = icmp sgt i64 %28, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = add nsw i64 %28, -1
br label %49
35: ; preds = %26
%36 = icmp sgt i64 %27, 0
br i1 %36, label %37, label %39
37: ; preds = %35
%38 = add nsw i64 %27, -1
br label %49
39: ; preds = %35
%40 = icmp sgt i64 %30, 0
br i1 %40, label %41, label %43
41: ; preds = %39
%42 = add nsw i64 %30, -1
br label %49
43: ; preds = %39
%44 = icmp sgt i64 %29, 0
br i1 %44, label %45, label %47
45: ; preds = %43
%46 = add nsw i64 %29, -1
br label %49
47: ; preds = %43
%48 = add nsw i64 %31, -1
br label %49
49: ; preds = %37, %45, %47, %41, %33
%50 = phi i64 [ %31, %33 ], [ %31, %37 ], [ %31, %41 ], [ %31, %45 ], [ %48, %47 ]
%51 = phi i64 [ %30, %33 ], [ %30, %37 ], [ %42, %41 ], [ %30, %45 ], [ %30, %47 ]
%52 = phi i64 [ %29, %33 ], [ %29, %37 ], [ %29, %41 ], [ %46, %45 ], [ %29, %47 ]
%53 = phi i64 [ %34, %33 ], [ %28, %37 ], [ %28, %41 ], [ %28, %45 ], [ %28, %47 ]
%54 = phi i64 [ %27, %33 ], [ %38, %37 ], [ %27, %41 ], [ %27, %45 ], [ %27, %47 ]
%55 = add nsw i64 %51, %50
%56 = add nsw i64 %55, %52
%57 = add nsw i64 %56, %53
%58 = add nsw i64 %57, %54
%59 = icmp sgt i64 %58, %1
br i1 %59, label %26, label %60, !llvm.loop !10
60: ; preds = %49, %14
%61 = phi i64 [ %16, %14 ], [ %50, %49 ]
%62 = phi i64 [ %17, %14 ], [ %51, %49 ]
%63 = phi i64 [ %18, %14 ], [ %52, %49 ]
%64 = phi i64 [ %19, %14 ], [ %53, %49 ]
%65 = phi i64 [ %20, %14 ], [ %54, %49 ]
%66 = icmp eq i64 %64, 0
br i1 %66, label %67, label %72
67: ; preds = %60
%68 = call i32 @screen_write_start(ptr noundef nonnull %15, ptr noundef null, ptr noundef nonnull %5) #3
%69 = call i32 @screen_write_fast_copy(ptr noundef nonnull %15, ptr noundef nonnull %10, i32 noundef 0, i32 noundef 0, i64 noundef %65, i32 noundef 1) #3
%70 = call i32 @screen_write_stop(ptr noundef nonnull %15) #3
%71 = call i32 @format_draw_none(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %13) #3
br label %98
72: ; preds = %60
%73 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %4, ptr noundef %13, i64 noundef 0, i64 noundef 0, i64 noundef %61) #3
%74 = sub nsw i64 %1, %63
%75 = load i64, ptr %6, align 8, !tbaa !5
%76 = sub nsw i64 %75, %63
%77 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %6, ptr noundef %13, i64 noundef %74, i64 noundef %76, i64 noundef %63) #3
%78 = sub nsw i64 %74, %61
%79 = sdiv i64 %78, 2
%80 = sdiv i64 %64, -2
%81 = add i64 %80, %61
%82 = add i64 %81, %79
%83 = sub nsw i64 %82, %62
%84 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %5, ptr noundef %13, i64 noundef %83, i64 noundef 0, i64 noundef %62) #3
%85 = add nsw i64 %82, %64
%86 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %10, ptr noundef %13, i64 noundef %85, i64 noundef 0, i64 noundef %65) #3
%87 = icmp eq i32 %11, -1
%88 = icmp eq i32 %12, -1
%89 = or i1 %87, %88
br i1 %89, label %90, label %94
90: ; preds = %72
%91 = load i64, ptr %7, align 8, !tbaa !5
%92 = sdiv i64 %91, 2
%93 = trunc i64 %92 to i32
br label %94
94: ; preds = %72, %90
%95 = phi i32 [ %93, %90 ], [ %12, %72 ]
%96 = phi i32 [ %93, %90 ], [ %11, %72 ]
%97 = tail call i32 @format_draw_put_list(ptr noundef %0, i64 noundef %2, i64 noundef %3, i64 noundef %82, i64 noundef %64, ptr noundef nonnull %7, ptr noundef %8, ptr noundef %9, i32 noundef %96, i32 noundef %95, ptr noundef %13) #3
br label %98
98: ; preds = %94, %67
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #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 @screen_write_start(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @screen_write_fast_copy(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @screen_write_stop(ptr noundef) local_unnamed_addr #2
declare i32 @format_draw_none(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @format_draw_put(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @format_draw_put_list(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr 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, !7, i64 0}
!6 = !{!"screen", !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"}
| ; ModuleID = 'AnghaBench/tmux/extr_format-draw.c_format_draw_centre.c'
source_filename = "AnghaBench/tmux/extr_format-draw.c_format_draw_centre.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.screen_write_ctx = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @format_draw_centre], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @format_draw_centre(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13) #0 {
%15 = alloca %struct.screen_write_ctx, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
%16 = load i64, ptr %4, align 8, !tbaa !6
%17 = load i64, ptr %5, align 8, !tbaa !6
%18 = load i64, ptr %6, align 8, !tbaa !6
%19 = load i64, ptr %7, align 8, !tbaa !6
%20 = load i64, ptr %10, align 8, !tbaa !6
%21 = add nsw i64 %17, %16
%22 = add nsw i64 %21, %18
%23 = add nsw i64 %22, %19
%24 = add nsw i64 %23, %20
%25 = icmp sgt i64 %24, %1
br i1 %25, label %26, label %60
26: ; preds = %14, %49
%27 = phi i64 [ %54, %49 ], [ %20, %14 ]
%28 = phi i64 [ %53, %49 ], [ %19, %14 ]
%29 = phi i64 [ %52, %49 ], [ %18, %14 ]
%30 = phi i64 [ %51, %49 ], [ %17, %14 ]
%31 = phi i64 [ %50, %49 ], [ %16, %14 ]
%32 = icmp sgt i64 %28, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = add nsw i64 %28, -1
br label %49
35: ; preds = %26
%36 = icmp sgt i64 %27, 0
br i1 %36, label %37, label %39
37: ; preds = %35
%38 = add nsw i64 %27, -1
br label %49
39: ; preds = %35
%40 = icmp sgt i64 %30, 0
br i1 %40, label %41, label %43
41: ; preds = %39
%42 = add nsw i64 %30, -1
br label %49
43: ; preds = %39
%44 = icmp sgt i64 %29, 0
br i1 %44, label %45, label %47
45: ; preds = %43
%46 = add nsw i64 %29, -1
br label %49
47: ; preds = %43
%48 = add nsw i64 %31, -1
br label %49
49: ; preds = %37, %45, %47, %41, %33
%50 = phi i64 [ %31, %33 ], [ %31, %37 ], [ %31, %41 ], [ %31, %45 ], [ %48, %47 ]
%51 = phi i64 [ %30, %33 ], [ %30, %37 ], [ %42, %41 ], [ %30, %45 ], [ %30, %47 ]
%52 = phi i64 [ %29, %33 ], [ %29, %37 ], [ %29, %41 ], [ %46, %45 ], [ %29, %47 ]
%53 = phi i64 [ %34, %33 ], [ %28, %37 ], [ %28, %41 ], [ %28, %45 ], [ %28, %47 ]
%54 = phi i64 [ %27, %33 ], [ %38, %37 ], [ %27, %41 ], [ %27, %45 ], [ %27, %47 ]
%55 = add nsw i64 %51, %50
%56 = add nsw i64 %55, %52
%57 = add nsw i64 %56, %53
%58 = add nsw i64 %57, %54
%59 = icmp sgt i64 %58, %1
br i1 %59, label %26, label %60, !llvm.loop !11
60: ; preds = %49, %14
%61 = phi i64 [ %16, %14 ], [ %50, %49 ]
%62 = phi i64 [ %17, %14 ], [ %51, %49 ]
%63 = phi i64 [ %18, %14 ], [ %52, %49 ]
%64 = phi i64 [ %19, %14 ], [ %53, %49 ]
%65 = phi i64 [ %20, %14 ], [ %54, %49 ]
%66 = icmp eq i64 %64, 0
br i1 %66, label %67, label %72
67: ; preds = %60
%68 = call i32 @screen_write_start(ptr noundef nonnull %15, ptr noundef null, ptr noundef nonnull %5) #3
%69 = call i32 @screen_write_fast_copy(ptr noundef nonnull %15, ptr noundef nonnull %10, i32 noundef 0, i32 noundef 0, i64 noundef %65, i32 noundef 1) #3
%70 = call i32 @screen_write_stop(ptr noundef nonnull %15) #3
%71 = call i32 @format_draw_none(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %13) #3
br label %98
72: ; preds = %60
%73 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %4, ptr noundef %13, i64 noundef 0, i64 noundef 0, i64 noundef %61) #3
%74 = sub nsw i64 %1, %63
%75 = load i64, ptr %6, align 8, !tbaa !6
%76 = sub nsw i64 %75, %63
%77 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %6, ptr noundef %13, i64 noundef %74, i64 noundef %76, i64 noundef %63) #3
%78 = sub nsw i64 %74, %61
%79 = sdiv i64 %78, 2
%80 = sdiv i64 %64, -2
%81 = add i64 %80, %61
%82 = add i64 %81, %79
%83 = sub nsw i64 %82, %62
%84 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %5, ptr noundef %13, i64 noundef %83, i64 noundef 0, i64 noundef %62) #3
%85 = add nsw i64 %82, %64
%86 = tail call i32 @format_draw_put(ptr noundef %0, i64 noundef %2, i64 noundef %3, ptr noundef nonnull %10, ptr noundef %13, i64 noundef %85, i64 noundef 0, i64 noundef %65) #3
%87 = icmp eq i32 %11, -1
%88 = icmp eq i32 %12, -1
%89 = or i1 %87, %88
br i1 %89, label %90, label %94
90: ; preds = %72
%91 = load i64, ptr %7, align 8, !tbaa !6
%92 = sdiv i64 %91, 2
%93 = trunc i64 %92 to i32
br label %94
94: ; preds = %72, %90
%95 = phi i32 [ %93, %90 ], [ %12, %72 ]
%96 = phi i32 [ %93, %90 ], [ %11, %72 ]
%97 = tail call i32 @format_draw_put_list(ptr noundef %0, i64 noundef %2, i64 noundef %3, i64 noundef %82, i64 noundef %64, ptr noundef nonnull %7, ptr noundef %8, ptr noundef %9, i32 noundef %96, i32 noundef %95, ptr noundef %13) #3
br label %98
98: ; preds = %94, %67
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #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 @screen_write_start(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @screen_write_fast_copy(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @screen_write_stop(ptr noundef) local_unnamed_addr #2
declare i32 @format_draw_none(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @format_draw_put(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @format_draw_put_list(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr 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, !8, i64 0}
!7 = !{!"screen", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| tmux_extr_format-draw.c_format_draw_centre |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_kv_dpm.c_kv_convert_2bit_index_to_voltage.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_kv_dpm.c_kv_convert_2bit_index_to_voltage.c"
target datalayout = "e-m:e-p270:32:32-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 @kv_convert_2bit_index_to_voltage], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @kv_convert_2bit_index_to_voltage(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call ptr @kv_get_pi(ptr noundef %0) #2
%4 = tail call i64 @kv_convert_vid2_to_vid7(ptr noundef %0, ptr noundef %3, i64 noundef %1) #2
%5 = trunc i64 %4 to i32
%6 = tail call i32 @kv_convert_8bit_index_to_voltage(ptr noundef %0, i32 noundef %5) #2
ret i32 %6
}
declare ptr @kv_get_pi(ptr noundef) local_unnamed_addr #1
declare i64 @kv_convert_vid2_to_vid7(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @kv_convert_8bit_index_to_voltage(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_kv_dpm.c_kv_convert_2bit_index_to_voltage.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_kv_dpm.c_kv_convert_2bit_index_to_voltage.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 @kv_convert_2bit_index_to_voltage], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @kv_convert_2bit_index_to_voltage(ptr noundef %0, i64 noundef %1) #0 {
%3 = tail call ptr @kv_get_pi(ptr noundef %0) #2
%4 = tail call i64 @kv_convert_vid2_to_vid7(ptr noundef %0, ptr noundef %3, i64 noundef %1) #2
%5 = trunc i64 %4 to i32
%6 = tail call i32 @kv_convert_8bit_index_to_voltage(ptr noundef %0, i32 noundef %5) #2
ret i32 %6
}
declare ptr @kv_get_pi(ptr noundef) local_unnamed_addr #1
declare i64 @kv_convert_vid2_to_vid7(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @kv_convert_8bit_index_to_voltage(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_amd_amdgpu_extr_kv_dpm.c_kv_convert_2bit_index_to_voltage |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi.c_scsi_cmd_get_serial.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi.c_scsi_cmd_get_serial.c"
target datalayout = "e-m:e-p270:32:32-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 @scsi_cmd_get_serial], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @scsi_cmd_get_serial(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = add nsw i32 %3, 1
store i32 %4, ptr %0, align 4, !tbaa !5
%5 = sext i32 %3 to i64
store i64 %5, ptr %1, align 8, !tbaa !10
%6 = icmp eq i32 %3, 0
br i1 %6, label %7, label %9
7: ; preds = %2
store i32 2, ptr %0, align 4, !tbaa !5
%8 = zext nneg i32 %4 to i64
store i64 %8, ptr %1, align 8, !tbaa !10
br label %9
9: ; preds = %7, %2
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"Scsi_Host", !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 = !{!"scsi_cmnd", !12, i64 0}
!12 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi.c_scsi_cmd_get_serial.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi.c_scsi_cmd_get_serial.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 @scsi_cmd_get_serial], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @scsi_cmd_get_serial(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = add nsw i32 %3, 1
store i32 %4, ptr %0, align 4, !tbaa !6
%5 = sext i32 %3 to i64
store i64 %5, ptr %1, align 8, !tbaa !11
%6 = icmp eq i32 %3, 0
br i1 %6, label %7, label %9
7: ; preds = %2
store i32 2, ptr %0, align 4, !tbaa !6
%8 = zext nneg i32 %4 to i64
store i64 %8, ptr %1, align 8, !tbaa !11
br label %9
9: ; preds = %7, %2
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"Scsi_Host", !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 = !{!"scsi_cmnd", !13, i64 0}
!13 = !{!"long", !9, i64 0}
| fastsocket_kernel_drivers_scsi_extr_scsi.c_scsi_cmd_get_serial |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/queues/extr_task_queue.c_task_queue_push.c'
source_filename = "AnghaBench/RetroArch/libretro-common/queues/extr_task_queue.c_task_queue_push.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.TYPE_6__ = type { i64, ptr }
@TASK_TYPE_BLOCKING = dso_local local_unnamed_addr global i64 0, align 8
@queue_lock = dso_local local_unnamed_addr global i32 0, align 4
@tasks_running = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@impl_current = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @task_queue_push(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @TASK_TYPE_BLOCKING, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %26
5: ; preds = %1
%6 = load i32, ptr @queue_lock, align 4, !tbaa !12
%7 = tail call i32 @SLOCK_LOCK(i32 noundef %6) #2
%8 = load ptr, ptr @tasks_running, align 8, !tbaa !14
%9 = icmp eq ptr %8, null
br i1 %9, label %16, label %10
10: ; preds = %5
%11 = load i64, ptr @TASK_TYPE_BLOCKING, align 8, !tbaa !11
br label %19
12: ; preds = %19
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %20, i64 0, i32 1
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19, !llvm.loop !15
16: ; preds = %12, %5
%17 = load i32, ptr @queue_lock, align 4, !tbaa !12
%18 = tail call i32 @SLOCK_UNLOCK(i32 noundef %17) #2
br label %26
19: ; preds = %10, %12
%20 = phi ptr [ %8, %10 ], [ %14, %12 ]
%21 = load i64, ptr %20, align 8, !tbaa !5
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %12
23: ; preds = %19
%24 = load i32, ptr @queue_lock, align 4, !tbaa !12
%25 = tail call i32 @SLOCK_UNLOCK(i32 noundef %24) #2
br label %30
26: ; preds = %16, %1
%27 = load ptr, ptr @impl_current, align 8, !tbaa !14
%28 = load ptr, ptr %27, align 8, !tbaa !17
%29 = tail call i32 %28(ptr noundef nonnull %0) #2
br label %30
30: ; preds = %23, %26
%31 = phi i32 [ 0, %23 ], [ 1, %26 ]
ret i32 %31
}
declare i32 @SLOCK_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @SLOCK_UNLOCK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_8__", !10, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/libretro-common/queues/extr_task_queue.c_task_queue_push.c'
source_filename = "AnghaBench/RetroArch/libretro-common/queues/extr_task_queue.c_task_queue_push.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 }
@TASK_TYPE_BLOCKING = common local_unnamed_addr global i64 0, align 8
@queue_lock = common local_unnamed_addr global i32 0, align 4
@tasks_running = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@impl_current = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @task_queue_push(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @TASK_TYPE_BLOCKING, align 8, !tbaa !12
%4 = icmp eq i64 %2, %3
br i1 %4, label %5, label %26
5: ; preds = %1
%6 = load i32, ptr @queue_lock, align 4, !tbaa !13
%7 = tail call i32 @SLOCK_LOCK(i32 noundef %6) #2
%8 = load ptr, ptr @tasks_running, align 8, !tbaa !15
%9 = icmp eq ptr %8, null
br i1 %9, label %16, label %10
10: ; preds = %5
%11 = load i64, ptr @TASK_TYPE_BLOCKING, align 8, !tbaa !12
br label %19
12: ; preds = %19
%13 = getelementptr inbounds i8, ptr %20, i64 8
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19, !llvm.loop !16
16: ; preds = %12, %5
%17 = load i32, ptr @queue_lock, align 4, !tbaa !13
%18 = tail call i32 @SLOCK_UNLOCK(i32 noundef %17) #2
br label %26
19: ; preds = %10, %12
%20 = phi ptr [ %8, %10 ], [ %14, %12 ]
%21 = load i64, ptr %20, align 8, !tbaa !6
%22 = icmp eq i64 %21, %11
br i1 %22, label %23, label %12
23: ; preds = %19
%24 = load i32, ptr @queue_lock, align 4, !tbaa !13
%25 = tail call i32 @SLOCK_UNLOCK(i32 noundef %24) #2
br label %30
26: ; preds = %16, %1
%27 = load ptr, ptr @impl_current, align 8, !tbaa !15
%28 = load ptr, ptr %27, align 8, !tbaa !18
%29 = tail call i32 %28(ptr noundef nonnull %0) #2
br label %30
30: ; preds = %23, %26
%31 = phi i32 [ 0, %23 ], [ 1, %26 ]
ret i32 %31
}
declare i32 @SLOCK_LOCK(i32 noundef) local_unnamed_addr #1
declare i32 @SLOCK_UNLOCK(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_8__", !11, i64 0}
| RetroArch_libretro-common_queues_extr_task_queue.c_task_queue_push |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_gameinfo.c_UI_GetNumArenas.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_gameinfo.c_UI_GetNumArenas.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ui_numArenas = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define dso_local i32 @UI_GetNumArenas() local_unnamed_addr #0 {
%1 = load i32, ptr @ui_numArenas, align 4, !tbaa !5
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_gameinfo.c_UI_GetNumArenas.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_gameinfo.c_UI_GetNumArenas.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ui_numArenas = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define i32 @UI_GetNumArenas() local_unnamed_addr #0 {
%1 = load i32, ptr @ui_numArenas, align 4, !tbaa !6
ret i32 %1
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Quake-III-Arena_code_q3_ui_extr_ui_gameinfo.c_UI_GetNumArenas |
; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_txtrange.c_find_prev_space.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_txtrange.c_find_prev_space.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32 }
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_prev_space], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @find_prev_space(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_6__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = call i32 @init_rangepoint(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6) #3
%8 = call i64 @move_prev_char(ptr noundef nonnull %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %29, label %10
10: ; preds = %2
%11 = icmp eq i64 %1, 0
br i1 %11, label %15, label %12
12: ; preds = %10
%13 = call i64 @isspaceW(i64 noundef %8) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %29
15: ; preds = %12, %10
%16 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1
br label %17
17: ; preds = %24, %15
%18 = call i32 @free_rangepoint(ptr noundef nonnull %0) #3
%19 = load i32, ptr %16, align 4, !tbaa !5
%20 = load i32, ptr %3, align 4, !tbaa !10
%21 = call i32 @init_rangepoint(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20) #3
%22 = call i64 @move_prev_char(ptr noundef nonnull %3) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %17
%25 = call i64 @isspaceW(i64 noundef %22) #3
%26 = icmp eq i64 %25, 0
br i1 %26, label %17, label %27, !llvm.loop !11
27: ; preds = %17, %24
%28 = call i32 @free_rangepoint(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %2, %12, %27
%30 = phi ptr [ @TRUE, %27 ], [ @FALSE, %12 ], [ @FALSE, %2 ]
%31 = load i32, ptr %30, align 4, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @init_rangepoint(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @move_prev_char(ptr noundef) local_unnamed_addr #2
declare i64 @isspaceW(i64 noundef) local_unnamed_addr #2
declare i32 @free_rangepoint(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/mshtml/extr_txtrange.c_find_prev_space.c'
source_filename = "AnghaBench/reactos/dll/win32/mshtml/extr_txtrange.c_find_prev_space.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i32, i32 }
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @find_prev_space], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @find_prev_space(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_6__, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = call i32 @init_rangepoint(ptr noundef nonnull %3, i32 noundef %5, i32 noundef %6) #3
%8 = call i64 @move_prev_char(ptr noundef nonnull %3) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %29, label %10
10: ; preds = %2
%11 = icmp eq i64 %1, 0
br i1 %11, label %15, label %12
12: ; preds = %10
%13 = call i64 @isspaceW(i64 noundef %8) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %29
15: ; preds = %12, %10
%16 = getelementptr inbounds i8, ptr %3, i64 4
br label %17
17: ; preds = %24, %15
%18 = call i32 @free_rangepoint(ptr noundef nonnull %0) #3
%19 = load i32, ptr %16, align 4, !tbaa !6
%20 = load i32, ptr %3, align 4, !tbaa !11
%21 = call i32 @init_rangepoint(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %20) #3
%22 = call i64 @move_prev_char(ptr noundef nonnull %3) #3
%23 = icmp eq i64 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %17
%25 = call i64 @isspaceW(i64 noundef %22) #3
%26 = icmp eq i64 %25, 0
br i1 %26, label %17, label %27, !llvm.loop !12
27: ; preds = %17, %24
%28 = call i32 @free_rangepoint(ptr noundef nonnull %3) #3
br label %29
29: ; preds = %2, %12, %27
%30 = phi ptr [ @TRUE, %27 ], [ @FALSE, %12 ], [ @FALSE, %2 ]
%31 = load i32, ptr %30, align 4, !tbaa !14
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @init_rangepoint(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @move_prev_char(ptr noundef) local_unnamed_addr #2
declare i64 @isspaceW(i64 noundef) local_unnamed_addr #2
declare i32 @free_rangepoint(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!8, !8, i64 0}
| reactos_dll_win32_mshtml_extr_txtrange.c_find_prev_space |
; ModuleID = 'AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_init_by_array.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_init_by_array.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DSFMT_MEXP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dsfmt_init_by_array], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @dsfmt_init_by_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @DSFMT_MEXP, align 4, !tbaa !5
%5 = tail call i32 @dsfmt_chk_init_by_array(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4) #2
ret void
}
declare i32 @dsfmt_chk_init_by_array(ptr noundef, ptr noundef, 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/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_init_by_array.c'
source_filename = "AnghaBench/ccv/lib/3rdparty/dsfmt/extr_dSFMT.h_dsfmt_init_by_array.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DSFMT_MEXP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dsfmt_init_by_array], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @dsfmt_init_by_array(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @DSFMT_MEXP, align 4, !tbaa !6
%5 = tail call i32 @dsfmt_chk_init_by_array(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %4) #2
ret void
}
declare i32 @dsfmt_chk_init_by_array(ptr noundef, ptr noundef, 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"}
| ccv_lib_3rdparty_dsfmt_extr_dSFMT.h_dsfmt_init_by_array |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_pci-cxl.c_pnv_phb_to_cxl_mode.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_pci-cxl.c_pnv_phb_to_cxl_mode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.pci_dev = type { i32, i32 }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Switching PHB to CXL\0A\00", align 1
@OPAL_UNSUPPORTED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"Required cxl mode not supported by firmware - update skiboot\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"opal_pci_set_phb_cxl_mode failed: %i\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @pnv_phb_to_cxl_mode(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @pci_bus_to_host(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = tail call ptr @pnv_ioda_get_pe(ptr noundef %0) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENODEV, align 4, !tbaa !13
%11 = sub nsw i32 0, %10
br label %25
12: ; preds = %2
%13 = tail call i32 @pe_info(ptr noundef nonnull %7, ptr noundef nonnull @.str) #2
%14 = load i32, ptr %6, align 4, !tbaa !14
%15 = load i32, ptr %7, align 4, !tbaa !16
%16 = tail call i32 @opal_pci_set_phb_cxl_mode(i32 noundef %14, i32 noundef %1, i32 noundef %15) #2
%17 = load i32, ptr @OPAL_UNSUPPORTED, align 4, !tbaa !13
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %12
%20 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %25
21: ; preds = %12
%22 = icmp eq i32 %16, 0
br i1 %22, label %25, label %23
23: ; preds = %21
%24 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %16) #2
br label %25
25: ; preds = %19, %23, %21, %9
%26 = phi i32 [ %11, %9 ], [ 0, %21 ], [ %16, %23 ], [ %16, %19 ]
ret i32 %26
}
declare ptr @pci_bus_to_host(i32 noundef) local_unnamed_addr #1
declare ptr @pnv_ioda_get_pe(ptr noundef) local_unnamed_addr #1
declare i32 @pe_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @opal_pci_set_phb_cxl_mode(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 4}
!6 = !{!"pci_dev", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"pci_controller", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"pnv_phb", !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"pnv_ioda_pe", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_pci-cxl.c_pnv_phb_to_cxl_mode.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_pci-cxl.c_pnv_phb_to_cxl_mode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Switching PHB to CXL\0A\00", align 1
@OPAL_UNSUPPORTED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [62 x i8] c"Required cxl mode not supported by firmware - update skiboot\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"opal_pci_set_phb_cxl_mode failed: %i\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @pnv_phb_to_cxl_mode(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @pci_bus_to_host(i32 noundef %4) #2
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = tail call ptr @pnv_ioda_get_pe(ptr noundef %0) #2
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @ENODEV, align 4, !tbaa !14
%11 = sub nsw i32 0, %10
br label %25
12: ; preds = %2
%13 = tail call i32 @pe_info(ptr noundef nonnull %7, ptr noundef nonnull @.str) #2
%14 = load i32, ptr %6, align 4, !tbaa !15
%15 = load i32, ptr %7, align 4, !tbaa !17
%16 = tail call i32 @opal_pci_set_phb_cxl_mode(i32 noundef %14, i32 noundef %1, i32 noundef %15) #2
%17 = load i32, ptr @OPAL_UNSUPPORTED, align 4, !tbaa !14
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %12
%20 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %25
21: ; preds = %12
%22 = icmp eq i32 %16, 0
br i1 %22, label %25, label %23
23: ; preds = %21
%24 = tail call i32 (ptr, ptr, ...) @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %16) #2
br label %25
25: ; preds = %19, %23, %21, %9
%26 = phi i32 [ %11, %9 ], [ 0, %21 ], [ %16, %23 ], [ %16, %19 ]
ret i32 %26
}
declare ptr @pci_bus_to_host(i32 noundef) local_unnamed_addr #1
declare ptr @pnv_ioda_get_pe(ptr noundef) local_unnamed_addr #1
declare i32 @pe_info(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @opal_pci_set_phb_cxl_mode(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(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 4}
!7 = !{!"pci_dev", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"pci_controller", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"pnv_phb", !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"pnv_ioda_pe", !8, i64 0}
| linux_arch_powerpc_platforms_powernv_extr_pci-cxl.c_pnv_phb_to_cxl_mode |
; ModuleID = 'AnghaBench/freebsd/sys/tests/epoch/extr_epoch_test.c_testloop.c'
source_filename = "AnghaBench/freebsd/sys/tests/epoch/extr_epoch_test.c_testloop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@state_mtx = dso_local global i32 0, align 4
@state_flags = dso_local local_unnamed_addr global i32 0, align 4
@ET_EXITING = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"epoch start wait\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"W\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @testloop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @testloop(ptr noundef %0) #0 {
%2 = tail call i32 @mtx_lock(ptr noundef nonnull @state_mtx) #2
%3 = load i32, ptr @state_flags, align 4, !tbaa !5
%4 = load i32, ptr @ET_EXITING, align 4, !tbaa !5
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %1, %13
%8 = tail call i32 @msleep(ptr noundef nonnull @state_mtx, ptr noundef nonnull @state_mtx, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef 0) #2
%9 = load i32, ptr @state_flags, align 4, !tbaa !5
%10 = load i32, ptr @ET_EXITING, align 4, !tbaa !5
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %7
%14 = tail call i32 @mtx_unlock(ptr noundef nonnull @state_mtx) #2
%15 = tail call i32 @epoch_testcase2(ptr noundef %0) #2
%16 = tail call i32 @pause(ptr noundef nonnull @.str.1, i32 noundef 500) #2
%17 = tail call i32 @epoch_testcase1(ptr noundef %0) #2
%18 = tail call i32 @mtx_lock(ptr noundef nonnull @state_mtx) #2
%19 = load i32, ptr @state_flags, align 4, !tbaa !5
%20 = load i32, ptr @ET_EXITING, align 4, !tbaa !5
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %7, label %23, !llvm.loop !9
23: ; preds = %7, %13, %1
%24 = tail call i32 @mtx_unlock(ptr noundef nonnull @state_mtx) #2
%25 = tail call i32 (...) @kthread_exit() #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @epoch_testcase2(ptr noundef) local_unnamed_addr #1
declare i32 @pause(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @epoch_testcase1(ptr noundef) local_unnamed_addr #1
declare i32 @kthread_exit(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/sys/tests/epoch/extr_epoch_test.c_testloop.c'
source_filename = "AnghaBench/freebsd/sys/tests/epoch/extr_epoch_test.c_testloop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@state_mtx = common global i32 0, align 4
@state_flags = common local_unnamed_addr global i32 0, align 4
@ET_EXITING = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"epoch start wait\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"W\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @testloop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @testloop(ptr noundef %0) #0 {
%2 = tail call i32 @mtx_lock(ptr noundef nonnull @state_mtx) #2
%3 = load i32, ptr @state_flags, align 4, !tbaa !6
%4 = load i32, ptr @ET_EXITING, align 4, !tbaa !6
%5 = and i32 %4, %3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %23
7: ; preds = %1, %13
%8 = tail call i32 @msleep(ptr noundef nonnull @state_mtx, ptr noundef nonnull @state_mtx, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef 0) #2
%9 = load i32, ptr @state_flags, align 4, !tbaa !6
%10 = load i32, ptr @ET_EXITING, align 4, !tbaa !6
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %7
%14 = tail call i32 @mtx_unlock(ptr noundef nonnull @state_mtx) #2
%15 = tail call i32 @epoch_testcase2(ptr noundef %0) #2
%16 = tail call i32 @pause(ptr noundef nonnull @.str.1, i32 noundef 500) #2
%17 = tail call i32 @epoch_testcase1(ptr noundef %0) #2
%18 = tail call i32 @mtx_lock(ptr noundef nonnull @state_mtx) #2
%19 = load i32, ptr @state_flags, align 4, !tbaa !6
%20 = load i32, ptr @ET_EXITING, align 4, !tbaa !6
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %7, label %23, !llvm.loop !10
23: ; preds = %7, %13, %1
%24 = tail call i32 @mtx_unlock(ptr noundef nonnull @state_mtx) #2
%25 = tail call i32 @kthread_exit() #2
ret void
}
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1
declare i32 @msleep(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @epoch_testcase2(ptr noundef) local_unnamed_addr #1
declare i32 @pause(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @epoch_testcase1(ptr noundef) local_unnamed_addr #1
declare i32 @kthread_exit(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_sys_tests_epoch_extr_epoch_test.c_testloop |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_clone_skb_for_tx_status.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_clone_skb_for_tx_status.c"
target datalayout = "e-m:e-p270:32:32-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.mwifiex_private = type { i32, i32 }
%struct.mwifiex_txinfo = type { i32, i32, i32 }
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@MWIFIEX_BUF_FLAG_ACTION_TX_STATUS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @mwifiex_clone_skb_for_tx_status(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 {
%5 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5
%6 = tail call ptr @skb_clone(ptr noundef %1, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %38, label %8
8: ; preds = %4
%9 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%10 = getelementptr inbounds %struct.mwifiex_private, ptr %0, i64 0, i32 1
%11 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5
%12 = tail call i32 @idr_alloc(ptr noundef nonnull %10, ptr noundef %1, i32 noundef 1, i32 noundef 16, i32 noundef %11) #2
%13 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2
%14 = icmp sgt i32 %12, -1
br i1 %14, label %15, label %31
15: ; preds = %8
%16 = tail call ptr @MWIFIEX_SKB_TXCB(ptr noundef nonnull %6) #2
store i32 %12, ptr %16, align 4, !tbaa !9
%17 = getelementptr inbounds %struct.mwifiex_txinfo, ptr %16, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = or i32 %18, %2
store i32 %19, ptr %17, align 4, !tbaa !11
%20 = tail call ptr @MWIFIEX_SKB_TXCB(ptr noundef %1) #2
store i32 %12, ptr %20, align 4, !tbaa !9
%21 = getelementptr inbounds %struct.mwifiex_txinfo, ptr %20, i64 0, i32 2
%22 = load i32, ptr %21, align 4, !tbaa !11
%23 = or i32 %22, %2
store i32 %23, ptr %21, align 4, !tbaa !11
%24 = load i32, ptr @MWIFIEX_BUF_FLAG_ACTION_TX_STATUS, align 4, !tbaa !5
%25 = icmp eq i32 %24, %2
%26 = icmp ne ptr %3, null
%27 = and i1 %26, %25
br i1 %27, label %28, label %38
28: ; preds = %15
%29 = load i32, ptr %3, align 4, !tbaa !5
%30 = getelementptr inbounds %struct.mwifiex_txinfo, ptr %20, i64 0, i32 1
store i32 %29, ptr %30, align 4, !tbaa !12
br label %38
31: ; preds = %8
%32 = tail call i64 @skb_shared(ptr noundef nonnull %6) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %31
%35 = tail call i32 @kfree_skb(ptr noundef %1) #2
br label %38
36: ; preds = %31
%37 = tail call i32 @kfree_skb(ptr noundef nonnull %6) #2
br label %38
38: ; preds = %4, %28, %15, %36, %34
%39 = phi ptr [ %6, %28 ], [ %6, %15 ], [ %6, %34 ], [ %1, %36 ], [ %1, %4 ]
ret ptr %39
}
declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @idr_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare ptr @MWIFIEX_SKB_TXCB(ptr noundef) local_unnamed_addr #1
declare i64 @skb_shared(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"mwifiex_txinfo", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_clone_skb_for_tx_status.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_main.c_mwifiex_clone_skb_for_tx_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@MWIFIEX_BUF_FLAG_ACTION_TX_STATUS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @mwifiex_clone_skb_for_tx_status(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 {
%5 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6
%6 = tail call ptr @skb_clone(ptr noundef %1, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %38, label %8
8: ; preds = %4
%9 = tail call i32 @spin_lock_bh(ptr noundef %0) #2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6
%12 = tail call i32 @idr_alloc(ptr noundef nonnull %10, ptr noundef %1, i32 noundef 1, i32 noundef 16, i32 noundef %11) #2
%13 = tail call i32 @spin_unlock_bh(ptr noundef %0) #2
%14 = icmp sgt i32 %12, -1
br i1 %14, label %15, label %31
15: ; preds = %8
%16 = tail call ptr @MWIFIEX_SKB_TXCB(ptr noundef nonnull %6) #2
store i32 %12, ptr %16, align 4, !tbaa !10
%17 = getelementptr inbounds i8, ptr %16, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = or i32 %18, %2
store i32 %19, ptr %17, align 4, !tbaa !12
%20 = tail call ptr @MWIFIEX_SKB_TXCB(ptr noundef %1) #2
store i32 %12, ptr %20, align 4, !tbaa !10
%21 = getelementptr inbounds i8, ptr %20, i64 8
%22 = load i32, ptr %21, align 4, !tbaa !12
%23 = or i32 %22, %2
store i32 %23, ptr %21, align 4, !tbaa !12
%24 = load i32, ptr @MWIFIEX_BUF_FLAG_ACTION_TX_STATUS, align 4, !tbaa !6
%25 = icmp eq i32 %24, %2
%26 = icmp ne ptr %3, null
%27 = and i1 %26, %25
br i1 %27, label %28, label %38
28: ; preds = %15
%29 = load i32, ptr %3, align 4, !tbaa !6
%30 = getelementptr inbounds i8, ptr %20, i64 4
store i32 %29, ptr %30, align 4, !tbaa !13
br label %38
31: ; preds = %8
%32 = tail call i64 @skb_shared(ptr noundef nonnull %6) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %31
%35 = tail call i32 @kfree_skb(ptr noundef %1) #2
br label %38
36: ; preds = %31
%37 = tail call i32 @kfree_skb(ptr noundef nonnull %6) #2
br label %38
38: ; preds = %4, %28, %15, %36, %34
%39 = phi ptr [ %6, %28 ], [ %6, %15 ], [ %6, %34 ], [ %1, %36 ], [ %1, %4 ]
ret ptr %39
}
declare ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_bh(ptr noundef) local_unnamed_addr #1
declare i32 @idr_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_bh(ptr noundef) local_unnamed_addr #1
declare ptr @MWIFIEX_SKB_TXCB(ptr noundef) local_unnamed_addr #1
declare i64 @skb_shared(ptr noundef) local_unnamed_addr #1
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"mwifiex_txinfo", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
| linux_drivers_net_wireless_marvell_mwifiex_extr_main.c_mwifiex_clone_skb_for_tx_status |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_keys.c_Field_KeyDownEvent.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_keys.c_Field_KeyDownEvent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64 }
%struct.TYPE_5__ = type { i32, i32, i32, i64 }
@K_INS = dso_local local_unnamed_addr global i32 0, align 4
@K_KP_INS = dso_local local_unnamed_addr global i32 0, align 4
@keys = dso_local local_unnamed_addr global ptr null, align 8
@K_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@K_DEL = dso_local local_unnamed_addr global i32 0, align 4
@K_RIGHTARROW = dso_local local_unnamed_addr global i32 0, align 4
@K_LEFTARROW = dso_local local_unnamed_addr global i32 0, align 4
@K_HOME = dso_local local_unnamed_addr global i32 0, align 4
@K_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@K_END = dso_local local_unnamed_addr global i32 0, align 4
@key_overstrikeMode = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @Field_KeyDownEvent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @K_INS, align 4, !tbaa !5
%4 = icmp eq i32 %3, %1
%5 = load i32, ptr @K_KP_INS, align 4
%6 = icmp eq i32 %5, %1
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr @keys, align 8, !tbaa !9
%10 = load i64, ptr @K_SHIFT, align 8, !tbaa !11
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %8
%15 = tail call i32 @Field_Paste(ptr noundef %0) #2
br label %100
16: ; preds = %2, %8
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = tail call i32 @strlen(i64 noundef %18) #2
%20 = load i32, ptr @K_DEL, align 4, !tbaa !5
%21 = icmp eq i32 %20, %1
br i1 %21, label %22, label %32
22: ; preds = %16
%23 = load i32, ptr %0, align 8, !tbaa !17
%24 = icmp slt i32 %23, %19
br i1 %24, label %25, label %100
25: ; preds = %22
%26 = load i64, ptr %17, align 8, !tbaa !15
%27 = sext i32 %23 to i64
%28 = add nsw i64 %26, %27
%29 = add nsw i64 %28, 1
%30 = sub nsw i32 %19, %23
%31 = tail call i32 @memmove(i64 noundef %28, i64 noundef %29, i32 noundef %30) #2
br label %100
32: ; preds = %16
%33 = load i32, ptr @K_RIGHTARROW, align 4, !tbaa !5
%34 = icmp eq i32 %33, %1
br i1 %34, label %35, label %52
35: ; preds = %32
%36 = load i32, ptr %0, align 8, !tbaa !17
%37 = icmp slt i32 %36, %19
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = add nsw i32 %36, 1
store i32 %39, ptr %0, align 8, !tbaa !17
br label %40
40: ; preds = %38, %35
%41 = phi i32 [ %39, %38 ], [ %36, %35 ]
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%43 = load i32, ptr %42, align 4, !tbaa !18
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%45 = load i32, ptr %44, align 8, !tbaa !19
%46 = add nsw i32 %45, %43
%47 = icmp slt i32 %41, %46
%48 = icmp sgt i32 %41, %19
%49 = select i1 %47, i1 true, i1 %48
br i1 %49, label %100, label %50
50: ; preds = %40
%51 = add nsw i32 %43, 1
store i32 %51, ptr %42, align 4, !tbaa !18
br label %100
52: ; preds = %32
%53 = load i32, ptr @K_LEFTARROW, align 4, !tbaa !5
%54 = icmp eq i32 %53, %1
br i1 %54, label %55, label %67
55: ; preds = %52
%56 = load i32, ptr %0, align 8, !tbaa !17
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = add nsw i32 %56, -1
store i32 %59, ptr %0, align 8, !tbaa !17
br label %60
60: ; preds = %58, %55
%61 = phi i32 [ %59, %58 ], [ %56, %55 ]
%62 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%63 = load i32, ptr %62, align 4, !tbaa !18
%64 = icmp slt i32 %61, %63
br i1 %64, label %65, label %100
65: ; preds = %60
%66 = add nsw i32 %63, -1
store i32 %66, ptr %62, align 4, !tbaa !18
br label %100
67: ; preds = %52
%68 = load i32, ptr @K_HOME, align 4, !tbaa !5
%69 = icmp eq i32 %68, %1
br i1 %69, label %79, label %70
70: ; preds = %67
%71 = tail call signext i8 @tolower(i32 noundef %1) #2
%72 = icmp eq i8 %71, 97
br i1 %72, label %73, label %80
73: ; preds = %70
%74 = load ptr, ptr @keys, align 8, !tbaa !9
%75 = load i64, ptr @K_CTRL, align 8, !tbaa !11
%76 = getelementptr inbounds %struct.TYPE_6__, ptr %74, i64 %75
%77 = load i64, ptr %76, align 8, !tbaa !13
%78 = icmp eq i64 %77, 0
br i1 %78, label %80, label %79
79: ; preds = %73, %67
store i32 0, ptr %0, align 8, !tbaa !17
br label %100
80: ; preds = %73, %70
%81 = load i32, ptr @K_END, align 4, !tbaa !5
%82 = icmp eq i32 %81, %1
br i1 %82, label %92, label %83
83: ; preds = %80
%84 = tail call signext i8 @tolower(i32 noundef %1) #2
%85 = icmp eq i8 %84, 101
br i1 %85, label %86, label %93
86: ; preds = %83
%87 = load ptr, ptr @keys, align 8, !tbaa !9
%88 = load i64, ptr @K_CTRL, align 8, !tbaa !11
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %87, i64 %88
%90 = load i64, ptr %89, align 8, !tbaa !13
%91 = icmp eq i64 %90, 0
br i1 %91, label %93, label %92
92: ; preds = %86, %80
store i32 %19, ptr %0, align 8, !tbaa !17
br label %100
93: ; preds = %86, %83
%94 = load i32, ptr @K_INS, align 4, !tbaa !5
%95 = icmp eq i32 %94, %1
br i1 %95, label %96, label %100
96: ; preds = %93
%97 = load i32, ptr @key_overstrikeMode, align 4, !tbaa !5
%98 = icmp eq i32 %97, 0
%99 = zext i1 %98 to i32
store i32 %99, ptr @key_overstrikeMode, align 4, !tbaa !5
br label %100
100: ; preds = %93, %60, %65, %40, %50, %22, %25, %96, %92, %79, %14
ret void
}
declare i32 @Field_Paste(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(i64 noundef) local_unnamed_addr #1
declare i32 @memmove(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare signext i8 @tolower(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_6__", !12, i64 0}
!15 = !{!16, !12, i64 16}
!16 = !{!"TYPE_5__", !6, i64 0, !6, i64 4, !6, i64 8, !12, i64 16}
!17 = !{!16, !6, i64 0}
!18 = !{!16, !6, i64 4}
!19 = !{!16, !6, i64 8}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/client/extr_cl_keys.c_Field_KeyDownEvent.c'
source_filename = "AnghaBench/Quake-III-Arena/code/client/extr_cl_keys.c_Field_KeyDownEvent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { i64 }
@K_INS = common local_unnamed_addr global i32 0, align 4
@K_KP_INS = common local_unnamed_addr global i32 0, align 4
@keys = common local_unnamed_addr global ptr null, align 8
@K_SHIFT = common local_unnamed_addr global i64 0, align 8
@K_DEL = common local_unnamed_addr global i32 0, align 4
@K_RIGHTARROW = common local_unnamed_addr global i32 0, align 4
@K_LEFTARROW = common local_unnamed_addr global i32 0, align 4
@K_HOME = common local_unnamed_addr global i32 0, align 4
@K_CTRL = common local_unnamed_addr global i64 0, align 8
@K_END = common local_unnamed_addr global i32 0, align 4
@key_overstrikeMode = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @Field_KeyDownEvent(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @K_INS, align 4, !tbaa !6
%4 = icmp eq i32 %3, %1
%5 = load i32, ptr @K_KP_INS, align 4
%6 = icmp eq i32 %5, %1
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr @keys, align 8, !tbaa !10
%10 = load i64, ptr @K_SHIFT, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = icmp eq i64 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %8
%15 = tail call i32 @Field_Paste(ptr noundef %0) #2
br label %100
16: ; preds = %2, %8
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !16
%19 = tail call i32 @strlen(i64 noundef %18) #2
%20 = load i32, ptr @K_DEL, align 4, !tbaa !6
%21 = icmp eq i32 %20, %1
br i1 %21, label %22, label %32
22: ; preds = %16
%23 = load i32, ptr %0, align 8, !tbaa !18
%24 = icmp slt i32 %23, %19
br i1 %24, label %25, label %100
25: ; preds = %22
%26 = load i64, ptr %17, align 8, !tbaa !16
%27 = sext i32 %23 to i64
%28 = add nsw i64 %26, %27
%29 = add nsw i64 %28, 1
%30 = sub nsw i32 %19, %23
%31 = tail call i32 @memmove(i64 noundef %28, i64 noundef %29, i32 noundef %30) #2
br label %100
32: ; preds = %16
%33 = load i32, ptr @K_RIGHTARROW, align 4, !tbaa !6
%34 = icmp eq i32 %33, %1
br i1 %34, label %35, label %52
35: ; preds = %32
%36 = load i32, ptr %0, align 8, !tbaa !18
%37 = icmp slt i32 %36, %19
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = add nsw i32 %36, 1
store i32 %39, ptr %0, align 8, !tbaa !18
br label %40
40: ; preds = %38, %35
%41 = phi i32 [ %39, %38 ], [ %36, %35 ]
%42 = getelementptr inbounds i8, ptr %0, i64 4
%43 = load i32, ptr %42, align 4, !tbaa !19
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = load i32, ptr %44, align 8, !tbaa !20
%46 = add nsw i32 %45, %43
%47 = icmp slt i32 %41, %46
%48 = icmp sgt i32 %41, %19
%49 = select i1 %47, i1 true, i1 %48
br i1 %49, label %100, label %50
50: ; preds = %40
%51 = add nsw i32 %43, 1
store i32 %51, ptr %42, align 4, !tbaa !19
br label %100
52: ; preds = %32
%53 = load i32, ptr @K_LEFTARROW, align 4, !tbaa !6
%54 = icmp eq i32 %53, %1
br i1 %54, label %55, label %67
55: ; preds = %52
%56 = load i32, ptr %0, align 8, !tbaa !18
%57 = icmp sgt i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %55
%59 = add nsw i32 %56, -1
store i32 %59, ptr %0, align 8, !tbaa !18
br label %60
60: ; preds = %58, %55
%61 = phi i32 [ %59, %58 ], [ %56, %55 ]
%62 = getelementptr inbounds i8, ptr %0, i64 4
%63 = load i32, ptr %62, align 4, !tbaa !19
%64 = icmp slt i32 %61, %63
br i1 %64, label %65, label %100
65: ; preds = %60
%66 = add nsw i32 %63, -1
store i32 %66, ptr %62, align 4, !tbaa !19
br label %100
67: ; preds = %52
%68 = load i32, ptr @K_HOME, align 4, !tbaa !6
%69 = icmp eq i32 %68, %1
br i1 %69, label %79, label %70
70: ; preds = %67
%71 = tail call signext i8 @tolower(i32 noundef %1) #2
%72 = icmp eq i8 %71, 97
br i1 %72, label %73, label %80
73: ; preds = %70
%74 = load ptr, ptr @keys, align 8, !tbaa !10
%75 = load i64, ptr @K_CTRL, align 8, !tbaa !12
%76 = getelementptr inbounds %struct.TYPE_6__, ptr %74, i64 %75
%77 = load i64, ptr %76, align 8, !tbaa !14
%78 = icmp eq i64 %77, 0
br i1 %78, label %80, label %79
79: ; preds = %73, %67
store i32 0, ptr %0, align 8, !tbaa !18
br label %100
80: ; preds = %73, %70
%81 = load i32, ptr @K_END, align 4, !tbaa !6
%82 = icmp eq i32 %81, %1
br i1 %82, label %92, label %83
83: ; preds = %80
%84 = tail call signext i8 @tolower(i32 noundef %1) #2
%85 = icmp eq i8 %84, 101
br i1 %85, label %86, label %93
86: ; preds = %83
%87 = load ptr, ptr @keys, align 8, !tbaa !10
%88 = load i64, ptr @K_CTRL, align 8, !tbaa !12
%89 = getelementptr inbounds %struct.TYPE_6__, ptr %87, i64 %88
%90 = load i64, ptr %89, align 8, !tbaa !14
%91 = icmp eq i64 %90, 0
br i1 %91, label %93, label %92
92: ; preds = %86, %80
store i32 %19, ptr %0, align 8, !tbaa !18
br label %100
93: ; preds = %86, %83
%94 = load i32, ptr @K_INS, align 4, !tbaa !6
%95 = icmp eq i32 %94, %1
br i1 %95, label %96, label %100
96: ; preds = %93
%97 = load i32, ptr @key_overstrikeMode, align 4, !tbaa !6
%98 = icmp eq i32 %97, 0
%99 = zext i1 %98 to i32
store i32 %99, ptr @key_overstrikeMode, align 4, !tbaa !6
br label %100
100: ; preds = %93, %60, %65, %40, %50, %22, %25, %96, %92, %79, %14
ret void
}
declare i32 @Field_Paste(ptr noundef) local_unnamed_addr #1
declare i32 @strlen(i64 noundef) local_unnamed_addr #1
declare i32 @memmove(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1
declare signext i8 @tolower(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_6__", !13, i64 0}
!16 = !{!17, !13, i64 16}
!17 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !13, i64 16}
!18 = !{!17, !7, i64 0}
!19 = !{!17, !7, i64 4}
!20 = !{!17, !7, i64 8}
| Quake-III-Arena_code_client_extr_cl_keys.c_Field_KeyDownEvent |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3LockAndPrepare.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3LockAndPrepare.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32 }
@SQLITE_MISUSE_BKPT = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_ERROR_RETRY = dso_local local_unnamed_addr global i32 0, align 4
@SQLITE_SCHEMA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sqlite3LockAndPrepare], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sqlite3LockAndPrepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
store ptr null, ptr %5, align 8, !tbaa !5
%8 = tail call i32 @sqlite3SafetyCheckOk(ptr noundef %0) #2
%9 = icmp eq i32 %8, 0
%10 = icmp eq ptr %1, null
%11 = or i1 %10, %9
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i32, ptr @SQLITE_MISUSE_BKPT, align 4, !tbaa !9
br label %66
14: ; preds = %7
%15 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = tail call i32 @sqlite3_mutex_enter(i32 noundef %16) #2
%18 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef %0) #2
br label %19
19: ; preds = %14, %26
%20 = tail call i32 @sqlite3Prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6) #2
%21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !9
%22 = icmp eq i32 %20, %21
br i1 %22, label %26, label %23
23: ; preds = %19
%24 = load ptr, ptr %5, align 8, !tbaa !5
%25 = icmp eq ptr %24, null
br label %26
26: ; preds = %23, %19
%27 = phi i1 [ true, %19 ], [ %25, %23 ]
%28 = zext i1 %27 to i32
%29 = tail call i32 @assert(i32 noundef %28) #2
%30 = load i32, ptr @SQLITE_ERROR_RETRY, align 4, !tbaa !9
%31 = icmp eq i32 %20, %30
br i1 %31, label %19, label %32
32: ; preds = %26
%33 = load i32, ptr @SQLITE_SCHEMA, align 4, !tbaa !9
%34 = icmp eq i32 %20, %33
br i1 %34, label %35, label %55
35: ; preds = %32
%36 = tail call i32 @sqlite3ResetOneSchema(ptr noundef %0, i32 noundef -1) #2
br label %37
37: ; preds = %44, %35
%38 = tail call i32 @sqlite3Prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6) #2
%39 = load i32, ptr @SQLITE_OK, align 4, !tbaa !9
%40 = icmp eq i32 %38, %39
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = load ptr, ptr %5, align 8, !tbaa !5
%43 = icmp eq ptr %42, null
br label %44
44: ; preds = %41, %37
%45 = phi i1 [ true, %37 ], [ %43, %41 ]
%46 = zext i1 %45 to i32
%47 = tail call i32 @assert(i32 noundef %46) #2
%48 = load i32, ptr @SQLITE_ERROR_RETRY, align 4, !tbaa !9
%49 = icmp eq i32 %38, %48
br i1 %49, label %37, label %50
50: ; preds = %44
%51 = load i32, ptr @SQLITE_SCHEMA, align 4, !tbaa !9
%52 = icmp eq i32 %38, %51
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @sqlite3ResetOneSchema(ptr noundef %0, i32 noundef -1) #2
br label %55
55: ; preds = %53, %50, %32
%56 = phi i32 [ %20, %32 ], [ %38, %50 ], [ %38, %53 ]
%57 = tail call i32 @sqlite3BtreeLeaveAll(ptr noundef %0) #2
%58 = tail call i32 @sqlite3ApiExit(ptr noundef %0, i32 noundef %56) #2
%59 = load i32, ptr %0, align 4, !tbaa !13
%60 = and i32 %59, %58
%61 = icmp eq i32 %60, %58
%62 = zext i1 %61 to i32
%63 = tail call i32 @assert(i32 noundef %62) #2
%64 = load i32, ptr %15, align 4, !tbaa !11
%65 = tail call i32 @sqlite3_mutex_leave(i32 noundef %64) #2
br label %66
66: ; preds = %55, %12
%67 = phi i32 [ %13, %12 ], [ %58, %55 ]
ret i32 %67
}
declare i32 @sqlite3SafetyCheckOk(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3Prepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3ResetOneSchema(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3ApiExit(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_leave(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 4}
!12 = !{!"TYPE_9__", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 0}
| ; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3LockAndPrepare.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_sqlite3LockAndPrepare.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_MISUSE_BKPT = common local_unnamed_addr global i32 0, align 4
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@SQLITE_ERROR_RETRY = common local_unnamed_addr global i32 0, align 4
@SQLITE_SCHEMA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sqlite3LockAndPrepare], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sqlite3LockAndPrepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
store ptr null, ptr %5, align 8, !tbaa !6
%8 = tail call i32 @sqlite3SafetyCheckOk(ptr noundef %0) #2
%9 = icmp eq i32 %8, 0
%10 = icmp eq ptr %1, null
%11 = or i1 %10, %9
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = load i32, ptr @SQLITE_MISUSE_BKPT, align 4, !tbaa !10
br label %66
14: ; preds = %7
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @sqlite3_mutex_enter(i32 noundef %16) #2
%18 = tail call i32 @sqlite3BtreeEnterAll(ptr noundef %0) #2
br label %19
19: ; preds = %14, %26
%20 = tail call i32 @sqlite3Prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6) #2
%21 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10
%22 = icmp eq i32 %20, %21
br i1 %22, label %26, label %23
23: ; preds = %19
%24 = load ptr, ptr %5, align 8, !tbaa !6
%25 = icmp eq ptr %24, null
br label %26
26: ; preds = %23, %19
%27 = phi i1 [ true, %19 ], [ %25, %23 ]
%28 = zext i1 %27 to i32
%29 = tail call i32 @assert(i32 noundef %28) #2
%30 = load i32, ptr @SQLITE_ERROR_RETRY, align 4, !tbaa !10
%31 = icmp eq i32 %20, %30
br i1 %31, label %19, label %32
32: ; preds = %26
%33 = load i32, ptr @SQLITE_SCHEMA, align 4, !tbaa !10
%34 = icmp eq i32 %20, %33
br i1 %34, label %35, label %55
35: ; preds = %32
%36 = tail call i32 @sqlite3ResetOneSchema(ptr noundef %0, i32 noundef -1) #2
br label %37
37: ; preds = %44, %35
%38 = tail call i32 @sqlite3Prepare(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6) #2
%39 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10
%40 = icmp eq i32 %38, %39
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = load ptr, ptr %5, align 8, !tbaa !6
%43 = icmp eq ptr %42, null
br label %44
44: ; preds = %41, %37
%45 = phi i1 [ true, %37 ], [ %43, %41 ]
%46 = zext i1 %45 to i32
%47 = tail call i32 @assert(i32 noundef %46) #2
%48 = load i32, ptr @SQLITE_ERROR_RETRY, align 4, !tbaa !10
%49 = icmp eq i32 %38, %48
br i1 %49, label %37, label %50
50: ; preds = %44
%51 = load i32, ptr @SQLITE_SCHEMA, align 4, !tbaa !10
%52 = icmp eq i32 %38, %51
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = tail call i32 @sqlite3ResetOneSchema(ptr noundef %0, i32 noundef -1) #2
br label %55
55: ; preds = %53, %50, %32
%56 = phi i32 [ %20, %32 ], [ %38, %50 ], [ %38, %53 ]
%57 = tail call i32 @sqlite3BtreeLeaveAll(ptr noundef %0) #2
%58 = tail call i32 @sqlite3ApiExit(ptr noundef %0, i32 noundef %56) #2
%59 = load i32, ptr %0, align 4, !tbaa !14
%60 = and i32 %59, %58
%61 = icmp eq i32 %60, %58
%62 = zext i1 %61 to i32
%63 = tail call i32 @assert(i32 noundef %62) #2
%64 = load i32, ptr %15, align 4, !tbaa !12
%65 = tail call i32 @sqlite3_mutex_leave(i32 noundef %64) #2
br label %66
66: ; preds = %55, %12
%67 = phi i32 [ %13, %12 ], [ %58, %55 ]
ret i32 %67
}
declare i32 @sqlite3SafetyCheckOk(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_enter(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BtreeEnterAll(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3Prepare(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3ResetOneSchema(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3BtreeLeaveAll(ptr noundef) local_unnamed_addr #1
declare i32 @sqlite3ApiExit(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_leave(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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 4}
!13 = !{!"TYPE_9__", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
| mimikatz_modules_extr_sqlite3_omit.c_sqlite3LockAndPrepare |
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/kuser/extr_kswitch.c_readline.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/kuser/extr_kswitch.c_readline.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BUFSIZ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@stdin = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @readline], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias ptr @readline(ptr noundef %0) #0 {
%2 = load i32, ptr @BUFSIZ, align 4, !tbaa !5
%3 = zext i32 %2 to i64
%4 = alloca i8, i64 %3, align 16
%5 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%6 = load i32, ptr @stdout, align 4, !tbaa !5
%7 = tail call i32 @fflush(i32 noundef %6) #4
%8 = load i32, ptr @stdin, align 4, !tbaa !5
%9 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %2, i32 noundef %8) #4
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %1
%12 = call i64 @strcspn(ptr noundef nonnull %4, ptr noundef nonnull @.str.1)
%13 = getelementptr inbounds i8, ptr %4, i64 %12
store i8 0, ptr %13, align 1, !tbaa !9
%14 = call ptr @strdup(ptr noundef nonnull %4)
br label %15
15: ; preds = %1, %11
%16 = phi ptr [ %14, %11 ], [ null, %1 ]
ret ptr %16
}
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/kuser/extr_kswitch.c_readline.c'
source_filename = "AnghaBench/freebsd/crypto/heimdal/kuser/extr_kswitch.c_readline.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUFSIZ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdout = common local_unnamed_addr global i32 0, align 4
@stdin = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @readline], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noalias ptr @readline(ptr noundef %0) #0 {
%2 = load i32, ptr @BUFSIZ, align 4, !tbaa !6
%3 = zext i32 %2 to i64
%4 = alloca i8, i64 %3, align 1
%5 = tail call i32 @printf(ptr noundef nonnull @.str, ptr noundef %0) #4
%6 = load i32, ptr @stdout, align 4, !tbaa !6
%7 = tail call i32 @fflush(i32 noundef %6) #4
%8 = load i32, ptr @stdin, align 4, !tbaa !6
%9 = call ptr @fgets(ptr noundef nonnull %4, i32 noundef %2, i32 noundef %8) #4
%10 = icmp eq ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %1
%12 = call i64 @strcspn(ptr noundef nonnull %4, ptr noundef nonnull @.str.1)
%13 = getelementptr inbounds i8, ptr %4, i64 %12
store i8 0, ptr %13, align 1, !tbaa !10
%14 = call ptr @strdup(ptr noundef nonnull %4)
br label %15
15: ; preds = %1, %11
%16 = phi ptr [ %14, %11 ], [ null, %1 ]
ret ptr %16
}
declare i32 @printf(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fflush(i32 noundef) local_unnamed_addr #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 = !{!8, !8, i64 0}
| freebsd_crypto_heimdal_kuser_extr_kswitch.c_readline |
; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_dpio-service.c_dpaa2_io_service_pull_channel.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_dpio-service.c_dpaa2_io_service_pull_channel.c"
target datalayout = "e-m:e-p270:32:32-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.qbman_pull_desc = type { i32 }
%struct.dpaa2_io_store = type { ptr, i64, i32, i32 }
@qbman_pull_type_prio = dso_local local_unnamed_addr global i32 0, align 4
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @dpaa2_io_service_pull_channel(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.qbman_pull_desc, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @qbman_pull_desc_clear(ptr noundef nonnull %4) #3
%6 = getelementptr inbounds %struct.dpaa2_io_store, ptr %2, i64 0, i32 3
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.dpaa2_io_store, ptr %2, i64 0, i32 2
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = call i32 @qbman_pull_desc_set_storage(ptr noundef nonnull %4, i32 noundef %7, i32 noundef %9, i32 noundef 1) #3
%11 = getelementptr inbounds %struct.dpaa2_io_store, ptr %2, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = trunc i64 %12 to i32
%14 = call i32 @qbman_pull_desc_set_numframes(ptr noundef nonnull %4, i32 noundef %13) #3
%15 = load i32, ptr @qbman_pull_type_prio, align 4, !tbaa !14
%16 = call i32 @qbman_pull_desc_set_channel(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %15) #3
%17 = call ptr @service_select(ptr noundef %0) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load i32, ptr @ENODEV, align 4, !tbaa !14
%21 = sub nsw i32 0, %20
br label %27
22: ; preds = %3
%23 = load ptr, ptr %17, align 8, !tbaa !15
store ptr %23, ptr %2, align 8, !tbaa !17
%24 = call i32 @qbman_swp_pull(ptr noundef %23, ptr noundef nonnull %4) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22
store ptr null, ptr %2, align 8, !tbaa !17
br label %27
27: ; preds = %22, %26, %19
%28 = phi i32 [ %21, %19 ], [ %24, %26 ], [ 0, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @qbman_pull_desc_clear(ptr noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_storage(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_numframes(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_channel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @service_select(ptr noundef) local_unnamed_addr #2
declare i32 @qbman_swp_pull(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, !11, i64 20}
!6 = !{!"dpaa2_io_store", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!6, !10, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"dpaa2_io", !7, i64 0}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/soc/fsl/dpio/extr_dpio-service.c_dpaa2_io_service_pull_channel.c'
source_filename = "AnghaBench/linux/drivers/soc/fsl/dpio/extr_dpio-service.c_dpaa2_io_service_pull_channel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.qbman_pull_desc = type { i32 }
@qbman_pull_type_prio = common local_unnamed_addr global i32 0, align 4
@ENODEV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @dpaa2_io_service_pull_channel(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
%4 = alloca %struct.qbman_pull_desc, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @qbman_pull_desc_clear(ptr noundef nonnull %4) #3
%6 = getelementptr inbounds i8, ptr %2, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %2, i64 16
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = call i32 @qbman_pull_desc_set_storage(ptr noundef nonnull %4, i32 noundef %7, i32 noundef %9, i32 noundef 1) #3
%11 = getelementptr inbounds i8, ptr %2, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = trunc i64 %12 to i32
%14 = call i32 @qbman_pull_desc_set_numframes(ptr noundef nonnull %4, i32 noundef %13) #3
%15 = load i32, ptr @qbman_pull_type_prio, align 4, !tbaa !15
%16 = call i32 @qbman_pull_desc_set_channel(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %15) #3
%17 = call ptr @service_select(ptr noundef %0) #3
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = load i32, ptr @ENODEV, align 4, !tbaa !15
%21 = sub nsw i32 0, %20
br label %27
22: ; preds = %3
%23 = load ptr, ptr %17, align 8, !tbaa !16
store ptr %23, ptr %2, align 8, !tbaa !18
%24 = call i32 @qbman_swp_pull(ptr noundef %23, ptr noundef nonnull %4) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22
store ptr null, ptr %2, align 8, !tbaa !18
br label %27
27: ; preds = %22, %26, %19
%28 = phi i32 [ %21, %19 ], [ %24, %26 ], [ 0, %22 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @qbman_pull_desc_clear(ptr noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_storage(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_numframes(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @qbman_pull_desc_set_channel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @service_select(ptr noundef) local_unnamed_addr #2
declare i32 @qbman_swp_pull(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, !12, i64 20}
!7 = !{!"dpaa2_io_store", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 20}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!7, !11, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"dpaa2_io", !8, i64 0}
!18 = !{!7, !8, i64 0}
| linux_drivers_soc_fsl_dpio_extr_dpio-service.c_dpaa2_io_service_pull_channel |
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_bfd.c__bfd_get_gp_value.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_bfd.c__bfd_get_gp_value.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i64, ptr }
@bfd_object = dso_local local_unnamed_addr global i64 0, align 8
@bfd_target_ecoff_flavour = dso_local local_unnamed_addr global i64 0, align 8
@bfd_target_elf_flavour = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @_bfd_get_gp_value(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @bfd_object, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %21
7: ; preds = %3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = load i64, ptr %9, align 8, !tbaa !13
%11 = load i64, ptr @bfd_target_ecoff_flavour, align 8, !tbaa !11
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %7
%14 = tail call ptr @ecoff_data(ptr noundef nonnull %0) #2
%15 = load i32, ptr %14, align 4, !tbaa !15
br label %21
16: ; preds = %7
%17 = load i64, ptr @bfd_target_elf_flavour, align 8, !tbaa !11
%18 = icmp eq i64 %10, %17
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @elf_gp(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %16, %3, %1, %19, %13
%22 = phi i32 [ %15, %13 ], [ %20, %19 ], [ 0, %1 ], [ 0, %3 ], [ 0, %16 ]
ret i32 %22
}
declare ptr @ecoff_data(ptr noundef) local_unnamed_addr #1
declare i32 @elf_gp(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_8__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_7__", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"TYPE_9__", !17, i64 0}
!17 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/binutils/bfd/extr_bfd.c__bfd_get_gp_value.c'
source_filename = "AnghaBench/freebsd/contrib/binutils/bfd/extr_bfd.c__bfd_get_gp_value.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bfd_object = common local_unnamed_addr global i64 0, align 8
@bfd_target_ecoff_flavour = common local_unnamed_addr global i64 0, align 8
@bfd_target_elf_flavour = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @_bfd_get_gp_value(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %21, label %3
3: ; preds = %1
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @bfd_object, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %21
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = load i64, ptr @bfd_target_ecoff_flavour, align 8, !tbaa !12
%12 = icmp eq i64 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %7
%14 = tail call ptr @ecoff_data(ptr noundef nonnull %0) #2
%15 = load i32, ptr %14, align 4, !tbaa !16
br label %21
16: ; preds = %7
%17 = load i64, ptr @bfd_target_elf_flavour, align 8, !tbaa !12
%18 = icmp eq i64 %10, %17
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @elf_gp(ptr noundef nonnull %0) #2
br label %21
21: ; preds = %16, %3, %1, %19, %13
%22 = phi i32 [ %15, %13 ], [ %20, %19 ], [ 0, %1 ], [ 0, %3 ], [ 0, %16 ]
ret i32 %22
}
declare ptr @ecoff_data(ptr noundef) local_unnamed_addr #1
declare i32 @elf_gp(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_8__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_7__", !8, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"TYPE_9__", !18, i64 0}
!18 = !{!"int", !9, i64 0}
| freebsd_contrib_binutils_bfd_extr_bfd.c__bfd_get_gp_value |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_led.c_nouveau_led_resume.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_led.c_nouveau_led_resume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @nouveau_led_resume(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @nouveau_drm(ptr noundef %0) #2
%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 = tail call i32 @led_classdev_resume(ptr noundef nonnull %3) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare i32 @led_classdev_resume(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 = !{!"nouveau_drm", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_led.c_nouveau_led_resume.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/extr_nouveau_led.c_nouveau_led_resume.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 @nouveau_led_resume(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @nouveau_drm(ptr noundef %0) #2
%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 = tail call i32 @led_classdev_resume(ptr noundef nonnull %3) #2
br label %7
7: ; preds = %5, %1
ret void
}
declare ptr @nouveau_drm(ptr noundef) local_unnamed_addr #1
declare i32 @led_classdev_resume(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 = !{!"nouveau_drm", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_nouveau_extr_nouveau_led.c_nouveau_led_resume |
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_or51132.c_modulation_fw_class.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_or51132.c_modulation_fw_class.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MOD_FWCLASS_VSB = dso_local local_unnamed_addr global i32 0, align 4
@MOD_FWCLASS_QAM = dso_local local_unnamed_addr global i32 0, align 4
@MOD_FWCLASS_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @modulation_fw_class], section "llvm.metadata"
@switch.table.modulation_fw_class = private unnamed_addr constant [4 x ptr] [ptr @MOD_FWCLASS_VSB, ptr @MOD_FWCLASS_QAM, ptr @MOD_FWCLASS_QAM, ptr @MOD_FWCLASS_QAM], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @modulation_fw_class(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 4
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [4 x ptr], ptr @switch.table.modulation_fw_class, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ @MOD_FWCLASS_UNKNOWN, %1 ]
%10 = load i32, ptr %9, align 4, !tbaa !5
ret i32 %10
}
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_or51132.c_modulation_fw_class.c'
source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_or51132.c_modulation_fw_class.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MOD_FWCLASS_VSB = common local_unnamed_addr global i32 0, align 4
@MOD_FWCLASS_QAM = common local_unnamed_addr global i32 0, align 4
@MOD_FWCLASS_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @modulation_fw_class], section "llvm.metadata"
@switch.table.modulation_fw_class = private unnamed_addr constant [4 x ptr] [ptr @MOD_FWCLASS_VSB, ptr @MOD_FWCLASS_QAM, ptr @MOD_FWCLASS_QAM, ptr @MOD_FWCLASS_QAM], align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @modulation_fw_class(i32 noundef %0) #0 {
%2 = add i32 %0, -128
%3 = icmp ult i32 %2, 4
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = zext nneg i32 %2 to i64
%6 = getelementptr inbounds [4 x ptr], ptr @switch.table.modulation_fw_class, i64 0, i64 %5
%7 = load ptr, ptr %6, align 8
br label %8
8: ; preds = %1, %4
%9 = phi ptr [ %7, %4 ], [ @MOD_FWCLASS_UNKNOWN, %1 ]
%10 = load i32, ptr %9, align 4, !tbaa !6
ret i32 %10
}
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_media_dvb-frontends_extr_or51132.c_modulation_fw_class |
; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_wide_str_coll.c'
source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_wide_str_coll.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EILSEQ = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wide_str_coll], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wide_str_coll(ptr noundef %0, ptr noundef %1) #0 {
store i64 0, ptr @errno, align 8, !tbaa !5
%3 = tail call i32 @wcscoll(ptr noundef %0, ptr noundef %1) #2
%4 = load i64, ptr @errno, align 8, !tbaa !5
%5 = load i64, ptr @EILSEQ, align 8, !tbaa !5
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %35
7: ; preds = %2
store i64 0, ptr @errno, align 8, !tbaa !5
%8 = tail call i32 @wcscmp(ptr noundef %0, ptr noundef %1) #2
%9 = load i64, ptr @errno, align 8, !tbaa !5
%10 = icmp eq i64 %9, 0
br i1 %10, label %35, label %11
11: ; preds = %7
%12 = load i32, ptr %0, align 4, !tbaa !9
%13 = load i32, ptr %1, align 4, !tbaa !9
%14 = icmp eq i32 %12, 0
br i1 %14, label %22, label %26
15: ; preds = %31
%16 = add i64 %29, 1
%17 = getelementptr inbounds i32, ptr %0, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !9
%19 = getelementptr inbounds i32, ptr %1, i64 %16
%20 = load i32, ptr %19, align 4, !tbaa !9
%21 = icmp eq i32 %18, 0
br i1 %21, label %22, label %26
22: ; preds = %15, %11
%23 = phi i32 [ %13, %11 ], [ %20, %15 ]
%24 = icmp ne i32 %23, 0
%25 = sext i1 %24 to i32
br label %35
26: ; preds = %11, %15
%27 = phi i32 [ %20, %15 ], [ %13, %11 ]
%28 = phi i32 [ %18, %15 ], [ %12, %11 ]
%29 = phi i64 [ %16, %15 ], [ 0, %11 ]
%30 = icmp eq i32 %27, 0
br i1 %30, label %35, label %31
31: ; preds = %26
%32 = icmp eq i32 %28, %27
br i1 %32, label %15, label %33
33: ; preds = %31
%34 = sub nsw i32 %28, %27
br label %35
35: ; preds = %26, %33, %22, %2, %7
%36 = phi i32 [ %8, %7 ], [ %3, %2 ], [ %25, %22 ], [ %34, %33 ], [ 1, %26 ]
ret i32 %36
}
declare i32 @wcscoll(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wcscmp(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 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_wide_str_coll.c'
source_filename = "AnghaBench/freebsd/usr.bin/sort/extr_bwstring.c_wide_str_coll.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i64 0, align 8
@EILSEQ = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @wide_str_coll], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wide_str_coll(ptr noundef %0, ptr noundef %1) #0 {
store i64 0, ptr @errno, align 8, !tbaa !6
%3 = tail call i32 @wcscoll(ptr noundef %0, ptr noundef %1) #3
%4 = load i64, ptr @errno, align 8, !tbaa !6
%5 = load i64, ptr @EILSEQ, align 8, !tbaa !6
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %9
7: ; preds = %2
store i64 0, ptr @errno, align 8, !tbaa !6
%8 = tail call i32 @wcscmp(ptr noundef %0, ptr noundef %1) #4
br label %9
9: ; preds = %2, %7
%10 = phi i32 [ %8, %7 ], [ %3, %2 ]
ret i32 %10
}
declare i32 @wcscoll(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @wcscmp(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_usr.bin_sort_extr_bwstring.c_wide_str_coll |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_inode.c_jfs_readpages.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_inode.c_jfs_readpages.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jfs_get_block = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @jfs_readpages], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @jfs_readpages(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @jfs_get_block, align 4, !tbaa !5
%6 = tail call i32 @mpage_readpages(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @mpage_readpages(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_inode.c_jfs_readpages.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_inode.c_jfs_readpages.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jfs_get_block = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @jfs_readpages], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @jfs_readpages(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr @jfs_get_block, align 4, !tbaa !6
%6 = tail call i32 @mpage_readpages(ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %5) #2
ret i32 %6
}
declare i32 @mpage_readpages(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_jfs_extr_inode.c_jfs_readpages |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_phy.c_igb_get_phy_info_igp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_phy.c_igb_get_phy_info_igp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_phy_info = type { i32, i32, ptr, ptr, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { ptr, ptr }
@.str = private unnamed_addr constant [38 x i8] c"Phy info is only valid if link is up\0A\00", align 1
@E1000_ERR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PHY_PORT_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_MDIX = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_SPEED_MASK = dso_local local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_SPEED_1000MBPS = dso_local local_unnamed_addr global i32 0, align 4
@PHY_1000T_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@SR_1000T_LOCAL_RX_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@e1000_1000t_rx_status_ok = dso_local local_unnamed_addr global ptr null, align 8
@e1000_1000t_rx_status_not_ok = dso_local local_unnamed_addr global ptr null, align 8
@SR_1000T_REMOTE_RX_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@E1000_CABLE_LENGTH_UNDEFINED = dso_local local_unnamed_addr global i32 0, align 4
@e1000_1000t_rx_status_undefined = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @igb_get_phy_info_igp(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @igb_phy_has_link(ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %63
6: ; preds = %1
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = call i32 @hw_dbg(ptr noundef nonnull @.str) #3
%11 = load i32, ptr @E1000_ERR_CONFIG, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %63
13: ; preds = %6
store i32 1, ptr %0, align 8, !tbaa !9
%14 = call i32 @igb_check_polarity_igp(ptr noundef nonnull %0) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %63
16: ; preds = %13
%17 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 5
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = load i32, ptr @IGP01E1000_PHY_PORT_STATUS, align 4, !tbaa !5
%20 = call i32 %18(ptr noundef nonnull %0, i32 noundef %19, ptr noundef nonnull %2) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %63
22: ; preds = %16
%23 = load i32, ptr %2, align 4, !tbaa !5
%24 = load i32, ptr @IGP01E1000_PSSR_MDIX, align 4, !tbaa !5
%25 = and i32 %24, %23
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i32
%28 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 1
store i32 %27, ptr %28, align 4, !tbaa !14
%29 = load i32, ptr @IGP01E1000_PSSR_SPEED_MASK, align 4, !tbaa !5
%30 = and i32 %29, %23
%31 = load i32, ptr @IGP01E1000_PSSR_SPEED_1000MBPS, align 4, !tbaa !5
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %57
33: ; preds = %22
%34 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 5, i32 1
%35 = load ptr, ptr %34, align 8, !tbaa !15
%36 = call i32 %35(ptr noundef nonnull %0) #3
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %63
38: ; preds = %33
%39 = load ptr, ptr %17, align 8, !tbaa !13
%40 = load i32, ptr @PHY_1000T_STATUS, align 4, !tbaa !5
%41 = call i32 %39(ptr noundef nonnull %0, i32 noundef %40, ptr noundef nonnull %2) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %63
43: ; preds = %38
%44 = load i32, ptr %2, align 4, !tbaa !5
%45 = load i32, ptr @SR_1000T_LOCAL_RX_STATUS, align 4, !tbaa !5
%46 = and i32 %45, %44
%47 = icmp eq i32 %46, 0
%48 = load ptr, ptr @e1000_1000t_rx_status_ok, align 8
%49 = load ptr, ptr @e1000_1000t_rx_status_not_ok, align 8
%50 = select i1 %47, ptr %49, ptr %48
%51 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 3
store ptr %50, ptr %51, align 8, !tbaa !16
%52 = load i32, ptr @SR_1000T_REMOTE_RX_STATUS, align 4, !tbaa !5
%53 = and i32 %52, %44
%54 = icmp eq i32 %53, 0
%55 = select i1 %54, ptr %49, ptr %48
%56 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 2
store ptr %55, ptr %56, align 8, !tbaa !17
br label %63
57: ; preds = %22
%58 = load i32, ptr @E1000_CABLE_LENGTH_UNDEFINED, align 4, !tbaa !5
%59 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 4
store i32 %58, ptr %59, align 8, !tbaa !18
%60 = load ptr, ptr @e1000_1000t_rx_status_undefined, align 8, !tbaa !19
%61 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 3
store ptr %60, ptr %61, align 8, !tbaa !16
%62 = getelementptr inbounds %struct.e1000_phy_info, ptr %0, i64 0, i32 2
store ptr %60, ptr %62, align 8, !tbaa !17
br label %63
63: ; preds = %43, %57, %38, %33, %16, %13, %1, %9
%64 = phi i32 [ %4, %1 ], [ %14, %13 ], [ %20, %16 ], [ %36, %33 ], [ %41, %38 ], [ 0, %43 ], [ 0, %57 ], [ %12, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @igb_phy_has_link(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hw_dbg(ptr noundef) local_unnamed_addr #2
declare i32 @igb_check_polarity_igp(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"e1000_phy_info", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !6, i64 24, !12, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_2__", !11, i64 0, !11, i64 8}
!13 = !{!10, !11, i64 32}
!14 = !{!10, !6, i64 4}
!15 = !{!10, !11, i64 40}
!16 = !{!10, !11, i64 16}
!17 = !{!10, !11, i64 8}
!18 = !{!10, !6, i64 24}
!19 = !{!11, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_phy.c_igb_get_phy_info_igp.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/igb/extr_e1000_phy.c_igb_get_phy_info_igp.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 [38 x i8] c"Phy info is only valid if link is up\0A\00", align 1
@E1000_ERR_CONFIG = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PHY_PORT_STATUS = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_MDIX = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_SPEED_MASK = common local_unnamed_addr global i32 0, align 4
@IGP01E1000_PSSR_SPEED_1000MBPS = common local_unnamed_addr global i32 0, align 4
@PHY_1000T_STATUS = common local_unnamed_addr global i32 0, align 4
@SR_1000T_LOCAL_RX_STATUS = common local_unnamed_addr global i32 0, align 4
@e1000_1000t_rx_status_ok = common local_unnamed_addr global ptr null, align 8
@e1000_1000t_rx_status_not_ok = common local_unnamed_addr global ptr null, align 8
@SR_1000T_REMOTE_RX_STATUS = common local_unnamed_addr global i32 0, align 4
@E1000_CABLE_LENGTH_UNDEFINED = common local_unnamed_addr global i32 0, align 4
@e1000_1000t_rx_status_undefined = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @igb_get_phy_info_igp(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @igb_phy_has_link(ptr noundef %0, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %63
6: ; preds = %1
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %6
%10 = call i32 @hw_dbg(ptr noundef nonnull @.str) #3
%11 = load i32, ptr @E1000_ERR_CONFIG, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %63
13: ; preds = %6
store i32 1, ptr %0, align 8, !tbaa !10
%14 = call i32 @igb_check_polarity_igp(ptr noundef nonnull %0) #3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %63
16: ; preds = %13
%17 = getelementptr inbounds i8, ptr %0, i64 32
%18 = load ptr, ptr %17, align 8, !tbaa !14
%19 = load i32, ptr @IGP01E1000_PHY_PORT_STATUS, align 4, !tbaa !6
%20 = call i32 %18(ptr noundef nonnull %0, i32 noundef %19, ptr noundef nonnull %2) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %63
22: ; preds = %16
%23 = load i32, ptr %2, align 4, !tbaa !6
%24 = load i32, ptr @IGP01E1000_PSSR_MDIX, align 4, !tbaa !6
%25 = and i32 %24, %23
%26 = icmp ne i32 %25, 0
%27 = zext i1 %26 to i32
%28 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %27, ptr %28, align 4, !tbaa !15
%29 = load i32, ptr @IGP01E1000_PSSR_SPEED_MASK, align 4, !tbaa !6
%30 = and i32 %29, %23
%31 = load i32, ptr @IGP01E1000_PSSR_SPEED_1000MBPS, align 4, !tbaa !6
%32 = icmp eq i32 %30, %31
br i1 %32, label %33, label %57
33: ; preds = %22
%34 = getelementptr inbounds i8, ptr %0, i64 40
%35 = load ptr, ptr %34, align 8, !tbaa !16
%36 = call i32 %35(ptr noundef nonnull %0) #3
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %63
38: ; preds = %33
%39 = load ptr, ptr %17, align 8, !tbaa !14
%40 = load i32, ptr @PHY_1000T_STATUS, align 4, !tbaa !6
%41 = call i32 %39(ptr noundef nonnull %0, i32 noundef %40, ptr noundef nonnull %2) #3
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %63
43: ; preds = %38
%44 = load i32, ptr %2, align 4, !tbaa !6
%45 = load i32, ptr @SR_1000T_LOCAL_RX_STATUS, align 4, !tbaa !6
%46 = and i32 %45, %44
%47 = icmp eq i32 %46, 0
%48 = load ptr, ptr @e1000_1000t_rx_status_ok, align 8
%49 = load ptr, ptr @e1000_1000t_rx_status_not_ok, align 8
%50 = select i1 %47, ptr %49, ptr %48
%51 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %50, ptr %51, align 8, !tbaa !17
%52 = load i32, ptr @SR_1000T_REMOTE_RX_STATUS, align 4, !tbaa !6
%53 = and i32 %52, %44
%54 = icmp eq i32 %53, 0
%55 = select i1 %54, ptr %49, ptr %48
%56 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %55, ptr %56, align 8, !tbaa !18
br label %63
57: ; preds = %22
%58 = load i32, ptr @E1000_CABLE_LENGTH_UNDEFINED, align 4, !tbaa !6
%59 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %58, ptr %59, align 8, !tbaa !19
%60 = load ptr, ptr @e1000_1000t_rx_status_undefined, align 8, !tbaa !20
%61 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %60, ptr %61, align 8, !tbaa !17
%62 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %60, ptr %62, align 8, !tbaa !18
br label %63
63: ; preds = %43, %57, %38, %33, %16, %13, %1, %9
%64 = phi i32 [ %4, %1 ], [ %14, %13 ], [ %20, %16 ], [ %36, %33 ], [ %41, %38 ], [ 0, %43 ], [ 0, %57 ], [ %12, %9 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %64
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @igb_phy_has_link(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @hw_dbg(ptr noundef) local_unnamed_addr #2
declare i32 @igb_check_polarity_igp(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"e1000_phy_info", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !7, i64 24, !13, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!14 = !{!11, !12, i64 32}
!15 = !{!11, !7, i64 4}
!16 = !{!11, !12, i64 40}
!17 = !{!11, !12, i64 16}
!18 = !{!11, !12, i64 8}
!19 = !{!11, !7, i64 24}
!20 = !{!12, !12, i64 0}
| fastsocket_kernel_drivers_net_igb_extr_e1000_phy.c_igb_get_phy_info_igp |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/jpeg-6/extr_jdapimin.c_jpeg_has_multiple_scans.c'
source_filename = "AnghaBench/Quake-III-Arena/code/jpeg-6/extr_jdapimin.c_jpeg_has_multiple_scans.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i64, ptr }
@DSTATE_READY = dso_local local_unnamed_addr global i64 0, align 8
@DSTATE_STOPPING = dso_local local_unnamed_addr global i64 0, align 8
@JERR_BAD_STATE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @jpeg_has_multiple_scans(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @DSTATE_READY, align 8, !tbaa !11
%4 = icmp slt i64 %2, %3
%5 = load i64, ptr @DSTATE_STOPPING, align 8
%6 = icmp sgt i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @JERR_BAD_STATE, align 4, !tbaa !12
%10 = tail call i32 @ERREXIT1(ptr noundef nonnull %0, i32 noundef %9, i64 noundef %2) #2
br label %11
11: ; preds = %1, %8
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i32, ptr %13, align 4, !tbaa !15
ret i32 %14
}
declare i32 @ERREXIT1(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_5__", !13, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/jpeg-6/extr_jdapimin.c_jpeg_has_multiple_scans.c'
source_filename = "AnghaBench/Quake-III-Arena/code/jpeg-6/extr_jdapimin.c_jpeg_has_multiple_scans.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DSTATE_READY = common local_unnamed_addr global i64 0, align 8
@DSTATE_STOPPING = common local_unnamed_addr global i64 0, align 8
@JERR_BAD_STATE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @jpeg_has_multiple_scans(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @DSTATE_READY, align 8, !tbaa !12
%4 = icmp slt i64 %2, %3
%5 = load i64, ptr @DSTATE_STOPPING, align 8
%6 = icmp sgt i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr @JERR_BAD_STATE, align 4, !tbaa !13
%10 = tail call i32 @ERREXIT1(ptr noundef nonnull %0, i32 noundef %9, i64 noundef %2) #2
br label %11
11: ; preds = %1, %8
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load i32, ptr %13, align 4, !tbaa !16
ret i32 %14
}
declare i32 @ERREXIT1(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_5__", !14, i64 0}
| Quake-III-Arena_code_jpeg-6_extr_jdapimin.c_jpeg_has_multiple_scans |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_store_fan_min.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_store_fan_min.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.w83627ehf_data = type { ptr, ptr, i32, ptr, i32, ptr, i32 }
@.str = private unnamed_addr constant [36 x i8] c"fan%u low limit and alarm disabled\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"fan%u low limit %lu below minimum %u, set to minimum\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"fan%u low limit %lu above maximum %u, set to maximum\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"fan%u clock divider changed from %u to %u\0A\00", align 1
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_fan_min], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @store_fan_min(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%7 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%8 = load i32, ptr %7, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%9 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %133, label %11
11: ; preds = %4
%12 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 2
%13 = call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 6
%15 = load i32, ptr %14, align 8, !tbaa !10
%16 = icmp eq i32 %15, 0
%17 = load i64, ptr %5, align 8, !tbaa !13
%18 = icmp eq i64 %17, 0
br i1 %16, label %19, label %35
19: ; preds = %11
br i1 %18, label %30, label %20
20: ; preds = %19
%21 = icmp ugt i64 %17, 1350000
%22 = trunc i64 %17 to i32
%23 = select i1 %21, i32 135000, i32 %22
%24 = udiv i32 1350000, %23
%25 = zext nneg i32 %24 to i64
%26 = and i64 %25, 31
%27 = shl nuw nsw i64 %25, 3
%28 = and i64 %27, 65280
%29 = or disjoint i64 %28, %26
br label %30
30: ; preds = %19, %20
%31 = phi i64 [ %29, %20 ], [ 65311, %19 ]
store i64 %31, ptr %5, align 8, !tbaa !13
%32 = load ptr, ptr %6, align 8, !tbaa !15
%33 = sext i32 %8 to i64
%34 = getelementptr inbounds i64, ptr %32, i64 %33
store i64 %31, ptr %34, align 8, !tbaa !13
br label %120
35: ; preds = %11
br i1 %18, label %36, label %46
36: ; preds = %35
%37 = load ptr, ptr %6, align 8, !tbaa !15
%38 = sext i32 %8 to i64
%39 = getelementptr inbounds i64, ptr %37, i64 %38
store i64 255, ptr %39, align 8, !tbaa !13
%40 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 1
%41 = load ptr, ptr %40, align 8, !tbaa !16
%42 = getelementptr inbounds i32, ptr %41, i64 %38
%43 = load i32, ptr %42, align 4, !tbaa !17
%44 = add nsw i32 %8, 1
%45 = call i32 @dev_info(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %44) #3
br label %102
46: ; preds = %35
%47 = udiv i64 1350000, %17
%48 = trunc i64 %47 to i32
%49 = icmp ugt i32 %48, 32639
br i1 %49, label %50, label %60
50: ; preds = %46
%51 = load ptr, ptr %6, align 8, !tbaa !15
%52 = sext i32 %8 to i64
%53 = getelementptr inbounds i64, ptr %51, i64 %52
store i64 254, ptr %53, align 8, !tbaa !13
%54 = add nsw i32 %8, 1
%55 = load i64, ptr %5, align 8, !tbaa !13
%56 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 5
%57 = load ptr, ptr %56, align 8, !tbaa !18
%58 = call i32 %57(i32 noundef 254, i32 noundef 7) #3
%59 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %54, i64 noundef %55, i32 noundef %58) #3
br label %102
60: ; preds = %46
%61 = icmp eq i32 %48, 0
br i1 %61, label %64, label %62
62: ; preds = %60
%63 = icmp ugt i32 %48, 192
br i1 %63, label %74, label %95
64: ; preds = %60
%65 = load ptr, ptr %6, align 8, !tbaa !15
%66 = sext i32 %8 to i64
%67 = getelementptr inbounds i64, ptr %65, i64 %66
store i64 1, ptr %67, align 8, !tbaa !13
%68 = add nsw i32 %8, 1
%69 = load i64, ptr %5, align 8, !tbaa !13
%70 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 5
%71 = load ptr, ptr %70, align 8, !tbaa !18
%72 = call i32 %71(i32 noundef 1, i32 noundef 0) #3
%73 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %68, i64 noundef %69, i32 noundef %72) #3
br label %102
74: ; preds = %62
%75 = lshr i32 %48, 1
%76 = icmp ugt i32 %48, 385
br i1 %76, label %77, label %95, !llvm.loop !19
77: ; preds = %74
%78 = lshr i32 %48, 2
%79 = icmp ugt i32 %48, 771
br i1 %79, label %80, label %95, !llvm.loop !19
80: ; preds = %77
%81 = lshr i32 %48, 3
%82 = icmp ugt i32 %48, 1543
br i1 %82, label %83, label %95, !llvm.loop !19
83: ; preds = %80
%84 = lshr i32 %48, 4
%85 = icmp ugt i32 %48, 3087
br i1 %85, label %86, label %95, !llvm.loop !19
86: ; preds = %83
%87 = lshr i32 %48, 5
%88 = icmp ugt i32 %48, 6175
br i1 %88, label %89, label %95, !llvm.loop !19
89: ; preds = %86
%90 = lshr i32 %48, 6
%91 = icmp ugt i32 %48, 12351
%92 = lshr i32 %48, 7
%93 = select i1 %91, i32 %92, i32 %90
%94 = select i1 %91, i32 7, i32 6
br label %95, !llvm.loop !19
95: ; preds = %89, %74, %77, %80, %83, %86, %62
%96 = phi i32 [ %48, %62 ], [ %75, %74 ], [ %78, %77 ], [ %81, %80 ], [ %84, %83 ], [ %87, %86 ], [ %93, %89 ]
%97 = phi i32 [ 0, %62 ], [ 1, %74 ], [ 2, %77 ], [ 3, %80 ], [ 4, %83 ], [ 5, %86 ], [ %94, %89 ]
%98 = zext nneg i32 %96 to i64
%99 = load ptr, ptr %6, align 8, !tbaa !15
%100 = sext i32 %8 to i64
%101 = getelementptr inbounds i64, ptr %99, i64 %100
store i64 %98, ptr %101, align 8, !tbaa !13
br label %102
102: ; preds = %50, %95, %64, %36
%103 = phi i64 [ %52, %50 ], [ %100, %95 ], [ %66, %64 ], [ %38, %36 ]
%104 = phi i32 [ 7, %50 ], [ %97, %95 ], [ 0, %64 ], [ %43, %36 ]
%105 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 1
%106 = load ptr, ptr %105, align 8, !tbaa !16
%107 = getelementptr inbounds i32, ptr %106, i64 %103
%108 = load i32, ptr %107, align 4, !tbaa !17
%109 = icmp eq i32 %104, %108
br i1 %109, label %120, label %110
110: ; preds = %102
%111 = add nsw i32 %8, 1
%112 = call i32 @div_from_reg(i32 noundef %108) #3
%113 = call i32 @div_from_reg(i32 noundef %104) #3
%114 = call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %111, i32 noundef %112, i32 noundef %113) #3
%115 = load ptr, ptr %105, align 8, !tbaa !16
%116 = getelementptr inbounds i32, ptr %115, i64 %103
store i32 %104, ptr %116, align 4, !tbaa !17
%117 = call i32 @w83627ehf_write_fan_div_common(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %8) #3
%118 = load i32, ptr @jiffies, align 4, !tbaa !17
%119 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 4
store i32 %118, ptr %119, align 8, !tbaa !21
br label %120
120: ; preds = %102, %110, %30
%121 = phi i64 [ %103, %102 ], [ %103, %110 ], [ %33, %30 ]
%122 = getelementptr inbounds %struct.w83627ehf_data, ptr %6, i64 0, i32 3
%123 = load ptr, ptr %122, align 8, !tbaa !22
%124 = getelementptr inbounds i32, ptr %123, i64 %121
%125 = load i32, ptr %124, align 4, !tbaa !17
%126 = load ptr, ptr %6, align 8, !tbaa !15
%127 = getelementptr inbounds i64, ptr %126, i64 %121
%128 = load i64, ptr %127, align 8, !tbaa !13
%129 = trunc i64 %128 to i32
%130 = call i32 @w83627ehf_write_value(ptr noundef nonnull %6, i32 noundef %125, i32 noundef %129) #3
%131 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%132 = trunc i64 %3 to i32
br label %133
133: ; preds = %4, %120
%134 = phi i32 [ %132, %120 ], [ %9, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %134
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @div_from_reg(i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_fan_div_common(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sensor_device_attribute", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 48}
!11 = !{!"w83627ehf_data", !12, i64 0, !12, i64 8, !7, i64 16, !12, i64 24, !7, i64 32, !12, i64 40, !7, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{!11, !12, i64 40}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!11, !7, i64 32}
!22 = !{!11, !12, i64 24}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_store_fan_min.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_w83627ehf.c_store_fan_min.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [36 x i8] c"fan%u low limit and alarm disabled\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"fan%u low limit %lu below minimum %u, set to minimum\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"fan%u low limit %lu above maximum %u, set to maximum\0A\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"fan%u clock divider changed from %u to %u\0A\00", align 1
@jiffies = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @store_fan_min], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @store_fan_min(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%7 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%8 = load i32, ptr %7, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%9 = call i32 @kstrtoul(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %133, label %11
11: ; preds = %4
%12 = getelementptr inbounds i8, ptr %6, i64 16
%13 = call i32 @mutex_lock(ptr noundef nonnull %12) #3
%14 = getelementptr inbounds i8, ptr %6, i64 48
%15 = load i32, ptr %14, align 8, !tbaa !11
%16 = icmp eq i32 %15, 0
%17 = load i64, ptr %5, align 8, !tbaa !14
%18 = icmp eq i64 %17, 0
br i1 %16, label %19, label %35
19: ; preds = %11
br i1 %18, label %30, label %20
20: ; preds = %19
%21 = icmp ugt i64 %17, 1350000
%22 = trunc i64 %17 to i32
%23 = select i1 %21, i32 135000, i32 %22
%24 = udiv i32 1350000, %23
%25 = zext nneg i32 %24 to i64
%26 = and i64 %25, 31
%27 = shl nuw nsw i64 %25, 3
%28 = and i64 %27, 65280
%29 = or disjoint i64 %28, %26
br label %30
30: ; preds = %19, %20
%31 = phi i64 [ %29, %20 ], [ 65311, %19 ]
store i64 %31, ptr %5, align 8, !tbaa !14
%32 = load ptr, ptr %6, align 8, !tbaa !16
%33 = sext i32 %8 to i64
%34 = getelementptr inbounds i64, ptr %32, i64 %33
store i64 %31, ptr %34, align 8, !tbaa !14
br label %120
35: ; preds = %11
br i1 %18, label %36, label %46
36: ; preds = %35
%37 = load ptr, ptr %6, align 8, !tbaa !16
%38 = sext i32 %8 to i64
%39 = getelementptr inbounds i64, ptr %37, i64 %38
store i64 255, ptr %39, align 8, !tbaa !14
%40 = getelementptr inbounds i8, ptr %6, i64 8
%41 = load ptr, ptr %40, align 8, !tbaa !17
%42 = getelementptr inbounds i32, ptr %41, i64 %38
%43 = load i32, ptr %42, align 4, !tbaa !18
%44 = add nsw i32 %8, 1
%45 = call i32 @dev_info(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %44) #3
br label %102
46: ; preds = %35
%47 = icmp ult i64 %17, 42
br i1 %47, label %48, label %58
48: ; preds = %46
%49 = load ptr, ptr %6, align 8, !tbaa !16
%50 = sext i32 %8 to i64
%51 = getelementptr inbounds i64, ptr %49, i64 %50
store i64 254, ptr %51, align 8, !tbaa !14
%52 = add nsw i32 %8, 1
%53 = load i64, ptr %5, align 8, !tbaa !14
%54 = getelementptr inbounds i8, ptr %6, i64 40
%55 = load ptr, ptr %54, align 8, !tbaa !19
%56 = call i32 %55(i32 noundef 254, i32 noundef 7) #3
%57 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %52, i64 noundef %53, i32 noundef %56) #3
br label %102
58: ; preds = %46
%59 = icmp ugt i64 %17, 1350000
br i1 %59, label %64, label %60
60: ; preds = %58
%61 = trunc nuw i64 %17 to i32
%62 = udiv i32 1350000, %61
%63 = icmp ult i64 %17, 6995
br i1 %63, label %74, label %95
64: ; preds = %58
%65 = load ptr, ptr %6, align 8, !tbaa !16
%66 = sext i32 %8 to i64
%67 = getelementptr inbounds i64, ptr %65, i64 %66
store i64 1, ptr %67, align 8, !tbaa !14
%68 = add nsw i32 %8, 1
%69 = load i64, ptr %5, align 8, !tbaa !14
%70 = getelementptr inbounds i8, ptr %6, i64 40
%71 = load ptr, ptr %70, align 8, !tbaa !19
%72 = call i32 %71(i32 noundef 1, i32 noundef 0) #3
%73 = call i32 @dev_warn(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %68, i64 noundef %69, i32 noundef %72) #3
br label %102
74: ; preds = %60
%75 = lshr i32 %62, 1
%76 = icmp ult i64 %17, 3498
br i1 %76, label %77, label %95, !llvm.loop !20
77: ; preds = %74
%78 = lshr i32 %62, 2
%79 = icmp ult i64 %17, 1749
br i1 %79, label %80, label %95, !llvm.loop !20
80: ; preds = %77
%81 = lshr i32 %62, 3
%82 = icmp ult i64 %17, 875
br i1 %82, label %83, label %95, !llvm.loop !20
83: ; preds = %80
%84 = lshr i32 %62, 4
%85 = icmp ult i64 %17, 438
br i1 %85, label %86, label %95, !llvm.loop !20
86: ; preds = %83
%87 = lshr i32 %62, 5
%88 = icmp ult i64 %17, 219
br i1 %88, label %89, label %95, !llvm.loop !20
89: ; preds = %86
%90 = lshr i32 %62, 6
%91 = icmp ult i64 %17, 110
%92 = lshr i32 %62, 7
%93 = select i1 %91, i32 %92, i32 %90
%94 = select i1 %91, i32 7, i32 6
br label %95, !llvm.loop !20
95: ; preds = %89, %74, %77, %80, %83, %86, %60
%96 = phi i32 [ %62, %60 ], [ %75, %74 ], [ %78, %77 ], [ %81, %80 ], [ %84, %83 ], [ %87, %86 ], [ %93, %89 ]
%97 = phi i32 [ 0, %60 ], [ 1, %74 ], [ 2, %77 ], [ 3, %80 ], [ 4, %83 ], [ 5, %86 ], [ %94, %89 ]
%98 = zext nneg i32 %96 to i64
%99 = load ptr, ptr %6, align 8, !tbaa !16
%100 = sext i32 %8 to i64
%101 = getelementptr inbounds i64, ptr %99, i64 %100
store i64 %98, ptr %101, align 8, !tbaa !14
br label %102
102: ; preds = %48, %95, %64, %36
%103 = phi i64 [ %50, %48 ], [ %100, %95 ], [ %66, %64 ], [ %38, %36 ]
%104 = phi i32 [ 7, %48 ], [ %97, %95 ], [ 0, %64 ], [ %43, %36 ]
%105 = getelementptr inbounds i8, ptr %6, i64 8
%106 = load ptr, ptr %105, align 8, !tbaa !17
%107 = getelementptr inbounds i32, ptr %106, i64 %103
%108 = load i32, ptr %107, align 4, !tbaa !18
%109 = icmp eq i32 %104, %108
br i1 %109, label %120, label %110
110: ; preds = %102
%111 = add nsw i32 %8, 1
%112 = call i32 @div_from_reg(i32 noundef %108) #3
%113 = call i32 @div_from_reg(i32 noundef %104) #3
%114 = call i32 @dev_dbg(ptr noundef %0, ptr noundef nonnull @.str.3, i32 noundef %111, i32 noundef %112, i32 noundef %113) #3
%115 = load ptr, ptr %105, align 8, !tbaa !17
%116 = getelementptr inbounds i32, ptr %115, i64 %103
store i32 %104, ptr %116, align 4, !tbaa !18
%117 = call i32 @w83627ehf_write_fan_div_common(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %8) #3
%118 = load i32, ptr @jiffies, align 4, !tbaa !18
%119 = getelementptr inbounds i8, ptr %6, i64 32
store i32 %118, ptr %119, align 8, !tbaa !22
br label %120
120: ; preds = %102, %110, %30
%121 = phi i64 [ %103, %102 ], [ %103, %110 ], [ %33, %30 ]
%122 = getelementptr inbounds i8, ptr %6, i64 24
%123 = load ptr, ptr %122, align 8, !tbaa !23
%124 = getelementptr inbounds i32, ptr %123, i64 %121
%125 = load i32, ptr %124, align 4, !tbaa !18
%126 = load ptr, ptr %6, align 8, !tbaa !16
%127 = getelementptr inbounds i64, ptr %126, i64 %121
%128 = load i64, ptr %127, align 8, !tbaa !14
%129 = trunc i64 %128 to i32
%130 = call i32 @w83627ehf_write_value(ptr noundef nonnull %6, i32 noundef %125, i32 noundef %129) #3
%131 = call i32 @mutex_unlock(ptr noundef nonnull %12) #3
%132 = trunc i64 %3 to i32
br label %133
133: ; preds = %4, %120
%134 = phi i32 [ %132, %120 ], [ %9, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %134
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtoul(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @div_from_reg(i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_fan_div_common(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @w83627ehf_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sensor_device_attribute", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 48}
!12 = !{!"w83627ehf_data", !13, i64 0, !13, i64 8, !8, i64 16, !13, i64 24, !8, i64 32, !13, i64 40, !8, i64 48}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !13, i64 0}
!17 = !{!12, !13, i64 8}
!18 = !{!8, !8, i64 0}
!19 = !{!12, !13, i64 40}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !8, i64 32}
!23 = !{!12, !13, i64 24}
| linux_drivers_hwmon_extr_w83627ehf.c_store_fan_min |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_mii_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_mii_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"
@XGBE_CONN_TYPE_SFP = dso_local local_unnamed_addr global i32 0, align 4
@XGBE_CONN_TYPE_MDIO = dso_local local_unnamed_addr global i32 0, align 4
@ENOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xgbe_phy_mii_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @xgbe_phy_mii_read(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 @xgbe_phy_get_comm_ownership(ptr noundef nonnull %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %3
%9 = load i32, ptr %5, align 4, !tbaa !12
%10 = load i32, ptr @XGBE_CONN_TYPE_SFP, align 4, !tbaa !15
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @xgbe_phy_i2c_mii_read(ptr noundef nonnull %4, i32 noundef %2) #2
br label %23
14: ; preds = %8
%15 = load i32, ptr @XGBE_CONN_TYPE_MDIO, align 4, !tbaa !15
%16 = and i32 %15, %9
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @xgbe_phy_mdio_mii_read(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %2) #2
br label %23
20: ; preds = %14
%21 = load i32, ptr @ENOTSUPP, align 4, !tbaa !15
%22 = sub nsw i32 0, %21
br label %23
23: ; preds = %18, %20, %12
%24 = phi i32 [ %13, %12 ], [ %19, %18 ], [ %22, %20 ]
%25 = tail call i32 @xgbe_phy_put_comm_ownership(ptr noundef nonnull %4) #2
br label %26
26: ; preds = %3, %23
%27 = phi i32 [ %24, %23 ], [ %6, %3 ]
ret i32 %27
}
declare i32 @xgbe_phy_get_comm_ownership(ptr noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_i2c_mii_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_mdio_mii_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_put_comm_ownership(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 = !{!"mii_bus", !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 = !{!"xgbe_prv_data", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"xgbe_phy_data", !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_mii_read.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-phy-v2.c_xgbe_phy_mii_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XGBE_CONN_TYPE_SFP = common local_unnamed_addr global i32 0, align 4
@XGBE_CONN_TYPE_MDIO = common local_unnamed_addr global i32 0, align 4
@ENOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xgbe_phy_mii_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @xgbe_phy_mii_read(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @xgbe_phy_get_comm_ownership(ptr noundef nonnull %4) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %3
%9 = load i32, ptr %5, align 4, !tbaa !13
%10 = load i32, ptr @XGBE_CONN_TYPE_SFP, align 4, !tbaa !16
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @xgbe_phy_i2c_mii_read(ptr noundef nonnull %4, i32 noundef %2) #2
br label %23
14: ; preds = %8
%15 = load i32, ptr @XGBE_CONN_TYPE_MDIO, align 4, !tbaa !16
%16 = and i32 %15, %9
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %14
%19 = tail call i32 @xgbe_phy_mdio_mii_read(ptr noundef nonnull %4, i32 noundef %1, i32 noundef %2) #2
br label %23
20: ; preds = %14
%21 = load i32, ptr @ENOTSUPP, align 4, !tbaa !16
%22 = sub nsw i32 0, %21
br label %23
23: ; preds = %18, %20, %12
%24 = phi i32 [ %13, %12 ], [ %19, %18 ], [ %22, %20 ]
%25 = tail call i32 @xgbe_phy_put_comm_ownership(ptr noundef nonnull %4) #2
br label %26
26: ; preds = %3, %23
%27 = phi i32 [ %24, %23 ], [ %6, %3 ]
ret i32 %27
}
declare i32 @xgbe_phy_get_comm_ownership(ptr noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_i2c_mii_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_mdio_mii_read(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @xgbe_phy_put_comm_ownership(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 = !{!"mii_bus", !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 = !{!"xgbe_prv_data", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"xgbe_phy_data", !15, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!15, !15, i64 0}
| linux_drivers_net_ethernet_amd_xgbe_extr_xgbe-phy-v2.c_xgbe_phy_mii_read |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_viopath.c_viopath_donealloc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_viopath.c_viopath_donealloc.c"
target datalayout = "e-m:e-p270:32:32-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.alloc_parms = type { i32, i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @viopath_donealloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @viopath_donealloc(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.alloc_parms, ptr %0, i64 0, i32 3
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = getelementptr inbounds %struct.alloc_parms, ptr %0, i64 0, i32 2
%8 = tail call i32 @atomic_set(ptr noundef nonnull %7, i32 noundef 0) #2
br label %12
9: ; preds = %2
%10 = getelementptr inbounds %struct.alloc_parms, ptr %0, i64 0, i32 1
%11 = tail call i32 @complete(ptr noundef nonnull %10) #2
br label %12
12: ; preds = %9, %6
ret void
}
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"alloc_parms", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_viopath.c_viopath_donealloc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_viopath.c_viopath_donealloc.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 @viopath_donealloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @viopath_donealloc(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !12
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = tail call i32 @atomic_set(ptr noundef nonnull %7, i32 noundef 0) #2
br label %12
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = tail call i32 @complete(ptr noundef nonnull %10) #2
br label %12
12: ; preds = %9, %6
ret void
}
declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @complete(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 = !{!"alloc_parms", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !11, i64 16}
| fastsocket_kernel_arch_powerpc_platforms_iseries_extr_viopath.c_viopath_donealloc |
; ModuleID = 'AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_dataBufferAppend.c'
source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_dataBufferAppend.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dataBufferAppend], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dataBufferAppend(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
%5 = icmp ne ptr %1, null
%6 = and i1 %5, %4
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #2
%9 = tail call i32 @dataBufferExpand(ptr noundef %0, i32 noundef %2) #2
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !5
%12 = load i64, ptr %0, align 8, !tbaa !10
%13 = add nsw i64 %12, %11
%14 = tail call i32 @memcpy(i64 noundef %13, ptr noundef %1, i32 noundef %2) #2
%15 = sext i32 %2 to i64
%16 = load i64, ptr %0, align 8, !tbaa !10
%17 = add nsw i64 %16, %15
store i64 %17, ptr %0, align 8, !tbaa !10
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @dataBufferExpand(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 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 8}
!6 = !{!"TYPE_4__", !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 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_dataBufferAppend.c'
source_filename = "AnghaBench/sqlcipher/ext/fts2/extr_fts2.c_dataBufferAppend.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 @dataBufferAppend], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dataBufferAppend(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
%5 = icmp ne ptr %1, null
%6 = and i1 %5, %4
%7 = zext i1 %6 to i32
%8 = tail call i32 @assert(i32 noundef %7) #2
%9 = tail call i32 @dataBufferExpand(ptr noundef %0, i32 noundef %2) #2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !6
%12 = load i64, ptr %0, align 8, !tbaa !11
%13 = add nsw i64 %12, %11
%14 = tail call i32 @memcpy(i64 noundef %13, ptr noundef %1, i32 noundef %2) #2
%15 = sext i32 %2 to i64
%16 = load i64, ptr %0, align 8, !tbaa !11
%17 = add nsw i64 %16, %15
store i64 %17, ptr %0, align 8, !tbaa !11
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @dataBufferExpand(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i64 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 8}
!7 = !{!"TYPE_4__", !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 0}
| sqlcipher_ext_fts2_extr_fts2.c_dataBufferAppend |
; ModuleID = 'AnghaBench/freebsd/lib/libopenbsd/extr_ohash.c_ohash_delete.c'
source_filename = "AnghaBench/freebsd/lib/libopenbsd/extr_ohash.c_ohash_delete.c"
target datalayout = "e-m:e-p270:32:32-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.ohash = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @ohash_delete(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.ohash, ptr %0, i64 0, i32 1
%3 = getelementptr inbounds %struct.ohash, ptr %0, i64 0, i32 1, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %0, align 8, !tbaa !12
%6 = load i32, ptr %2, align 8, !tbaa !13
%7 = tail call i32 %4(ptr noundef %5, i32 noundef %6) #1
store ptr null, ptr %0, align 8, !tbaa !12
ret void
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"ohash", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !11, i64 0, !7, i64 8}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !11, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/lib/libopenbsd/extr_ohash.c_ohash_delete.c'
source_filename = "AnghaBench/freebsd/lib/libopenbsd/extr_ohash.c_ohash_delete.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 @ohash_delete(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %0, align 8, !tbaa !13
%6 = load i32, ptr %2, align 8, !tbaa !14
%7 = tail call i32 %4(ptr noundef %5, i32 noundef %6) #1
store ptr null, ptr %0, align 8, !tbaa !13
ret void
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"ohash", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !12, i64 0, !8, i64 8}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!7, !12, i64 8}
| freebsd_lib_libopenbsd_extr_ohash.c_ohash_delete |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_exec.c_flush_old_exec.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_exec.c_flush_old_exec.c"
target datalayout = "e-m:e-p270:32:32-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.linux_binprm = type { i32, ptr, i32 }
%struct.TYPE_3__ = type { i32, i32 }
@current = dso_local local_unnamed_addr global ptr null, align 8
@PF_RANDOMIZE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @flush_old_exec(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current, align 8, !tbaa !5
%3 = tail call i32 @de_thread(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %28
5: ; preds = %1
%6 = getelementptr inbounds %struct.linux_binprm, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.linux_binprm, ptr %0, i64 0, i32 2
%9 = load i32, ptr %8, align 8, !tbaa !12
%10 = tail call i32 @set_mm_exe_file(ptr noundef %7, i32 noundef %9) #2
%11 = tail call i32 @acct_arg_size(ptr noundef %0, i32 noundef 0) #2
%12 = load ptr, ptr %6, align 8, !tbaa !9
%13 = tail call i32 @exec_mmap(ptr noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %28
15: ; preds = %5
store ptr null, ptr %6, align 8, !tbaa !9
%16 = load i32, ptr @PF_RANDOMIZE, align 4, !tbaa !13
%17 = xor i32 %16, -1
%18 = load ptr, ptr @current, align 8, !tbaa !5
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !14
%21 = and i32 %20, %17
store i32 %21, ptr %19, align 4, !tbaa !14
%22 = tail call i32 (...) @flush_thread() #2
%23 = load i32, ptr %0, align 8, !tbaa !16
%24 = xor i32 %23, -1
%25 = load ptr, ptr @current, align 8, !tbaa !5
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = and i32 %26, %24
store i32 %27, ptr %25, align 4, !tbaa !17
br label %28
28: ; preds = %1, %5, %15
%29 = phi i32 [ 0, %15 ], [ %3, %1 ], [ %13, %5 ]
ret i32 %29
}
declare i32 @de_thread(ptr noundef) local_unnamed_addr #1
declare i32 @set_mm_exe_file(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @acct_arg_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @exec_mmap(ptr noundef) local_unnamed_addr #1
declare i32 @flush_thread(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 8}
!10 = !{!"linux_binprm", !11, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 4}
!15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4}
!16 = !{!10, !11, i64 0}
!17 = !{!15, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_exec.c_flush_old_exec.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/extr_exec.c_flush_old_exec.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@current = common local_unnamed_addr global ptr null, align 8
@PF_RANDOMIZE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @flush_old_exec(ptr noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @current, align 8, !tbaa !6
%3 = tail call i32 @de_thread(ptr noundef %2) #2
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %28
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %0, i64 16
%9 = load i32, ptr %8, align 8, !tbaa !13
%10 = tail call i32 @set_mm_exe_file(ptr noundef %7, i32 noundef %9) #2
%11 = tail call i32 @acct_arg_size(ptr noundef %0, i32 noundef 0) #2
%12 = load ptr, ptr %6, align 8, !tbaa !10
%13 = tail call i32 @exec_mmap(ptr noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %28
15: ; preds = %5
store ptr null, ptr %6, align 8, !tbaa !10
%16 = load i32, ptr @PF_RANDOMIZE, align 4, !tbaa !14
%17 = xor i32 %16, -1
%18 = load ptr, ptr @current, align 8, !tbaa !6
%19 = getelementptr inbounds i8, ptr %18, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !15
%21 = and i32 %20, %17
store i32 %21, ptr %19, align 4, !tbaa !15
%22 = tail call i32 @flush_thread() #2
%23 = load i32, ptr %0, align 8, !tbaa !17
%24 = xor i32 %23, -1
%25 = load ptr, ptr @current, align 8, !tbaa !6
%26 = load i32, ptr %25, align 4, !tbaa !18
%27 = and i32 %26, %24
store i32 %27, ptr %25, align 4, !tbaa !18
br label %28
28: ; preds = %1, %5, %15
%29 = phi i32 [ 0, %15 ], [ %3, %1 ], [ %13, %5 ]
ret i32 %29
}
declare i32 @de_thread(ptr noundef) local_unnamed_addr #1
declare i32 @set_mm_exe_file(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @acct_arg_size(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @exec_mmap(ptr noundef) local_unnamed_addr #1
declare i32 @flush_thread(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 8}
!11 = !{!"linux_binprm", !12, i64 0, !7, i64 8, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 4}
!16 = !{!"TYPE_3__", !12, i64 0, !12, i64 4}
!17 = !{!11, !12, i64 0}
!18 = !{!16, !12, i64 0}
| fastsocket_kernel_fs_extr_exec.c_flush_old_exec |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_nvm.c_iwl_mvm_init_mcc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_nvm.c_iwl_mvm_init_mcc.c"
target datalayout = "e-m:e-p270:32:32-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.iwl_mvm = type { i32, ptr, i32, ptr, ptr, ptr }
@IWL_NVM_EXT = dso_local local_unnamed_addr global i64 0, align 8
@IWL_UCODE_TLV_CAPA_LAR_SUPPORT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [70 x i8] c"Conflict between TLV & NVM regarding enabling LAR (TLV = %s NVM =%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@ENOENT = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@MCC_SOURCE_BIOS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @iwl_mvm_init_mcc(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [3 x i8], align 1
call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %2) #3
%3 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr %4, align 8, !tbaa !11
%6 = load i64, ptr @IWL_NVM_EXT, align 8, !tbaa !14
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %23
8: ; preds = %1
%9 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 4
%10 = load ptr, ptr %9, align 8, !tbaa !15
%11 = load i32, ptr @IWL_UCODE_TLV_CAPA_LAR_SUPPORT, align 4, !tbaa !16
%12 = tail call i32 @fw_has_capa(ptr noundef %10, i32 noundef %11) #3
%13 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 3
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr %14, align 4, !tbaa !18
%16 = icmp eq i32 %12, %15
br i1 %16, label %23, label %17
17: ; preds = %8
%18 = icmp eq i32 %12, 0
%19 = select i1 %18, ptr @.str.2, ptr @.str.1
%20 = icmp eq i32 %15, 0
%21 = select i1 %20, ptr @.str.2, ptr @.str.1
%22 = tail call i32 @IWL_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %19, ptr noundef nonnull %21) #3
br label %23
23: ; preds = %8, %17, %1
%24 = tail call i32 @iwl_mvm_is_lar_supported(ptr noundef nonnull %0) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %65, label %26
26: ; preds = %23
%27 = tail call i32 @iwl_mvm_init_fw_regd(ptr noundef nonnull %0) #3
%28 = load i32, ptr @ENOENT, align 4, !tbaa !16
%29 = sub nsw i32 0, %28
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %65
31: ; preds = %26
store i32 0, ptr %0, align 8, !tbaa !20
%32 = tail call ptr @iwl_mvm_get_current_regdomain(ptr noundef nonnull %0, ptr noundef null) #3
%33 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load i32, ptr @EIO, align 4, !tbaa !16
%37 = sub nsw i32 0, %36
br label %65
38: ; preds = %31
%39 = tail call i64 @iwl_mvm_is_wifi_mcc_supported(ptr noundef nonnull %0) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %58, label %41
41: ; preds = %38
%42 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 2
%43 = load i32, ptr %42, align 8, !tbaa !21
%44 = call i32 @iwl_acpi_get_mcc(i32 noundef %43, ptr noundef nonnull %2) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %58
46: ; preds = %41
%47 = call i32 @kfree(ptr noundef %32) #3
%48 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 1
%49 = load ptr, ptr %48, align 8, !tbaa !22
%50 = load i32, ptr %49, align 4, !tbaa !23
%51 = load i32, ptr @MCC_SOURCE_BIOS, align 4, !tbaa !16
%52 = call ptr @iwl_mvm_get_regdomain(i32 noundef %50, ptr noundef nonnull %2, i32 noundef %51, ptr noundef null) #3
%53 = call i64 @IS_ERR_OR_NULL(ptr noundef %52) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %46
%56 = load i32, ptr @EIO, align 4, !tbaa !16
%57 = sub nsw i32 0, %56
br label %65
58: ; preds = %46, %41, %38
%59 = phi ptr [ %32, %41 ], [ %52, %46 ], [ %32, %38 ]
%60 = getelementptr inbounds %struct.iwl_mvm, ptr %0, i64 0, i32 1
%61 = load ptr, ptr %60, align 8, !tbaa !22
%62 = load i32, ptr %61, align 4, !tbaa !23
%63 = call i32 @regulatory_set_wiphy_regd_sync_rtnl(i32 noundef %62, ptr noundef %59) #3
%64 = call i32 @kfree(ptr noundef %59) #3
br label %65
65: ; preds = %26, %23, %58, %55, %35
%66 = phi i32 [ %37, %35 ], [ %63, %58 ], [ %57, %55 ], [ 0, %23 ], [ %27, %26 ]
call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %2) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fw_has_capa(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IWL_INFO(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @iwl_mvm_is_lar_supported(ptr noundef) local_unnamed_addr #2
declare i32 @iwl_mvm_init_fw_regd(ptr noundef) local_unnamed_addr #2
declare ptr @iwl_mvm_get_current_regdomain(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #2
declare i64 @iwl_mvm_is_wifi_mcc_supported(ptr noundef) local_unnamed_addr #2
declare i32 @iwl_acpi_get_mcc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare ptr @iwl_mvm_get_regdomain(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @regulatory_set_wiphy_regd_sync_rtnl(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, !10, i64 40}
!6 = !{!"iwl_mvm", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !10, i64 32}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !10, i64 24}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_7__", !7, i64 0}
!20 = !{!6, !7, i64 0}
!21 = !{!6, !7, i64 16}
!22 = !{!6, !10, i64 8}
!23 = !{!24, !7, i64 0}
!24 = !{!"TYPE_8__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_nvm.c_iwl_mvm_init_mcc.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_nvm.c_iwl_mvm_init_mcc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IWL_NVM_EXT = common local_unnamed_addr global i64 0, align 8
@IWL_UCODE_TLV_CAPA_LAR_SUPPORT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [70 x i8] c"Conflict between TLV & NVM regarding enabling LAR (TLV = %s NVM =%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"enabled\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"disabled\00", align 1
@ENOENT = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@MCC_SOURCE_BIOS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @iwl_mvm_init_mcc(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca [3 x i8], align 1
call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %2) #3
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr %4, align 8, !tbaa !12
%6 = load i64, ptr @IWL_NVM_EXT, align 8, !tbaa !15
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %23
8: ; preds = %1
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = load ptr, ptr %9, align 8, !tbaa !16
%11 = load i32, ptr @IWL_UCODE_TLV_CAPA_LAR_SUPPORT, align 4, !tbaa !17
%12 = tail call i32 @fw_has_capa(ptr noundef %10, i32 noundef %11) #3
%13 = getelementptr inbounds i8, ptr %0, i64 24
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load i32, ptr %14, align 4, !tbaa !19
%16 = icmp eq i32 %12, %15
br i1 %16, label %23, label %17
17: ; preds = %8
%18 = icmp eq i32 %12, 0
%19 = select i1 %18, ptr @.str.2, ptr @.str.1
%20 = icmp eq i32 %15, 0
%21 = select i1 %20, ptr @.str.2, ptr @.str.1
%22 = tail call i32 @IWL_INFO(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef nonnull %19, ptr noundef nonnull %21) #3
br label %23
23: ; preds = %8, %17, %1
%24 = tail call i32 @iwl_mvm_is_lar_supported(ptr noundef nonnull %0) #3
%25 = icmp eq i32 %24, 0
br i1 %25, label %65, label %26
26: ; preds = %23
%27 = tail call i32 @iwl_mvm_init_fw_regd(ptr noundef nonnull %0) #3
%28 = load i32, ptr @ENOENT, align 4, !tbaa !17
%29 = sub nsw i32 0, %28
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %65
31: ; preds = %26
store i32 0, ptr %0, align 8, !tbaa !21
%32 = tail call ptr @iwl_mvm_get_current_regdomain(ptr noundef nonnull %0, ptr noundef null) #3
%33 = tail call i64 @IS_ERR_OR_NULL(ptr noundef %32) #3
%34 = icmp eq i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load i32, ptr @EIO, align 4, !tbaa !17
%37 = sub nsw i32 0, %36
br label %65
38: ; preds = %31
%39 = tail call i64 @iwl_mvm_is_wifi_mcc_supported(ptr noundef nonnull %0) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %58, label %41
41: ; preds = %38
%42 = getelementptr inbounds i8, ptr %0, i64 16
%43 = load i32, ptr %42, align 8, !tbaa !22
%44 = call i32 @iwl_acpi_get_mcc(i32 noundef %43, ptr noundef nonnull %2) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %58
46: ; preds = %41
%47 = call i32 @kfree(ptr noundef %32) #3
%48 = getelementptr inbounds i8, ptr %0, i64 8
%49 = load ptr, ptr %48, align 8, !tbaa !23
%50 = load i32, ptr %49, align 4, !tbaa !24
%51 = load i32, ptr @MCC_SOURCE_BIOS, align 4, !tbaa !17
%52 = call ptr @iwl_mvm_get_regdomain(i32 noundef %50, ptr noundef nonnull %2, i32 noundef %51, ptr noundef null) #3
%53 = call i64 @IS_ERR_OR_NULL(ptr noundef %52) #3
%54 = icmp eq i64 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %46
%56 = load i32, ptr @EIO, align 4, !tbaa !17
%57 = sub nsw i32 0, %56
br label %65
58: ; preds = %46, %41, %38
%59 = phi ptr [ %32, %41 ], [ %52, %46 ], [ %32, %38 ]
%60 = getelementptr inbounds i8, ptr %0, i64 8
%61 = load ptr, ptr %60, align 8, !tbaa !23
%62 = load i32, ptr %61, align 4, !tbaa !24
%63 = call i32 @regulatory_set_wiphy_regd_sync_rtnl(i32 noundef %62, ptr noundef %59) #3
%64 = call i32 @kfree(ptr noundef %59) #3
br label %65
65: ; preds = %26, %23, %58, %55, %35
%66 = phi i32 [ %37, %35 ], [ %63, %58 ], [ %57, %55 ], [ 0, %23 ], [ %27, %26 ]
call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %2) #3
ret i32 %66
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @fw_has_capa(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @IWL_INFO(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @iwl_mvm_is_lar_supported(ptr noundef) local_unnamed_addr #2
declare i32 @iwl_mvm_init_fw_regd(ptr noundef) local_unnamed_addr #2
declare ptr @iwl_mvm_get_current_regdomain(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @IS_ERR_OR_NULL(ptr noundef) local_unnamed_addr #2
declare i64 @iwl_mvm_is_wifi_mcc_supported(ptr noundef) local_unnamed_addr #2
declare i32 @iwl_acpi_get_mcc(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree(ptr noundef) local_unnamed_addr #2
declare ptr @iwl_mvm_get_regdomain(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @regulatory_set_wiphy_regd_sync_rtnl(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, !11, i64 40}
!7 = !{!"iwl_mvm", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!7, !11, i64 32}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !11, i64 24}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_7__", !8, i64 0}
!21 = !{!7, !8, i64 0}
!22 = !{!7, !8, i64 16}
!23 = !{!7, !11, i64 8}
!24 = !{!25, !8, i64 0}
!25 = !{!"TYPE_8__", !8, i64 0}
| linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_nvm.c_iwl_mvm_init_mcc |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_splevel.c_UI_SPLevelMenu_SetMenuArena.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_splevel.c_UI_SPLevelMenu_SetMenuArena.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_5__ = type { %struct.TYPE_4__, i64 }
%struct.TYPE_4__ = type { i32 }
@MAX_QPATH = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"map\00", align 1
@levelMenuInfo = dso_local local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"levelshots/%s.tga\00", align 1
@ART_MAP_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@selectedArenaSet = dso_local local_unnamed_addr global i64 0, align 8
@currentSet = dso_local local_unnamed_addr global i64 0, align 8
@QMF_GRAYED = dso_local local_unnamed_addr global i32 0, align 4
@QMF_INACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @UI_SPLevelMenu_SetMenuArena], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @UI_SPLevelMenu_SetMenuArena(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @MAX_QPATH, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = tail call ptr @Info_ValueForKey(ptr noundef %2, ptr noundef nonnull @.str) #2
%8 = call i32 @Q_strncpyz(ptr noundef nonnull %6, ptr noundef %7, i32 noundef %4) #2
%9 = load ptr, ptr @levelMenuInfo, align 8, !tbaa !9
%10 = sext i32 %0 to i64
%11 = getelementptr inbounds ptr, ptr %9, i64 %10
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = call i32 @Q_strncpyz(ptr noundef %12, ptr noundef nonnull %6, i32 noundef 8) #2
%14 = load ptr, ptr @levelMenuInfo, align 8, !tbaa !9
%15 = getelementptr inbounds ptr, ptr %14, i64 %10
%16 = load ptr, ptr %15, align 8, !tbaa !12
%17 = call i32 @Q_strupr(ptr noundef %16) #2
%18 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 1), align 8, !tbaa !13
%19 = getelementptr inbounds i32, ptr %18, i64 %10
%20 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 4), align 8, !tbaa !14
%21 = getelementptr inbounds i32, ptr %20, i64 %10
%22 = call i32 @UI_GetBestScore(i32 noundef %1, ptr noundef %19, ptr noundef %21) #2
%23 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 1), align 8, !tbaa !13
%24 = getelementptr inbounds i32, ptr %23, i64 %10
%25 = load i32, ptr %24, align 4, !tbaa !5
%26 = icmp sgt i32 %25, 8
br i1 %26, label %27, label %28
27: ; preds = %3
store i32 8, ptr %24, align 4, !tbaa !5
br label %28
28: ; preds = %27, %3
%29 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 3), align 8, !tbaa !15
%30 = getelementptr inbounds i32, ptr %29, i64 %10
%31 = load i32, ptr %30, align 4, !tbaa !5
%32 = call i32 @va(ptr noundef nonnull @.str.1, ptr noundef nonnull %6) #2
%33 = call i32 @strcpy(i32 noundef %31, i32 noundef %32) #2
%34 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 3), align 8, !tbaa !15
%35 = getelementptr inbounds i32, ptr %34, i64 %10
%36 = load i32, ptr %35, align 4, !tbaa !5
%37 = call i32 @trap_R_RegisterShaderNoMip(i32 noundef %36) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %28
%40 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 3), align 8, !tbaa !15
%41 = getelementptr inbounds i32, ptr %40, i64 %10
%42 = load i32, ptr %41, align 4, !tbaa !5
%43 = load i32, ptr @ART_MAP_UNKNOWN, align 4, !tbaa !5
%44 = call i32 @strcpy(i32 noundef %42, i32 noundef %43) #2
br label %45
45: ; preds = %39, %28
%46 = load ptr, ptr getelementptr inbounds (%struct.TYPE_6__, ptr @levelMenuInfo, i64 0, i32 2), align 8, !tbaa !16
%47 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10, i32 1
store i64 0, ptr %47, align 8, !tbaa !17
%48 = load i64, ptr @selectedArenaSet, align 8, !tbaa !21
%49 = load i64, ptr @currentSet, align 8, !tbaa !21
%50 = icmp sgt i64 %48, %49
%51 = load i32, ptr @QMF_GRAYED, align 4, !tbaa !5
br i1 %50, label %52, label %56
52: ; preds = %45
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%54 = load i32, ptr %53, align 8, !tbaa !22
%55 = or i32 %54, %51
store i32 %55, ptr %53, align 8, !tbaa !22
br label %61
56: ; preds = %45
%57 = xor i32 %51, -1
%58 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%59 = load i32, ptr %58, align 8, !tbaa !22
%60 = and i32 %59, %57
store i32 %60, ptr %58, align 8, !tbaa !22
br label %61
61: ; preds = %56, %52
%62 = phi i32 [ %60, %56 ], [ %55, %52 ]
%63 = load i32, ptr @QMF_INACTIVE, align 4, !tbaa !5
%64 = xor i32 %63, -1
%65 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%66 = and i32 %62, %64
store i32 %66, ptr %65, align 8, !tbaa !22
ret void
}
declare i32 @Q_strncpyz(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @Info_ValueForKey(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Q_strupr(ptr noundef) local_unnamed_addr #1
declare i32 @UI_GetBestScore(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @va(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trap_R_RegisterShaderNoMip(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 0}
!10 = !{!"TYPE_6__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 32}
!15 = !{!10, !11, i64 24}
!16 = !{!10, !11, i64 16}
!17 = !{!18, !20, i64 8}
!18 = !{!"TYPE_5__", !19, i64 0, !20, i64 8}
!19 = !{!"TYPE_4__", !6, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!20, !20, i64 0}
!22 = !{!18, !6, i64 0}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_splevel.c_UI_SPLevelMenu_SetMenuArena.c'
source_filename = "AnghaBench/Quake-III-Arena/code/q3_ui/extr_ui_splevel.c_UI_SPLevelMenu_SetMenuArena.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_6__ = type { ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_5__ = type { %struct.TYPE_4__, i64 }
%struct.TYPE_4__ = type { i32 }
@MAX_QPATH = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"map\00", align 1
@levelMenuInfo = common local_unnamed_addr global %struct.TYPE_6__ zeroinitializer, align 8
@.str.1 = private unnamed_addr constant [18 x i8] c"levelshots/%s.tga\00", align 1
@ART_MAP_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@selectedArenaSet = common local_unnamed_addr global i64 0, align 8
@currentSet = common local_unnamed_addr global i64 0, align 8
@QMF_GRAYED = common local_unnamed_addr global i32 0, align 4
@QMF_INACTIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @UI_SPLevelMenu_SetMenuArena], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @UI_SPLevelMenu_SetMenuArena(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @MAX_QPATH, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = tail call ptr @Info_ValueForKey(ptr noundef %2, ptr noundef nonnull @.str) #2
%8 = call i32 @Q_strncpyz(ptr noundef nonnull %6, ptr noundef %7, i32 noundef %4) #2
%9 = load ptr, ptr @levelMenuInfo, align 8, !tbaa !10
%10 = sext i32 %0 to i64
%11 = getelementptr inbounds ptr, ptr %9, i64 %10
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = call i32 @Q_strncpyz(ptr noundef %12, ptr noundef nonnull %6, i32 noundef 8) #2
%14 = load ptr, ptr @levelMenuInfo, align 8, !tbaa !10
%15 = getelementptr inbounds ptr, ptr %14, i64 %10
%16 = load ptr, ptr %15, align 8, !tbaa !13
%17 = call i32 @Q_strupr(ptr noundef %16) #2
%18 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 8), align 8, !tbaa !14
%19 = getelementptr inbounds i32, ptr %18, i64 %10
%20 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 32), align 8, !tbaa !15
%21 = getelementptr inbounds i32, ptr %20, i64 %10
%22 = call i32 @UI_GetBestScore(i32 noundef %1, ptr noundef %19, ptr noundef %21) #2
%23 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 8), align 8, !tbaa !14
%24 = getelementptr inbounds i32, ptr %23, i64 %10
%25 = load i32, ptr %24, align 4, !tbaa !6
%26 = icmp sgt i32 %25, 8
br i1 %26, label %27, label %28
27: ; preds = %3
store i32 8, ptr %24, align 4, !tbaa !6
br label %28
28: ; preds = %27, %3
%29 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 24), align 8, !tbaa !16
%30 = getelementptr inbounds i32, ptr %29, i64 %10
%31 = load i32, ptr %30, align 4, !tbaa !6
%32 = call i32 @va(ptr noundef nonnull @.str.1, ptr noundef nonnull %6) #2
%33 = call i32 @strcpy(i32 noundef %31, i32 noundef %32) #2
%34 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 24), align 8, !tbaa !16
%35 = getelementptr inbounds i32, ptr %34, i64 %10
%36 = load i32, ptr %35, align 4, !tbaa !6
%37 = call i32 @trap_R_RegisterShaderNoMip(i32 noundef %36) #2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %28
%40 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 24), align 8, !tbaa !16
%41 = getelementptr inbounds i32, ptr %40, i64 %10
%42 = load i32, ptr %41, align 4, !tbaa !6
%43 = load i32, ptr @ART_MAP_UNKNOWN, align 4, !tbaa !6
%44 = call i32 @strcpy(i32 noundef %42, i32 noundef %43) #2
br label %45
45: ; preds = %39, %28
%46 = load ptr, ptr getelementptr inbounds (i8, ptr @levelMenuInfo, i64 16), align 8, !tbaa !17
%47 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10, i32 1
store i64 0, ptr %47, align 8, !tbaa !18
%48 = load i64, ptr @selectedArenaSet, align 8, !tbaa !22
%49 = load i64, ptr @currentSet, align 8, !tbaa !22
%50 = icmp sgt i64 %48, %49
%51 = load i32, ptr @QMF_GRAYED, align 4, !tbaa !6
br i1 %50, label %52, label %56
52: ; preds = %45
%53 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%54 = load i32, ptr %53, align 8, !tbaa !23
%55 = or i32 %54, %51
store i32 %55, ptr %53, align 8, !tbaa !23
br label %61
56: ; preds = %45
%57 = xor i32 %51, -1
%58 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%59 = load i32, ptr %58, align 8, !tbaa !23
%60 = and i32 %59, %57
store i32 %60, ptr %58, align 8, !tbaa !23
br label %61
61: ; preds = %56, %52
%62 = phi i32 [ %60, %56 ], [ %55, %52 ]
%63 = load i32, ptr @QMF_INACTIVE, align 4, !tbaa !6
%64 = xor i32 %63, -1
%65 = getelementptr inbounds %struct.TYPE_5__, ptr %46, i64 %10
%66 = and i32 %62, %64
store i32 %66, ptr %65, align 8, !tbaa !23
ret void
}
declare i32 @Q_strncpyz(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @Info_ValueForKey(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @Q_strupr(ptr noundef) local_unnamed_addr #1
declare i32 @UI_GetBestScore(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @strcpy(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @va(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @trap_R_RegisterShaderNoMip(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 0}
!11 = !{!"TYPE_6__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 32}
!16 = !{!11, !12, i64 24}
!17 = !{!11, !12, i64 16}
!18 = !{!19, !21, i64 8}
!19 = !{!"TYPE_5__", !20, i64 0, !21, i64 8}
!20 = !{!"TYPE_4__", !7, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!21, !21, i64 0}
!23 = !{!19, !7, i64 0}
| Quake-III-Arena_code_q3_ui_extr_ui_splevel.c_UI_SPLevelMenu_SetMenuArena |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.