IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfganal.c_remove_fake_exit_edges.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfganal.c_remove_fake_exit_edges.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXIT_BLOCK_PTR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @remove_fake_exit_edges() local_unnamed_addr #0 { %1 = load i32, ptr @EXIT_BLOCK_PTR, align 4, !tbaa !5 %2 = tail call i32 @remove_fake_predecessors(i32 noundef %1) #2 ret void } declare i32 @remove_fake_predecessors(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_cfganal.c_remove_fake_exit_edges.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_cfganal.c_remove_fake_exit_edges.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXIT_BLOCK_PTR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @remove_fake_exit_edges() local_unnamed_addr #0 { %1 = load i32, ptr @EXIT_BLOCK_PTR, align 4, !tbaa !6 %2 = tail call i32 @remove_fake_predecessors(i32 noundef %1) #2 ret void } declare i32 @remove_fake_predecessors(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gcc_extr_cfganal.c_remove_fake_exit_edges
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_mx1_camera.c_mclk_get_divisor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_mx1_camera.c_mclk_get_divisor.c" target datalayout = "e-m:e-p270:32:32-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.mx1_camera_dev = type { i32, ptr, i32 } @.str = private unnamed_addr constant [53 x i8] c"System clock %lukHz, target freq %dkHz, divisor %lu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mclk_get_divisor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mclk_get_divisor(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.mx1_camera_dev, ptr %0, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = tail call i64 @clk_get_rate(i32 noundef %4) #2 %6 = shl i32 %2, 1 %7 = zext i32 %6 to i64 %8 = add nsw i64 %7, -1 %9 = add i64 %8, %5 %10 = udiv i64 %9, %7 %11 = add i64 %10, -1 %12 = getelementptr inbounds %struct.mx1_camera_dev, ptr %0, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = udiv i64 %5, 1000 %16 = udiv i32 %2, 1000 %17 = tail call i32 @dev_dbg(i32 noundef %14, ptr noundef nonnull @.str, i64 noundef %15, i32 noundef %16, i64 noundef %11) #2 %18 = trunc i64 %11 to i32 ret i32 %18 } declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 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 = !{!"mx1_camera_dev", !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, !7, i64 16} !12 = !{!6, !10, i64 8} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_mx1_camera.c_mclk_get_divisor.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_mx1_camera.c_mclk_get_divisor.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 [53 x i8] c"System clock %lukHz, target freq %dkHz, divisor %lu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mclk_get_divisor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mclk_get_divisor(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !12 %5 = tail call i64 @clk_get_rate(i32 noundef %4) #2 %6 = shl i32 %2, 1 %7 = zext i32 %6 to i64 %8 = add nsw i64 %7, -1 %9 = add i64 %8, %5 %10 = udiv i64 %9, %7 %11 = add i64 %10, -1 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = udiv i64 %5, 1000 %16 = udiv i32 %2, 1000 %17 = tail call i32 @dev_dbg(i32 noundef %14, ptr noundef nonnull @.str, i64 noundef %15, i32 noundef %16, i64 noundef %11) #2 %18 = trunc i64 %11 to i32 ret i32 %18 } declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1 declare i32 @dev_dbg(i32 noundef, ptr noundef, i64 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 = !{!"mx1_camera_dev", !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, !8, i64 16} !13 = !{!7, !11, i64 8} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !8, i64 0}
fastsocket_kernel_drivers_media_video_extr_mx1_camera.c_mclk_get_divisor
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm644x_ccdc.c_regr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm644x_ccdc.c_regr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ccdc_base_addr = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @regr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @regr(i64 noundef %0) #0 { %2 = load i64, ptr @ccdc_base_addr, align 8, !tbaa !5 %3 = add nsw i64 %2, %0 %4 = tail call i64 @__raw_readl(i64 noundef %3) #2 ret i64 %4 } declare i64 @__raw_readl(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)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm644x_ccdc.c_regr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/davinci/extr_dm644x_ccdc.c_regr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ccdc_base_addr = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @regr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @regr(i64 noundef %0) #0 { %2 = load i64, ptr @ccdc_base_addr, align 8, !tbaa !6 %3 = add nsw i64 %2, %0 %4 = tail call i64 @__raw_readl(i64 noundef %3) #2 ret i64 %4 } declare i64 @__raw_readl(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)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_video_davinci_extr_dm644x_ccdc.c_regr
; ModuleID = 'AnghaBench/freebsd/sys/dev/etherswitch/arswitch/extr_arswitch_vlans.c_ar8xxx_flush_dot1q_vlan.c' source_filename = "AnghaBench/freebsd/sys/dev/etherswitch/arswitch/extr_arswitch_vlans.c_ar8xxx_flush_dot1q_vlan.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @AR8X16_VLAN_OP_FLUSH = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ar8xxx_flush_dot1q_vlan(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @MA_OWNED, align 4, !tbaa !5 %3 = tail call i32 @ARSWITCH_LOCK_ASSERT(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @AR8X16_VLAN_OP_FLUSH, align 4, !tbaa !5 %5 = tail call i32 @ar8xxx_vlan_op(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 0) #2 ret i32 %5 } declare i32 @ARSWITCH_LOCK_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ar8xxx_vlan_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/etherswitch/arswitch/extr_arswitch_vlans.c_ar8xxx_flush_dot1q_vlan.c' source_filename = "AnghaBench/freebsd/sys/dev/etherswitch/arswitch/extr_arswitch_vlans.c_ar8xxx_flush_dot1q_vlan.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MA_OWNED = common local_unnamed_addr global i32 0, align 4 @AR8X16_VLAN_OP_FLUSH = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ar8xxx_flush_dot1q_vlan(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @MA_OWNED, align 4, !tbaa !6 %3 = tail call i32 @ARSWITCH_LOCK_ASSERT(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @AR8X16_VLAN_OP_FLUSH, align 4, !tbaa !6 %5 = tail call i32 @ar8xxx_vlan_op(ptr noundef %0, i32 noundef %4, i32 noundef 0, i32 noundef 0) #2 ret i32 %5 } declare i32 @ARSWITCH_LOCK_ASSERT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ar8xxx_vlan_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_etherswitch_arswitch_extr_arswitch_vlans.c_ar8xxx_flush_dot1q_vlan
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_mds_client.c_parse_reply_info_filelock.c' source_filename = "AnghaBench/linux/fs/ceph/extr_mds_client.c_parse_reply_info_filelock.c" target datalayout = "e-m:e-p270:32:32-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 @parse_reply_info_filelock], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @parse_reply_info_filelock(ptr nocapture noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = getelementptr inbounds i8, ptr %5, i64 1 %7 = icmp ugt ptr %6, %1 br i1 %7, label %9, label %8 8: ; preds = %4 store ptr %5, ptr %2, align 8, !tbaa !9 store ptr %1, ptr %0, align 8, !tbaa !5 br label %12 9: ; preds = %4 %10 = load i32, ptr @EIO, align 4, !tbaa !11 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %8 %13 = phi i32 [ %11, %9 ], [ 0, %8 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ceph_mds_reply_info_parsed", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_mds_client.c_parse_reply_info_filelock.c' source_filename = "AnghaBench/linux/fs/ceph/extr_mds_client.c_parse_reply_info_filelock.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 @parse_reply_info_filelock], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @parse_reply_info_filelock(ptr nocapture noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, i32 %3) #0 { %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = getelementptr inbounds i8, ptr %5, i64 1 %7 = icmp ugt ptr %6, %1 br i1 %7, label %9, label %8 8: ; preds = %4 store ptr %5, ptr %2, align 8, !tbaa !10 store ptr %1, ptr %0, align 8, !tbaa !6 br label %12 9: ; preds = %4 %10 = load i32, ptr @EIO, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %12 12: ; preds = %9, %8 %13 = phi i32 [ %11, %9 ], [ 0, %8 ] ret i32 %13 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ceph_mds_reply_info_parsed", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
linux_fs_ceph_extr_mds_client.c_parse_reply_info_filelock
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_crypto-des-common.c__krb5_xor.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_crypto-des-common.c__krb5_xor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local void @_krb5_xor(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %1, align 1, !tbaa !5 %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = xor i8 %4, %3 store i8 %5, ptr %0, align 1, !tbaa !5 %6 = getelementptr inbounds i8, ptr %1, i64 1 %7 = load i8, ptr %6, align 1, !tbaa !5 %8 = getelementptr inbounds i8, ptr %0, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !5 %10 = xor i8 %9, %7 store i8 %10, ptr %8, align 1, !tbaa !5 %11 = getelementptr inbounds i8, ptr %1, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !5 %13 = getelementptr inbounds i8, ptr %0, i64 2 %14 = load i8, ptr %13, align 1, !tbaa !5 %15 = xor i8 %14, %12 store i8 %15, ptr %13, align 1, !tbaa !5 %16 = getelementptr inbounds i8, ptr %1, i64 3 %17 = load i8, ptr %16, align 1, !tbaa !5 %18 = getelementptr inbounds i8, ptr %0, i64 3 %19 = load i8, ptr %18, align 1, !tbaa !5 %20 = xor i8 %19, %17 store i8 %20, ptr %18, align 1, !tbaa !5 %21 = getelementptr inbounds i8, ptr %1, i64 4 %22 = load i8, ptr %21, align 1, !tbaa !5 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i8, ptr %23, align 1, !tbaa !5 %25 = xor i8 %24, %22 store i8 %25, ptr %23, align 1, !tbaa !5 %26 = getelementptr inbounds i8, ptr %1, i64 5 %27 = load i8, ptr %26, align 1, !tbaa !5 %28 = getelementptr inbounds i8, ptr %0, i64 5 %29 = load i8, ptr %28, align 1, !tbaa !5 %30 = xor i8 %29, %27 store i8 %30, ptr %28, align 1, !tbaa !5 %31 = getelementptr inbounds i8, ptr %1, i64 6 %32 = load i8, ptr %31, align 1, !tbaa !5 %33 = getelementptr inbounds i8, ptr %0, i64 6 %34 = load i8, ptr %33, align 1, !tbaa !5 %35 = xor i8 %34, %32 store i8 %35, ptr %33, align 1, !tbaa !5 %36 = getelementptr inbounds i8, ptr %1, i64 7 %37 = load i8, ptr %36, align 1, !tbaa !5 %38 = getelementptr inbounds i8, ptr %0, i64 7 %39 = load i8, ptr %38, align 1, !tbaa !5 %40 = xor i8 %39, %37 store i8 %40, ptr %38, align 1, !tbaa !5 ret void } 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, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_crypto-des-common.c__krb5_xor.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_crypto-des-common.c__krb5_xor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define void @_krb5_xor(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %1, align 1, !tbaa !6 %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = xor i8 %4, %3 store i8 %5, ptr %0, align 1, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 1 %7 = load i8, ptr %6, align 1, !tbaa !6 %8 = getelementptr inbounds i8, ptr %0, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = xor i8 %9, %7 store i8 %10, ptr %8, align 1, !tbaa !6 %11 = getelementptr inbounds i8, ptr %1, i64 2 %12 = load i8, ptr %11, align 1, !tbaa !6 %13 = getelementptr inbounds i8, ptr %0, i64 2 %14 = load i8, ptr %13, align 1, !tbaa !6 %15 = xor i8 %14, %12 store i8 %15, ptr %13, align 1, !tbaa !6 %16 = getelementptr inbounds i8, ptr %1, i64 3 %17 = load i8, ptr %16, align 1, !tbaa !6 %18 = getelementptr inbounds i8, ptr %0, i64 3 %19 = load i8, ptr %18, align 1, !tbaa !6 %20 = xor i8 %19, %17 store i8 %20, ptr %18, align 1, !tbaa !6 %21 = getelementptr inbounds i8, ptr %1, i64 4 %22 = load i8, ptr %21, align 1, !tbaa !6 %23 = getelementptr inbounds i8, ptr %0, i64 4 %24 = load i8, ptr %23, align 1, !tbaa !6 %25 = xor i8 %24, %22 store i8 %25, ptr %23, align 1, !tbaa !6 %26 = getelementptr inbounds i8, ptr %1, i64 5 %27 = load i8, ptr %26, align 1, !tbaa !6 %28 = getelementptr inbounds i8, ptr %0, i64 5 %29 = load i8, ptr %28, align 1, !tbaa !6 %30 = xor i8 %29, %27 store i8 %30, ptr %28, align 1, !tbaa !6 %31 = getelementptr inbounds i8, ptr %1, i64 6 %32 = load i8, ptr %31, align 1, !tbaa !6 %33 = getelementptr inbounds i8, ptr %0, i64 6 %34 = load i8, ptr %33, align 1, !tbaa !6 %35 = xor i8 %34, %32 store i8 %35, ptr %33, align 1, !tbaa !6 %36 = getelementptr inbounds i8, ptr %1, i64 7 %37 = load i8, ptr %36, align 1, !tbaa !6 %38 = getelementptr inbounds i8, ptr %0, i64 7 %39 = load i8, ptr %38, align 1, !tbaa !6 %40 = xor i8 %39, %37 store i8 %40, ptr %38, 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"}
freebsd_crypto_heimdal_lib_krb5_extr_crypto-des-common.c__krb5_xor
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_mmap.c_r_io_mmap_close.c' source_filename = "AnghaBench/radare2/libr/io/p/extr_io_mmap.c_r_io_mmap_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @r_io_mmap_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @r_io_mmap_close(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @r_io_mmap_free(ptr noundef nonnull %4) #2 store ptr null, ptr %0, align 8, !tbaa !5 br label %8 8: ; preds = %1, %3, %6 %9 = phi i32 [ 0, %6 ], [ -1, %3 ], [ -1, %1 ] ret i32 %9 } declare i32 @r_io_mmap_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 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_mmap.c_r_io_mmap_close.c' source_filename = "AnghaBench/radare2/libr/io/p/extr_io_mmap.c_r_io_mmap_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @r_io_mmap_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @r_io_mmap_close(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = icmp eq ptr %4, null br i1 %5, label %8, label %6 6: ; preds = %3 %7 = tail call i32 @r_io_mmap_free(ptr noundef nonnull %4) #2 store ptr null, ptr %0, align 8, !tbaa !6 br label %8 8: ; preds = %1, %3, %6 %9 = phi i32 [ 0, %6 ], [ -1, %3 ], [ -1, %1 ] ret i32 %9 } declare i32 @r_io_mmap_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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
radare2_libr_io_p_extr_io_mmap.c_r_io_mmap_close
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_protocol.c_inet_add_offload.c' source_filename = "AnghaBench/linux/net/ipv4/extr_protocol.c_inet_add_offload.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @inet_offloads = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @inet_add_offload(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 { %3 = load ptr, ptr @inet_offloads, align 8, !tbaa !5 %4 = zext i8 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = tail call i32 @cmpxchg(ptr noundef %5, ptr noundef null, ptr noundef %0) #2 %7 = icmp ne i32 %6, 0 %8 = sext i1 %7 to i32 ret i32 %8 } declare i32 @cmpxchg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_protocol.c_inet_add_offload.c' source_filename = "AnghaBench/linux/net/ipv4/extr_protocol.c_inet_add_offload.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @inet_offloads = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @inet_add_offload(ptr noundef %0, i8 noundef zeroext %1) local_unnamed_addr #0 { %3 = load ptr, ptr @inet_offloads, align 8, !tbaa !6 %4 = zext i8 %1 to i64 %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = tail call i32 @cmpxchg(ptr noundef %5, ptr noundef null, ptr noundef %0) #2 %7 = icmp ne i32 %6, 0 %8 = sext i1 %7 to i32 ret i32 %8 } declare i32 @cmpxchg(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_net_ipv4_extr_protocol.c_inet_add_offload
; ModuleID = 'AnghaBench/linux/arch/x86/entry/vdso/extr_vdso2c.c_main.c' source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vdso2c.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" @.str = private unnamed_addr constant [47 x i8] c"Usage: vdso2c RAW_INPUT STRIPPED_INPUT OUTPUT\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c".so\00", align 1 @PROT_READ = dso_local local_unnamed_addr global i32 0, align 4 @outfilename = dso_local local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6 %7 = icmp eq i32 %0, 4 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @printf(ptr noundef nonnull @.str) #6 br label %66 10: ; preds = %2 %11 = getelementptr inbounds ptr, ptr %1, i64 3 %12 = load ptr, ptr %11, align 8, !tbaa !5 %13 = tail call ptr @strdup(ptr noundef %12) %14 = tail call i32 @strlen(ptr noundef %13) #6 %15 = icmp sgt i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %10 %17 = zext nneg i32 %14 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -3 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(4) @.str.1) %21 = icmp eq i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %16, %10 %23 = tail call ptr @strrchr(ptr noundef %13, i8 noundef signext 47) #6 %24 = icmp eq ptr %23, null %25 = getelementptr inbounds i8, ptr %23, i64 1 %26 = select i1 %24, ptr %13, ptr %25 %27 = tail call ptr @strchr(ptr noundef %26, i8 noundef signext 46) #6 %28 = icmp eq ptr %27, null br i1 %28, label %30, label %29 29: ; preds = %22 store i8 0, ptr %27, align 1, !tbaa !9 br label %30 30: ; preds = %29, %22 br label %31 31: ; preds = %30, %35 %32 = phi ptr [ %36, %35 ], [ %26, %30 ] %33 = load i8, ptr %32, align 1, !tbaa !9 switch i8 %33, label %35 [ i8 0, label %37 i8 45, label %34 ] 34: ; preds = %31 store i8 95, ptr %32, align 1, !tbaa !9 br label %35 35: ; preds = %31, %34 %36 = getelementptr inbounds i8, ptr %32, i64 1 br label %31, !llvm.loop !10 37: ; preds = %31, %16 %38 = phi ptr [ null, %16 ], [ %26, %31 ] %39 = getelementptr inbounds ptr, ptr %1, i64 1 %40 = load ptr, ptr %39, align 8, !tbaa !5 %41 = load i32, ptr @PROT_READ, align 4, !tbaa !12 %42 = call i32 @map_input(ptr noundef %40, ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef %41) #6 %43 = getelementptr inbounds ptr, ptr %1, i64 2 %44 = load ptr, ptr %43, align 8, !tbaa !5 %45 = load i32, ptr @PROT_READ, align 4, !tbaa !12 %46 = call i32 @map_input(ptr noundef %44, ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef %45) #6 %47 = load ptr, ptr %11, align 8, !tbaa !5 store ptr %47, ptr @outfilename, align 8, !tbaa !5 %48 = call ptr @fopen(ptr noundef %47, ptr noundef nonnull @.str.2) %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %37 %51 = load ptr, ptr %43, align 8, !tbaa !5 %52 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef %51) #6 br label %53 53: ; preds = %50, %37 %54 = load ptr, ptr %5, align 8, !tbaa !5 %55 = load i64, ptr %3, align 8, !tbaa !14 %56 = load ptr, ptr %6, align 8, !tbaa !5 %57 = load i64, ptr %4, align 8, !tbaa !14 %58 = call i32 @go(ptr noundef %54, i64 noundef %55, ptr noundef %56, i64 noundef %57, ptr noundef %48, ptr noundef %38) #6 %59 = load ptr, ptr %5, align 8, !tbaa !5 %60 = load i64, ptr %3, align 8, !tbaa !14 %61 = call i32 @munmap(ptr noundef %59, i64 noundef %60) #6 %62 = load ptr, ptr %6, align 8, !tbaa !5 %63 = load i64, ptr %4, align 8, !tbaa !14 %64 = call i32 @munmap(ptr noundef %62, i64 noundef %63) #6 %65 = call i32 @fclose(ptr noundef %48) br label %66 66: ; preds = %53, %8 %67 = phi i32 [ 1, %8 ], [ 0, %53 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6 ret i32 %67 } ; 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 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @map_input(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @go(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5 ; 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 = { 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 = { 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 #5 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/x86/entry/vdso/extr_vdso2c.c_main.c' source_filename = "AnghaBench/linux/arch/x86/entry/vdso/extr_vdso2c.c_main.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 [47 x i8] c"Usage: vdso2c RAW_INPUT STRIPPED_INPUT OUTPUT\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c".so\00", align 1 @PROT_READ = common local_unnamed_addr global i32 0, align 4 @outfilename = common local_unnamed_addr global ptr null, align 8 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6 %7 = icmp eq i32 %0, 4 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = tail call i32 @printf(ptr noundef nonnull @.str) #6 br label %66 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %1, i64 24 %12 = load ptr, ptr %11, align 8, !tbaa !6 %13 = tail call ptr @strdup(ptr noundef %12) %14 = tail call i32 @strlen(ptr noundef %13) #6 %15 = icmp sgt i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %10 %17 = zext nneg i32 %14 to i64 %18 = getelementptr inbounds i8, ptr %13, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -3 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(4) @.str.1) %21 = icmp eq i32 %20, 0 br i1 %21, label %37, label %22 22: ; preds = %16, %10 %23 = tail call ptr @strrchr(ptr noundef %13, i8 noundef signext 47) #6 %24 = icmp eq ptr %23, null %25 = getelementptr inbounds i8, ptr %23, i64 1 %26 = select i1 %24, ptr %13, ptr %25 %27 = tail call ptr @strchr(ptr noundef %26, i8 noundef signext 46) #6 %28 = icmp eq ptr %27, null br i1 %28, label %30, label %29 29: ; preds = %22 store i8 0, ptr %27, align 1, !tbaa !10 br label %30 30: ; preds = %29, %22 br label %31 31: ; preds = %30, %35 %32 = phi ptr [ %36, %35 ], [ %26, %30 ] %33 = load i8, ptr %32, align 1, !tbaa !10 switch i8 %33, label %35 [ i8 0, label %37 i8 45, label %34 ] 34: ; preds = %31 store i8 95, ptr %32, align 1, !tbaa !10 br label %35 35: ; preds = %31, %34 %36 = getelementptr inbounds i8, ptr %32, i64 1 br label %31, !llvm.loop !11 37: ; preds = %31, %16 %38 = phi ptr [ null, %16 ], [ %26, %31 ] %39 = getelementptr inbounds i8, ptr %1, i64 8 %40 = load ptr, ptr %39, align 8, !tbaa !6 %41 = load i32, ptr @PROT_READ, align 4, !tbaa !13 %42 = call i32 @map_input(ptr noundef %40, ptr noundef nonnull %5, ptr noundef nonnull %3, i32 noundef %41) #6 %43 = getelementptr inbounds i8, ptr %1, i64 16 %44 = load ptr, ptr %43, align 8, !tbaa !6 %45 = load i32, ptr @PROT_READ, align 4, !tbaa !13 %46 = call i32 @map_input(ptr noundef %44, ptr noundef nonnull %6, ptr noundef nonnull %4, i32 noundef %45) #6 %47 = load ptr, ptr %11, align 8, !tbaa !6 store ptr %47, ptr @outfilename, align 8, !tbaa !6 %48 = call ptr @fopen(ptr noundef %47, ptr noundef nonnull @.str.2) %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %37 %51 = load ptr, ptr %43, align 8, !tbaa !6 %52 = call i32 @err(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef %51) #6 br label %53 53: ; preds = %50, %37 %54 = load ptr, ptr %5, align 8, !tbaa !6 %55 = load i64, ptr %3, align 8, !tbaa !15 %56 = load ptr, ptr %6, align 8, !tbaa !6 %57 = load i64, ptr %4, align 8, !tbaa !15 %58 = call i32 @go(ptr noundef %54, i64 noundef %55, ptr noundef %56, i64 noundef %57, ptr noundef %48, ptr noundef %38) #6 %59 = load ptr, ptr %5, align 8, !tbaa !6 %60 = load i64, ptr %3, align 8, !tbaa !15 %61 = call i32 @munmap(ptr noundef %59, i64 noundef %60) #6 %62 = load ptr, ptr %6, align 8, !tbaa !6 %63 = load i64, ptr %4, align 8, !tbaa !15 %64 = call i32 @munmap(ptr noundef %62, i64 noundef %63) #6 %65 = call i32 @fclose(ptr noundef %48) br label %66 66: ; preds = %53, %8 %67 = phi i32 [ 1, %8 ], [ 0, %53 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6 ret i32 %67 } ; 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 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #2 declare i32 @map_input(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5 declare i32 @err(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @go(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5 ; 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 = { 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 = { 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 #5 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
linux_arch_x86_entry_vdso_extr_vdso2c.c_main
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_xilinx-xadc-events.c_xadc_event_to_channel.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_xilinx-xadc-events.c_xadc_event_to_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.iio_chan_spec = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @xadc_event_to_channel], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal ptr @xadc_event_to_channel(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { switch i32 %1, label %9 [ i32 131, label %3 i32 130, label %3 i32 128, label %5 i32 129, label %5 ] 3: ; preds = %2, %2 %4 = load ptr, ptr %0, align 8, !tbaa !5 br label %14 5: ; preds = %2, %2 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = zext nneg i32 %1 to i64 %8 = getelementptr inbounds %struct.iio_chan_spec, ptr %6, i64 %7 br label %14 9: ; preds = %2 %10 = load ptr, ptr %0, align 8, !tbaa !5 %11 = add i32 %1, -1 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds %struct.iio_chan_spec, ptr %10, i64 %12 br label %14 14: ; preds = %9, %5, %3 %15 = phi ptr [ %13, %9 ], [ %8, %5 ], [ %4, %3 ] ret ptr %15 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"iio_dev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_xilinx-xadc-events.c_xadc_event_to_channel.c' source_filename = "AnghaBench/linux/drivers/iio/adc/extr_xilinx-xadc-events.c_xadc_event_to_channel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.iio_chan_spec = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @xadc_event_to_channel], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal ptr @xadc_event_to_channel(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { switch i32 %1, label %9 [ i32 131, label %3 i32 130, label %3 i32 128, label %5 i32 129, label %5 ] 3: ; preds = %2, %2 %4 = load ptr, ptr %0, align 8, !tbaa !6 br label %14 5: ; preds = %2, %2 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = zext nneg i32 %1 to i64 %8 = getelementptr inbounds %struct.iio_chan_spec, ptr %6, i64 %7 br label %14 9: ; preds = %2 %10 = load ptr, ptr %0, align 8, !tbaa !6 %11 = add i32 %1, -1 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds %struct.iio_chan_spec, ptr %10, i64 %12 br label %14 14: ; preds = %9, %5, %3 %15 = phi ptr [ %13, %9 ], [ %8, %5 ], [ %4, %3 ] ret ptr %15 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"iio_dev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_iio_adc_extr_xilinx-xadc-events.c_xadc_event_to_channel
; ModuleID = 'AnghaBench/linux/sound/pci/extr_via82xx_modem.c_snd_via82xx_codec_xread.c' source_filename = "AnghaBench/linux/sound/pci/extr_via82xx_modem.c_snd_via82xx_codec_xread.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AC97 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_via82xx_codec_xread], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @snd_via82xx_codec_xread(ptr noundef %0) #0 { %2 = load i32, ptr @AC97, align 4, !tbaa !5 %3 = tail call i32 @VIAREG(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @inl(i32 noundef %3) #2 ret i32 %4 } declare i32 @inl(i32 noundef) local_unnamed_addr #1 declare i32 @VIAREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/pci/extr_via82xx_modem.c_snd_via82xx_codec_xread.c' source_filename = "AnghaBench/linux/sound/pci/extr_via82xx_modem.c_snd_via82xx_codec_xread.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AC97 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_via82xx_codec_xread], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @snd_via82xx_codec_xread(ptr noundef %0) #0 { %2 = load i32, ptr @AC97, align 4, !tbaa !6 %3 = tail call i32 @VIAREG(ptr noundef %0, i32 noundef %2) #2 %4 = tail call i32 @inl(i32 noundef %3) #2 ret i32 %4 } declare i32 @inl(i32 noundef) local_unnamed_addr #1 declare i32 @VIAREG(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_sound_pci_extr_via82xx_modem.c_snd_via82xx_codec_xread
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_m88ds3103.c_m88ds3103_read_ber.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_m88ds3103.c_m88ds3103_read_ber.c" target datalayout = "e-m:e-p270:32:32-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 @m88ds3103_read_ber], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @m88ds3103_read_ber(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 store i32 %4, ptr %1, align 4, !tbaa !13 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"dvb_frontend", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"m88ds3103_dev", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_m88ds3103.c_m88ds3103_read_ber.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_m88ds3103.c_m88ds3103_read_ber.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 @m88ds3103_read_ber], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal noundef i32 @m88ds3103_read_ber(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 store i32 %4, ptr %1, align 4, !tbaa !14 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"dvb_frontend", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"m88ds3103_dev", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0}
linux_drivers_media_dvb-frontends_extr_m88ds3103.c_m88ds3103_read_ber
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_devices.c_usb_dump_endpoint_descriptor.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_devices.c_usb_dump_endpoint_descriptor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.usb_endpoint_descriptor = type { i32, i32, i32 } @USB_SPEED_HIGH = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"Ctrl\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Isoc\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Bulk\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Int.\00", align 1 @USB_SPEED_SUPER = dso_local local_unnamed_addr global i32 0, align 4 @format_endpt = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @usb_dump_endpoint_descriptor], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @usb_dump_endpoint_descriptor(i32 noundef %0, ptr noundef %1, ptr noundef readnone %2, ptr noundef %3) #0 { %5 = icmp ugt ptr %1, %2 br i1 %5, label %69, label %6 6: ; preds = %4 %7 = tail call i64 @usb_endpoint_dir_in(ptr noundef %3) #2 %8 = icmp eq i64 %7, 0 %9 = select i1 %8, i8 79, i8 73 %10 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !5 %11 = icmp eq i32 %10, %0 br i1 %11, label %12, label %14 12: ; preds = %6 %13 = tail call i32 @usb_endpoint_maxp_mult(ptr noundef %3) #2 br label %14 14: ; preds = %12, %6 %15 = phi i32 [ %13, %12 ], [ 1, %6 ] %16 = tail call i32 @usb_endpoint_type(ptr noundef %3) #2 switch i32 %16, label %69 [ i32 130, label %17 i32 128, label %22 i32 131, label %27 i32 129, label %33 ] 17: ; preds = %14 %18 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !5 %19 = icmp eq i32 %18, %0 br i1 %19, label %20, label %43 20: ; preds = %17 %21 = load i32, ptr %3, align 4, !tbaa !9 br label %43 22: ; preds = %14 %23 = load i32, ptr %3, align 4, !tbaa !9 %24 = add i32 %23, -1 %25 = shl nuw i32 1, %24 %26 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !5 br label %43 27: ; preds = %14 %28 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !5 %29 = icmp eq i32 %28, %0 %30 = select i1 %29, i1 %8, i1 false br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load i32, ptr %3, align 4, !tbaa !9 br label %43 33: ; preds = %14 %34 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !5 %35 = icmp ne i32 %34, %0 %36 = load i32, ptr @USB_SPEED_SUPER, align 4 %37 = icmp sgt i32 %36, %0 %38 = select i1 %35, i1 %37, i1 false %39 = load i32, ptr %3, align 4, !tbaa !9 br i1 %38, label %43, label %40 40: ; preds = %33 %41 = add i32 %39, -1 %42 = shl nuw i32 1, %41 br label %43 43: ; preds = %33, %27, %20, %17, %40, %31, %22 %44 = phi i32 [ %34, %40 ], [ %0, %31 ], [ %26, %22 ], [ %18, %17 ], [ %0, %20 ], [ %28, %27 ], [ %34, %33 ] %45 = phi i8 [ %9, %40 ], [ %9, %31 ], [ %9, %22 ], [ 66, %17 ], [ 66, %20 ], [ %9, %27 ], [ %9, %33 ] %46 = phi ptr [ @.str.3, %40 ], [ @.str.2, %31 ], [ @.str.1, %22 ], [ @.str, %17 ], [ @.str, %20 ], [ @.str.2, %27 ], [ @.str.3, %33 ] %47 = phi i32 [ %42, %40 ], [ %32, %31 ], [ %25, %22 ], [ 0, %17 ], [ %21, %20 ], [ 0, %27 ], [ %39, %33 ] %48 = icmp eq i32 %44, %0 %49 = load i32, ptr @USB_SPEED_SUPER, align 4 %50 = icmp sle i32 %49, %0 %51 = select i1 %48, i1 true, i1 %50 %52 = select i1 %51, i32 125, i32 1000 %53 = mul i32 %52, %47 %54 = urem i32 %53, 1000 %55 = icmp eq i32 %54, 0 %56 = udiv i32 %53, 1000 %57 = select i1 %55, i8 109, i8 117 %58 = select i1 %55, i32 %56, i32 %53 %59 = load ptr, ptr @format_endpt, align 8, !tbaa !11 %60 = getelementptr inbounds %struct.usb_endpoint_descriptor, ptr %3, i64 0, i32 2 %61 = load i32, ptr %60, align 4, !tbaa !13 %62 = getelementptr inbounds %struct.usb_endpoint_descriptor, ptr %3, i64 0, i32 1 %63 = load i32, ptr %62, align 4, !tbaa !14 %64 = tail call i32 @usb_endpoint_maxp(ptr noundef %3) #2 %65 = mul i32 %64, %15 %66 = tail call i32 @sprintf(ptr noundef %1, ptr noundef %59, i32 noundef %61, i8 noundef signext %45, i32 noundef %63, ptr noundef nonnull %46, i32 noundef %65, i32 noundef %58, i8 noundef signext %57) #2 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %1, i64 %67 br label %69 69: ; preds = %14, %4, %43 %70 = phi ptr [ %68, %43 ], [ %1, %4 ], [ %1, %14 ] ret ptr %70 } declare i64 @usb_endpoint_dir_in(ptr noundef) local_unnamed_addr #1 declare i32 @usb_endpoint_maxp_mult(ptr noundef) local_unnamed_addr #1 declare i32 @usb_endpoint_type(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @usb_endpoint_maxp(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 = !{!"usb_endpoint_descriptor", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/usb/core/extr_devices.c_usb_dump_endpoint_descriptor.c' source_filename = "AnghaBench/linux/drivers/usb/core/extr_devices.c_usb_dump_endpoint_descriptor.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @USB_SPEED_HIGH = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"Ctrl\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Isoc\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Bulk\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"Int.\00", align 1 @USB_SPEED_SUPER = common local_unnamed_addr global i32 0, align 4 @format_endpt = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @usb_dump_endpoint_descriptor], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @usb_dump_endpoint_descriptor(i32 noundef %0, ptr noundef %1, ptr noundef readnone %2, ptr noundef %3) #0 { %5 = icmp ugt ptr %1, %2 br i1 %5, label %71, label %6 6: ; preds = %4 %7 = tail call i64 @usb_endpoint_dir_in(ptr noundef %3) #2 %8 = icmp eq i64 %7, 0 %9 = select i1 %8, i8 79, i8 73 %10 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !6 %11 = icmp eq i32 %10, %0 br i1 %11, label %12, label %14 12: ; preds = %6 %13 = tail call i32 @usb_endpoint_maxp_mult(ptr noundef %3) #2 br label %14 14: ; preds = %12, %6 %15 = phi i32 [ %13, %12 ], [ 1, %6 ] %16 = tail call i32 @usb_endpoint_type(ptr noundef %3) #2 switch i32 %16, label %71 [ i32 130, label %17 i32 128, label %22 i32 131, label %27 i32 129, label %33 ] 17: ; preds = %14 %18 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !6 %19 = icmp eq i32 %18, %0 br i1 %19, label %20, label %43 20: ; preds = %17 %21 = load i32, ptr %3, align 4, !tbaa !10 br label %43 22: ; preds = %14 %23 = load i32, ptr %3, align 4, !tbaa !10 %24 = add i32 %23, -1 %25 = shl nuw i32 1, %24 %26 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !6 br label %43 27: ; preds = %14 %28 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !6 %29 = icmp eq i32 %28, %0 %30 = select i1 %29, i1 %8, i1 false br i1 %30, label %31, label %43 31: ; preds = %27 %32 = load i32, ptr %3, align 4, !tbaa !10 br label %43 33: ; preds = %14 %34 = load i32, ptr @USB_SPEED_HIGH, align 4, !tbaa !6 %35 = icmp ne i32 %34, %0 %36 = load i32, ptr @USB_SPEED_SUPER, align 4 %37 = icmp sgt i32 %36, %0 %38 = select i1 %35, i1 %37, i1 false %39 = load i32, ptr %3, align 4, !tbaa !10 br i1 %38, label %43, label %40 40: ; preds = %33 %41 = add i32 %39, -1 %42 = shl nuw i32 1, %41 br label %43 43: ; preds = %33, %27, %20, %17, %40, %31, %22 %44 = phi i32 [ %34, %40 ], [ %0, %31 ], [ %26, %22 ], [ %18, %17 ], [ %0, %20 ], [ %28, %27 ], [ %34, %33 ] %45 = phi i8 [ %9, %40 ], [ %9, %31 ], [ %9, %22 ], [ 66, %17 ], [ 66, %20 ], [ %9, %27 ], [ %9, %33 ] %46 = phi ptr [ @.str.3, %40 ], [ @.str.2, %31 ], [ @.str.1, %22 ], [ @.str, %17 ], [ @.str, %20 ], [ @.str.2, %27 ], [ @.str.3, %33 ] %47 = phi i32 [ %42, %40 ], [ %32, %31 ], [ %25, %22 ], [ 0, %17 ], [ %21, %20 ], [ 0, %27 ], [ %39, %33 ] %48 = icmp eq i32 %44, %0 %49 = load i32, ptr @USB_SPEED_SUPER, align 4 %50 = icmp sle i32 %49, %0 %51 = select i1 %48, i1 true, i1 %50 %52 = select i1 %51, i32 125, i32 1000 %53 = mul i32 %52, %47 %54 = freeze i32 %53 %55 = udiv i32 %54, 1000 %56 = mul i32 %55, 1000 %57 = sub i32 %54, %56 %58 = icmp eq i32 %57, 0 %59 = select i1 %58, i8 109, i8 117 %60 = select i1 %58, i32 %55, i32 %53 %61 = load ptr, ptr @format_endpt, align 8, !tbaa !12 %62 = getelementptr inbounds i8, ptr %3, i64 8 %63 = load i32, ptr %62, align 4, !tbaa !14 %64 = getelementptr inbounds i8, ptr %3, i64 4 %65 = load i32, ptr %64, align 4, !tbaa !15 %66 = tail call i32 @usb_endpoint_maxp(ptr noundef %3) #2 %67 = mul i32 %66, %15 %68 = tail call i32 @sprintf(ptr noundef %1, ptr noundef %61, i32 noundef %63, i8 noundef signext %45, i32 noundef %65, ptr noundef nonnull %46, i32 noundef %67, i32 noundef %60, i8 noundef signext %59) #2 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %1, i64 %69 br label %71 71: ; preds = %14, %4, %43 %72 = phi ptr [ %70, %43 ], [ %1, %4 ], [ %1, %14 ] ret ptr %72 } declare i64 @usb_endpoint_dir_in(ptr noundef) local_unnamed_addr #1 declare i32 @usb_endpoint_maxp_mult(ptr noundef) local_unnamed_addr #1 declare i32 @usb_endpoint_type(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @usb_endpoint_maxp(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 = !{!"usb_endpoint_descriptor", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !7, i64 4}
linux_drivers_usb_core_extr_devices.c_usb_dump_endpoint_descriptor
; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_free_resources.c' source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_free_resources.c" target datalayout = "e-m:e-p270:32:32-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.vmxnet3_softc = type { ptr, ptr, i32 } @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vmxnet3_free_resources], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vmxnet3_free_resources(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.vmxnet3_softc, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.vmxnet3_softc, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !12 %9 = tail call i32 @rman_get_rid(ptr noundef nonnull %5) #2 %10 = load ptr, ptr %4, align 8, !tbaa !11 %11 = tail call i32 @bus_release_resource(i32 noundef %3, i32 noundef %8, i32 noundef %9, ptr noundef %10) #2 store ptr null, ptr %4, align 8, !tbaa !11 br label %12 12: ; preds = %7, %1 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = icmp eq ptr %13, null br i1 %14, label %20, label %15 15: ; preds = %12 %16 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !12 %17 = tail call i32 @rman_get_rid(ptr noundef nonnull %13) #2 %18 = load ptr, ptr %0, align 8, !tbaa !13 %19 = tail call i32 @bus_release_resource(i32 noundef %3, i32 noundef %16, i32 noundef %17, ptr noundef %18) #2 store ptr null, ptr %0, align 8, !tbaa !13 br label %20 20: ; preds = %15, %12 ret void } declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_rid(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 16} !6 = !{!"vmxnet3_softc", !7, i64 0, !7, i64 8, !10, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 8} !12 = !{!10, !10, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_free_resources.c' source_filename = "AnghaBench/freebsd/sys/dev/vmware/vmxnet3/extr_if_vmx.c_vmxnet3_free_resources.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vmxnet3_free_resources], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vmxnet3_free_resources(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i32, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !13 %9 = tail call i32 @rman_get_rid(ptr noundef nonnull %5) #2 %10 = load ptr, ptr %4, align 8, !tbaa !12 %11 = tail call i32 @bus_release_resource(i32 noundef %3, i32 noundef %8, i32 noundef %9, ptr noundef %10) #2 store ptr null, ptr %4, align 8, !tbaa !12 br label %12 12: ; preds = %7, %1 %13 = load ptr, ptr %0, align 8, !tbaa !14 %14 = icmp eq ptr %13, null br i1 %14, label %20, label %15 15: ; preds = %12 %16 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !13 %17 = tail call i32 @rman_get_rid(ptr noundef nonnull %13) #2 %18 = load ptr, ptr %0, align 8, !tbaa !14 %19 = tail call i32 @bus_release_resource(i32 noundef %3, i32 noundef %16, i32 noundef %17, ptr noundef %18) #2 store ptr null, ptr %0, align 8, !tbaa !14 br label %20 20: ; preds = %15, %12 ret void } declare i32 @bus_release_resource(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rman_get_rid(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 16} !7 = !{!"vmxnet3_softc", !8, i64 0, !8, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!7, !8, i64 0}
freebsd_sys_dev_vmware_vmxnet3_extr_if_vmx.c_vmxnet3_free_resources
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.h_oxygen_set_bits8.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.h_oxygen_set_bits8.c" target datalayout = "e-m:e-p270:32:32-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 @oxygen_set_bits8], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @oxygen_set_bits8(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @oxygen_write8_masked(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %2) #2 ret void } declare i32 @oxygen_write8_masked(ptr noundef, i32 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)"}
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.h_oxygen_set_bits8.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.h_oxygen_set_bits8.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 @oxygen_set_bits8], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @oxygen_set_bits8(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @oxygen_write8_masked(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %2) #2 ret void } declare i32 @oxygen_write8_masked(ptr noundef, i32 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)"}
linux_sound_pci_oxygen_extr_oxygen.h_oxygen_set_bits8
; ModuleID = 'AnghaBench/linux/drivers/hwmon/occ/extr_sysfs.c_occ_setup_sysfs.c' source_filename = "AnghaBench/linux/drivers/hwmon/occ/extr_sysfs.c_occ_setup_sysfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @occ_sysfs = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @occ_setup_sysfs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @sysfs_create_group(ptr noundef %2, ptr noundef nonnull @occ_sysfs) #2 ret i32 %3 } declare i32 @sysfs_create_group(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 = !{!"occ", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/occ/extr_sysfs.c_occ_setup_sysfs.c' source_filename = "AnghaBench/linux/drivers/hwmon/occ/extr_sysfs.c_occ_setup_sysfs.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @occ_sysfs = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @occ_setup_sysfs(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @sysfs_create_group(ptr noundef %2, ptr noundef nonnull @occ_sysfs) #2 ret i32 %3 } declare i32 @sysfs_create_group(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 = !{!"occ", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_hwmon_occ_extr_sysfs.c_occ_setup_sysfs
; ModuleID = 'AnghaBench/lab/q3map2/common/extr_bspfile.c_StripTrailing.c' source_filename = "AnghaBench/lab/q3map2/common/extr_bspfile.c_StripTrailing.c" target datalayout = "e-m:e-p270:32:32-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 @StripTrailing(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(ptr noundef %0) #2 %3 = sext i32 %2 to i64 %4 = getelementptr inbounds i8, ptr %0, i64 %3 %5 = getelementptr inbounds i8, ptr %4, i64 -1 %6 = icmp ult ptr %5, %0 br i1 %6, label %14, label %7 7: ; preds = %1, %11 %8 = phi ptr [ %12, %11 ], [ %5, %1 ] %9 = load i8, ptr %8, align 1, !tbaa !5 %10 = icmp slt i8 %9, 33 br i1 %10, label %11, label %14 11: ; preds = %7 store i8 0, ptr %8, align 1, !tbaa !5 %12 = getelementptr inbounds i8, ptr %8, i64 -1 %13 = icmp ult ptr %12, %0 br i1 %13, label %14, label %7, !llvm.loop !8 14: ; preds = %7, %11, %1 ret void } 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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/lab/q3map2/common/extr_bspfile.c_StripTrailing.c' source_filename = "AnghaBench/lab/q3map2/common/extr_bspfile.c_StripTrailing.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 @StripTrailing(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(ptr noundef %0) #2 %3 = sext i32 %2 to i64 %4 = getelementptr inbounds i8, ptr %0, i64 %3 %5 = getelementptr inbounds i8, ptr %4, i64 -1 %6 = icmp ult ptr %5, %0 br i1 %6, label %14, label %7 7: ; preds = %1, %11 %8 = phi ptr [ %12, %11 ], [ %5, %1 ] %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = icmp slt i8 %9, 33 br i1 %10, label %11, label %14 11: ; preds = %7 store i8 0, ptr %8, align 1, !tbaa !6 %12 = getelementptr inbounds i8, ptr %8, i64 -1 %13 = icmp ult ptr %12, %0 br i1 %13, label %14, label %7, !llvm.loop !9 14: ; preds = %7, %11, %1 ret void } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
lab_q3map2_common_extr_bspfile.c_StripTrailing
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_content.c_content_clear_subsystem.c' source_filename = "AnghaBench/RetroArch/tasks/extr_task_content.c_content_clear_subsystem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pending_subsystem_rom_id = dso_local local_unnamed_addr global i64 0, align 8 @pending_subsystem_init = dso_local local_unnamed_addr global i32 0, align 4 @RARCH_MAX_SUBSYSTEM_ROMS = dso_local local_unnamed_addr global i32 0, align 4 @pending_subsystem_roms = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @content_clear_subsystem() local_unnamed_addr #0 { store i64 0, ptr @pending_subsystem_rom_id, align 8, !tbaa !5 store i32 0, ptr @pending_subsystem_init, align 4, !tbaa !9 %1 = load i32, ptr @RARCH_MAX_SUBSYSTEM_ROMS, align 4, !tbaa !9 %2 = icmp eq i32 %1, 0 br i1 %2, label %24, label %3 3: ; preds = %0 %4 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !11 br label %5 5: ; preds = %3, %18 %6 = phi i32 [ %1, %3 ], [ %19, %18 ] %7 = phi ptr [ %4, %3 ], [ %20, %18 ] %8 = phi i64 [ 0, %3 ], [ %21, %18 ] %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %5 %13 = tail call i32 @free(ptr noundef nonnull %10) #2 %14 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !11 %15 = getelementptr inbounds ptr, ptr %14, i64 %8 store ptr null, ptr %15, align 8, !tbaa !11 %16 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !11 %17 = load i32, ptr @RARCH_MAX_SUBSYSTEM_ROMS, align 4, !tbaa !9 br label %18 18: ; preds = %5, %12 %19 = phi i32 [ %6, %5 ], [ %17, %12 ] %20 = phi ptr [ %7, %5 ], [ %16, %12 ] %21 = add nuw nsw i64 %8, 1 %22 = zext i32 %19 to i64 %23 = icmp ult i64 %21, %22 br i1 %23, label %5, label %24, !llvm.loop !13 24: ; preds = %18, %0 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/tasks/extr_task_content.c_content_clear_subsystem.c' source_filename = "AnghaBench/RetroArch/tasks/extr_task_content.c_content_clear_subsystem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pending_subsystem_rom_id = common local_unnamed_addr global i64 0, align 8 @pending_subsystem_init = common local_unnamed_addr global i32 0, align 4 @RARCH_MAX_SUBSYSTEM_ROMS = common local_unnamed_addr global i32 0, align 4 @pending_subsystem_roms = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @content_clear_subsystem() local_unnamed_addr #0 { store i64 0, ptr @pending_subsystem_rom_id, align 8, !tbaa !6 store i32 0, ptr @pending_subsystem_init, align 4, !tbaa !10 %1 = load i32, ptr @RARCH_MAX_SUBSYSTEM_ROMS, align 4, !tbaa !10 %2 = icmp eq i32 %1, 0 br i1 %2, label %24, label %3 3: ; preds = %0 %4 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !12 br label %5 5: ; preds = %3, %18 %6 = phi i32 [ %1, %3 ], [ %19, %18 ] %7 = phi ptr [ %4, %3 ], [ %20, %18 ] %8 = phi i64 [ 0, %3 ], [ %21, %18 ] %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %5 %13 = tail call i32 @free(ptr noundef nonnull %10) #2 %14 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !12 %15 = getelementptr inbounds ptr, ptr %14, i64 %8 store ptr null, ptr %15, align 8, !tbaa !12 %16 = load ptr, ptr @pending_subsystem_roms, align 8, !tbaa !12 %17 = load i32, ptr @RARCH_MAX_SUBSYSTEM_ROMS, align 4, !tbaa !10 br label %18 18: ; preds = %5, %12 %19 = phi i32 [ %6, %5 ], [ %17, %12 ] %20 = phi ptr [ %7, %5 ], [ %16, %12 ] %21 = add nuw nsw i64 %8, 1 %22 = zext i32 %19 to i64 %23 = icmp ult i64 %21, %22 br i1 %23, label %5, label %24, !llvm.loop !14 24: ; preds = %18, %0 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
RetroArch_tasks_extr_task_content.c_content_clear_subsystem
; ModuleID = 'AnghaBench/git/builtin/extr_shortlog.c_read_from_stdin.c' source_filename = "AnghaBench/git/builtin/extr_shortlog.c_read_from_stdin.c" target datalayout = "e-m:e-p270:32:32-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.strbuf = type { i32, i64 } @STRBUF_INIT = dso_local local_unnamed_addr global %struct.strbuf zeroinitializer, align 8 @.str = private unnamed_addr constant [9 x i8] c"Author: \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"author \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Commit: \00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"committer \00", align 1 @stdin = dso_local local_unnamed_addr global i32 0, align 4 @EOF = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_from_stdin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @read_from_stdin(ptr noundef %0) #0 { %2 = alloca %struct.strbuf, align 8 %3 = alloca %struct.strbuf, align 8 %4 = alloca %struct.strbuf, align 8 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !5 %6 = load i64, ptr %0, align 8, !tbaa !12 %7 = load i32, ptr @stdin, align 4, !tbaa !6 %8 = call i64 @strbuf_getline_lf(ptr noundef nonnull %2, i32 noundef %7) #4 %9 = load i64, ptr @EOF, align 8, !tbaa !10 %10 = icmp eq i64 %8, %9 br i1 %10, label %55, label %11 11: ; preds = %1 %12 = icmp eq i64 %6, 0 %13 = select i1 %12, ptr @.str, ptr @.str.2 %14 = select i1 %12, ptr @.str.1, ptr @.str.3 %15 = getelementptr inbounds %struct.strbuf, ptr %4, i64 0, i32 1 br label %16 16: ; preds = %11, %50 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %17 = load i32, ptr %2, align 8, !tbaa !14 %18 = call i32 @skip_prefix(i32 noundef %17, ptr noundef nonnull %13, ptr noundef nonnull %5) #4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %2, align 8, !tbaa !14 %22 = call i32 @skip_prefix(i32 noundef %21, ptr noundef nonnull %14, ptr noundef nonnull %5) #4 %23 = icmp eq i32 %22, 0 br i1 %23, label %50, label %24, !llvm.loop !16 24: ; preds = %20, %16 br label %25 25: ; preds = %24, %25 %26 = load i32, ptr @stdin, align 4, !tbaa !6 %27 = call i64 @strbuf_getline_lf(ptr noundef nonnull %4, i32 noundef %26) #4 %28 = load i64, ptr @EOF, align 8, !tbaa !10 %29 = icmp ne i64 %27, %28 %30 = load i64, ptr %15, align 8 %31 = icmp ne i64 %30, 0 %32 = select i1 %29, i1 %31, i1 false br i1 %32, label %25, label %33, !llvm.loop !18 33: ; preds = %25, %33 %34 = load i32, ptr @stdin, align 4, !tbaa !6 %35 = call i64 @strbuf_getline_lf(ptr noundef nonnull %4, i32 noundef %34) #4 %36 = load i64, ptr @EOF, align 8, !tbaa !10 %37 = icmp ne i64 %35, %36 %38 = load i64, ptr %15, align 8 %39 = icmp eq i64 %38, 0 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %33, label %41, !llvm.loop !19 41: ; preds = %33 %42 = call i32 @strbuf_reset(ptr noundef nonnull %3) #4 %43 = load ptr, ptr %5, align 8, !tbaa !20 %44 = call i64 @parse_stdin_author(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef %43) #4 %45 = icmp slt i64 %44, 0 br i1 %45, label %50, label %46, !llvm.loop !16 46: ; preds = %41 %47 = load i32, ptr %3, align 8, !tbaa !14 %48 = load i32, ptr %4, align 8, !tbaa !14 %49 = call i32 @insert_one_record(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48) #4 br label %50 50: ; preds = %41, %20, %46 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 %51 = load i32, ptr @stdin, align 4, !tbaa !6 %52 = call i64 @strbuf_getline_lf(ptr noundef nonnull %2, i32 noundef %51) #4 %53 = load i64, ptr @EOF, align 8, !tbaa !10 %54 = icmp eq i64 %52, %53 br i1 %54, label %55, label %16 55: ; preds = %50, %1 %56 = call i32 @strbuf_release(ptr noundef nonnull %2) #4 %57 = call i32 @strbuf_release(ptr noundef nonnull %3) #4 %58 = call i32 @strbuf_release(ptr noundef nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @strbuf_getline_lf(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @skip_prefix(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strbuf_reset(ptr noundef) local_unnamed_addr #3 declare i64 @parse_stdin_author(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @insert_one_record(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_release(ptr noundef) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{i64 0, i64 4, !6, i64 8, i64 8, !10} !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, !11, i64 0} !13 = !{!"shortlog", !11, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"strbuf", !7, i64 0, !11, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17} !19 = distinct !{!19, !17} !20 = !{!21, !21, i64 0} !21 = !{!"any pointer", !8, i64 0}
; ModuleID = 'AnghaBench/git/builtin/extr_shortlog.c_read_from_stdin.c' source_filename = "AnghaBench/git/builtin/extr_shortlog.c_read_from_stdin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.strbuf = type { i32, i64 } @STRBUF_INIT = common local_unnamed_addr global %struct.strbuf zeroinitializer, align 8 @.str = private unnamed_addr constant [9 x i8] c"Author: \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"author \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Commit: \00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"committer \00", align 1 @stdin = common local_unnamed_addr global i32 0, align 4 @EOF = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @read_from_stdin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @read_from_stdin(ptr noundef %0) #0 { %2 = alloca %struct.strbuf, align 8 %3 = alloca %struct.strbuf, align 8 %4 = alloca %struct.strbuf, align 8 %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !6 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !6 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) @STRBUF_INIT, i64 16, i1 false), !tbaa.struct !6 %6 = load i64, ptr %0, align 8, !tbaa !13 %7 = load i32, ptr @stdin, align 4, !tbaa !7 %8 = call i64 @strbuf_getline_lf(ptr noundef nonnull %2, i32 noundef %7) #4 %9 = load i64, ptr @EOF, align 8, !tbaa !11 %10 = icmp eq i64 %8, %9 br i1 %10, label %55, label %11 11: ; preds = %1 %12 = icmp eq i64 %6, 0 %13 = select i1 %12, ptr @.str, ptr @.str.2 %14 = select i1 %12, ptr @.str.1, ptr @.str.3 %15 = getelementptr inbounds i8, ptr %4, i64 8 br label %16 16: ; preds = %11, %50 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %17 = load i32, ptr %2, align 8, !tbaa !15 %18 = call i32 @skip_prefix(i32 noundef %17, ptr noundef nonnull %13, ptr noundef nonnull %5) #4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %2, align 8, !tbaa !15 %22 = call i32 @skip_prefix(i32 noundef %21, ptr noundef nonnull %14, ptr noundef nonnull %5) #4 %23 = icmp eq i32 %22, 0 br i1 %23, label %50, label %24, !llvm.loop !17 24: ; preds = %20, %16 br label %25 25: ; preds = %24, %25 %26 = load i32, ptr @stdin, align 4, !tbaa !7 %27 = call i64 @strbuf_getline_lf(ptr noundef nonnull %4, i32 noundef %26) #4 %28 = load i64, ptr @EOF, align 8, !tbaa !11 %29 = icmp ne i64 %27, %28 %30 = load i64, ptr %15, align 8 %31 = icmp ne i64 %30, 0 %32 = select i1 %29, i1 %31, i1 false br i1 %32, label %25, label %33, !llvm.loop !19 33: ; preds = %25, %33 %34 = load i32, ptr @stdin, align 4, !tbaa !7 %35 = call i64 @strbuf_getline_lf(ptr noundef nonnull %4, i32 noundef %34) #4 %36 = load i64, ptr @EOF, align 8, !tbaa !11 %37 = icmp ne i64 %35, %36 %38 = load i64, ptr %15, align 8 %39 = icmp eq i64 %38, 0 %40 = select i1 %37, i1 %39, i1 false br i1 %40, label %33, label %41, !llvm.loop !20 41: ; preds = %33 %42 = call i32 @strbuf_reset(ptr noundef nonnull %3) #4 %43 = load ptr, ptr %5, align 8, !tbaa !21 %44 = call i64 @parse_stdin_author(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef %43) #4 %45 = icmp slt i64 %44, 0 br i1 %45, label %50, label %46, !llvm.loop !17 46: ; preds = %41 %47 = load i32, ptr %3, align 8, !tbaa !15 %48 = load i32, ptr %4, align 8, !tbaa !15 %49 = call i32 @insert_one_record(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %48) #4 br label %50 50: ; preds = %41, %20, %46 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 %51 = load i32, ptr @stdin, align 4, !tbaa !7 %52 = call i64 @strbuf_getline_lf(ptr noundef nonnull %2, i32 noundef %51) #4 %53 = load i64, ptr @EOF, align 8, !tbaa !11 %54 = icmp eq i64 %52, %53 br i1 %54, label %55, label %16 55: ; preds = %50, %1 %56 = call i32 @strbuf_release(ptr noundef nonnull %2) #4 %57 = call i32 @strbuf_release(ptr noundef nonnull %3) #4 %58 = call i32 @strbuf_release(ptr noundef nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i64 @strbuf_getline_lf(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @skip_prefix(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strbuf_reset(ptr noundef) local_unnamed_addr #3 declare i64 @parse_stdin_author(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @insert_one_record(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @strbuf_release(ptr noundef) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 0, i64 4, !7, i64 8, i64 8, !11} !7 = !{!8, !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"shortlog", !12, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"strbuf", !8, i64 0, !12, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18} !21 = !{!22, !22, i64 0} !22 = !{!"any pointer", !9, i64 0}
git_builtin_extr_shortlog.c_read_from_stdin
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/i4l/extr_isdn_common.c_set_global_features.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/i4l/extr_isdn_common.c_set_global_features.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @dev = dso_local local_unnamed_addr global ptr null, align 8 @ISDN_MAX_DRIVERS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_global_features], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @set_global_features() #0 { %1 = load ptr, ptr @dev, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1 store i32 0, ptr %2, align 8, !tbaa !9 %3 = load i32, ptr @ISDN_MAX_DRIVERS, align 4, !tbaa !12 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %56 5: ; preds = %0 %6 = load ptr, ptr %1, align 8, !tbaa !13 %7 = zext nneg i32 %3 to i64 %8 = and i64 %7, 1 %9 = icmp eq i32 %3, 1 br i1 %9, label %42, label %10 10: ; preds = %5 %11 = and i64 %7, 2147483646 br label %12 12: ; preds = %37, %10 %13 = phi i32 [ 0, %10 ], [ %38, %37 ] %14 = phi i64 [ 0, %10 ], [ %39, %37 ] %15 = phi i64 [ 0, %10 ], [ %40, %37 ] %16 = getelementptr inbounds ptr, ptr %6, i64 %14 %17 = load ptr, ptr %16, align 8, !tbaa !5 %18 = icmp eq ptr %17, null br i1 %18, label %25, label %19 19: ; preds = %12 %20 = load ptr, ptr %17, align 8, !tbaa !14 %21 = icmp eq ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %20, align 4, !tbaa !16 %24 = or i32 %13, %23 store i32 %24, ptr %2, align 8, !tbaa !9 br label %25 25: ; preds = %19, %22, %12 %26 = phi i32 [ %13, %19 ], [ %24, %22 ], [ %13, %12 ] %27 = or disjoint i64 %14, 1 %28 = getelementptr inbounds ptr, ptr %6, i64 %27 %29 = load ptr, ptr %28, align 8, !tbaa !5 %30 = icmp eq ptr %29, null br i1 %30, label %37, label %31 31: ; preds = %25 %32 = load ptr, ptr %29, align 8, !tbaa !14 %33 = icmp eq ptr %32, null br i1 %33, label %37, label %34 34: ; preds = %31 %35 = load i32, ptr %32, align 4, !tbaa !16 %36 = or i32 %26, %35 store i32 %36, ptr %2, align 8, !tbaa !9 br label %37 37: ; preds = %34, %31, %25 %38 = phi i32 [ %26, %31 ], [ %36, %34 ], [ %26, %25 ] %39 = add nuw nsw i64 %14, 2 %40 = add i64 %15, 2 %41 = icmp eq i64 %40, %11 br i1 %41, label %42, label %12, !llvm.loop !18 42: ; preds = %37, %5 %43 = phi i32 [ 0, %5 ], [ %38, %37 ] %44 = phi i64 [ 0, %5 ], [ %39, %37 ] %45 = icmp eq i64 %8, 0 br i1 %45, label %56, label %46 46: ; preds = %42 %47 = getelementptr inbounds ptr, ptr %6, i64 %44 %48 = load ptr, ptr %47, align 8, !tbaa !5 %49 = icmp eq ptr %48, null br i1 %49, label %56, label %50 50: ; preds = %46 %51 = load ptr, ptr %48, align 8, !tbaa !14 %52 = icmp eq ptr %51, null br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr %51, align 4, !tbaa !16 %55 = or i32 %43, %54 store i32 %55, ptr %2, align 8, !tbaa !9 br label %56 56: ; preds = %42, %53, %50, %46, %0 ret void } attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_6__", !6, i64 0, !11, i64 8} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_5__", !6, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_4__", !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/i4l/extr_isdn_common.c_set_global_features.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/i4l/extr_isdn_common.c_set_global_features.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dev = common local_unnamed_addr global ptr null, align 8 @ISDN_MAX_DRIVERS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_global_features], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @set_global_features() #0 { %1 = load ptr, ptr @dev, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %1, i64 8 store i32 0, ptr %2, align 8, !tbaa !10 %3 = load i32, ptr @ISDN_MAX_DRIVERS, align 4, !tbaa !13 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %24 5: ; preds = %0 %6 = load ptr, ptr %1, align 8, !tbaa !14 %7 = zext nneg i32 %3 to i64 br label %8 8: ; preds = %5, %20 %9 = phi i32 [ 0, %5 ], [ %21, %20 ] %10 = phi i64 [ 0, %5 ], [ %22, %20 ] %11 = getelementptr inbounds ptr, ptr %6, i64 %10 %12 = load ptr, ptr %11, align 8, !tbaa !6 %13 = icmp eq ptr %12, null br i1 %13, label %20, label %14 14: ; preds = %8 %15 = load ptr, ptr %12, align 8, !tbaa !15 %16 = icmp eq ptr %15, null br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %15, align 4, !tbaa !17 %19 = or i32 %9, %18 store i32 %19, ptr %2, align 8, !tbaa !10 br label %20 20: ; preds = %14, %17, %8 %21 = phi i32 [ %9, %14 ], [ %19, %17 ], [ %9, %8 ] %22 = add nuw nsw i64 %10, 1 %23 = icmp eq i64 %22, %7 br i1 %23, label %24, label %8, !llvm.loop !19 24: ; preds = %20, %0 ret void } attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_5__", !7, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_4__", !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_isdn_i4l_extr_isdn_common.c_set_global_features
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_blake2s_ref.c_blake2s_init_key.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_blake2s_ref.c_blake2s_init_key.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, ptr, ptr, i64, i64, i32, i32, i32, ptr, ptr } @BLAKE2S_OUTBYTES = dso_local local_unnamed_addr global i64 0, align 8 @BLAKE2S_KEYBYTES = dso_local local_unnamed_addr global i64 0, align 8 @BLAKE2S_BLOCKBYTES = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @blake2s_init_key(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = alloca [1 x %struct.TYPE_3__], align 16 call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5 %6 = load i64, ptr @BLAKE2S_OUTBYTES, align 8 %7 = freeze i64 %6 %8 = add i64 %1, -1 %9 = icmp ult i64 %8, %7 br i1 %9, label %10, label %50 10: ; preds = %4 %11 = icmp eq ptr %2, null %12 = icmp eq i64 %3, 0 %13 = or i1 %11, %12 %14 = load i64, ptr @BLAKE2S_KEYBYTES, align 8 %15 = icmp ult i64 %14, %3 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %50, label %17 17: ; preds = %10 %18 = inttoptr i64 %1 to ptr %19 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 10 store ptr %18, ptr %19, align 16, !tbaa !5 %20 = inttoptr i64 %3 to ptr %21 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 9 store ptr %20, ptr %21, align 8, !tbaa !12 store i32 1, ptr %5, align 16, !tbaa !13 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1 store i32 1, ptr %22, align 4, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 8 %24 = call i32 @store32(ptr noundef nonnull %23, i32 noundef 0) #5 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 7 %26 = call i32 @store32(ptr noundef nonnull %25, i32 noundef 0) #5 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 6 %28 = call i32 @store16(ptr noundef nonnull %27, i32 noundef 0) #5 %29 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 4 %30 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 2 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %29, i8 0, i64 16, i1 false) %31 = load ptr, ptr %30, align 8, !tbaa !15 %32 = call i32 @memset(ptr noundef %31, i32 noundef 0, i32 noundef 8) #5 %33 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 3 %34 = load ptr, ptr %33, align 16, !tbaa !16 %35 = call i32 @memset(ptr noundef %34, i32 noundef 0, i32 noundef 8) #5 %36 = call i64 @blake2s_init_param(ptr noundef %0, ptr noundef nonnull %5) #5 %37 = icmp slt i64 %36, 0 br i1 %37, label %50, label %38 38: ; preds = %17 %39 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !17 %40 = zext i32 %39 to i64 %41 = call ptr @llvm.stacksave.p0() %42 = alloca ptr, i64 %40, align 16 %43 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !17 %44 = call i32 @memset(ptr noundef nonnull %42, i32 noundef 0, i32 noundef %43) #5 %45 = call i32 @memcpy(ptr noundef nonnull %42, ptr noundef nonnull %2, i64 noundef %3) #5 %46 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !17 %47 = call i32 @blake2s_update(ptr noundef %0, ptr noundef nonnull %42, i32 noundef %46) #5 %48 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !17 %49 = call i32 @secure_zero_memory(ptr noundef nonnull %42, i32 noundef %48) #5 call void @llvm.stackrestore.p0(ptr %41) br label %50 50: ; preds = %17, %10, %4, %38 %51 = phi i32 [ 0, %38 ], [ -1, %4 ], [ -1, %10 ], [ -1, %17 ] call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @store32(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @store16(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @blake2s_init_param(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @blake2s_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @secure_zero_memory(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 64} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !10, i64 56, !10, i64 64} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !10, i64 56} !13 = !{!6, !7, i64 0} !14 = !{!6, !7, i64 4} !15 = !{!6, !10, i64 8} !16 = !{!6, !10, i64 16} !17 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_blake2s_ref.c_blake2s_init_key.c' source_filename = "AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_blake2s_ref.c_blake2s_init_key.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32, ptr, ptr, i64, i64, i32, i32, i32, ptr, ptr } @BLAKE2S_OUTBYTES = common local_unnamed_addr global i64 0, align 8 @BLAKE2S_KEYBYTES = common local_unnamed_addr global i64 0, align 8 @BLAKE2S_BLOCKBYTES = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @blake2s_init_key(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 { %5 = alloca [1 x %struct.TYPE_3__], align 8 call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5 %6 = load i64, ptr @BLAKE2S_OUTBYTES, align 8 %7 = freeze i64 %6 %8 = add i64 %1, -1 %9 = icmp ult i64 %8, %7 br i1 %9, label %10, label %49 10: ; preds = %4 %11 = icmp eq ptr %2, null %12 = icmp eq i64 %3, 0 %13 = or i1 %11, %12 %14 = load i64, ptr @BLAKE2S_KEYBYTES, align 8 %15 = icmp ult i64 %14, %3 %16 = select i1 %13, i1 true, i1 %15 br i1 %16, label %49, label %17 17: ; preds = %10 %18 = inttoptr i64 %1 to ptr %19 = getelementptr inbounds i8, ptr %5, i64 64 store ptr %18, ptr %19, align 8, !tbaa !6 %20 = inttoptr i64 %3 to ptr %21 = getelementptr inbounds i8, ptr %5, i64 56 store ptr %20, ptr %21, align 8, !tbaa !13 store <2 x i32> <i32 1, i32 1>, ptr %5, align 8, !tbaa !14 %22 = getelementptr inbounds i8, ptr %5, i64 48 %23 = call i32 @store32(ptr noundef nonnull %22, i32 noundef 0) #5 %24 = getelementptr inbounds i8, ptr %5, i64 44 %25 = call i32 @store32(ptr noundef nonnull %24, i32 noundef 0) #5 %26 = getelementptr inbounds i8, ptr %5, i64 40 %27 = call i32 @store16(ptr noundef nonnull %26, i32 noundef 0) #5 %28 = getelementptr inbounds i8, ptr %5, i64 24 %29 = getelementptr inbounds i8, ptr %5, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, i8 0, i64 16, i1 false) %30 = load ptr, ptr %29, align 8, !tbaa !15 %31 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef 8) #5 %32 = getelementptr inbounds i8, ptr %5, i64 16 %33 = load ptr, ptr %32, align 8, !tbaa !16 %34 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef 8) #5 %35 = call i64 @blake2s_init_param(ptr noundef %0, ptr noundef nonnull %5) #5 %36 = icmp slt i64 %35, 0 br i1 %36, label %49, label %37 37: ; preds = %17 %38 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !14 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave.p0() %41 = alloca ptr, i64 %39, align 8 %42 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !14 %43 = call i32 @memset(ptr noundef nonnull %41, i32 noundef 0, i32 noundef %42) #5 %44 = call i32 @memcpy(ptr noundef nonnull %41, ptr noundef nonnull %2, i64 noundef %3) #5 %45 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !14 %46 = call i32 @blake2s_update(ptr noundef %0, ptr noundef nonnull %41, i32 noundef %45) #5 %47 = load i32, ptr @BLAKE2S_BLOCKBYTES, align 4, !tbaa !14 %48 = call i32 @secure_zero_memory(ptr noundef nonnull %41, i32 noundef %47) #5 call void @llvm.stackrestore.p0(ptr %40) br label %49 49: ; preds = %17, %10, %4, %37 %50 = phi i32 [ 0, %37 ], [ -1, %4 ], [ -1, %10 ], [ -1, %17 ] call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5 ret i32 %50 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @store32(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @store16(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @blake2s_init_param(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @blake2s_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @secure_zero_memory(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 64} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !11, i64 56, !11, i64 64} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !11, i64 56} !14 = !{!8, !8, i64 0} !15 = !{!7, !11, i64 8} !16 = !{!7, !11, i64 16}
freebsd_contrib_libarchive_libarchive_extr_archive_blake2s_ref.c_blake2s_init_key
; ModuleID = 'AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_fp_fixuint_impl.inc___fixuint.c' source_filename = "AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_fp_fixuint_impl.inc___fixuint.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @absMask = dso_local local_unnamed_addr constant i32 0, align 4 @signBit = dso_local local_unnamed_addr constant i32 0, align 4 @significandBits = dso_local local_unnamed_addr constant i32 0, align 4 @exponentBias = dso_local local_unnamed_addr constant i32 0, align 4 @significandMask = dso_local local_unnamed_addr constant i32 0, align 4 @implicitBit = dso_local local_unnamed_addr constant i32 0, align 4 @CHAR_BIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__fixuint], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @__fixuint(i32 noundef %0) #0 { %2 = tail call i32 @toRep(i32 noundef %0) #2 %3 = load i32, ptr @CHAR_BIT, align 4, !tbaa !5 %4 = icmp eq i32 %3, 0 %5 = sext i1 %4 to i32 ret i32 %5 } declare i32 @toRep(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/freebsd/contrib/compiler-rt/lib/builtins/extr_fp_fixuint_impl.inc___fixuint.c' source_filename = "AnghaBench/freebsd/contrib/compiler-rt/lib/builtins/extr_fp_fixuint_impl.inc___fixuint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @absMask = common local_unnamed_addr global i32 0, align 4 @signBit = common local_unnamed_addr global i32 0, align 4 @significandBits = common local_unnamed_addr global i32 0, align 4 @exponentBias = common local_unnamed_addr global i32 0, align 4 @significandMask = common local_unnamed_addr global i32 0, align 4 @implicitBit = common local_unnamed_addr global i32 0, align 4 @CHAR_BIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__fixuint], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @__fixuint(i32 noundef %0) #0 { %2 = tail call i32 @toRep(i32 noundef %0) #2 %3 = load i32, ptr @absMask, align 4, !tbaa !6 %4 = and i32 %3, %2 %5 = load i32, ptr @signBit, align 4, !tbaa !6 %6 = and i32 %5, %2 %7 = icmp ne i32 %6, 0 %8 = load i32, ptr @significandBits, align 4, !tbaa !6 %9 = ashr i32 %4, %8 %10 = load i32, ptr @exponentBias, align 4, !tbaa !6 %11 = sub nsw i32 %9, %10 %12 = load i32, ptr @significandMask, align 4, !tbaa !6 %13 = and i32 %12, %4 %14 = load i32, ptr @implicitBit, align 4, !tbaa !6 %15 = or i32 %13, %14 %16 = icmp slt i32 %11, 0 %17 = select i1 %7, i1 true, i1 %16 br i1 %17, label %32, label %18 18: ; preds = %1 %19 = zext nneg i32 %11 to i64 %20 = load i32, ptr @CHAR_BIT, align 4, !tbaa !6 %21 = sext i32 %20 to i64 %22 = shl nsw i64 %21, 2 %23 = icmp ugt i64 %22, %19 br i1 %23, label %24, label %32 24: ; preds = %18 %25 = icmp slt i32 %11, %8 br i1 %25, label %26, label %29 26: ; preds = %24 %27 = sub nsw i32 %8, %11 %28 = ashr i32 %15, %27 br label %32 29: ; preds = %24 %30 = sub nsw i32 %11, %8 %31 = shl i32 %15, %30 br label %32 32: ; preds = %18, %1, %29, %26 %33 = phi i32 [ %28, %26 ], [ %31, %29 ], [ 0, %1 ], [ -1, %18 ] ret i32 %33 } declare i32 @toRep(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"}
freebsd_contrib_compiler-rt_lib_builtins_extr_fp_fixuint_impl.inc___fixuint
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_disable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.lan743x_adapter = type { i32, %struct.lan743x_ptp } %struct.lan743x_ptp = type { i32 } @drv = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"PTP already disabled\0A\00", align 1 @PTP_CMD_CTL = dso_local local_unnamed_addr global i32 0, align 4 @PTP_CMD_CTL_PTP_DISABLE_ = dso_local local_unnamed_addr global i32 0, align 4 @PTP_CMD_CTL_PTP_ENABLE_ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lan743x_ptp_disable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @lan743x_ptp_disable(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.lan743x_adapter, ptr %0, i64 0, i32 1 %3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2 %4 = tail call i32 @lan743x_ptp_is_enabled(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr @drv, align 4, !tbaa !5 %8 = load i32, ptr %0, align 4, !tbaa !9 %9 = tail call i32 @netif_warn(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8, ptr noundef nonnull @.str) #2 br label %16 10: ; preds = %1 %11 = load i32, ptr @PTP_CMD_CTL, align 4, !tbaa !5 %12 = load i32, ptr @PTP_CMD_CTL_PTP_DISABLE_, align 4, !tbaa !5 %13 = tail call i32 @lan743x_csr_write(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @PTP_CMD_CTL_PTP_ENABLE_, align 4, !tbaa !5 %15 = tail call i32 @lan743x_ptp_wait_till_cmd_done(ptr noundef %0, i32 noundef %14) #2 br label %16 16: ; preds = %10, %6 %17 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lan743x_ptp_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @netif_warn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lan743x_csr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lan743x_ptp_wait_till_cmd_done(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"lan743x_adapter", !6, i64 0, !11, i64 4} !11 = !{!"lan743x_ptp", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_disable.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_disable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @drv = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"PTP already disabled\0A\00", align 1 @PTP_CMD_CTL = common local_unnamed_addr global i32 0, align 4 @PTP_CMD_CTL_PTP_DISABLE_ = common local_unnamed_addr global i32 0, align 4 @PTP_CMD_CTL_PTP_ENABLE_ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lan743x_ptp_disable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @lan743x_ptp_disable(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @mutex_lock(ptr noundef nonnull %2) #2 %4 = tail call i32 @lan743x_ptp_is_enabled(ptr noundef %0) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load i32, ptr @drv, align 4, !tbaa !6 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call i32 @netif_warn(ptr noundef nonnull %0, i32 noundef %7, i32 noundef %8, ptr noundef nonnull @.str) #2 br label %16 10: ; preds = %1 %11 = load i32, ptr @PTP_CMD_CTL, align 4, !tbaa !6 %12 = load i32, ptr @PTP_CMD_CTL_PTP_DISABLE_, align 4, !tbaa !6 %13 = tail call i32 @lan743x_csr_write(ptr noundef %0, i32 noundef %11, i32 noundef %12) #2 %14 = load i32, ptr @PTP_CMD_CTL_PTP_ENABLE_, align 4, !tbaa !6 %15 = tail call i32 @lan743x_ptp_wait_till_cmd_done(ptr noundef %0, i32 noundef %14) #2 br label %16 16: ; preds = %10, %6 %17 = tail call i32 @mutex_unlock(ptr noundef nonnull %2) #2 ret void } declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @lan743x_ptp_is_enabled(ptr noundef) local_unnamed_addr #1 declare i32 @netif_warn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lan743x_csr_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lan743x_ptp_wait_till_cmd_done(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"lan743x_adapter", !7, i64 0, !12, i64 4} !12 = !{!"lan743x_ptp", !7, i64 0}
linux_drivers_net_ethernet_microchip_extr_lan743x_ptp.c_lan743x_ptp_disable
; ModuleID = 'AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__apply_mailbox.c' source_filename = "AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__apply_mailbox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GIT_REBASE_APPLY_APPLYING_FILE = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_APPLY_MAILBOX = dso_local local_unnamed_addr global i32 0, align 4 @_repo = dso_local local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_NONE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @test_repo_state__apply_mailbox() local_unnamed_addr #0 { %1 = load i32, ptr @GIT_REBASE_APPLY_APPLYING_FILE, align 4, !tbaa !5 %2 = tail call i32 @setup_simple_state(i32 noundef %1) #2 %3 = load i32, ptr @GIT_REPOSITORY_STATE_APPLY_MAILBOX, align 4, !tbaa !5 %4 = tail call i32 @assert_repo_state(i32 noundef %3) #2 %5 = load i32, ptr @_repo, align 4, !tbaa !5 %6 = tail call i32 @git_repository_state_cleanup(i32 noundef %5) #2 %7 = tail call i32 @cl_git_pass(i32 noundef %6) #2 %8 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !5 %9 = tail call i32 @assert_repo_state(i32 noundef %8) #2 ret void } declare i32 @setup_simple_state(i32 noundef) local_unnamed_addr #1 declare i32 @assert_repo_state(i32 noundef) local_unnamed_addr #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1 declare i32 @git_repository_state_cleanup(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/libgit2/tests/repo/extr_state.c_test_repo_state__apply_mailbox.c' source_filename = "AnghaBench/libgit2/tests/repo/extr_state.c_test_repo_state__apply_mailbox.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GIT_REBASE_APPLY_APPLYING_FILE = common local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_APPLY_MAILBOX = common local_unnamed_addr global i32 0, align 4 @_repo = common local_unnamed_addr global i32 0, align 4 @GIT_REPOSITORY_STATE_NONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_repo_state__apply_mailbox() local_unnamed_addr #0 { %1 = load i32, ptr @GIT_REBASE_APPLY_APPLYING_FILE, align 4, !tbaa !6 %2 = tail call i32 @setup_simple_state(i32 noundef %1) #2 %3 = load i32, ptr @GIT_REPOSITORY_STATE_APPLY_MAILBOX, align 4, !tbaa !6 %4 = tail call i32 @assert_repo_state(i32 noundef %3) #2 %5 = load i32, ptr @_repo, align 4, !tbaa !6 %6 = tail call i32 @git_repository_state_cleanup(i32 noundef %5) #2 %7 = tail call i32 @cl_git_pass(i32 noundef %6) #2 %8 = load i32, ptr @GIT_REPOSITORY_STATE_NONE, align 4, !tbaa !6 %9 = tail call i32 @assert_repo_state(i32 noundef %8) #2 ret void } declare i32 @setup_simple_state(i32 noundef) local_unnamed_addr #1 declare i32 @assert_repo_state(i32 noundef) local_unnamed_addr #1 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1 declare i32 @git_repository_state_cleanup(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"}
libgit2_tests_repo_extr_state.c_test_repo_state__apply_mailbox
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/extr_..wifi.h_rtl_write_byte_with_val32.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/extr_..wifi.h_rtl_write_byte_with_val32.c" target datalayout = "e-m:e-p270:32:32-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 @rtl_write_byte_with_val32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @rtl_write_byte_with_val32(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @rtl_priv(ptr noundef %0) #2 %5 = trunc i64 %2 to i32 %6 = tail call i32 @rtl_write_byte(ptr noundef %4, i64 noundef %1, i32 noundef %5) #2 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_write_byte(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/extr_..wifi.h_rtl_write_byte_with_val32.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/extr_..wifi.h_rtl_write_byte_with_val32.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 @rtl_write_byte_with_val32], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @rtl_write_byte_with_val32(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = tail call ptr @rtl_priv(ptr noundef %0) #2 %5 = trunc i64 %2 to i32 %6 = tail call i32 @rtl_write_byte(ptr noundef %4, i64 noundef %1, i32 noundef %5) #2 ret void } declare ptr @rtl_priv(ptr noundef) local_unnamed_addr #1 declare i32 @rtl_write_byte(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8192se_extr_..wifi.h_rtl_write_byte_with_val32
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-data.c_get_rate_item_fast.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_get_rate_item_fast.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @get_rate_item_fast], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_rate_item_fast(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @get_bitno(i32 noundef %4, i32 noundef %1) #2 %6 = icmp sgt i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load ptr, ptr %0, align 8, !tbaa !11 %9 = zext nneg i32 %5 to i64 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !12 br label %12 12: ; preds = %2, %7 %13 = phi i32 [ %11, %7 ], [ 0, %2 ] ret i32 %13 } declare i32 @get_bitno(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, !10, i64 8} !6 = !{!"TYPE_3__", !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} !12 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/kphp-kdb/search/extr_search-data.c_get_rate_item_fast.c' source_filename = "AnghaBench/kphp-kdb/search/extr_search-data.c_get_rate_item_fast.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_rate_item_fast], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_rate_item_fast(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @get_bitno(i32 noundef %4, i32 noundef %1) #2 %6 = icmp sgt i32 %5, -1 br i1 %6, label %7, label %12 7: ; preds = %2 %8 = load ptr, ptr %0, align 8, !tbaa !12 %9 = zext nneg i32 %5 to i64 %10 = getelementptr inbounds i32, ptr %8, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !13 br label %12 12: ; preds = %2, %7 %13 = phi i32 [ %11, %7 ], [ 0, %2 ] ret i32 %13 } declare i32 @get_bitno(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, !11, i64 8} !7 = !{!"TYPE_3__", !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} !13 = !{!11, !11, i64 0}
kphp-kdb_search_extr_search-data.c_get_rate_item_fast
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_host_controller_baseband.c_hci_write_le_host_supported_command.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_host_controller_baseband.c_hci_write_le_host_supported_command.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ARGC2: %d\0A\00", align 1 @USAGE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"ARGC1: %d\0A\00", align 1 @NG_HCI_OGF_HC_BASEBAND = dso_local local_unnamed_addr global i32 0, align 4 @NG_HCI_OCF_WRITE_LE_HOST_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @ERROR = dso_local local_unnamed_addr global i64 0, align 8 @stdout = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Status: %s [%#02x]\0A\00", align 1 @FAILED = dso_local local_unnamed_addr global i32 0, align 4 @OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hci_write_le_host_supported_command], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hci_write_le_host_supported_command(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.TYPE_4__, align 4 %5 = alloca %struct.TYPE_3__, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 store i32 0, ptr %7, align 4, !tbaa !5 switch i32 %1, label %37 [ i32 2, label %8 i32 1, label %20 ] 8: ; preds = %3 %9 = getelementptr inbounds ptr, ptr %2, i64 1 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = call i32 @sscanf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %6) #3 %12 = icmp ne i32 %11, 1 %13 = load i32, ptr %6, align 4 %14 = icmp ugt i32 %13, 1 %15 = select i1 %12, i1 true, i1 %14 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %13) #3 %18 = load i32, ptr @USAGE, align 4, !tbaa !12 br label %52 19: ; preds = %8 store i32 %13, ptr %7, align 4, !tbaa !5 br label %20 20: ; preds = %3, %19 %21 = load ptr, ptr %2, align 8, !tbaa !10 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef nonnull @.str, ptr noundef nonnull %6) #3 %23 = icmp ne i32 %22, 1 %24 = load i32, ptr %6, align 4 %25 = icmp ugt i32 %24, 1 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %24) #3 %29 = load i32, ptr @USAGE, align 4, !tbaa !12 br label %52 30: ; preds = %20 store i32 %24, ptr %4, align 4, !tbaa !13 store i32 4, ptr %6, align 4, !tbaa !12 %31 = load i32, ptr @NG_HCI_OGF_HC_BASEBAND, align 4, !tbaa !12 %32 = load i32, ptr @NG_HCI_OCF_WRITE_LE_HOST_SUPPORTED, align 4, !tbaa !12 %33 = call i32 @NG_HCI_OPCODE(i32 noundef %31, i32 noundef %32) #3 %34 = call i64 @hci_request(i32 noundef %0, i32 noundef %33, ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %35 = load i64, ptr @ERROR, align 8, !tbaa !14 %36 = icmp eq i64 %34, %35 br i1 %36, label %39, label %41 37: ; preds = %3 %38 = load i32, ptr @USAGE, align 4, !tbaa !12 br label %52 39: ; preds = %30 %40 = trunc i64 %34 to i32 br label %52 41: ; preds = %30 %42 = load i32, ptr %5, align 4, !tbaa !16 %43 = icmp eq i32 %42, 0 br i1 %43, label %50, label %44 44: ; preds = %41 %45 = load i32, ptr @stdout, align 4, !tbaa !12 %46 = call ptr @hci_status2str(i32 noundef %42) #3 %47 = load i32, ptr %5, align 4, !tbaa !16 %48 = call i32 @fprintf(i32 noundef %45, ptr noundef nonnull @.str.3, ptr noundef %46, i32 noundef %47) #3 %49 = load i32, ptr @FAILED, align 4, !tbaa !12 br label %52 50: ; preds = %41 %51 = load i32, ptr @OK, align 4, !tbaa !12 br label %52 52: ; preds = %50, %44, %39, %37, %27, %16 %53 = phi i32 [ %38, %37 ], [ %29, %27 ], [ %40, %39 ], [ %49, %44 ], [ %51, %50 ], [ %18, %16 ] 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 8, ptr nonnull %4) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @hci_request(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NG_HCI_OPCODE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hci_status2str(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_host_controller_baseband.c_hci_write_le_host_supported_command.c' source_filename = "AnghaBench/freebsd/usr.sbin/bluetooth/hccontrol/extr_host_controller_baseband.c_hci_write_le_host_supported_command.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ARGC2: %d\0A\00", align 1 @USAGE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"ARGC1: %d\0A\00", align 1 @NG_HCI_OGF_HC_BASEBAND = common local_unnamed_addr global i32 0, align 4 @NG_HCI_OCF_WRITE_LE_HOST_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @ERROR = common local_unnamed_addr global i64 0, align 8 @stdout = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [20 x i8] c"Status: %s [%#02x]\0A\00", align 1 @FAILED = common local_unnamed_addr global i32 0, align 4 @OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hci_write_le_host_supported_command], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hci_write_le_host_supported_command(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca %struct.TYPE_4__, align 4 %5 = alloca %struct.TYPE_3__, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = getelementptr inbounds i8, ptr %4, i64 4 store i32 0, ptr %7, align 4, !tbaa !6 switch i32 %1, label %37 [ i32 2, label %8 i32 1, label %20 ] 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %2, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = call i32 @sscanf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %6) #3 %12 = icmp ne i32 %11, 1 %13 = load i32, ptr %6, align 4 %14 = icmp ugt i32 %13, 1 %15 = select i1 %12, i1 true, i1 %14 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %13) #3 %18 = load i32, ptr @USAGE, align 4, !tbaa !13 br label %52 19: ; preds = %8 store i32 %13, ptr %7, align 4, !tbaa !6 br label %20 20: ; preds = %3, %19 %21 = load ptr, ptr %2, align 8, !tbaa !11 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef nonnull @.str, ptr noundef nonnull %6) #3 %23 = icmp ne i32 %22, 1 %24 = load i32, ptr %6, align 4 %25 = icmp ugt i32 %24, 1 %26 = select i1 %23, i1 true, i1 %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %24) #3 %29 = load i32, ptr @USAGE, align 4, !tbaa !13 br label %52 30: ; preds = %20 store i32 %24, ptr %4, align 4, !tbaa !14 store i32 4, ptr %6, align 4, !tbaa !13 %31 = load i32, ptr @NG_HCI_OGF_HC_BASEBAND, align 4, !tbaa !13 %32 = load i32, ptr @NG_HCI_OCF_WRITE_LE_HOST_SUPPORTED, align 4, !tbaa !13 %33 = call i32 @NG_HCI_OPCODE(i32 noundef %31, i32 noundef %32) #3 %34 = call i64 @hci_request(i32 noundef %0, i32 noundef %33, ptr noundef nonnull %4, i32 noundef 8, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %35 = load i64, ptr @ERROR, align 8, !tbaa !15 %36 = icmp eq i64 %34, %35 br i1 %36, label %39, label %41 37: ; preds = %3 %38 = load i32, ptr @USAGE, align 4, !tbaa !13 br label %52 39: ; preds = %30 %40 = trunc i64 %34 to i32 br label %52 41: ; preds = %30 %42 = load i32, ptr %5, align 4, !tbaa !17 %43 = icmp eq i32 %42, 0 br i1 %43, label %50, label %44 44: ; preds = %41 %45 = load i32, ptr @stdout, align 4, !tbaa !13 %46 = call ptr @hci_status2str(i32 noundef %42) #3 %47 = load i32, ptr %5, align 4, !tbaa !17 %48 = call i32 @fprintf(i32 noundef %45, ptr noundef nonnull @.str.3, ptr noundef %46, i32 noundef %47) #3 %49 = load i32, ptr @FAILED, align 4, !tbaa !13 br label %52 50: ; preds = %41 %51 = load i32, ptr @OK, align 4, !tbaa !13 br label %52 52: ; preds = %50, %44, %39, %37, %27, %16 %53 = phi i32 [ %38, %37 ], [ %29, %27 ], [ %40, %39 ], [ %49, %44 ], [ %51, %50 ], [ %18, %16 ] 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 8, ptr nonnull %4) #3 ret i32 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @hci_request(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NG_HCI_OPCODE(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @hci_status2str(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_3__", !8, i64 0}
freebsd_usr.sbin_bluetooth_hccontrol_extr_host_controller_baseband.c_hci_write_le_host_supported_command
; ModuleID = 'AnghaBench/libgit2/examples/extr_tag.c_print_tag.c' source_filename = "AnghaBench/libgit2/examples/extr_tag.c_print_tag.c" target datalayout = "e-m:e-p270:32:32-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"%-16s\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_tag], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_tag(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @git_tag_name(ptr noundef %0) #4 %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3) %5 = load ptr, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = tail call ptr @git_tag_message(ptr noundef %0) #4 %10 = tail call i32 @print_list_lines(ptr noundef %9, ptr noundef nonnull %1) #4 br label %13 11: ; preds = %2 %12 = tail call i32 @putchar(i32 10) br label %13 13: ; preds = %11, %8 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @git_tag_name(ptr noundef) local_unnamed_addr #2 declare ptr @git_tag_message(ptr noundef) local_unnamed_addr #2 declare i32 @print_list_lines(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/libgit2/examples/extr_tag.c_print_tag.c' source_filename = "AnghaBench/libgit2/examples/extr_tag.c_print_tag.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"%-16s\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_tag], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_tag(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @git_tag_name(ptr noundef %0) #4 %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3) %5 = load ptr, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = tail call ptr @git_tag_message(ptr noundef %0) #4 %10 = tail call i32 @print_list_lines(ptr noundef %9, ptr noundef nonnull %1) #4 br label %13 11: ; preds = %2 %12 = tail call i32 @putchar(i32 10) br label %13 13: ; preds = %11, %8 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1 declare ptr @git_tag_name(ptr noundef) local_unnamed_addr #2 declare ptr @git_tag_message(ptr noundef) local_unnamed_addr #2 declare i32 @print_list_lines(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"long", !9, i64 0}
libgit2_examples_extr_tag.c_print_tag
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_adxl372.c_adxl372_probe.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_adxl372.c_adxl372_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" %struct.adxl372_state = type { i32, ptr, ptr, ptr } %struct.iio_dev = type { ptr, i32, i32, i32, i32, ptr, %struct.TYPE_8__, i32, i32, i32 } %struct.TYPE_8__ = type { ptr } %struct.TYPE_10__ = type { %struct.TYPE_9__, ptr } %struct.TYPE_9__ = type { ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @adxl372_channels = dso_local local_unnamed_addr global i32 0, align 4 @adxl372_channel_masks = dso_local local_unnamed_addr global i32 0, align 4 @adxl372_info = dso_local global i32 0, align 4 @INDIO_DIRECT_MODE = dso_local local_unnamed_addr global i32 0, align 4 @INDIO_BUFFER_SOFTWARE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"ADXL372 setup failed\0A\00", align 1 @adxl372_trigger_handler = dso_local local_unnamed_addr global i32 0, align 4 @adxl372_buffer_ops = dso_local global i32 0, align 4 @adxl372_fifo_attributes = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"%s-dev%d\00", align 1 @adxl372_trigger_ops = dso_local global i32 0, align 4 @iio_trigger_generic_data_rdy_poll = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_TRIGGER_RISING = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_ONESHOT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @adxl372_probe(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @devm_iio_device_alloc(ptr noundef %0, i32 noundef 32) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %73 10: ; preds = %4 %11 = tail call ptr @iio_priv(ptr noundef nonnull %5) #2 %12 = tail call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef nonnull %5) #2 %13 = getelementptr inbounds %struct.adxl372_state, ptr %11, i64 0, i32 3 store ptr %0, ptr %13, align 8, !tbaa !9 %14 = getelementptr inbounds %struct.adxl372_state, ptr %11, i64 0, i32 2 store ptr %1, ptr %14, align 8, !tbaa !12 store i32 %2, ptr %11, align 8, !tbaa !13 %15 = load i32, ptr @adxl372_channels, align 4, !tbaa !5 %16 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 9 store i32 %15, ptr %16, align 8, !tbaa !14 %17 = tail call i32 @ARRAY_SIZE(i32 noundef %15) #2 %18 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 8 store i32 %17, ptr %18, align 4, !tbaa !17 %19 = load i32, ptr @adxl372_channel_masks, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 7 store i32 %19, ptr %20, align 8, !tbaa !18 %21 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 6 store ptr %0, ptr %21, align 8, !tbaa !19 store ptr %3, ptr %5, align 8, !tbaa !20 %22 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 5 store ptr @adxl372_info, ptr %22, align 8, !tbaa !21 %23 = load i32, ptr @INDIO_DIRECT_MODE, align 4, !tbaa !5 %24 = load i32, ptr @INDIO_BUFFER_SOFTWARE, align 4, !tbaa !5 %25 = or i32 %24, %23 %26 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 1 store i32 %25, ptr %26, align 8, !tbaa !22 %27 = tail call i32 @adxl372_setup(ptr noundef nonnull %11) #2 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %10 %30 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %73 31: ; preds = %10 %32 = load i32, ptr @adxl372_trigger_handler, align 4, !tbaa !5 %33 = tail call i32 @devm_iio_triggered_buffer_setup(ptr noundef %0, ptr noundef nonnull %5, ptr noundef null, i32 noundef %32, ptr noundef nonnull @adxl372_buffer_ops) #2 %34 = icmp slt i32 %33, 0 br i1 %34, label %73, label %35 35: ; preds = %31 %36 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 4 %37 = load i32, ptr %36, align 4, !tbaa !23 %38 = load i32, ptr @adxl372_fifo_attributes, align 4, !tbaa !5 %39 = tail call i32 @iio_buffer_set_attrs(i32 noundef %37, i32 noundef %38) #2 %40 = load i32, ptr %11, align 8, !tbaa !13 %41 = icmp eq i32 %40, 0 br i1 %41, label %71, label %42 42: ; preds = %35 %43 = load ptr, ptr %5, align 8, !tbaa !20 %44 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 3 %45 = load i32, ptr %44, align 8, !tbaa !24 %46 = tail call ptr @devm_iio_trigger_alloc(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %43, i32 noundef %45) #2 %47 = getelementptr inbounds %struct.adxl372_state, ptr %11, i64 0, i32 1 store ptr %46, ptr %47, align 8, !tbaa !25 %48 = icmp eq ptr %46, null br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %51 = sub nsw i32 0, %50 br label %73 52: ; preds = %42 %53 = getelementptr inbounds %struct.TYPE_10__, ptr %46, i64 0, i32 1 store ptr @adxl372_trigger_ops, ptr %53, align 8, !tbaa !26 store ptr %0, ptr %46, align 8, !tbaa !29 %54 = tail call i32 @iio_trigger_set_drvdata(ptr noundef nonnull %46, ptr noundef nonnull %5) #2 %55 = load ptr, ptr %47, align 8, !tbaa !25 %56 = tail call i32 @devm_iio_trigger_register(ptr noundef %0, ptr noundef %55) #2 %57 = icmp slt i32 %56, 0 br i1 %57, label %73, label %58 58: ; preds = %52 %59 = load ptr, ptr %47, align 8, !tbaa !25 %60 = tail call i32 @iio_trigger_get(ptr noundef %59) #2 %61 = getelementptr inbounds %struct.iio_dev, ptr %5, i64 0, i32 2 store i32 %60, ptr %61, align 4, !tbaa !30 %62 = load i32, ptr %11, align 8, !tbaa !13 %63 = load i32, ptr @iio_trigger_generic_data_rdy_poll, align 4, !tbaa !5 %64 = load i32, ptr @IRQF_TRIGGER_RISING, align 4, !tbaa !5 %65 = load i32, ptr @IRQF_ONESHOT, align 4, !tbaa !5 %66 = or i32 %65, %64 %67 = load ptr, ptr %5, align 8, !tbaa !20 %68 = load ptr, ptr %47, align 8, !tbaa !25 %69 = tail call i32 @devm_request_threaded_irq(ptr noundef %0, i32 noundef %62, i32 noundef %63, ptr noundef null, i32 noundef %66, ptr noundef %67, ptr noundef %68) #2 %70 = icmp slt i32 %69, 0 br i1 %70, label %73, label %71 71: ; preds = %58, %35 %72 = tail call i32 @devm_iio_device_register(ptr noundef %0, ptr noundef nonnull %5) #2 br label %73 73: ; preds = %58, %52, %31, %71, %49, %29, %7 %74 = phi i32 [ %27, %29 ], [ %51, %49 ], [ %72, %71 ], [ %9, %7 ], [ %33, %31 ], [ %56, %52 ], [ %69, %58 ] ret i32 %74 } declare ptr @devm_iio_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @adxl372_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_triggered_buffer_setup(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iio_buffer_set_attrs(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_iio_trigger_alloc(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_trigger_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_trigger_register(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iio_trigger_get(ptr noundef) local_unnamed_addr #1 declare i32 @devm_request_threaded_irq(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_device_register(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 24} !10 = !{!"adxl372_state", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 16} !13 = !{!10, !6, i64 0} !14 = !{!15, !6, i64 48} !15 = !{!"iio_dev", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !11, i64 24, !16, i64 32, !6, i64 40, !6, i64 44, !6, i64 48} !16 = !{!"TYPE_8__", !11, i64 0} !17 = !{!15, !6, i64 44} !18 = !{!15, !6, i64 40} !19 = !{!15, !11, i64 32} !20 = !{!15, !11, i64 0} !21 = !{!15, !11, i64 24} !22 = !{!15, !6, i64 8} !23 = !{!15, !6, i64 20} !24 = !{!15, !6, i64 16} !25 = !{!10, !11, i64 8} !26 = !{!27, !11, i64 8} !27 = !{!"TYPE_10__", !28, i64 0, !11, i64 8} !28 = !{!"TYPE_9__", !11, i64 0} !29 = !{!27, !11, i64 0} !30 = !{!15, !6, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/iio/accel/extr_adxl372.c_adxl372_probe.c' source_filename = "AnghaBench/linux/drivers/iio/accel/extr_adxl372.c_adxl372_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @adxl372_channels = common local_unnamed_addr global i32 0, align 4 @adxl372_channel_masks = common local_unnamed_addr global i32 0, align 4 @adxl372_info = common global i32 0, align 4 @INDIO_DIRECT_MODE = common local_unnamed_addr global i32 0, align 4 @INDIO_BUFFER_SOFTWARE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"ADXL372 setup failed\0A\00", align 1 @adxl372_trigger_handler = common local_unnamed_addr global i32 0, align 4 @adxl372_buffer_ops = common global i32 0, align 4 @adxl372_fifo_attributes = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"%s-dev%d\00", align 1 @adxl372_trigger_ops = common global i32 0, align 4 @iio_trigger_generic_data_rdy_poll = common local_unnamed_addr global i32 0, align 4 @IRQF_TRIGGER_RISING = common local_unnamed_addr global i32 0, align 4 @IRQF_ONESHOT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @adxl372_probe(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @devm_iio_device_alloc(ptr noundef %0, i32 noundef 32) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %73 10: ; preds = %4 %11 = tail call ptr @iio_priv(ptr noundef nonnull %5) #2 %12 = tail call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef nonnull %5) #2 %13 = getelementptr inbounds i8, ptr %11, i64 24 store ptr %0, ptr %13, align 8, !tbaa !10 %14 = getelementptr inbounds i8, ptr %11, i64 16 store ptr %1, ptr %14, align 8, !tbaa !13 store i32 %2, ptr %11, align 8, !tbaa !14 %15 = load i32, ptr @adxl372_channels, align 4, !tbaa !6 %16 = getelementptr inbounds i8, ptr %5, i64 48 store i32 %15, ptr %16, align 8, !tbaa !15 %17 = tail call i32 @ARRAY_SIZE(i32 noundef %15) #2 %18 = getelementptr inbounds i8, ptr %5, i64 44 store i32 %17, ptr %18, align 4, !tbaa !18 %19 = load i32, ptr @adxl372_channel_masks, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %5, i64 40 store i32 %19, ptr %20, align 8, !tbaa !19 %21 = getelementptr inbounds i8, ptr %5, i64 32 store ptr %0, ptr %21, align 8, !tbaa !20 store ptr %3, ptr %5, align 8, !tbaa !21 %22 = getelementptr inbounds i8, ptr %5, i64 24 store ptr @adxl372_info, ptr %22, align 8, !tbaa !22 %23 = load i32, ptr @INDIO_DIRECT_MODE, align 4, !tbaa !6 %24 = load i32, ptr @INDIO_BUFFER_SOFTWARE, align 4, !tbaa !6 %25 = or i32 %24, %23 %26 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %25, ptr %26, align 8, !tbaa !23 %27 = tail call i32 @adxl372_setup(ptr noundef nonnull %11) #2 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %10 %30 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %73 31: ; preds = %10 %32 = load i32, ptr @adxl372_trigger_handler, align 4, !tbaa !6 %33 = tail call i32 @devm_iio_triggered_buffer_setup(ptr noundef %0, ptr noundef nonnull %5, ptr noundef null, i32 noundef %32, ptr noundef nonnull @adxl372_buffer_ops) #2 %34 = icmp slt i32 %33, 0 br i1 %34, label %73, label %35 35: ; preds = %31 %36 = getelementptr inbounds i8, ptr %5, i64 20 %37 = load i32, ptr %36, align 4, !tbaa !24 %38 = load i32, ptr @adxl372_fifo_attributes, align 4, !tbaa !6 %39 = tail call i32 @iio_buffer_set_attrs(i32 noundef %37, i32 noundef %38) #2 %40 = load i32, ptr %11, align 8, !tbaa !14 %41 = icmp eq i32 %40, 0 br i1 %41, label %71, label %42 42: ; preds = %35 %43 = load ptr, ptr %5, align 8, !tbaa !21 %44 = getelementptr inbounds i8, ptr %5, i64 16 %45 = load i32, ptr %44, align 8, !tbaa !25 %46 = tail call ptr @devm_iio_trigger_alloc(ptr noundef %0, ptr noundef nonnull @.str.1, ptr noundef %43, i32 noundef %45) #2 %47 = getelementptr inbounds i8, ptr %11, i64 8 store ptr %46, ptr %47, align 8, !tbaa !26 %48 = icmp eq ptr %46, null br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %51 = sub nsw i32 0, %50 br label %73 52: ; preds = %42 %53 = getelementptr inbounds i8, ptr %46, i64 8 store ptr @adxl372_trigger_ops, ptr %53, align 8, !tbaa !27 store ptr %0, ptr %46, align 8, !tbaa !30 %54 = tail call i32 @iio_trigger_set_drvdata(ptr noundef nonnull %46, ptr noundef nonnull %5) #2 %55 = load ptr, ptr %47, align 8, !tbaa !26 %56 = tail call i32 @devm_iio_trigger_register(ptr noundef %0, ptr noundef %55) #2 %57 = icmp slt i32 %56, 0 br i1 %57, label %73, label %58 58: ; preds = %52 %59 = load ptr, ptr %47, align 8, !tbaa !26 %60 = tail call i32 @iio_trigger_get(ptr noundef %59) #2 %61 = getelementptr inbounds i8, ptr %5, i64 12 store i32 %60, ptr %61, align 4, !tbaa !31 %62 = load i32, ptr %11, align 8, !tbaa !14 %63 = load i32, ptr @iio_trigger_generic_data_rdy_poll, align 4, !tbaa !6 %64 = load i32, ptr @IRQF_TRIGGER_RISING, align 4, !tbaa !6 %65 = load i32, ptr @IRQF_ONESHOT, align 4, !tbaa !6 %66 = or i32 %65, %64 %67 = load ptr, ptr %5, align 8, !tbaa !21 %68 = load ptr, ptr %47, align 8, !tbaa !26 %69 = tail call i32 @devm_request_threaded_irq(ptr noundef %0, i32 noundef %62, i32 noundef %63, ptr noundef null, i32 noundef %66, ptr noundef %67, ptr noundef %68) #2 %70 = icmp slt i32 %69, 0 br i1 %70, label %73, label %71 71: ; preds = %58, %35 %72 = tail call i32 @devm_iio_device_register(ptr noundef %0, ptr noundef nonnull %5) #2 br label %73 73: ; preds = %58, %52, %31, %71, %49, %29, %7 %74 = phi i32 [ %27, %29 ], [ %51, %49 ], [ %72, %71 ], [ %9, %7 ], [ %33, %31 ], [ %56, %52 ], [ %69, %58 ] ret i32 %74 } declare ptr @devm_iio_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1 declare i32 @adxl372_setup(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_triggered_buffer_setup(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iio_buffer_set_attrs(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @devm_iio_trigger_alloc(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iio_trigger_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_trigger_register(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @iio_trigger_get(ptr noundef) local_unnamed_addr #1 declare i32 @devm_request_threaded_irq(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @devm_iio_device_register(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 24} !11 = !{!"adxl372_state", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 16} !14 = !{!11, !7, i64 0} !15 = !{!16, !7, i64 48} !16 = !{!"iio_dev", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !12, i64 24, !17, i64 32, !7, i64 40, !7, i64 44, !7, i64 48} !17 = !{!"TYPE_8__", !12, i64 0} !18 = !{!16, !7, i64 44} !19 = !{!16, !7, i64 40} !20 = !{!16, !12, i64 32} !21 = !{!16, !12, i64 0} !22 = !{!16, !12, i64 24} !23 = !{!16, !7, i64 8} !24 = !{!16, !7, i64 20} !25 = !{!16, !7, i64 16} !26 = !{!11, !12, i64 8} !27 = !{!28, !12, i64 8} !28 = !{!"TYPE_10__", !29, i64 0, !12, i64 8} !29 = !{!"TYPE_9__", !12, i64 0} !30 = !{!28, !12, i64 0} !31 = !{!16, !7, i64 12}
linux_drivers_iio_accel_extr_adxl372.c_adxl372_probe
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pcie-altera.c_altera_pcie_hide_rc_bar.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pcie-altera.c_altera_pcie_hide_rc_bar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCI_BASE_ADDRESS_0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @altera_pcie_hide_rc_bar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @altera_pcie_hide_rc_bar(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @pci_is_root_bus(ptr noundef %0) #2 %5 = icmp ne i64 %4, 0 %6 = icmp eq i32 %1, 0 %7 = and i1 %6, %5 %8 = load i32, ptr @PCI_BASE_ADDRESS_0, align 4 %9 = icmp eq i32 %8, %2 %10 = select i1 %7, i1 %9, i1 false %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @pci_is_root_bus(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/pci/controller/extr_pcie-altera.c_altera_pcie_hide_rc_bar.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pcie-altera.c_altera_pcie_hide_rc_bar.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCI_BASE_ADDRESS_0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @altera_pcie_hide_rc_bar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @altera_pcie_hide_rc_bar(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i64 @pci_is_root_bus(ptr noundef %0) #2 %5 = icmp ne i64 %4, 0 %6 = icmp eq i32 %1, 0 %7 = and i1 %6, %5 %8 = load i32, ptr @PCI_BASE_ADDRESS_0, align 4 %9 = icmp eq i32 %8, %2 %10 = select i1 %7, i1 %9, i1 false %11 = zext i1 %10 to i32 ret i32 %11 } declare i64 @pci_is_root_bus(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_pci_controller_extr_pcie-altera.c_altera_pcie_hide_rc_bar
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_biw_msa.c_hevc_hv_biwgt_4t_4w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_biw_msa.c_hevc_hv_biwgt_4t_4w_msa.c" target datalayout = "e-m:e-p270:32:32-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 @hevc_hv_biwgt_4t_4w_msa], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hevc_hv_biwgt_4t_4w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #0 { switch i32 %8, label %19 [ i32 2, label %15 i32 4, label %17 ] 15: ; preds = %14 %16 = tail call i32 @hevc_hv_biwgt_4t_4x2_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 17: ; preds = %14 %18 = tail call i32 @hevc_hv_biwgt_4t_4x4_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 19: ; preds = %14 %20 = and i32 %8, 7 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = tail call i32 @hevc_hv_biwgt_4t_4multx8mult_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 24: ; preds = %17, %22, %19, %15 ret void } declare i32 @hevc_hv_biwgt_4t_4x2_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_hv_biwgt_4t_4x4_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_hv_biwgt_4t_4multx8mult_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_biw_msa.c_hevc_hv_biwgt_4t_4w_msa.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hevc_mc_biw_msa.c_hevc_hv_biwgt_4t_4w_msa.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 @hevc_hv_biwgt_4t_4w_msa], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hevc_hv_biwgt_4t_4w_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #0 { switch i32 %8, label %19 [ i32 2, label %15 i32 4, label %17 ] 15: ; preds = %14 %16 = tail call i32 @hevc_hv_biwgt_4t_4x2_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 17: ; preds = %14 %18 = tail call i32 @hevc_hv_biwgt_4t_4x4_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 19: ; preds = %14 %20 = and i32 %8, 7 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = tail call i32 @hevc_hv_biwgt_4t_4multx8mult_msa(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, i32 noundef %13) #2 br label %24 24: ; preds = %17, %22, %19, %15 ret void } declare i32 @hevc_hv_biwgt_4t_4x2_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_hv_biwgt_4t_4x4_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @hevc_hv_biwgt_4t_4multx8mult_msa(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
FFmpeg_libavcodec_mips_extr_hevc_mc_biw_msa.c_hevc_hv_biwgt_4t_4w_msa
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ndisc.c_ip6_nd_hdr.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ndisc.c_ip6_nd_hdr.c" target datalayout = "e-m:e-p270:32:32-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.ipv6hdr = type { i32, %struct.in6_addr, %struct.in6_addr, i32, i32 } %struct.in6_addr = type { i32 } @IPPROTO_ICMPV6 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ip6_nd_hdr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ip6_nd_hdr(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 (...) @rcu_read_lock() #2 %7 = load i32, ptr %0, align 4, !tbaa !5 %8 = tail call ptr @__in6_dev_get(i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i32, ptr %8, align 4, !tbaa !10 br label %12 12: ; preds = %5, %10 %13 = phi i32 [ %11, %10 ], [ 0, %5 ] %14 = tail call i32 (...) @rcu_read_unlock() #2 %15 = tail call i32 @skb_push(ptr noundef nonnull %0, i32 noundef 20) #2 %16 = tail call i32 @skb_reset_network_header(ptr noundef nonnull %0) #2 %17 = tail call ptr @ipv6_hdr(ptr noundef nonnull %0) #2 %18 = tail call i32 @ip6_flow_hdr(ptr noundef %17, i32 noundef %13, i32 noundef 0) #2 %19 = tail call i32 @htons(i32 noundef %4) #2 %20 = getelementptr inbounds %struct.ipv6hdr, ptr %17, i64 0, i32 4 store i32 %19, ptr %20, align 4, !tbaa !13 %21 = load i32, ptr @IPPROTO_ICMPV6, align 4, !tbaa !16 %22 = getelementptr inbounds %struct.ipv6hdr, ptr %17, i64 0, i32 3 store i32 %21, ptr %22, align 4, !tbaa !17 store i32 %3, ptr %17, align 4, !tbaa !18 %23 = getelementptr inbounds %struct.ipv6hdr, ptr %17, i64 0, i32 2 %24 = load i32, ptr %1, align 4, !tbaa !16 store i32 %24, ptr %23, align 4, !tbaa !16 %25 = getelementptr inbounds %struct.ipv6hdr, ptr %17, i64 0, i32 1 %26 = load i32, ptr %2, align 4, !tbaa !16 store i32 %26, ptr %25, align 4, !tbaa !16 ret void } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @__in6_dev_get(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reset_network_header(ptr noundef) local_unnamed_addr #1 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1 declare i32 @ip6_flow_hdr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @htons(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 = !{!"sk_buff", !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 = !{!"inet6_dev", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0} !13 = !{!14, !7, i64 16} !14 = !{!"ipv6hdr", !7, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 16} !15 = !{!"in6_addr", !7, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!14, !7, i64 12} !18 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/ipv6/extr_ndisc.c_ip6_nd_hdr.c' source_filename = "AnghaBench/linux/net/ipv6/extr_ndisc.c_ip6_nd_hdr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IPPROTO_ICMPV6 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ip6_nd_hdr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ip6_nd_hdr(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) #0 { %6 = tail call i32 @rcu_read_lock() #2 %7 = load i32, ptr %0, align 4, !tbaa !6 %8 = tail call ptr @__in6_dev_get(i32 noundef %7) #2 %9 = icmp eq ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %5 %11 = load i32, ptr %8, align 4, !tbaa !11 br label %12 12: ; preds = %5, %10 %13 = phi i32 [ %11, %10 ], [ 0, %5 ] %14 = tail call i32 @rcu_read_unlock() #2 %15 = tail call i32 @skb_push(ptr noundef nonnull %0, i32 noundef 20) #2 %16 = tail call i32 @skb_reset_network_header(ptr noundef nonnull %0) #2 %17 = tail call ptr @ipv6_hdr(ptr noundef nonnull %0) #2 %18 = tail call i32 @ip6_flow_hdr(ptr noundef %17, i32 noundef %13, i32 noundef 0) #2 %19 = tail call i32 @htons(i32 noundef %4) #2 %20 = getelementptr inbounds i8, ptr %17, i64 16 store i32 %19, ptr %20, align 4, !tbaa !14 %21 = load i32, ptr @IPPROTO_ICMPV6, align 4, !tbaa !17 %22 = getelementptr inbounds i8, ptr %17, i64 12 store i32 %21, ptr %22, align 4, !tbaa !18 store i32 %3, ptr %17, align 4, !tbaa !19 %23 = getelementptr inbounds i8, ptr %17, i64 8 %24 = load i32, ptr %1, align 4, !tbaa !17 store i32 %24, ptr %23, align 4, !tbaa !17 %25 = getelementptr inbounds i8, ptr %17, i64 4 %26 = load i32, ptr %2, align 4, !tbaa !17 store i32 %26, ptr %25, align 4, !tbaa !17 ret void } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @__in6_dev_get(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @skb_push(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @skb_reset_network_header(ptr noundef) local_unnamed_addr #1 declare ptr @ipv6_hdr(ptr noundef) local_unnamed_addr #1 declare i32 @ip6_flow_hdr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @htons(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 = !{!"sk_buff", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"inet6_dev", !13, i64 0} !13 = !{!"TYPE_2__", !8, i64 0} !14 = !{!15, !8, i64 16} !15 = !{!"ipv6hdr", !8, i64 0, !16, i64 4, !16, i64 8, !8, i64 12, !8, i64 16} !16 = !{!"in6_addr", !8, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!15, !8, i64 12} !19 = !{!15, !8, i64 0}
linux_net_ipv6_extr_ndisc.c_ip6_nd_hdr
; ModuleID = 'AnghaBench/freebsd/stand/i386/loader/extr_main.c_isa_outb.c' source_filename = "AnghaBench/freebsd/stand/i386/loader/extr_main.c_isa_outb.c" target datalayout = "e-m:e-p270:32:32-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 @isa_outb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @isa_outb(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @outb(i32 noundef %0, i32 noundef %1) #2 ret void } declare i32 @outb(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/stand/i386/loader/extr_main.c_isa_outb.c' source_filename = "AnghaBench/freebsd/stand/i386/loader/extr_main.c_isa_outb.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 @isa_outb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @isa_outb(i32 noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @outb(i32 noundef %0, i32 noundef %1) #2 ret void } declare i32 @outb(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)"}
freebsd_stand_i386_loader_extr_main.c_isa_outb
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__WLocale_true.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__WLocale_true.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 117, i32 101, i32 0], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef nonnull ptr @_WLocale_true(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i64 noundef %2) local_unnamed_addr #0 { ret ptr @.str } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__WLocale_true.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/extr_c_locale_dummyc_locale_dummy.c__WLocale_true.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [5 x i32] [i32 116, i32 114, i32 117, i32 101, i32 0], align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef nonnull ptr @_WLocale_true(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, i64 noundef %2) local_unnamed_addr #0 { ret ptr @.str } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
reactos_sdk_lib_3rdparty_stlport_src_extr_c_locale_dummyc_locale_dummy.c__WLocale_true
; ModuleID = 'AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_StripExtension.c' source_filename = "AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_StripExtension.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @StripExtension(i8* noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(i8* noundef %0) #3 %3 = add i32 %2, -1 %4 = call i32 @llvm.smin.i32(i32 %3, i32 0) br label %5 5: ; preds = %13, %1 %6 = phi i32 [ %3, %1 ], [ %14, %13 ] %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %19 8: ; preds = %5 %9 = zext i32 %6 to i64 %10 = getelementptr inbounds i8, i8* %0, i64 %9 %11 = load i8, i8* %10, align 1, !tbaa !5 %12 = icmp eq i8 %11, 46 br i1 %12, label %21, label %13 13: ; preds = %8 %14 = add nsw i32 %6, -1 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds i8, i8* %0, i64 %15 %17 = load i8, i8* %16, align 1, !tbaa !5 %18 = icmp eq i8 %17, 47 br i1 %18, label %25, label %5, !llvm.loop !8 19: ; preds = %5 %20 = icmp sgt i32 %3, -1 br i1 %20, label %25, label %21 21: ; preds = %8, %19 %22 = phi i32 [ %4, %19 ], [ %6, %8 ] %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, i8* %0, i64 %23 store i8 0, i8* %24, align 1, !tbaa !5 br label %25 25: ; preds = %13, %19, %21 ret void } declare i32 @strlen(i8* noundef) local_unnamed_addr #1 ; Function Attrs: nofree nosync nounwind readnone speculatable willreturn declare i32 @llvm.smin.i32(i32, i32) #2 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nosync nounwind readnone speculatable willreturn } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_StripExtension.c' source_filename = "AnghaBench/lab/engine/code/tools/asm/extr_cmdlib.c_StripExtension.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 @StripExtension(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(ptr noundef %0) #2 %3 = add i32 %2, -1 br label %4 4: ; preds = %12, %1 %5 = phi i32 [ %3, %1 ], [ %13, %12 ] %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = zext nneg i32 %5 to i64 %9 = getelementptr inbounds i8, ptr %0, i64 %8 %10 = load i8, ptr %9, align 1, !tbaa !6 %11 = icmp eq i8 %10, 46 br i1 %11, label %20, label %12 12: ; preds = %7 %13 = add nsw i32 %5, -1 %14 = zext nneg i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %0, i64 %14 %16 = load i8, ptr %15, align 1, !tbaa !6 %17 = icmp eq i8 %16, 47 br i1 %17, label %24, label %4, !llvm.loop !9 18: ; preds = %4 %19 = icmp sgt i32 %3, -1 br i1 %19, label %24, label %20 20: ; preds = %7, %18 %21 = phi i32 [ %3, %18 ], [ %5, %7 ] %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %0, i64 %22 store i8 0, ptr %23, align 1, !tbaa !6 br label %24 24: ; preds = %12, %18, %20 ret void } 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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
lab_engine_code_tools_asm_extr_cmdlib.c_StripExtension
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_omap_hwmod.c__init_clkdm.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_omap_hwmod.c__init_clkdm.c" target datalayout = "e-m:e-p270:32:32-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.omap_hwmod = type { i32, i32, i32 } @.str = private unnamed_addr constant [37 x i8] c"omap_hwmod: %s: missing clockdomain\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"omap_hwmod: %s: could not associate to clkdm %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"omap_hwmod: %s: associated to clkdm %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @_init_clkdm], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @_init_clkdm(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = getelementptr inbounds %struct.omap_hwmod, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %6) #2 br label %19 8: ; preds = %1 %9 = tail call i32 @clkdm_lookup(i32 noundef %2) #2 %10 = getelementptr inbounds %struct.omap_hwmod, ptr %0, i64 0, i32 2 store i32 %9, ptr %10, align 4, !tbaa !11 %11 = icmp eq i32 %9, 0 %12 = getelementptr inbounds %struct.omap_hwmod, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !10 %14 = load i32, ptr %0, align 4, !tbaa !5 br i1 %11, label %15, label %17 15: ; preds = %8 %16 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %13, i32 noundef %14) #2 br label %19 17: ; preds = %8 %18 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str.2, i32 noundef %13, i32 noundef %14) #2 br label %19 19: ; preds = %17, %15, %4 ret i32 0 } declare i32 @pr_debug(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @clkdm_lookup(i32 noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"omap_hwmod", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_omap_hwmod.c__init_clkdm.c' source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_omap_hwmod.c__init_clkdm.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 [37 x i8] c"omap_hwmod: %s: missing clockdomain\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"omap_hwmod: %s: could not associate to clkdm %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"omap_hwmod: %s: associated to clkdm %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @_init_clkdm], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @_init_clkdm(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str, i32 noundef %6) #2 br label %19 8: ; preds = %1 %9 = tail call i32 @clkdm_lookup(i32 noundef %2) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %9, ptr %10, align 4, !tbaa !12 %11 = icmp eq i32 %9, 0 %12 = getelementptr inbounds i8, ptr %0, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = load i32, ptr %0, align 4, !tbaa !6 br i1 %11, label %15, label %17 15: ; preds = %8 %16 = tail call i32 @pr_warn(ptr noundef nonnull @.str.1, i32 noundef %13, i32 noundef %14) #2 br label %19 17: ; preds = %8 %18 = tail call i32 (ptr, i32, ...) @pr_debug(ptr noundef nonnull @.str.2, i32 noundef %13, i32 noundef %14) #2 br label %19 19: ; preds = %17, %15, %4 ret i32 0 } declare i32 @pr_debug(ptr noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @clkdm_lookup(i32 noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"omap_hwmod", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!7, !8, i64 8}
linux_arch_arm_mach-omap2_extr_omap_hwmod.c__init_clkdm
; ModuleID = 'AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_fifo_empty.c' source_filename = "AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_fifo_empty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cyapa_fifo = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @fifo_empty], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fifo_empty(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call i32 @CYAPA_LOCK_ASSERT(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.cyapa_fifo, ptr %1, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %4, %6 %8 = zext i1 %7 to i32 ret i32 %8 } declare i32 @CYAPA_LOCK_ASSERT(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 = !{!"cyapa_fifo", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_fifo_empty.c' source_filename = "AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_fifo_empty.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 @fifo_empty], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @fifo_empty(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call i32 @CYAPA_LOCK_ASSERT(ptr noundef %0) #2 %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !11 %7 = icmp eq i64 %4, %6 %8 = zext i1 %7 to i32 ret i32 %8 } declare i32 @CYAPA_LOCK_ASSERT(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 = !{!"cyapa_fifo", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
freebsd_sys_dev_cyapa_extr_cyapa.c_fifo_empty
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_r8152.c_determine_ethernet_addr.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_r8152.c_determine_ethernet_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.r8152 = type { i64, ptr } %struct.net_device = type { i32, i32 } %struct.sockaddr = type { i32, i32 } @RTL_VER_01 = dso_local local_unnamed_addr global i64 0, align 8 @PLA_IDR = dso_local local_unnamed_addr global i32 0, align 4 @PLA_BACKUP = dso_local local_unnamed_addr global i32 0, align 4 @probe = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Get ether addr fail\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid ether addr %pM\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Random ether addr %pM\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @determine_ethernet_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @determine_ethernet_addr(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.r8152, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.net_device, ptr %4, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.sockaddr, ptr %1, i64 0, i32 1 store i32 %6, ptr %7, align 4, !tbaa !14 %8 = load i64, ptr %0, align 8, !tbaa !16 %9 = load i64, ptr @RTL_VER_01, align 8, !tbaa !17 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = tail call i32 @vendor_mac_passthru_addr_read(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11, %2 %15 = phi ptr [ @PLA_IDR, %2 ], [ @PLA_BACKUP, %11 ] %16 = load i32, ptr %15, align 4, !tbaa !18 %17 = load i32, ptr %1, align 4, !tbaa !19 %18 = tail call i32 @pla_ocp_read(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 8, i32 noundef %17) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i32, ptr @probe, align 4, !tbaa !18 %22 = tail call i32 (ptr, i32, ptr, ptr, ...) @netif_err(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull %4, ptr noundef nonnull @.str) #2 br label %39 23: ; preds = %11, %14 %24 = phi i32 [ %18, %14 ], [ %12, %11 ] %25 = load i32, ptr %1, align 4, !tbaa !19 %26 = tail call i32 @is_valid_ether_addr(i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %23 %29 = load i32, ptr @probe, align 4, !tbaa !18 %30 = load i32, ptr %1, align 4, !tbaa !19 %31 = tail call i32 (ptr, i32, ptr, ptr, ...) @netif_err(ptr noundef nonnull %0, i32 noundef %29, ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i32 noundef %30) #2 %32 = tail call i32 @eth_hw_addr_random(ptr noundef nonnull %4) #2 %33 = load i32, ptr %1, align 4, !tbaa !19 %34 = load i32, ptr %4, align 4, !tbaa !20 %35 = tail call i32 @ether_addr_copy(i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @probe, align 4, !tbaa !18 %37 = load i32, ptr %1, align 4, !tbaa !19 %38 = tail call i32 @netif_info(ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef %37) #2 br label %39 39: ; preds = %20, %23, %28 %40 = phi i32 [ 0, %28 ], [ %24, %23 ], [ %18, %20 ] ret i32 %40 } declare i32 @pla_ocp_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vendor_mac_passthru_addr_read(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_err(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @is_valid_ether_addr(i32 noundef) local_unnamed_addr #1 declare i32 @eth_hw_addr_random(ptr noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"r8152", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 4} !12 = !{!"net_device", !13, i64 0, !13, i64 4} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 4} !15 = !{!"sockaddr", !13, i64 0, !13, i64 4} !16 = !{!6, !7, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!13, !13, i64 0} !19 = !{!15, !13, i64 0} !20 = !{!12, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_r8152.c_determine_ethernet_addr.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_r8152.c_determine_ethernet_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTL_VER_01 = common local_unnamed_addr global i64 0, align 8 @PLA_IDR = common local_unnamed_addr global i32 0, align 4 @PLA_BACKUP = common local_unnamed_addr global i32 0, align 4 @probe = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Get ether addr fail\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Invalid ether addr %pM\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Random ether addr %pM\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @determine_ethernet_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @determine_ethernet_addr(ptr noundef %0, ptr 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 %4, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %6, ptr %7, align 4, !tbaa !15 %8 = load i64, ptr %0, align 8, !tbaa !17 %9 = load i64, ptr @RTL_VER_01, align 8, !tbaa !18 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = tail call i32 @vendor_mac_passthru_addr_read(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11, %2 %15 = phi ptr [ @PLA_IDR, %2 ], [ @PLA_BACKUP, %11 ] %16 = load i32, ptr %15, align 4, !tbaa !19 %17 = load i32, ptr %1, align 4, !tbaa !20 %18 = tail call i32 @pla_ocp_read(ptr noundef nonnull %0, i32 noundef %16, i32 noundef 8, i32 noundef %17) #2 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %14 %21 = load i32, ptr @probe, align 4, !tbaa !19 %22 = tail call i32 (ptr, i32, ptr, ptr, ...) @netif_err(ptr noundef nonnull %0, i32 noundef %21, ptr noundef nonnull %4, ptr noundef nonnull @.str) #2 br label %39 23: ; preds = %11, %14 %24 = phi i32 [ %18, %14 ], [ %12, %11 ] %25 = load i32, ptr %1, align 4, !tbaa !20 %26 = tail call i32 @is_valid_ether_addr(i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %23 %29 = load i32, ptr @probe, align 4, !tbaa !19 %30 = load i32, ptr %1, align 4, !tbaa !20 %31 = tail call i32 (ptr, i32, ptr, ptr, ...) @netif_err(ptr noundef nonnull %0, i32 noundef %29, ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i32 noundef %30) #2 %32 = tail call i32 @eth_hw_addr_random(ptr noundef nonnull %4) #2 %33 = load i32, ptr %1, align 4, !tbaa !20 %34 = load i32, ptr %4, align 4, !tbaa !21 %35 = tail call i32 @ether_addr_copy(i32 noundef %33, i32 noundef %34) #2 %36 = load i32, ptr @probe, align 4, !tbaa !19 %37 = load i32, ptr %1, align 4, !tbaa !20 %38 = tail call i32 @netif_info(ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %4, ptr noundef nonnull @.str.2, i32 noundef %37) #2 br label %39 39: ; preds = %20, %23, %28 %40 = phi i32 [ 0, %28 ], [ %24, %23 ], [ %18, %20 ] ret i32 %40 } declare i32 @pla_ocp_read(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vendor_mac_passthru_addr_read(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_err(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @is_valid_ether_addr(i32 noundef) local_unnamed_addr #1 declare i32 @eth_hw_addr_random(ptr noundef) local_unnamed_addr #1 declare i32 @ether_addr_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_info(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"r8152", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 4} !13 = !{!"net_device", !14, i64 0, !14, i64 4} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 4} !16 = !{!"sockaddr", !14, i64 0, !14, i64 4} !17 = !{!7, !8, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!14, !14, i64 0} !20 = !{!16, !14, i64 0} !21 = !{!13, !14, i64 0}
linux_drivers_net_usb_extr_r8152.c_determine_ethernet_addr
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/i386/extr_dtrace_isa.c_dtrace_membar_producer.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/i386/extr_dtrace_isa.c_dtrace_membar_producer.c" target datalayout = "e-m:e-p270:32:32-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 @dtrace_membar_producer() local_unnamed_addr #0 { tail call void asm sideeffect "sfence", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !5 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 = !{i64 447}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/dev/i386/extr_dtrace_isa.c_dtrace_membar_producer.c' source_filename = "AnghaBench/darwin-xnu/bsd/dev/i386/extr_dtrace_isa.c_dtrace_membar_producer.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 @dtrace_membar_producer() local_unnamed_addr #0 { tail call void asm sideeffect "sfence", ""() #1, !srcloc !6 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{i64 447}
darwin-xnu_bsd_dev_i386_extr_dtrace_isa.c_dtrace_membar_producer
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_ori_8.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_ori_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"ori.b %s, %s\00", align 1 @g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_ori_8], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @d68000_ori_8() #0 { %1 = tail call ptr (...) @get_imm_str_u8() #2 %2 = load i32, ptr @g_dasm_str, align 4, !tbaa !5 %3 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5 %4 = tail call ptr @get_ea_mode_str_8(i32 noundef %3) #2 %5 = tail call i32 @sprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %4) #2 ret void } declare ptr @get_imm_str_u8(...) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(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/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_ori_8.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/cpu/musashi/extr_m68kdasm.c_d68000_ori_8.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_dasm_str = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"ori.b %s, %s\00", align 1 @g_cpu_ir = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d68000_ori_8], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @d68000_ori_8() #0 { %1 = tail call ptr @get_imm_str_u8() #2 %2 = load i32, ptr @g_dasm_str, align 4, !tbaa !6 %3 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6 %4 = tail call ptr @get_ea_mode_str_8(i32 noundef %3) #2 %5 = tail call i32 @sprintf(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %1, ptr noundef %4) #2 ret void } declare ptr @get_imm_str_u8(...) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(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"}
Provenance_Cores_PicoDrive_cpu_musashi_extr_m68kdasm.c_d68000_ori_8
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_main.c_mark_exit_flag.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_main.c_mark_exit_flag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @osm_exit_flag = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"OpenSM: Got signal %d - exiting...\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mark_exit_flag], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mark_exit_flag(i32 noundef %0) #0 { %2 = load i32, ptr @osm_exit_flag, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #2 br label %6 6: ; preds = %4, %1 store i32 1, ptr @osm_exit_flag, align 4, !tbaa !5 ret void } declare i32 @printf(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/freebsd/contrib/ofed/opensm/opensm/extr_main.c_mark_exit_flag.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_main.c_mark_exit_flag.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @osm_exit_flag = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"OpenSM: Got signal %d - exiting...\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mark_exit_flag], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mark_exit_flag(i32 noundef %0) #0 { %2 = load i32, ptr @osm_exit_flag, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %1 %5 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #2 br label %6 6: ; preds = %4, %1 store i32 1, ptr @osm_exit_flag, align 4, !tbaa !6 ret void } declare i32 @printf(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"}
freebsd_contrib_ofed_opensm_opensm_extr_main.c_mark_exit_flag
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_rss.c_rss_soft_m2cpuid_v6.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_rss.c_rss_soft_m2cpuid_v6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RSS_HASH_PKT_INGRESS = dso_local local_unnamed_addr global i32 0, align 4 @NETISR_CPUID_NONE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @rss_soft_m2cpuid_v6(ptr noundef returned %0, i64 noundef %1, ptr nocapture 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) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = tail call i32 @M_ASSERTPKTHDR(ptr noundef %0) #3 %7 = load i32, ptr @RSS_HASH_PKT_INGRESS, align 4, !tbaa !5 %8 = call i32 @rss_mbuf_software_hash_v6(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %0, align 4, !tbaa !9 %12 = call i32 @M_HASHTYPE_GET(ptr noundef nonnull %0) #3 %13 = call i32 @rss_hash2cpuid(i32 noundef %11, i32 noundef %12) #3 br label %25 14: ; preds = %3 %15 = icmp eq i32 %8, 0 br i1 %15, label %16, label %23 16: ; preds = %14 %17 = load i32, ptr %4, align 4, !tbaa !5 store i32 %17, ptr %0, align 4, !tbaa !9 %18 = load i32, ptr %5, align 4, !tbaa !5 %19 = call i32 @M_HASHTYPE_SET(ptr noundef nonnull %0, i32 noundef %18) #3 %20 = load i32, ptr %0, align 4, !tbaa !9 %21 = call i32 @M_HASHTYPE_GET(ptr noundef nonnull %0) #3 %22 = call i32 @rss_hash2cpuid(i32 noundef %20, i32 noundef %21) #3 br label %25 23: ; preds = %14 %24 = load i32, ptr @NETISR_CPUID_NONE, align 4, !tbaa !5 br label %25 25: ; preds = %16, %23, %10 %26 = phi i32 [ %22, %16 ], [ %24, %23 ], [ %13, %10 ] store i32 %26, ptr %2, align 4, !tbaa !5 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 ptr %0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @M_ASSERTPKTHDR(ptr noundef) local_unnamed_addr #2 declare i32 @rss_mbuf_software_hash_v6(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rss_hash2cpuid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @M_HASHTYPE_GET(ptr noundef) local_unnamed_addr #2 declare i32 @M_HASHTYPE_SET(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, !6, i64 0} !10 = !{!"mbuf", !11, i64 0} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/netinet6/extr_in6_rss.c_rss_soft_m2cpuid_v6.c' source_filename = "AnghaBench/freebsd/sys/netinet6/extr_in6_rss.c_rss_soft_m2cpuid_v6.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RSS_HASH_PKT_INGRESS = common local_unnamed_addr global i32 0, align 4 @NETISR_CPUID_NONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @rss_soft_m2cpuid_v6(ptr noundef returned %0, i64 noundef %1, ptr nocapture 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) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %6 = tail call i32 @M_ASSERTPKTHDR(ptr noundef %0) #3 %7 = load i32, ptr @RSS_HASH_PKT_INGRESS, align 4, !tbaa !6 %8 = call i32 @rss_mbuf_software_hash_v6(ptr noundef %0, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %5) #3 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %0, align 4, !tbaa !10 %12 = call i32 @M_HASHTYPE_GET(ptr noundef nonnull %0) #3 %13 = call i32 @rss_hash2cpuid(i32 noundef %11, i32 noundef %12) #3 br label %25 14: ; preds = %3 %15 = icmp eq i32 %8, 0 br i1 %15, label %16, label %23 16: ; preds = %14 %17 = load i32, ptr %4, align 4, !tbaa !6 store i32 %17, ptr %0, align 4, !tbaa !10 %18 = load i32, ptr %5, align 4, !tbaa !6 %19 = call i32 @M_HASHTYPE_SET(ptr noundef nonnull %0, i32 noundef %18) #3 %20 = load i32, ptr %0, align 4, !tbaa !10 %21 = call i32 @M_HASHTYPE_GET(ptr noundef nonnull %0) #3 %22 = call i32 @rss_hash2cpuid(i32 noundef %20, i32 noundef %21) #3 br label %25 23: ; preds = %14 %24 = load i32, ptr @NETISR_CPUID_NONE, align 4, !tbaa !6 br label %25 25: ; preds = %16, %23, %10 %26 = phi i32 [ %22, %16 ], [ %24, %23 ], [ %13, %10 ] store i32 %26, ptr %2, align 4, !tbaa !6 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 ptr %0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @M_ASSERTPKTHDR(ptr noundef) local_unnamed_addr #2 declare i32 @rss_mbuf_software_hash_v6(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @rss_hash2cpuid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @M_HASHTYPE_GET(ptr noundef) local_unnamed_addr #2 declare i32 @M_HASHTYPE_SET(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, !7, i64 0} !11 = !{!"mbuf", !12, i64 0} !12 = !{!"TYPE_2__", !7, i64 0}
freebsd_sys_netinet6_extr_in6_rss.c_rss_soft_m2cpuid_v6
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_bio.c_bwait.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_bio.c_bwait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @mtxpool_sleep = dso_local local_unnamed_addr global i32 0, align 4 @B_DONE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @bwait(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @mtxpool_sleep, align 4, !tbaa !5 %5 = tail call ptr @mtx_pool_find(i32 noundef %4, ptr noundef %0) #2 %6 = tail call i32 @mtx_lock(ptr noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = load i32, ptr @B_DONE, align 4, !tbaa !5 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3, %11 %12 = tail call i32 @msleep(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %1, ptr noundef %2, i32 noundef 0) #2 %13 = load i32, ptr %0, align 4, !tbaa !9 %14 = load i32, ptr @B_DONE, align 4, !tbaa !5 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %11, label %17, !llvm.loop !11 17: ; preds = %11, %3 %18 = tail call i32 @mtx_unlock(ptr noundef %5) #2 ret void } declare ptr @mtx_pool_find(i32 noundef, ptr noundef) local_unnamed_addr #1 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"buf", !6, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_bio.c_bwait.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_bio.c_bwait.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mtxpool_sleep = common local_unnamed_addr global i32 0, align 4 @B_DONE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @bwait(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @mtxpool_sleep, align 4, !tbaa !6 %5 = tail call ptr @mtx_pool_find(i32 noundef %4, ptr noundef %0) #2 %6 = tail call i32 @mtx_lock(ptr noundef %5) #2 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = load i32, ptr @B_DONE, align 4, !tbaa !6 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %3, %11 %12 = tail call i32 @msleep(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %1, ptr noundef %2, i32 noundef 0) #2 %13 = load i32, ptr %0, align 4, !tbaa !10 %14 = load i32, ptr @B_DONE, align 4, !tbaa !6 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %11, label %17, !llvm.loop !12 17: ; preds = %11, %3 %18 = tail call i32 @mtx_unlock(ptr noundef %5) #2 ret void } declare ptr @mtx_pool_find(i32 noundef, ptr noundef) local_unnamed_addr #1 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"buf", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_sys_kern_extr_vfs_bio.c_bwait
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_strip_alpha_mod.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_strip_alpha_mod.c" target datalayout = "e-m:e-p270:32:32-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, i32, i64 } @PNG_COLOR_TYPE_GRAY_ALPHA = dso_local local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_GRAY = dso_local local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_RGB_ALPHA = dso_local local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_RGB = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @image_transform_png_set_strip_alpha_mod], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @image_transform_png_set_strip_alpha_mod(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i64, ptr %1, align 8, !tbaa !5 %6 = load i64, ptr @PNG_COLOR_TYPE_GRAY_ALPHA, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i64, ptr @PNG_COLOR_TYPE_RGB_ALPHA, align 8, !tbaa !11 %10 = icmp eq i64 %5, %9 br i1 %10, label %11, label %14 11: ; preds = %8, %4 %12 = phi ptr [ @PNG_COLOR_TYPE_GRAY, %4 ], [ @PNG_COLOR_TYPE_RGB, %8 ] %13 = load i64, ptr %12, align 8, !tbaa !11 store i64 %13, ptr %1, align 8, !tbaa !5 br label %14 14: ; preds = %11, %8 %15 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 store i64 0, ptr %15, align 8, !tbaa !12 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 1 store i32 1, ptr %16, align 8, !tbaa !13 %17 = load ptr, ptr %0, align 8, !tbaa !14 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = tail call i32 %18(ptr noundef nonnull %17, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !7, i64 16} !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 = !{!6, !7, i64 16} !13 = !{!6, !10, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_7__", !16, i64 0} !16 = !{!"any pointer", !8, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"TYPE_9__", !16, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_strip_alpha_mod.c' source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_image_transform_png_set_strip_alpha_mod.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PNG_COLOR_TYPE_GRAY_ALPHA = common local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_GRAY = common local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_RGB_ALPHA = common local_unnamed_addr global i64 0, align 8 @PNG_COLOR_TYPE_RGB = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @image_transform_png_set_strip_alpha_mod], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @image_transform_png_set_strip_alpha_mod(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = load i64, ptr %1, align 8, !tbaa !6 %6 = load i64, ptr @PNG_COLOR_TYPE_GRAY_ALPHA, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %11, label %8 8: ; preds = %4 %9 = load i64, ptr @PNG_COLOR_TYPE_RGB_ALPHA, align 8, !tbaa !12 %10 = icmp eq i64 %5, %9 br i1 %10, label %11, label %14 11: ; preds = %8, %4 %12 = phi ptr [ @PNG_COLOR_TYPE_GRAY, %4 ], [ @PNG_COLOR_TYPE_RGB, %8 ] %13 = load i64, ptr %12, align 8, !tbaa !12 store i64 %13, ptr %1, align 8, !tbaa !6 br label %14 14: ; preds = %11, %8 %15 = getelementptr inbounds i8, ptr %1, i64 16 store i64 0, ptr %15, align 8, !tbaa !13 %16 = getelementptr inbounds i8, ptr %1, i64 8 store i32 1, ptr %16, align 8, !tbaa !14 %17 = load ptr, ptr %0, align 8, !tbaa !15 %18 = load ptr, ptr %17, align 8, !tbaa !18 %19 = tail call i32 %18(ptr noundef nonnull %17, ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !8, i64 16} !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 = !{!7, !8, i64 16} !14 = !{!7, !11, i64 8} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_7__", !17, i64 0} !17 = !{!"any pointer", !9, i64 0} !18 = !{!19, !17, i64 0} !19 = !{!"TYPE_9__", !17, i64 0}
Provenance_Cores_Mupen64Plus_png_contrib_libtests_extr_pngvalid.c_image_transform_png_set_strip_alpha_mod
; ModuleID = 'AnghaBench/reactos/base/system/diskpart/extr_diskpart.c_wmain.c' source_filename = "AnghaBench/reactos/base/system/diskpart/extr_diskpart.c_wmain.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @IDS_APP_HEADER = dso_local local_unnamed_addr global i32 0, align 4 @StdErr = dso_local local_unnamed_addr global i32 0, align 4 @IDS_ERROR_MSG_BAD_ARG = dso_local local_unnamed_addr global i32 0, align 4 @EXIT_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i32] [i32 63, i32 0], align 4 @StdOut = dso_local local_unnamed_addr global i32 0, align 4 @IDS_APP_USAGE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i32] [i32 115, i32 0], align 4 @.str.2 = private unnamed_addr constant [2 x i32] [i32 116, i32 0], align 4 @FALSE = dso_local local_unnamed_addr global i64 0, align 8 @IDS_ERROR_MSG_NO_SCRIPT = dso_local local_unnamed_addr global i32 0, align 4 @IDS_APP_LEAVING = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @wmain(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca [50 x i32], align 16 call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %3) #4 %4 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5 %5 = tail call i32 (...) @ConInitStdStreams() #4 %6 = tail call i32 @GetModuleHandle(ptr noundef null) #4 %7 = load i32, ptr @IDS_APP_HEADER, align 4, !tbaa !5 %8 = call i32 @ARRAYSIZE(ptr noundef nonnull %3) #4 %9 = call i32 @K32LoadStringW(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %3, i32 noundef %8) #4 %10 = call i32 @SetConsoleTitleW(ptr noundef nonnull %3) #4 %11 = call i32 (...) @CreatePartitionList() #4 %12 = icmp slt i32 %0, 2 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 (...) @ShowHeader() #4 %15 = call i32 (...) @InterpretMain() #4 br label %90 16: ; preds = %2, %65 %17 = phi i32 [ %68, %65 ], [ 0, %2 ] %18 = phi i32 [ %69, %65 ], [ 1, %2 ] %19 = phi ptr [ %66, %65 ], [ null, %2 ] %20 = sext i32 %18 to i64 %21 = getelementptr inbounds ptr, ptr %1, i64 %20 %22 = load ptr, ptr %21, align 8, !tbaa !9 %23 = load i8, ptr %22, align 1, !tbaa !11 switch i8 %23, label %28 [ i8 47, label %24 i8 45, label %24 ] 24: ; preds = %16, %16 %25 = getelementptr inbounds i8, ptr %22, i64 1 %26 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %38 28: ; preds = %16 %29 = load i32, ptr @StdErr, align 4, !tbaa !5 %30 = load i32, ptr @IDS_ERROR_MSG_BAD_ARG, align 4, !tbaa !5 %31 = call i32 @ConResPrintf(i32 noundef %29, i32 noundef %30, ptr noundef nonnull %22) #4 %32 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 br label %94 33: ; preds = %24 %34 = load i32, ptr @StdOut, align 4, !tbaa !5 %35 = load i32, ptr @IDS_APP_USAGE, align 4, !tbaa !5 %36 = call i32 @ConResPuts(i32 noundef %34, i32 noundef %35) #4 %37 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5 br label %94 38: ; preds = %24 %39 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str.1) #4 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %48 41: ; preds = %38 %42 = add nsw i32 %18, 1 %43 = icmp slt i32 %42, %0 br i1 %43, label %44, label %65 44: ; preds = %41 %45 = sext i32 %42 to i64 %46 = getelementptr inbounds ptr, ptr %1, i64 %45 %47 = load ptr, ptr %46, align 8, !tbaa !9 br label %65 48: ; preds = %38 %49 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str.2) #4 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = add nsw i32 %18, 1 %53 = icmp slt i32 %52, %0 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = sext i32 %52 to i64 %56 = getelementptr inbounds ptr, ptr %1, i64 %55 %57 = load ptr, ptr %56, align 8, !tbaa !9 %58 = call i32 @_wtoi(ptr noundef %57) #4 %59 = call i32 @llvm.smax.i32(i32 %58, i32 0) br label %65 60: ; preds = %48 %61 = load i32, ptr @StdErr, align 4, !tbaa !5 %62 = load i32, ptr @IDS_ERROR_MSG_BAD_ARG, align 4, !tbaa !5 %63 = call i32 @ConResPrintf(i32 noundef %61, i32 noundef %62, ptr noundef nonnull %25) #4 %64 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 br label %94 65: ; preds = %54, %51, %41, %44 %66 = phi ptr [ %47, %44 ], [ %19, %41 ], [ %19, %54 ], [ %19, %51 ] %67 = phi i32 [ %42, %44 ], [ %18, %41 ], [ %52, %54 ], [ %18, %51 ] %68 = phi i32 [ %17, %44 ], [ %17, %41 ], [ %59, %54 ], [ %17, %51 ] %69 = add nsw i32 %67, 1 %70 = icmp slt i32 %69, %0 br i1 %70, label %16, label %71, !llvm.loop !12 71: ; preds = %65 %72 = call i32 (...) @ShowHeader() #4 %73 = icmp eq ptr %66, null br i1 %73, label %85, label %74 74: ; preds = %71 %75 = icmp sgt i32 %68, 0 br i1 %75, label %76, label %79 76: ; preds = %74 %77 = mul nsw i32 %68, 1000 %78 = call i32 @Sleep(i32 noundef %77) #4 br label %79 79: ; preds = %76, %74 %80 = call i64 @RunScript(ptr noundef nonnull %66) #4 %81 = load i64, ptr @FALSE, align 8, !tbaa !14 %82 = icmp eq i64 %80, %81 br i1 %82, label %83, label %90 83: ; preds = %79 %84 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 br label %94 85: ; preds = %71 %86 = load i32, ptr @StdErr, align 4, !tbaa !5 %87 = load i32, ptr @IDS_ERROR_MSG_NO_SCRIPT, align 4, !tbaa !5 %88 = call i32 @ConResPrintf(i32 noundef %86, i32 noundef %87, ptr noundef null) #4 %89 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !5 br label %94 90: ; preds = %79, %13 %91 = load i32, ptr @StdOut, align 4, !tbaa !5 %92 = load i32, ptr @IDS_APP_LEAVING, align 4, !tbaa !5 %93 = call i32 @ConResPuts(i32 noundef %91, i32 noundef %92) #4 br label %94 94: ; preds = %90, %85, %83, %60, %33, %28 %95 = phi i32 [ %4, %90 ], [ %37, %33 ], [ %64, %60 ], [ %32, %28 ], [ %84, %83 ], [ %89, %85 ] %96 = call i32 (...) @DestroyPartitionList() #4 call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %3) #4 ret i32 %95 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ConInitStdStreams(...) local_unnamed_addr #2 declare i32 @K32LoadStringW(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetModuleHandle(ptr noundef) local_unnamed_addr #2 declare i32 @ARRAYSIZE(ptr noundef) local_unnamed_addr #2 declare i32 @SetConsoleTitleW(ptr noundef) local_unnamed_addr #2 declare i32 @CreatePartitionList(...) local_unnamed_addr #2 declare i32 @ShowHeader(...) local_unnamed_addr #2 declare i32 @InterpretMain(...) local_unnamed_addr #2 declare i32 @ConResPrintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @_wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ConResPuts(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_wtoi(ptr noundef) local_unnamed_addr #2 declare i32 @Sleep(i32 noundef) local_unnamed_addr #2 declare i64 @RunScript(ptr noundef) local_unnamed_addr #2 declare i32 @DestroyPartitionList(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/base/system/diskpart/extr_diskpart.c_wmain.c' source_filename = "AnghaBench/reactos/base/system/diskpart/extr_diskpart.c_wmain.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4 @IDS_APP_HEADER = common local_unnamed_addr global i32 0, align 4 @StdErr = common local_unnamed_addr global i32 0, align 4 @IDS_ERROR_MSG_BAD_ARG = common local_unnamed_addr global i32 0, align 4 @EXIT_FAILURE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i32] [i32 63, i32 0], align 4 @StdOut = common local_unnamed_addr global i32 0, align 4 @IDS_APP_USAGE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i32] [i32 115, i32 0], align 4 @.str.2 = private unnamed_addr constant [2 x i32] [i32 116, i32 0], align 4 @FALSE = common local_unnamed_addr global i64 0, align 8 @IDS_ERROR_MSG_NO_SCRIPT = common local_unnamed_addr global i32 0, align 4 @IDS_APP_LEAVING = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wmain(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca [50 x i32], align 4 call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %3) #4 %4 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6 %5 = tail call i32 @ConInitStdStreams() #4 %6 = tail call i32 @GetModuleHandle(ptr noundef null) #4 %7 = load i32, ptr @IDS_APP_HEADER, align 4, !tbaa !6 %8 = call i32 @ARRAYSIZE(ptr noundef nonnull %3) #4 %9 = call i32 @K32LoadStringW(i32 noundef %6, i32 noundef %7, ptr noundef nonnull %3, i32 noundef %8) #4 %10 = call i32 @SetConsoleTitleW(ptr noundef nonnull %3) #4 %11 = call i32 @CreatePartitionList() #4 %12 = icmp slt i32 %0, 2 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @ShowHeader() #4 %15 = call i32 @InterpretMain() #4 br label %90 16: ; preds = %2, %65 %17 = phi i32 [ %68, %65 ], [ 0, %2 ] %18 = phi i32 [ %69, %65 ], [ 1, %2 ] %19 = phi ptr [ %66, %65 ], [ null, %2 ] %20 = sext i32 %18 to i64 %21 = getelementptr inbounds ptr, ptr %1, i64 %20 %22 = load ptr, ptr %21, align 8, !tbaa !10 %23 = load i8, ptr %22, align 1, !tbaa !12 switch i8 %23, label %28 [ i8 47, label %24 i8 45, label %24 ] 24: ; preds = %16, %16 %25 = getelementptr inbounds i8, ptr %22, i64 1 %26 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str) #4 %27 = icmp eq i64 %26, 0 br i1 %27, label %33, label %38 28: ; preds = %16 %29 = load i32, ptr @StdErr, align 4, !tbaa !6 %30 = load i32, ptr @IDS_ERROR_MSG_BAD_ARG, align 4, !tbaa !6 %31 = call i32 @ConResPrintf(i32 noundef %29, i32 noundef %30, ptr noundef nonnull %22) #4 %32 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 br label %94 33: ; preds = %24 %34 = load i32, ptr @StdOut, align 4, !tbaa !6 %35 = load i32, ptr @IDS_APP_USAGE, align 4, !tbaa !6 %36 = call i32 @ConResPuts(i32 noundef %34, i32 noundef %35) #4 %37 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6 br label %94 38: ; preds = %24 %39 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str.1) #4 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %48 41: ; preds = %38 %42 = add nsw i32 %18, 1 %43 = icmp slt i32 %42, %0 br i1 %43, label %44, label %65 44: ; preds = %41 %45 = sext i32 %42 to i64 %46 = getelementptr inbounds ptr, ptr %1, i64 %45 %47 = load ptr, ptr %46, align 8, !tbaa !10 br label %65 48: ; preds = %38 %49 = call i64 @_wcsicmp(ptr noundef nonnull %25, ptr noundef nonnull @.str.2) #4 %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = add nsw i32 %18, 1 %53 = icmp slt i32 %52, %0 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = sext i32 %52 to i64 %56 = getelementptr inbounds ptr, ptr %1, i64 %55 %57 = load ptr, ptr %56, align 8, !tbaa !10 %58 = call i32 @_wtoi(ptr noundef %57) #4 %59 = call i32 @llvm.smax.i32(i32 %58, i32 0) br label %65 60: ; preds = %48 %61 = load i32, ptr @StdErr, align 4, !tbaa !6 %62 = load i32, ptr @IDS_ERROR_MSG_BAD_ARG, align 4, !tbaa !6 %63 = call i32 @ConResPrintf(i32 noundef %61, i32 noundef %62, ptr noundef nonnull %25) #4 %64 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 br label %94 65: ; preds = %54, %51, %41, %44 %66 = phi ptr [ %47, %44 ], [ %19, %41 ], [ %19, %54 ], [ %19, %51 ] %67 = phi i32 [ %42, %44 ], [ %18, %41 ], [ %52, %54 ], [ %18, %51 ] %68 = phi i32 [ %17, %44 ], [ %17, %41 ], [ %59, %54 ], [ %17, %51 ] %69 = add nsw i32 %67, 1 %70 = icmp slt i32 %69, %0 br i1 %70, label %16, label %71, !llvm.loop !13 71: ; preds = %65 %72 = call i32 @ShowHeader() #4 %73 = icmp eq ptr %66, null br i1 %73, label %85, label %74 74: ; preds = %71 %75 = icmp sgt i32 %68, 0 br i1 %75, label %76, label %79 76: ; preds = %74 %77 = mul nuw nsw i32 %68, 1000 %78 = call i32 @Sleep(i32 noundef %77) #4 br label %79 79: ; preds = %76, %74 %80 = call i64 @RunScript(ptr noundef nonnull %66) #4 %81 = load i64, ptr @FALSE, align 8, !tbaa !15 %82 = icmp eq i64 %80, %81 br i1 %82, label %83, label %90 83: ; preds = %79 %84 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 br label %94 85: ; preds = %71 %86 = load i32, ptr @StdErr, align 4, !tbaa !6 %87 = load i32, ptr @IDS_ERROR_MSG_NO_SCRIPT, align 4, !tbaa !6 %88 = call i32 @ConResPrintf(i32 noundef %86, i32 noundef %87, ptr noundef null) #4 %89 = load i32, ptr @EXIT_FAILURE, align 4, !tbaa !6 br label %94 90: ; preds = %79, %13 %91 = load i32, ptr @StdOut, align 4, !tbaa !6 %92 = load i32, ptr @IDS_APP_LEAVING, align 4, !tbaa !6 %93 = call i32 @ConResPuts(i32 noundef %91, i32 noundef %92) #4 br label %94 94: ; preds = %90, %85, %83, %60, %33, %28 %95 = phi i32 [ %4, %90 ], [ %37, %33 ], [ %64, %60 ], [ %32, %28 ], [ %84, %83 ], [ %89, %85 ] %96 = call i32 @DestroyPartitionList() #4 call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %3) #4 ret i32 %95 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ConInitStdStreams(...) local_unnamed_addr #2 declare i32 @K32LoadStringW(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetModuleHandle(ptr noundef) local_unnamed_addr #2 declare i32 @ARRAYSIZE(ptr noundef) local_unnamed_addr #2 declare i32 @SetConsoleTitleW(ptr noundef) local_unnamed_addr #2 declare i32 @CreatePartitionList(...) local_unnamed_addr #2 declare i32 @ShowHeader(...) local_unnamed_addr #2 declare i32 @InterpretMain(...) local_unnamed_addr #2 declare i32 @ConResPrintf(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @_wcsicmp(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ConResPuts(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_wtoi(ptr noundef) local_unnamed_addr #2 declare i32 @Sleep(i32 noundef) local_unnamed_addr #2 declare i64 @RunScript(ptr noundef) local_unnamed_addr #2 declare i32 @DestroyPartitionList(...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
reactos_base_system_diskpart_extr_diskpart.c_wmain
; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.h_pcie_device_put.c' source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.h_pcie_device_put.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @pcie_device_free = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcie_device_put], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @pcie_device_put(ptr noundef %0) #0 { %2 = load i32, ptr @pcie_device_free, align 4, !tbaa !5 %3 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.h_pcie_device_put.c' source_filename = "AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_base.h_pcie_device_put.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @pcie_device_free = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pcie_device_put], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @pcie_device_put(ptr noundef %0) #0 { %2 = load i32, ptr @pcie_device_free, align 4, !tbaa !6 %3 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %2) #2 ret void } declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_mpt3sas_extr_mpt3sas_base.h_pcie_device_put
; ModuleID = 'AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCallbackConstraint.c' source_filename = "AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCallbackConstraint.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { i64, i64 } %struct.TYPE_14__ = type { i64, %struct.TYPE_10__, ptr } %struct.TYPE_10__ = type { ptr, ptr } %struct.TYPE_11__ = type { i32, ptr, i32, i64, i64, i32, i32, i32 } %struct.TYPE_12__ = type { i32, i64, i32 } @RTREE_MAX_DIMENSIONS = dso_local local_unnamed_addr global i32 0, align 4 @RTREE_MATCH = dso_local local_unnamed_addr global i64 0, align 8 @RTREE_QUERY = dso_local local_unnamed_addr global i64 0, align 8 @NOT_WITHIN = dso_local local_unnamed_addr global i32 0, align 4 @RTREE_ZERO = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtreeCallbackConstraint], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rtreeCallbackConstraint(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4, ptr nocapture noundef %5) #0 { %7 = alloca %struct.TYPE_13__, align 8 %8 = alloca i32, align 4 %9 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = load i32, ptr %10, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4 %12 = load i32, ptr @RTREE_MAX_DIMENSIONS, align 4, !tbaa !15 %13 = shl nsw i32 %12, 1 %14 = zext i32 %13 to i64 %15 = tail call ptr @llvm.stacksave.p0() %16 = alloca i64, i64 %14, align 16 %17 = load i64, ptr %0, align 8, !tbaa !16 %18 = load i64, ptr @RTREE_MATCH, align 8, !tbaa !17 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr @RTREE_QUERY, align 8 %21 = icmp eq i64 %17, %20 %22 = select i1 %19, i1 true, i1 %21 %23 = zext i1 %22 to i32 %24 = tail call i32 @assert(i32 noundef %23) #4 %25 = icmp eq i32 %11, 4 %26 = and i32 %11, -5 %27 = icmp eq i32 %26, 2 %28 = or i1 %25, %27 %29 = and i32 %11, -3 %30 = icmp eq i32 %29, 8 %31 = or i1 %30, %28 %32 = zext i1 %31 to i32 %33 = tail call i32 @assert(i32 noundef %32) #4 %34 = load i64, ptr %0, align 8, !tbaa !16 %35 = load i64, ptr @RTREE_QUERY, align 8, !tbaa !17 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %43 37: ; preds = %6 %38 = load i32, ptr %3, align 8, !tbaa !18 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = tail call i32 @readInt64(ptr noundef %2) #4 %42 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 7 store i32 %41, ptr %42, align 8, !tbaa !20 br label %43 43: ; preds = %40, %37, %6 %44 = getelementptr inbounds i32, ptr %2, i64 8 %45 = icmp eq i32 %1, 0 br i1 %45, label %46, label %90 46: ; preds = %43 switch i32 %11, label %83 [ i32 10, label %47 i32 8, label %56 i32 6, label %65 i32 4, label %74 ] 47: ; preds = %46 %48 = getelementptr inbounds i32, ptr %2, i64 44 %49 = call i32 @readCoord(ptr noundef nonnull %48, ptr noundef nonnull %7) #4 %50 = load i64, ptr %7, align 8, !tbaa !21 %51 = getelementptr inbounds i64, ptr %16, i64 9 store i64 %50, ptr %51, align 8, !tbaa !17 %52 = getelementptr inbounds i32, ptr %2, i64 40 %53 = call i32 @readCoord(ptr noundef nonnull %52, ptr noundef nonnull %7) #4 %54 = load i64, ptr %7, align 8, !tbaa !21 %55 = getelementptr inbounds i64, ptr %16, i64 8 store i64 %54, ptr %55, align 16, !tbaa !17 br label %56 56: ; preds = %46, %47 %57 = getelementptr inbounds i32, ptr %2, i64 36 %58 = call i32 @readCoord(ptr noundef nonnull %57, ptr noundef nonnull %7) #4 %59 = load i64, ptr %7, align 8, !tbaa !21 %60 = getelementptr inbounds i64, ptr %16, i64 7 store i64 %59, ptr %60, align 8, !tbaa !17 %61 = getelementptr inbounds i32, ptr %2, i64 32 %62 = call i32 @readCoord(ptr noundef nonnull %61, ptr noundef nonnull %7) #4 %63 = load i64, ptr %7, align 8, !tbaa !21 %64 = getelementptr inbounds i64, ptr %16, i64 6 store i64 %63, ptr %64, align 16, !tbaa !17 br label %65 65: ; preds = %46, %56 %66 = getelementptr inbounds i32, ptr %2, i64 28 %67 = call i32 @readCoord(ptr noundef nonnull %66, ptr noundef nonnull %7) #4 %68 = load i64, ptr %7, align 8, !tbaa !21 %69 = getelementptr inbounds i64, ptr %16, i64 5 store i64 %68, ptr %69, align 8, !tbaa !17 %70 = getelementptr inbounds i32, ptr %2, i64 24 %71 = call i32 @readCoord(ptr noundef nonnull %70, ptr noundef nonnull %7) #4 %72 = load i64, ptr %7, align 8, !tbaa !21 %73 = getelementptr inbounds i64, ptr %16, i64 4 store i64 %72, ptr %73, align 16, !tbaa !17 br label %74 74: ; preds = %46, %65 %75 = getelementptr inbounds i32, ptr %2, i64 20 %76 = call i32 @readCoord(ptr noundef nonnull %75, ptr noundef nonnull %7) #4 %77 = load i64, ptr %7, align 8, !tbaa !21 %78 = getelementptr inbounds i64, ptr %16, i64 3 store i64 %77, ptr %78, align 8, !tbaa !17 %79 = getelementptr inbounds i32, ptr %2, i64 16 %80 = call i32 @readCoord(ptr noundef nonnull %79, ptr noundef nonnull %7) #4 %81 = load i64, ptr %7, align 8, !tbaa !21 %82 = getelementptr inbounds i64, ptr %16, i64 2 store i64 %81, ptr %82, align 16, !tbaa !17 br label %83 83: ; preds = %46, %74 %84 = getelementptr inbounds i32, ptr %2, i64 12 %85 = call i32 @readCoord(ptr noundef nonnull %84, ptr noundef nonnull %7) #4 %86 = load i64, ptr %7, align 8, !tbaa !21 %87 = getelementptr inbounds i64, ptr %16, i64 1 store i64 %86, ptr %87, align 8, !tbaa !17 %88 = call i32 @readCoord(ptr noundef nonnull %44, ptr noundef nonnull %7) #4 %89 = load i64, ptr %7, align 8, !tbaa !21 br label %139 90: ; preds = %43 switch i32 %11, label %131 [ i32 10, label %91 i32 8, label %101 i32 6, label %111 i32 4, label %121 ] 91: ; preds = %90 %92 = getelementptr inbounds i32, ptr %2, i64 44 %93 = call i32 @readCoord(ptr noundef nonnull %92, ptr noundef nonnull %7) #4 %94 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1 %95 = load i64, ptr %94, align 8, !tbaa !23 %96 = getelementptr inbounds i64, ptr %16, i64 9 store i64 %95, ptr %96, align 8, !tbaa !17 %97 = getelementptr inbounds i32, ptr %2, i64 40 %98 = call i32 @readCoord(ptr noundef nonnull %97, ptr noundef nonnull %7) #4 %99 = load i64, ptr %94, align 8, !tbaa !23 %100 = getelementptr inbounds i64, ptr %16, i64 8 store i64 %99, ptr %100, align 16, !tbaa !17 br label %101 101: ; preds = %90, %91 %102 = getelementptr inbounds i32, ptr %2, i64 36 %103 = call i32 @readCoord(ptr noundef nonnull %102, ptr noundef nonnull %7) #4 %104 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1 %105 = load i64, ptr %104, align 8, !tbaa !23 %106 = getelementptr inbounds i64, ptr %16, i64 7 store i64 %105, ptr %106, align 8, !tbaa !17 %107 = getelementptr inbounds i32, ptr %2, i64 32 %108 = call i32 @readCoord(ptr noundef nonnull %107, ptr noundef nonnull %7) #4 %109 = load i64, ptr %104, align 8, !tbaa !23 %110 = getelementptr inbounds i64, ptr %16, i64 6 store i64 %109, ptr %110, align 16, !tbaa !17 br label %111 111: ; preds = %90, %101 %112 = getelementptr inbounds i32, ptr %2, i64 28 %113 = call i32 @readCoord(ptr noundef nonnull %112, ptr noundef nonnull %7) #4 %114 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1 %115 = load i64, ptr %114, align 8, !tbaa !23 %116 = getelementptr inbounds i64, ptr %16, i64 5 store i64 %115, ptr %116, align 8, !tbaa !17 %117 = getelementptr inbounds i32, ptr %2, i64 24 %118 = call i32 @readCoord(ptr noundef nonnull %117, ptr noundef nonnull %7) #4 %119 = load i64, ptr %114, align 8, !tbaa !23 %120 = getelementptr inbounds i64, ptr %16, i64 4 store i64 %119, ptr %120, align 16, !tbaa !17 br label %121 121: ; preds = %90, %111 %122 = getelementptr inbounds i32, ptr %2, i64 20 %123 = call i32 @readCoord(ptr noundef nonnull %122, ptr noundef nonnull %7) #4 %124 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1 %125 = load i64, ptr %124, align 8, !tbaa !23 %126 = getelementptr inbounds i64, ptr %16, i64 3 store i64 %125, ptr %126, align 8, !tbaa !17 %127 = getelementptr inbounds i32, ptr %2, i64 16 %128 = call i32 @readCoord(ptr noundef nonnull %127, ptr noundef nonnull %7) #4 %129 = load i64, ptr %124, align 8, !tbaa !23 %130 = getelementptr inbounds i64, ptr %16, i64 2 store i64 %129, ptr %130, align 16, !tbaa !17 br label %131 131: ; preds = %90, %121 %132 = getelementptr inbounds i32, ptr %2, i64 12 %133 = call i32 @readCoord(ptr noundef nonnull %132, ptr noundef nonnull %7) #4 %134 = getelementptr inbounds %struct.TYPE_13__, ptr %7, i64 0, i32 1 %135 = load i64, ptr %134, align 8, !tbaa !23 %136 = getelementptr inbounds i64, ptr %16, i64 1 store i64 %135, ptr %136, align 8, !tbaa !17 %137 = call i32 @readCoord(ptr noundef nonnull %44, ptr noundef nonnull %7) #4 %138 = load i64, ptr %134, align 8, !tbaa !23 br label %139 139: ; preds = %131, %83 %140 = phi i64 [ %138, %131 ], [ %89, %83 ] store i64 %140, ptr %16, align 16, !tbaa !17 %141 = load i64, ptr %0, align 8, !tbaa !16 %142 = load i64, ptr @RTREE_MATCH, align 8, !tbaa !17 %143 = icmp eq i64 %141, %142 br i1 %143, label %144, label %154 144: ; preds = %139 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 store i32 0, ptr %8, align 4, !tbaa !15 %145 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %146 = load ptr, ptr %145, align 8, !tbaa !24 %147 = call i32 %146(ptr noundef nonnull %10, i32 noundef %11, ptr noundef nonnull %16, ptr noundef nonnull %8) #4 %148 = load i32, ptr %8, align 4, !tbaa !15 %149 = icmp eq i32 %148, 0 br i1 %149, label %150, label %152 150: ; preds = %144 %151 = load i32, ptr @NOT_WITHIN, align 4, !tbaa !15 store i32 %151, ptr %5, align 4, !tbaa !15 br label %152 152: ; preds = %150, %144 %153 = load i64, ptr @RTREE_ZERO, align 8, !tbaa !17 store i64 %153, ptr %4, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 br label %182 154: ; preds = %139 %155 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 1 store ptr %16, ptr %155, align 8, !tbaa !25 %156 = load i32, ptr %3, align 8, !tbaa !18 %157 = add nsw i32 %156, -1 %158 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 2 store i32 %157, ptr %158, align 8, !tbaa !26 %159 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 1 %160 = load i64, ptr %159, align 8, !tbaa !27 %161 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 4 store i64 %160, ptr %161, align 8, !tbaa !28 %162 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 3 store i64 %160, ptr %162, align 8, !tbaa !29 %163 = getelementptr inbounds %struct.TYPE_12__, ptr %3, i64 0, i32 2 %164 = load i32, ptr %163, align 8, !tbaa !30 %165 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 6 store i32 %164, ptr %165, align 4, !tbaa !31 %166 = getelementptr inbounds %struct.TYPE_11__, ptr %10, i64 0, i32 5 store i32 %164, ptr %166, align 8, !tbaa !32 %167 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1, i32 1 %168 = load ptr, ptr %167, align 8, !tbaa !33 %169 = call i32 %168(ptr noundef nonnull %10) #4 %170 = load i32, ptr %166, align 8, !tbaa !32 %171 = load i32, ptr %5, align 4, !tbaa !15 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %174 173: ; preds = %154 store i32 %170, ptr %5, align 4, !tbaa !15 br label %174 174: ; preds = %173, %154 %175 = load i64, ptr %162, align 8, !tbaa !29 %176 = load i64, ptr %4, align 8, !tbaa !17 %177 = icmp slt i64 %175, %176 %178 = load i64, ptr @RTREE_ZERO, align 8 %179 = icmp slt i64 %176, %178 %180 = select i1 %177, i1 true, i1 %179 br i1 %180, label %181, label %182 181: ; preds = %174 store i64 %175, ptr %4, align 8, !tbaa !17 br label %182 182: ; preds = %174, %181, %152 %183 = phi i32 [ %147, %152 ], [ %169, %181 ], [ %169, %174 ] call void @llvm.stackrestore.p0(ptr %15) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4 ret i32 %183 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @assert(i32 noundef) local_unnamed_addr #3 declare i32 @readInt64(ptr noundef) local_unnamed_addr #3 declare i32 @readCoord(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 24} !6 = !{!"TYPE_14__", !7, i64 0, !10, i64 8, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_11__", !14, i64 0, !11, i64 8, !14, i64 16, !7, i64 24, !7, i64 32, !14, i64 40, !14, i64 44, !14, i64 48} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!19, !14, i64 0} !19 = !{!"TYPE_12__", !14, i64 0, !7, i64 8, !14, i64 16} !20 = !{!13, !14, i64 48} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_13__", !7, i64 0, !7, i64 8} !23 = !{!22, !7, i64 8} !24 = !{!6, !11, i64 8} !25 = !{!13, !11, i64 8} !26 = !{!13, !14, i64 16} !27 = !{!19, !7, i64 8} !28 = !{!13, !7, i64 32} !29 = !{!13, !7, i64 24} !30 = !{!19, !14, i64 16} !31 = !{!13, !14, i64 44} !32 = !{!13, !14, i64 40} !33 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCallbackConstraint.c' source_filename = "AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_rtreeCallbackConstraint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { i64, i64 } @RTREE_MAX_DIMENSIONS = common local_unnamed_addr global i32 0, align 4 @RTREE_MATCH = common local_unnamed_addr global i64 0, align 8 @RTREE_QUERY = common local_unnamed_addr global i64 0, align 8 @NOT_WITHIN = common local_unnamed_addr global i32 0, align 4 @RTREE_ZERO = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @rtreeCallbackConstraint], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @rtreeCallbackConstraint(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4, ptr nocapture noundef %5) #0 { %7 = alloca %struct.TYPE_13__, align 8 %8 = alloca i32, align 4 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = load i32, ptr %10, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4 %12 = load i32, ptr @RTREE_MAX_DIMENSIONS, align 4, !tbaa !16 %13 = shl nsw i32 %12, 1 %14 = zext i32 %13 to i64 %15 = tail call ptr @llvm.stacksave.p0() %16 = alloca i64, i64 %14, align 8 %17 = load i64, ptr %0, align 8, !tbaa !17 %18 = load i64, ptr @RTREE_MATCH, align 8, !tbaa !18 %19 = icmp eq i64 %17, %18 %20 = load i64, ptr @RTREE_QUERY, align 8 %21 = icmp eq i64 %17, %20 %22 = select i1 %19, i1 true, i1 %21 %23 = zext i1 %22 to i32 %24 = tail call i32 @assert(i32 noundef %23) #4 %25 = icmp eq i32 %11, 4 %26 = and i32 %11, -5 %27 = icmp eq i32 %26, 2 %28 = or i1 %25, %27 %29 = and i32 %11, -3 %30 = icmp eq i32 %29, 8 %31 = or i1 %30, %28 %32 = zext i1 %31 to i32 %33 = tail call i32 @assert(i32 noundef %32) #4 %34 = load i64, ptr %0, align 8, !tbaa !17 %35 = load i64, ptr @RTREE_QUERY, align 8, !tbaa !18 %36 = icmp eq i64 %34, %35 br i1 %36, label %37, label %43 37: ; preds = %6 %38 = load i32, ptr %3, align 8, !tbaa !19 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %43 40: ; preds = %37 %41 = tail call i32 @readInt64(ptr noundef %2) #4 %42 = getelementptr inbounds i8, ptr %10, i64 48 store i32 %41, ptr %42, align 8, !tbaa !21 br label %43 43: ; preds = %40, %37, %6 %44 = getelementptr inbounds i8, ptr %2, i64 32 %45 = icmp eq i32 %1, 0 br i1 %45, label %46, label %90 46: ; preds = %43 switch i32 %11, label %83 [ i32 10, label %47 i32 8, label %56 i32 6, label %65 i32 4, label %74 ] 47: ; preds = %46 %48 = getelementptr inbounds i8, ptr %2, i64 176 %49 = call i32 @readCoord(ptr noundef nonnull %48, ptr noundef nonnull %7) #4 %50 = load i64, ptr %7, align 8, !tbaa !22 %51 = getelementptr inbounds i8, ptr %16, i64 72 store i64 %50, ptr %51, align 8, !tbaa !18 %52 = getelementptr inbounds i8, ptr %2, i64 160 %53 = call i32 @readCoord(ptr noundef nonnull %52, ptr noundef nonnull %7) #4 %54 = load i64, ptr %7, align 8, !tbaa !22 %55 = getelementptr inbounds i8, ptr %16, i64 64 store i64 %54, ptr %55, align 8, !tbaa !18 br label %56 56: ; preds = %46, %47 %57 = getelementptr inbounds i8, ptr %2, i64 144 %58 = call i32 @readCoord(ptr noundef nonnull %57, ptr noundef nonnull %7) #4 %59 = load i64, ptr %7, align 8, !tbaa !22 %60 = getelementptr inbounds i8, ptr %16, i64 56 store i64 %59, ptr %60, align 8, !tbaa !18 %61 = getelementptr inbounds i8, ptr %2, i64 128 %62 = call i32 @readCoord(ptr noundef nonnull %61, ptr noundef nonnull %7) #4 %63 = load i64, ptr %7, align 8, !tbaa !22 %64 = getelementptr inbounds i8, ptr %16, i64 48 store i64 %63, ptr %64, align 8, !tbaa !18 br label %65 65: ; preds = %46, %56 %66 = getelementptr inbounds i8, ptr %2, i64 112 %67 = call i32 @readCoord(ptr noundef nonnull %66, ptr noundef nonnull %7) #4 %68 = load i64, ptr %7, align 8, !tbaa !22 %69 = getelementptr inbounds i8, ptr %16, i64 40 store i64 %68, ptr %69, align 8, !tbaa !18 %70 = getelementptr inbounds i8, ptr %2, i64 96 %71 = call i32 @readCoord(ptr noundef nonnull %70, ptr noundef nonnull %7) #4 %72 = load i64, ptr %7, align 8, !tbaa !22 %73 = getelementptr inbounds i8, ptr %16, i64 32 store i64 %72, ptr %73, align 8, !tbaa !18 br label %74 74: ; preds = %46, %65 %75 = getelementptr inbounds i8, ptr %2, i64 80 %76 = call i32 @readCoord(ptr noundef nonnull %75, ptr noundef nonnull %7) #4 %77 = load i64, ptr %7, align 8, !tbaa !22 %78 = getelementptr inbounds i8, ptr %16, i64 24 store i64 %77, ptr %78, align 8, !tbaa !18 %79 = getelementptr inbounds i8, ptr %2, i64 64 %80 = call i32 @readCoord(ptr noundef nonnull %79, ptr noundef nonnull %7) #4 %81 = load i64, ptr %7, align 8, !tbaa !22 %82 = getelementptr inbounds i8, ptr %16, i64 16 store i64 %81, ptr %82, align 8, !tbaa !18 br label %83 83: ; preds = %46, %74 %84 = getelementptr inbounds i8, ptr %2, i64 48 %85 = call i32 @readCoord(ptr noundef nonnull %84, ptr noundef nonnull %7) #4 %86 = load i64, ptr %7, align 8, !tbaa !22 %87 = getelementptr inbounds i8, ptr %16, i64 8 store i64 %86, ptr %87, align 8, !tbaa !18 %88 = call i32 @readCoord(ptr noundef nonnull %44, ptr noundef nonnull %7) #4 %89 = load i64, ptr %7, align 8, !tbaa !22 br label %139 90: ; preds = %43 switch i32 %11, label %131 [ i32 10, label %91 i32 8, label %101 i32 6, label %111 i32 4, label %121 ] 91: ; preds = %90 %92 = getelementptr inbounds i8, ptr %2, i64 176 %93 = call i32 @readCoord(ptr noundef nonnull %92, ptr noundef nonnull %7) #4 %94 = getelementptr inbounds i8, ptr %7, i64 8 %95 = load i64, ptr %94, align 8, !tbaa !24 %96 = getelementptr inbounds i8, ptr %16, i64 72 store i64 %95, ptr %96, align 8, !tbaa !18 %97 = getelementptr inbounds i8, ptr %2, i64 160 %98 = call i32 @readCoord(ptr noundef nonnull %97, ptr noundef nonnull %7) #4 %99 = load i64, ptr %94, align 8, !tbaa !24 %100 = getelementptr inbounds i8, ptr %16, i64 64 store i64 %99, ptr %100, align 8, !tbaa !18 br label %101 101: ; preds = %90, %91 %102 = getelementptr inbounds i8, ptr %2, i64 144 %103 = call i32 @readCoord(ptr noundef nonnull %102, ptr noundef nonnull %7) #4 %104 = getelementptr inbounds i8, ptr %7, i64 8 %105 = load i64, ptr %104, align 8, !tbaa !24 %106 = getelementptr inbounds i8, ptr %16, i64 56 store i64 %105, ptr %106, align 8, !tbaa !18 %107 = getelementptr inbounds i8, ptr %2, i64 128 %108 = call i32 @readCoord(ptr noundef nonnull %107, ptr noundef nonnull %7) #4 %109 = load i64, ptr %104, align 8, !tbaa !24 %110 = getelementptr inbounds i8, ptr %16, i64 48 store i64 %109, ptr %110, align 8, !tbaa !18 br label %111 111: ; preds = %90, %101 %112 = getelementptr inbounds i8, ptr %2, i64 112 %113 = call i32 @readCoord(ptr noundef nonnull %112, ptr noundef nonnull %7) #4 %114 = getelementptr inbounds i8, ptr %7, i64 8 %115 = load i64, ptr %114, align 8, !tbaa !24 %116 = getelementptr inbounds i8, ptr %16, i64 40 store i64 %115, ptr %116, align 8, !tbaa !18 %117 = getelementptr inbounds i8, ptr %2, i64 96 %118 = call i32 @readCoord(ptr noundef nonnull %117, ptr noundef nonnull %7) #4 %119 = load i64, ptr %114, align 8, !tbaa !24 %120 = getelementptr inbounds i8, ptr %16, i64 32 store i64 %119, ptr %120, align 8, !tbaa !18 br label %121 121: ; preds = %90, %111 %122 = getelementptr inbounds i8, ptr %2, i64 80 %123 = call i32 @readCoord(ptr noundef nonnull %122, ptr noundef nonnull %7) #4 %124 = getelementptr inbounds i8, ptr %7, i64 8 %125 = load i64, ptr %124, align 8, !tbaa !24 %126 = getelementptr inbounds i8, ptr %16, i64 24 store i64 %125, ptr %126, align 8, !tbaa !18 %127 = getelementptr inbounds i8, ptr %2, i64 64 %128 = call i32 @readCoord(ptr noundef nonnull %127, ptr noundef nonnull %7) #4 %129 = load i64, ptr %124, align 8, !tbaa !24 %130 = getelementptr inbounds i8, ptr %16, i64 16 store i64 %129, ptr %130, align 8, !tbaa !18 br label %131 131: ; preds = %90, %121 %132 = getelementptr inbounds i8, ptr %2, i64 48 %133 = call i32 @readCoord(ptr noundef nonnull %132, ptr noundef nonnull %7) #4 %134 = getelementptr inbounds i8, ptr %7, i64 8 %135 = load i64, ptr %134, align 8, !tbaa !24 %136 = getelementptr inbounds i8, ptr %16, i64 8 store i64 %135, ptr %136, align 8, !tbaa !18 %137 = call i32 @readCoord(ptr noundef nonnull %44, ptr noundef nonnull %7) #4 %138 = load i64, ptr %134, align 8, !tbaa !24 br label %139 139: ; preds = %131, %83 %140 = phi i64 [ %138, %131 ], [ %89, %83 ] store i64 %140, ptr %16, align 8, !tbaa !18 %141 = load i64, ptr %0, align 8, !tbaa !17 %142 = load i64, ptr @RTREE_MATCH, align 8, !tbaa !18 %143 = icmp eq i64 %141, %142 br i1 %143, label %144, label %154 144: ; preds = %139 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 store i32 0, ptr %8, align 4, !tbaa !16 %145 = getelementptr inbounds i8, ptr %0, i64 8 %146 = load ptr, ptr %145, align 8, !tbaa !25 %147 = call i32 %146(ptr noundef nonnull %10, i32 noundef %11, ptr noundef nonnull %16, ptr noundef nonnull %8) #4 %148 = load i32, ptr %8, align 4, !tbaa !16 %149 = icmp eq i32 %148, 0 br i1 %149, label %150, label %152 150: ; preds = %144 %151 = load i32, ptr @NOT_WITHIN, align 4, !tbaa !16 store i32 %151, ptr %5, align 4, !tbaa !16 br label %152 152: ; preds = %150, %144 %153 = load i64, ptr @RTREE_ZERO, align 8, !tbaa !18 store i64 %153, ptr %4, align 8, !tbaa !18 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 br label %182 154: ; preds = %139 %155 = getelementptr inbounds i8, ptr %10, i64 8 store ptr %16, ptr %155, align 8, !tbaa !26 %156 = load i32, ptr %3, align 8, !tbaa !19 %157 = add nsw i32 %156, -1 %158 = getelementptr inbounds i8, ptr %10, i64 16 store i32 %157, ptr %158, align 8, !tbaa !27 %159 = getelementptr inbounds i8, ptr %3, i64 8 %160 = load i64, ptr %159, align 8, !tbaa !28 %161 = getelementptr inbounds i8, ptr %10, i64 32 store i64 %160, ptr %161, align 8, !tbaa !29 %162 = getelementptr inbounds i8, ptr %10, i64 24 store i64 %160, ptr %162, align 8, !tbaa !30 %163 = getelementptr inbounds i8, ptr %3, i64 16 %164 = load i32, ptr %163, align 8, !tbaa !31 %165 = getelementptr inbounds i8, ptr %10, i64 44 store i32 %164, ptr %165, align 4, !tbaa !32 %166 = getelementptr inbounds i8, ptr %10, i64 40 store i32 %164, ptr %166, align 8, !tbaa !33 %167 = getelementptr inbounds i8, ptr %0, i64 16 %168 = load ptr, ptr %167, align 8, !tbaa !34 %169 = call i32 %168(ptr noundef nonnull %10) #4 %170 = load i32, ptr %166, align 8, !tbaa !33 %171 = load i32, ptr %5, align 4, !tbaa !16 %172 = icmp slt i32 %170, %171 br i1 %172, label %173, label %174 173: ; preds = %154 store i32 %170, ptr %5, align 4, !tbaa !16 br label %174 174: ; preds = %173, %154 %175 = load i64, ptr %162, align 8, !tbaa !30 %176 = load i64, ptr %4, align 8, !tbaa !18 %177 = icmp slt i64 %175, %176 %178 = load i64, ptr @RTREE_ZERO, align 8 %179 = icmp slt i64 %176, %178 %180 = select i1 %177, i1 true, i1 %179 br i1 %180, label %181, label %182 181: ; preds = %174 store i64 %175, ptr %4, align 8, !tbaa !18 br label %182 182: ; preds = %174, %181, %152 %183 = phi i32 [ %147, %152 ], [ %169, %181 ], [ %169, %174 ] call void @llvm.stackrestore.p0(ptr %15) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4 ret i32 %183 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @assert(i32 noundef) local_unnamed_addr #3 declare i32 @readInt64(ptr noundef) local_unnamed_addr #3 declare i32 @readCoord(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 24} !7 = !{!"TYPE_14__", !8, i64 0, !11, i64 8, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_11__", !15, i64 0, !12, i64 8, !15, i64 16, !8, i64 24, !8, i64 32, !15, i64 40, !15, i64 44, !15, i64 48} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!20, !15, i64 0} !20 = !{!"TYPE_12__", !15, i64 0, !8, i64 8, !15, i64 16} !21 = !{!14, !15, i64 48} !22 = !{!23, !8, i64 0} !23 = !{!"TYPE_13__", !8, i64 0, !8, i64 8} !24 = !{!23, !8, i64 8} !25 = !{!7, !12, i64 8} !26 = !{!14, !12, i64 8} !27 = !{!14, !15, i64 16} !28 = !{!20, !8, i64 8} !29 = !{!14, !8, i64 32} !30 = !{!14, !8, i64 24} !31 = !{!20, !15, i64 16} !32 = !{!14, !15, i64 44} !33 = !{!14, !15, i64 40} !34 = !{!7, !12, i64 16}
sqlcipher_ext_rtree_extr_rtree.c_rtreeCallbackConstraint
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dsound/extr_dsound_convert.c_convert_24_to_16.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dsound/extr_dsound_convert.c_convert_24_to_16.c" target datalayout = "e-m:e-p270:32:32-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 @convert_24_to_16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @convert_24_to_16(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %8, align 8, !tbaa !5 store i64 %4, ptr %9, align 8, !tbaa !9 store i32 %5, ptr %10, align 4, !tbaa !11 %11 = icmp sgt i64 %4, 0 br i1 %11, label %12, label %28 12: ; preds = %7 %13 = sext i32 %3 to i64 br label %14 14: ; preds = %12, %14 %15 = phi ptr [ %1, %12 ], [ %24, %14 ] %16 = load ptr, ptr %8, align 8, !tbaa !5 %17 = getelementptr inbounds i32, ptr %16, i64 2 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = shl nsw i32 %18, 8 %20 = getelementptr inbounds i32, ptr %16, i64 1 %21 = load i32, ptr %20, align 4, !tbaa !11 %22 = add nsw i32 %19, %21 %23 = call i32 @le16(i32 noundef %22) #2 store i32 %23, ptr %15, align 4, !tbaa !11 %24 = getelementptr inbounds i8, ptr %15, i64 %13 %25 = call i32 @src_advance(ptr noundef nonnull %8, i32 noundef %2, ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef %6) #2 %26 = load i64, ptr %9, align 8, !tbaa !9 %27 = icmp sgt i64 %26, 0 br i1 %27, label %14, label %28, !llvm.loop !13 28: ; preds = %14, %7 ret void } declare i32 @le16(i32 noundef) local_unnamed_addr #1 declare i32 @src_advance(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/dsound/extr_dsound_convert.c_convert_24_to_16.c' source_filename = "AnghaBench/reactos/dll/directx/wine/dsound/extr_dsound_convert.c_convert_24_to_16.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 @convert_24_to_16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @convert_24_to_16(ptr noundef %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %8, align 8, !tbaa !6 store i64 %4, ptr %9, align 8, !tbaa !10 store i32 %5, ptr %10, align 4, !tbaa !12 %11 = icmp sgt i64 %4, 0 br i1 %11, label %12, label %28 12: ; preds = %7 %13 = sext i32 %3 to i64 br label %14 14: ; preds = %12, %14 %15 = phi ptr [ %1, %12 ], [ %24, %14 ] %16 = load ptr, ptr %8, align 8, !tbaa !6 %17 = getelementptr inbounds i8, ptr %16, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = shl nsw i32 %18, 8 %20 = getelementptr inbounds i8, ptr %16, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = add nsw i32 %19, %21 %23 = call i32 @le16(i32 noundef %22) #2 store i32 %23, ptr %15, align 4, !tbaa !12 %24 = getelementptr inbounds i8, ptr %15, i64 %13 %25 = call i32 @src_advance(ptr noundef nonnull %8, i32 noundef %2, ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef %6) #2 %26 = load i64, ptr %9, align 8, !tbaa !10 %27 = icmp sgt i64 %26, 0 br i1 %27, label %14, label %28, !llvm.loop !14 28: ; preds = %14, %7 ret void } declare i32 @le16(i32 noundef) local_unnamed_addr #1 declare i32 @src_advance(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
reactos_dll_directx_wine_dsound_extr_dsound_convert.c_convert_24_to_16
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/lx6464es/extr_lx6464es.c_snd_lx6464es_dev_free.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/lx6464es/extr_lx6464es.c_snd_lx6464es_dev_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_lx6464es_dev_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_lx6464es_dev_free(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @snd_lx6464es_free(i32 noundef %2) #2 ret i32 %3 } declare i32 @snd_lx6464es_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/lx6464es/extr_lx6464es.c_snd_lx6464es_dev_free.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/lx6464es/extr_lx6464es.c_snd_lx6464es_dev_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_lx6464es_dev_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_lx6464es_dev_free(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @snd_lx6464es_free(i32 noundef %2) #2 ret i32 %3 } declare i32 @snd_lx6464es_free(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_pci_lx6464es_extr_lx6464es.c_snd_lx6464es_dev_free
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_string.c_memdup.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_string.c_memdup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef ptr @memdup(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @malloc(i64 noundef %1) #3 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %0, i64 noundef %1) #4 br label %7 7: ; preds = %5, %2 ret ptr %3 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/util/extr_string.c_memdup.c' source_filename = "AnghaBench/fastsocket/kernel/tools/perf/util/extr_string.c_memdup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @memdup(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @malloc(i64 noundef %1) #3 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %2 %6 = tail call i32 @memcpy(ptr noundef nonnull %3, ptr noundef %0, i64 noundef %1) #4 br label %7 7: ; preds = %5, %2 ret ptr %3 } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { allocsize(0) } 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)"}
fastsocket_kernel_tools_perf_util_extr_string.c_memdup
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-data.c_get_hash_node.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-data.c_get_hash_node.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.hash_word = type { i64, ptr } @HASH_BUCKETS = dso_local local_unnamed_addr global i32 0, align 4 @Hash = dso_local local_unnamed_addr global ptr null, align 8 @hash_word_nodes = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @get_hash_node(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %0 to i32 %4 = load i32, ptr @HASH_BUCKETS, align 4, !tbaa !5 %5 = add nsw i32 %4, -1 %6 = and i32 %5, %3 %7 = load ptr, ptr @Hash, align 8, !tbaa !9 %8 = sext i32 %6 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !9 %11 = icmp eq ptr %10, null br i1 %11, label %20, label %12 12: ; preds = %2, %16 %13 = phi ptr [ %18, %16 ], [ %10, %2 ] %14 = load i64, ptr %13, align 8, !tbaa !11 %15 = icmp eq i64 %14, %0 br i1 %15, label %30, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.hash_word, ptr %13, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !9 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %12, !llvm.loop !14 20: ; preds = %16, %2 %21 = icmp eq i32 %1, 0 br i1 %21, label %30, label %22 22: ; preds = %20 %23 = load i32, ptr @hash_word_nodes, align 4, !tbaa !5 %24 = add nsw i32 %23, 1 store i32 %24, ptr @hash_word_nodes, align 4, !tbaa !5 %25 = tail call ptr @zmalloc0(i32 noundef 16) #2 store i64 %0, ptr %25, align 8, !tbaa !11 %26 = load ptr, ptr @Hash, align 8, !tbaa !9 %27 = getelementptr inbounds ptr, ptr %26, i64 %8 %28 = load ptr, ptr %27, align 8, !tbaa !9 %29 = getelementptr inbounds %struct.hash_word, ptr %25, i64 0, i32 1 store ptr %28, ptr %29, align 8, !tbaa !16 store ptr %25, ptr %27, align 8, !tbaa !9 br label %30 30: ; preds = %12, %20, %22 %31 = phi ptr [ %25, %22 ], [ null, %20 ], [ %13, %12 ] ret ptr %31 } declare ptr @zmalloc0(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, !13, i64 0} !12 = !{!"hash_word", !13, i64 0, !10, i64 8} !13 = !{!"long", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-data.c_get_hash_node.c' source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-data.c_get_hash_node.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HASH_BUCKETS = common local_unnamed_addr global i32 0, align 4 @Hash = common local_unnamed_addr global ptr null, align 8 @hash_word_nodes = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @get_hash_node(i64 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = trunc i64 %0 to i32 %4 = load i32, ptr @HASH_BUCKETS, align 4, !tbaa !6 %5 = add nsw i32 %4, -1 %6 = and i32 %5, %3 %7 = load ptr, ptr @Hash, align 8, !tbaa !10 %8 = sext i32 %6 to i64 %9 = getelementptr inbounds ptr, ptr %7, i64 %8 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = icmp eq ptr %10, null br i1 %11, label %20, label %12 12: ; preds = %2, %16 %13 = phi ptr [ %18, %16 ], [ %10, %2 ] %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = icmp eq i64 %14, %0 br i1 %15, label %30, label %16 16: ; preds = %12 %17 = getelementptr inbounds i8, ptr %13, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !10 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %12, !llvm.loop !15 20: ; preds = %16, %2 %21 = icmp eq i32 %1, 0 br i1 %21, label %30, label %22 22: ; preds = %20 %23 = load i32, ptr @hash_word_nodes, align 4, !tbaa !6 %24 = add nsw i32 %23, 1 store i32 %24, ptr @hash_word_nodes, align 4, !tbaa !6 %25 = tail call ptr @zmalloc0(i32 noundef 16) #2 store i64 %0, ptr %25, align 8, !tbaa !12 %26 = load ptr, ptr @Hash, align 8, !tbaa !10 %27 = getelementptr inbounds ptr, ptr %26, i64 %8 %28 = load ptr, ptr %27, align 8, !tbaa !10 %29 = getelementptr inbounds i8, ptr %25, i64 8 store ptr %28, ptr %29, align 8, !tbaa !17 store ptr %25, ptr %27, align 8, !tbaa !10 br label %30 30: ; preds = %12, %20, %22 %31 = phi ptr [ %25, %22 ], [ null, %20 ], [ %13, %12 ] ret ptr %31 } declare ptr @zmalloc0(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, !14, i64 0} !13 = !{!"hash_word", !14, i64 0, !11, i64 8} !14 = !{!"long", !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!13, !11, i64 8}
kphp-kdb_targ_extr_targ-data.c_get_hash_node
; ModuleID = 'AnghaBench/linux/drivers/media/platform/xilinx/extr_xilinx-vip.h_xvip_resume.c' source_filename = "AnghaBench/linux/drivers/media/platform/xilinx/extr_xilinx-vip.h_xvip_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" @XVIP_CTRL_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @XVIP_CTRL_CONTROL_SW_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xvip_resume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @xvip_resume(ptr noundef %0) #0 { %2 = load i32, ptr @XVIP_CTRL_CONTROL, align 4, !tbaa !5 %3 = load i32, ptr %0, align 4, !tbaa !9 %4 = load i32, ptr @XVIP_CTRL_CONTROL_SW_ENABLE, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = tail call i32 @xvip_write(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @xvip_write(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"} !9 = !{!10, !6, i64 0} !10 = !{!"xvip_device", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/platform/xilinx/extr_xilinx-vip.h_xvip_resume.c' source_filename = "AnghaBench/linux/drivers/media/platform/xilinx/extr_xilinx-vip.h_xvip_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @XVIP_CTRL_CONTROL = common local_unnamed_addr global i32 0, align 4 @XVIP_CTRL_CONTROL_SW_ENABLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xvip_resume], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @xvip_resume(ptr noundef %0) #0 { %2 = load i32, ptr @XVIP_CTRL_CONTROL, align 4, !tbaa !6 %3 = load i32, ptr %0, align 4, !tbaa !10 %4 = load i32, ptr @XVIP_CTRL_CONTROL_SW_ENABLE, align 4, !tbaa !6 %5 = or i32 %4, %3 %6 = tail call i32 @xvip_write(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %5) #2 ret void } declare i32 @xvip_write(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"} !10 = !{!11, !7, i64 0} !11 = !{!"xvip_device", !7, i64 0}
linux_drivers_media_platform_xilinx_extr_xilinx-vip.h_xvip_resume
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_main.c_mt7603_ps_set_more_data.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_main.c_mt7603_ps_set_more_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" @MT_TXD_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @IEEE80211_FCTL_MOREDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mt7603_ps_set_more_data], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mt7603_ps_set_more_data(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @MT_TXD_SIZE, align 8, !tbaa !10 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr @IEEE80211_FCTL_MOREDATA, align 4, !tbaa !12 %6 = tail call i32 @cpu_to_le16(i32 noundef %5) #2 %7 = load i32, ptr %4, align 4, !tbaa !14 %8 = or i32 %7, %6 store i32 %8, ptr %4, align 4, !tbaa !14 ret void } declare i32 @cpu_to_le16(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 = !{!"sk_buff", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"ieee80211_hdr", !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_main.c_mt7603_ps_set_more_data.c' source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt7603/extr_main.c_mt7603_ps_set_more_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MT_TXD_SIZE = common local_unnamed_addr global i64 0, align 8 @IEEE80211_FCTL_MOREDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mt7603_ps_set_more_data], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mt7603_ps_set_more_data(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @MT_TXD_SIZE, align 8, !tbaa !11 %4 = getelementptr inbounds i32, ptr %2, i64 %3 %5 = load i32, ptr @IEEE80211_FCTL_MOREDATA, align 4, !tbaa !13 %6 = tail call i32 @cpu_to_le16(i32 noundef %5) #2 %7 = load i32, ptr %4, align 4, !tbaa !15 %8 = or i32 %7, %6 store i32 %8, ptr %4, align 4, !tbaa !15 ret void } declare i32 @cpu_to_le16(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 = !{!"sk_buff", !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, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"ieee80211_hdr", !14, i64 0}
linux_drivers_net_wireless_mediatek_mt76_mt7603_extr_main.c_mt7603_ps_set_more_data
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_algo_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_algo_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 @mbcs_algo_init], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @mbcs_algo_init(ptr noundef %0) #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_algo_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_mbcs.c_mbcs_algo_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 @mbcs_algo_init], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @mbcs_algo_init(ptr noundef %0) #0 { %2 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #2 ret void } declare i32 @memset(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)"}
fastsocket_kernel_drivers_char_extr_mbcs.c_mbcs_algo_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_fsl-diu-fb.c_fsl_diu_free.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_fsl-diu-fb.c_fsl_diu_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"virt=%p size=%zu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_diu_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @fsl_diu_free(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %0, i64 noundef %1) #2 %4 = icmp ne ptr %0, null %5 = icmp ne i64 %1, 0 %6 = and i1 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @free_pages_exact(ptr noundef nonnull %0, i64 noundef %1) #2 br label %9 9: ; preds = %7, %2 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free_pages_exact(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)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_fsl-diu-fb.c_fsl_diu_free.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_fsl-diu-fb.c_fsl_diu_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [18 x i8] c"virt=%p size=%zu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fsl_diu_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @fsl_diu_free(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @pr_debug(ptr noundef nonnull @.str, ptr noundef %0, i64 noundef %1) #2 %4 = icmp ne ptr %0, null %5 = icmp ne i64 %1, 0 %6 = and i1 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = tail call i32 @free_pages_exact(ptr noundef nonnull %0, i64 noundef %1) #2 br label %9 9: ; preds = %7, %2 ret void } declare i32 @pr_debug(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @free_pages_exact(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)"}
fastsocket_kernel_drivers_video_extr_fsl-diu-fb.c_fsl_diu_free
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00pci.c_rt2x00pci_alloc_reg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00pci.c_rt2x00pci_alloc_reg.c" target datalayout = "e-m:e-p270:32:32-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.rt2x00_dev = type { ptr, ptr, ptr, %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i32 } %struct.TYPE_3__ = type { i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to allocate registers\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2x00pci_alloc_reg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt2x00pci_alloc_reg(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 4 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call ptr @to_pci_dev(i32 noundef %3) #2 %5 = tail call i32 @pci_ioremap_bar(ptr noundef %4, i32 noundef 0) #2 %6 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 3 store i32 %5, ptr %6, align 8, !tbaa !12 %7 = icmp eq i32 %5, 0 br i1 %7, label %23, label %8 8: ; preds = %1 %9 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %14 = tail call ptr @kzalloc(i32 noundef %12, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 2 store ptr %14, ptr %15, align 8, !tbaa !17 %16 = icmp eq ptr %14, null br i1 %16, label %23, label %17 17: ; preds = %8 %18 = load ptr, ptr %9, align 8, !tbaa !13 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %21 = tail call ptr @kzalloc(i32 noundef %19, i32 noundef %20) #2 store ptr %21, ptr %0, align 8, !tbaa !19 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17, %8, %1 %24 = tail call i32 @rt2x00_probe_err(ptr noundef nonnull @.str) #2 %25 = tail call i32 @rt2x00pci_free_reg(ptr noundef nonnull %0) #2 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %17, %23 %29 = phi i32 [ %27, %23 ], [ 0, %17 ] ret i32 %29 } declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1 declare i32 @pci_ioremap_bar(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt2x00_probe_err(ptr noundef) local_unnamed_addr #1 declare i32 @rt2x00pci_free_reg(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 28} !6 = !{!"rt2x00_dev", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 24} !13 = !{!6, !7, i64 8} !14 = !{!15, !11, i64 4} !15 = !{!"TYPE_3__", !11, i64 0, !11, i64 4} !16 = !{!11, !11, i64 0} !17 = !{!6, !7, i64 16} !18 = !{!15, !11, i64 0} !19 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00pci.c_rt2x00pci_alloc_reg.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2x00pci.c_rt2x00pci_alloc_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to allocate registers\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt2x00pci_alloc_reg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rt2x00pci_alloc_reg(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 28 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call ptr @to_pci_dev(i32 noundef %3) #2 %5 = tail call i32 @pci_ioremap_bar(ptr noundef %4, i32 noundef 0) #2 %6 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %5, ptr %6, align 8, !tbaa !13 %7 = icmp eq i32 %5, 0 br i1 %7, label %23, label %8 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %14 = tail call ptr @kzalloc(i32 noundef %12, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %14, ptr %15, align 8, !tbaa !18 %16 = icmp eq ptr %14, null br i1 %16, label %23, label %17 17: ; preds = %8 %18 = load ptr, ptr %9, align 8, !tbaa !14 %19 = load i32, ptr %18, align 4, !tbaa !19 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %21 = tail call ptr @kzalloc(i32 noundef %19, i32 noundef %20) #2 store ptr %21, ptr %0, align 8, !tbaa !20 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %28 23: ; preds = %17, %8, %1 %24 = tail call i32 @rt2x00_probe_err(ptr noundef nonnull @.str) #2 %25 = tail call i32 @rt2x00pci_free_reg(ptr noundef nonnull %0) #2 %26 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %27 = sub nsw i32 0, %26 br label %28 28: ; preds = %17, %23 %29 = phi i32 [ %27, %23 ], [ 0, %17 ] ret i32 %29 } declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1 declare i32 @pci_ioremap_bar(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @rt2x00_probe_err(ptr noundef) local_unnamed_addr #1 declare i32 @rt2x00pci_free_reg(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 28} !7 = !{!"rt2x00_dev", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 28} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 24} !14 = !{!7, !8, i64 8} !15 = !{!16, !12, i64 4} !16 = !{!"TYPE_3__", !12, i64 0, !12, i64 4} !17 = !{!12, !12, i64 0} !18 = !{!7, !8, i64 16} !19 = !{!16, !12, i64 0} !20 = !{!7, !8, i64 0}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2x00pci.c_rt2x00pci_alloc_reg
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ia64-tdep.c_ia64_memory_insert_breakpoint.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ia64-tdep.c_ia64_memory_insert_breakpoint.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BUNDLE_LEN = dso_local local_unnamed_addr global i32 0, align 4 @SLOT_MULTIPLIER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Can't insert breakpoint for slot numbers greater than 2.\00", align 1 @template_encoding_table = dso_local local_unnamed_addr global ptr null, align 8 @L = dso_local local_unnamed_addr global i64 0, align 8 @IA64_BREAKPOINT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ia64_memory_insert_breakpoint], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ia64_memory_insert_breakpoint(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 16 %7 = and i32 %0, 15 %8 = load i32, ptr @SLOT_MULTIPLIER, align 4, !tbaa !5 %9 = sdiv i32 %7, %8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %10 = icmp sgt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = tail call i32 @error(ptr noundef nonnull @.str) #3 %13 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !5 br label %14 14: ; preds = %11, %2 %15 = phi i32 [ %13, %11 ], [ %4, %2 ] %16 = and i32 %0, -16 %17 = call i32 @target_read_memory(i32 noundef %16, ptr noundef nonnull %6, i32 noundef %15) #3 %18 = call i32 @extract_bit_field(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 5) #3 %19 = icmp eq i32 %9, 1 br i1 %19, label %20, label %30 20: ; preds = %14 %21 = load ptr, ptr @template_encoding_table, align 8, !tbaa !9 %22 = sext i32 %18 to i64 %23 = getelementptr inbounds ptr, ptr %21, i64 %22 %24 = load ptr, ptr %23, align 8, !tbaa !9 %25 = getelementptr inbounds i64, ptr %24, i64 1 %26 = load i64, ptr %25, align 8, !tbaa !11 %27 = load i64, ptr @L, align 8, !tbaa !11 %28 = icmp eq i64 %26, %27 %29 = select i1 %28, i32 2, i32 1 br label %30 30: ; preds = %20, %14 %31 = phi i32 [ %9, %14 ], [ %29, %20 ] %32 = call i64 @slotN_contents(ptr noundef nonnull %6, i32 noundef %31) #3 store i64 %32, ptr %3, align 8, !tbaa !13 %33 = call i32 @memcpy(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 8) #3 %34 = load i32, ptr @IA64_BREAKPOINT, align 4, !tbaa !5 %35 = call i32 @replace_slotN_contents(ptr noundef nonnull %6, i32 noundef %34, i32 noundef %31) #3 %36 = icmp eq i32 %17, 0 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !5 %39 = call i32 @target_write_memory(i32 noundef %16, ptr noundef nonnull %6, i32 noundef %38) #3 br label %40 40: ; preds = %37, %30 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @error(ptr noundef) local_unnamed_addr #2 declare i32 @target_read_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @extract_bit_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @slotN_contents(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @replace_slotN_contents(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @target_write_memory(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 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ia64-tdep.c_ia64_memory_insert_breakpoint.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ia64-tdep.c_ia64_memory_insert_breakpoint.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUNDLE_LEN = common local_unnamed_addr global i32 0, align 4 @SLOT_MULTIPLIER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [57 x i8] c"Can't insert breakpoint for slot numbers greater than 2.\00", align 1 @template_encoding_table = common local_unnamed_addr global ptr null, align 8 @L = common local_unnamed_addr global i64 0, align 8 @IA64_BREAKPOINT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ia64_memory_insert_breakpoint], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ia64_memory_insert_breakpoint(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca i8, i64 %5, align 1 %7 = and i32 %0, 15 %8 = load i32, ptr @SLOT_MULTIPLIER, align 4, !tbaa !6 %9 = sdiv i32 %7, %8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %10 = icmp sgt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = tail call i32 @error(ptr noundef nonnull @.str) #3 %13 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !6 br label %14 14: ; preds = %11, %2 %15 = phi i32 [ %13, %11 ], [ %4, %2 ] %16 = and i32 %0, -16 %17 = call i32 @target_read_memory(i32 noundef %16, ptr noundef nonnull %6, i32 noundef %15) #3 %18 = call i32 @extract_bit_field(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 5) #3 %19 = icmp eq i32 %9, 1 br i1 %19, label %20, label %30 20: ; preds = %14 %21 = load ptr, ptr @template_encoding_table, align 8, !tbaa !10 %22 = sext i32 %18 to i64 %23 = getelementptr inbounds ptr, ptr %21, i64 %22 %24 = load ptr, ptr %23, align 8, !tbaa !10 %25 = getelementptr inbounds i8, ptr %24, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !12 %27 = load i64, ptr @L, align 8, !tbaa !12 %28 = icmp eq i64 %26, %27 %29 = select i1 %28, i32 2, i32 1 br label %30 30: ; preds = %20, %14 %31 = phi i32 [ %9, %14 ], [ %29, %20 ] %32 = call i64 @slotN_contents(ptr noundef nonnull %6, i32 noundef %31) #3 store i64 %32, ptr %3, align 8, !tbaa !14 %33 = call i32 @memcpy(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 8) #3 %34 = load i32, ptr @IA64_BREAKPOINT, align 4, !tbaa !6 %35 = call i32 @replace_slotN_contents(ptr noundef nonnull %6, i32 noundef %34, i32 noundef %31) #3 %36 = icmp eq i32 %17, 0 br i1 %36, label %37, label %40 37: ; preds = %30 %38 = load i32, ptr @BUNDLE_LEN, align 4, !tbaa !6 %39 = call i32 @target_write_memory(i32 noundef %16, ptr noundef nonnull %6, i32 noundef %38) #3 br label %40 40: ; preds = %37, %30 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @error(ptr noundef) local_unnamed_addr #2 declare i32 @target_read_memory(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @extract_bit_field(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @slotN_contents(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @replace_slotN_contents(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @target_write_memory(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 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long long", !8, i64 0}
freebsd_contrib_gdb_gdb_extr_ia64-tdep.c_ia64_memory_insert_breakpoint
; ModuleID = 'AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_available_policies_show.c' source_filename = "AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_available_policies_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @available_policies_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @available_policies_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @thermal_build_list_of_policies(ptr noundef %2) #2 ret i32 %4 } declare i32 @thermal_build_list_of_policies(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/thermal/extr_thermal_sysfs.c_available_policies_show.c' source_filename = "AnghaBench/linux/drivers/thermal/extr_thermal_sysfs.c_available_policies_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @available_policies_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @available_policies_show(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = tail call i32 @thermal_build_list_of_policies(ptr noundef %2) #2 ret i32 %4 } declare i32 @thermal_build_list_of_policies(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_thermal_extr_thermal_sysfs.c_available_policies_show
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen_pcm.c_oxygen_rec_b_open.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen_pcm.c_oxygen_rec_b_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" @PCM_B = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @oxygen_rec_b_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @oxygen_rec_b_open(ptr noundef %0) #0 { %2 = load i32, ptr @PCM_B, align 4, !tbaa !5 %3 = tail call i32 @oxygen_open(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @oxygen_open(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/sound/pci/oxygen/extr_oxygen_pcm.c_oxygen_rec_b_open.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen_pcm.c_oxygen_rec_b_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCM_B = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @oxygen_rec_b_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @oxygen_rec_b_open(ptr noundef %0) #0 { %2 = load i32, ptr @PCM_B, align 4, !tbaa !6 %3 = tail call i32 @oxygen_open(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @oxygen_open(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_sound_pci_oxygen_extr_oxygen_pcm.c_oxygen_rec_b_open
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_arc.c_buf_fini.c' source_filename = "AnghaBench/zfs/module/zfs/extr_arc.c_buf_fini.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, ptr, i32 } %struct.TYPE_3__ = type { i32 } @buf_hash_table = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @BUF_LOCKS = dso_local local_unnamed_addr global i32 0, align 4 @hdr_full_cache = dso_local local_unnamed_addr global i32 0, align 4 @hdr_full_crypt_cache = dso_local local_unnamed_addr global i32 0, align 4 @hdr_l2only_cache = dso_local local_unnamed_addr global i32 0, align 4 @buf_cache = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @buf_fini], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @buf_fini() #0 { %1 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @buf_hash_table, i64 0, i32 2), align 8, !tbaa !5 %2 = load i32, ptr @buf_hash_table, align 8, !tbaa !11 %3 = shl i32 %2, 3 %4 = add i32 %3, 8 %5 = tail call i32 @kmem_free(i32 noundef %1, i32 noundef %4) #2 %6 = load i32, ptr @BUF_LOCKS, align 4, !tbaa !12 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %0, %8 %9 = phi i64 [ %13, %8 ], [ 0, %0 ] %10 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @buf_hash_table, i64 0, i32 1), align 8, !tbaa !13 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9 %12 = tail call i32 @mutex_destroy(ptr noundef %11) #2 %13 = add nuw nsw i64 %9, 1 %14 = load i32, ptr @BUF_LOCKS, align 4, !tbaa !12 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %13, %15 br i1 %16, label %8, label %17, !llvm.loop !14 17: ; preds = %8, %0 %18 = load i32, ptr @hdr_full_cache, align 4, !tbaa !12 %19 = tail call i32 @kmem_cache_destroy(i32 noundef %18) #2 %20 = load i32, ptr @hdr_full_crypt_cache, align 4, !tbaa !12 %21 = tail call i32 @kmem_cache_destroy(i32 noundef %20) #2 %22 = load i32, ptr @hdr_l2only_cache, align 4, !tbaa !12 %23 = tail call i32 @kmem_cache_destroy(i32 noundef %22) #2 %24 = load i32, ptr @buf_cache, align 4, !tbaa !12 %25 = tail call i32 @kmem_cache_destroy(i32 noundef %24) #2 ret void } declare i32 @kmem_free(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @kmem_cache_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"TYPE_4__", !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, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_arc.c_buf_fini.c' source_filename = "AnghaBench/zfs/module/zfs/extr_arc.c_buf_fini.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, ptr, i32 } %struct.TYPE_3__ = type { i32 } @buf_hash_table = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @BUF_LOCKS = common local_unnamed_addr global i32 0, align 4 @hdr_full_cache = common local_unnamed_addr global i32 0, align 4 @hdr_full_crypt_cache = common local_unnamed_addr global i32 0, align 4 @hdr_l2only_cache = common local_unnamed_addr global i32 0, align 4 @buf_cache = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @buf_fini], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @buf_fini() #0 { %1 = load i32, ptr getelementptr inbounds (i8, ptr @buf_hash_table, i64 16), align 8, !tbaa !6 %2 = load i32, ptr @buf_hash_table, align 8, !tbaa !12 %3 = shl i32 %2, 3 %4 = add i32 %3, 8 %5 = tail call i32 @kmem_free(i32 noundef %1, i32 noundef %4) #2 %6 = load i32, ptr @BUF_LOCKS, align 4, !tbaa !13 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %0, %8 %9 = phi i64 [ %13, %8 ], [ 0, %0 ] %10 = load ptr, ptr getelementptr inbounds (i8, ptr @buf_hash_table, i64 8), align 8, !tbaa !14 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i64 %9 %12 = tail call i32 @mutex_destroy(ptr noundef %11) #2 %13 = add nuw nsw i64 %9, 1 %14 = load i32, ptr @BUF_LOCKS, align 4, !tbaa !13 %15 = sext i32 %14 to i64 %16 = icmp slt i64 %13, %15 br i1 %16, label %8, label %17, !llvm.loop !15 17: ; preds = %8, %0 %18 = load i32, ptr @hdr_full_cache, align 4, !tbaa !13 %19 = tail call i32 @kmem_cache_destroy(i32 noundef %18) #2 %20 = load i32, ptr @hdr_full_crypt_cache, align 4, !tbaa !13 %21 = tail call i32 @kmem_cache_destroy(i32 noundef %20) #2 %22 = load i32, ptr @hdr_l2only_cache, align 4, !tbaa !13 %23 = tail call i32 @kmem_cache_destroy(i32 noundef %22) #2 %24 = load i32, ptr @buf_cache, align 4, !tbaa !13 %25 = tail call i32 @kmem_cache_destroy(i32 noundef %24) #2 ret void } declare i32 @kmem_free(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @kmem_cache_destroy(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"TYPE_4__", !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, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
zfs_module_zfs_extr_arc.c_buf_fini
; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_rwebaudio.c_rwebaudio_init.c' source_filename = "AnghaBench/RetroArch/audio/drivers/extr_rwebaudio.c_rwebaudio_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 @rwebaudio_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @rwebaudio_init(ptr nocapture readnone %0, i32 %1, i32 noundef %2, i32 %3, ptr nocapture noundef writeonly %4) #0 { %6 = tail call ptr @RWebAudioInit(i32 noundef %2) #2 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 (...) @RWebAudioSampleRate() #2 store i32 %9, ptr %4, align 4, !tbaa !5 br label %10 10: ; preds = %8, %5 ret ptr %6 } declare ptr @RWebAudioInit(i32 noundef) local_unnamed_addr #1 declare i32 @RWebAudioSampleRate(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_rwebaudio.c_rwebaudio_init.c' source_filename = "AnghaBench/RetroArch/audio/drivers/extr_rwebaudio.c_rwebaudio_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 @rwebaudio_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @rwebaudio_init(ptr nocapture readnone %0, i32 %1, i32 noundef %2, i32 %3, ptr nocapture noundef writeonly %4) #0 { %6 = tail call ptr @RWebAudioInit(i32 noundef %2) #2 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @RWebAudioSampleRate() #2 store i32 %9, ptr %4, align 4, !tbaa !6 br label %10 10: ; preds = %8, %5 ret ptr %6 } declare ptr @RWebAudioInit(i32 noundef) local_unnamed_addr #1 declare i32 @RWebAudioSampleRate(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
RetroArch_audio_drivers_extr_rwebaudio.c_rwebaudio_init
; ModuleID = 'AnghaBench/sqlcipher/ext/fts1/extr_fts1.c_term_select_all.c' source_filename = "AnghaBench/sqlcipher/ext/fts1/extr_fts1.c_term_select_all.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @TERM_SELECT_ALL_STMT = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_STATIC = dso_local local_unnamed_addr global i32 0, align 4 @DL_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_ROW = dso_local local_unnamed_addr global i32 0, align 4 @SQLITE_DONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @term_select_all], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @term_select_all(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !5 %10 = call i32 @sql_get_statement(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %7) #3 %11 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %55 13: ; preds = %5 %14 = load ptr, ptr %7, align 8, !tbaa !9 %15 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !5 %16 = call i32 @sqlite3_bind_text(ptr noundef %14, i32 noundef 1, ptr noundef %2, i32 noundef %3, i32 noundef %15) #3 %17 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %55 19: ; preds = %13 %20 = load i32, ptr @DL_DEFAULT, align 4, !tbaa !5 %21 = call i32 @docListInit(ptr noundef nonnull %6, i32 noundef %20, i32 noundef 0, i32 noundef 0) #3 %22 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !5 %23 = call i32 @sql_step_statement(ptr noundef %0, i32 noundef %22, ptr noundef nonnull %7) #3 %24 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !5 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %45 26: ; preds = %19, %37 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %27 = load i32, ptr @DL_DEFAULT, align 4, !tbaa !5 %28 = load ptr, ptr %7, align 8, !tbaa !9 %29 = call i32 @sqlite3_column_blob(ptr noundef %28, i32 noundef 0) #3 %30 = load ptr, ptr %7, align 8, !tbaa !9 %31 = call i32 @sqlite3_column_bytes(ptr noundef %30, i32 noundef 0) #3 %32 = call i32 @docListInit(ptr noundef nonnull %8, i32 noundef %27, i32 noundef %29, i32 noundef %31) #3 %33 = load i32, ptr %0, align 4, !tbaa !11 %34 = icmp sgt i32 %33, %1 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @docListRestrictColumn(ptr noundef nonnull %8, i32 noundef %1) #3 br label %37 37: ; preds = %35, %26 %38 = call i32 @docListAccumulate(ptr noundef nonnull %8, ptr noundef nonnull %6) #3 %39 = call i32 @docListDestroy(ptr noundef nonnull %6) #3 %40 = load i32, ptr %8, align 4, !tbaa !5 store i32 %40, ptr %6, align 4, !tbaa !5 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 %41 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !5 %42 = call i32 @sql_step_statement(ptr noundef nonnull %0, i32 noundef %41, ptr noundef nonnull %7) #3 %43 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !5 %44 = icmp eq i32 %42, %43 br i1 %44, label %26, label %45, !llvm.loop !13 45: ; preds = %37, %19 %46 = phi i32 [ %23, %19 ], [ %42, %37 ] %47 = load i32, ptr @SQLITE_DONE, align 4, !tbaa !5 %48 = icmp eq i32 %46, %47 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = call i32 @docListDestroy(ptr noundef nonnull %6) #3 br label %55 51: ; preds = %45 %52 = call i32 @docListDiscardEmpty(ptr noundef nonnull %6) #3 %53 = load i32, ptr %6, align 4, !tbaa !5 store i32 %53, ptr %4, align 4, !tbaa !5 %54 = load i32, ptr @SQLITE_OK, align 4, !tbaa !5 br label %55 55: ; preds = %13, %5, %51, %49 %56 = phi i32 [ %46, %49 ], [ %54, %51 ], [ %10, %5 ], [ %16, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sql_get_statement(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_bind_text(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sql_step_statement(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_column_blob(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_column_bytes(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListRestrictColumn(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListAccumulate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @docListDestroy(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 @docListDiscardEmpty(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_5__", !6, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/sqlcipher/ext/fts1/extr_fts1.c_term_select_all.c' source_filename = "AnghaBench/sqlcipher/ext/fts1/extr_fts1.c_term_select_all.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TERM_SELECT_ALL_STMT = common local_unnamed_addr global i32 0, align 4 @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @SQLITE_STATIC = common local_unnamed_addr global i32 0, align 4 @DL_DEFAULT = common local_unnamed_addr global i32 0, align 4 @SQLITE_ROW = common local_unnamed_addr global i32 0, align 4 @SQLITE_DONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @term_select_all], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @term_select_all(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %9 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !6 %10 = call i32 @sql_get_statement(ptr noundef %0, i32 noundef %9, ptr noundef nonnull %7) #3 %11 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %55 13: ; preds = %5 %14 = load ptr, ptr %7, align 8, !tbaa !10 %15 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !6 %16 = call i32 @sqlite3_bind_text(ptr noundef %14, i32 noundef 1, ptr noundef %2, i32 noundef %3, i32 noundef %15) #3 %17 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %55 19: ; preds = %13 %20 = load i32, ptr @DL_DEFAULT, align 4, !tbaa !6 %21 = call i32 @docListInit(ptr noundef nonnull %6, i32 noundef %20, i32 noundef 0, i32 noundef 0) #3 %22 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !6 %23 = call i32 @sql_step_statement(ptr noundef %0, i32 noundef %22, ptr noundef nonnull %7) #3 %24 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !6 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %45 26: ; preds = %19, %37 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %27 = load i32, ptr @DL_DEFAULT, align 4, !tbaa !6 %28 = load ptr, ptr %7, align 8, !tbaa !10 %29 = call i32 @sqlite3_column_blob(ptr noundef %28, i32 noundef 0) #3 %30 = load ptr, ptr %7, align 8, !tbaa !10 %31 = call i32 @sqlite3_column_bytes(ptr noundef %30, i32 noundef 0) #3 %32 = call i32 @docListInit(ptr noundef nonnull %8, i32 noundef %27, i32 noundef %29, i32 noundef %31) #3 %33 = load i32, ptr %0, align 4, !tbaa !12 %34 = icmp sgt i32 %33, %1 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @docListRestrictColumn(ptr noundef nonnull %8, i32 noundef %1) #3 br label %37 37: ; preds = %35, %26 %38 = call i32 @docListAccumulate(ptr noundef nonnull %8, ptr noundef nonnull %6) #3 %39 = call i32 @docListDestroy(ptr noundef nonnull %6) #3 %40 = load i32, ptr %8, align 4, !tbaa !6 store i32 %40, ptr %6, align 4, !tbaa !6 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 %41 = load i32, ptr @TERM_SELECT_ALL_STMT, align 4, !tbaa !6 %42 = call i32 @sql_step_statement(ptr noundef nonnull %0, i32 noundef %41, ptr noundef nonnull %7) #3 %43 = load i32, ptr @SQLITE_ROW, align 4, !tbaa !6 %44 = icmp eq i32 %42, %43 br i1 %44, label %26, label %45, !llvm.loop !14 45: ; preds = %37, %19 %46 = phi i32 [ %23, %19 ], [ %42, %37 ] %47 = load i32, ptr @SQLITE_DONE, align 4, !tbaa !6 %48 = icmp eq i32 %46, %47 br i1 %48, label %51, label %49 49: ; preds = %45 %50 = call i32 @docListDestroy(ptr noundef nonnull %6) #3 br label %55 51: ; preds = %45 %52 = call i32 @docListDiscardEmpty(ptr noundef nonnull %6) #3 %53 = load i32, ptr %6, align 4, !tbaa !6 store i32 %53, ptr %4, align 4, !tbaa !6 %54 = load i32, ptr @SQLITE_OK, align 4, !tbaa !6 br label %55 55: ; preds = %13, %5, %51, %49 %56 = phi i32 [ %46, %49 ], [ %54, %51 ], [ %10, %5 ], [ %16, %13 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @sql_get_statement(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_bind_text(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListInit(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sql_step_statement(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_column_blob(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_column_bytes(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListRestrictColumn(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @docListAccumulate(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @docListDestroy(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 @docListDiscardEmpty(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_5__", !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
sqlcipher_ext_fts1_extr_fts1.c_term_select_all
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_mmi.c_ff_put_pixels8_y2_8_mmi.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_mmi.c_ff_put_pixels8_y2_8_mmi.c" target datalayout = "e-m:e-p270:32:32-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 @ff_put_pixels8_y2_8_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = sext i32 %2 to i64 %6 = getelementptr inbounds i32, ptr %1, i64 %5 %7 = tail call i32 @ff_put_pixels8_l2_8_mmi(ptr noundef %0, ptr noundef %1, ptr noundef %6, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @ff_put_pixels8_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_mmi.c_ff_put_pixels8_y2_8_mmi.c' source_filename = "AnghaBench/FFmpeg/libavcodec/mips/extr_hpeldsp_mmi.c_ff_put_pixels8_y2_8_mmi.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 @ff_put_pixels8_y2_8_mmi(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = sext i32 %2 to i64 %6 = getelementptr inbounds i32, ptr %1, i64 %5 %7 = tail call i32 @ff_put_pixels8_l2_8_mmi(ptr noundef %0, ptr noundef %1, ptr noundef %6, i32 noundef %2, i32 noundef %2, i32 noundef %2, i32 noundef %3) #2 ret void } declare i32 @ff_put_pixels8_l2_8_mmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
FFmpeg_libavcodec_mips_extr_hpeldsp_mmi.c_ff_put_pixels8_y2_8_mmi
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_read_mmc_stats.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_read_mmc_stats.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.xlgmac_pdata = type { i64, %struct.xlgmac_stats } %struct.xlgmac_stats = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } @MMC_CR = dso_local local_unnamed_addr global i64 0, align 8 @MMC_CR_MCF_POS = dso_local local_unnamed_addr global i32 0, align 4 @MMC_CR_MCF_LEN = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXOCTETCOUNT_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXFRAMECOUNT_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXBROADCASTFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXMULTICASTFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX64OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX65TO127OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX128TO255OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX256TO511OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX512TO1023OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TX1024TOMAXOCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXUNICASTFRAMES_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXMULTICASTFRAMES_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXBROADCASTFRAMES_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXUNDERFLOWERROR_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXOCTETCOUNT_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXFRAMECOUNT_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXPAUSEFRAMES_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_TXVLANFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXFRAMECOUNT_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXOCTETCOUNT_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXOCTETCOUNT_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXBROADCASTFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXMULTICASTFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXCRCERROR_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXRUNTERROR = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXJABBERERROR = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXUNDERSIZE_G = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXOVERSIZE_G = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX64OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX65TO127OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX128TO255OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX256TO511OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX512TO1023OCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RX1024TOMAXOCTETS_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXUNICASTFRAMES_G_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXLENGTHERROR_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXOUTOFRANGETYPE_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXPAUSEFRAMES_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXFIFOOVERFLOW_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXVLANFRAMES_GB_LO = dso_local local_unnamed_addr global i32 0, align 4 @MMC_RXWATCHDOGERROR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xlgmac_read_mmc_stats], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xlgmac_read_mmc_stats(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1 %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @MMC_CR, align 8, !tbaa !12 %5 = add nsw i64 %4, %3 %6 = tail call i32 @readl(i64 noundef %5) #2 %7 = load i32, ptr @MMC_CR_MCF_POS, align 4, !tbaa !13 %8 = load i32, ptr @MMC_CR_MCF_LEN, align 4, !tbaa !13 %9 = tail call i32 @XLGMAC_SET_REG_BITS(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 1) #2 %10 = load i64, ptr %0, align 8, !tbaa !5 %11 = load i64, ptr @MMC_CR, align 8, !tbaa !12 %12 = add nsw i64 %11, %10 %13 = tail call i32 @writel(i32 noundef %9, i64 noundef %12) #2 %14 = load i32, ptr @MMC_TXOCTETCOUNT_GB_LO, align 4, !tbaa !13 %15 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %14) #2 %16 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 39 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = trunc i64 %15 to i32 %19 = add i32 %17, %18 store i32 %19, ptr %16, align 4, !tbaa !14 %20 = load i32, ptr @MMC_TXFRAMECOUNT_GB_LO, align 4, !tbaa !13 %21 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %20) #2 %22 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 38 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = trunc i64 %21 to i32 %25 = add i32 %23, %24 store i32 %25, ptr %22, align 4, !tbaa !15 %26 = load i32, ptr @MMC_TXBROADCASTFRAMES_G_LO, align 4, !tbaa !13 %27 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %26) #2 %28 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 28 %29 = load i32, ptr %28, align 4, !tbaa !16 %30 = trunc i64 %27 to i32 %31 = add i32 %29, %30 store i32 %31, ptr %28, align 4, !tbaa !16 %32 = load i32, ptr @MMC_TXMULTICASTFRAMES_G_LO, align 4, !tbaa !13 %33 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %32) #2 %34 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 37 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = trunc i64 %33 to i32 %37 = add i32 %35, %36 store i32 %37, ptr %34, align 4, !tbaa !17 %38 = load i32, ptr @MMC_TX64OCTETS_GB_LO, align 4, !tbaa !13 %39 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 36 %41 = load i32, ptr %40, align 4, !tbaa !18 %42 = trunc i64 %39 to i32 %43 = add i32 %41, %42 store i32 %43, ptr %40, align 4, !tbaa !18 %44 = load i32, ptr @MMC_TX65TO127OCTETS_GB_LO, align 4, !tbaa !13 %45 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %44) #2 %46 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 35 %47 = load i32, ptr %46, align 4, !tbaa !19 %48 = trunc i64 %45 to i32 %49 = add i32 %47, %48 store i32 %49, ptr %46, align 4, !tbaa !19 %50 = load i32, ptr @MMC_TX128TO255OCTETS_GB_LO, align 4, !tbaa !13 %51 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %50) #2 %52 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 34 %53 = load i32, ptr %52, align 4, !tbaa !20 %54 = trunc i64 %51 to i32 %55 = add i32 %53, %54 store i32 %55, ptr %52, align 4, !tbaa !20 %56 = load i32, ptr @MMC_TX256TO511OCTETS_GB_LO, align 4, !tbaa !13 %57 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %56) #2 %58 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 33 %59 = load i32, ptr %58, align 4, !tbaa !21 %60 = trunc i64 %57 to i32 %61 = add i32 %59, %60 store i32 %61, ptr %58, align 4, !tbaa !21 %62 = load i32, ptr @MMC_TX512TO1023OCTETS_GB_LO, align 4, !tbaa !13 %63 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %62) #2 %64 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 32 %65 = load i32, ptr %64, align 4, !tbaa !22 %66 = trunc i64 %63 to i32 %67 = add i32 %65, %66 store i32 %67, ptr %64, align 4, !tbaa !22 %68 = load i32, ptr @MMC_TX1024TOMAXOCTETS_GB_LO, align 4, !tbaa !13 %69 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %68) #2 %70 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 31 %71 = load i32, ptr %70, align 4, !tbaa !23 %72 = trunc i64 %69 to i32 %73 = add i32 %71, %72 store i32 %73, ptr %70, align 4, !tbaa !23 %74 = load i32, ptr @MMC_TXUNICASTFRAMES_GB_LO, align 4, !tbaa !13 %75 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %74) #2 %76 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 30 %77 = load i32, ptr %76, align 4, !tbaa !24 %78 = trunc i64 %75 to i32 %79 = add i32 %77, %78 store i32 %79, ptr %76, align 4, !tbaa !24 %80 = load i32, ptr @MMC_TXMULTICASTFRAMES_GB_LO, align 4, !tbaa !13 %81 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %80) #2 %82 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 29 %83 = load i32, ptr %82, align 4, !tbaa !25 %84 = trunc i64 %81 to i32 %85 = add i32 %83, %84 store i32 %85, ptr %82, align 4, !tbaa !25 %86 = load i32, ptr @MMC_TXBROADCASTFRAMES_GB_LO, align 4, !tbaa !13 %87 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %86) #2 %88 = load i32, ptr %28, align 4, !tbaa !16 %89 = trunc i64 %87 to i32 %90 = add i32 %88, %89 store i32 %90, ptr %28, align 4, !tbaa !16 %91 = load i32, ptr @MMC_TXUNDERFLOWERROR_LO, align 4, !tbaa !13 %92 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %91) #2 %93 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 27 %94 = load i32, ptr %93, align 4, !tbaa !26 %95 = trunc i64 %92 to i32 %96 = add i32 %94, %95 store i32 %96, ptr %93, align 4, !tbaa !26 %97 = load i32, ptr @MMC_TXOCTETCOUNT_G_LO, align 4, !tbaa !13 %98 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %97) #2 %99 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 26 %100 = load i32, ptr %99, align 4, !tbaa !27 %101 = trunc i64 %98 to i32 %102 = add i32 %100, %101 store i32 %102, ptr %99, align 4, !tbaa !27 %103 = load i32, ptr @MMC_TXFRAMECOUNT_G_LO, align 4, !tbaa !13 %104 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %103) #2 %105 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 25 %106 = load i32, ptr %105, align 4, !tbaa !28 %107 = trunc i64 %104 to i32 %108 = add i32 %106, %107 store i32 %108, ptr %105, align 4, !tbaa !28 %109 = load i32, ptr @MMC_TXPAUSEFRAMES_LO, align 4, !tbaa !13 %110 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %109) #2 %111 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 24 %112 = load i32, ptr %111, align 4, !tbaa !29 %113 = trunc i64 %110 to i32 %114 = add i32 %112, %113 store i32 %114, ptr %111, align 4, !tbaa !29 %115 = load i32, ptr @MMC_TXVLANFRAMES_G_LO, align 4, !tbaa !13 %116 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %115) #2 %117 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 23 %118 = load i32, ptr %117, align 4, !tbaa !30 %119 = trunc i64 %116 to i32 %120 = add i32 %118, %119 store i32 %120, ptr %117, align 4, !tbaa !30 %121 = load i32, ptr @MMC_RXFRAMECOUNT_GB_LO, align 4, !tbaa !13 %122 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %121) #2 %123 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 22 %124 = load i32, ptr %123, align 4, !tbaa !31 %125 = trunc i64 %122 to i32 %126 = add i32 %124, %125 store i32 %126, ptr %123, align 4, !tbaa !31 %127 = load i32, ptr @MMC_RXOCTETCOUNT_GB_LO, align 4, !tbaa !13 %128 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %127) #2 %129 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 21 %130 = load i32, ptr %129, align 4, !tbaa !32 %131 = trunc i64 %128 to i32 %132 = add i32 %130, %131 store i32 %132, ptr %129, align 4, !tbaa !32 %133 = load i32, ptr @MMC_RXOCTETCOUNT_G_LO, align 4, !tbaa !13 %134 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %133) #2 %135 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 20 %136 = load i32, ptr %135, align 4, !tbaa !33 %137 = trunc i64 %134 to i32 %138 = add i32 %136, %137 store i32 %138, ptr %135, align 4, !tbaa !33 %139 = load i32, ptr @MMC_RXBROADCASTFRAMES_G_LO, align 4, !tbaa !13 %140 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %139) #2 %141 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 19 %142 = load i32, ptr %141, align 4, !tbaa !34 %143 = trunc i64 %140 to i32 %144 = add i32 %142, %143 store i32 %144, ptr %141, align 4, !tbaa !34 %145 = load i32, ptr @MMC_RXMULTICASTFRAMES_G_LO, align 4, !tbaa !13 %146 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %145) #2 %147 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 18 %148 = load i32, ptr %147, align 4, !tbaa !35 %149 = trunc i64 %146 to i32 %150 = add i32 %148, %149 store i32 %150, ptr %147, align 4, !tbaa !35 %151 = load i32, ptr @MMC_RXCRCERROR_LO, align 4, !tbaa !13 %152 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %151) #2 %153 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 17 %154 = load i32, ptr %153, align 4, !tbaa !36 %155 = trunc i64 %152 to i32 %156 = add i32 %154, %155 store i32 %156, ptr %153, align 4, !tbaa !36 %157 = load i32, ptr @MMC_RXRUNTERROR, align 4, !tbaa !13 %158 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %157) #2 %159 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 16 %160 = load i32, ptr %159, align 4, !tbaa !37 %161 = trunc i64 %158 to i32 %162 = add i32 %160, %161 store i32 %162, ptr %159, align 4, !tbaa !37 %163 = load i32, ptr @MMC_RXJABBERERROR, align 4, !tbaa !13 %164 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %163) #2 %165 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 15 %166 = load i32, ptr %165, align 4, !tbaa !38 %167 = trunc i64 %164 to i32 %168 = add i32 %166, %167 store i32 %168, ptr %165, align 4, !tbaa !38 %169 = load i32, ptr @MMC_RXUNDERSIZE_G, align 4, !tbaa !13 %170 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %169) #2 %171 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 14 %172 = load i32, ptr %171, align 4, !tbaa !39 %173 = trunc i64 %170 to i32 %174 = add i32 %172, %173 store i32 %174, ptr %171, align 4, !tbaa !39 %175 = load i32, ptr @MMC_RXOVERSIZE_G, align 4, !tbaa !13 %176 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %175) #2 %177 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 13 %178 = load i32, ptr %177, align 4, !tbaa !40 %179 = trunc i64 %176 to i32 %180 = add i32 %178, %179 store i32 %180, ptr %177, align 4, !tbaa !40 %181 = load i32, ptr @MMC_RX64OCTETS_GB_LO, align 4, !tbaa !13 %182 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %181) #2 %183 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 12 %184 = load i32, ptr %183, align 4, !tbaa !41 %185 = trunc i64 %182 to i32 %186 = add i32 %184, %185 store i32 %186, ptr %183, align 4, !tbaa !41 %187 = load i32, ptr @MMC_RX65TO127OCTETS_GB_LO, align 4, !tbaa !13 %188 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %187) #2 %189 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 11 %190 = load i32, ptr %189, align 4, !tbaa !42 %191 = trunc i64 %188 to i32 %192 = add i32 %190, %191 store i32 %192, ptr %189, align 4, !tbaa !42 %193 = load i32, ptr @MMC_RX128TO255OCTETS_GB_LO, align 4, !tbaa !13 %194 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %193) #2 %195 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 10 %196 = load i32, ptr %195, align 4, !tbaa !43 %197 = trunc i64 %194 to i32 %198 = add i32 %196, %197 store i32 %198, ptr %195, align 4, !tbaa !43 %199 = load i32, ptr @MMC_RX256TO511OCTETS_GB_LO, align 4, !tbaa !13 %200 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %199) #2 %201 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 9 %202 = load i32, ptr %201, align 4, !tbaa !44 %203 = trunc i64 %200 to i32 %204 = add i32 %202, %203 store i32 %204, ptr %201, align 4, !tbaa !44 %205 = load i32, ptr @MMC_RX512TO1023OCTETS_GB_LO, align 4, !tbaa !13 %206 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %205) #2 %207 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 8 %208 = load i32, ptr %207, align 4, !tbaa !45 %209 = trunc i64 %206 to i32 %210 = add i32 %208, %209 store i32 %210, ptr %207, align 4, !tbaa !45 %211 = load i32, ptr @MMC_RX1024TOMAXOCTETS_GB_LO, align 4, !tbaa !13 %212 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %211) #2 %213 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 7 %214 = load i32, ptr %213, align 4, !tbaa !46 %215 = trunc i64 %212 to i32 %216 = add i32 %214, %215 store i32 %216, ptr %213, align 4, !tbaa !46 %217 = load i32, ptr @MMC_RXUNICASTFRAMES_G_LO, align 4, !tbaa !13 %218 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %217) #2 %219 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 6 %220 = load i32, ptr %219, align 4, !tbaa !47 %221 = trunc i64 %218 to i32 %222 = add i32 %220, %221 store i32 %222, ptr %219, align 4, !tbaa !47 %223 = load i32, ptr @MMC_RXLENGTHERROR_LO, align 4, !tbaa !13 %224 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %223) #2 %225 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 5 %226 = load i32, ptr %225, align 4, !tbaa !48 %227 = trunc i64 %224 to i32 %228 = add i32 %226, %227 store i32 %228, ptr %225, align 4, !tbaa !48 %229 = load i32, ptr @MMC_RXOUTOFRANGETYPE_LO, align 4, !tbaa !13 %230 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %229) #2 %231 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 4 %232 = load i32, ptr %231, align 4, !tbaa !49 %233 = trunc i64 %230 to i32 %234 = add i32 %232, %233 store i32 %234, ptr %231, align 4, !tbaa !49 %235 = load i32, ptr @MMC_RXPAUSEFRAMES_LO, align 4, !tbaa !13 %236 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %235) #2 %237 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 3 %238 = load i32, ptr %237, align 4, !tbaa !50 %239 = trunc i64 %236 to i32 %240 = add i32 %238, %239 store i32 %240, ptr %237, align 4, !tbaa !50 %241 = load i32, ptr @MMC_RXFIFOOVERFLOW_LO, align 4, !tbaa !13 %242 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %241) #2 %243 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 2 %244 = load i32, ptr %243, align 4, !tbaa !51 %245 = trunc i64 %242 to i32 %246 = add i32 %244, %245 store i32 %246, ptr %243, align 4, !tbaa !51 %247 = load i32, ptr @MMC_RXVLANFRAMES_GB_LO, align 4, !tbaa !13 %248 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %247) #2 %249 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1, i32 1 %250 = load i32, ptr %249, align 4, !tbaa !52 %251 = trunc i64 %248 to i32 %252 = add i32 %250, %251 store i32 %252, ptr %249, align 4, !tbaa !52 %253 = load i32, ptr @MMC_RXWATCHDOGERROR, align 4, !tbaa !13 %254 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %253) #2 %255 = load i32, ptr %2, align 4, !tbaa !53 %256 = trunc i64 %254 to i32 %257 = add i32 %255, %256 store i32 %257, ptr %2, align 4, !tbaa !53 %258 = load i64, ptr %0, align 8, !tbaa !5 %259 = load i64, ptr @MMC_CR, align 8, !tbaa !12 %260 = add nsw i64 %259, %258 %261 = tail call i32 @readl(i64 noundef %260) #2 %262 = load i32, ptr @MMC_CR_MCF_POS, align 4, !tbaa !13 %263 = load i32, ptr @MMC_CR_MCF_LEN, align 4, !tbaa !13 %264 = tail call i32 @XLGMAC_SET_REG_BITS(i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef 0) #2 %265 = load i64, ptr %0, align 8, !tbaa !5 %266 = load i64, ptr @MMC_CR, align 8, !tbaa !12 %267 = add nsw i64 %266, %265 %268 = tail call i32 @writel(i32 noundef %264, i64 noundef %267) #2 ret void } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @XLGMAC_SET_REG_BITS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @xlgmac_mmc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"xlgmac_pdata", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"xlgmac_stats", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156} !11 = !{!"int", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!10, !11, i64 156} !15 = !{!10, !11, i64 152} !16 = !{!10, !11, i64 112} !17 = !{!10, !11, i64 148} !18 = !{!10, !11, i64 144} !19 = !{!10, !11, i64 140} !20 = !{!10, !11, i64 136} !21 = !{!10, !11, i64 132} !22 = !{!10, !11, i64 128} !23 = !{!10, !11, i64 124} !24 = !{!10, !11, i64 120} !25 = !{!10, !11, i64 116} !26 = !{!10, !11, i64 108} !27 = !{!10, !11, i64 104} !28 = !{!10, !11, i64 100} !29 = !{!10, !11, i64 96} !30 = !{!10, !11, i64 92} !31 = !{!10, !11, i64 88} !32 = !{!10, !11, i64 84} !33 = !{!10, !11, i64 80} !34 = !{!10, !11, i64 76} !35 = !{!10, !11, i64 72} !36 = !{!10, !11, i64 68} !37 = !{!10, !11, i64 64} !38 = !{!10, !11, i64 60} !39 = !{!10, !11, i64 56} !40 = !{!10, !11, i64 52} !41 = !{!10, !11, i64 48} !42 = !{!10, !11, i64 44} !43 = !{!10, !11, i64 40} !44 = !{!10, !11, i64 36} !45 = !{!10, !11, i64 32} !46 = !{!10, !11, i64 28} !47 = !{!10, !11, i64 24} !48 = !{!10, !11, i64 20} !49 = !{!10, !11, i64 16} !50 = !{!10, !11, i64 12} !51 = !{!10, !11, i64 8} !52 = !{!10, !11, i64 4} !53 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_read_mmc_stats.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-hw.c_xlgmac_read_mmc_stats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MMC_CR = common local_unnamed_addr global i64 0, align 8 @MMC_CR_MCF_POS = common local_unnamed_addr global i32 0, align 4 @MMC_CR_MCF_LEN = common local_unnamed_addr global i32 0, align 4 @MMC_TXOCTETCOUNT_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXFRAMECOUNT_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXBROADCASTFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXMULTICASTFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX64OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX65TO127OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX128TO255OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX256TO511OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX512TO1023OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TX1024TOMAXOCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXUNICASTFRAMES_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXMULTICASTFRAMES_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXBROADCASTFRAMES_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXUNDERFLOWERROR_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXOCTETCOUNT_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXFRAMECOUNT_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXPAUSEFRAMES_LO = common local_unnamed_addr global i32 0, align 4 @MMC_TXVLANFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXFRAMECOUNT_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXOCTETCOUNT_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXOCTETCOUNT_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXBROADCASTFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXMULTICASTFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXCRCERROR_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXRUNTERROR = common local_unnamed_addr global i32 0, align 4 @MMC_RXJABBERERROR = common local_unnamed_addr global i32 0, align 4 @MMC_RXUNDERSIZE_G = common local_unnamed_addr global i32 0, align 4 @MMC_RXOVERSIZE_G = common local_unnamed_addr global i32 0, align 4 @MMC_RX64OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RX65TO127OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RX128TO255OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RX256TO511OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RX512TO1023OCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RX1024TOMAXOCTETS_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXUNICASTFRAMES_G_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXLENGTHERROR_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXOUTOFRANGETYPE_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXPAUSEFRAMES_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXFIFOOVERFLOW_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXVLANFRAMES_GB_LO = common local_unnamed_addr global i32 0, align 4 @MMC_RXWATCHDOGERROR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xlgmac_read_mmc_stats], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xlgmac_read_mmc_stats(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @MMC_CR, align 8, !tbaa !13 %5 = add nsw i64 %4, %3 %6 = tail call i32 @readl(i64 noundef %5) #2 %7 = load i32, ptr @MMC_CR_MCF_POS, align 4, !tbaa !14 %8 = load i32, ptr @MMC_CR_MCF_LEN, align 4, !tbaa !14 %9 = tail call i32 @XLGMAC_SET_REG_BITS(i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 1) #2 %10 = load i64, ptr %0, align 8, !tbaa !6 %11 = load i64, ptr @MMC_CR, align 8, !tbaa !13 %12 = add nsw i64 %11, %10 %13 = tail call i32 @writel(i32 noundef %9, i64 noundef %12) #2 %14 = load i32, ptr @MMC_TXOCTETCOUNT_GB_LO, align 4, !tbaa !14 %15 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 164 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = trunc i64 %15 to i32 %19 = add i32 %17, %18 store i32 %19, ptr %16, align 4, !tbaa !15 %20 = load i32, ptr @MMC_TXFRAMECOUNT_GB_LO, align 4, !tbaa !14 %21 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %20) #2 %22 = getelementptr inbounds i8, ptr %0, i64 160 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = trunc i64 %21 to i32 %25 = add i32 %23, %24 store i32 %25, ptr %22, align 4, !tbaa !16 %26 = load i32, ptr @MMC_TXBROADCASTFRAMES_G_LO, align 4, !tbaa !14 %27 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %26) #2 %28 = getelementptr inbounds i8, ptr %0, i64 120 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = trunc i64 %27 to i32 %31 = add i32 %29, %30 store i32 %31, ptr %28, align 4, !tbaa !17 %32 = load i32, ptr @MMC_TXMULTICASTFRAMES_G_LO, align 4, !tbaa !14 %33 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %0, i64 156 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = trunc i64 %33 to i32 %37 = add i32 %35, %36 store i32 %37, ptr %34, align 4, !tbaa !18 %38 = load i32, ptr @MMC_TX64OCTETS_GB_LO, align 4, !tbaa !14 %39 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %38) #2 %40 = getelementptr inbounds i8, ptr %0, i64 152 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = trunc i64 %39 to i32 %43 = add i32 %41, %42 store i32 %43, ptr %40, align 4, !tbaa !19 %44 = load i32, ptr @MMC_TX65TO127OCTETS_GB_LO, align 4, !tbaa !14 %45 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %44) #2 %46 = getelementptr inbounds i8, ptr %0, i64 148 %47 = load i32, ptr %46, align 4, !tbaa !20 %48 = trunc i64 %45 to i32 %49 = add i32 %47, %48 store i32 %49, ptr %46, align 4, !tbaa !20 %50 = load i32, ptr @MMC_TX128TO255OCTETS_GB_LO, align 4, !tbaa !14 %51 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %50) #2 %52 = getelementptr inbounds i8, ptr %0, i64 144 %53 = load i32, ptr %52, align 4, !tbaa !21 %54 = trunc i64 %51 to i32 %55 = add i32 %53, %54 store i32 %55, ptr %52, align 4, !tbaa !21 %56 = load i32, ptr @MMC_TX256TO511OCTETS_GB_LO, align 4, !tbaa !14 %57 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %56) #2 %58 = getelementptr inbounds i8, ptr %0, i64 140 %59 = load i32, ptr %58, align 4, !tbaa !22 %60 = trunc i64 %57 to i32 %61 = add i32 %59, %60 store i32 %61, ptr %58, align 4, !tbaa !22 %62 = load i32, ptr @MMC_TX512TO1023OCTETS_GB_LO, align 4, !tbaa !14 %63 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %62) #2 %64 = getelementptr inbounds i8, ptr %0, i64 136 %65 = load i32, ptr %64, align 4, !tbaa !23 %66 = trunc i64 %63 to i32 %67 = add i32 %65, %66 store i32 %67, ptr %64, align 4, !tbaa !23 %68 = load i32, ptr @MMC_TX1024TOMAXOCTETS_GB_LO, align 4, !tbaa !14 %69 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %68) #2 %70 = getelementptr inbounds i8, ptr %0, i64 132 %71 = load i32, ptr %70, align 4, !tbaa !24 %72 = trunc i64 %69 to i32 %73 = add i32 %71, %72 store i32 %73, ptr %70, align 4, !tbaa !24 %74 = load i32, ptr @MMC_TXUNICASTFRAMES_GB_LO, align 4, !tbaa !14 %75 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %74) #2 %76 = getelementptr inbounds i8, ptr %0, i64 128 %77 = load i32, ptr %76, align 4, !tbaa !25 %78 = trunc i64 %75 to i32 %79 = add i32 %77, %78 store i32 %79, ptr %76, align 4, !tbaa !25 %80 = load i32, ptr @MMC_TXMULTICASTFRAMES_GB_LO, align 4, !tbaa !14 %81 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %80) #2 %82 = getelementptr inbounds i8, ptr %0, i64 124 %83 = load i32, ptr %82, align 4, !tbaa !26 %84 = trunc i64 %81 to i32 %85 = add i32 %83, %84 store i32 %85, ptr %82, align 4, !tbaa !26 %86 = load i32, ptr @MMC_TXBROADCASTFRAMES_GB_LO, align 4, !tbaa !14 %87 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %86) #2 %88 = load i32, ptr %28, align 4, !tbaa !17 %89 = trunc i64 %87 to i32 %90 = add i32 %88, %89 store i32 %90, ptr %28, align 4, !tbaa !17 %91 = load i32, ptr @MMC_TXUNDERFLOWERROR_LO, align 4, !tbaa !14 %92 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %91) #2 %93 = getelementptr inbounds i8, ptr %0, i64 116 %94 = load i32, ptr %93, align 4, !tbaa !27 %95 = trunc i64 %92 to i32 %96 = add i32 %94, %95 store i32 %96, ptr %93, align 4, !tbaa !27 %97 = load i32, ptr @MMC_TXOCTETCOUNT_G_LO, align 4, !tbaa !14 %98 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %97) #2 %99 = getelementptr inbounds i8, ptr %0, i64 112 %100 = load i32, ptr %99, align 4, !tbaa !28 %101 = trunc i64 %98 to i32 %102 = add i32 %100, %101 store i32 %102, ptr %99, align 4, !tbaa !28 %103 = load i32, ptr @MMC_TXFRAMECOUNT_G_LO, align 4, !tbaa !14 %104 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %103) #2 %105 = getelementptr inbounds i8, ptr %0, i64 108 %106 = load i32, ptr %105, align 4, !tbaa !29 %107 = trunc i64 %104 to i32 %108 = add i32 %106, %107 store i32 %108, ptr %105, align 4, !tbaa !29 %109 = load i32, ptr @MMC_TXPAUSEFRAMES_LO, align 4, !tbaa !14 %110 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %109) #2 %111 = getelementptr inbounds i8, ptr %0, i64 104 %112 = load i32, ptr %111, align 4, !tbaa !30 %113 = trunc i64 %110 to i32 %114 = add i32 %112, %113 store i32 %114, ptr %111, align 4, !tbaa !30 %115 = load i32, ptr @MMC_TXVLANFRAMES_G_LO, align 4, !tbaa !14 %116 = tail call i64 @xlgmac_mmc_read(ptr noundef nonnull %0, i32 noundef %115) #2 %117 = getelementptr inbounds i8, ptr %0, i64 100 %118 = load i32, ptr %117, align 4, !tbaa !31 %119 = trunc i64 %116 to i32 %120 = add i32 %118, %119 store i32 %120, ptr %117, align 4, !tbaa !31 %121 = load i32, ptr @MMC_RXFRAMECOUNT_GB_LO, align 4, !tbaa !14 %122 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %121) #2 %123 = getelementptr inbounds i8, ptr %0, i64 96 %124 = load i32, ptr %123, align 4, !tbaa !32 %125 = trunc i64 %122 to i32 %126 = add i32 %124, %125 store i32 %126, ptr %123, align 4, !tbaa !32 %127 = load i32, ptr @MMC_RXOCTETCOUNT_GB_LO, align 4, !tbaa !14 %128 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %127) #2 %129 = getelementptr inbounds i8, ptr %0, i64 92 %130 = load i32, ptr %129, align 4, !tbaa !33 %131 = trunc i64 %128 to i32 %132 = add i32 %130, %131 store i32 %132, ptr %129, align 4, !tbaa !33 %133 = load i32, ptr @MMC_RXOCTETCOUNT_G_LO, align 4, !tbaa !14 %134 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %133) #2 %135 = getelementptr inbounds i8, ptr %0, i64 88 %136 = load i32, ptr %135, align 4, !tbaa !34 %137 = trunc i64 %134 to i32 %138 = add i32 %136, %137 store i32 %138, ptr %135, align 4, !tbaa !34 %139 = load i32, ptr @MMC_RXBROADCASTFRAMES_G_LO, align 4, !tbaa !14 %140 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %139) #2 %141 = getelementptr inbounds i8, ptr %0, i64 84 %142 = load i32, ptr %141, align 4, !tbaa !35 %143 = trunc i64 %140 to i32 %144 = add i32 %142, %143 store i32 %144, ptr %141, align 4, !tbaa !35 %145 = load i32, ptr @MMC_RXMULTICASTFRAMES_G_LO, align 4, !tbaa !14 %146 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %145) #2 %147 = getelementptr inbounds i8, ptr %0, i64 80 %148 = load i32, ptr %147, align 4, !tbaa !36 %149 = trunc i64 %146 to i32 %150 = add i32 %148, %149 store i32 %150, ptr %147, align 4, !tbaa !36 %151 = load i32, ptr @MMC_RXCRCERROR_LO, align 4, !tbaa !14 %152 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %151) #2 %153 = getelementptr inbounds i8, ptr %0, i64 76 %154 = load i32, ptr %153, align 4, !tbaa !37 %155 = trunc i64 %152 to i32 %156 = add i32 %154, %155 store i32 %156, ptr %153, align 4, !tbaa !37 %157 = load i32, ptr @MMC_RXRUNTERROR, align 4, !tbaa !14 %158 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %157) #2 %159 = getelementptr inbounds i8, ptr %0, i64 72 %160 = load i32, ptr %159, align 4, !tbaa !38 %161 = trunc i64 %158 to i32 %162 = add i32 %160, %161 store i32 %162, ptr %159, align 4, !tbaa !38 %163 = load i32, ptr @MMC_RXJABBERERROR, align 4, !tbaa !14 %164 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %163) #2 %165 = getelementptr inbounds i8, ptr %0, i64 68 %166 = load i32, ptr %165, align 4, !tbaa !39 %167 = trunc i64 %164 to i32 %168 = add i32 %166, %167 store i32 %168, ptr %165, align 4, !tbaa !39 %169 = load i32, ptr @MMC_RXUNDERSIZE_G, align 4, !tbaa !14 %170 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %169) #2 %171 = getelementptr inbounds i8, ptr %0, i64 64 %172 = load i32, ptr %171, align 4, !tbaa !40 %173 = trunc i64 %170 to i32 %174 = add i32 %172, %173 store i32 %174, ptr %171, align 4, !tbaa !40 %175 = load i32, ptr @MMC_RXOVERSIZE_G, align 4, !tbaa !14 %176 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %175) #2 %177 = getelementptr inbounds i8, ptr %0, i64 60 %178 = load i32, ptr %177, align 4, !tbaa !41 %179 = trunc i64 %176 to i32 %180 = add i32 %178, %179 store i32 %180, ptr %177, align 4, !tbaa !41 %181 = load i32, ptr @MMC_RX64OCTETS_GB_LO, align 4, !tbaa !14 %182 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %181) #2 %183 = getelementptr inbounds i8, ptr %0, i64 56 %184 = load i32, ptr %183, align 4, !tbaa !42 %185 = trunc i64 %182 to i32 %186 = add i32 %184, %185 store i32 %186, ptr %183, align 4, !tbaa !42 %187 = load i32, ptr @MMC_RX65TO127OCTETS_GB_LO, align 4, !tbaa !14 %188 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %187) #2 %189 = getelementptr inbounds i8, ptr %0, i64 52 %190 = load i32, ptr %189, align 4, !tbaa !43 %191 = trunc i64 %188 to i32 %192 = add i32 %190, %191 store i32 %192, ptr %189, align 4, !tbaa !43 %193 = load i32, ptr @MMC_RX128TO255OCTETS_GB_LO, align 4, !tbaa !14 %194 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %193) #2 %195 = getelementptr inbounds i8, ptr %0, i64 48 %196 = load i32, ptr %195, align 4, !tbaa !44 %197 = trunc i64 %194 to i32 %198 = add i32 %196, %197 store i32 %198, ptr %195, align 4, !tbaa !44 %199 = load i32, ptr @MMC_RX256TO511OCTETS_GB_LO, align 4, !tbaa !14 %200 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %199) #2 %201 = getelementptr inbounds i8, ptr %0, i64 44 %202 = load i32, ptr %201, align 4, !tbaa !45 %203 = trunc i64 %200 to i32 %204 = add i32 %202, %203 store i32 %204, ptr %201, align 4, !tbaa !45 %205 = load i32, ptr @MMC_RX512TO1023OCTETS_GB_LO, align 4, !tbaa !14 %206 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %205) #2 %207 = getelementptr inbounds i8, ptr %0, i64 40 %208 = load i32, ptr %207, align 4, !tbaa !46 %209 = trunc i64 %206 to i32 %210 = add i32 %208, %209 store i32 %210, ptr %207, align 4, !tbaa !46 %211 = load i32, ptr @MMC_RX1024TOMAXOCTETS_GB_LO, align 4, !tbaa !14 %212 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %211) #2 %213 = getelementptr inbounds i8, ptr %0, i64 36 %214 = load i32, ptr %213, align 4, !tbaa !47 %215 = trunc i64 %212 to i32 %216 = add i32 %214, %215 store i32 %216, ptr %213, align 4, !tbaa !47 %217 = load i32, ptr @MMC_RXUNICASTFRAMES_G_LO, align 4, !tbaa !14 %218 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %217) #2 %219 = getelementptr inbounds i8, ptr %0, i64 32 %220 = load i32, ptr %219, align 4, !tbaa !48 %221 = trunc i64 %218 to i32 %222 = add i32 %220, %221 store i32 %222, ptr %219, align 4, !tbaa !48 %223 = load i32, ptr @MMC_RXLENGTHERROR_LO, align 4, !tbaa !14 %224 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %223) #2 %225 = getelementptr inbounds i8, ptr %0, i64 28 %226 = load i32, ptr %225, align 4, !tbaa !49 %227 = trunc i64 %224 to i32 %228 = add i32 %226, %227 store i32 %228, ptr %225, align 4, !tbaa !49 %229 = load i32, ptr @MMC_RXOUTOFRANGETYPE_LO, align 4, !tbaa !14 %230 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %229) #2 %231 = getelementptr inbounds i8, ptr %0, i64 24 %232 = load i32, ptr %231, align 4, !tbaa !50 %233 = trunc i64 %230 to i32 %234 = add i32 %232, %233 store i32 %234, ptr %231, align 4, !tbaa !50 %235 = load i32, ptr @MMC_RXPAUSEFRAMES_LO, align 4, !tbaa !14 %236 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %235) #2 %237 = getelementptr inbounds i8, ptr %0, i64 20 %238 = load i32, ptr %237, align 4, !tbaa !51 %239 = trunc i64 %236 to i32 %240 = add i32 %238, %239 store i32 %240, ptr %237, align 4, !tbaa !51 %241 = load i32, ptr @MMC_RXFIFOOVERFLOW_LO, align 4, !tbaa !14 %242 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %241) #2 %243 = getelementptr inbounds i8, ptr %0, i64 16 %244 = load i32, ptr %243, align 4, !tbaa !52 %245 = trunc i64 %242 to i32 %246 = add i32 %244, %245 store i32 %246, ptr %243, align 4, !tbaa !52 %247 = load i32, ptr @MMC_RXVLANFRAMES_GB_LO, align 4, !tbaa !14 %248 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %247) #2 %249 = getelementptr inbounds i8, ptr %0, i64 12 %250 = load i32, ptr %249, align 4, !tbaa !53 %251 = trunc i64 %248 to i32 %252 = add i32 %250, %251 store i32 %252, ptr %249, align 4, !tbaa !53 %253 = load i32, ptr @MMC_RXWATCHDOGERROR, align 4, !tbaa !14 %254 = tail call i64 @xlgmac_mmc_read(ptr noundef %0, i32 noundef %253) #2 %255 = load i32, ptr %2, align 4, !tbaa !54 %256 = trunc i64 %254 to i32 %257 = add i32 %255, %256 store i32 %257, ptr %2, align 4, !tbaa !54 %258 = load i64, ptr %0, align 8, !tbaa !6 %259 = load i64, ptr @MMC_CR, align 8, !tbaa !13 %260 = add nsw i64 %259, %258 %261 = tail call i32 @readl(i64 noundef %260) #2 %262 = load i32, ptr @MMC_CR_MCF_POS, align 4, !tbaa !14 %263 = load i32, ptr @MMC_CR_MCF_LEN, align 4, !tbaa !14 %264 = tail call i32 @XLGMAC_SET_REG_BITS(i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef 0) #2 %265 = load i64, ptr %0, align 8, !tbaa !6 %266 = load i64, ptr @MMC_CR, align 8, !tbaa !13 %267 = add nsw i64 %266, %265 %268 = tail call i32 @writel(i32 noundef %264, i64 noundef %267) #2 ret void } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @XLGMAC_SET_REG_BITS(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @xlgmac_mmc_read(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"xlgmac_pdata", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"xlgmac_stats", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156} !12 = !{!"int", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!12, !12, i64 0} !15 = !{!11, !12, i64 156} !16 = !{!11, !12, i64 152} !17 = !{!11, !12, i64 112} !18 = !{!11, !12, i64 148} !19 = !{!11, !12, i64 144} !20 = !{!11, !12, i64 140} !21 = !{!11, !12, i64 136} !22 = !{!11, !12, i64 132} !23 = !{!11, !12, i64 128} !24 = !{!11, !12, i64 124} !25 = !{!11, !12, i64 120} !26 = !{!11, !12, i64 116} !27 = !{!11, !12, i64 108} !28 = !{!11, !12, i64 104} !29 = !{!11, !12, i64 100} !30 = !{!11, !12, i64 96} !31 = !{!11, !12, i64 92} !32 = !{!11, !12, i64 88} !33 = !{!11, !12, i64 84} !34 = !{!11, !12, i64 80} !35 = !{!11, !12, i64 76} !36 = !{!11, !12, i64 72} !37 = !{!11, !12, i64 68} !38 = !{!11, !12, i64 64} !39 = !{!11, !12, i64 60} !40 = !{!11, !12, i64 56} !41 = !{!11, !12, i64 52} !42 = !{!11, !12, i64 48} !43 = !{!11, !12, i64 44} !44 = !{!11, !12, i64 40} !45 = !{!11, !12, i64 36} !46 = !{!11, !12, i64 32} !47 = !{!11, !12, i64 28} !48 = !{!11, !12, i64 24} !49 = !{!11, !12, i64 20} !50 = !{!11, !12, i64 16} !51 = !{!11, !12, i64 12} !52 = !{!11, !12, i64 8} !53 = !{!11, !12, i64 4} !54 = !{!11, !12, i64 0}
linux_drivers_net_ethernet_synopsys_extr_dwc-xlgmac-hw.c_xlgmac_read_mmc_stats
; ModuleID = 'AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_virtio_max_dma_size.c' source_filename = "AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_virtio_max_dma_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" @SIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @virtio_max_dma_size(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @SIZE_MAX, align 8, !tbaa !5 %3 = tail call i64 @vring_use_dma_api(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i64 @dma_max_mapping_size(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 %8 = phi i64 [ %6, %5 ], [ %2, %1 ] ret i64 %8 } declare i64 @vring_use_dma_api(ptr noundef) local_unnamed_addr #1 declare i64 @dma_max_mapping_size(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"}
; ModuleID = 'AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_virtio_max_dma_size.c' source_filename = "AnghaBench/linux/drivers/virtio/extr_virtio_ring.c_virtio_max_dma_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIZE_MAX = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @virtio_max_dma_size(ptr noundef %0) local_unnamed_addr #0 { %2 = load i64, ptr @SIZE_MAX, align 8, !tbaa !6 %3 = tail call i64 @vring_use_dma_api(ptr noundef %0) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i64 @dma_max_mapping_size(ptr noundef %0) #2 br label %7 7: ; preds = %5, %1 %8 = phi i64 [ %6, %5 ], [ %2, %1 ] ret i64 %8 } declare i64 @vring_use_dma_api(ptr noundef) local_unnamed_addr #1 declare i64 @dma_max_mapping_size(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_virtio_extr_virtio_ring.c_virtio_max_dma_size
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_read_emulated.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_read_emulated.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @read_emultor = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @emulator_read_emulated], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @emulator_read_emulated(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @emulator_read_write(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull @read_emultor) #2 ret i32 %6 } declare i32 @emulator_read_write(ptr noundef, i64 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/linux/arch/x86/kvm/extr_x86.c_emulator_read_emulated.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_read_emulated.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @read_emultor = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @emulator_read_emulated], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @emulator_read_emulated(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = tail call i32 @emulator_read_write(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef nonnull @read_emultor) #2 ret i32 %6 } declare i32 @emulator_read_write(ptr noundef, i64 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)"}
linux_arch_x86_kvm_extr_x86.c_emulator_read_emulated
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_img_tape.c_IMG_TAPE_SerinStatus.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_img_tape.c_IMG_TAPE_SerinStatus.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i64, ptr, i64, i64 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @IMG_TAPE_SerinStatus(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 5 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %43 6: ; preds = %2 %7 = load i32, ptr %0, align 8, !tbaa !12 %8 = icmp eq i32 %7, 0 br i1 %8, label %43, label %9 9: ; preds = %6 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = icmp slt i32 %1, 29828 br i1 %14, label %25, label %43 15: ; preds = %9 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %17 = load ptr, ptr %16, align 8, !tbaa !14 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %19 = load i64, ptr %18, align 8, !tbaa !15 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = sdiv i32 17897900, %21 %23 = add nsw i32 %22, -1 %24 = icmp sgt i32 %23, %1 br i1 %24, label %25, label %43 25: ; preds = %15, %13 %26 = phi i32 [ 600, %13 ], [ %21, %15 ] %27 = sdiv i32 1789790, %26 %28 = sdiv i32 %1, %27 %29 = add i32 %28, -10 %30 = icmp ult i32 %29, -9 br i1 %30, label %43, label %31 31: ; preds = %25 %32 = icmp eq i32 %28, 9 br i1 %32, label %43, label %33 33: ; preds = %31 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %35 = load ptr, ptr %34, align 8, !tbaa !17 %36 = sext i32 %7 to i64 %37 = getelementptr i32, ptr %35, i64 %36 %38 = getelementptr i32, ptr %37, i64 -1 %39 = load i32, ptr %38, align 4, !tbaa !16 %40 = sub nuw nsw i32 8, %28 %41 = lshr i32 %39, %40 %42 = and i32 %41, 1 br label %43 43: ; preds = %15, %13, %31, %25, %2, %6, %33 %44 = phi i32 [ %42, %33 ], [ 1, %6 ], [ 1, %2 ], [ 1, %25 ], [ 0, %31 ], [ 1, %13 ], [ 1, %15 ] ret i32 %44 } 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, !11, i64 40} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !11, i64 32, !11, 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 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !11, i64 32} !14 = !{!6, !10, i64 8} !15 = !{!6, !11, i64 16} !16 = !{!7, !7, i64 0} !17 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_img_tape.c_IMG_TAPE_SerinStatus.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_img_tape.c_IMG_TAPE_SerinStatus.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define range(i32 0, 2) i32 @IMG_TAPE_SerinStatus(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %43 6: ; preds = %2 %7 = load i32, ptr %0, align 8, !tbaa !13 %8 = icmp eq i32 %7, 0 br i1 %8, label %43, label %9 9: ; preds = %6 %10 = getelementptr inbounds i8, ptr %0, i64 32 %11 = load i64, ptr %10, align 8, !tbaa !14 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = icmp slt i32 %1, 29828 br i1 %14, label %25, label %43 15: ; preds = %9 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load ptr, ptr %16, align 8, !tbaa !15 %18 = getelementptr inbounds i8, ptr %0, i64 16 %19 = load i64, ptr %18, align 8, !tbaa !16 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = sdiv i32 17897900, %21 %23 = add nsw i32 %22, -1 %24 = icmp sgt i32 %23, %1 br i1 %24, label %25, label %43 25: ; preds = %15, %13 %26 = phi i32 [ 600, %13 ], [ %21, %15 ] %27 = sdiv i32 1789790, %26 %28 = sdiv i32 %1, %27 %29 = add i32 %28, -10 %30 = icmp ult i32 %29, -9 br i1 %30, label %43, label %31 31: ; preds = %25 %32 = icmp eq i32 %28, 9 br i1 %32, label %43, label %33 33: ; preds = %31 %34 = getelementptr inbounds i8, ptr %0, i64 24 %35 = load ptr, ptr %34, align 8, !tbaa !18 %36 = sext i32 %7 to i64 %37 = getelementptr i32, ptr %35, i64 %36 %38 = getelementptr i8, ptr %37, i64 -4 %39 = load i32, ptr %38, align 4, !tbaa !17 %40 = sub nuw nsw i32 8, %28 %41 = lshr i32 %39, %40 %42 = and i32 %41, 1 br label %43 43: ; preds = %15, %13, %31, %25, %2, %6, %33 %44 = phi i32 [ %42, %33 ], [ 1, %6 ], [ 1, %2 ], [ 1, %25 ], [ 0, %31 ], [ 1, %13 ], [ 1, %15 ] ret i32 %44 } 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, !12, i64 40} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32, !12, 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 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !12, i64 32} !15 = !{!7, !11, i64 8} !16 = !{!7, !12, i64 16} !17 = !{!8, !8, i64 0} !18 = !{!7, !11, i64 24}
Provenance_Cores_Atari800_atari800-src_extr_img_tape.c_IMG_TAPE_SerinStatus
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3120.c_i_APCI3120_InsnBitsDigitalInput.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3120.c_i_APCI3120_InsnBitsDigitalInput.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @devpriv = dso_local local_unnamed_addr global ptr null, align 8 @APCI3120_RD_STATUS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @i_APCI3120_InsnBitsDigitalInput(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = load ptr, ptr @devpriv, align 8, !tbaa !5 %6 = load i64, ptr %5, align 8, !tbaa !9 %7 = load i64, ptr @APCI3120_RD_STATUS, align 8, !tbaa !12 %8 = add nsw i64 %7, %6 %9 = tail call i64 @inw(i64 noundef %8) #2 %10 = trunc i64 %9 to i32 %11 = lshr i32 %10, 8 %12 = and i32 %11, 15 store i32 %12, ptr %3, align 4, !tbaa !13 %13 = load i32, ptr %2, align 4, !tbaa !15 ret i32 %13 } declare i64 @inw(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, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !7, i64 0} !15 = !{!16, !14, i64 0} !16 = !{!"comedi_insn", !14, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3120.c_i_APCI3120_InsnBitsDigitalInput.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3120.c_i_APCI3120_InsnBitsDigitalInput.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @devpriv = common local_unnamed_addr global ptr null, align 8 @APCI3120_RD_STATUS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @i_APCI3120_InsnBitsDigitalInput(ptr nocapture noundef readnone %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = load ptr, ptr @devpriv, align 8, !tbaa !6 %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = load i64, ptr @APCI3120_RD_STATUS, align 8, !tbaa !13 %8 = add nsw i64 %7, %6 %9 = tail call i64 @inw(i64 noundef %8) #2 %10 = trunc i64 %9 to i32 %11 = lshr i32 %10, 8 %12 = and i32 %11, 15 store i32 %12, ptr %3, align 4, !tbaa !14 %13 = load i32, ptr %2, align 4, !tbaa !16 ret i32 %13 } declare i64 @inw(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, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"comedi_insn", !15, i64 0}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_addi-datahwdrv_apci3120.c_i_APCI3120_InsnBitsDigitalInput
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_linux_joystick.c__glfwInitJoysticks.c' source_filename = "AnghaBench/Craft/deps/glfw/src/extr_linux_joystick.c__glfwInitJoysticks.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [11 x i8] c"/dev/input\00", align 1 @IN_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4 @IN_CLOEXEC = dso_local local_unnamed_addr global i32 0, align 4 @_glfw = dso_local global %struct.TYPE_4__ zeroinitializer, align 4 @GLFW_PLATFORM_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [40 x i8] c"Linux: Failed to initialize inotify: %s\00", align 1 @errno = dso_local local_unnamed_addr global i32 0, align 4 @GL_FALSE = dso_local local_unnamed_addr global i32 0, align 4 @IN_CREATE = dso_local local_unnamed_addr global i32 0, align 4 @IN_ATTRIB = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [58 x i8] c"Linux: Failed to watch for joystick connections in %s: %s\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"^js[0-9]\\+$\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Linux: Failed to compile regex\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c"Linux: Failed to open joystick device directory %s: %s\00", align 1 @GL_TRUE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @_glfwInitJoysticks() local_unnamed_addr #0 { %1 = alloca [20 x i8], align 16 %2 = alloca i32, align 4 %3 = load i32, ptr @IN_NONBLOCK, align 4, !tbaa !5 %4 = load i32, ptr @IN_CLOEXEC, align 4, !tbaa !5 %5 = or i32 %4, %3 %6 = tail call i32 @inotify_init1(i32 noundef %5) #4 store i32 %6, ptr @_glfw, align 4, !tbaa !9 %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5 %10 = load i32, ptr @errno, align 4, !tbaa !5 %11 = tail call i32 @strerror(i32 noundef %10) #4 %12 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %9, ptr noundef nonnull @.str.1, i32 noundef %11) #4 br label %55 13: ; preds = %0 %14 = load i32, ptr @IN_CREATE, align 4, !tbaa !5 %15 = load i32, ptr @IN_ATTRIB, align 4, !tbaa !5 %16 = or i32 %15, %14 %17 = tail call i32 @inotify_add_watch(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef %16) #4 store i32 %17, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 1), align 4, !tbaa !12 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %24 19: ; preds = %13 %20 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5 %21 = load i32, ptr @errno, align 4, !tbaa !5 %22 = tail call i32 @strerror(i32 noundef %21) #4 %23 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %20, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str, i32 noundef %22) #4 br label %24 24: ; preds = %19, %13 %25 = tail call i64 @regcomp(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 2), ptr noundef nonnull @.str.3, i32 noundef 0) #4 %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %24 %28 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5 %29 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %28, ptr noundef nonnull @.str.4) #4 br label %55 30: ; preds = %24 %31 = tail call ptr @opendir(ptr noundef nonnull @.str) %32 = icmp eq ptr %31, null br i1 %32, label %50, label %33 33: ; preds = %30 %34 = tail call ptr @readdir(ptr noundef nonnull %31) #4 %35 = icmp eq ptr %34, null br i1 %35, label %48, label %36 36: ; preds = %33, %45 %37 = phi ptr [ %46, %45 ], [ %34, %33 ] call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %1) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %38 = load ptr, ptr %37, align 8, !tbaa !13 %39 = call i64 @regexec(ptr noundef nonnull getelementptr inbounds (%struct.TYPE_4__, ptr @_glfw, i64 0, i32 0, i32 2), ptr noundef %38, i32 noundef 1, ptr noundef nonnull %2, i32 noundef 0) #4 %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %45, !llvm.loop !16 41: ; preds = %36 %42 = load ptr, ptr %37, align 8, !tbaa !13 %43 = call i32 @snprintf(ptr noundef nonnull %1, i32 noundef 20, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str, ptr noundef %42) #4 %44 = call i32 @openJoystickDevice(ptr noundef nonnull %1) #4 br label %45 45: ; preds = %36, %41 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %1) #4 %46 = call ptr @readdir(ptr noundef nonnull %31) #4 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %36 48: ; preds = %45, %33 %49 = call i32 @closedir(ptr noundef nonnull %31) br label %55 50: ; preds = %30 %51 = load i32, ptr @GLFW_PLATFORM_ERROR, align 4, !tbaa !5 %52 = load i32, ptr @errno, align 4, !tbaa !5 %53 = tail call i32 @strerror(i32 noundef %52) #4 %54 = tail call i32 (i32, ptr, ...) @_glfwInputError(i32 noundef %51, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef %53) #4 br label %55 55: ; preds = %48, %50, %27, %8 %56 = phi ptr [ @GL_FALSE, %8 ], [ @GL_FALSE, %27 ], [ @GL_TRUE, %50 ], [ @GL_TRUE, %48 ] %57 = load i32, ptr %56, align 4, !tbaa !5 ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @inotify_init1(i32 noundef) local_unnamed_addr #2 declare i32 @_glfwInputError(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @strerror(i32 noundef) local_unnamed_addr #2 declare i32 @inotify_add_watch(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @regcomp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noalias noundef ptr @opendir(ptr nocapture noundef readonly) local_unnamed_addr #3 declare ptr @readdir(ptr noundef) local_unnamed_addr #2 declare i64 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @openJoystickDevice(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: nofree nounwind declare noundef i32 @closedir(ptr nocapture noundef) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !12 = !{!10, !6, i64 4} !13 = !{!14, !15, i64 0} !14 = !{!"dirent", !15, i64 0} !15 = !{!"any pointer", !7, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/Craft/deps/glfw/src/extr_linux_joystick.c__glfwInitJoysticks.c' source_filename = "AnghaBench/Craft/deps/glfw/src/extr_linux_joystick.c__glfwInitJoysticks.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 { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32, i32, i32 } @GL_TRUE = common local_unnamed_addr global i32 0, align 4 @GLFW_PLATFORM_ERROR = common local_unnamed_addr global i32 0, align 4 @GL_FALSE = common local_unnamed_addr global i32 0, align 4 @IN_ATTRIB = common local_unnamed_addr global i32 0, align 4 @IN_CLOEXEC = common local_unnamed_addr global i32 0, align 4 @IN_CREATE = common local_unnamed_addr global i32 0, align 4 @IN_NONBLOCK = common local_unnamed_addr global i32 0, align 4 @_glfw = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @errno = 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 @_glfwInitJoysticks() local_unnamed_addr #0 { %1 = load i32, ptr @GL_TRUE, 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"}
Craft_deps_glfw_src_extr_linux_joystick.c__glfwInitJoysticks
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_nic.c_aq_nic_start.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_nic.c_aq_nic_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.aq_nic_s = type { i32, i32, ptr, i32, ptr, %struct.TYPE_8__, i32, ptr, i32, i32, i32, i32, %struct.TYPE_7__ } %struct.TYPE_8__ = type { i32, i64 } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_9__ = type { ptr, ptr, ptr, ptr } @aq_nic_service_task = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @AQ_CFG_POLLING_TIMER_INTERVAL = dso_local local_unnamed_addr global i64 0, align 8 @aq_vec_isr = dso_local local_unnamed_addr global i32 0, align 4 @aq_linkstate_threaded_isr = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @IRQF_ONESHOT = dso_local local_unnamed_addr global i32 0, align 4 @AQ_CFG_IRQ_MASK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @aq_nic_start(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 4 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !14 %5 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 3 %6 = load i32, ptr %5, align 8, !tbaa !16 %7 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 12 %8 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 12, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = load i32, ptr %7, align 8, !tbaa !18 %11 = tail call i32 %4(i32 noundef %6, i32 noundef %9, i32 noundef %10) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %137, label %13 13: ; preds = %1 %14 = load ptr, ptr %2, align 8, !tbaa !5 %15 = getelementptr inbounds %struct.TYPE_9__, ptr %14, i64 0, i32 1 %16 = load ptr, ptr %15, align 8, !tbaa !19 %17 = load i32, ptr %5, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 11 %19 = load i32, ptr %18, align 4, !tbaa !20 %20 = tail call i32 %16(i32 noundef %17, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %137, label %22 22: ; preds = %13 %23 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 7 %24 = load i32, ptr %0, align 8, !tbaa !21 %25 = icmp eq i32 %24, 0 br i1 %25, label %41, label %26 26: ; preds = %22 %27 = load ptr, ptr %23, align 8, !tbaa !22 br label %28 28: ; preds = %26, %34 %29 = phi i64 [ 0, %26 ], [ %35, %34 ] %30 = phi ptr [ %27, %26 ], [ %37, %34 ] %31 = load ptr, ptr %30, align 8, !tbaa !23 %32 = tail call i32 @aq_vec_start(ptr noundef %31) #2 %33 = icmp slt i32 %32, 0 br i1 %33, label %137, label %34 34: ; preds = %28 %35 = add nuw nsw i64 %29, 1 %36 = load ptr, ptr %23, align 8, !tbaa !22 %37 = getelementptr inbounds ptr, ptr %36, i64 %35 %38 = load i32, ptr %0, align 8, !tbaa !21 %39 = zext i32 %38 to i64 %40 = icmp ult i64 %35, %39 br i1 %40, label %28, label %41, !llvm.loop !24 41: ; preds = %34, %22 %42 = load ptr, ptr %2, align 8, !tbaa !5 %43 = getelementptr inbounds %struct.TYPE_9__, ptr %42, i64 0, i32 2 %44 = load ptr, ptr %43, align 8, !tbaa !26 %45 = load i32, ptr %5, align 8, !tbaa !16 %46 = tail call i32 %44(i32 noundef %45) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %137, label %48 48: ; preds = %41 %49 = tail call i32 @aq_nic_update_interrupt_moderation_settings(ptr noundef nonnull %0) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %137 51: ; preds = %48 %52 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 10 %53 = load i32, ptr @aq_nic_service_task, align 4, !tbaa !27 %54 = tail call i32 @INIT_WORK(ptr noundef nonnull %52, i32 noundef %53) #2 %55 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 9 %56 = tail call i32 @timer_setup(ptr noundef nonnull %55, ptr noundef nonnull @aq_nic_service_timer_cb, i32 noundef 0) #2 %57 = tail call i32 @aq_nic_service_timer_cb(ptr noundef nonnull %55) #2 %58 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 5 %59 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 5, i32 1 %60 = load i64, ptr %59, align 8, !tbaa !28 %61 = icmp eq i64 %60, 0 br i1 %61, label %69, label %62 62: ; preds = %51 %63 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 8 %64 = tail call i32 @timer_setup(ptr noundef nonnull %63, ptr noundef nonnull @aq_nic_polling_timer_cb, i32 noundef 0) #2 %65 = load i64, ptr @jiffies, align 8, !tbaa !29 %66 = load i64, ptr @AQ_CFG_POLLING_TIMER_INTERVAL, align 8, !tbaa !29 %67 = add nsw i64 %66, %65 %68 = tail call i32 @mod_timer(ptr noundef nonnull %63, i64 noundef %67) #2 br label %123 69: ; preds = %51 %70 = load i32, ptr %0, align 8, !tbaa !21 %71 = icmp eq i32 %70, 0 br i1 %71, label %93, label %72 72: ; preds = %69 %73 = load ptr, ptr %23, align 8, !tbaa !22 %74 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 2 br label %75 75: ; preds = %72, %86 %76 = phi i64 [ 0, %72 ], [ %87, %86 ] %77 = phi ptr [ %73, %72 ], [ %89, %86 ] %78 = load ptr, ptr %77, align 8, !tbaa !23 %79 = load ptr, ptr %74, align 8, !tbaa !30 %80 = load i32, ptr %79, align 4, !tbaa !31 %81 = load i32, ptr @aq_vec_isr, align 4, !tbaa !27 %82 = tail call i32 @aq_vec_get_affinity_mask(ptr noundef %78) #2 %83 = trunc i64 %76 to i32 %84 = tail call i32 @aq_pci_func_alloc_irq(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %80, i32 noundef %81, ptr noundef %78, i32 noundef %82) #2 %85 = icmp slt i32 %84, 0 br i1 %85, label %137, label %86 86: ; preds = %75 %87 = add nuw nsw i64 %76, 1 %88 = load ptr, ptr %23, align 8, !tbaa !22 %89 = getelementptr inbounds ptr, ptr %88, i64 %87 %90 = load i32, ptr %0, align 8, !tbaa !21 %91 = zext i32 %90 to i64 %92 = icmp ult i64 %87, %91 br i1 %92, label %75, label %93, !llvm.loop !33 93: ; preds = %86, %69 %94 = load i32, ptr %58, align 8, !tbaa !34 %95 = icmp eq i32 %94, 0 br i1 %95, label %115, label %96 96: ; preds = %93 %97 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 6 %98 = load i32, ptr %97, align 8, !tbaa !35 %99 = tail call i32 @pci_irq_vector(i32 noundef %98, i32 noundef %94) #2 %100 = load i32, ptr @aq_linkstate_threaded_isr, align 4, !tbaa !27 %101 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !27 %102 = load i32, ptr @IRQF_ONESHOT, align 4, !tbaa !27 %103 = or i32 %102, %101 %104 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 2 %105 = load ptr, ptr %104, align 8, !tbaa !30 %106 = load i32, ptr %105, align 4, !tbaa !31 %107 = tail call i32 @request_threaded_irq(i32 noundef %99, ptr noundef null, i32 noundef %100, i32 noundef %103, i32 noundef %106, ptr noundef nonnull %0) #2 %108 = icmp slt i32 %107, 0 br i1 %108, label %137, label %109 109: ; preds = %96 %110 = load i32, ptr %58, align 8, !tbaa !34 %111 = shl nuw i32 1, %110 %112 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 1 %113 = load i32, ptr %112, align 4, !tbaa !36 %114 = or i32 %113, %111 store i32 %114, ptr %112, align 4, !tbaa !36 br label %115 115: ; preds = %109, %93 %116 = load ptr, ptr %2, align 8, !tbaa !5 %117 = getelementptr inbounds %struct.TYPE_9__, ptr %116, i64 0, i32 3 %118 = load ptr, ptr %117, align 8, !tbaa !37 %119 = load i32, ptr %5, align 8, !tbaa !16 %120 = load i32, ptr @AQ_CFG_IRQ_MASK, align 4, !tbaa !27 %121 = tail call i32 %118(i32 noundef %119, i32 noundef %120) #2 %122 = icmp slt i32 %121, 0 br i1 %122, label %137, label %123 123: ; preds = %115, %62 %124 = getelementptr inbounds %struct.aq_nic_s, ptr %0, i64 0, i32 2 %125 = load ptr, ptr %124, align 8, !tbaa !30 %126 = load i32, ptr %0, align 8, !tbaa !21 %127 = tail call i32 @netif_set_real_num_tx_queues(ptr noundef %125, i32 noundef %126) #2 %128 = icmp slt i32 %127, 0 br i1 %128, label %137, label %129 129: ; preds = %123 %130 = load ptr, ptr %124, align 8, !tbaa !30 %131 = load i32, ptr %0, align 8, !tbaa !21 %132 = tail call i32 @netif_set_real_num_rx_queues(ptr noundef %130, i32 noundef %131) #2 %133 = icmp slt i32 %132, 0 br i1 %133, label %137, label %134 134: ; preds = %129 %135 = load ptr, ptr %124, align 8, !tbaa !30 %136 = tail call i32 @netif_tx_start_all_queues(ptr noundef %135) #2 br label %137 137: ; preds = %28, %75, %96, %134, %1, %13, %41, %48, %115, %123, %129 %138 = phi i32 [ %11, %1 ], [ %20, %13 ], [ %46, %41 ], [ %49, %48 ], [ %127, %123 ], [ %132, %129 ], [ %132, %134 ], [ %121, %115 ], [ %107, %96 ], [ %84, %75 ], [ %32, %28 ] ret i32 %138 } declare i32 @aq_vec_start(ptr noundef) local_unnamed_addr #1 declare i32 @aq_nic_update_interrupt_moderation_settings(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @timer_setup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aq_nic_service_timer_cb(ptr noundef) #1 declare i32 @aq_nic_polling_timer_cb(ptr noundef) #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @aq_pci_func_alloc_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aq_vec_get_affinity_mask(ptr noundef) local_unnamed_addr #1 declare i32 @pci_irq_vector(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @request_threaded_irq(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_set_real_num_tx_queues(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_set_real_num_rx_queues(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_tx_start_all_queues(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"aq_nic_s", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !13, i64 80} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_8__", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !14 = !{!15, !10, i64 0} !15 = !{!"TYPE_9__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24} !16 = !{!6, !7, i64 16} !17 = !{!6, !7, i64 84} !18 = !{!6, !7, i64 80} !19 = !{!15, !10, i64 8} !20 = !{!6, !7, i64 76} !21 = !{!6, !7, i64 0} !22 = !{!6, !10, i64 56} !23 = !{!10, !10, i64 0} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!15, !10, i64 16} !27 = !{!7, !7, i64 0} !28 = !{!6, !12, i64 40} !29 = !{!12, !12, i64 0} !30 = !{!6, !10, i64 8} !31 = !{!32, !7, i64 0} !32 = !{!"TYPE_10__", !7, i64 0} !33 = distinct !{!33, !25} !34 = !{!6, !7, i64 32} !35 = !{!6, !7, i64 48} !36 = !{!6, !7, i64 4} !37 = !{!15, !10, i64 24}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_nic.c_aq_nic_start.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/aquantia/atlantic/extr_aq_nic.c_aq_nic_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @aq_nic_service_task = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @AQ_CFG_POLLING_TIMER_INTERVAL = common local_unnamed_addr global i64 0, align 8 @aq_vec_isr = common local_unnamed_addr global i32 0, align 4 @aq_linkstate_threaded_isr = common local_unnamed_addr global i32 0, align 4 @IRQF_SHARED = common local_unnamed_addr global i32 0, align 4 @IRQF_ONESHOT = common local_unnamed_addr global i32 0, align 4 @AQ_CFG_IRQ_MASK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @aq_nic_start(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !15 %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i32, ptr %5, align 8, !tbaa !17 %7 = getelementptr inbounds i8, ptr %0, i64 80 %8 = getelementptr inbounds i8, ptr %0, i64 84 %9 = load i32, ptr %8, align 4, !tbaa !18 %10 = load i32, ptr %7, align 8, !tbaa !19 %11 = tail call i32 %4(i32 noundef %6, i32 noundef %9, i32 noundef %10) #2 %12 = icmp slt i32 %11, 0 br i1 %12, label %137, label %13 13: ; preds = %1 %14 = load ptr, ptr %2, align 8, !tbaa !6 %15 = getelementptr inbounds i8, ptr %14, i64 8 %16 = load ptr, ptr %15, align 8, !tbaa !20 %17 = load i32, ptr %5, align 8, !tbaa !17 %18 = getelementptr inbounds i8, ptr %0, i64 76 %19 = load i32, ptr %18, align 4, !tbaa !21 %20 = tail call i32 %16(i32 noundef %17, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %137, label %22 22: ; preds = %13 %23 = getelementptr inbounds i8, ptr %0, i64 56 %24 = load i32, ptr %0, align 8, !tbaa !22 %25 = icmp eq i32 %24, 0 br i1 %25, label %41, label %26 26: ; preds = %22 %27 = load ptr, ptr %23, align 8, !tbaa !23 br label %28 28: ; preds = %26, %34 %29 = phi i64 [ 0, %26 ], [ %35, %34 ] %30 = phi ptr [ %27, %26 ], [ %37, %34 ] %31 = load ptr, ptr %30, align 8, !tbaa !24 %32 = tail call i32 @aq_vec_start(ptr noundef %31) #2 %33 = icmp slt i32 %32, 0 br i1 %33, label %137, label %34 34: ; preds = %28 %35 = add nuw nsw i64 %29, 1 %36 = load ptr, ptr %23, align 8, !tbaa !23 %37 = getelementptr inbounds ptr, ptr %36, i64 %35 %38 = load i32, ptr %0, align 8, !tbaa !22 %39 = zext i32 %38 to i64 %40 = icmp ult i64 %35, %39 br i1 %40, label %28, label %41, !llvm.loop !25 41: ; preds = %34, %22 %42 = load ptr, ptr %2, align 8, !tbaa !6 %43 = getelementptr inbounds i8, ptr %42, i64 16 %44 = load ptr, ptr %43, align 8, !tbaa !27 %45 = load i32, ptr %5, align 8, !tbaa !17 %46 = tail call i32 %44(i32 noundef %45) #2 %47 = icmp slt i32 %46, 0 br i1 %47, label %137, label %48 48: ; preds = %41 %49 = tail call i32 @aq_nic_update_interrupt_moderation_settings(ptr noundef nonnull %0) #2 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %137 51: ; preds = %48 %52 = getelementptr inbounds i8, ptr %0, i64 72 %53 = load i32, ptr @aq_nic_service_task, align 4, !tbaa !28 %54 = tail call i32 @INIT_WORK(ptr noundef nonnull %52, i32 noundef %53) #2 %55 = getelementptr inbounds i8, ptr %0, i64 68 %56 = tail call i32 @timer_setup(ptr noundef nonnull %55, ptr noundef nonnull @aq_nic_service_timer_cb, i32 noundef 0) #2 %57 = tail call i32 @aq_nic_service_timer_cb(ptr noundef nonnull %55) #2 %58 = getelementptr inbounds i8, ptr %0, i64 32 %59 = getelementptr inbounds i8, ptr %0, i64 40 %60 = load i64, ptr %59, align 8, !tbaa !29 %61 = icmp eq i64 %60, 0 br i1 %61, label %69, label %62 62: ; preds = %51 %63 = getelementptr inbounds i8, ptr %0, i64 64 %64 = tail call i32 @timer_setup(ptr noundef nonnull %63, ptr noundef nonnull @aq_nic_polling_timer_cb, i32 noundef 0) #2 %65 = load i64, ptr @jiffies, align 8, !tbaa !30 %66 = load i64, ptr @AQ_CFG_POLLING_TIMER_INTERVAL, align 8, !tbaa !30 %67 = add nsw i64 %66, %65 %68 = tail call i32 @mod_timer(ptr noundef nonnull %63, i64 noundef %67) #2 br label %123 69: ; preds = %51 %70 = load i32, ptr %0, align 8, !tbaa !22 %71 = icmp eq i32 %70, 0 br i1 %71, label %93, label %72 72: ; preds = %69 %73 = load ptr, ptr %23, align 8, !tbaa !23 %74 = getelementptr inbounds i8, ptr %0, i64 8 br label %75 75: ; preds = %72, %86 %76 = phi i64 [ 0, %72 ], [ %87, %86 ] %77 = phi ptr [ %73, %72 ], [ %89, %86 ] %78 = load ptr, ptr %77, align 8, !tbaa !24 %79 = load ptr, ptr %74, align 8, !tbaa !31 %80 = load i32, ptr %79, align 4, !tbaa !32 %81 = load i32, ptr @aq_vec_isr, align 4, !tbaa !28 %82 = tail call i32 @aq_vec_get_affinity_mask(ptr noundef %78) #2 %83 = trunc nuw i64 %76 to i32 %84 = tail call i32 @aq_pci_func_alloc_irq(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %80, i32 noundef %81, ptr noundef %78, i32 noundef %82) #2 %85 = icmp slt i32 %84, 0 br i1 %85, label %137, label %86 86: ; preds = %75 %87 = add nuw nsw i64 %76, 1 %88 = load ptr, ptr %23, align 8, !tbaa !23 %89 = getelementptr inbounds ptr, ptr %88, i64 %87 %90 = load i32, ptr %0, align 8, !tbaa !22 %91 = zext i32 %90 to i64 %92 = icmp ult i64 %87, %91 br i1 %92, label %75, label %93, !llvm.loop !34 93: ; preds = %86, %69 %94 = load i32, ptr %58, align 8, !tbaa !35 %95 = icmp eq i32 %94, 0 br i1 %95, label %115, label %96 96: ; preds = %93 %97 = getelementptr inbounds i8, ptr %0, i64 48 %98 = load i32, ptr %97, align 8, !tbaa !36 %99 = tail call i32 @pci_irq_vector(i32 noundef %98, i32 noundef %94) #2 %100 = load i32, ptr @aq_linkstate_threaded_isr, align 4, !tbaa !28 %101 = load i32, ptr @IRQF_SHARED, align 4, !tbaa !28 %102 = load i32, ptr @IRQF_ONESHOT, align 4, !tbaa !28 %103 = or i32 %102, %101 %104 = getelementptr inbounds i8, ptr %0, i64 8 %105 = load ptr, ptr %104, align 8, !tbaa !31 %106 = load i32, ptr %105, align 4, !tbaa !32 %107 = tail call i32 @request_threaded_irq(i32 noundef %99, ptr noundef null, i32 noundef %100, i32 noundef %103, i32 noundef %106, ptr noundef nonnull %0) #2 %108 = icmp slt i32 %107, 0 br i1 %108, label %137, label %109 109: ; preds = %96 %110 = load i32, ptr %58, align 8, !tbaa !35 %111 = shl nuw i32 1, %110 %112 = getelementptr inbounds i8, ptr %0, i64 4 %113 = load i32, ptr %112, align 4, !tbaa !37 %114 = or i32 %113, %111 store i32 %114, ptr %112, align 4, !tbaa !37 br label %115 115: ; preds = %109, %93 %116 = load ptr, ptr %2, align 8, !tbaa !6 %117 = getelementptr inbounds i8, ptr %116, i64 24 %118 = load ptr, ptr %117, align 8, !tbaa !38 %119 = load i32, ptr %5, align 8, !tbaa !17 %120 = load i32, ptr @AQ_CFG_IRQ_MASK, align 4, !tbaa !28 %121 = tail call i32 %118(i32 noundef %119, i32 noundef %120) #2 %122 = icmp slt i32 %121, 0 br i1 %122, label %137, label %123 123: ; preds = %115, %62 %124 = getelementptr inbounds i8, ptr %0, i64 8 %125 = load ptr, ptr %124, align 8, !tbaa !31 %126 = load i32, ptr %0, align 8, !tbaa !22 %127 = tail call i32 @netif_set_real_num_tx_queues(ptr noundef %125, i32 noundef %126) #2 %128 = icmp slt i32 %127, 0 br i1 %128, label %137, label %129 129: ; preds = %123 %130 = load ptr, ptr %124, align 8, !tbaa !31 %131 = load i32, ptr %0, align 8, !tbaa !22 %132 = tail call i32 @netif_set_real_num_rx_queues(ptr noundef %130, i32 noundef %131) #2 %133 = icmp slt i32 %132, 0 br i1 %133, label %137, label %134 134: ; preds = %129 %135 = load ptr, ptr %124, align 8, !tbaa !31 %136 = tail call i32 @netif_tx_start_all_queues(ptr noundef %135) #2 br label %137 137: ; preds = %28, %75, %96, %134, %1, %13, %41, %48, %115, %123, %129 %138 = phi i32 [ %11, %1 ], [ %20, %13 ], [ %46, %41 ], [ %49, %48 ], [ %127, %123 ], [ %132, %129 ], [ %132, %134 ], [ %121, %115 ], [ %107, %96 ], [ %84, %75 ], [ %32, %28 ] ret i32 %138 } declare i32 @aq_vec_start(ptr noundef) local_unnamed_addr #1 declare i32 @aq_nic_update_interrupt_moderation_settings(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @timer_setup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aq_nic_service_timer_cb(ptr noundef) #1 declare i32 @aq_nic_polling_timer_cb(ptr noundef) #1 declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @aq_pci_func_alloc_irq(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aq_vec_get_affinity_mask(ptr noundef) local_unnamed_addr #1 declare i32 @pci_irq_vector(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @request_threaded_irq(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @netif_set_real_num_tx_queues(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_set_real_num_rx_queues(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netif_tx_start_all_queues(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"aq_nic_s", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !8, i64 48, !11, i64 56, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !14, i64 80} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_8__", !8, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!"TYPE_7__", !8, i64 0, !8, i64 4} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_9__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !17 = !{!7, !8, i64 16} !18 = !{!7, !8, i64 84} !19 = !{!7, !8, i64 80} !20 = !{!16, !11, i64 8} !21 = !{!7, !8, i64 76} !22 = !{!7, !8, i64 0} !23 = !{!7, !11, i64 56} !24 = !{!11, !11, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!16, !11, i64 16} !28 = !{!8, !8, i64 0} !29 = !{!7, !13, i64 40} !30 = !{!13, !13, i64 0} !31 = !{!7, !11, i64 8} !32 = !{!33, !8, i64 0} !33 = !{!"TYPE_10__", !8, i64 0} !34 = distinct !{!34, !26} !35 = !{!7, !8, i64 32} !36 = !{!7, !8, i64 48} !37 = !{!7, !8, i64 4} !38 = !{!16, !11, i64 24}
linux_drivers_net_ethernet_aquantia_atlantic_extr_aq_nic.c_aq_nic_start
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_pandora_bl.c_pandora_backlight_update_status.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_pandora_bl.c_pandora_backlight_update_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.TYPE_2__ = type { i32, i64, i32 } @FB_BLANK_UNBLANK = dso_local local_unnamed_addr global i64 0, align 8 @BL_CORE_FBBLANK = dso_local local_unnamed_addr global i32 0, align 4 @BL_CORE_SUSPENDED = dso_local local_unnamed_addr global i32 0, align 4 @MAX_USER_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @PANDORABL_WAS_OFF = dso_local local_unnamed_addr global i64 0, align 8 @TWL4030_MODULE_INTBR = dso_local local_unnamed_addr global i32 0, align 4 @TWL_INTBR_GPBR1 = dso_local local_unnamed_addr global i32 0, align 4 @PWM0_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @PWM0_CLK_ENABLE = dso_local local_unnamed_addr global i32 0, align 4 @TWL_MODULE_PWM = dso_local local_unnamed_addr global i32 0, align 4 @MAX_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @TWL_PWM0_OFF = dso_local local_unnamed_addr global i32 0, align 4 @MIN_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pandora_backlight_update_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @pandora_backlight_update_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = tail call ptr @bl_get_data(ptr noundef nonnull %0) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = load i64, ptr @FB_BLANK_UNBLANK, align 8, !tbaa !13 %8 = icmp eq i64 %6, %7 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %10 = load i32, ptr %9, align 8, !tbaa !14 %11 = load i32, ptr @BL_CORE_FBBLANK, align 4, !tbaa !15 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @BL_CORE_SUSPENDED, align 4, !tbaa !15 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i1 %13, i1 false %18 = select i1 %17, i1 %8, i1 false %19 = select i1 %18, i32 %3, i32 0 %20 = load i32, ptr @MAX_USER_VALUE, align 4, !tbaa !15 %21 = tail call i32 @llvm.umin.i32(i32 %19, i32 %20) %22 = icmp eq i32 %21, 0 %23 = load i64, ptr %4, align 8, !tbaa !16 %24 = load i64, ptr @PANDORABL_WAS_OFF, align 8, !tbaa !13 %25 = icmp eq i64 %23, %24 br i1 %22, label %26, label %45 26: ; preds = %1 br i1 %25, label %76, label %27 27: ; preds = %26 %28 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %29 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %30 = call i32 @twl_i2c_read_u8(i32 noundef %28, ptr noundef nonnull %2, i32 noundef %29) #4 %31 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !15 %32 = xor i32 %31, -1 %33 = load i32, ptr %2, align 4, !tbaa !15 %34 = and i32 %33, %32 store i32 %34, ptr %2, align 4, !tbaa !15 %35 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %36 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %37 = call i32 @twl_i2c_write_u8(i32 noundef %35, i32 noundef %34, i32 noundef %36) #4 %38 = load i32, ptr @PWM0_CLK_ENABLE, align 4, !tbaa !15 %39 = xor i32 %38, -1 %40 = load i32, ptr %2, align 4, !tbaa !15 %41 = and i32 %40, %39 store i32 %41, ptr %2, align 4, !tbaa !15 %42 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %43 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %44 = call i32 @twl_i2c_write_u8(i32 noundef %42, i32 noundef %41, i32 noundef %43) #4 br label %76 45: ; preds = %1 br i1 %25, label %46, label %70 46: ; preds = %45 %47 = load i32, ptr @TWL_MODULE_PWM, align 4, !tbaa !15 %48 = load i32, ptr @MAX_VALUE, align 4, !tbaa !15 %49 = load i32, ptr @TWL_PWM0_OFF, align 4, !tbaa !15 %50 = tail call i32 @twl_i2c_write_u8(i32 noundef %47, i32 noundef %48, i32 noundef %49) #4 %51 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %52 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %53 = call i32 @twl_i2c_read_u8(i32 noundef %51, ptr noundef nonnull %2, i32 noundef %52) #4 %54 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !15 %55 = xor i32 %54, -1 %56 = load i32, ptr %2, align 4, !tbaa !15 %57 = and i32 %56, %55 %58 = load i32, ptr @PWM0_CLK_ENABLE, align 4, !tbaa !15 %59 = or i32 %58, %57 store i32 %59, ptr %2, align 4, !tbaa !15 %60 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %61 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %62 = call i32 @twl_i2c_write_u8(i32 noundef %60, i32 noundef %59, i32 noundef %61) #4 %63 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !15 %64 = load i32, ptr %2, align 4, !tbaa !15 %65 = or i32 %64, %63 store i32 %65, ptr %2, align 4, !tbaa !15 %66 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !15 %67 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !15 %68 = call i32 @twl_i2c_write_u8(i32 noundef %66, i32 noundef %65, i32 noundef %67) #4 %69 = call i32 @usleep_range(i32 noundef 2000, i32 noundef 10000) #4 br label %70 70: ; preds = %46, %45 %71 = load i32, ptr @TWL_MODULE_PWM, align 4, !tbaa !15 %72 = load i32, ptr @MIN_VALUE, align 4, !tbaa !15 %73 = add nsw i32 %72, %21 %74 = load i32, ptr @TWL_PWM0_OFF, align 4, !tbaa !15 %75 = call i32 @twl_i2c_write_u8(i32 noundef %71, i32 noundef %73, i32 noundef %74) #4 br label %76 76: ; preds = %26, %70, %27 %77 = load i64, ptr @PANDORABL_WAS_OFF, align 8 %78 = select i1 %22, i64 %77, i64 0 store i64 %78, ptr %4, align 8, !tbaa !16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #2 declare i32 @twl_i2c_read_u8(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl_i2c_write_u8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.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, !8, i64 0} !6 = !{!"backlight_device", !7, 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 = !{!"long", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0} !14 = !{!6, !8, i64 16} !15 = !{!8, !8, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"pandora_private", !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/video/backlight/extr_pandora_bl.c_pandora_backlight_update_status.c' source_filename = "AnghaBench/linux/drivers/video/backlight/extr_pandora_bl.c_pandora_backlight_update_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FB_BLANK_UNBLANK = common local_unnamed_addr global i64 0, align 8 @BL_CORE_FBBLANK = common local_unnamed_addr global i32 0, align 4 @BL_CORE_SUSPENDED = common local_unnamed_addr global i32 0, align 4 @MAX_USER_VALUE = common local_unnamed_addr global i32 0, align 4 @PANDORABL_WAS_OFF = common local_unnamed_addr global i64 0, align 8 @TWL4030_MODULE_INTBR = common local_unnamed_addr global i32 0, align 4 @TWL_INTBR_GPBR1 = common local_unnamed_addr global i32 0, align 4 @PWM0_ENABLE = common local_unnamed_addr global i32 0, align 4 @PWM0_CLK_ENABLE = common local_unnamed_addr global i32 0, align 4 @TWL_MODULE_PWM = common local_unnamed_addr global i32 0, align 4 @MAX_VALUE = common local_unnamed_addr global i32 0, align 4 @TWL_PWM0_OFF = common local_unnamed_addr global i32 0, align 4 @MIN_VALUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pandora_backlight_update_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @pandora_backlight_update_status(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = tail call ptr @bl_get_data(ptr noundef nonnull %0) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = load i64, ptr @FB_BLANK_UNBLANK, align 8, !tbaa !14 %8 = icmp eq i64 %6, %7 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i32, ptr %9, align 8, !tbaa !15 %11 = load i32, ptr @BL_CORE_FBBLANK, align 4, !tbaa !16 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 %14 = load i32, ptr @BL_CORE_SUSPENDED, align 4, !tbaa !16 %15 = and i32 %14, %10 %16 = icmp eq i32 %15, 0 %17 = select i1 %16, i1 %13, i1 false %18 = select i1 %17, i1 %8, i1 false %19 = select i1 %18, i32 %3, i32 0 %20 = load i32, ptr @MAX_USER_VALUE, align 4, !tbaa !16 %21 = tail call i32 @llvm.umin.i32(i32 %19, i32 %20) %22 = icmp eq i32 %21, 0 %23 = load i64, ptr %4, align 8, !tbaa !17 %24 = load i64, ptr @PANDORABL_WAS_OFF, align 8, !tbaa !14 %25 = icmp eq i64 %23, %24 br i1 %22, label %26, label %45 26: ; preds = %1 br i1 %25, label %76, label %27 27: ; preds = %26 %28 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %29 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %30 = call i32 @twl_i2c_read_u8(i32 noundef %28, ptr noundef nonnull %2, i32 noundef %29) #4 %31 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !16 %32 = xor i32 %31, -1 %33 = load i32, ptr %2, align 4, !tbaa !16 %34 = and i32 %33, %32 store i32 %34, ptr %2, align 4, !tbaa !16 %35 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %36 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %37 = call i32 @twl_i2c_write_u8(i32 noundef %35, i32 noundef %34, i32 noundef %36) #4 %38 = load i32, ptr @PWM0_CLK_ENABLE, align 4, !tbaa !16 %39 = xor i32 %38, -1 %40 = load i32, ptr %2, align 4, !tbaa !16 %41 = and i32 %40, %39 store i32 %41, ptr %2, align 4, !tbaa !16 %42 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %43 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %44 = call i32 @twl_i2c_write_u8(i32 noundef %42, i32 noundef %41, i32 noundef %43) #4 br label %76 45: ; preds = %1 br i1 %25, label %46, label %70 46: ; preds = %45 %47 = load i32, ptr @TWL_MODULE_PWM, align 4, !tbaa !16 %48 = load i32, ptr @MAX_VALUE, align 4, !tbaa !16 %49 = load i32, ptr @TWL_PWM0_OFF, align 4, !tbaa !16 %50 = tail call i32 @twl_i2c_write_u8(i32 noundef %47, i32 noundef %48, i32 noundef %49) #4 %51 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %52 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %53 = call i32 @twl_i2c_read_u8(i32 noundef %51, ptr noundef nonnull %2, i32 noundef %52) #4 %54 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !16 %55 = xor i32 %54, -1 %56 = load i32, ptr %2, align 4, !tbaa !16 %57 = and i32 %56, %55 %58 = load i32, ptr @PWM0_CLK_ENABLE, align 4, !tbaa !16 %59 = or i32 %58, %57 store i32 %59, ptr %2, align 4, !tbaa !16 %60 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %61 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %62 = call i32 @twl_i2c_write_u8(i32 noundef %60, i32 noundef %59, i32 noundef %61) #4 %63 = load i32, ptr @PWM0_ENABLE, align 4, !tbaa !16 %64 = load i32, ptr %2, align 4, !tbaa !16 %65 = or i32 %64, %63 store i32 %65, ptr %2, align 4, !tbaa !16 %66 = load i32, ptr @TWL4030_MODULE_INTBR, align 4, !tbaa !16 %67 = load i32, ptr @TWL_INTBR_GPBR1, align 4, !tbaa !16 %68 = call i32 @twl_i2c_write_u8(i32 noundef %66, i32 noundef %65, i32 noundef %67) #4 %69 = call i32 @usleep_range(i32 noundef 2000, i32 noundef 10000) #4 br label %70 70: ; preds = %46, %45 %71 = load i32, ptr @TWL_MODULE_PWM, align 4, !tbaa !16 %72 = load i32, ptr @MIN_VALUE, align 4, !tbaa !16 %73 = add nsw i32 %72, %21 %74 = load i32, ptr @TWL_PWM0_OFF, align 4, !tbaa !16 %75 = call i32 @twl_i2c_write_u8(i32 noundef %71, i32 noundef %73, i32 noundef %74) #4 br label %76 76: ; preds = %26, %70, %27 %77 = load i64, ptr @PANDORABL_WAS_OFF, align 8 %78 = select i1 %22, i64 %77, i64 0 store i64 %78, ptr %4, align 8, !tbaa !17 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @bl_get_data(ptr noundef) local_unnamed_addr #2 declare i32 @twl_i2c_read_u8(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @twl_i2c_write_u8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.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, !9, i64 0} !7 = !{!"backlight_device", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8, !9, i64 16} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0} !15 = !{!7, !9, i64 16} !16 = !{!9, !9, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"pandora_private", !12, i64 0}
linux_drivers_video_backlight_extr_pandora_bl.c_pandora_backlight_update_status
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_io_resume.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_io_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" @FLAG_HAS_AMT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_io_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @e1000_io_resume(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = tail call i32 @e1000_init_manageability_pt(ptr noundef %3) #2 %5 = tail call i64 @netif_running(ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @e1000e_up(ptr noundef %3) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 @netif_device_attach(ptr noundef %2) #2 %11 = load i32, ptr %3, align 4, !tbaa !5 %12 = load i32, ptr @FLAG_HAS_AMT, align 4, !tbaa !10 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %9 %16 = tail call i32 @e1000e_get_hw_control(ptr noundef nonnull %3) #2 br label %17 17: ; preds = %15, %9 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_init_manageability_pt(ptr noundef) local_unnamed_addr #1 declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @e1000e_up(ptr noundef) local_unnamed_addr #1 declare i32 @netif_device_attach(ptr noundef) local_unnamed_addr #1 declare i32 @e1000e_get_hw_control(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 = !{!"e1000_adapter", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_io_resume.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_netdev.c_e1000_io_resume.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FLAG_HAS_AMT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @e1000_io_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @e1000_io_resume(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = tail call i32 @e1000_init_manageability_pt(ptr noundef %3) #2 %5 = tail call i64 @netif_running(ptr noundef %2) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = tail call i32 @e1000e_up(ptr noundef %3) #2 br label %9 9: ; preds = %7, %1 %10 = tail call i32 @netif_device_attach(ptr noundef %2) #2 %11 = load i32, ptr %3, align 4, !tbaa !6 %12 = load i32, ptr @FLAG_HAS_AMT, align 4, !tbaa !11 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %9 %16 = tail call i32 @e1000e_get_hw_control(ptr noundef nonnull %3) #2 br label %17 17: ; preds = %15, %9 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @e1000_init_manageability_pt(ptr noundef) local_unnamed_addr #1 declare i64 @netif_running(ptr noundef) local_unnamed_addr #1 declare i32 @e1000e_up(ptr noundef) local_unnamed_addr #1 declare i32 @netif_device_attach(ptr noundef) local_unnamed_addr #1 declare i32 @e1000e_get_hw_control(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 = !{!"e1000_adapter", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_net_ethernet_intel_e1000e_extr_netdev.c_e1000_io_resume
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_write_ivar.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_write_ivar.c" target datalayout = "e-m:e-p270:32:32-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.acpi_pci_devinfo = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @acpi_pci_write_ivar], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @acpi_pci_write_ivar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = tail call ptr @device_get_ivars(i32 noundef %1) #2 switch i32 %2, label %11 [ i32 128, label %6 i32 129, label %9 ] 6: ; preds = %4 %7 = trunc i64 %3 to i32 %8 = getelementptr inbounds %struct.acpi_pci_devinfo, ptr %5, i64 0, i32 1 store i32 %7, ptr %8, align 4, !tbaa !5 br label %13 9: ; preds = %4 %10 = trunc i64 %3 to i32 store i32 %10, ptr %5, align 4, !tbaa !10 br label %13 11: ; preds = %4 %12 = tail call i32 @pci_write_ivar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %13 13: ; preds = %11, %9, %6 %14 = phi i32 [ %12, %11 ], [ 0, %9 ], [ 0, %6 ] ret i32 %14 } declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 declare i32 @pci_write_ivar(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"acpi_pci_devinfo", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_write_ivar.c' source_filename = "AnghaBench/freebsd/sys/dev/acpica/extr_acpi_pci.c_acpi_pci_write_ivar.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 @acpi_pci_write_ivar], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @acpi_pci_write_ivar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = tail call ptr @device_get_ivars(i32 noundef %1) #2 switch i32 %2, label %11 [ i32 128, label %6 i32 129, label %9 ] 6: ; preds = %4 %7 = trunc i64 %3 to i32 %8 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %7, ptr %8, align 4, !tbaa !6 br label %13 9: ; preds = %4 %10 = trunc i64 %3 to i32 store i32 %10, ptr %5, align 4, !tbaa !11 br label %13 11: ; preds = %4 %12 = tail call i32 @pci_write_ivar(i32 noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) #2 br label %13 13: ; preds = %11, %9, %6 %14 = phi i32 [ %12, %11 ], [ 0, %9 ], [ 0, %6 ] ret i32 %14 } declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 declare i32 @pci_write_ivar(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"acpi_pci_devinfo", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
freebsd_sys_dev_acpica_extr_acpi_pci.c_acpi_pci_write_ivar
; ModuleID = 'AnghaBench/freebsd/lib/libc/locale/extr_wctob.c_wctob_l.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_wctob.c_wctob_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MB_LEN_MAX = dso_local local_unnamed_addr global i32 0, align 4 @WEOF = dso_local local_unnamed_addr global i32 0, align 4 @EOF = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @wctob_l(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 store i32 0, ptr %3, align 4, !tbaa !5 %4 = load i32, ptr @MB_LEN_MAX, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = tail call ptr @llvm.stacksave.p0() %7 = alloca i8, i64 %5, align 16 %8 = tail call i32 @FIX_LOCALE(i32 noundef %1) #4 %9 = load i32, ptr @WEOF, align 4, !tbaa !5 %10 = icmp eq i32 %9, %0 br i1 %10, label %16, label %11 11: ; preds = %2 %12 = tail call ptr @XLOCALE_CTYPE(i32 noundef %1) #4 %13 = load ptr, ptr %12, align 8, !tbaa !9 %14 = call i32 %13(ptr noundef nonnull %7, i32 noundef %0, ptr noundef nonnull %3) #4 %15 = icmp eq i32 %14, 1 br i1 %15, label %18, label %16 16: ; preds = %11, %2 %17 = load i32, ptr @EOF, align 4, !tbaa !5 br label %21 18: ; preds = %11 %19 = load i8, ptr %7, align 16, !tbaa !12 %20 = zext i8 %19 to i32 br label %21 21: ; preds = %18, %16 %22 = phi i32 [ %17, %16 ], [ %20, %18 ] call void @llvm.stackrestore.p0(ptr %6) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @FIX_LOCALE(i32 noundef) local_unnamed_addr #3 declare ptr @XLOCALE_CTYPE(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/lib/libc/locale/extr_wctob.c_wctob_l.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_wctob.c_wctob_l.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MB_LEN_MAX = common local_unnamed_addr global i32 0, align 4 @WEOF = common local_unnamed_addr global i32 0, align 4 @EOF = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wctob_l(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 store i32 0, ptr %3, align 4, !tbaa !6 %4 = load i32, ptr @MB_LEN_MAX, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = tail call ptr @llvm.stacksave.p0() %7 = alloca i8, i64 %5, align 1 %8 = tail call i32 @FIX_LOCALE(i32 noundef %1) #4 %9 = load i32, ptr @WEOF, align 4, !tbaa !6 %10 = icmp eq i32 %9, %0 br i1 %10, label %16, label %11 11: ; preds = %2 %12 = tail call ptr @XLOCALE_CTYPE(i32 noundef %1) #4 %13 = load ptr, ptr %12, align 8, !tbaa !10 %14 = call i32 %13(ptr noundef nonnull %7, i32 noundef %0, ptr noundef nonnull %3) #4 %15 = icmp eq i32 %14, 1 br i1 %15, label %18, label %16 16: ; preds = %11, %2 %17 = load i32, ptr @EOF, align 4, !tbaa !6 br label %21 18: ; preds = %11 %19 = load i8, ptr %7, align 1, !tbaa !13 %20 = zext i8 %19 to i32 br label %21 21: ; preds = %18, %16 %22 = phi i32 [ %17, %16 ], [ %20, %18 ] call void @llvm.stackrestore.p0(ptr %6) call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @FIX_LOCALE(i32 noundef) local_unnamed_addr #3 declare ptr @XLOCALE_CTYPE(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!8, !8, i64 0}
freebsd_lib_libc_locale_extr_wctob.c_wctob_l
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_dmabuf.c_udl_dmabuf_kmap.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_dmabuf.c_udl_dmabuf_kmap.c" target datalayout = "e-m:e-p270:32:32-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 @udl_dmabuf_kmap], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noalias noundef ptr @udl_dmabuf_kmap(ptr nocapture readnone %0, i64 %1) #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_dmabuf.c_udl_dmabuf_kmap.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/udl/extr_udl_dmabuf.c_udl_dmabuf_kmap.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 @udl_dmabuf_kmap], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noalias noundef ptr @udl_dmabuf_kmap(ptr nocapture readnone %0, i64 %1) #0 { ret ptr null } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_udl_extr_udl_dmabuf.c_udl_dmabuf_kmap
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_mmode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_mmode.c" target datalayout = "e-m:e-p270:32:32-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 @mite_csigr_mmode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mite_csigr_mmode(i32 noundef %0) #0 { %2 = lshr i32 %0, 8 %3 = and i32 %2, 3 ret i32 %3 } 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/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_mmode.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_csigr_mmode.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 @mite_csigr_mmode], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef range(i32 0, 4) i32 @mite_csigr_mmode(i32 noundef %0) #0 { %2 = lshr i32 %0, 8 %3 = and i32 %2, 3 ret i32 %3 } 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)"}
fastsocket_kernel_drivers_staging_comedi_drivers_extr_mite.h_mite_csigr_mmode
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_cifsacl.c_set_chmod_dacl.c' source_filename = "AnghaBench/linux/fs/cifs/extr_cifsacl.c_set_chmod_dacl.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.cifs_sid = type { i32 } %struct.cifs_acl = type { ptr, ptr } @ACCESS_ALLOWED = dso_local local_unnamed_addr global i32 0, align 4 @NUM_AUTHS = dso_local local_unnamed_addr global i32 0, align 4 @sid_unix_NFS_mode = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @S_IRWXU = dso_local local_unnamed_addr global i32 0, align 4 @S_IRWXG = dso_local local_unnamed_addr global i32 0, align 4 @sid_everyone = dso_local global %struct.cifs_sid zeroinitializer, align 4 @S_IRWXO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_chmod_dacl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @set_chmod_dacl(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = icmp eq i32 %4, 0 br i1 %7, label %45, label %8 8: ; preds = %5 %9 = load i32, ptr @ACCESS_ALLOWED, align 4, !tbaa !5 %10 = getelementptr inbounds i8, ptr %0, i64 64 store i32 %9, ptr %10, align 8, !tbaa !9 store i32 0, ptr %6, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %0, i64 56 store i64 0, ptr %11, align 8, !tbaa !15 %12 = getelementptr inbounds i8, ptr %0, i64 32 store i32 3, ptr %12, align 8, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 36 store i32 1, ptr %13, align 4, !tbaa !17 %14 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !5 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %29 16: ; preds = %8 %17 = load ptr, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @sid_unix_NFS_mode, i64 0, i32 1), align 8, !tbaa !18 %18 = getelementptr inbounds i8, ptr %0, i64 48 %19 = load ptr, ptr %18, align 8, !tbaa !20 br label %20 20: ; preds = %16, %20 %21 = phi i64 [ 0, %16 ], [ %25, %20 ] %22 = getelementptr inbounds i32, ptr %17, i64 %21 %23 = load i32, ptr %22, align 4, !tbaa !5 %24 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %23, ptr %24, align 4, !tbaa !5 %25 = add nuw nsw i64 %21, 1 %26 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !5 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %25, %27 br i1 %28, label %20, label %29, !llvm.loop !21 29: ; preds = %20, %8 %30 = load ptr, ptr @sid_unix_NFS_mode, align 8, !tbaa !23 %31 = load ptr, ptr %30, align 8, !tbaa !24 %32 = getelementptr inbounds i8, ptr %0, i64 40 %33 = load ptr, ptr %32, align 8, !tbaa !25 store ptr %31, ptr %33, align 8, !tbaa !24 %34 = load ptr, ptr @sid_unix_NFS_mode, align 8, !tbaa !23 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8, !tbaa !24 %37 = load ptr, ptr %32, align 8, !tbaa !25 %38 = getelementptr inbounds ptr, ptr %37, i64 1 store ptr %36, ptr %38, align 8, !tbaa !24 %39 = and i32 %3, 4095 %40 = tail call ptr @cpu_to_le32(i32 noundef %39) #2 %41 = load ptr, ptr %32, align 8, !tbaa !25 %42 = getelementptr inbounds ptr, ptr %41, i64 2 store ptr %40, ptr %42, align 8, !tbaa !24 %43 = tail call ptr @cpu_to_le16(i32 noundef 28) #2 %44 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %43, ptr %44, align 8, !tbaa !26 br label %45 45: ; preds = %29, %5 %46 = phi i32 [ 4, %29 ], [ 3, %5 ] %47 = phi i64 [ 28, %29 ], [ 0, %5 ] %48 = getelementptr inbounds i8, ptr %6, i64 %47 %49 = load i32, ptr @S_IRWXU, align 4, !tbaa !5 %50 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %48, ptr noundef %1, i32 noundef %3, i32 noundef %49) #2 %51 = add nsw i64 %50, %47 %52 = shl i64 %51, 32 %53 = ashr exact i64 %52, 32 %54 = getelementptr inbounds i8, ptr %6, i64 %53 %55 = load i32, ptr @S_IRWXG, align 4, !tbaa !5 %56 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %54, ptr noundef %2, i32 noundef %3, i32 noundef %55) #2 %57 = add i64 %56, %51 %58 = shl i64 %57, 32 %59 = ashr exact i64 %58, 32 %60 = getelementptr inbounds i8, ptr %6, i64 %59 %61 = load i32, ptr @S_IRWXO, align 4, !tbaa !5 %62 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %60, ptr noundef nonnull @sid_everyone, i32 noundef %3, i32 noundef %61) #2 %63 = add i64 %62, %57 %64 = tail call ptr @cpu_to_le32(i32 noundef %46) #2 %65 = getelementptr inbounds %struct.cifs_acl, ptr %0, i64 0, i32 1 store ptr %64, ptr %65, align 8, !tbaa !27 %66 = trunc i64 %63 to i32 %67 = add i32 %66, 16 %68 = tail call ptr @cpu_to_le16(i32 noundef %67) #2 store ptr %68, ptr %0, align 8, !tbaa !29 ret i32 0 } declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i64 @fill_ace_for_sid(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"} !9 = !{!10, !6, i64 48} !10 = !{!"cifs_ace", !6, i64 0, !11, i64 8, !12, i64 16, !13, i64 40, !6, i64 48} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16} !13 = !{!"long", !7, i64 0} !14 = !{!10, !6, i64 0} !15 = !{!10, !13, i64 40} !16 = !{!10, !6, i64 16} !17 = !{!10, !6, i64 20} !18 = !{!19, !11, i64 8} !19 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !20 = !{!10, !11, i64 32} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!19, !11, i64 0} !24 = !{!11, !11, i64 0} !25 = !{!10, !11, i64 24} !26 = !{!10, !11, i64 8} !27 = !{!28, !11, i64 8} !28 = !{!"cifs_acl", !11, i64 0, !11, i64 8} !29 = !{!28, !11, i64 0}
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_cifsacl.c_set_chmod_dacl.c' source_filename = "AnghaBench/linux/fs/cifs/extr_cifsacl.c_set_chmod_dacl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr, ptr } %struct.cifs_sid = type { i32 } @ACCESS_ALLOWED = common local_unnamed_addr global i32 0, align 4 @NUM_AUTHS = common local_unnamed_addr global i32 0, align 4 @sid_unix_NFS_mode = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @S_IRWXU = common local_unnamed_addr global i32 0, align 4 @S_IRWXG = common local_unnamed_addr global i32 0, align 4 @sid_everyone = common global %struct.cifs_sid zeroinitializer, align 4 @S_IRWXO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_chmod_dacl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @set_chmod_dacl(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 16 %7 = icmp eq i32 %4, 0 br i1 %7, label %44, label %8 8: ; preds = %5 %9 = load i32, ptr @ACCESS_ALLOWED, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 64 store i32 %9, ptr %10, align 8, !tbaa !10 store i32 0, ptr %6, align 8, !tbaa !15 %11 = getelementptr inbounds i8, ptr %0, i64 56 store i64 0, ptr %11, align 8, !tbaa !16 %12 = getelementptr inbounds i8, ptr %0, i64 32 store <2 x i32> <i32 3, i32 1>, ptr %12, align 8, !tbaa !6 %13 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !6 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %28 15: ; preds = %8 %16 = load ptr, ptr getelementptr inbounds (i8, ptr @sid_unix_NFS_mode, i64 8), align 8, !tbaa !17 %17 = getelementptr inbounds i8, ptr %0, i64 48 %18 = load ptr, ptr %17, align 8, !tbaa !19 br label %19 19: ; preds = %15, %19 %20 = phi i64 [ 0, %15 ], [ %24, %19 ] %21 = getelementptr inbounds i32, ptr %16, i64 %20 %22 = load i32, ptr %21, align 4, !tbaa !6 %23 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %22, ptr %23, align 4, !tbaa !6 %24 = add nuw nsw i64 %20, 1 %25 = load i32, ptr @NUM_AUTHS, align 4, !tbaa !6 %26 = sext i32 %25 to i64 %27 = icmp slt i64 %24, %26 br i1 %27, label %19, label %28, !llvm.loop !20 28: ; preds = %19, %8 %29 = load ptr, ptr @sid_unix_NFS_mode, align 8, !tbaa !22 %30 = load ptr, ptr %29, align 8, !tbaa !23 %31 = getelementptr inbounds i8, ptr %0, i64 40 %32 = load ptr, ptr %31, align 8, !tbaa !24 store ptr %30, ptr %32, align 8, !tbaa !23 %33 = load ptr, ptr @sid_unix_NFS_mode, align 8, !tbaa !22 %34 = getelementptr inbounds i8, ptr %33, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !23 %36 = load ptr, ptr %31, align 8, !tbaa !24 %37 = getelementptr inbounds i8, ptr %36, i64 8 store ptr %35, ptr %37, align 8, !tbaa !23 %38 = and i32 %3, 4095 %39 = tail call ptr @cpu_to_le32(i32 noundef %38) #2 %40 = load ptr, ptr %31, align 8, !tbaa !24 %41 = getelementptr inbounds i8, ptr %40, i64 16 store ptr %39, ptr %41, align 8, !tbaa !23 %42 = tail call ptr @cpu_to_le16(i32 noundef 28) #2 %43 = getelementptr inbounds i8, ptr %0, i64 24 store ptr %42, ptr %43, align 8, !tbaa !25 br label %44 44: ; preds = %28, %5 %45 = phi i32 [ 4, %28 ], [ 3, %5 ] %46 = phi i64 [ 28, %28 ], [ 0, %5 ] %47 = getelementptr inbounds i8, ptr %6, i64 %46 %48 = load i32, ptr @S_IRWXU, align 4, !tbaa !6 %49 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %47, ptr noundef %1, i32 noundef %3, i32 noundef %48) #2 %50 = add nsw i64 %49, %46 %51 = shl i64 %50, 32 %52 = ashr exact i64 %51, 32 %53 = getelementptr inbounds i8, ptr %6, i64 %52 %54 = load i32, ptr @S_IRWXG, align 4, !tbaa !6 %55 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %53, ptr noundef %2, i32 noundef %3, i32 noundef %54) #2 %56 = add i64 %55, %50 %57 = shl i64 %56, 32 %58 = ashr exact i64 %57, 32 %59 = getelementptr inbounds i8, ptr %6, i64 %58 %60 = load i32, ptr @S_IRWXO, align 4, !tbaa !6 %61 = tail call i64 @fill_ace_for_sid(ptr noundef nonnull %59, ptr noundef nonnull @sid_everyone, i32 noundef %3, i32 noundef %60) #2 %62 = add i64 %61, %56 %63 = tail call ptr @cpu_to_le32(i32 noundef %45) #2 %64 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %63, ptr %64, align 8, !tbaa !26 %65 = trunc i64 %62 to i32 %66 = add i32 %65, 16 %67 = tail call ptr @cpu_to_le16(i32 noundef %66) #2 store ptr %67, ptr %0, align 8, !tbaa !28 ret i32 0 } declare ptr @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare ptr @cpu_to_le16(i32 noundef) local_unnamed_addr #1 declare i64 @fill_ace_for_sid(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"} !10 = !{!11, !7, i64 48} !11 = !{!"cifs_ace", !7, i64 0, !12, i64 8, !13, i64 16, !14, i64 40, !7, i64 48} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!11, !7, i64 0} !16 = !{!11, !14, i64 40} !17 = !{!18, !12, i64 8} !18 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !19 = !{!11, !12, i64 32} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!18, !12, i64 0} !23 = !{!12, !12, i64 0} !24 = !{!11, !12, i64 24} !25 = !{!11, !12, i64 8} !26 = !{!27, !12, i64 8} !27 = !{!"cifs_acl", !12, i64 0, !12, i64 8} !28 = !{!27, !12, i64 0}
linux_fs_cifs_extr_cifsacl.c_set_chmod_dacl
; ModuleID = 'AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_ctx.c_smb_ctx_init.c' source_filename = "AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_ctx.c_smb_ctx_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.smb_ctx = type { i32, i32, i32, ptr, i32, %struct.TYPE_4__, %struct.TYPE_3__, i32, i32 } %struct.TYPE_4__ = type { ptr, ptr, ptr, ptr, ptr } %struct.TYPE_3__ = type { i32, i32, ptr, ptr, ptr, ptr, ptr } @SMBL_NONE = dso_local local_unnamed_addr global i32 0, align 4 @SMB_TCP_PORT = dso_local local_unnamed_addr global i32 0, align 4 @SMBVOPT_CREATE = dso_local local_unnamed_addr global ptr null, align 8 @SMBM_ANY_OWNER = dso_local local_unnamed_addr global ptr null, align 8 @SMBM_ANY_GROUP = dso_local local_unnamed_addr global ptr null, align 8 @SMBM_EXEC = dso_local local_unnamed_addr global ptr null, align 8 @SMBM_DEFAULT = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c":E:L:U:\00", align 1 @cf_optarg = dso_local local_unnamed_addr global ptr null, align 8 @cf_optreset = dso_local local_unnamed_addr global i32 0, align 4 @cf_optind = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @smb_ctx_init(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @bzero(ptr noundef %0, i32 noundef 128) #3 %9 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 4 %10 = tail call i32 @nb_ctx_create(ptr noundef nonnull %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %90 12: ; preds = %6 store i32 -1, ptr %0, align 8, !tbaa !5 %13 = load i32, ptr @SMBL_NONE, align 4, !tbaa !13 %14 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 8 store i32 %13, ptr %14, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 1 store i32 %3, ptr %15, align 4, !tbaa !15 %16 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 2 store i32 %4, ptr %16, align 8, !tbaa !16 %17 = load i32, ptr @SMB_TCP_PORT, align 4, !tbaa !13 %18 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 7 store i32 %17, ptr %18, align 8, !tbaa !17 %19 = load ptr, ptr @SMBVOPT_CREATE, align 8, !tbaa !18 %20 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6 %21 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 6 store ptr %19, ptr %21, align 8, !tbaa !19 store i32 15, ptr %20, align 8, !tbaa !20 %22 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 1 store i32 4, ptr %22, align 4, !tbaa !21 %23 = load ptr, ptr @SMBM_ANY_OWNER, align 8, !tbaa !18 %24 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 5 store ptr %23, ptr %24, align 8, !tbaa !22 %25 = load ptr, ptr @SMBM_ANY_GROUP, align 8, !tbaa !18 %26 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 4 store ptr %25, ptr %26, align 8, !tbaa !23 %27 = load ptr, ptr @SMBM_EXEC, align 8, !tbaa !18 %28 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 3 store ptr %27, ptr %28, align 8, !tbaa !24 %29 = load ptr, ptr @SMBM_DEFAULT, align 8, !tbaa !18 %30 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 6, i32 2 store ptr %29, ptr %30, align 8, !tbaa !25 %31 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 5 %32 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 5, i32 4 store ptr %19, ptr %32, align 8, !tbaa !26 %33 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 5, i32 1 %34 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 5, i32 3 store ptr %27, ptr %34, align 8, !tbaa !27 %35 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 5, i32 2 store ptr %29, ptr %35, align 8, !tbaa !28 store ptr %23, ptr %33, align 8, !tbaa !29 store ptr %25, ptr %31, align 8, !tbaa !30 %36 = load i32, ptr %9, align 8, !tbaa !31 %37 = tail call i32 @nb_ctx_setscope(i32 noundef %36, ptr noundef nonnull @.str) #3 %38 = tail call i64 (...) @geteuid() #3 %39 = tail call ptr @getpwuid(i64 noundef %38) #3 %40 = icmp eq ptr %39, null br i1 %40, label %45, label %41 41: ; preds = %12 %42 = load ptr, ptr %39, align 8, !tbaa !32 %43 = tail call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef %42) #3 %44 = tail call i32 (...) @endpwent() #3 br label %49 45: ; preds = %12 %46 = icmp eq i64 %38, 0 br i1 %46, label %47, label %90 47: ; preds = %45 %48 = tail call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 br label %49 49: ; preds = %47, %41 %50 = icmp eq ptr %2, null br i1 %50, label %90, label %51 51: ; preds = %49 %52 = icmp sgt i32 %1, 1 br i1 %52, label %53, label %70 53: ; preds = %51 %54 = zext nneg i32 %1 to i64 br label %58 55: ; preds = %58 %56 = add nuw nsw i64 %59, 1 %57 = icmp eq i64 %56, %54 br i1 %57, label %70, label %58, !llvm.loop !34 58: ; preds = %53, %55 %59 = phi i64 [ 1, %53 ], [ %56, %55 ] %60 = getelementptr inbounds ptr, ptr %2, i64 %59 %61 = load ptr, ptr %60, align 8, !tbaa !18 %62 = tail call i64 @strncmp(ptr noundef %61, ptr noundef nonnull @.str.2, i32 noundef 2) #3 %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %55 64: ; preds = %58 store ptr %61, ptr %7, align 8, !tbaa !18 %65 = call i32 @smb_ctx_parseunc(ptr noundef nonnull %0, ptr noundef %61, i32 noundef %5, ptr noundef nonnull %7) #3 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %90 67: ; preds = %64 %68 = load ptr, ptr %7, align 8, !tbaa !18 %69 = getelementptr inbounds %struct.smb_ctx, ptr %0, i64 0, i32 3 store ptr %68, ptr %69, align 8, !tbaa !36 br label %72 70: ; preds = %55, %51 %71 = phi ptr [ undef, %51 ], [ %61, %55 ] store ptr %71, ptr %7, align 8, !tbaa !18 br label %72 72: ; preds = %70, %67 br label %73 73: ; preds = %72, %85 %74 = call i32 @cf_getopt(i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #3 %75 = icmp eq i32 %74, -1 br i1 %75, label %88, label %76 76: ; preds = %73 %77 = load ptr, ptr @cf_optarg, align 8, !tbaa !18 switch i32 %74, label %85 [ i32 69, label %78 i32 76, label %81 i32 85, label %83 ] 78: ; preds = %76 %79 = call i32 @smb_ctx_setcharset(ptr noundef nonnull %0, ptr noundef %77) #3 %80 = icmp eq i32 %79, 0 br i1 %80, label %85, label %90 81: ; preds = %76 %82 = call i32 @nls_setlocale(ptr noundef %77) #3 br label %85 83: ; preds = %76 %84 = call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef %77) #3 br label %85 85: ; preds = %81, %78, %76, %83 %86 = phi i32 [ 0, %76 ], [ %84, %83 ], [ %82, %81 ], [ 0, %78 ] %87 = icmp eq i32 %86, 0 br i1 %87, label %73, label %88, !llvm.loop !37 88: ; preds = %85, %73 %89 = phi i32 [ %86, %85 ], [ 0, %73 ] store i32 1, ptr @cf_optreset, align 4, !tbaa !13 store i32 1, ptr @cf_optind, align 4, !tbaa !13 br label %90 90: ; preds = %78, %64, %49, %45, %6, %88 %91 = phi i32 [ %89, %88 ], [ %10, %6 ], [ 0, %45 ], [ 0, %49 ], [ %65, %64 ], [ %79, %78 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %91 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nb_ctx_create(ptr noundef) local_unnamed_addr #2 declare i32 @nb_ctx_setscope(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @geteuid(...) local_unnamed_addr #2 declare ptr @getpwuid(i64 noundef) local_unnamed_addr #2 declare i32 @smb_ctx_setuser(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @endpwent(...) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smb_ctx_parseunc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cf_getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @smb_ctx_setcharset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nls_setlocale(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 = !{!"smb_ctx", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !12, i64 72, !7, i64 120, !7, i64 124} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"TYPE_4__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32} !12 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 124} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 8} !17 = !{!6, !7, i64 120} !18 = !{!10, !10, i64 0} !19 = !{!6, !10, i64 112} !20 = !{!6, !7, i64 72} !21 = !{!6, !7, i64 76} !22 = !{!6, !10, i64 104} !23 = !{!6, !10, i64 96} !24 = !{!6, !10, i64 88} !25 = !{!6, !10, i64 80} !26 = !{!6, !10, i64 64} !27 = !{!6, !10, i64 56} !28 = !{!6, !10, i64 48} !29 = !{!6, !10, i64 40} !30 = !{!6, !10, i64 32} !31 = !{!6, !7, i64 24} !32 = !{!33, !10, i64 0} !33 = !{!"passwd", !10, i64 0} !34 = distinct !{!34, !35} !35 = !{!"llvm.loop.mustprogress"} !36 = !{!6, !10, i64 16} !37 = distinct !{!37, !35}
; ModuleID = 'AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_ctx.c_smb_ctx_init.c' source_filename = "AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_ctx.c_smb_ctx_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SMBL_NONE = common local_unnamed_addr global i32 0, align 4 @SMB_TCP_PORT = common local_unnamed_addr global i32 0, align 4 @SMBVOPT_CREATE = common local_unnamed_addr global ptr null, align 8 @SMBM_ANY_OWNER = common local_unnamed_addr global ptr null, align 8 @SMBM_ANY_GROUP = common local_unnamed_addr global ptr null, align 8 @SMBM_EXEC = common local_unnamed_addr global ptr null, align 8 @SMBM_DEFAULT = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"//\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c":E:L:U:\00", align 1 @cf_optarg = common local_unnamed_addr global ptr null, align 8 @cf_optreset = common local_unnamed_addr global i32 0, align 4 @cf_optind = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @smb_ctx_init(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 %8 = tail call i32 @bzero(ptr noundef %0, i32 noundef 128) #3 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = tail call i32 @nb_ctx_create(ptr noundef nonnull %9) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %89 12: ; preds = %6 store i32 -1, ptr %0, align 8, !tbaa !6 %13 = load i32, ptr @SMBL_NONE, align 4, !tbaa !14 %14 = getelementptr inbounds i8, ptr %0, i64 124 store i32 %13, ptr %14, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %15, align 4, !tbaa !16 %16 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %4, ptr %16, align 8, !tbaa !17 %17 = load i32, ptr @SMB_TCP_PORT, align 4, !tbaa !14 %18 = getelementptr inbounds i8, ptr %0, i64 120 store i32 %17, ptr %18, align 8, !tbaa !18 %19 = load ptr, ptr @SMBVOPT_CREATE, align 8, !tbaa !19 %20 = getelementptr inbounds i8, ptr %0, i64 72 %21 = getelementptr inbounds i8, ptr %0, i64 112 store ptr %19, ptr %21, align 8, !tbaa !20 store <2 x i32> <i32 15, i32 4>, ptr %20, align 8, !tbaa !14 %22 = load ptr, ptr @SMBM_ANY_OWNER, align 8, !tbaa !19 %23 = getelementptr inbounds i8, ptr %0, i64 104 store ptr %22, ptr %23, align 8, !tbaa !21 %24 = load ptr, ptr @SMBM_ANY_GROUP, align 8, !tbaa !19 %25 = getelementptr inbounds i8, ptr %0, i64 96 store ptr %24, ptr %25, align 8, !tbaa !22 %26 = load ptr, ptr @SMBM_EXEC, align 8, !tbaa !19 %27 = getelementptr inbounds i8, ptr %0, i64 88 store ptr %26, ptr %27, align 8, !tbaa !23 %28 = load ptr, ptr @SMBM_DEFAULT, align 8, !tbaa !19 %29 = getelementptr inbounds i8, ptr %0, i64 80 store ptr %28, ptr %29, align 8, !tbaa !24 %30 = getelementptr inbounds i8, ptr %0, i64 32 %31 = getelementptr inbounds i8, ptr %0, i64 64 store ptr %19, ptr %31, align 8, !tbaa !25 %32 = getelementptr inbounds i8, ptr %0, i64 40 %33 = getelementptr inbounds i8, ptr %0, i64 56 store ptr %26, ptr %33, align 8, !tbaa !26 %34 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %28, ptr %34, align 8, !tbaa !27 store ptr %22, ptr %32, align 8, !tbaa !28 store ptr %24, ptr %30, align 8, !tbaa !29 %35 = load i32, ptr %9, align 8, !tbaa !30 %36 = tail call i32 @nb_ctx_setscope(i32 noundef %35, ptr noundef nonnull @.str) #3 %37 = tail call i64 @geteuid() #3 %38 = tail call ptr @getpwuid(i64 noundef %37) #3 %39 = icmp eq ptr %38, null br i1 %39, label %44, label %40 40: ; preds = %12 %41 = load ptr, ptr %38, align 8, !tbaa !31 %42 = tail call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef %41) #3 %43 = tail call i32 @endpwent() #3 br label %48 44: ; preds = %12 %45 = icmp eq i64 %37, 0 br i1 %45, label %46, label %89 46: ; preds = %44 %47 = tail call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #3 br label %48 48: ; preds = %46, %40 %49 = icmp eq ptr %2, null br i1 %49, label %89, label %50 50: ; preds = %48 %51 = icmp sgt i32 %1, 1 br i1 %51, label %52, label %69 52: ; preds = %50 %53 = zext nneg i32 %1 to i64 br label %57 54: ; preds = %57 %55 = add nuw nsw i64 %58, 1 %56 = icmp eq i64 %55, %53 br i1 %56, label %69, label %57, !llvm.loop !33 57: ; preds = %52, %54 %58 = phi i64 [ 1, %52 ], [ %55, %54 ] %59 = getelementptr inbounds ptr, ptr %2, i64 %58 %60 = load ptr, ptr %59, align 8, !tbaa !19 %61 = tail call i64 @strncmp(ptr noundef %60, ptr noundef nonnull @.str.2, i32 noundef 2) #3 %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %54 63: ; preds = %57 store ptr %60, ptr %7, align 8, !tbaa !19 %64 = call i32 @smb_ctx_parseunc(ptr noundef nonnull %0, ptr noundef %60, i32 noundef %5, ptr noundef nonnull %7) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %89 66: ; preds = %63 %67 = load ptr, ptr %7, align 8, !tbaa !19 %68 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %67, ptr %68, align 8, !tbaa !35 br label %71 69: ; preds = %54, %50 %70 = phi ptr [ undef, %50 ], [ %60, %54 ] store ptr %70, ptr %7, align 8, !tbaa !19 br label %71 71: ; preds = %69, %66 br label %72 72: ; preds = %71, %84 %73 = call i32 @cf_getopt(i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #3 %74 = icmp eq i32 %73, -1 br i1 %74, label %87, label %75 75: ; preds = %72 %76 = load ptr, ptr @cf_optarg, align 8, !tbaa !19 switch i32 %73, label %84 [ i32 69, label %77 i32 76, label %80 i32 85, label %82 ] 77: ; preds = %75 %78 = call i32 @smb_ctx_setcharset(ptr noundef nonnull %0, ptr noundef %76) #3 %79 = icmp eq i32 %78, 0 br i1 %79, label %84, label %89 80: ; preds = %75 %81 = call i32 @nls_setlocale(ptr noundef %76) #3 br label %84 82: ; preds = %75 %83 = call i32 @smb_ctx_setuser(ptr noundef nonnull %0, ptr noundef %76) #3 br label %84 84: ; preds = %80, %77, %75, %82 %85 = phi i32 [ 0, %75 ], [ %83, %82 ], [ %81, %80 ], [ 0, %77 ] %86 = icmp eq i32 %85, 0 br i1 %86, label %72, label %87, !llvm.loop !36 87: ; preds = %84, %72 %88 = phi i32 [ %85, %84 ], [ 0, %72 ] store i32 1, ptr @cf_optreset, align 4, !tbaa !14 store i32 1, ptr @cf_optind, align 4, !tbaa !14 br label %89 89: ; preds = %77, %63, %48, %44, %6, %87 %90 = phi i32 [ %88, %87 ], [ %10, %6 ], [ 0, %44 ], [ 0, %48 ], [ %64, %63 ], [ %78, %77 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret i32 %90 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @nb_ctx_create(ptr noundef) local_unnamed_addr #2 declare i32 @nb_ctx_setscope(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @geteuid(...) local_unnamed_addr #2 declare ptr @getpwuid(i64 noundef) local_unnamed_addr #2 declare i32 @smb_ctx_setuser(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @endpwent(...) local_unnamed_addr #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smb_ctx_parseunc(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cf_getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @smb_ctx_setcharset(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @nls_setlocale(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 = !{!"smb_ctx", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !13, i64 72, !8, i64 120, !8, i64 124} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"TYPE_4__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !13 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 124} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 8} !18 = !{!7, !8, i64 120} !19 = !{!11, !11, i64 0} !20 = !{!7, !11, i64 112} !21 = !{!7, !11, i64 104} !22 = !{!7, !11, i64 96} !23 = !{!7, !11, i64 88} !24 = !{!7, !11, i64 80} !25 = !{!7, !11, i64 64} !26 = !{!7, !11, i64 56} !27 = !{!7, !11, i64 48} !28 = !{!7, !11, i64 40} !29 = !{!7, !11, i64 32} !30 = !{!7, !8, i64 24} !31 = !{!32, !11, i64 0} !32 = !{!"passwd", !11, i64 0} !33 = distinct !{!33, !34} !34 = !{!"llvm.loop.mustprogress"} !35 = !{!7, !11, i64 16} !36 = distinct !{!36, !34}
freebsd_contrib_smbfs_lib_smb_extr_ctx.c_smb_ctx_init
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_counter_alloc_res.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_counter_alloc_res.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RES_OP_RESERVE = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @RES_COUNTER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @counter_alloc_res], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @counter_alloc_res(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3, i32 %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr @RES_OP_RESERVE, align 4, !tbaa !5 %10 = icmp eq i32 %9, %2 br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load i32, ptr @EINVAL, align 4, !tbaa !5 %13 = sub nsw i32 0, %12 br label %36 14: ; preds = %7 %15 = load i32, ptr @RES_COUNTER, align 4, !tbaa !5 %16 = tail call i32 @mlx4_grant_resource(ptr noundef %0, i32 noundef %1, i32 noundef %15, i32 noundef 1, i32 noundef 0) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %36 18: ; preds = %14 %19 = call i32 @__mlx4_counter_alloc(ptr noundef %0, ptr noundef nonnull %8) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load i32, ptr @RES_COUNTER, align 4, !tbaa !5 %23 = call i32 @mlx4_release_resource(ptr noundef %0, i32 noundef %1, i32 noundef %22, i32 noundef 1, i32 noundef 0) #3 br label %36 24: ; preds = %18 %25 = load i32, ptr %8, align 4, !tbaa !5 %26 = load i32, ptr @RES_COUNTER, align 4, !tbaa !5 %27 = call i32 @add_res_range(ptr noundef %0, i32 noundef %1, i32 noundef %25, i32 noundef 1, i32 noundef %26, i32 noundef %6) #3 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr %8, align 4, !tbaa !5 br i1 %28, label %34, label %30 30: ; preds = %24 %31 = call i32 @__mlx4_counter_free(ptr noundef %0, i32 noundef %29) #3 %32 = load i32, ptr @RES_COUNTER, align 4, !tbaa !5 %33 = call i32 @mlx4_release_resource(ptr noundef %0, i32 noundef %1, i32 noundef %32, i32 noundef 1, i32 noundef 0) #3 br label %36 34: ; preds = %24 %35 = call i32 @set_param_l(ptr noundef %5, i32 noundef %29) #3 br label %36 36: ; preds = %30, %34, %14, %21, %11 %37 = phi i32 [ %13, %11 ], [ %19, %21 ], [ %16, %14 ], [ 0, %34 ], [ %27, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mlx4_grant_resource(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__mlx4_counter_alloc(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx4_release_resource(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @add_res_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__mlx4_counter_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_param_l(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_counter_alloc_res.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_resource_tracker.c_counter_alloc_res.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RES_OP_RESERVE = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @RES_COUNTER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @counter_alloc_res], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @counter_alloc_res(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 %3, i32 %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr @RES_OP_RESERVE, align 4, !tbaa !6 %10 = icmp eq i32 %9, %2 br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load i32, ptr @EINVAL, align 4, !tbaa !6 %13 = sub nsw i32 0, %12 br label %36 14: ; preds = %7 %15 = load i32, ptr @RES_COUNTER, align 4, !tbaa !6 %16 = tail call i32 @mlx4_grant_resource(ptr noundef %0, i32 noundef %1, i32 noundef %15, i32 noundef 1, i32 noundef 0) #3 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %36 18: ; preds = %14 %19 = call i32 @__mlx4_counter_alloc(ptr noundef %0, ptr noundef nonnull %8) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %18 %22 = load i32, ptr @RES_COUNTER, align 4, !tbaa !6 %23 = call i32 @mlx4_release_resource(ptr noundef %0, i32 noundef %1, i32 noundef %22, i32 noundef 1, i32 noundef 0) #3 br label %36 24: ; preds = %18 %25 = load i32, ptr %8, align 4, !tbaa !6 %26 = load i32, ptr @RES_COUNTER, align 4, !tbaa !6 %27 = call i32 @add_res_range(ptr noundef %0, i32 noundef %1, i32 noundef %25, i32 noundef 1, i32 noundef %26, i32 noundef %6) #3 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr %8, align 4, !tbaa !6 br i1 %28, label %34, label %30 30: ; preds = %24 %31 = call i32 @__mlx4_counter_free(ptr noundef %0, i32 noundef %29) #3 %32 = load i32, ptr @RES_COUNTER, align 4, !tbaa !6 %33 = call i32 @mlx4_release_resource(ptr noundef %0, i32 noundef %1, i32 noundef %32, i32 noundef 1, i32 noundef 0) #3 br label %36 34: ; preds = %24 %35 = call i32 @set_param_l(ptr noundef %5, i32 noundef %29) #3 br label %36 36: ; preds = %30, %34, %14, %21, %11 %37 = phi i32 [ %13, %11 ], [ %19, %21 ], [ %16, %14 ], [ 0, %34 ], [ %27, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @mlx4_grant_resource(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__mlx4_counter_alloc(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlx4_release_resource(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @add_res_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @__mlx4_counter_free(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_param_l(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_mellanox_mlx4_extr_resource_tracker.c_counter_alloc_res
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov8856.c_ov8856_write_reg_list.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov8856.c_ov8856_write_reg_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.ov8856_reg_list = type { i32, ptr } %struct.TYPE_2__ = type { i32, i32 } @.str = private unnamed_addr constant [40 x i8] c"failed to write reg 0x%4.4x. error = %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ov8856_write_reg_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ov8856_write_reg_list(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %27, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.ov8856_reg_list, ptr %1, i64 0, i32 1 br label %13 8: ; preds = %13 %9 = add nuw nsw i64 %14, 1 %10 = load i32, ptr %1, align 8, !tbaa !5 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %9, %11 br i1 %12, label %13, label %27, !llvm.loop !11 13: ; preds = %6, %8 %14 = phi i64 [ 0, %6 ], [ %9, %8 ] %15 = load ptr, ptr %7, align 8, !tbaa !13 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %14 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %14, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call i32 @ov8856_write_reg(ptr noundef %0, i32 noundef %17, i32 noundef 1, i32 noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %8, label %22 22: ; preds = %13 %23 = load ptr, ptr %7, align 8, !tbaa !13 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %14 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = tail call i32 @dev_err_ratelimited(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %20) #2 br label %27 27: ; preds = %8, %2, %22 %28 = phi i32 [ %20, %22 ], [ 0, %2 ], [ 0, %8 ] ret i32 %28 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @ov8856_write_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err_ratelimited(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ov8856_reg_list", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!6, !10, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !16 = !{!15, !7, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov8856.c_ov8856_write_reg_list.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov8856.c_ov8856_write_reg_list.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 } @.str = private unnamed_addr constant [40 x i8] c"failed to write reg 0x%4.4x. error = %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ov8856_write_reg_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ov8856_write_reg_list(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #2 %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %27, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %1, i64 8 br label %13 8: ; preds = %13 %9 = add nuw nsw i64 %14, 1 %10 = load i32, ptr %1, align 8, !tbaa !6 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %9, %11 br i1 %12, label %13, label %27, !llvm.loop !12 13: ; preds = %6, %8 %14 = phi i64 [ 0, %6 ], [ %9, %8 ] %15 = load ptr, ptr %7, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %14 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = getelementptr inbounds i8, ptr %16, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call i32 @ov8856_write_reg(ptr noundef %0, i32 noundef %17, i32 noundef 1, i32 noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %8, label %22 22: ; preds = %13 %23 = load ptr, ptr %7, align 8, !tbaa !14 %24 = getelementptr inbounds %struct.TYPE_2__, ptr %23, i64 %14 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call i32 @dev_err_ratelimited(ptr noundef %3, ptr noundef nonnull @.str, i32 noundef %25, i32 noundef %20) #2 br label %27 27: ; preds = %8, %2, %22 %28 = phi i32 [ %20, %22 ], [ 0, %2 ], [ 0, %8 ] ret i32 %28 } declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1 declare i32 @ov8856_write_reg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err_ratelimited(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ov8856_reg_list", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!7, !11, i64 8} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !17 = !{!16, !8, i64 4}
linux_drivers_media_i2c_extr_ov8856.c_ov8856_write_reg_list
; ModuleID = 'AnghaBench/rofi/source/widgets/extr_listview.c_listview_toggle_ellipsizing.c' source_filename = "AnghaBench/rofi/source/widgets/extr_listview.c_listview_toggle_ellipsizing.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i64, i32, ptr } %struct.TYPE_4__ = type { i32 } @PANGO_ELLIPSIZE_START = dso_local local_unnamed_addr global i64 0, align 8 @PANGO_ELLIPSIZE_MIDDLE = dso_local local_unnamed_addr global i64 0, align 8 @PANGO_ELLIPSIZE_END = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @listview_toggle_ellipsizing(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @PANGO_ELLIPSIZE_START, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @PANGO_ELLIPSIZE_MIDDLE, align 8, !tbaa !12 br i1 %6, label %14, label %8 8: ; preds = %3 %9 = icmp eq i64 %4, %7 %10 = load i64, ptr @PANGO_ELLIPSIZE_END, align 8, !tbaa !12 br i1 %9, label %14, label %11 11: ; preds = %8 %12 = icmp eq i64 %4, %10 %13 = select i1 %12, i64 %5, i64 %4 br label %14 14: ; preds = %8, %3, %11 %15 = phi i64 [ %13, %11 ], [ %7, %3 ], [ %10, %8 ] store i64 %15, ptr %0, align 8, !tbaa !5 %16 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 8, !tbaa !13 %18 = icmp eq i32 %17, 0 br i1 %18, label %31, label %19 19: ; preds = %14 %20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2 br label %21 21: ; preds = %19, %21 %22 = phi i64 [ 0, %19 ], [ %27, %21 ] %23 = load ptr, ptr %20, align 8, !tbaa !14 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 %22 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call i32 @textbox_set_ellipsize(i32 noundef %25, i64 noundef %15) #2 %27 = add nuw nsw i64 %22, 1 %28 = load i32, ptr %16, align 8, !tbaa !13 %29 = zext i32 %28 to i64 %30 = icmp ult i64 %27, %29 br i1 %30, label %21, label %31, !llvm.loop !17 31: ; preds = %21, %14, %1 ret void } declare i32 @textbox_set_ellipsize(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_5__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!6, !11, i64 16} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_4__", !10, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/rofi/source/widgets/extr_listview.c_listview_toggle_ellipsizing.c' source_filename = "AnghaBench/rofi/source/widgets/extr_listview.c_listview_toggle_ellipsizing.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 } @PANGO_ELLIPSIZE_START = common local_unnamed_addr global i64 0, align 8 @PANGO_ELLIPSIZE_MIDDLE = common local_unnamed_addr global i64 0, align 8 @PANGO_ELLIPSIZE_END = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @listview_toggle_ellipsizing(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %31, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @PANGO_ELLIPSIZE_START, align 8, !tbaa !13 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @PANGO_ELLIPSIZE_MIDDLE, align 8, !tbaa !13 br i1 %6, label %14, label %8 8: ; preds = %3 %9 = icmp eq i64 %4, %7 %10 = load i64, ptr @PANGO_ELLIPSIZE_END, align 8, !tbaa !13 br i1 %9, label %14, label %11 11: ; preds = %8 %12 = icmp eq i64 %4, %10 %13 = select i1 %12, i64 %5, i64 %4 br label %14 14: ; preds = %8, %3, %11 %15 = phi i64 [ %13, %11 ], [ %7, %3 ], [ %10, %8 ] store i64 %15, ptr %0, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i32, ptr %16, align 8, !tbaa !14 %18 = icmp eq i32 %17, 0 br i1 %18, label %31, label %19 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %0, i64 16 br label %21 21: ; preds = %19, %21 %22 = phi i64 [ 0, %19 ], [ %27, %21 ] %23 = load ptr, ptr %20, align 8, !tbaa !15 %24 = getelementptr inbounds %struct.TYPE_4__, ptr %23, i64 %22 %25 = load i32, ptr %24, align 4, !tbaa !16 %26 = tail call i32 @textbox_set_ellipsize(i32 noundef %25, i64 noundef %15) #2 %27 = add nuw nsw i64 %22, 1 %28 = load i32, ptr %16, align 8, !tbaa !14 %29 = zext i32 %28 to i64 %30 = icmp ult i64 %27, %29 br i1 %30, label %21, label %31, !llvm.loop !18 31: ; preds = %21, %14, %1 ret void } declare i32 @textbox_set_ellipsize(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_5__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!7, !12, i64 16} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_4__", !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
rofi_source_widgets_extr_listview.c_listview_toggle_ellipsizing
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_ndfc.c_ndfc_write_buf.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_ndfc.c_ndfc_write_buf.c" target datalayout = "e-m:e-p270:32:32-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.ndfc_controller = type { i64 } @ndfc_ctrl = dso_local local_unnamed_addr global %struct.ndfc_controller zeroinitializer, align 8 @NDFC_DATA = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ndfc_write_buf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ndfc_write_buf(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %16 5: ; preds = %3, %5 %6 = phi ptr [ %11, %5 ], [ %1, %3 ] %7 = phi i32 [ %14, %5 ], [ %2, %3 ] %8 = load i64, ptr @ndfc_ctrl, align 8, !tbaa !5 %9 = load i64, ptr @NDFC_DATA, align 8, !tbaa !10 %10 = add nsw i64 %9, %8 %11 = getelementptr inbounds i32, ptr %6, i64 1 %12 = load i32, ptr %6, align 4, !tbaa !11 %13 = tail call i32 @out_be32(i64 noundef %10, i32 noundef %12) #2 %14 = add nsw i32 %7, -4 %15 = icmp ugt i32 %7, 4 br i1 %15, label %5, label %16, !llvm.loop !13 16: ; preds = %5, %3 ret void } declare i32 @out_be32(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ndfc_controller", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_ndfc.c_ndfc_write_buf.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mtd/nand/extr_ndfc.c_ndfc_write_buf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ndfc_controller = type { i64 } @ndfc_ctrl = common local_unnamed_addr global %struct.ndfc_controller zeroinitializer, align 8 @NDFC_DATA = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ndfc_write_buf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ndfc_write_buf(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %16 5: ; preds = %3, %5 %6 = phi ptr [ %11, %5 ], [ %1, %3 ] %7 = phi i32 [ %14, %5 ], [ %2, %3 ] %8 = load i64, ptr @ndfc_ctrl, align 8, !tbaa !6 %9 = load i64, ptr @NDFC_DATA, align 8, !tbaa !11 %10 = add nsw i64 %9, %8 %11 = getelementptr inbounds i8, ptr %6, i64 4 %12 = load i32, ptr %6, align 4, !tbaa !12 %13 = tail call i32 @out_be32(i64 noundef %10, i32 noundef %12) #2 %14 = add nsw i32 %7, -4 %15 = icmp ugt i32 %7, 4 br i1 %15, label %5, label %16, !llvm.loop !14 16: ; preds = %5, %3 ret void } declare i32 @out_be32(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ndfc_controller", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_mtd_nand_extr_ndfc.c_ndfc_write_buf
; ModuleID = 'AnghaBench/exploitdb/shellcodes/linux_x86/extr_43681.c_main.c' source_filename = "AnghaBench/exploitdb/shellcodes/linux_x86/extr_43681.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" @__const.main.shell = private unnamed_addr constant [38 x i8] c"1\DB\B0\17\CD\801\C0Phadowhc/shh//et\89\E3f\B9\B6\01\B0\0F\CD\80@\CD\80\00", align 16 @.str = private unnamed_addr constant [30 x i8] c"[*] Taille du ShellCode = %d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main() local_unnamed_addr #0 { %1 = alloca [38 x i8], align 16 call void @llvm.lifetime.start.p0(i64 38, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(38) %1, ptr noundef nonnull align 16 dereferenceable(38) @__const.main.shell, i64 38, i1 false) %2 = call i32 @strlen(ptr noundef nonnull %1) #4 %3 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %2) #4 call void (...) %1() #4 call void @llvm.lifetime.end.p0(i64 38, ptr nonnull %1) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/exploitdb/shellcodes/linux_x86/extr_43681.c_main.c' source_filename = "AnghaBench/exploitdb/shellcodes/linux_x86/extr_43681.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.main.shell = private unnamed_addr constant [38 x i8] c"1\DB\B0\17\CD\801\C0Phadowhc/shh//et\89\E3f\B9\B6\01\B0\0F\CD\80@\CD\80\00", align 1 @.str = private unnamed_addr constant [30 x i8] c"[*] Taille du ShellCode = %d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main() local_unnamed_addr #0 { %1 = alloca [38 x i8], align 1 call void @llvm.lifetime.start.p0(i64 38, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(38) %1, ptr noundef nonnull align 1 dereferenceable(38) @__const.main.shell, i64 38, i1 false) %2 = call i32 @strlen(ptr noundef nonnull %1) #4 %3 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %2) #4 call void %1() #4 call void @llvm.lifetime.end.p0(i64 38, ptr nonnull %1) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlen(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
exploitdb_shellcodes_linux_x86_extr_43681.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_scc.c_scc_init_timer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_scc.c_scc_init_timer.c" target datalayout = "e-m:e-p270:32:32-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.scc_channel = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @TXS_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @scc_init_timer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @scc_init_timer(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = load i32, ptr @TXS_IDLE, align 4, !tbaa !5 %4 = getelementptr inbounds %struct.scc_channel, ptr %0, i64 0, i32 1 store i32 %3, ptr %4, align 4, !tbaa !9 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"scc_channel", !6, i64 0, !11, i64 4} !11 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_scc.c_scc_init_timer.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_scc.c_scc_init_timer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TXS_IDLE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @scc_init_timer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @scc_init_timer(ptr noundef %0) #0 { %2 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2 %3 = load i32, ptr @TXS_IDLE, align 4, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %3, ptr %4, align 4, !tbaa !10 %5 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"scc_channel", !7, i64 0, !12, i64 4} !12 = !{!"TYPE_2__", !7, i64 0}
fastsocket_kernel_drivers_net_hamradio_extr_scc.c_scc_init_timer
; ModuleID = 'AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_RestoreSystemMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_RestoreSystemMetrics.c" target datalayout = "e-m:e-p270:32:32-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.BackupSysParam = type { i64, i32, i32 } @backupSysParams = dso_local local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = dso_local local_unnamed_addr global i32 0, align 4 @szThemeManager = dso_local local_unnamed_addr global i32 0, align 4 @KEY_QUERY_VALUE = dso_local local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @strColorKey = dso_local local_unnamed_addr global i32 0, align 4 @NUM_SYS_COLORS = dso_local local_unnamed_addr global i32 0, align 4 @SysColorsNames = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @SPIF_UPDATEINIFILE = dso_local local_unnamed_addr global i32 0, align 4 @keyNonClientMetrics = dso_local local_unnamed_addr global i32 0, align 4 @SPI_SETNONCLIENTMETRICS = dso_local local_unnamed_addr global i32 0, align 4 @keyIconTitleFont = dso_local local_unnamed_addr global i32 0, align 4 @SPI_SETICONTITLELOGFONT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @UXTHEME_RestoreSystemMetrics], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @UXTHEME_RestoreSystemMetrics() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [13 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 %16 = load ptr, ptr @backupSysParams, align 8, !tbaa !5 %17 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !9 %18 = load i32, ptr @szThemeManager, align 4, !tbaa !9 %19 = load i32, ptr @KEY_QUERY_VALUE, align 4, !tbaa !9 %20 = call i64 @RegOpenKeyExW(i32 noundef %17, i32 noundef %18, i32 noundef 0, i32 noundef %19, ptr noundef nonnull %1) #4 %21 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %132 23: ; preds = %0 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %24 = load i32, ptr %1, align 4, !tbaa !9 %25 = load i32, ptr @strColorKey, align 4, !tbaa !9 %26 = load i32, ptr @KEY_QUERY_VALUE, align 4, !tbaa !9 %27 = call i64 @RegOpenKeyExW(i32 noundef %24, i32 noundef %25, i32 noundef 0, i32 noundef %26, ptr noundef nonnull %2) #4 %28 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %78 30: ; preds = %23 %31 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !9 %32 = zext i32 %31 to i64 %33 = call ptr @llvm.stacksave.p0() %34 = alloca i32, i64 %32, align 16 %35 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !9 %36 = zext i32 %35 to i64 %37 = alloca i32, i64 %36, align 16 %38 = icmp sgt i32 %35, 0 br i1 %38, label %39, label %73 39: ; preds = %30 %40 = ptrtoint ptr %4 to i64 %41 = trunc i64 %40 to i32 br label %42 42: ; preds = %39, %67 %43 = phi i64 [ 0, %39 ], [ %69, %67 ] %44 = phi i32 [ 0, %39 ], [ %68, %67 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 13, ptr %5, align 4, !tbaa !9 %45 = load i32, ptr %2, align 4, !tbaa !9 %46 = load ptr, ptr @SysColorsNames, align 8, !tbaa !5 %47 = getelementptr inbounds i32, ptr %46, i64 %43 %48 = load i32, ptr %47, align 4, !tbaa !9 %49 = call i64 @RegQueryValueExA(i32 noundef %45, i32 noundef %48, i32 noundef 0, ptr noundef nonnull %3, i32 noundef %41, ptr noundef nonnull %5) #4 %50 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %67 52: ; preds = %42 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 %53 = call i32 @sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 %54 = icmp eq i32 %53, 3 br i1 %54, label %55, label %65 55: ; preds = %52 %56 = sext i32 %44 to i64 %57 = getelementptr inbounds i32, ptr %37, i64 %56 %58 = trunc i64 %43 to i32 store i32 %58, ptr %57, align 4, !tbaa !9 %59 = load i32, ptr %6, align 4, !tbaa !9 %60 = load i32, ptr %7, align 4, !tbaa !9 %61 = load i32, ptr %8, align 4, !tbaa !9 %62 = call i32 @RGB(i32 noundef %59, i32 noundef %60, i32 noundef %61) #4 %63 = getelementptr inbounds i32, ptr %34, i64 %56 store i32 %62, ptr %63, align 4, !tbaa !9 %64 = add nsw i32 %44, 1 br label %65 65: ; preds = %55, %52 %66 = phi i32 [ %64, %55 ], [ %44, %52 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 br label %67 67: ; preds = %65, %42 %68 = phi i32 [ %66, %65 ], [ %44, %42 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 %69 = add nuw nsw i64 %43, 1 %70 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !9 %71 = sext i32 %70 to i64 %72 = icmp slt i64 %69, %71 br i1 %72, label %42, label %73, !llvm.loop !13 73: ; preds = %67, %30 %74 = phi i32 [ 0, %30 ], [ %68, %67 ] %75 = load i32, ptr %2, align 4, !tbaa !9 %76 = call i32 @RegCloseKey(i32 noundef %75) #4 %77 = call i32 @SetSysColors(i32 noundef %74, ptr noundef nonnull %37, ptr noundef nonnull %34) #4 call void @llvm.stackrestore.p0(ptr %33) br label %78 78: ; preds = %73, %23 %79 = load i64, ptr %16, align 8, !tbaa !15 %80 = icmp sgt i64 %79, -1 br i1 %80, label %81, label %103 81: ; preds = %78 %82 = ptrtoint ptr %9 to i64 %83 = trunc i64 %82 to i32 br label %84 84: ; preds = %81, %99 %85 = phi ptr [ %16, %81 ], [ %100, %99 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 store i32 4, ptr %10, align 4, !tbaa !9 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4 %86 = load i32, ptr %1, align 4, !tbaa !9 %87 = getelementptr inbounds %struct.BackupSysParam, ptr %85, i64 0, i32 2 %88 = load i32, ptr %87, align 4, !tbaa !17 %89 = call i64 @RegQueryValueExW(i32 noundef %86, i32 noundef %88, i32 noundef 0, ptr noundef nonnull %11, i32 noundef %83, ptr noundef nonnull %10) #4 %90 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %91 = icmp eq i64 %89, %90 br i1 %91, label %92, label %99 92: ; preds = %84 %93 = getelementptr inbounds %struct.BackupSysParam, ptr %85, i64 0, i32 1 %94 = load i32, ptr %93, align 8, !tbaa !18 %95 = load i32, ptr %9, align 4, !tbaa !9 %96 = call ptr @UlongToPtr(i32 noundef %95) #4 %97 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !9 %98 = call i32 @SystemParametersInfoW(i32 noundef %94, i32 noundef 0, ptr noundef %96, i32 noundef %97) #4 br label %99 99: ; preds = %92, %84 %100 = getelementptr inbounds %struct.BackupSysParam, ptr %85, i64 1 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 %101 = load i64, ptr %100, align 8, !tbaa !15 %102 = icmp sgt i64 %101, -1 br i1 %102, label %84, label %103, !llvm.loop !19 103: ; preds = %99, %78 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4 store i32 4, ptr %14, align 4, !tbaa !9 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4 %104 = load i32, ptr %1, align 4, !tbaa !9 %105 = load i32, ptr @keyNonClientMetrics, align 4, !tbaa !9 %106 = ptrtoint ptr %12 to i64 %107 = trunc i64 %106 to i32 %108 = call i64 @RegQueryValueExW(i32 noundef %104, i32 noundef %105, i32 noundef 0, ptr noundef nonnull %15, i32 noundef %107, ptr noundef nonnull %14) #4 %109 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %110 = icmp eq i64 %108, %109 br i1 %110, label %111, label %116 111: ; preds = %103 %112 = load i32, ptr @SPI_SETNONCLIENTMETRICS, align 4, !tbaa !9 %113 = load i32, ptr %14, align 4, !tbaa !9 %114 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !9 %115 = call i32 @SystemParametersInfoW(i32 noundef %112, i32 noundef %113, ptr noundef nonnull %12, i32 noundef %114) #4 br label %116 116: ; preds = %111, %103 store i32 4, ptr %14, align 4, !tbaa !9 %117 = load i32, ptr %1, align 4, !tbaa !9 %118 = load i32, ptr @keyIconTitleFont, align 4, !tbaa !9 %119 = ptrtoint ptr %13 to i64 %120 = trunc i64 %119 to i32 %121 = call i64 @RegQueryValueExW(i32 noundef %117, i32 noundef %118, i32 noundef 0, ptr noundef nonnull %15, i32 noundef %120, ptr noundef nonnull %14) #4 %122 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !11 %123 = icmp eq i64 %121, %122 br i1 %123, label %124, label %129 124: ; preds = %116 %125 = load i32, ptr @SPI_SETICONTITLELOGFONT, align 4, !tbaa !9 %126 = load i32, ptr %14, align 4, !tbaa !9 %127 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !9 %128 = call i32 @SystemParametersInfoW(i32 noundef %125, i32 noundef %126, ptr noundef nonnull %13, i32 noundef %127) #4 br label %129 129: ; preds = %124, %116 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4 %130 = load i32, ptr %1, align 4, !tbaa !9 %131 = call i32 @RegCloseKey(i32 noundef %130) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 br label %132 132: ; preds = %129, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 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 @RegOpenKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i64 @RegQueryValueExA(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @RGB(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2 declare i32 @SetSysColors(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i64 @RegQueryValueExW(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SystemParametersInfoW(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @UlongToPtr(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !12, i64 0} !16 = !{!"BackupSysParam", !12, i64 0, !10, i64 8, !10, i64 12} !17 = !{!16, !10, i64 12} !18 = !{!16, !10, i64 8} !19 = distinct !{!19, !14}
; ModuleID = 'AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_RestoreSystemMetrics.c' source_filename = "AnghaBench/reactos/dll/win32/uxtheme/extr_system.c_UXTHEME_RestoreSystemMetrics.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @backupSysParams = common local_unnamed_addr global ptr null, align 8 @HKEY_CURRENT_USER = common local_unnamed_addr global i32 0, align 4 @szThemeManager = common local_unnamed_addr global i32 0, align 4 @KEY_QUERY_VALUE = common local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8 @strColorKey = common local_unnamed_addr global i32 0, align 4 @NUM_SYS_COLORS = common local_unnamed_addr global i32 0, align 4 @SysColorsNames = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @SPIF_UPDATEINIFILE = common local_unnamed_addr global i32 0, align 4 @keyNonClientMetrics = common local_unnamed_addr global i32 0, align 4 @SPI_SETNONCLIENTMETRICS = common local_unnamed_addr global i32 0, align 4 @keyIconTitleFont = common local_unnamed_addr global i32 0, align 4 @SPI_SETICONTITLELOGFONT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @UXTHEME_RestoreSystemMetrics], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @UXTHEME_RestoreSystemMetrics() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [13 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4 %16 = load ptr, ptr @backupSysParams, align 8, !tbaa !6 %17 = load i32, ptr @HKEY_CURRENT_USER, align 4, !tbaa !10 %18 = load i32, ptr @szThemeManager, align 4, !tbaa !10 %19 = load i32, ptr @KEY_QUERY_VALUE, align 4, !tbaa !10 %20 = call i64 @RegOpenKeyExW(i32 noundef %17, i32 noundef %18, i32 noundef 0, i32 noundef %19, ptr noundef nonnull %1) #4 %21 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %22 = icmp eq i64 %20, %21 br i1 %22, label %23, label %132 23: ; preds = %0 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 %24 = load i32, ptr %1, align 4, !tbaa !10 %25 = load i32, ptr @strColorKey, align 4, !tbaa !10 %26 = load i32, ptr @KEY_QUERY_VALUE, align 4, !tbaa !10 %27 = call i64 @RegOpenKeyExW(i32 noundef %24, i32 noundef %25, i32 noundef 0, i32 noundef %26, ptr noundef nonnull %2) #4 %28 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %78 30: ; preds = %23 %31 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !10 %32 = zext i32 %31 to i64 %33 = call ptr @llvm.stacksave.p0() %34 = alloca i32, i64 %32, align 4 %35 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !10 %36 = zext i32 %35 to i64 %37 = alloca i32, i64 %36, align 4 %38 = icmp sgt i32 %35, 0 br i1 %38, label %39, label %73 39: ; preds = %30 %40 = ptrtoint ptr %4 to i64 %41 = trunc i64 %40 to i32 br label %42 42: ; preds = %39, %67 %43 = phi i64 [ 0, %39 ], [ %69, %67 ] %44 = phi i32 [ 0, %39 ], [ %68, %67 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %4) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 store i32 13, ptr %5, align 4, !tbaa !10 %45 = load i32, ptr %2, align 4, !tbaa !10 %46 = load ptr, ptr @SysColorsNames, align 8, !tbaa !6 %47 = getelementptr inbounds i32, ptr %46, i64 %43 %48 = load i32, ptr %47, align 4, !tbaa !10 %49 = call i64 @RegQueryValueExA(i32 noundef %45, i32 noundef %48, i32 noundef 0, ptr noundef nonnull %3, i32 noundef %41, ptr noundef nonnull %5) #4 %50 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %67 52: ; preds = %42 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 %53 = call i32 @sscanf(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #4 %54 = icmp eq i32 %53, 3 br i1 %54, label %55, label %65 55: ; preds = %52 %56 = sext i32 %44 to i64 %57 = getelementptr inbounds i32, ptr %37, i64 %56 %58 = trunc nuw nsw i64 %43 to i32 store i32 %58, ptr %57, align 4, !tbaa !10 %59 = load i32, ptr %6, align 4, !tbaa !10 %60 = load i32, ptr %7, align 4, !tbaa !10 %61 = load i32, ptr %8, align 4, !tbaa !10 %62 = call i32 @RGB(i32 noundef %59, i32 noundef %60, i32 noundef %61) #4 %63 = getelementptr inbounds i32, ptr %34, i64 %56 store i32 %62, ptr %63, align 4, !tbaa !10 %64 = add nsw i32 %44, 1 br label %65 65: ; preds = %55, %52 %66 = phi i32 [ %64, %55 ], [ %44, %52 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 br label %67 67: ; preds = %65, %42 %68 = phi i32 [ %66, %65 ], [ %44, %42 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 %69 = add nuw nsw i64 %43, 1 %70 = load i32, ptr @NUM_SYS_COLORS, align 4, !tbaa !10 %71 = sext i32 %70 to i64 %72 = icmp slt i64 %69, %71 br i1 %72, label %42, label %73, !llvm.loop !14 73: ; preds = %67, %30 %74 = phi i32 [ 0, %30 ], [ %68, %67 ] %75 = load i32, ptr %2, align 4, !tbaa !10 %76 = call i32 @RegCloseKey(i32 noundef %75) #4 %77 = call i32 @SetSysColors(i32 noundef %74, ptr noundef nonnull %37, ptr noundef nonnull %34) #4 call void @llvm.stackrestore.p0(ptr %33) br label %78 78: ; preds = %73, %23 %79 = load i64, ptr %16, align 8, !tbaa !16 %80 = icmp sgt i64 %79, -1 br i1 %80, label %81, label %103 81: ; preds = %78 %82 = ptrtoint ptr %9 to i64 %83 = trunc i64 %82 to i32 br label %84 84: ; preds = %81, %99 %85 = phi ptr [ %16, %81 ], [ %100, %99 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4 store i32 4, ptr %10, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4 %86 = load i32, ptr %1, align 4, !tbaa !10 %87 = getelementptr inbounds i8, ptr %85, i64 12 %88 = load i32, ptr %87, align 4, !tbaa !18 %89 = call i64 @RegQueryValueExW(i32 noundef %86, i32 noundef %88, i32 noundef 0, ptr noundef nonnull %11, i32 noundef %83, ptr noundef nonnull %10) #4 %90 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %91 = icmp eq i64 %89, %90 br i1 %91, label %92, label %99 92: ; preds = %84 %93 = getelementptr inbounds i8, ptr %85, i64 8 %94 = load i32, ptr %93, align 8, !tbaa !19 %95 = load i32, ptr %9, align 4, !tbaa !10 %96 = call ptr @UlongToPtr(i32 noundef %95) #4 %97 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !10 %98 = call i32 @SystemParametersInfoW(i32 noundef %94, i32 noundef 0, ptr noundef %96, i32 noundef %97) #4 br label %99 99: ; preds = %92, %84 %100 = getelementptr inbounds i8, ptr %85, i64 16 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4 %101 = load i64, ptr %100, align 8, !tbaa !16 %102 = icmp sgt i64 %101, -1 br i1 %102, label %84, label %103, !llvm.loop !20 103: ; preds = %99, %78 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4 store i32 4, ptr %14, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4 %104 = load i32, ptr %1, align 4, !tbaa !10 %105 = load i32, ptr @keyNonClientMetrics, align 4, !tbaa !10 %106 = ptrtoint ptr %12 to i64 %107 = trunc i64 %106 to i32 %108 = call i64 @RegQueryValueExW(i32 noundef %104, i32 noundef %105, i32 noundef 0, ptr noundef nonnull %15, i32 noundef %107, ptr noundef nonnull %14) #4 %109 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %110 = icmp eq i64 %108, %109 br i1 %110, label %111, label %116 111: ; preds = %103 %112 = load i32, ptr @SPI_SETNONCLIENTMETRICS, align 4, !tbaa !10 %113 = load i32, ptr %14, align 4, !tbaa !10 %114 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !10 %115 = call i32 @SystemParametersInfoW(i32 noundef %112, i32 noundef %113, ptr noundef nonnull %12, i32 noundef %114) #4 br label %116 116: ; preds = %111, %103 store i32 4, ptr %14, align 4, !tbaa !10 %117 = load i32, ptr %1, align 4, !tbaa !10 %118 = load i32, ptr @keyIconTitleFont, align 4, !tbaa !10 %119 = ptrtoint ptr %13 to i64 %120 = trunc i64 %119 to i32 %121 = call i64 @RegQueryValueExW(i32 noundef %117, i32 noundef %118, i32 noundef 0, ptr noundef nonnull %15, i32 noundef %120, ptr noundef nonnull %14) #4 %122 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !12 %123 = icmp eq i64 %121, %122 br i1 %123, label %124, label %129 124: ; preds = %116 %125 = load i32, ptr @SPI_SETICONTITLELOGFONT, align 4, !tbaa !10 %126 = load i32, ptr %14, align 4, !tbaa !10 %127 = load i32, ptr @SPIF_UPDATEINIFILE, align 4, !tbaa !10 %128 = call i32 @SystemParametersInfoW(i32 noundef %125, i32 noundef %126, ptr noundef nonnull %13, i32 noundef %127) #4 br label %129 129: ; preds = %124, %116 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4 %130 = load i32, ptr %1, align 4, !tbaa !10 %131 = call i32 @RegCloseKey(i32 noundef %130) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 br label %132 132: ; preds = %129, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4 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 @RegOpenKeyExW(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #3 declare i64 @RegQueryValueExA(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @RGB(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @RegCloseKey(i32 noundef) local_unnamed_addr #2 declare i32 @SetSysColors(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #3 declare i64 @RegQueryValueExW(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SystemParametersInfoW(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @UlongToPtr(i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!17, !13, i64 0} !17 = !{!"BackupSysParam", !13, i64 0, !11, i64 8, !11, i64 12} !18 = !{!17, !11, i64 12} !19 = !{!17, !11, i64 8} !20 = distinct !{!20, !15}
reactos_dll_win32_uxtheme_extr_system.c_UXTHEME_RestoreSystemMetrics
; ModuleID = 'AnghaBench/torch7/lib/TH/extr_THRandom.c_THRandom_logNormal.c' source_filename = "AnghaBench/torch7/lib/TH/extr_THRandom.c_THRandom_logNormal.c" target datalayout = "e-m:e-p270:32:32-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 [45 x i8] c"standard deviation must be strictly positive\00", align 1 ; Function Attrs: nounwind uwtable define dso_local double @THRandom_logNormal(ptr noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 { %4 = fcmp ogt double %2, 0.000000e+00 %5 = zext i1 %4 to i32 %6 = tail call i32 @THArgCheck(i32 noundef %5, i32 noundef 2, ptr noundef nonnull @.str) #2 %7 = tail call i32 @THRandom_normal(ptr noundef %0, double noundef %1, double noundef %2) #2 %8 = tail call double @exp(i32 noundef %7) #2 ret double %8 } declare i32 @THArgCheck(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare double @exp(i32 noundef) local_unnamed_addr #1 declare i32 @THRandom_normal(ptr noundef, double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/torch7/lib/TH/extr_THRandom.c_THRandom_logNormal.c' source_filename = "AnghaBench/torch7/lib/TH/extr_THRandom.c_THRandom_logNormal.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 [45 x i8] c"standard deviation must be strictly positive\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define double @THRandom_logNormal(ptr noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 { %4 = fcmp ogt double %2, 0.000000e+00 %5 = zext i1 %4 to i32 %6 = tail call i32 @THArgCheck(i32 noundef %5, i32 noundef 2, ptr noundef nonnull @.str) #2 %7 = tail call i32 @THRandom_normal(ptr noundef %0, double noundef %1, double noundef %2) #2 %8 = tail call double @exp(i32 noundef %7) #2 ret double %8 } declare i32 @THArgCheck(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare double @exp(i32 noundef) local_unnamed_addr #1 declare i32 @THRandom_normal(ptr noundef, double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
torch7_lib_TH_extr_THRandom.c_THRandom_logNormal
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_strip.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_strip.c" target datalayout = "e-m:e-p270:32:32-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 @strip], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @strip(ptr noundef %0) #0 { br label %2 2: ; preds = %2, %1 %3 = phi ptr [ %0, %1 ], [ %7, %2 ] %4 = load i8, ptr %3, align 1, !tbaa !5 %5 = tail call i64 @isspace(i8 noundef signext %4) #2 %6 = icmp eq i64 %5, 0 %7 = getelementptr inbounds i8, ptr %3, i64 1 br i1 %6, label %8, label %2, !llvm.loop !8 8: ; preds = %2 %9 = tail call i32 @strlen(ptr noundef nonnull %3) #2 %10 = icmp eq ptr %3, %0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = add nsw i32 %9, 1 %13 = tail call i32 @memmove(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %12) #2 br label %14 14: ; preds = %11, %8 %15 = icmp eq i32 %9, 0 br i1 %15, label %29, label %16 16: ; preds = %14 %17 = sext i32 %9 to i64 %18 = getelementptr inbounds i8, ptr %0, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -1 %20 = load i8, ptr %19, align 1, !tbaa !5 %21 = tail call i64 @isspace(i8 noundef signext %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %29, label %23 23: ; preds = %16, %23 %24 = phi ptr [ %25, %23 ], [ %19, %16 ] store i8 0, ptr %24, align 1, !tbaa !5 %25 = getelementptr inbounds i8, ptr %24, i64 -1 %26 = load i8, ptr %25, align 1, !tbaa !5 %27 = tail call i64 @isspace(i8 noundef signext %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %23, !llvm.loop !10 29: ; preds = %23, %16, %14 ret void } declare i64 @isspace(i8 noundef signext) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"} !10 = distinct !{!10, !9}
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_strip.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/kconfig/extr_conf.c_strip.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 @strip], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @strip(ptr noundef %0) #0 { br label %2 2: ; preds = %2, %1 %3 = phi ptr [ %0, %1 ], [ %7, %2 ] %4 = load i8, ptr %3, align 1, !tbaa !6 %5 = tail call i64 @isspace(i8 noundef signext %4) #2 %6 = icmp eq i64 %5, 0 %7 = getelementptr inbounds i8, ptr %3, i64 1 br i1 %6, label %8, label %2, !llvm.loop !9 8: ; preds = %2 %9 = tail call i32 @strlen(ptr noundef nonnull %3) #2 %10 = icmp eq ptr %3, %0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = add nsw i32 %9, 1 %13 = tail call i32 @memmove(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %12) #2 br label %14 14: ; preds = %11, %8 %15 = icmp eq i32 %9, 0 br i1 %15, label %29, label %16 16: ; preds = %14 %17 = sext i32 %9 to i64 %18 = getelementptr inbounds i8, ptr %0, i64 %17 %19 = getelementptr inbounds i8, ptr %18, i64 -1 %20 = load i8, ptr %19, align 1, !tbaa !6 %21 = tail call i64 @isspace(i8 noundef signext %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %29, label %23 23: ; preds = %16, %23 %24 = phi ptr [ %25, %23 ], [ %19, %16 ] store i8 0, ptr %24, align 1, !tbaa !6 %25 = getelementptr inbounds i8, ptr %24, i64 -1 %26 = load i8, ptr %25, align 1, !tbaa !6 %27 = tail call i64 @isspace(i8 noundef signext %26) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %23, !llvm.loop !11 29: ; preds = %23, %16, %14 ret void } declare i64 @isspace(i8 noundef signext) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
fastsocket_kernel_scripts_kconfig_extr_conf.c_strip
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_pcap-snit.c_pcap_lib_version.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_pcap-snit.c_pcap_lib_version.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PCAP_VERSION_STRING = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local ptr @pcap_lib_version() local_unnamed_addr #0 { %1 = load ptr, ptr @PCAP_VERSION_STRING, align 8, !tbaa !5 ret ptr %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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/libpcap/extr_pcap-snit.c_pcap_lib_version.c' source_filename = "AnghaBench/freebsd/contrib/libpcap/extr_pcap-snit.c_pcap_lib_version.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCAP_VERSION_STRING = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define ptr @pcap_lib_version() local_unnamed_addr #0 { %1 = load ptr, ptr @PCAP_VERSION_STRING, align 8, !tbaa !6 ret ptr %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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_libpcap_extr_pcap-snit.c_pcap_lib_version
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-path.c_xps_parse_path_figure.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-path.c_xps_parse_path_figure.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"IsClosed\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"StartPoint\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"IsFilled\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"ArcSegment\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"PolyBezierSegment\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"PolyLineSegment\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"PolyQuadraticBezierSegment\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @xps_parse_path_figure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xps_parse_path_figure(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 store float 0.000000e+00, ptr %6, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 store float 0.000000e+00, ptr %7, align 4, !tbaa !5 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 store i32 0, ptr %8, align 4, !tbaa !9 %9 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str) #4 %10 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str.1) #4 %11 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str.2) #4 %12 = icmp eq ptr %9, null br i1 %12, label %16, label %13 13: ; preds = %5 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(5) @.str.3) %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %13, %5 %17 = phi i1 [ %15, %13 ], [ true, %5 ] %18 = icmp eq ptr %11, null br i1 %18, label %22, label %19 19: ; preds = %16 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(5) @.str.3) %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ %21, %19 ], [ true, %16 ] %24 = icmp eq ptr %10, null br i1 %24, label %27, label %25 25: ; preds = %22 %26 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 br label %27 27: ; preds = %25, %22 %28 = icmp ne i32 %4, 0 %29 = select i1 %28, i1 true, i1 %23 br i1 %29, label %30, label %71 30: ; preds = %27 %31 = load float, ptr %6, align 4, !tbaa !5 %32 = load float, ptr %7, align 4, !tbaa !5 %33 = call i32 @fz_moveto(ptr noundef %0, ptr noundef %2, float noundef %31, float noundef %32) #4 %34 = call ptr @fz_xml_down(ptr noundef %3) #4 %35 = icmp eq ptr %34, null br i1 %35, label %60, label %36 36: ; preds = %30, %57 %37 = phi ptr [ %58, %57 ], [ %34, %30 ] %38 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.4) #4 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = call i32 @xps_parse_arc_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %42 42: ; preds = %40, %36 %43 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.5) #4 %44 = icmp eq i64 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %42 %46 = call i32 @xps_parse_poly_bezier_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %47 47: ; preds = %45, %42 %48 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.6) #4 %49 = icmp eq i64 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %47 %51 = call i32 @xps_parse_poly_line_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %52 52: ; preds = %50, %47 %53 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.7) #4 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %52 %56 = call i32 @xps_parse_poly_quadratic_bezier_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %57 57: ; preds = %52, %55 %58 = call ptr @fz_xml_next(ptr noundef nonnull %37) #4 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %36, !llvm.loop !11 60: ; preds = %57, %30 br i1 %17, label %71, label %61 61: ; preds = %60 %62 = load i32, ptr %8, align 4 %63 = icmp ne i32 %62, 0 %64 = select i1 %28, i1 %63, i1 false br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load float, ptr %6, align 4, !tbaa !5 %67 = load float, ptr %7, align 4, !tbaa !5 %68 = call i32 @fz_lineto(ptr noundef %0, ptr noundef %2, float noundef %66, float noundef %67) #4 br label %71 69: ; preds = %61 %70 = call i32 @fz_closepath(ptr noundef %0, ptr noundef %2) #4 br label %71 71: ; preds = %60, %69, %65, %27 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 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 @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @xps_parse_point(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_moveto(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #2 declare ptr @fz_xml_down(ptr noundef) local_unnamed_addr #2 declare i64 @fz_xml_is_tag(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_arc_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_bezier_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_line_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_quadratic_bezier_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fz_xml_next(ptr noundef) local_unnamed_addr #2 declare i32 @fz_lineto(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #2 declare i32 @fz_closepath(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 = { 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 #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 = !{!"float", !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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-path.c_xps_parse_path_figure.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/xps/extr_xps-path.c_xps_parse_path_figure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"IsClosed\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"StartPoint\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"IsFilled\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"ArcSegment\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"PolyBezierSegment\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"PolyLineSegment\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"PolyQuadraticBezierSegment\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @xps_parse_path_figure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xps_parse_path_figure(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 store float 0.000000e+00, ptr %6, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4 store float 0.000000e+00, ptr %7, align 4, !tbaa !6 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4 store i32 0, ptr %8, align 4, !tbaa !10 %9 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str) #4 %10 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str.1) #4 %11 = tail call ptr @fz_xml_att(ptr noundef %3, ptr noundef nonnull @.str.2) #4 %12 = icmp eq ptr %9, null br i1 %12, label %16, label %13 13: ; preds = %5 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(5) @.str.3) %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %13, %5 %17 = phi i1 [ %15, %13 ], [ true, %5 ] %18 = icmp eq ptr %11, null br i1 %18, label %22, label %19 19: ; preds = %16 %20 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(5) @.str.3) %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ %21, %19 ], [ true, %16 ] %24 = icmp eq ptr %10, null br i1 %24, label %27, label %25 25: ; preds = %22 %26 = call i32 @xps_parse_point(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %7) #4 br label %27 27: ; preds = %25, %22 %28 = icmp ne i32 %4, 0 %29 = select i1 %28, i1 true, i1 %23 br i1 %29, label %30, label %71 30: ; preds = %27 %31 = load float, ptr %6, align 4, !tbaa !6 %32 = load float, ptr %7, align 4, !tbaa !6 %33 = call i32 @fz_moveto(ptr noundef %0, ptr noundef %2, float noundef %31, float noundef %32) #4 %34 = call ptr @fz_xml_down(ptr noundef %3) #4 %35 = icmp eq ptr %34, null br i1 %35, label %60, label %36 36: ; preds = %30, %57 %37 = phi ptr [ %58, %57 ], [ %34, %30 ] %38 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.4) #4 %39 = icmp eq i64 %38, 0 br i1 %39, label %42, label %40 40: ; preds = %36 %41 = call i32 @xps_parse_arc_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %42 42: ; preds = %40, %36 %43 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.5) #4 %44 = icmp eq i64 %43, 0 br i1 %44, label %47, label %45 45: ; preds = %42 %46 = call i32 @xps_parse_poly_bezier_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %47 47: ; preds = %45, %42 %48 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.6) #4 %49 = icmp eq i64 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %47 %51 = call i32 @xps_parse_poly_line_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %52 52: ; preds = %50, %47 %53 = call i64 @fz_xml_is_tag(ptr noundef nonnull %37, ptr noundef nonnull @.str.7) #4 %54 = icmp eq i64 %53, 0 br i1 %54, label %57, label %55 55: ; preds = %52 %56 = call i32 @xps_parse_poly_quadratic_bezier_segment(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %37, i32 noundef %4, ptr noundef nonnull %8) #4 br label %57 57: ; preds = %52, %55 %58 = call ptr @fz_xml_next(ptr noundef nonnull %37) #4 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %36, !llvm.loop !12 60: ; preds = %57, %30 br i1 %17, label %71, label %61 61: ; preds = %60 %62 = load i32, ptr %8, align 4 %63 = icmp ne i32 %62, 0 %64 = select i1 %28, i1 %63, i1 false br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load float, ptr %6, align 4, !tbaa !6 %67 = load float, ptr %7, align 4, !tbaa !6 %68 = call i32 @fz_lineto(ptr noundef %0, ptr noundef %2, float noundef %66, float noundef %67) #4 br label %71 69: ; preds = %61 %70 = call i32 @fz_closepath(ptr noundef %0, ptr noundef %2) #4 br label %71 71: ; preds = %60, %69, %65, %27 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 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 @fz_xml_att(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3 declare i32 @xps_parse_point(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fz_moveto(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #2 declare ptr @fz_xml_down(ptr noundef) local_unnamed_addr #2 declare i64 @fz_xml_is_tag(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_arc_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_bezier_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_line_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @xps_parse_poly_quadratic_bezier_segment(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @fz_xml_next(ptr noundef) local_unnamed_addr #2 declare i32 @fz_lineto(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #2 declare i32 @fz_closepath(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 = { 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 #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 = !{!"float", !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 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
sumatrapdf_mupdf_source_xps_extr_xps-path.c_xps_parse_path_figure
; ModuleID = 'AnghaBench/ccv/lib/nnc/extr_ccv_nnc_cmd.c_ccv_nnc_cmd.c' source_filename = "AnghaBench/ccv/lib/nnc/extr_ccv_nnc_cmd.c_ccv_nnc_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i64, i32, ptr, i32, i32 } @CCV_NNC_NO_BACKEND = dso_local local_unnamed_addr global i32 0, align 4 @CCV_NNC_CUSTOM_FORWARD = dso_local local_unnamed_addr constant i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @ccv_nnc_cmd(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 store i32 %3, ptr %6, align 4, !tbaa !5 %7 = load i32, ptr @CCV_NNC_NO_BACKEND, align 4, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 store i32 %7, ptr %8, align 8, !tbaa !13 %9 = icmp eq i64 %1, 0 %10 = icmp eq ptr %2, null %11 = icmp ne i64 %1, 0 %12 = select i1 %10, i1 %11, i1 %9 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #2 store i64 %1, ptr %0, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 store i32 -1, ptr %15, align 8, !tbaa !15 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store ptr %2, ptr %16, align 8, !tbaa !16 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 28} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !10, i64 28} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!6, !10, i64 24} !14 = !{!6, !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !11, i64 16}
; ModuleID = 'AnghaBench/ccv/lib/nnc/extr_ccv_nnc_cmd.c_ccv_nnc_cmd.c' source_filename = "AnghaBench/ccv/lib/nnc/extr_ccv_nnc_cmd.c_ccv_nnc_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i64, i32, ptr, i32, i32 } @CCV_NNC_NO_BACKEND = common local_unnamed_addr global i32 0, align 4 @CCV_NNC_CUSTOM_FORWARD = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @ccv_nnc_cmd(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.TYPE_3__) align 8 %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = getelementptr inbounds i8, ptr %0, i64 28 store i32 %3, ptr %6, align 4, !tbaa !6 %7 = load i32, ptr @CCV_NNC_NO_BACKEND, align 4, !tbaa !13 %8 = getelementptr inbounds i8, ptr %0, i64 24 store i32 %7, ptr %8, align 8, !tbaa !14 %9 = load i64, ptr @CCV_NNC_CUSTOM_FORWARD, align 8, !tbaa !15 %10 = icmp ne ptr %2, null %11 = icmp ne i64 %9, %1 %12 = xor i1 %10, %11 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #2 store i64 %1, ptr %0, align 8, !tbaa !16 %15 = getelementptr inbounds i8, ptr %0, i64 8 store i32 -1, ptr %15, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %2, ptr %16, align 8, !tbaa !18 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 28} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !11, i64 28} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!7, !11, i64 24} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!7, !11, i64 8} !18 = !{!7, !12, i64 16}
ccv_lib_nnc_extr_ccv_nnc_cmd.c_ccv_nnc_cmd
; ModuleID = 'AnghaBench/esp-idf/components/freertos/test/extr_test_freertos_mutex.c_mutex_release_task.c' source_filename = "AnghaBench/esp-idf/components/freertos/test/extr_test_freertos_mutex.c_mutex_release_task.c" target datalayout = "e-m:e-p270:32:32-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 [22 x i8] c"should not be reached\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mutex_release_task], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mutex_release_task(ptr noundef %0) #0 { %2 = ptrtoint ptr %0 to i64 %3 = trunc i64 %2 to i32 %4 = tail call i32 @xSemaphoreGive(i32 noundef %3) #2 %5 = tail call i32 @TEST_FAIL_MESSAGE(ptr noundef nonnull @.str) #2 ret void } declare i32 @xSemaphoreGive(i32 noundef) local_unnamed_addr #1 declare i32 @TEST_FAIL_MESSAGE(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/esp-idf/components/freertos/test/extr_test_freertos_mutex.c_mutex_release_task.c' source_filename = "AnghaBench/esp-idf/components/freertos/test/extr_test_freertos_mutex.c_mutex_release_task.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 [22 x i8] c"should not be reached\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mutex_release_task], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mutex_release_task(ptr noundef %0) #0 { %2 = ptrtoint ptr %0 to i64 %3 = trunc i64 %2 to i32 %4 = tail call i32 @xSemaphoreGive(i32 noundef %3) #2 %5 = tail call i32 @TEST_FAIL_MESSAGE(ptr noundef nonnull @.str) #2 ret void } declare i32 @xSemaphoreGive(i32 noundef) local_unnamed_addr #1 declare i32 @TEST_FAIL_MESSAGE(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)"}
esp-idf_components_freertos_test_extr_test_freertos_mutex.c_mutex_release_task
; ModuleID = 'AnghaBench/freebsd/sys/dev/ioat/extr_ioat.c_ioat_get.c' source_filename = "AnghaBench/freebsd/sys/dev/ioat/extr_ioat.c_ioat_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ioat_softc = type { i64, i32 } @MA_OWNED = dso_local local_unnamed_addr global i32 0, align 4 @UINT32_MAX = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"refcnt overflow\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ioat_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ioat_get(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.ioat_softc, ptr %0, i64 0, i32 1 %3 = load i32, ptr @MA_OWNED, align 4, !tbaa !5 %4 = tail call i32 @mtx_assert(ptr noundef nonnull %2, i32 noundef %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !9 %6 = load i64, ptr @UINT32_MAX, align 8, !tbaa !12 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @KASSERT(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load i64, ptr %0, align 8, !tbaa !9 %11 = add nsw i64 %10, 1 store i64 %11, ptr %0, align 8, !tbaa !9 ret void } declare i32 @mtx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KASSERT(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 = !{!"ioat_softc", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ioat/extr_ioat.c_ioat_get.c' source_filename = "AnghaBench/freebsd/sys/dev/ioat/extr_ioat.c_ioat_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MA_OWNED = common local_unnamed_addr global i32 0, align 4 @UINT32_MAX = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [16 x i8] c"refcnt overflow\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ioat_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ioat_get(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr @MA_OWNED, align 4, !tbaa !6 %4 = tail call i32 @mtx_assert(ptr noundef nonnull %2, i32 noundef %3) #2 %5 = load i64, ptr %0, align 8, !tbaa !10 %6 = load i64, ptr @UINT32_MAX, align 8, !tbaa !13 %7 = icmp slt i64 %5, %6 %8 = zext i1 %7 to i32 %9 = tail call i32 @KASSERT(i32 noundef %8, ptr noundef nonnull @.str) #2 %10 = load i64, ptr %0, align 8, !tbaa !10 %11 = add nsw i64 %10, 1 store i64 %11, ptr %0, align 8, !tbaa !10 ret void } declare i32 @mtx_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @KASSERT(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 = !{!"ioat_softc", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
freebsd_sys_dev_ioat_extr_ioat.c_ioat_get
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_ulpi.c_ng_l2cap_l2ca_grp_create.c' source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_ulpi.c_ng_l2cap_l2ca_grp_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" @ENOTSUP = 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 @ng_l2cap_l2ca_grp_create(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOTSUP, align 4, !tbaa !5 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_ulpi.c_ng_l2cap_l2ca_grp_create.c' source_filename = "AnghaBench/freebsd/sys/netgraph/bluetooth/l2cap/extr_ng_l2cap_ulpi.c_ng_l2cap_l2ca_grp_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOTSUP = 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 @ng_l2cap_l2ca_grp_create(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = load i32, ptr @ENOTSUP, align 4, !tbaa !6 ret i32 %3 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_netgraph_bluetooth_l2cap_extr_ng_l2cap_ulpi.c_ng_l2cap_l2ca_grp_create
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_array_item.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_array_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.TYPE_6__ = type { i64, ptr } ; Function Attrs: nounwind uwtable define dso_local ptr @obs_data_array_item(ptr noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !5 %6 = icmp ugt i64 %5, %1 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = getelementptr inbounds ptr, ptr %9, i64 %1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %7 %14 = tail call i32 @os_atomic_inc_long(ptr noundef nonnull %11) #2 br label %15 15: ; preds = %4, %7, %13, %2 %16 = phi ptr [ null, %2 ], [ %11, %13 ], [ null, %7 ], [ null, %4 ] ret ptr %16 } declare i32 @os_atomic_inc_long(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_8__", !7, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_array_item.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_array_item.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 @obs_data_array_item(ptr noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %15, label %4 4: ; preds = %2 %5 = load i64, ptr %0, align 8, !tbaa !6 %6 = icmp ugt i64 %5, %1 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = getelementptr inbounds ptr, ptr %9, i64 %1 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %7 %14 = tail call i32 @os_atomic_inc_long(ptr noundef nonnull %11) #2 br label %15 15: ; preds = %4, %7, %13, %2 %16 = phi ptr [ null, %2 ], [ %11, %13 ], [ null, %7 ], [ null, %4 ] ret ptr %16 } declare i32 @os_atomic_inc_long(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_8__", !8, i64 0} !8 = !{!"TYPE_6__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!12, !12, i64 0}
obs-studio_libobs_extr_obs-data.c_obs_data_array_item
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_av_program_add_stream_index.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_av_program_add_stream_index.c" target datalayout = "e-m:e-p270:32:32-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, ptr } %struct.TYPE_5__ = type { i32, i32, ptr } @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"stream index %d is not valid\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @av_program_add_stream_index(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !5 %5 = icmp ugt i32 %4, %2 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %52 10: ; preds = %6 %11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = zext nneg i32 %8 to i64 br label %20 14: ; preds = %3 %15 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %16 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %52 17: ; preds = %20 %18 = add nuw nsw i64 %21, 1 %19 = icmp eq i64 %18, %13 br i1 %19, label %52, label %20, !llvm.loop !14 20: ; preds = %10, %17 %21 = phi i64 [ 0, %10 ], [ %18, %17 ] %22 = getelementptr inbounds ptr, ptr %12, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = load i32, ptr %23, align 8, !tbaa !17 %25 = icmp eq i32 %24, %1 br i1 %25, label %26, label %17 26: ; preds = %20 %27 = getelementptr inbounds %struct.TYPE_5__, ptr %23, i64 0, i32 1 %28 = load i32, ptr %27, align 4, !tbaa !19 %29 = icmp sgt i32 %28, 0 %30 = getelementptr inbounds %struct.TYPE_5__, ptr %23, i64 0, i32 2 %31 = load ptr, ptr %30, align 8, !tbaa !20 br i1 %29, label %32, label %42 32: ; preds = %26 %33 = zext nneg i32 %28 to i64 br label %37 34: ; preds = %37 %35 = add nuw nsw i64 %38, 1 %36 = icmp eq i64 %35, %33 br i1 %36, label %42, label %37, !llvm.loop !21 37: ; preds = %32, %34 %38 = phi i64 [ 0, %32 ], [ %35, %34 ] %39 = getelementptr inbounds i32, ptr %31, i64 %38 %40 = load i32, ptr %39, align 4, !tbaa !13 %41 = icmp eq i32 %40, %2 br i1 %41, label %52, label %34 42: ; preds = %34, %26 %43 = add nsw i32 %28, 1 %44 = tail call ptr @av_realloc_array(ptr noundef %31, i32 noundef %43, i32 noundef 4) #2 %45 = icmp eq ptr %44, null br i1 %45, label %52, label %46 46: ; preds = %42 %47 = getelementptr inbounds %struct.TYPE_5__, ptr %23, i64 0, i32 2 store ptr %44, ptr %47, align 8, !tbaa !20 %48 = load i32, ptr %27, align 4, !tbaa !19 %49 = add nsw i32 %48, 1 store i32 %49, ptr %27, align 4, !tbaa !19 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i32, ptr %44, i64 %50 store i32 %2, ptr %51, align 4, !tbaa !13 br label %52 52: ; preds = %17, %37, %6, %42, %46, %14 ret void } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @av_realloc_array(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!10, !10, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8} !19 = !{!18, !7, i64 4} !20 = !{!18, !10, i64 8} !21 = distinct !{!21, !15}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_utils.c_av_program_add_stream_index.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_utils.c_av_program_add_stream_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"stream index %d is not valid\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @av_program_add_stream_index(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 8, !tbaa !6 %5 = icmp ugt i32 %4, %2 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %51 10: ; preds = %6 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = zext nneg i32 %8 to i64 br label %20 14: ; preds = %3 %15 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !14 %16 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %15, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %51 17: ; preds = %20 %18 = add nuw nsw i64 %21, 1 %19 = icmp eq i64 %18, %13 br i1 %19, label %51, label %20, !llvm.loop !15 20: ; preds = %10, %17 %21 = phi i64 [ 0, %10 ], [ %18, %17 ] %22 = getelementptr inbounds ptr, ptr %12, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !17 %24 = load i32, ptr %23, align 8, !tbaa !18 %25 = icmp eq i32 %24, %1 br i1 %25, label %26, label %17 26: ; preds = %20 %27 = getelementptr inbounds i8, ptr %23, i64 4 %28 = load i32, ptr %27, align 4, !tbaa !20 %29 = icmp sgt i32 %28, 0 %30 = getelementptr inbounds i8, ptr %23, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !21 br i1 %29, label %32, label %42 32: ; preds = %26 %33 = zext nneg i32 %28 to i64 br label %37 34: ; preds = %37 %35 = add nuw nsw i64 %38, 1 %36 = icmp eq i64 %35, %33 br i1 %36, label %42, label %37, !llvm.loop !22 37: ; preds = %32, %34 %38 = phi i64 [ 0, %32 ], [ %35, %34 ] %39 = getelementptr inbounds i32, ptr %31, i64 %38 %40 = load i32, ptr %39, align 4, !tbaa !14 %41 = icmp eq i32 %40, %2 br i1 %41, label %51, label %34 42: ; preds = %34, %26 %43 = add nsw i32 %28, 1 %44 = tail call ptr @av_realloc_array(ptr noundef %31, i32 noundef %43, i32 noundef 4) #2 %45 = icmp eq ptr %44, null br i1 %45, label %51, label %46 46: ; preds = %42 store ptr %44, ptr %30, align 8, !tbaa !21 %47 = load i32, ptr %27, align 4, !tbaa !20 %48 = add nsw i32 %47, 1 store i32 %48, ptr %27, align 4, !tbaa !20 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds i32, ptr %44, i64 %49 store i32 %2, ptr %50, align 4, !tbaa !14 br label %51 51: ; preds = %17, %37, %6, %42, %46, %14 ret void } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @av_realloc_array(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!11, !11, i64 0} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8} !20 = !{!19, !8, i64 4} !21 = !{!19, !11, i64 8} !22 = distinct !{!22, !16}
FFmpeg_libavformat_extr_utils.c_av_program_add_stream_index
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_showdb.c_decode_trunk_page.c' source_filename = "AnghaBench/sqlcipher/tool/extr_showdb.c_decode_trunk_page.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @g = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @.str = private unnamed_addr constant [35 x i8] c"Decode of freelist trunk page %d:\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Next freelist trunk page\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Number of entries on this page\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"[%d]\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c" %5s %7u\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @decode_trunk_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @decode_trunk_page(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca [10 x i8], align 1 %5 = icmp sgt i32 %0, 0 br i1 %5, label %6, label %52 6: ; preds = %3 %7 = icmp eq i32 %1, 0 %8 = icmp eq i32 %2, 0 br label %9 9: ; preds = %6, %48 %10 = phi i32 [ %0, %6 ], [ %49, %48 ] %11 = add nsw i32 %10, -1 %12 = load i32, ptr @g, align 4, !tbaa !5 %13 = mul nsw i32 %12, %11 %14 = call ptr @fileRead(i32 noundef %13, i32 noundef %12) #5 %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %10) %16 = call i32 @print_decode_line(ptr noundef %14, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.1) #5 %17 = call i32 @print_decode_line(ptr noundef %14, i32 noundef 4, i32 noundef 4, ptr noundef nonnull @.str.2) #5 br i1 %7, label %45, label %18 18: ; preds = %9 %19 = getelementptr inbounds i8, ptr %14, i64 4 %20 = call i32 @decodeInt32(ptr noundef nonnull %19) #5 %21 = getelementptr i8, ptr %14, i64 8 %22 = icmp sgt i32 %20, 0 br i1 %22, label %23, label %45 23: ; preds = %18 %24 = zext nneg i32 %20 to i64 br label %25 25: ; preds = %23, %37 %26 = phi i64 [ 0, %23 ], [ %38, %37 ] %27 = shl nsw i64 %26, 2 %28 = getelementptr i8, ptr %21, i64 %27 %29 = call i32 @decodeInt32(ptr noundef %28) #5 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #5 %30 = trunc i64 %26 to i32 %31 = call i32 @sprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef %30) #5 %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %4, i32 noundef %29) %33 = urem i32 %30, 5 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %37 35: ; preds = %25 %36 = call i32 @putchar(i32 10) br label %37 37: ; preds = %35, %25 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #5 %38 = add nuw nsw i64 %26, 1 %39 = icmp eq i64 %38, %24 br i1 %39, label %40, label %25, !llvm.loop !10 40: ; preds = %37 %41 = urem i32 %20, 5 %42 = icmp eq i32 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %40 %44 = call i32 @putchar(i32 10) br label %45 45: ; preds = %18, %40, %43, %9 br i1 %8, label %46, label %48 46: ; preds = %45 %47 = call i32 @sqlite3_free(ptr noundef %14) #5 br label %52 48: ; preds = %45 %49 = call i32 @decodeInt32(ptr noundef %14) #5 %50 = call i32 @sqlite3_free(ptr noundef %14) #5 %51 = icmp sgt i32 %49, 0 br i1 %51, label %9, label %52, !llvm.loop !12 52: ; preds = %48, %46, %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 @fileRead(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 declare i32 @print_decode_line(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @decodeInt32(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
; ModuleID = 'AnghaBench/sqlcipher/tool/extr_showdb.c_decode_trunk_page.c' source_filename = "AnghaBench/sqlcipher/tool/extr_showdb.c_decode_trunk_page.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 } @g = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @.str = private unnamed_addr constant [35 x i8] c"Decode of freelist trunk page %d:\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Next freelist trunk page\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Number of entries on this page\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"[%d]\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c" %5s %7u\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @decode_trunk_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @decode_trunk_page(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca [10 x i8], align 1 %5 = icmp sgt i32 %0, 0 br i1 %5, label %6, label %52 6: ; preds = %3 %7 = icmp eq i32 %1, 0 %8 = icmp eq i32 %2, 0 br label %9 9: ; preds = %6, %48 %10 = phi i32 [ %0, %6 ], [ %49, %48 ] %11 = add nsw i32 %10, -1 %12 = load i32, ptr @g, align 4, !tbaa !6 %13 = mul nsw i32 %12, %11 %14 = call ptr @fileRead(i32 noundef %13, i32 noundef %12) #5 %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %10) %16 = call i32 @print_decode_line(ptr noundef %14, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.1) #5 %17 = call i32 @print_decode_line(ptr noundef %14, i32 noundef 4, i32 noundef 4, ptr noundef nonnull @.str.2) #5 br i1 %7, label %45, label %18 18: ; preds = %9 %19 = getelementptr inbounds i8, ptr %14, i64 4 %20 = call i32 @decodeInt32(ptr noundef nonnull %19) #5 %21 = getelementptr inbounds i8, ptr %14, i64 8 %22 = icmp sgt i32 %20, 0 br i1 %22, label %23, label %45 23: ; preds = %18 %24 = zext nneg i32 %20 to i64 br label %25 25: ; preds = %23, %37 %26 = phi i64 [ 0, %23 ], [ %38, %37 ] %27 = shl nsw i64 %26, 2 %28 = getelementptr inbounds i8, ptr %21, i64 %27 %29 = call i32 @decodeInt32(ptr noundef nonnull %28) #5 call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %4) #5 %30 = trunc nuw nsw i64 %26 to i32 %31 = call i32 @sprintf(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, i32 noundef %30) #5 %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %4, i32 noundef %29) %33 = urem i32 %30, 5 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %37 35: ; preds = %25 %36 = call i32 @putchar(i32 10) br label %37 37: ; preds = %35, %25 call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %4) #5 %38 = add nuw nsw i64 %26, 1 %39 = icmp eq i64 %38, %24 br i1 %39, label %40, label %25, !llvm.loop !11 40: ; preds = %37 %41 = urem i32 %20, 5 %42 = icmp eq i32 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %40 %44 = call i32 @putchar(i32 10) br label %45 45: ; preds = %18, %40, %43, %9 br i1 %8, label %46, label %48 46: ; preds = %45 %47 = call i32 @sqlite3_free(ptr noundef %14) #5 br label %52 48: ; preds = %45 %49 = call i32 @decodeInt32(ptr noundef %14) #5 %50 = call i32 @sqlite3_free(ptr noundef %14) #5 %51 = icmp sgt i32 %49, 0 br i1 %51, label %9, label %52, !llvm.loop !13 52: ; preds = %48, %46, %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 @fileRead(i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3 declare i32 @print_decode_line(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @decodeInt32(ptr noundef) local_unnamed_addr #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nofree nounwind } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
sqlcipher_tool_extr_showdb.c_decode_trunk_page
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_nuv.c_nuv_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_nuv.c_nuv_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_17__ = type { i32, ptr, ptr } %struct.TYPE_16__ = type { i32, ptr, ptr, ptr, ptr } %struct.TYPE_14__ = type { i64, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_15__ = type { i32, i32, i32 } @.str = private unnamed_addr constant [12 x i8] c"MythTVVideo\00", align 1 @AV_EF_EXPLODE = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Invalid frame rate %f\0A\00", align 1 @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @AV_LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Invalid frame rate %f, setting to 0.\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @AVMEDIA_TYPE_VIDEO = dso_local local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_NUV = dso_local local_unnamed_addr global i64 0, align 8 @AVMEDIA_TYPE_AUDIO = dso_local local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_PCM_S16LE = dso_local local_unnamed_addr global i64 0, align 8 @AV_CH_LAYOUT_STEREO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nuv_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nuv_header(ptr noundef %0) #0 { %2 = alloca [12 x i8], align 1 %3 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %7 = call i32 @avio_read(ptr noundef %6, ptr noundef nonnull %2, i32 noundef 12) #3 %8 = call i32 @memcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef 12) #3 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @avio_skip(ptr noundef %6, i32 noundef 5) #3 %12 = call i32 @avio_skip(ptr noundef %6, i32 noundef 3) #3 %13 = call i32 @avio_rl32(ptr noundef %6) #3 %14 = call i32 @avio_rl32(ptr noundef %6) #3 %15 = call i32 @avio_rl32(ptr noundef %6) #3 %16 = call i32 @avio_rl32(ptr noundef %6) #3 %17 = call i32 @avio_r8(ptr noundef %6) #3 %18 = call i32 @avio_skip(ptr noundef %6, i32 noundef 3) #3 %19 = call i32 @avio_rl64(ptr noundef %6) #3 %20 = call double @av_int2double(i32 noundef %19) #3 %21 = fcmp ogt double %20, 9.999000e-01 %22 = fcmp olt double %20, 1.000100e+00 %23 = and i1 %21, %22 %24 = select i1 %23, double 0x3FF5555555555555, double %20 %25 = call i32 @avio_rl64(ptr noundef %6) #3 %26 = call double @av_int2double(i32 noundef %25) #3 %27 = fcmp olt double %26, 0.000000e+00 br i1 %27, label %28, label %40 28: ; preds = %1 %29 = load i32, ptr %0, align 8, !tbaa !12 %30 = load i32, ptr @AV_EF_EXPLODE, align 4, !tbaa !13 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %28 %34 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !13 %35 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull @.str.1, double noundef %26) #3 %36 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !13 br label %116 37: ; preds = %28 %38 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !13 %39 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %38, ptr noundef nonnull @.str.2, double noundef %26) #3 br label %40 40: ; preds = %37, %1 %41 = phi double [ 0.000000e+00, %37 ], [ %26, %1 ] %42 = call i32 @avio_rl32(ptr noundef %6) #3 %43 = call i32 @avio_rl32(ptr noundef %6) #3 %44 = call i32 @avio_rl32(ptr noundef %6) #3 %45 = call i32 @avio_rl32(ptr noundef %6) #3 %46 = icmp eq i32 %42, 0 br i1 %46, label %75, label %47 47: ; preds = %40 %48 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %52 = call i32 @AVERROR(i32 noundef %51) #3 br label %116 53: ; preds = %47 %54 = load i32, ptr %48, align 8, !tbaa !14 store i32 %54, ptr %4, align 4, !tbaa !16 %55 = call i32 @av_image_check_size(i32 noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %0) #3 %56 = icmp slt i32 %55, 0 br i1 %56, label %116, label %57 57: ; preds = %53 %58 = load i32, ptr @AVMEDIA_TYPE_VIDEO, align 4, !tbaa !13 %59 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 1 %60 = load ptr, ptr %59, align 8, !tbaa !18 %61 = getelementptr inbounds %struct.TYPE_14__, ptr %60, i64 0, i32 9 store i32 %58, ptr %61, align 8, !tbaa !19 %62 = load i64, ptr @AV_CODEC_ID_NUV, align 8, !tbaa !22 store i64 %62, ptr %60, align 8, !tbaa !23 %63 = getelementptr inbounds %struct.TYPE_14__, ptr %60, i64 0, i32 1 store i32 %13, ptr %63, align 8, !tbaa !24 %64 = getelementptr inbounds %struct.TYPE_14__, ptr %60, i64 0, i32 2 store i32 %14, ptr %64, align 4, !tbaa !25 %65 = getelementptr inbounds %struct.TYPE_14__, ptr %60, i64 0, i32 3 store i32 10, ptr %65, align 8, !tbaa !26 %66 = sitofp i32 %14 to double %67 = fmul double %24, %66 %68 = sitofp i32 %13 to double %69 = fdiv double %67, %68 %70 = call ptr @av_d2q(double noundef %69, i32 noundef 10000) #3 %71 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 4 store ptr %70, ptr %71, align 8, !tbaa !27 %72 = call ptr @av_d2q(double noundef %41, i32 noundef 60000) #3 %73 = getelementptr inbounds %struct.TYPE_16__, ptr %48, i64 0, i32 2 store ptr %72, ptr %73, align 8, !tbaa !28 %74 = call i32 @avpriv_set_pts_info(ptr noundef nonnull %48, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 br label %76 75: ; preds = %40 store i32 -1, ptr %4, align 4, !tbaa !16 br label %76 76: ; preds = %75, %57 %77 = phi ptr [ %48, %57 ], [ null, %75 ] %78 = icmp eq i32 %43, 0 br i1 %78, label %98, label %79 79: ; preds = %76 %80 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %79 %83 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %84 = call i32 @AVERROR(i32 noundef %83) #3 br label %116 85: ; preds = %79 %86 = load i32, ptr %80, align 8, !tbaa !14 %87 = getelementptr inbounds %struct.TYPE_15__, ptr %4, i64 0, i32 1 store i32 %86, ptr %87, align 4, !tbaa !29 %88 = load i32, ptr @AVMEDIA_TYPE_AUDIO, align 4, !tbaa !13 %89 = getelementptr inbounds %struct.TYPE_16__, ptr %80, i64 0, i32 1 %90 = load ptr, ptr %89, align 8, !tbaa !18 %91 = getelementptr inbounds %struct.TYPE_14__, ptr %90, i64 0, i32 9 store i32 %88, ptr %91, align 8, !tbaa !19 %92 = load i64, ptr @AV_CODEC_ID_PCM_S16LE, align 8, !tbaa !22 store i64 %92, ptr %90, align 8, !tbaa !23 %93 = load i32, ptr @AV_CH_LAYOUT_STEREO, align 4, !tbaa !13 %94 = getelementptr inbounds %struct.TYPE_14__, ptr %90, i64 0, i32 8 store i32 %93, ptr %94, align 4, !tbaa !30 %95 = getelementptr inbounds %struct.TYPE_14__, ptr %90, i64 0, i32 7 store i32 4, ptr %95, align 8, !tbaa !31 %96 = getelementptr inbounds %struct.TYPE_14__, ptr %90, i64 0, i32 3 store <4 x i32> <i32 16, i32 2, i32 44100, i32 1411200>, ptr %96, align 8, !tbaa !13 %97 = call i32 @avpriv_set_pts_info(ptr noundef nonnull %80, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 br label %100 98: ; preds = %76 %99 = getelementptr inbounds %struct.TYPE_15__, ptr %4, i64 0, i32 1 store i32 -1, ptr %99, align 4, !tbaa !29 br label %100 100: ; preds = %98, %85 %101 = phi ptr [ %80, %85 ], [ null, %98 ] %102 = call i32 @get_codec_data(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %77, ptr noundef %101, i32 noundef %10) #3 %103 = icmp slt i32 %102, 0 br i1 %103, label %116, label %104 104: ; preds = %100 %105 = icmp eq ptr %77, null br i1 %105, label %113, label %106 106: ; preds = %104 %107 = getelementptr inbounds %struct.TYPE_16__, ptr %77, i64 0, i32 1 %108 = load ptr, ptr %107, align 8, !tbaa !18 %109 = load i64, ptr %108, align 8, !tbaa !23 %110 = load i64, ptr @AV_CODEC_ID_NUV, align 8, !tbaa !22 %111 = icmp eq i64 %109, %110 %112 = zext i1 %111 to i32 br label %113 113: ; preds = %106, %104 %114 = phi i32 [ 0, %104 ], [ %112, %106 ] %115 = getelementptr inbounds %struct.TYPE_15__, ptr %4, i64 0, i32 2 store i32 %114, ptr %115, align 4, !tbaa !32 br label %116 116: ; preds = %100, %53, %113, %82, %50, %33 %117 = phi i32 [ %36, %33 ], [ 0, %113 ], [ %84, %82 ], [ %52, %50 ], [ %55, %53 ], [ %102, %100 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret i32 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @avio_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_skip(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_rl32(ptr noundef) local_unnamed_addr #2 declare i32 @avio_r8(ptr noundef) local_unnamed_addr #2 declare double @av_int2double(i32 noundef) local_unnamed_addr #2 declare i32 @avio_rl64(ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, double noundef) local_unnamed_addr #2 declare ptr @avformat_new_stream(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_image_check_size(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_d2q(double noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_codec_data(ptr 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, !10, i64 16} !6 = !{!"TYPE_17__", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!6, !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_16__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_15__", !7, i64 0, !7, i64 4, !7, i64 8} !18 = !{!15, !10, i64 8} !19 = !{!20, !7, i64 40} !20 = !{!"TYPE_14__", !21, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40} !21 = !{!"long", !8, i64 0} !22 = !{!21, !21, i64 0} !23 = !{!20, !21, i64 0} !24 = !{!20, !7, i64 8} !25 = !{!20, !7, i64 12} !26 = !{!20, !7, i64 16} !27 = !{!15, !10, i64 32} !28 = !{!15, !10, i64 16} !29 = !{!17, !7, i64 4} !30 = !{!20, !7, i64 36} !31 = !{!20, !7, i64 32} !32 = !{!17, !7, i64 8}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_nuv.c_nuv_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_nuv.c_nuv_header.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"MythTVVideo\00", align 1 @AV_EF_EXPLODE = common local_unnamed_addr global i32 0, align 4 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Invalid frame rate %f\0A\00", align 1 @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @AV_LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Invalid frame rate %f, setting to 0.\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @AVMEDIA_TYPE_VIDEO = common local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_NUV = common local_unnamed_addr global i64 0, align 8 @AVMEDIA_TYPE_AUDIO = common local_unnamed_addr global i32 0, align 4 @AV_CODEC_ID_PCM_S16LE = common local_unnamed_addr global i64 0, align 8 @AV_CH_LAYOUT_STEREO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nuv_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nuv_header(ptr noundef %0) #0 { %2 = alloca [12 x i8], align 1 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #3 %7 = call i32 @avio_read(ptr noundef %6, ptr noundef nonnull %2, i32 noundef 12) #3 %8 = call i32 @memcmp(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef 12) #3 %9 = icmp eq i32 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @avio_skip(ptr noundef %6, i32 noundef 5) #3 %12 = call i32 @avio_skip(ptr noundef %6, i32 noundef 3) #3 %13 = call i32 @avio_rl32(ptr noundef %6) #3 %14 = call i32 @avio_rl32(ptr noundef %6) #3 %15 = call i32 @avio_rl32(ptr noundef %6) #3 %16 = call i32 @avio_rl32(ptr noundef %6) #3 %17 = call i32 @avio_r8(ptr noundef %6) #3 %18 = call i32 @avio_skip(ptr noundef %6, i32 noundef 3) #3 %19 = call i32 @avio_rl64(ptr noundef %6) #3 %20 = call double @av_int2double(i32 noundef %19) #3 %21 = fcmp ogt double %20, 9.999000e-01 %22 = fcmp olt double %20, 1.000100e+00 %23 = and i1 %21, %22 %24 = select i1 %23, double 0x3FF5555555555555, double %20 %25 = call i32 @avio_rl64(ptr noundef %6) #3 %26 = call double @av_int2double(i32 noundef %25) #3 %27 = fcmp olt double %26, 0.000000e+00 br i1 %27, label %28, label %40 28: ; preds = %1 %29 = load i32, ptr %0, align 8, !tbaa !13 %30 = load i32, ptr @AV_EF_EXPLODE, align 4, !tbaa !14 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %37, label %33 33: ; preds = %28 %34 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !14 %35 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %34, ptr noundef nonnull @.str.1, double noundef %26) #3 %36 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !14 br label %116 37: ; preds = %28 %38 = load i32, ptr @AV_LOG_WARNING, align 4, !tbaa !14 %39 = call i32 @av_log(ptr noundef nonnull %0, i32 noundef %38, ptr noundef nonnull @.str.2, double noundef %26) #3 br label %40 40: ; preds = %37, %1 %41 = phi double [ 0.000000e+00, %37 ], [ %26, %1 ] %42 = call i32 @avio_rl32(ptr noundef %6) #3 %43 = call i32 @avio_rl32(ptr noundef %6) #3 %44 = call i32 @avio_rl32(ptr noundef %6) #3 %45 = call i32 @avio_rl32(ptr noundef %6) #3 %46 = icmp eq i32 %42, 0 br i1 %46, label %75, label %47 47: ; preds = %40 %48 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %52 = call i32 @AVERROR(i32 noundef %51) #3 br label %116 53: ; preds = %47 %54 = load i32, ptr %48, align 8, !tbaa !15 store i32 %54, ptr %4, align 4, !tbaa !17 %55 = call i32 @av_image_check_size(i32 noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef nonnull %0) #3 %56 = icmp slt i32 %55, 0 br i1 %56, label %116, label %57 57: ; preds = %53 %58 = load i32, ptr @AVMEDIA_TYPE_VIDEO, align 4, !tbaa !14 %59 = getelementptr inbounds i8, ptr %48, i64 8 %60 = load ptr, ptr %59, align 8, !tbaa !19 %61 = getelementptr inbounds i8, ptr %60, i64 40 store i32 %58, ptr %61, align 8, !tbaa !20 %62 = load i64, ptr @AV_CODEC_ID_NUV, align 8, !tbaa !23 store i64 %62, ptr %60, align 8, !tbaa !24 %63 = getelementptr inbounds i8, ptr %60, i64 8 store i32 %13, ptr %63, align 8, !tbaa !25 %64 = getelementptr inbounds i8, ptr %60, i64 12 store i32 %14, ptr %64, align 4, !tbaa !26 %65 = getelementptr inbounds i8, ptr %60, i64 16 store i32 10, ptr %65, align 8, !tbaa !27 %66 = sitofp i32 %14 to double %67 = fmul double %24, %66 %68 = sitofp i32 %13 to double %69 = fdiv double %67, %68 %70 = call ptr @av_d2q(double noundef %69, i32 noundef 10000) #3 %71 = getelementptr inbounds i8, ptr %48, i64 32 store ptr %70, ptr %71, align 8, !tbaa !28 %72 = call ptr @av_d2q(double noundef %41, i32 noundef 60000) #3 %73 = getelementptr inbounds i8, ptr %48, i64 16 store ptr %72, ptr %73, align 8, !tbaa !29 %74 = call i32 @avpriv_set_pts_info(ptr noundef nonnull %48, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 br label %76 75: ; preds = %40 store i32 -1, ptr %4, align 4, !tbaa !17 br label %76 76: ; preds = %75, %57 %77 = phi ptr [ %48, %57 ], [ null, %75 ] %78 = icmp eq i32 %43, 0 br i1 %78, label %98, label %79 79: ; preds = %76 %80 = call ptr @avformat_new_stream(ptr noundef nonnull %0, ptr noundef null) #3 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %85 82: ; preds = %79 %83 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %84 = call i32 @AVERROR(i32 noundef %83) #3 br label %116 85: ; preds = %79 %86 = load i32, ptr %80, align 8, !tbaa !15 %87 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %86, ptr %87, align 4, !tbaa !30 %88 = load i32, ptr @AVMEDIA_TYPE_AUDIO, align 4, !tbaa !14 %89 = getelementptr inbounds i8, ptr %80, i64 8 %90 = load ptr, ptr %89, align 8, !tbaa !19 %91 = getelementptr inbounds i8, ptr %90, i64 40 store i32 %88, ptr %91, align 8, !tbaa !20 %92 = load i64, ptr @AV_CODEC_ID_PCM_S16LE, align 8, !tbaa !23 store i64 %92, ptr %90, align 8, !tbaa !24 %93 = load i32, ptr @AV_CH_LAYOUT_STEREO, align 4, !tbaa !14 %94 = getelementptr inbounds i8, ptr %90, i64 36 store i32 %93, ptr %94, align 4, !tbaa !31 %95 = getelementptr inbounds i8, ptr %90, i64 32 store i32 4, ptr %95, align 8, !tbaa !32 %96 = getelementptr inbounds i8, ptr %90, i64 16 store <4 x i32> <i32 16, i32 2, i32 44100, i32 1411200>, ptr %96, align 8, !tbaa !14 %97 = call i32 @avpriv_set_pts_info(ptr noundef nonnull %80, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 br label %100 98: ; preds = %76 %99 = getelementptr inbounds i8, ptr %4, i64 4 store i32 -1, ptr %99, align 4, !tbaa !30 br label %100 100: ; preds = %98, %85 %101 = phi ptr [ %80, %85 ], [ null, %98 ] %102 = call i32 @get_codec_data(ptr noundef nonnull %0, ptr noundef %6, ptr noundef %77, ptr noundef %101, i32 noundef %10) #3 %103 = icmp slt i32 %102, 0 br i1 %103, label %116, label %104 104: ; preds = %100 %105 = icmp eq ptr %77, null br i1 %105, label %113, label %106 106: ; preds = %104 %107 = getelementptr inbounds i8, ptr %77, i64 8 %108 = load ptr, ptr %107, align 8, !tbaa !19 %109 = load i64, ptr %108, align 8, !tbaa !24 %110 = load i64, ptr @AV_CODEC_ID_NUV, align 8, !tbaa !23 %111 = icmp eq i64 %109, %110 %112 = zext i1 %111 to i32 br label %113 113: ; preds = %106, %104 %114 = phi i32 [ 0, %104 ], [ %112, %106 ] %115 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %114, ptr %115, align 4, !tbaa !33 br label %116 116: ; preds = %100, %53, %113, %82, %50, %33 %117 = phi i32 [ %36, %33 ], [ 0, %113 ], [ %84, %82 ], [ %52, %50 ], [ %55, %53 ], [ %102, %100 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #3 ret i32 %117 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @avio_read(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_skip(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avio_rl32(ptr noundef) local_unnamed_addr #2 declare i32 @avio_r8(ptr noundef) local_unnamed_addr #2 declare double @av_int2double(i32 noundef) local_unnamed_addr #2 declare i32 @avio_rl64(ptr noundef) local_unnamed_addr #2 declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef, double noundef) local_unnamed_addr #2 declare ptr @avformat_new_stream(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @AVERROR(i32 noundef) local_unnamed_addr #2 declare i32 @av_image_check_size(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @av_d2q(double noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_codec_data(ptr 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, !11, i64 16} !7 = !{!"TYPE_17__", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!7, !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"TYPE_16__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_15__", !8, i64 0, !8, i64 4, !8, i64 8} !19 = !{!16, !11, i64 8} !20 = !{!21, !8, i64 40} !21 = !{!"TYPE_14__", !22, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40} !22 = !{!"long", !9, i64 0} !23 = !{!22, !22, i64 0} !24 = !{!21, !22, i64 0} !25 = !{!21, !8, i64 8} !26 = !{!21, !8, i64 12} !27 = !{!21, !8, i64 16} !28 = !{!16, !11, i64 32} !29 = !{!16, !11, i64 16} !30 = !{!18, !8, i64 4} !31 = !{!21, !8, i64 36} !32 = !{!21, !8, i64 32} !33 = !{!18, !8, i64 8}
FFmpeg_libavformat_extr_nuv.c_nuv_header
; ModuleID = 'AnghaBench/robotjs/src/extr_MMBitmap.c_copyMMBitmapFromPortion.c' source_filename = "AnghaBench/robotjs/src/extr_MMBitmap.c_copyMMBitmapFromPortion.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { %struct.TYPE_12__, %struct.TYPE_11__ } %struct.TYPE_12__ = type { i64, i32 } %struct.TYPE_11__ = type { i64, i64 } %struct.TYPE_14__ = type { i64, i64, i64, i32, ptr } ; Function Attrs: nounwind uwtable define dso_local ptr @copyMMBitmapFromPortion(ptr noundef %0, ptr noundef byval(%struct.TYPE_13__) align 8 %1) local_unnamed_addr #0 { %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #3 %6 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 4 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %46, label %9 9: ; preds = %2 %10 = tail call i32 @MMBitmapRectInBounds(ptr noundef nonnull %0, ptr noundef nonnull byval(%struct.TYPE_13__) align 8 %1) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %46, label %12 12: ; preds = %9 %13 = load i64, ptr %1, align 8, !tbaa !12 %14 = load i64, ptr %0, align 8, !tbaa !16 %15 = mul i64 %14, %13 %16 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = mul i64 %17, %14 %19 = getelementptr inbounds %struct.TYPE_13__, ptr %1, i64 0, i32 1, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %22 = load i64, ptr %21, align 8, !tbaa !19 %23 = mul i64 %22, %20 %24 = add i64 %23, %18 %25 = add i64 %24, %15 %26 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2 %27 = load i64, ptr %26, align 8, !tbaa !20 %28 = mul i64 %27, %14 %29 = icmp ule i64 %25, %28 %30 = zext i1 %29 to i32 %31 = tail call i32 @assert(i32 noundef %30) #3 %32 = tail call ptr @malloc(i64 noundef %15) %33 = icmp eq ptr %32, null br i1 %33, label %46, label %34 34: ; preds = %12 %35 = load ptr, ptr %6, align 8, !tbaa !5 %36 = getelementptr inbounds i32, ptr %35, i64 %24 %37 = tail call i32 @memcpy(ptr noundef nonnull %32, ptr noundef %36, i64 noundef %15) #3 %38 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %39 = load i32, ptr %38, align 8, !tbaa !21 %40 = load i64, ptr %1, align 8, !tbaa !12 %41 = load i64, ptr %0, align 8, !tbaa !16 %42 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 3 %43 = load i32, ptr %42, align 8, !tbaa !22 %44 = load i64, ptr %21, align 8, !tbaa !19 %45 = tail call ptr @createMMBitmap(ptr noundef nonnull %32, i32 noundef %39, i64 noundef %40, i64 noundef %41, i32 noundef %43, i64 noundef %44) #3 br label %46 46: ; preds = %34, %12, %2, %9 %47 = phi ptr [ null, %9 ], [ null, %2 ], [ %45, %34 ], [ null, %12 ] ret ptr %47 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @MMBitmapRectInBounds(ptr noundef, ptr noundef byval(%struct.TYPE_13__) align 8) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @createMMBitmap(ptr noundef, i32 noundef, i64 noundef, i64 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 32} !6 = !{!"TYPE_14__", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_13__", !14, i64 0, !15, i64 16} !14 = !{!"TYPE_12__", !7, i64 0, !10, i64 8} !15 = !{!"TYPE_11__", !7, i64 0, !7, i64 8} !16 = !{!6, !7, i64 0} !17 = !{!13, !7, i64 16} !18 = !{!13, !7, i64 24} !19 = !{!6, !7, i64 8} !20 = !{!6, !7, i64 16} !21 = !{!13, !10, i64 8} !22 = !{!6, !10, i64 24}
; ModuleID = 'AnghaBench/robotjs/src/extr_MMBitmap.c_copyMMBitmapFromPortion.c' source_filename = "AnghaBench/robotjs/src/extr_MMBitmap.c_copyMMBitmapFromPortion.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { %struct.TYPE_12__, %struct.TYPE_11__ } %struct.TYPE_12__ = type { i64, i32 } %struct.TYPE_11__ = type { i64, i64 } ; Function Attrs: nounwind ssp uwtable(sync) define ptr @copyMMBitmapFromPortion(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_13__, align 8 %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #5 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = icmp eq ptr %8, null br i1 %9, label %47, label %10 10: ; preds = %2 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !13 %11 = call i32 @MMBitmapRectInBounds(ptr noundef nonnull %0, ptr noundef nonnull %3) #5 call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5 %12 = icmp eq i32 %11, 0 br i1 %12, label %47, label %13 13: ; preds = %10 %14 = load i64, ptr %1, align 8, !tbaa !16 %15 = load i64, ptr %0, align 8, !tbaa !20 %16 = mul i64 %15, %14 %17 = getelementptr inbounds i8, ptr %1, i64 16 %18 = load i64, ptr %17, align 8, !tbaa !21 %19 = mul i64 %18, %15 %20 = getelementptr inbounds i8, ptr %1, i64 24 %21 = load i64, ptr %20, align 8, !tbaa !22 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !23 %24 = mul i64 %23, %21 %25 = add i64 %24, %19 %26 = add i64 %25, %16 %27 = getelementptr inbounds i8, ptr %0, i64 16 %28 = load i64, ptr %27, align 8, !tbaa !24 %29 = mul i64 %28, %15 %30 = icmp ule i64 %26, %29 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) #5 %33 = call ptr @malloc(i64 noundef %16) %34 = icmp eq ptr %33, null br i1 %34, label %47, label %35 35: ; preds = %13 %36 = load ptr, ptr %7, align 8, !tbaa !6 %37 = getelementptr inbounds i32, ptr %36, i64 %25 %38 = call i32 @memcpy(ptr noundef nonnull %33, ptr noundef %37, i64 noundef %16) #5 %39 = getelementptr inbounds i8, ptr %1, i64 8 %40 = load i32, ptr %39, align 8, !tbaa !25 %41 = load i64, ptr %1, align 8, !tbaa !16 %42 = load i64, ptr %0, align 8, !tbaa !20 %43 = getelementptr inbounds i8, ptr %0, i64 24 %44 = load i32, ptr %43, align 8, !tbaa !26 %45 = load i64, ptr %22, align 8, !tbaa !23 %46 = call ptr @createMMBitmap(ptr noundef nonnull %33, i32 noundef %40, i64 noundef %41, i64 noundef %42, i32 noundef %44, i64 noundef %45) #5 br label %47 47: ; preds = %35, %13, %2, %10 %48 = phi ptr [ null, %10 ], [ null, %2 ], [ %46, %35 ], [ null, %13 ] ret ptr %48 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @MMBitmapRectInBounds(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @createMMBitmap(ptr noundef, i32 noundef, i64 noundef, i64 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 32} !7 = !{!"TYPE_14__", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !12, i64 32} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{i64 0, i64 8, !14, i64 8, i64 4, !15, i64 16, i64 8, !14, i64 24, i64 8, !14} !14 = !{!8, !8, i64 0} !15 = !{!11, !11, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_13__", !18, i64 0, !19, i64 16} !18 = !{!"TYPE_12__", !8, i64 0, !11, i64 8} !19 = !{!"TYPE_11__", !8, i64 0, !8, i64 8} !20 = !{!7, !8, i64 0} !21 = !{!17, !8, i64 16} !22 = !{!17, !8, i64 24} !23 = !{!7, !8, i64 8} !24 = !{!7, !8, i64 16} !25 = !{!17, !11, i64 8} !26 = !{!7, !11, i64 24}
robotjs_src_extr_MMBitmap.c_copyMMBitmapFromPortion
; ModuleID = 'AnghaBench/h2o/deps/quicly/src/extr_cli.c_validate_token.c' source_filename = "AnghaBench/h2o/deps/quicly/src/extr_cli.c_validate_token.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { ptr } %struct.TYPE_21__ = type { i64, %struct.TYPE_20__, i64, %struct.TYPE_19__ } %struct.TYPE_20__ = type { i64 } %struct.TYPE_19__ = type { %struct.TYPE_18__, %struct.TYPE_17__, %struct.TYPE_14__ } %struct.TYPE_18__ = type { i32, i32 } %struct.TYPE_17__ = type { i32, %struct.TYPE_16__ } %struct.TYPE_16__ = type { i32 } %struct.TYPE_14__ = type { i32 } %struct.sockaddr_in = type { i32, %struct.TYPE_15__ } %struct.TYPE_15__ = type { i32 } %struct.sockaddr_in6 = type { i32, i32 } @ctx = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @ptls_openssl_sha256 = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @validate_token], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @validate_token(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = load ptr, ptr @ctx, align 8, !tbaa !5 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = tail call i64 %7(ptr noundef nonnull %6) #3 %9 = load i64, ptr %3, align 8, !tbaa !12 %10 = sub nsw i64 %8, %9 %11 = load i32, ptr %0, align 4, !tbaa !22 %12 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 3 %13 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 3, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !23 %15 = icmp eq i32 %11, %14 br i1 %15, label %16, label %55 16: ; preds = %4 switch i32 %11, label %55 [ i32 129, label %17 i32 128, label %25 ] 17: ; preds = %16 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !24 %20 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 3, i32 1, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !27 %22 = icmp eq i32 %19, %21 br i1 %22, label %23, label %55 23: ; preds = %17 %24 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 3, i32 1 br label %32 25: ; preds = %16 %26 = getelementptr inbounds %struct.sockaddr_in6, ptr %0, i64 0, i32 1 %27 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 3, i32 0, i32 1 %28 = tail call i32 @memcmp(ptr noundef nonnull %26, ptr noundef nonnull %27, i32 noundef 4) #3 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %55 30: ; preds = %25 %31 = load i32, ptr %12, align 8, !tbaa !28 br label %32 32: ; preds = %30, %23 %33 = phi i32 [ %31, %30 ], [ 129, %23 ] %34 = phi ptr [ %0, %30 ], [ %24, %23 ] %35 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 2 %36 = load i64, ptr %35, align 8, !tbaa !29 %37 = icmp eq i64 %36, 0 br i1 %37, label %51, label %38 38: ; preds = %32 %39 = load i32, ptr %34, align 4, !tbaa !22 %40 = icmp eq i32 %39, %33 %41 = icmp slt i64 %10, 30001 %42 = select i1 %41, i1 %40, i1 false br i1 %42, label %43, label %55 43: ; preds = %38 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %44 = call i64 @quicly_retry_calc_cidpair_hash(ptr noundef nonnull @ptls_openssl_sha256, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %5) #3 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %54 46: ; preds = %43 %47 = getelementptr inbounds %struct.TYPE_21__, ptr %3, i64 0, i32 1 %48 = load i64, ptr %47, align 8, !tbaa !30 %49 = load i64, ptr %5, align 8, !tbaa !31 %50 = icmp eq i64 %48, %49 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br i1 %50, label %53, label %55 51: ; preds = %32 %52 = icmp sgt i64 %10, 600000 br i1 %52, label %55, label %53 53: ; preds = %51, %46 br label %55 54: ; preds = %43 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %55 55: ; preds = %25, %17, %51, %54, %38, %16, %4, %46, %53 %56 = phi i32 [ 1, %53 ], [ 0, %46 ], [ 0, %4 ], [ 0, %16 ], [ 0, %38 ], [ 0, %54 ], [ 0, %51 ], [ 0, %17 ], [ 0, %25 ] ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @quicly_retry_calc_cidpair_hash(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_13__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_12__", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_21__", !14, i64 0, !15, i64 8, !14, i64 16, !16, i64 24} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_20__", !14, i64 0} !16 = !{!"TYPE_19__", !17, i64 0, !19, i64 8, !21, i64 16} !17 = !{!"TYPE_18__", !18, i64 0, !18, i64 4} !18 = !{!"int", !8, i64 0} !19 = !{!"TYPE_17__", !18, i64 0, !20, i64 4} !20 = !{!"TYPE_16__", !18, i64 0} !21 = !{!"TYPE_14__", !18, i64 0} !22 = !{!18, !18, i64 0} !23 = !{!13, !18, i64 40} !24 = !{!25, !18, i64 4} !25 = !{!"sockaddr_in", !18, i64 0, !26, i64 4} !26 = !{!"TYPE_15__", !18, i64 0} !27 = !{!13, !18, i64 36} !28 = !{!13, !18, i64 24} !29 = !{!13, !14, i64 16} !30 = !{!13, !14, i64 8} !31 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/h2o/deps/quicly/src/extr_cli.c_validate_token.c' source_filename = "AnghaBench/h2o/deps/quicly/src/extr_cli.c_validate_token.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { ptr } @ctx = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 8 @ptls_openssl_sha256 = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @validate_token], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @validate_token(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = load ptr, ptr @ctx, align 8, !tbaa !6 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = tail call i64 %7(ptr noundef nonnull %6) #3 %9 = load i64, ptr %3, align 8, !tbaa !13 %10 = sub nsw i64 %8, %9 %11 = load i32, ptr %0, align 4, !tbaa !23 %12 = getelementptr inbounds i8, ptr %3, i64 24 %13 = getelementptr inbounds i8, ptr %3, i64 40 %14 = load i32, ptr %13, align 8, !tbaa !24 %15 = icmp eq i32 %11, %14 br i1 %15, label %16, label %56 16: ; preds = %4 switch i32 %11, label %56 [ i32 129, label %17 i32 128, label %27 ] 17: ; preds = %16 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !25 %20 = getelementptr inbounds i8, ptr %3, i64 36 %21 = load i32, ptr %20, align 4, !tbaa !28 %22 = icmp eq i32 %19, %21 br i1 %22, label %23, label %56 23: ; preds = %17 %24 = getelementptr inbounds i8, ptr %3, i64 32 %25 = load i32, ptr %24, align 8, !tbaa !29 %26 = icmp eq i32 %25, 129 br label %36 27: ; preds = %16 %28 = getelementptr inbounds i8, ptr %0, i64 4 %29 = getelementptr inbounds i8, ptr %3, i64 28 %30 = tail call i32 @memcmp(ptr noundef nonnull %28, ptr noundef nonnull %29, i32 noundef 4) #3 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %56 32: ; preds = %27 %33 = load i32, ptr %0, align 4, !tbaa !30 %34 = load i32, ptr %12, align 8, !tbaa !32 %35 = icmp eq i32 %33, %34 br label %36 36: ; preds = %32, %23 %37 = phi i1 [ %26, %23 ], [ %35, %32 ] %38 = getelementptr inbounds i8, ptr %3, i64 16 %39 = load i64, ptr %38, align 8, !tbaa !33 %40 = icmp eq i64 %39, 0 br i1 %40, label %52, label %41 41: ; preds = %36 %42 = icmp slt i64 %10, 30001 %43 = select i1 %42, i1 %37, i1 false br i1 %43, label %44, label %56 44: ; preds = %41 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %45 = call i64 @quicly_retry_calc_cidpair_hash(ptr noundef nonnull @ptls_openssl_sha256, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %5) #3 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %55 47: ; preds = %44 %48 = getelementptr inbounds i8, ptr %3, i64 8 %49 = load i64, ptr %48, align 8, !tbaa !34 %50 = load i64, ptr %5, align 8, !tbaa !35 %51 = icmp eq i64 %49, %50 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br i1 %51, label %54, label %56 52: ; preds = %36 %53 = icmp sgt i64 %10, 600000 br i1 %53, label %56, label %54 54: ; preds = %52, %47 br label %56 55: ; preds = %44 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %56 56: ; preds = %27, %17, %52, %55, %41, %16, %4, %47, %54 %57 = phi i32 [ 1, %54 ], [ 0, %47 ], [ 0, %4 ], [ 0, %16 ], [ 0, %41 ], [ 0, %55 ], [ 0, %52 ], [ 0, %17 ], [ 0, %27 ] ret i32 %57 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @quicly_retry_calc_cidpair_hash(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_12__", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_21__", !15, i64 0, !16, i64 8, !15, i64 16, !17, i64 24} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_20__", !15, i64 0} !17 = !{!"TYPE_19__", !18, i64 0, !20, i64 8, !22, i64 16} !18 = !{!"TYPE_18__", !19, i64 0, !19, i64 4} !19 = !{!"int", !9, i64 0} !20 = !{!"TYPE_17__", !19, i64 0, !21, i64 4} !21 = !{!"TYPE_16__", !19, i64 0} !22 = !{!"TYPE_14__", !19, i64 0} !23 = !{!19, !19, i64 0} !24 = !{!14, !19, i64 40} !25 = !{!26, !19, i64 4} !26 = !{!"sockaddr_in", !19, i64 0, !27, i64 4} !27 = !{!"TYPE_15__", !19, i64 0} !28 = !{!14, !19, i64 36} !29 = !{!14, !19, i64 32} !30 = !{!31, !19, i64 0} !31 = !{!"sockaddr_in6", !19, i64 0, !19, i64 4} !32 = !{!14, !19, i64 24} !33 = !{!14, !15, i64 16} !34 = !{!14, !15, i64 8} !35 = !{!15, !15, i64 0}
h2o_deps_quicly_src_extr_cli.c_validate_token
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-puv3.c_puv3_rtc_tickirq.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-puv3.c_puv3_rtc_tickirq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RTC_RTSR = dso_local local_unnamed_addr global i32 0, align 4 @RTC_RTSR_HZ = dso_local local_unnamed_addr global i32 0, align 4 @RTC_PF = dso_local local_unnamed_addr global i32 0, align 4 @RTC_IRQF = 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 @puv3_rtc_tickirq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @puv3_rtc_tickirq(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @RTC_RTSR, align 4, !tbaa !5 %4 = tail call i32 @readl(i32 noundef %3) #2 %5 = load i32, ptr @RTC_RTSR_HZ, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = load i32, ptr @RTC_RTSR, align 4, !tbaa !5 %8 = tail call i32 @writel(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @RTC_PF, align 4, !tbaa !5 %10 = load i32, ptr @RTC_IRQF, align 4, !tbaa !5 %11 = or i32 %10, %9 %12 = tail call i32 @rtc_update_irq(ptr noundef %1, i32 noundef 1, i32 noundef %11) #2 %13 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !5 ret i32 %13 } declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @rtc_update_irq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-puv3.c_puv3_rtc_tickirq.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-puv3.c_puv3_rtc_tickirq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTC_RTSR = common local_unnamed_addr global i32 0, align 4 @RTC_RTSR_HZ = common local_unnamed_addr global i32 0, align 4 @RTC_PF = common local_unnamed_addr global i32 0, align 4 @RTC_IRQF = 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 @puv3_rtc_tickirq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @puv3_rtc_tickirq(i32 %0, ptr noundef %1) #0 { %3 = load i32, ptr @RTC_RTSR, align 4, !tbaa !6 %4 = tail call i32 @readl(i32 noundef %3) #2 %5 = load i32, ptr @RTC_RTSR_HZ, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = load i32, ptr @RTC_RTSR, align 4, !tbaa !6 %8 = tail call i32 @writel(i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr @RTC_PF, align 4, !tbaa !6 %10 = load i32, ptr @RTC_IRQF, align 4, !tbaa !6 %11 = or i32 %10, %9 %12 = tail call i32 @rtc_update_irq(ptr noundef %1, i32 noundef 1, i32 noundef %11) #2 %13 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !6 ret i32 %13 } declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @rtc_update_irq(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_rtc_extr_rtc-puv3.c_puv3_rtc_tickirq