IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/micropython/ports/stm32/usbdev/core/src/extr_usbd_core.c_USBD_ClrClassConfig.c'
source_filename = "AnghaBench/micropython/ports/stm32/usbdev/core/src/extr_usbd_core.c_USBD_ClrClassConfig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@USBD_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @USBD_ClrClassConfig(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1
%6 = load i32, ptr @USBD_OK, align 4, !tbaa !12
ret i32 %6
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/micropython/ports/stm32/usbdev/core/src/extr_usbd_core.c_USBD_ClrClassConfig.c'
source_filename = "AnghaBench/micropython/ports/stm32/usbdev/core/src/extr_usbd_core.c_USBD_ClrClassConfig.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@USBD_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @USBD_ClrClassConfig(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = tail call i32 %4(ptr noundef nonnull %0, i32 noundef %1) #1
%6 = load i32, ptr @USBD_OK, align 4, !tbaa !13
ret i32 %6
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
| micropython_ports_stm32_usbdev_core_src_extr_usbd_core.c_USBD_ClrClassConfig |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_pf_create_rx_ctx_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_pf_create_rx_ctx_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.qlcnic_vf_info = type { i64, i32, ptr, ptr }
%struct.TYPE_6__ = type { i32, i32 }
%struct.qlcnic_cmd_args = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_4__ = type { ptr }
@QLCNIC_MAC_ADD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_sriov_pf_create_rx_ctx_cmd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qlcnic_sriov_pf_create_rx_ctx_cmd(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.qlcnic_vf_info, ptr %3, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 @qlcnic_sriov_validate_create_rx_ctx(ptr noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !14
%10 = load i32, ptr %9, align 4, !tbaa !18
%11 = or i32 %10, 201326592
store i32 %11, ptr %9, align 4, !tbaa !18
br label %33
12: ; preds = %2
%13 = getelementptr inbounds %struct.qlcnic_vf_info, ptr %3, i64 0, i32 2
%14 = load ptr, ptr %13, align 8, !tbaa !19
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %14, i64 0, i32 1
%16 = load i32, ptr %15, align 4, !tbaa !20
%17 = getelementptr inbounds %struct.qlcnic_cmd_args, ptr %1, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !22
%19 = getelementptr inbounds i32, ptr %18, i64 6
store i32 %16, ptr %19, align 4, !tbaa !18
%20 = tail call i32 @qlcnic_issue_cmd(ptr noundef %5, ptr noundef %1) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %12
%23 = load ptr, ptr %13, align 8, !tbaa !19
%24 = load i32, ptr %23, align 4, !tbaa !23
%25 = load ptr, ptr %1, align 8, !tbaa !14
%26 = getelementptr inbounds i32, ptr %25, i64 1
%27 = load i64, ptr %26, align 8, !tbaa !24
store i64 %27, ptr %3, align 8, !tbaa !26
%28 = getelementptr inbounds %struct.qlcnic_vf_info, ptr %3, i64 0, i32 1
%29 = load i32, ptr %28, align 8, !tbaa !27
%30 = load i32, ptr @QLCNIC_MAC_ADD, align 4, !tbaa !18
%31 = tail call i32 @qlcnic_sriov_cfg_vf_def_mac(ptr noundef %5, ptr noundef nonnull %23, i32 noundef %29, i32 noundef %24, i32 noundef %30) #2
br label %33
32: ; preds = %12
store i64 0, ptr %3, align 8, !tbaa !26
br label %33
33: ; preds = %22, %32, %8
%34 = phi i32 [ %6, %8 ], [ %20, %32 ], [ 0, %22 ]
ret i32 %34
}
declare i32 @qlcnic_sriov_validate_create_rx_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_issue_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_sriov_cfg_vf_def_mac(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"qlcnic_bc_trans", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 24}
!11 = !{!"qlcnic_vf_info", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"qlcnic_cmd_args", !16, i64 0, !17, i64 8}
!16 = !{!"TYPE_5__", !7, i64 0}
!17 = !{!"TYPE_4__", !7, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!11, !7, i64 16}
!20 = !{!21, !13, i64 4}
!21 = !{!"TYPE_6__", !13, i64 0, !13, i64 4}
!22 = !{!15, !7, i64 8}
!23 = !{!21, !13, i64 0}
!24 = !{!25, !12, i64 0}
!25 = !{!"qlcnic_rcv_mbx_out", !12, i64 0}
!26 = !{!11, !12, i64 0}
!27 = !{!11, !13, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_pf_create_rx_ctx_cmd.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_pf_create_rx_ctx_cmd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@QLCNIC_MAC_ADD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qlcnic_sriov_pf_create_rx_ctx_cmd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @qlcnic_sriov_pf_create_rx_ctx_cmd(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %3, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @qlcnic_sriov_validate_create_rx_ctx(ptr noundef %1) #2
%7 = icmp eq i32 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load ptr, ptr %1, align 8, !tbaa !15
%10 = load i32, ptr %9, align 4, !tbaa !19
%11 = or i32 %10, 201326592
store i32 %11, ptr %9, align 4, !tbaa !19
br label %33
12: ; preds = %2
%13 = getelementptr inbounds i8, ptr %3, i64 16
%14 = load ptr, ptr %13, align 8, !tbaa !20
%15 = getelementptr inbounds i8, ptr %14, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !21
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !23
%19 = getelementptr inbounds i8, ptr %18, i64 24
store i32 %16, ptr %19, align 4, !tbaa !19
%20 = tail call i32 @qlcnic_issue_cmd(ptr noundef %5, ptr noundef %1) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %12
%23 = load ptr, ptr %13, align 8, !tbaa !20
%24 = load i32, ptr %23, align 4, !tbaa !24
%25 = load ptr, ptr %1, align 8, !tbaa !15
%26 = getelementptr inbounds i8, ptr %25, i64 4
%27 = load i64, ptr %26, align 8, !tbaa !25
store i64 %27, ptr %3, align 8, !tbaa !27
%28 = getelementptr inbounds i8, ptr %3, i64 8
%29 = load i32, ptr %28, align 8, !tbaa !28
%30 = load i32, ptr @QLCNIC_MAC_ADD, align 4, !tbaa !19
%31 = tail call i32 @qlcnic_sriov_cfg_vf_def_mac(ptr noundef %5, ptr noundef nonnull %23, i32 noundef %29, i32 noundef %24, i32 noundef %30) #2
br label %33
32: ; preds = %12
store i64 0, ptr %3, align 8, !tbaa !27
br label %33
33: ; preds = %22, %32, %8
%34 = phi i32 [ %6, %8 ], [ %20, %32 ], [ 0, %22 ]
ret i32 %34
}
declare i32 @qlcnic_sriov_validate_create_rx_ctx(ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_issue_cmd(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @qlcnic_sriov_cfg_vf_def_mac(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"qlcnic_bc_trans", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 24}
!12 = !{!"qlcnic_vf_info", !13, i64 0, !14, i64 8, !8, i64 16, !8, i64 24}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"qlcnic_cmd_args", !17, i64 0, !18, i64 8}
!17 = !{!"TYPE_5__", !8, i64 0}
!18 = !{!"TYPE_4__", !8, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{!12, !8, i64 16}
!21 = !{!22, !14, i64 4}
!22 = !{!"TYPE_6__", !14, i64 0, !14, i64 4}
!23 = !{!16, !8, i64 8}
!24 = !{!22, !14, i64 0}
!25 = !{!26, !13, i64 0}
!26 = !{!"qlcnic_rcv_mbx_out", !13, i64 0}
!27 = !{!12, !13, i64 0}
!28 = !{!12, !14, i64 8}
| fastsocket_kernel_drivers_net_qlcnic_extr_qlcnic_sriov_pf.c_qlcnic_sriov_pf_create_rx_ctx_cmd |
; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_ClearAnimatedImage.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_ClearAnimatedImage.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i64 }
; Function Attrs: nounwind uwtable
define dso_local void @ClearAnimatedImage(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @WebPFree(ptr noundef %4) #3
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @WebPFree(ptr noundef %7) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %9
9: ; preds = %3, %1
ret void
}
declare i32 @WebPFree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !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 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_ClearAnimatedImage.c'
source_filename = "AnghaBench/sumatrapdf/ext/libwebp/examples/extr_anim_util.c_ClearAnimatedImage.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 @ClearAnimatedImage(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %9, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @WebPFree(ptr noundef %4) #3
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @WebPFree(ptr noundef %7) #3
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
br label %9
9: ; preds = %3, %1
ret void
}
declare i32 @WebPFree(ptr noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !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 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 8}
| sumatrapdf_ext_libwebp_examples_extr_anim_util.c_ClearAnimatedImage |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_shader_arb_free.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_shader_arb_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"
%struct.shader_arb_priv = type { ptr, ptr, i32 }
@release_signature = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @shader_arb_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @shader_arb_free(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.shader_arb_priv, ptr %2, i64 0, i32 2
%4 = load i32, ptr @release_signature, align 4, !tbaa !10
%5 = tail call i32 @wine_rb_destroy(ptr noundef nonnull %3, i32 noundef %4, ptr noundef null) #2
%6 = getelementptr inbounds %struct.shader_arb_priv, ptr %2, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = tail call i32 %8(ptr noundef nonnull %0) #2
%10 = load ptr, ptr %2, align 8, !tbaa !16
%11 = load ptr, ptr %10, align 8, !tbaa !17
%12 = tail call i32 %11(ptr noundef nonnull %0) #2
%13 = load ptr, ptr %0, align 8, !tbaa !5
%14 = tail call i32 @heap_free(ptr noundef %13) #2
ret void
}
declare i32 @wine_rb_destroy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @heap_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 = !{!"wined3d_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"shader_arb_priv", !7, i64 0, !7, i64 8, !11, i64 16}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_3__", !7, i64 0}
!16 = !{!13, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_4__", !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_shader_arb_free.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/wined3d/extr_arb_program_shader.c_shader_arb_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@release_signature = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @shader_arb_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @shader_arb_free(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %2, i64 16
%4 = load i32, ptr @release_signature, align 4, !tbaa !11
%5 = tail call i32 @wine_rb_destroy(ptr noundef nonnull %3, i32 noundef %4, ptr noundef null) #2
%6 = getelementptr inbounds i8, ptr %2, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = tail call i32 %8(ptr noundef nonnull %0) #2
%10 = load ptr, ptr %2, align 8, !tbaa !17
%11 = load ptr, ptr %10, align 8, !tbaa !18
%12 = tail call i32 %11(ptr noundef nonnull %0) #2
%13 = load ptr, ptr %0, align 8, !tbaa !6
%14 = tail call i32 @heap_free(ptr noundef %13) #2
ret void
}
declare i32 @wine_rb_destroy(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @heap_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 = !{!"wined3d_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"shader_arb_priv", !8, i64 0, !8, i64 8, !12, i64 16}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_3__", !8, i64 0}
!17 = !{!14, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_4__", !8, i64 0}
| reactos_dll_directx_wine_wined3d_extr_arb_program_shader.c_shader_arb_free |
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.c_mv88e6390_stats_get_stats.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.c_mv88e6390_stats_get_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"
@STATS_TYPE_BANK0 = dso_local local_unnamed_addr global i32 0, align 4
@STATS_TYPE_BANK1 = dso_local local_unnamed_addr global i32 0, align 4
@MV88E6XXX_G1_STATS_OP_BANK_1_BIT_10 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mv88e6390_stats_get_stats], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mv88e6390_stats_get_stats(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @STATS_TYPE_BANK0, align 4, !tbaa !5
%5 = load i32, ptr @STATS_TYPE_BANK1, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = load i32, ptr @MV88E6XXX_G1_STATS_OP_BANK_1_BIT_10, align 4, !tbaa !5
%8 = tail call i32 @mv88e6xxx_stats_get_stats(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %6, i32 noundef %7, i32 noundef 0) #2
ret i32 %8
}
declare i32 @mv88e6xxx_stats_get_stats(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.c_mv88e6390_stats_get_stats.c'
source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.c_mv88e6390_stats_get_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@STATS_TYPE_BANK0 = common local_unnamed_addr global i32 0, align 4
@STATS_TYPE_BANK1 = common local_unnamed_addr global i32 0, align 4
@MV88E6XXX_G1_STATS_OP_BANK_1_BIT_10 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mv88e6390_stats_get_stats], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mv88e6390_stats_get_stats(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @STATS_TYPE_BANK0, align 4, !tbaa !6
%5 = load i32, ptr @STATS_TYPE_BANK1, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = load i32, ptr @MV88E6XXX_G1_STATS_OP_BANK_1_BIT_10, align 4, !tbaa !6
%8 = tail call i32 @mv88e6xxx_stats_get_stats(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %6, i32 noundef %7, i32 noundef 0) #2
ret i32 %8
}
declare i32 @mv88e6xxx_stats_get_stats(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_dsa_mv88e6xxx_extr_chip.c_mv88e6390_stats_get_stats |
; ModuleID = 'AnghaBench/freebsd/sys/nfs/extr_bootp_subr.c_bootpc_ifctx_isresolved.c'
source_filename = "AnghaBench/freebsd/sys/nfs/extr_bootp_subr.c_bootpc_ifctx_isresolved.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IF_BOOTP_RESOLVED = dso_local local_unnamed_addr global i64 0, align 8
@IF_DHCP_RESOLVED = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bootpc_ifctx_isresolved], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @bootpc_ifctx_isresolved(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @IF_BOOTP_RESOLVED, align 8, !tbaa !10
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @IF_DHCP_RESOLVED, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bootpc_ifcontext", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/nfs/extr_bootp_subr.c_bootpc_ifctx_isresolved.c'
source_filename = "AnghaBench/freebsd/sys/nfs/extr_bootp_subr.c_bootpc_ifctx_isresolved.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IF_BOOTP_RESOLVED = common local_unnamed_addr global i64 0, align 8
@IF_DHCP_RESOLVED = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @bootpc_ifctx_isresolved], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @bootpc_ifctx_isresolved(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @IF_BOOTP_RESOLVED, align 8, !tbaa !11
%4 = icmp eq i64 %2, %3
%5 = load i64, ptr @IF_DHCP_RESOLVED, align 8
%6 = icmp eq i64 %2, %5
%7 = select i1 %4, i1 true, i1 %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bootpc_ifcontext", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_sys_nfs_extr_bootp_subr.c_bootpc_ifctx_isresolved |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/extr_libcxgbi.h_cxgbi_set_iscsi_ipv4.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/extr_libcxgbi.h_cxgbi_set_iscsi_ipv4.c"
target datalayout = "e-m:e-p270:32:32-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.cxgbi_hba = type { ptr, i32, ptr }
@CXGBI_FLAG_IPV4_SET = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"set iscsi ipv4 NOT supported, using %s ipv4.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cxgbi_set_iscsi_ipv4], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @cxgbi_set_iscsi_ipv4(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.cxgbi_hba, ptr %0, i64 0, i32 2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = load i32, ptr @CXGBI_FLAG_IPV4_SET, align 4, !tbaa !13
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = getelementptr inbounds %struct.cxgbi_hba, ptr %0, i64 0, i32 1
store i32 %1, ptr %10, align 8, !tbaa !14
br label %15
11: ; preds = %2
%12 = load ptr, ptr %0, align 8, !tbaa !15
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %13) #2
br label %15
15: ; preds = %11, %9
ret void
}
declare i32 @pr_info(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, !7, i64 16}
!6 = !{!"cxgbi_hba", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"TYPE_4__", !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/extr_libcxgbi.h_cxgbi_set_iscsi_ipv4.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/cxgbi/extr_libcxgbi.h_cxgbi_set_iscsi_ipv4.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CXGBI_FLAG_IPV4_SET = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"set iscsi ipv4 NOT supported, using %s ipv4.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cxgbi_set_iscsi_ipv4], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @cxgbi_set_iscsi_ipv4(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = load i32, ptr @CXGBI_FLAG_IPV4_SET, align 4, !tbaa !14
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %1, ptr %10, align 8, !tbaa !15
br label %15
11: ; preds = %2
%12 = load ptr, ptr %0, align 8, !tbaa !16
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = tail call i32 @pr_info(ptr noundef nonnull @.str, i32 noundef %13) #2
br label %15
15: ; preds = %11, %9
ret void
}
declare i32 @pr_info(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, !8, i64 16}
!7 = !{!"cxgbi_hba", !8, i64 0, !11, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!7, !11, i64 8}
!16 = !{!7, !8, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"TYPE_4__", !11, i64 0}
| fastsocket_kernel_drivers_scsi_cxgbi_extr_libcxgbi.h_cxgbi_set_iscsi_ipv4 |
; ModuleID = 'AnghaBench/radare2/shlr/qnx/src/extr_core.c__qnxr_set_bp.c'
source_filename = "AnghaBench/radare2/shlr/qnx/src/extr_core.c__qnxr_set_bp.c"
target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_13__, %struct.TYPE_16__ }
%struct.TYPE_13__ = type { %struct.TYPE_12__ }
%struct.TYPE_12__ = type { %struct.TYPE_11__ }
%struct.TYPE_11__ = type { i64 }
%struct.TYPE_16__ = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { %struct.TYPE_14__ }
%struct.TYPE_14__ = type { i64, i32 }
@DStMsg_brk = dso_local local_unnamed_addr global i32 0, align 4
@DSMSG_BRK_EXEC = dso_local local_unnamed_addr global i32 0, align 4
@SET_CHANNEL_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@DSrMsg_err = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @_qnxr_set_bp(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
store i32 %1, ptr %5, align 4, !tbaa !5
%6 = icmp eq ptr %0, null
br i1 %6, label %20, label %7
7: ; preds = %4
%8 = load i32, ptr @DStMsg_brk, align 4, !tbaa !5
%9 = load i32, ptr @DSMSG_BRK_EXEC, align 4, !tbaa !5
%10 = load i32, ptr @SET_CHANNEL_DEBUG, align 4, !tbaa !5
%11 = tail call i32 @nto_send_init(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = call i32 @EXTRACT_UNSIGNED_INTEGER(ptr noundef nonnull %5, i32 noundef 4) #2
%13 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1
%14 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1, i32 0, i32 0, i32 1
store i32 %12, ptr %14, align 8, !tbaa !9
store i64 0, ptr %13, align 8, !tbaa !18
%15 = call i32 @nto_send(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2
%16 = load i64, ptr %0, align 8, !tbaa !19
%17 = load i64, ptr @DSrMsg_err, align 8, !tbaa !20
%18 = icmp eq i64 %16, %17
%19 = sext i1 %18 to i32
br label %20
20: ; preds = %7, %4
%21 = phi i32 [ -1, %4 ], [ %19, %7 ]
ret i32 %21
}
declare i32 @nto_send_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EXTRACT_UNSIGNED_INTEGER(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nto_send(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 16}
!10 = !{!"TYPE_17__", !11, i64 0, !15, i64 8}
!11 = !{!"TYPE_13__", !12, i64 0}
!12 = !{!"TYPE_12__", !13, i64 0}
!13 = !{!"TYPE_11__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"TYPE_16__", !16, i64 0}
!16 = !{!"TYPE_15__", !17, i64 0}
!17 = !{!"TYPE_14__", !14, i64 0, !6, i64 8}
!18 = !{!10, !14, i64 8}
!19 = !{!10, !14, i64 0}
!20 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/radare2/shlr/qnx/src/extr_core.c__qnxr_set_bp.c'
source_filename = "AnghaBench/radare2/shlr/qnx/src/extr_core.c__qnxr_set_bp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DStMsg_brk = common local_unnamed_addr global i32 0, align 4
@DSMSG_BRK_EXEC = common local_unnamed_addr global i32 0, align 4
@SET_CHANNEL_DEBUG = common local_unnamed_addr global i32 0, align 4
@DSrMsg_err = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @_qnxr_set_bp(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readnone %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = alloca i32, align 4
store i32 %1, ptr %5, align 4, !tbaa !6
%6 = icmp eq ptr %0, null
br i1 %6, label %20, label %7
7: ; preds = %4
%8 = load i32, ptr @DStMsg_brk, align 4, !tbaa !6
%9 = load i32, ptr @DSMSG_BRK_EXEC, align 4, !tbaa !6
%10 = load i32, ptr @SET_CHANNEL_DEBUG, align 4, !tbaa !6
%11 = tail call i32 @nto_send_init(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = call i32 @EXTRACT_UNSIGNED_INTEGER(ptr noundef nonnull %5, i32 noundef 4) #2
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %12, ptr %14, align 8, !tbaa !10
store i64 0, ptr %13, align 8, !tbaa !19
%15 = call i32 @nto_send(ptr noundef nonnull %0, i32 noundef 16, i32 noundef 0) #2
%16 = load i64, ptr %0, align 8, !tbaa !20
%17 = load i64, ptr @DSrMsg_err, align 8, !tbaa !21
%18 = icmp eq i64 %16, %17
%19 = sext i1 %18 to i32
br label %20
20: ; preds = %7, %4
%21 = phi i32 [ -1, %4 ], [ %19, %7 ]
ret i32 %21
}
declare i32 @nto_send_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @EXTRACT_UNSIGNED_INTEGER(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nto_send(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 16}
!11 = !{!"TYPE_17__", !12, i64 0, !16, i64 8}
!12 = !{!"TYPE_13__", !13, i64 0}
!13 = !{!"TYPE_12__", !14, i64 0}
!14 = !{!"TYPE_11__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!"TYPE_16__", !17, i64 0}
!17 = !{!"TYPE_15__", !18, i64 0}
!18 = !{!"TYPE_14__", !15, i64 0, !7, i64 8}
!19 = !{!11, !15, i64 8}
!20 = !{!11, !15, i64 0}
!21 = !{!15, !15, i64 0}
| radare2_shlr_qnx_src_extr_core.c__qnxr_set_bp |
; ModuleID = 'AnghaBench/nanomsg/src/transports/ipc/extr_sipc.c_nn_sipc_term.c'
source_filename = "AnghaBench/nanomsg/src/transports/ipc/extr_sipc.c_nn_sipc_term.c"
target datalayout = "e-m:e-p270:32:32-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.nn_sipc = type { i32, i32, i32, i32, i32, i32 }
@NN_SIPC_STATE_IDLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @nn_sipc_term(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @NN_SIPC_STATE_IDLE, align 4, !tbaa !5
%3 = tail call i32 @nn_assert_state(ptr noundef %0, i32 noundef %2) #2
%4 = getelementptr inbounds %struct.nn_sipc, ptr %0, i64 0, i32 5
%5 = tail call i32 @nn_fsm_event_term(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.nn_sipc, ptr %0, i64 0, i32 4
%7 = tail call i32 @nn_msg_term(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds %struct.nn_sipc, ptr %0, i64 0, i32 3
%9 = tail call i32 @nn_msg_term(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds %struct.nn_sipc, ptr %0, i64 0, i32 2
%11 = tail call i32 @nn_pipebase_term(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds %struct.nn_sipc, ptr %0, i64 0, i32 1
%13 = tail call i32 @nn_streamhdr_term(ptr noundef nonnull %12) #2
%14 = tail call i32 @nn_fsm_term(ptr noundef %0) #2
ret void
}
declare i32 @nn_assert_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nn_fsm_event_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_msg_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_pipebase_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_streamhdr_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_fsm_term(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/nanomsg/src/transports/ipc/extr_sipc.c_nn_sipc_term.c'
source_filename = "AnghaBench/nanomsg/src/transports/ipc/extr_sipc.c_nn_sipc_term.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NN_SIPC_STATE_IDLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @nn_sipc_term(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @NN_SIPC_STATE_IDLE, align 4, !tbaa !6
%3 = tail call i32 @nn_assert_state(ptr noundef %0, i32 noundef %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 20
%5 = tail call i32 @nn_fsm_event_term(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = tail call i32 @nn_msg_term(ptr noundef nonnull %6) #2
%8 = getelementptr inbounds i8, ptr %0, i64 12
%9 = tail call i32 @nn_msg_term(ptr noundef nonnull %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = tail call i32 @nn_pipebase_term(ptr noundef nonnull %10) #2
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = tail call i32 @nn_streamhdr_term(ptr noundef nonnull %12) #2
%14 = tail call i32 @nn_fsm_term(ptr noundef %0) #2
ret void
}
declare i32 @nn_assert_state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nn_fsm_event_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_msg_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_pipebase_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_streamhdr_term(ptr noundef) local_unnamed_addr #1
declare i32 @nn_fsm_term(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"}
| nanomsg_src_transports_ipc_extr_sipc.c_nn_sipc_term |
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_huf_compress.c_HUF_compress4X_wksp.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_huf_compress.c_HUF_compress4X_wksp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i64 @HUF_compress4X_wksp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i64 noundef %7) local_unnamed_addr #0 {
%9 = tail call i64 @HUF_compress_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %6, i64 noundef %7, ptr noundef null, ptr noundef null, i32 noundef 0) #2
ret i64 %9
}
declare i64 @HUF_compress_internal(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 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)"}
| ; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_huf_compress.c_HUF_compress4X_wksp.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_huf_compress.c_HUF_compress4X_wksp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @HUF_compress4X_wksp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, i64 noundef %7) local_unnamed_addr #0 {
%9 = tail call i64 @HUF_compress_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %6, i64 noundef %7, ptr noundef null, ptr noundef null, i32 noundef 0) #2
ret i64 %9
}
declare i64 @HUF_compress_internal(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i64 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)"}
| zstd_contrib_linux-kernel_lib_zstd_extr_huf_compress.c_HUF_compress4X_wksp |
; ModuleID = 'AnghaBench/linux/arch/m68k/atari/extr_atakeyb.c_ikbd_joystick_get_state.c'
source_filename = "AnghaBench/linux/arch/m68k/atari/extr_atakeyb.c_ikbd_joystick_get_state.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ikbd_joystick_get_state.cmd = internal constant [1 x i8] c"\16", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ikbd_joystick_get_state() local_unnamed_addr #0 {
%1 = tail call i32 @ikbd_write(ptr noundef nonnull @ikbd_joystick_get_state.cmd, i32 noundef 1) #2
ret void
}
declare i32 @ikbd_write(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/arch/m68k/atari/extr_atakeyb.c_ikbd_joystick_get_state.c'
source_filename = "AnghaBench/linux/arch/m68k/atari/extr_atakeyb.c_ikbd_joystick_get_state.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ikbd_joystick_get_state.cmd = internal constant [1 x i8] c"\16", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ikbd_joystick_get_state() local_unnamed_addr #0 {
%1 = tail call i32 @ikbd_write(ptr noundef nonnull @ikbd_joystick_get_state.cmd, i32 noundef 1) #2
ret void
}
declare i32 @ikbd_write(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_arch_m68k_atari_extr_atakeyb.c_ikbd_joystick_get_state |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/netinet6/extr_ip6_output.c_ip6_copypktopts.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_ip6_output.c_ip6_copypktopts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M_IP6OPT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @ip6_copypktopts(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @M_IP6OPT, align 4, !tbaa !5
%4 = tail call ptr @_MALLOC(i32 noundef 4, i32 noundef %3, i32 noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = tail call i32 @ip6_initpktopts(ptr noundef nonnull %4) #2
%8 = tail call i32 @copypktopts(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i32, ptr @M_IP6OPT, align 4, !tbaa !5
%12 = tail call i32 @FREE(ptr noundef nonnull %4, i32 noundef %11) #2
br label %13
13: ; preds = %6, %2, %10
%14 = phi ptr [ null, %10 ], [ null, %2 ], [ %4, %6 ]
ret ptr %14
}
declare ptr @_MALLOC(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip6_initpktopts(ptr noundef) local_unnamed_addr #1
declare i32 @copypktopts(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FREE(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/darwin-xnu/bsd/netinet6/extr_ip6_output.c_ip6_copypktopts.c'
source_filename = "AnghaBench/darwin-xnu/bsd/netinet6/extr_ip6_output.c_ip6_copypktopts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M_IP6OPT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @ip6_copypktopts(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @M_IP6OPT, align 4, !tbaa !6
%4 = tail call ptr @_MALLOC(i32 noundef 4, i32 noundef %3, i32 noundef %1) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %2
%7 = tail call i32 @ip6_initpktopts(ptr noundef nonnull %4) #2
%8 = tail call i32 @copypktopts(ptr noundef nonnull %4, ptr noundef %0, i32 noundef %1) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load i32, ptr @M_IP6OPT, align 4, !tbaa !6
%12 = tail call i32 @FREE(ptr noundef nonnull %4, i32 noundef %11) #2
br label %13
13: ; preds = %6, %2, %10
%14 = phi ptr [ null, %10 ], [ null, %2 ], [ %4, %6 ]
ret ptr %14
}
declare ptr @_MALLOC(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ip6_initpktopts(ptr noundef) local_unnamed_addr #1
declare i32 @copypktopts(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @FREE(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"}
| darwin-xnu_bsd_netinet6_extr_ip6_output.c_ip6_copypktopts |
; ModuleID = 'AnghaBench/linux/arch/mips/vr41xx/common/extr_icu.c_vr41xx_enable_csiint.c'
source_filename = "AnghaBench/linux/arch/mips/vr41xx/common/extr_icu.c_vr41xx_enable_csiint.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CSI_IRQ = dso_local local_unnamed_addr global i32 0, align 4
@CPU_VR4122 = dso_local local_unnamed_addr global i64 0, align 8
@CPU_VR4131 = dso_local local_unnamed_addr global i64 0, align 8
@CPU_VR4133 = dso_local local_unnamed_addr global i64 0, align 8
@MCSIINTREG = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vr41xx_enable_csiint(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CSI_IRQ, align 4, !tbaa !5
%3 = tail call ptr @irq_to_desc(i32 noundef %2) #2
%4 = tail call i64 (...) @current_cpu_type() #2
%5 = load i64, ptr @CPU_VR4122, align 8, !tbaa !9
%6 = icmp eq i64 %4, %5
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = tail call i64 (...) @current_cpu_type() #2
%9 = load i64, ptr @CPU_VR4131, align 8, !tbaa !9
%10 = icmp eq i64 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = tail call i64 (...) @current_cpu_type() #2
%13 = load i64, ptr @CPU_VR4133, align 8, !tbaa !9
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11, %7, %1
%16 = tail call i32 @raw_spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%17 = load i32, ptr @MCSIINTREG, align 4, !tbaa !5
%18 = tail call i32 @icu2_set(i32 noundef %17, i32 noundef %0) #2
%19 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
br label %20
20: ; preds = %15, %11
ret void
}
declare ptr @irq_to_desc(i32 noundef) local_unnamed_addr #1
declare i64 @current_cpu_type(...) local_unnamed_addr #1
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @icu2_set(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/mips/vr41xx/common/extr_icu.c_vr41xx_enable_csiint.c'
source_filename = "AnghaBench/linux/arch/mips/vr41xx/common/extr_icu.c_vr41xx_enable_csiint.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CSI_IRQ = common local_unnamed_addr global i32 0, align 4
@CPU_VR4122 = common local_unnamed_addr global i64 0, align 8
@CPU_VR4131 = common local_unnamed_addr global i64 0, align 8
@CPU_VR4133 = common local_unnamed_addr global i64 0, align 8
@MCSIINTREG = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vr41xx_enable_csiint(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @CSI_IRQ, align 4, !tbaa !6
%3 = tail call ptr @irq_to_desc(i32 noundef %2) #2
%4 = tail call i64 @current_cpu_type() #2
%5 = load i64, ptr @CPU_VR4122, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
br i1 %6, label %15, label %7
7: ; preds = %1
%8 = tail call i64 @current_cpu_type() #2
%9 = load i64, ptr @CPU_VR4131, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = tail call i64 @current_cpu_type() #2
%13 = load i64, ptr @CPU_VR4133, align 8, !tbaa !10
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11, %7, %1
%16 = tail call i32 @raw_spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2
%17 = load i32, ptr @MCSIINTREG, align 4, !tbaa !6
%18 = tail call i32 @icu2_set(i32 noundef %17, i32 noundef %0) #2
%19 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2
br label %20
20: ; preds = %15, %11
ret void
}
declare ptr @irq_to_desc(i32 noundef) local_unnamed_addr #1
declare i64 @current_cpu_type(...) local_unnamed_addr #1
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @icu2_set(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @raw_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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| linux_arch_mips_vr41xx_common_extr_icu.c_vr41xx_enable_csiint |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_dma_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_dma_address.c"
target datalayout = "e-m:e-p270:32:32-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 @ehca_dma_address], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @ehca_dma_address(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
ret i32 %3
}
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 = !{!"scatterlist", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_dma_address.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ehca/extr_ehca_mrmw.c_ehca_dma_address.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 @ehca_dma_address], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @ehca_dma_address(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
ret i32 %3
}
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 = !{!"scatterlist", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_infiniband_hw_ehca_extr_ehca_mrmw.c_ehca_dma_address |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_dma_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_dma_reset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mite_channel = type { i32, ptr }
@CHOR_DMARESET = dso_local local_unnamed_addr global i32 0, align 4
@CHOR_FRESET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mite_dma_reset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @mite_dma_reset(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CHOR_DMARESET, align 4, !tbaa !5
%3 = load i32, ptr @CHOR_FRESET, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = getelementptr inbounds %struct.mite_channel, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = load i32, ptr %0, align 8, !tbaa !15
%9 = tail call i64 @MITE_CHOR(i32 noundef %8) #2
%10 = add nsw i64 %9, %7
%11 = tail call i32 @writel(i32 noundef %4, i64 noundef %10) #2
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @MITE_CHOR(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, !11, i64 8}
!10 = !{!"mite_channel", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_dma_reset.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_mite.h_mite_dma_reset.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CHOR_DMARESET = common local_unnamed_addr global i32 0, align 4
@CHOR_FRESET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mite_dma_reset], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @mite_dma_reset(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @CHOR_DMARESET, align 4, !tbaa !6
%3 = load i32, ptr @CHOR_FRESET, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = load i32, ptr %0, align 8, !tbaa !16
%9 = tail call i64 @MITE_CHOR(i32 noundef %8) #2
%10 = add nsw i64 %9, %7
%11 = tail call i32 @writel(i32 noundef %4, i64 noundef %10) #2
ret void
}
declare i32 @writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @MITE_CHOR(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, !12, i64 8}
!11 = !{!"mite_channel", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !7, i64 0}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_mite.h_mite_dma_reset |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_inn1510.c_innovator1510_panel_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_inn1510.c_innovator1510_panel_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @innovator1510_panel_remove], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @innovator1510_panel_remove(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_inn1510.c_innovator1510_panel_remove.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_inn1510.c_innovator1510_panel_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @innovator1510_panel_remove], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @innovator1510_panel_remove(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_video_omap_extr_lcd_inn1510.c_innovator1510_panel_remove |
; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4state.c_put_stateid.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4state.c_put_stateid.c"
target datalayout = "e-m:e-p270:32:32-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.nfsd4_compound_state = type { i32, i64 }
@CURRENT_STATE_ID_FLAG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @put_stateid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @put_stateid(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.nfsd4_compound_state, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = tail call i32 @memcpy(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 4) #2
%8 = load i32, ptr @CURRENT_STATE_ID_FLAG, align 4, !tbaa !11
%9 = tail call i32 @SET_STATE_ID(ptr noundef nonnull %0, i32 noundef %8) #2
br label %10
10: ; preds = %6, %2
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SET_STATE_ID(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 = !{!"nfsd4_compound_state", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/nfsd/extr_nfs4state.c_put_stateid.c'
source_filename = "AnghaBench/linux/fs/nfsd/extr_nfs4state.c_put_stateid.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURRENT_STATE_ID_FLAG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @put_stateid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @put_stateid(ptr noundef %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = tail call i32 @memcpy(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 4) #2
%8 = load i32, ptr @CURRENT_STATE_ID_FLAG, align 4, !tbaa !12
%9 = tail call i32 @SET_STATE_ID(ptr noundef nonnull %0, i32 noundef %8) #2
br label %10
10: ; preds = %6, %2
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SET_STATE_ID(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 = !{!"nfsd4_compound_state", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
| linux_fs_nfsd_extr_nfs4state.c_put_stateid |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_drain_safe_cpu.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_drain_safe_cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_13__ = type { i32, ptr, ptr }
%struct.TYPE_14__ = type { ptr, ptr, ptr }
@UMA_ZFLAG_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4
@UMA_ZONE_NUMA = dso_local local_unnamed_addr global i32 0, align 4
@curcpu = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @cache_drain_safe_cpu], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cache_drain_safe_cpu(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @UMA_ZFLAG_INTERNAL, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %67
6: ; preds = %1
%7 = tail call i32 @ZONE_LOCK(ptr noundef nonnull %0) #2
%8 = tail call i32 (...) @critical_enter() #2
%9 = load i32, ptr %0, align 8, !tbaa !5
%10 = load i32, ptr @UMA_ZONE_NUMA, align 4, !tbaa !11
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = tail call i32 @PCPU_GET(i32 noundef undef) #2
%15 = sext i32 %14 to i64
br label %16
16: ; preds = %6, %13
%17 = phi i64 [ %15, %13 ], [ 0, %6 ]
%18 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !12
%20 = load i64, ptr @curcpu, align 8, !tbaa !13
%21 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 %20
%22 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 %20, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = icmp eq ptr %23, null
br i1 %24, label %35, label %25
25: ; preds = %16
%26 = load i64, ptr %23, align 8, !tbaa !17
%27 = icmp eq i64 %26, 0
br i1 %27, label %33, label %28
28: ; preds = %25
%29 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !19
%31 = getelementptr inbounds i32, ptr %30, i64 %17
%32 = tail call i32 @zone_put_bucket(ptr noundef nonnull %0, ptr noundef %31, ptr noundef nonnull %23, i32 noundef 0) #2
br label %33
33: ; preds = %25, %28
%34 = phi ptr [ null, %28 ], [ %23, %25 ]
store ptr null, ptr %22, align 8, !tbaa !15
br label %35
35: ; preds = %33, %16
%36 = phi ptr [ %34, %33 ], [ null, %16 ]
%37 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 %20, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !20
%39 = icmp eq ptr %38, null
br i1 %39, label %50, label %40
40: ; preds = %35
%41 = load i64, ptr %38, align 8, !tbaa !17
%42 = icmp eq i64 %41, 0
br i1 %42, label %48, label %43
43: ; preds = %40
%44 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1
%45 = load ptr, ptr %44, align 8, !tbaa !19
%46 = getelementptr inbounds i32, ptr %45, i64 %17
%47 = tail call i32 @zone_put_bucket(ptr noundef nonnull %0, ptr noundef %46, ptr noundef nonnull %38, i32 noundef 0) #2
br label %48
48: ; preds = %40, %43
%49 = phi ptr [ null, %43 ], [ %38, %40 ]
store ptr null, ptr %37, align 8, !tbaa !20
br label %50
50: ; preds = %48, %35
%51 = phi ptr [ %49, %48 ], [ null, %35 ]
%52 = load ptr, ptr %21, align 8, !tbaa !21
store ptr null, ptr %21, align 8, !tbaa !21
%53 = tail call i32 (...) @critical_exit() #2
%54 = tail call i32 @ZONE_UNLOCK(ptr noundef nonnull %0) #2
%55 = icmp eq ptr %36, null
br i1 %55, label %58, label %56
56: ; preds = %50
%57 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %36, ptr noundef null) #2
br label %58
58: ; preds = %56, %50
%59 = icmp eq ptr %51, null
br i1 %59, label %62, label %60
60: ; preds = %58
%61 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %51, ptr noundef null) #2
br label %62
62: ; preds = %60, %58
%63 = icmp eq ptr %52, null
br i1 %63, label %67, label %64
64: ; preds = %62
%65 = tail call i32 @bucket_drain(ptr noundef nonnull %0, ptr noundef nonnull %52) #2
%66 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %52, ptr noundef null) #2
br label %67
67: ; preds = %62, %64, %1
ret void
}
declare i32 @ZONE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @critical_enter(...) local_unnamed_addr #1
declare i32 @PCPU_GET(i32 noundef) local_unnamed_addr #1
declare i32 @zone_put_bucket(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @critical_exit(...) local_unnamed_addr #1
declare i32 @ZONE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @bucket_free(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bucket_drain(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_13__", !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 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !10, i64 16}
!16 = !{!"TYPE_14__", !10, i64 0, !10, i64 8, !10, i64 16}
!17 = !{!18, !14, i64 0}
!18 = !{!"TYPE_15__", !14, i64 0}
!19 = !{!6, !10, i64 8}
!20 = !{!16, !10, i64 8}
!21 = !{!16, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_drain_safe_cpu.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_uma_core.c_cache_drain_safe_cpu.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_14__ = type { ptr, ptr, ptr }
@UMA_ZFLAG_INTERNAL = common local_unnamed_addr global i32 0, align 4
@UMA_ZONE_NUMA = common local_unnamed_addr global i32 0, align 4
@curcpu = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @cache_drain_safe_cpu], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cache_drain_safe_cpu(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @UMA_ZFLAG_INTERNAL, align 4, !tbaa !12
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %67
6: ; preds = %1
%7 = tail call i32 @ZONE_LOCK(ptr noundef nonnull %0) #2
%8 = tail call i32 @critical_enter() #2
%9 = load i32, ptr %0, align 8, !tbaa !6
%10 = load i32, ptr @UMA_ZONE_NUMA, align 4, !tbaa !12
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = tail call i32 @PCPU_GET(i32 noundef undef) #2
%15 = sext i32 %14 to i64
br label %16
16: ; preds = %6, %13
%17 = phi i64 [ %15, %13 ], [ 0, %6 ]
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load ptr, ptr %18, align 8, !tbaa !13
%20 = load i64, ptr @curcpu, align 8, !tbaa !14
%21 = getelementptr inbounds %struct.TYPE_14__, ptr %19, i64 %20
%22 = getelementptr inbounds i8, ptr %21, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = icmp eq ptr %23, null
br i1 %24, label %35, label %25
25: ; preds = %16
%26 = load i64, ptr %23, align 8, !tbaa !18
%27 = icmp eq i64 %26, 0
br i1 %27, label %33, label %28
28: ; preds = %25
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !20
%31 = getelementptr inbounds i32, ptr %30, i64 %17
%32 = tail call i32 @zone_put_bucket(ptr noundef nonnull %0, ptr noundef %31, ptr noundef nonnull %23, i32 noundef 0) #2
br label %33
33: ; preds = %25, %28
%34 = phi ptr [ null, %28 ], [ %23, %25 ]
store ptr null, ptr %22, align 8, !tbaa !16
br label %35
35: ; preds = %33, %16
%36 = phi ptr [ %34, %33 ], [ null, %16 ]
%37 = getelementptr inbounds i8, ptr %21, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !21
%39 = icmp eq ptr %38, null
br i1 %39, label %50, label %40
40: ; preds = %35
%41 = load i64, ptr %38, align 8, !tbaa !18
%42 = icmp eq i64 %41, 0
br i1 %42, label %48, label %43
43: ; preds = %40
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = load ptr, ptr %44, align 8, !tbaa !20
%46 = getelementptr inbounds i32, ptr %45, i64 %17
%47 = tail call i32 @zone_put_bucket(ptr noundef nonnull %0, ptr noundef %46, ptr noundef nonnull %38, i32 noundef 0) #2
br label %48
48: ; preds = %40, %43
%49 = phi ptr [ null, %43 ], [ %38, %40 ]
store ptr null, ptr %37, align 8, !tbaa !21
br label %50
50: ; preds = %48, %35
%51 = phi ptr [ %49, %48 ], [ null, %35 ]
%52 = load ptr, ptr %21, align 8, !tbaa !22
store ptr null, ptr %21, align 8, !tbaa !22
%53 = tail call i32 @critical_exit() #2
%54 = tail call i32 @ZONE_UNLOCK(ptr noundef nonnull %0) #2
%55 = icmp eq ptr %36, null
br i1 %55, label %58, label %56
56: ; preds = %50
%57 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %36, ptr noundef null) #2
br label %58
58: ; preds = %56, %50
%59 = icmp eq ptr %51, null
br i1 %59, label %62, label %60
60: ; preds = %58
%61 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %51, ptr noundef null) #2
br label %62
62: ; preds = %60, %58
%63 = icmp eq ptr %52, null
br i1 %63, label %67, label %64
64: ; preds = %62
%65 = tail call i32 @bucket_drain(ptr noundef nonnull %0, ptr noundef nonnull %52) #2
%66 = tail call i32 @bucket_free(ptr noundef nonnull %0, ptr noundef nonnull %52, ptr noundef null) #2
br label %67
67: ; preds = %62, %64, %1
ret void
}
declare i32 @ZONE_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @critical_enter(...) local_unnamed_addr #1
declare i32 @PCPU_GET(i32 noundef) local_unnamed_addr #1
declare i32 @zone_put_bucket(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @critical_exit(...) local_unnamed_addr #1
declare i32 @ZONE_UNLOCK(ptr noundef) local_unnamed_addr #1
declare i32 @bucket_free(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bucket_drain(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_13__", !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 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!17, !11, i64 16}
!17 = !{!"TYPE_14__", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!19, !15, i64 0}
!19 = !{!"TYPE_15__", !15, i64 0}
!20 = !{!7, !11, i64 8}
!21 = !{!17, !11, i64 8}
!22 = !{!17, !11, i64 0}
| freebsd_sys_vm_extr_uma_core.c_cache_drain_safe_cpu |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_hmc.c_i40e_prep_remove_sd_bp.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_hmc.c_i40e_prep_remove_sd_bp.c"
target datalayout = "e-m:e-p270:32:32-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.i40e_hmc_sd_entry = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
@I40E_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@I40E_ERR_NOT_READY = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @i40e_prep_remove_sd_bp(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @I40E_SUCCESS, align 4, !tbaa !5
%4 = load ptr, ptr %0, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.i40e_hmc_sd_entry, ptr %4, i64 %1, i32 1
%6 = tail call i32 @I40E_DEC_BP_REFCNT(ptr noundef nonnull %5) #2
%7 = load i64, ptr %5, align 8, !tbaa !13
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load i32, ptr @I40E_ERR_NOT_READY, align 4, !tbaa !5
br label %15
11: ; preds = %2
%12 = getelementptr inbounds %struct.i40e_hmc_sd_entry, ptr %4, i64 %1
%13 = tail call i32 @I40E_DEC_SD_REFCNT(ptr noundef nonnull %0) #2
%14 = load i32, ptr @FALSE, align 4, !tbaa !5
store i32 %14, ptr %12, align 8, !tbaa !18
br label %15
15: ; preds = %11, %9
%16 = phi i32 [ %10, %9 ], [ %3, %11 ]
ret i32 %16
}
declare i32 @I40E_DEC_BP_REFCNT(ptr noundef) local_unnamed_addr #1
declare i32 @I40E_DEC_SD_REFCNT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"i40e_hmc_info", !11, i64 0}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !17, i64 8}
!14 = !{!"i40e_hmc_sd_entry", !6, i64 0, !15, i64 8}
!15 = !{!"TYPE_4__", !16, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_i40e_hmc.c_i40e_prep_remove_sd_bp.c'
source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_i40e_hmc.c_i40e_prep_remove_sd_bp.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.i40e_hmc_sd_entry = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i64 }
@I40E_SUCCESS = common local_unnamed_addr global i32 0, align 4
@I40E_ERR_NOT_READY = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @i40e_prep_remove_sd_bp(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @I40E_SUCCESS, align 4, !tbaa !6
%4 = load ptr, ptr %0, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.i40e_hmc_sd_entry, ptr %4, i64 %1
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = tail call i32 @I40E_DEC_BP_REFCNT(ptr noundef nonnull %6) #2
%8 = load i64, ptr %6, align 8, !tbaa !14
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = load i32, ptr @I40E_ERR_NOT_READY, align 4, !tbaa !6
br label %15
12: ; preds = %2
%13 = tail call i32 @I40E_DEC_SD_REFCNT(ptr noundef nonnull %0) #2
%14 = load i32, ptr @FALSE, align 4, !tbaa !6
store i32 %14, ptr %5, align 8, !tbaa !19
br label %15
15: ; preds = %12, %10
%16 = phi i32 [ %11, %10 ], [ %3, %12 ]
ret i32 %16
}
declare i32 @I40E_DEC_BP_REFCNT(ptr noundef) local_unnamed_addr #1
declare i32 @I40E_DEC_SD_REFCNT(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"i40e_hmc_info", !12, i64 0}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !18, i64 8}
!15 = !{!"i40e_hmc_sd_entry", !7, i64 0, !16, i64 8}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_6__", !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!15, !7, i64 0}
| freebsd_sys_dev_ixl_extr_i40e_hmc.c_i40e_prep_remove_sd_bp |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rdt.c_ff_rdt_subscribe_rule.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rdt.c_ff_rdt_subscribe_rule.c"
target datalayout = "e-m:e-p270:32:32-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 [36 x i8] c"stream=%d;rule=%d,stream=%d;rule=%d\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @ff_rdt_subscribe_rule(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = shl nsw i32 %3, 1
%6 = or disjoint i32 %5, 1
%7 = tail call i32 @av_strlcatf(ptr noundef %0, i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %5, i32 noundef %2, i32 noundef %6) #2
ret void
}
declare i32 @av_strlcatf(ptr noundef, i32 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/libavformat/extr_rdt.c_ff_rdt_subscribe_rule.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_rdt.c_ff_rdt_subscribe_rule.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [36 x i8] c"stream=%d;rule=%d,stream=%d;rule=%d\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @ff_rdt_subscribe_rule(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = shl nsw i32 %3, 1
%6 = or disjoint i32 %5, 1
%7 = tail call i32 @av_strlcatf(ptr noundef %0, i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2, i32 noundef %5, i32 noundef %2, i32 noundef %6) #2
ret void
}
declare i32 @av_strlcatf(ptr noundef, i32 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_libavformat_extr_rdt.c_ff_rdt_subscribe_rule |
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_stmt.c_stmtBestIndex.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_stmt.c_stmtBestIndex.c"
target datalayout = "e-m:e-p270:32:32-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 { double, i32 }
@SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stmtBestIndex], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal i32 @stmtBestIndex(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
store double 5.000000e+02, ptr %1, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1
store i32 500, ptr %3, align 8, !tbaa !11
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !12
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_stmt.c_stmtBestIndex.c'
source_filename = "AnghaBench/sqlcipher/ext/misc/extr_stmt.c_stmtBestIndex.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SQLITE_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @stmtBestIndex], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal i32 @stmtBestIndex(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1) #0 {
store double 5.000000e+02, ptr %1, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %1, i64 8
store i32 500, ptr %3, align 8, !tbaa !12
%4 = load i32, ptr @SQLITE_OK, align 4, !tbaa !13
ret i32 %4
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
| sqlcipher_ext_misc_extr_stmt.c_stmtBestIndex |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_cpsw_ethtool.c_cpsw_get_ethtool_stats.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_cpsw_ethtool.c_cpsw_get_ethtool_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.cpdma_chan_stats = type { i32 }
%struct.cpsw_common = type { i32, i32, ptr, ptr, i64 }
%struct.TYPE_7__ = type { i64 }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@CPSW_STATS_COMMON_LEN = dso_local local_unnamed_addr global i32 0, align 4
@cpsw_gstrings_stats = dso_local local_unnamed_addr global ptr null, align 8
@CPSW_STATS_CH_LEN = dso_local local_unnamed_addr global i32 0, align 4
@cpsw_gstrings_ch_stats = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @cpsw_get_ethtool_stats(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.cpdma_chan_stats, align 4
%5 = tail call ptr @ndev_to_cpsw(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load i32, ptr @CPSW_STATS_COMMON_LEN, align 4, !tbaa !5
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %3
%9 = getelementptr inbounds %struct.cpsw_common, ptr %5, i64 0, i32 4
br label %18
10: ; preds = %18
%11 = trunc i64 %27 to i32
br label %12
12: ; preds = %10, %3
%13 = phi i32 [ 0, %3 ], [ %11, %10 ]
%14 = load i32, ptr %5, align 8, !tbaa !9
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %12
%17 = getelementptr inbounds %struct.cpsw_common, ptr %5, i64 0, i32 3
br label %38
18: ; preds = %8, %18
%19 = phi i64 [ 0, %8 ], [ %27, %18 ]
%20 = load i64, ptr %9, align 8, !tbaa !13
%21 = load ptr, ptr @cpsw_gstrings_stats, align 8, !tbaa !14
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i64 %19
%23 = load i64, ptr %22, align 8, !tbaa !15
%24 = add nsw i64 %23, %20
%25 = tail call i32 @readl(i64 noundef %24) #3
%26 = getelementptr inbounds i32, ptr %2, i64 %19
store i32 %25, ptr %26, align 4, !tbaa !5
%27 = add nuw nsw i64 %19, 1
%28 = load i32, ptr @CPSW_STATS_COMMON_LEN, align 4, !tbaa !5
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %27, %29
br i1 %30, label %18, label %10, !llvm.loop !17
31: ; preds = %60, %12
%32 = phi i32 [ %13, %12 ], [ %61, %60 ]
%33 = getelementptr inbounds %struct.cpsw_common, ptr %5, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !19
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %94
36: ; preds = %31
%37 = getelementptr inbounds %struct.cpsw_common, ptr %5, i64 0, i32 2
br label %66
38: ; preds = %16, %60
%39 = phi i64 [ 0, %16 ], [ %62, %60 ]
%40 = phi i32 [ %13, %16 ], [ %61, %60 ]
%41 = load ptr, ptr %17, align 8, !tbaa !20
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i64 %39
%43 = load i32, ptr %42, align 4, !tbaa !21
%44 = call i32 @cpdma_chan_get_stats(i32 noundef %43, ptr noundef nonnull %4) #3
%45 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !5
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %60
47: ; preds = %38
%48 = load i32, ptr %4, align 4, !tbaa !5
%49 = sext i32 %40 to i64
br label %50
50: ; preds = %47, %50
%51 = phi i64 [ %49, %47 ], [ %55, %50 ]
%52 = phi i32 [ 0, %47 ], [ %54, %50 ]
%53 = getelementptr inbounds i32, ptr %2, i64 %51
store i32 %48, ptr %53, align 4, !tbaa !5
%54 = add nuw nsw i32 %52, 1
%55 = add nsw i64 %51, 1
%56 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !5
%57 = icmp slt i32 %54, %56
br i1 %57, label %50, label %58, !llvm.loop !23
58: ; preds = %50
%59 = trunc i64 %55 to i32
br label %60
60: ; preds = %58, %38
%61 = phi i32 [ %40, %38 ], [ %59, %58 ]
%62 = add nuw nsw i64 %39, 1
%63 = load i32, ptr %5, align 8, !tbaa !9
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %62, %64
br i1 %65, label %38, label %31, !llvm.loop !24
66: ; preds = %36, %88
%67 = phi i64 [ 0, %36 ], [ %90, %88 ]
%68 = phi i32 [ %32, %36 ], [ %89, %88 ]
%69 = load ptr, ptr %37, align 8, !tbaa !25
%70 = getelementptr inbounds %struct.TYPE_6__, ptr %69, i64 %67
%71 = load i32, ptr %70, align 4, !tbaa !26
%72 = call i32 @cpdma_chan_get_stats(i32 noundef %71, ptr noundef nonnull %4) #3
%73 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !5
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %88
75: ; preds = %66
%76 = load i32, ptr %4, align 4, !tbaa !5
%77 = sext i32 %68 to i64
br label %78
78: ; preds = %75, %78
%79 = phi i64 [ %77, %75 ], [ %83, %78 ]
%80 = phi i32 [ 0, %75 ], [ %82, %78 ]
%81 = getelementptr inbounds i32, ptr %2, i64 %79
store i32 %76, ptr %81, align 4, !tbaa !5
%82 = add nuw nsw i32 %80, 1
%83 = add nsw i64 %79, 1
%84 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !5
%85 = icmp slt i32 %82, %84
br i1 %85, label %78, label %86, !llvm.loop !28
86: ; preds = %78
%87 = trunc i64 %83 to i32
br label %88
88: ; preds = %86, %66
%89 = phi i32 [ %68, %66 ], [ %87, %86 ]
%90 = add nuw nsw i64 %67, 1
%91 = load i32, ptr %33, align 4, !tbaa !19
%92 = sext i32 %91 to i64
%93 = icmp slt i64 %90, %92
br i1 %93, label %66, label %94, !llvm.loop !29
94: ; preds = %88, %31
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ndev_to_cpsw(ptr noundef) local_unnamed_addr #2
declare i32 @readl(i64 noundef) local_unnamed_addr #2
declare i32 @cpdma_chan_get_stats(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"cpsw_common", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !12, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"TYPE_7__", !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !6, i64 4}
!20 = !{!10, !11, i64 16}
!21 = !{!22, !6, i64 0}
!22 = !{!"TYPE_5__", !6, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = !{!10, !11, i64 8}
!26 = !{!27, !6, i64 0}
!27 = !{!"TYPE_6__", !6, i64 0}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/ti/extr_cpsw_ethtool.c_cpsw_get_ethtool_stats.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/ti/extr_cpsw_ethtool.c_cpsw_get_ethtool_stats.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.cpdma_chan_stats = type { i32 }
%struct.TYPE_7__ = type { i64 }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_6__ = type { i32 }
@CPSW_STATS_COMMON_LEN = common local_unnamed_addr global i32 0, align 4
@cpsw_gstrings_stats = common local_unnamed_addr global ptr null, align 8
@CPSW_STATS_CH_LEN = common local_unnamed_addr global i32 0, align 4
@cpsw_gstrings_ch_stats = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @cpsw_get_ethtool_stats(ptr noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.cpdma_chan_stats, align 4
%5 = tail call ptr @ndev_to_cpsw(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load i32, ptr @CPSW_STATS_COMMON_LEN, align 4, !tbaa !6
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %5, i64 24
br label %18
10: ; preds = %18
%11 = trunc nuw nsw i64 %27 to i32
br label %12
12: ; preds = %10, %3
%13 = phi i32 [ 0, %3 ], [ %11, %10 ]
%14 = load i32, ptr %5, align 8, !tbaa !10
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %5, i64 16
br label %38
18: ; preds = %8, %18
%19 = phi i64 [ 0, %8 ], [ %27, %18 ]
%20 = load i64, ptr %9, align 8, !tbaa !14
%21 = load ptr, ptr @cpsw_gstrings_stats, align 8, !tbaa !15
%22 = getelementptr inbounds %struct.TYPE_7__, ptr %21, i64 %19
%23 = load i64, ptr %22, align 8, !tbaa !16
%24 = add nsw i64 %23, %20
%25 = tail call i32 @readl(i64 noundef %24) #3
%26 = getelementptr inbounds i32, ptr %2, i64 %19
store i32 %25, ptr %26, align 4, !tbaa !6
%27 = add nuw nsw i64 %19, 1
%28 = load i32, ptr @CPSW_STATS_COMMON_LEN, align 4, !tbaa !6
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %27, %29
br i1 %30, label %18, label %10, !llvm.loop !18
31: ; preds = %60, %12
%32 = phi i32 [ %13, %12 ], [ %61, %60 ]
%33 = getelementptr inbounds i8, ptr %5, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !20
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %94
36: ; preds = %31
%37 = getelementptr inbounds i8, ptr %5, i64 8
br label %66
38: ; preds = %16, %60
%39 = phi i64 [ 0, %16 ], [ %62, %60 ]
%40 = phi i32 [ %13, %16 ], [ %61, %60 ]
%41 = load ptr, ptr %17, align 8, !tbaa !21
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i64 %39
%43 = load i32, ptr %42, align 4, !tbaa !22
%44 = call i32 @cpdma_chan_get_stats(i32 noundef %43, ptr noundef nonnull %4) #3
%45 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !6
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %60
47: ; preds = %38
%48 = load i32, ptr %4, align 4, !tbaa !6
%49 = sext i32 %40 to i64
br label %50
50: ; preds = %47, %50
%51 = phi i64 [ %49, %47 ], [ %55, %50 ]
%52 = phi i32 [ 0, %47 ], [ %54, %50 ]
%53 = getelementptr inbounds i32, ptr %2, i64 %51
store i32 %48, ptr %53, align 4, !tbaa !6
%54 = add nuw nsw i32 %52, 1
%55 = add nsw i64 %51, 1
%56 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !6
%57 = icmp slt i32 %54, %56
br i1 %57, label %50, label %58, !llvm.loop !24
58: ; preds = %50
%59 = trunc nsw i64 %55 to i32
br label %60
60: ; preds = %58, %38
%61 = phi i32 [ %40, %38 ], [ %59, %58 ]
%62 = add nuw nsw i64 %39, 1
%63 = load i32, ptr %5, align 8, !tbaa !10
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %62, %64
br i1 %65, label %38, label %31, !llvm.loop !25
66: ; preds = %36, %88
%67 = phi i64 [ 0, %36 ], [ %90, %88 ]
%68 = phi i32 [ %32, %36 ], [ %89, %88 ]
%69 = load ptr, ptr %37, align 8, !tbaa !26
%70 = getelementptr inbounds %struct.TYPE_6__, ptr %69, i64 %67
%71 = load i32, ptr %70, align 4, !tbaa !27
%72 = call i32 @cpdma_chan_get_stats(i32 noundef %71, ptr noundef nonnull %4) #3
%73 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !6
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %88
75: ; preds = %66
%76 = load i32, ptr %4, align 4, !tbaa !6
%77 = sext i32 %68 to i64
br label %78
78: ; preds = %75, %78
%79 = phi i64 [ %77, %75 ], [ %83, %78 ]
%80 = phi i32 [ 0, %75 ], [ %82, %78 ]
%81 = getelementptr inbounds i32, ptr %2, i64 %79
store i32 %76, ptr %81, align 4, !tbaa !6
%82 = add nuw nsw i32 %80, 1
%83 = add nsw i64 %79, 1
%84 = load i32, ptr @CPSW_STATS_CH_LEN, align 4, !tbaa !6
%85 = icmp slt i32 %82, %84
br i1 %85, label %78, label %86, !llvm.loop !29
86: ; preds = %78
%87 = trunc nsw i64 %83 to i32
br label %88
88: ; preds = %86, %66
%89 = phi i32 [ %68, %66 ], [ %87, %86 ]
%90 = add nuw nsw i64 %67, 1
%91 = load i32, ptr %33, align 4, !tbaa !20
%92 = sext i32 %91 to i64
%93 = icmp slt i64 %90, %92
br i1 %93, label %66, label %94, !llvm.loop !30
94: ; preds = %88, %31
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @ndev_to_cpsw(ptr noundef) local_unnamed_addr #2
declare i32 @readl(i64 noundef) local_unnamed_addr #2
declare i32 @cpdma_chan_get_stats(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"cpsw_common", !7, i64 0, !7, i64 4, !12, i64 8, !12, i64 16, !13, i64 24}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !13, i64 24}
!15 = !{!12, !12, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"TYPE_7__", !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !7, i64 4}
!21 = !{!11, !12, i64 16}
!22 = !{!23, !7, i64 0}
!23 = !{!"TYPE_5__", !7, i64 0}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = !{!11, !12, i64 8}
!27 = !{!28, !7, i64 0}
!28 = !{!"TYPE_6__", !7, i64 0}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
| linux_drivers_net_ethernet_ti_extr_cpsw_ethtool.c_cpsw_get_ethtool_stats |
; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_external_key.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_external_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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local ptr @ldns_key_external_key(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
ret ptr %2
}
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, !8, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_external_key.c'
source_filename = "AnghaBench/freebsd/contrib/ldns/extr_keys.c_ldns_key_external_key.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: read) uwtable(sync)
define ptr @ldns_key_external_key(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
ret ptr %2
}
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, !9, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"TYPE_4__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_ldns_extr_keys.c_ldns_key_external_key |
; ModuleID = 'AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_core_get_parent.c'
source_filename = "AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_core_get_parent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PXA_CORE_60Mhz = dso_local local_unnamed_addr global i32 0, align 4
@PXA_CORE_TURBO = dso_local local_unnamed_addr global i32 0, align 4
@PXA_CORE_RUN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @clk_pxa3xx_core_get_parent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @clk_pxa3xx_core_get_parent(ptr nocapture readnone %0) #0 {
%2 = tail call i64 (...) @pxa3xx_is_ring_osc_forced() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %1
%5 = tail call i64 asm sideeffect "mrc\09p14, 0, $0, c6, c0, 0", "=r,~{dirflag},~{fpsr},~{flags}"() #2, !srcloc !5
%6 = and i64 %5, 1
%7 = icmp eq i64 %6, 0
%8 = select i1 %7, ptr @PXA_CORE_RUN, ptr @PXA_CORE_TURBO
br label %9
9: ; preds = %4, %1
%10 = phi ptr [ @PXA_CORE_60Mhz, %1 ], [ %8, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !6
ret i32 %11
}
declare i64 @pxa3xx_is_ring_osc_forced(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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 859}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_core_get_parent.c'
source_filename = "AnghaBench/linux/drivers/clk/pxa/extr_clk-pxa3xx.c_clk_pxa3xx_core_get_parent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PXA_CORE_60Mhz = common local_unnamed_addr global i32 0, align 4
@PXA_CORE_TURBO = common local_unnamed_addr global i32 0, align 4
@PXA_CORE_RUN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @clk_pxa3xx_core_get_parent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @clk_pxa3xx_core_get_parent(ptr nocapture readnone %0) #0 {
%2 = tail call i64 @pxa3xx_is_ring_osc_forced() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %1
%5 = tail call i64 asm sideeffect "mrc\09p14, 0, $0, c6, c0, 0", "=r"() #2, !srcloc !6
%6 = and i64 %5, 1
%7 = icmp eq i64 %6, 0
%8 = select i1 %7, ptr @PXA_CORE_RUN, ptr @PXA_CORE_TURBO
br label %9
9: ; preds = %4, %1
%10 = phi ptr [ @PXA_CORE_60Mhz, %1 ], [ %8, %4 ]
%11 = load i32, ptr %10, align 4, !tbaa !7
ret i32 %11
}
declare i64 @pxa3xx_is_ring_osc_forced(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 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 859}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_clk_pxa_extr_clk-pxa3xx.c_clk_pxa3xx_core_get_parent |
; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_init_tail.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_init_tail.c"
target datalayout = "e-m:e-p270:32:32-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.ar934x_nfc = type { i32, i32, i32, i32, i32, %struct.nand_chip }
%struct.nand_chip = type { i32 }
%struct.mtd_info = type { i32, i32, i32 }
@AR934X_NFC_REG_SPARE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"unsupported OOB size: %d bytes\0A\00", align 1
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_CUSTOM_SIZE_EN = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_32 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_64 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_128 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_256 = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"unsupported block size: %u\0A\00", align 1
@AR934X_NFC_CTRL_BLOCK_SIZE_S = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_256 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_512 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_1024 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_2048 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_4096 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_8192 = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_16384 = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"unsupported write size: %d bytes\0A\00", align 1
@AR934X_NFC_CTRL_PAGE_SIZE_S = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_SMALL_PAGE = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_ADDR_CYCLE0_S = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_ADDR_CYCLE1_S = dso_local local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ar934x_nfc_init_tail], section "llvm.metadata"
@switch.table.ar934x_nfc_init_tail = private unnamed_addr constant [8 x ptr] [ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_64, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_128, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_256], align 8
; Function Attrs: nounwind uwtable
define internal i32 @ar934x_nfc_init_tail(ptr noundef %0) #0 {
%2 = tail call ptr @mtd_to_ar934x_nfc(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 5
%4 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %4, label %17 [
i32 16, label %5
i32 64, label %5
i32 128, label %5
]
5: ; preds = %1, %1, %1
%6 = load i32, ptr @AR934X_NFC_REG_SPARE_SIZE, align 4, !tbaa !10
%7 = tail call i32 @ar934x_nfc_wr(ptr noundef %2, i32 noundef %6, i32 noundef %4) #3
%8 = load i32, ptr @AR934X_NFC_CTRL_CUSTOM_SIZE_EN, align 4, !tbaa !10
%9 = getelementptr inbounds %struct.mtd_info, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = getelementptr inbounds %struct.mtd_info, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = sdiv i32 %10, %12
%14 = add i32 %13, -32
%15 = tail call i32 @llvm.fshl.i32(i32 %14, i32 %14, i32 27)
%16 = icmp ult i32 %15, 8
br i1 %16, label %29, label %23
17: ; preds = %1
%18 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 4
%19 = load i32, ptr %18, align 4, !tbaa !13
%20 = tail call i32 @dev_err(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %4) #3
%21 = load i32, ptr @ENXIO, align 4, !tbaa !10
%22 = sub nsw i32 0, %21
br label %110
23: ; preds = %29, %5
%24 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 4
%25 = load i32, ptr %24, align 4, !tbaa !13
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%27 = load i32, ptr @ENXIO, align 4, !tbaa !10
%28 = sub nsw i32 0, %27
br label %110
29: ; preds = %5
%30 = trunc i32 %15 to i8
%31 = lshr i8 -117, %30
%32 = and i8 %31, 1
%33 = icmp eq i8 %32, 0
br i1 %33, label %23, label %34
34: ; preds = %29
%35 = zext nneg i32 %15 to i64
%36 = getelementptr inbounds [8 x ptr], ptr @switch.table.ar934x_nfc_init_tail, i64 0, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %37, align 4, !tbaa !10
%39 = load i32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_S, align 4, !tbaa !10
%40 = shl i32 %38, %39
%41 = or i32 %40, %8
switch i32 %12, label %47 [
i32 256, label %53
i32 512, label %42
i32 1024, label %59
i32 2048, label %43
i32 4096, label %44
i32 8192, label %45
i32 16384, label %46
]
42: ; preds = %34
br label %53
43: ; preds = %34
br label %59
44: ; preds = %34
br label %59
45: ; preds = %34
br label %59
46: ; preds = %34
br label %59
47: ; preds = %34
%48 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 4
%49 = load i32, ptr %48, align 4, !tbaa !13
%50 = tail call i32 @dev_err(i32 noundef %49, ptr noundef nonnull @.str.2, i32 noundef %12) #3
%51 = load i32, ptr @ENXIO, align 4, !tbaa !10
%52 = sub nsw i32 0, %51
br label %110
53: ; preds = %34, %42
%54 = phi ptr [ @AR934X_NFC_CTRL_PAGE_SIZE_512, %42 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_256, %34 ]
store i32 1, ptr %2, align 4, !tbaa !16
%55 = load i32, ptr %54, align 4, !tbaa !10
%56 = load i32, ptr @AR934X_NFC_CTRL_PAGE_SIZE_S, align 4, !tbaa !10
%57 = shl i32 %55, %56
%58 = or i32 %57, %41
br label %67
59: ; preds = %34, %46, %45, %44, %43
%60 = phi ptr [ @AR934X_NFC_CTRL_PAGE_SIZE_1024, %34 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_2048, %43 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_4096, %44 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_8192, %45 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_16384, %46 ]
%61 = load i32, ptr %2, align 4, !tbaa !16
%62 = load i32, ptr %60, align 4, !tbaa !10
%63 = load i32, ptr @AR934X_NFC_CTRL_PAGE_SIZE_S, align 4, !tbaa !10
%64 = shl i32 %62, %63
%65 = or i32 %64, %41
%66 = icmp eq i32 %61, 0
br i1 %66, label %81, label %67
67: ; preds = %53, %59
%68 = phi i32 [ %58, %53 ], [ %65, %59 ]
%69 = load i32, ptr @AR934X_NFC_CTRL_SMALL_PAGE, align 4, !tbaa !10
%70 = or i32 %69, %68
%71 = load i32, ptr %3, align 4, !tbaa !17
%72 = icmp sgt i32 %71, 33554432
%73 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 2
br i1 %72, label %74, label %76
74: ; preds = %67
%75 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 1
store i32 4, ptr %75, align 4, !tbaa !18
store i32 3, ptr %73, align 4, !tbaa !19
br label %92
76: ; preds = %67
%77 = icmp sgt i32 %71, 131072
%78 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 1
br i1 %77, label %79, label %80
79: ; preds = %76
store i32 3, ptr %78, align 4, !tbaa !18
store i32 2, ptr %73, align 4, !tbaa !19
br label %92
80: ; preds = %76
store i32 2, ptr %78, align 4, !tbaa !18
store i32 1, ptr %73, align 4, !tbaa !19
br label %92
81: ; preds = %59
%82 = load i32, ptr %3, align 4, !tbaa !17
%83 = icmp sgt i32 %82, 134217728
%84 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 2
br i1 %83, label %85, label %87
85: ; preds = %81
%86 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 1
store i32 5, ptr %86, align 4, !tbaa !18
store i32 3, ptr %84, align 4, !tbaa !19
br label %92
87: ; preds = %81
%88 = icmp sgt i32 %82, 524288
%89 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 1
br i1 %88, label %90, label %91
90: ; preds = %87
store i32 4, ptr %89, align 4, !tbaa !18
store i32 2, ptr %84, align 4, !tbaa !19
br label %92
91: ; preds = %87
store i32 3, ptr %89, align 4, !tbaa !18
store i32 1, ptr %84, align 4, !tbaa !19
br label %92
92: ; preds = %85, %91, %90, %74, %80, %79
%93 = phi i32 [ 3, %74 ], [ 2, %79 ], [ 1, %80 ], [ 3, %85 ], [ 2, %90 ], [ 1, %91 ]
%94 = phi i32 [ 4, %74 ], [ 3, %79 ], [ 2, %80 ], [ 5, %85 ], [ 4, %90 ], [ 3, %91 ]
%95 = phi i32 [ %70, %74 ], [ %70, %79 ], [ %70, %80 ], [ %65, %85 ], [ %65, %90 ], [ %65, %91 ]
%96 = load i32, ptr @AR934X_NFC_CTRL_ADDR_CYCLE0_S, align 4, !tbaa !10
%97 = shl i32 %94, %96
%98 = or i32 %97, %95
%99 = load i32, ptr @AR934X_NFC_CTRL_ADDR_CYCLE1_S, align 4, !tbaa !10
%100 = shl i32 %93, %99
%101 = or i32 %98, %100
%102 = getelementptr inbounds %struct.ar934x_nfc, ptr %2, i64 0, i32 3
store i32 %101, ptr %102, align 4, !tbaa !20
%103 = load i32, ptr @AR934X_NFC_REG_CTRL, align 4, !tbaa !10
%104 = tail call i32 @ar934x_nfc_wr(ptr noundef nonnull %2, i32 noundef %103, i32 noundef %101) #3
%105 = tail call i32 @ar934x_nfc_free_buf(ptr noundef nonnull %2) #3
%106 = load i32, ptr %11, align 4, !tbaa !12
%107 = load i32, ptr %0, align 4, !tbaa !5
%108 = add nsw i32 %107, %106
%109 = tail call i32 @ar934x_nfc_alloc_buf(ptr noundef nonnull %2, i32 noundef %108) #3
br label %110
110: ; preds = %92, %47, %23, %17
%111 = phi i32 [ %22, %17 ], [ %28, %23 ], [ %52, %47 ], [ %109, %92 ]
ret i32 %111
}
declare ptr @mtd_to_ar934x_nfc(ptr noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_free_buf(ptr noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_alloc_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.fshl.i32(i32, i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtd_info", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!14, !7, i64 16}
!14 = !{!"ar934x_nfc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !15, i64 20}
!15 = !{!"nand_chip", !7, i64 0}
!16 = !{!14, !7, i64 0}
!17 = !{!15, !7, i64 0}
!18 = !{!14, !7, i64 4}
!19 = !{!14, !7, i64 8}
!20 = !{!14, !7, i64 12}
| ; ModuleID = 'AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_init_tail.c'
source_filename = "AnghaBench/openwrt/target/linux/ar71xx/files/drivers/mtd/nand/extr_ar934x_nfc.c_ar934x_nfc_init_tail.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR934X_NFC_REG_SPARE_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"unsupported OOB size: %d bytes\0A\00", align 1
@ENXIO = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_CUSTOM_SIZE_EN = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_32 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_64 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_128 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_BLOCK_SIZE_256 = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"unsupported block size: %u\0A\00", align 1
@AR934X_NFC_CTRL_BLOCK_SIZE_S = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_256 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_512 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_1024 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_2048 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_4096 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_8192 = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_PAGE_SIZE_16384 = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [34 x i8] c"unsupported write size: %d bytes\0A\00", align 1
@AR934X_NFC_CTRL_PAGE_SIZE_S = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_SMALL_PAGE = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_ADDR_CYCLE0_S = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_CTRL_ADDR_CYCLE1_S = common local_unnamed_addr global i32 0, align 4
@AR934X_NFC_REG_CTRL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ar934x_nfc_init_tail], section "llvm.metadata"
@switch.table.ar934x_nfc_init_tail = private unnamed_addr constant [8 x ptr] [ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_64, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_128, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_256], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ar934x_nfc_init_tail(ptr noundef %0) #0 {
%2 = tail call ptr @mtd_to_ar934x_nfc(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %2, i64 20
%4 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %4, label %17 [
i32 16, label %5
i32 64, label %5
i32 128, label %5
]
5: ; preds = %1, %1, %1
%6 = load i32, ptr @AR934X_NFC_REG_SPARE_SIZE, align 4, !tbaa !11
%7 = tail call i32 @ar934x_nfc_wr(ptr noundef %2, i32 noundef %6, i32 noundef %4) #3
%8 = load i32, ptr @AR934X_NFC_CTRL_CUSTOM_SIZE_EN, align 4, !tbaa !11
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = sdiv i32 %10, %12
%14 = add i32 %13, -32
%15 = tail call i32 @llvm.fshl.i32(i32 %14, i32 %14, i32 27)
%16 = icmp ult i32 %15, 8
br i1 %16, label %29, label %23
17: ; preds = %1
%18 = getelementptr inbounds i8, ptr %2, i64 16
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = tail call i32 @dev_err(i32 noundef %19, ptr noundef nonnull @.str, i32 noundef %4) #3
%21 = load i32, ptr @ENXIO, align 4, !tbaa !11
%22 = sub nsw i32 0, %21
br label %107
23: ; preds = %29, %5
%24 = getelementptr inbounds i8, ptr %2, i64 16
%25 = load i32, ptr %24, align 4, !tbaa !14
%26 = tail call i32 @dev_err(i32 noundef %25, ptr noundef nonnull @.str.1, i32 noundef %13) #3
%27 = load i32, ptr @ENXIO, align 4, !tbaa !11
%28 = sub nsw i32 0, %27
br label %107
29: ; preds = %5
%30 = trunc nuw i32 %15 to i8
%31 = lshr i8 -117, %30
%32 = trunc i8 %31 to i1
br i1 %32, label %33, label %23
33: ; preds = %29
%34 = zext nneg i32 %15 to i64
%35 = getelementptr inbounds [8 x ptr], ptr @switch.table.ar934x_nfc_init_tail, i64 0, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %36, align 4, !tbaa !11
%38 = load i32, ptr @AR934X_NFC_CTRL_BLOCK_SIZE_S, align 4, !tbaa !11
%39 = shl i32 %37, %38
%40 = or i32 %39, %8
switch i32 %12, label %46 [
i32 256, label %52
i32 512, label %41
i32 1024, label %58
i32 2048, label %42
i32 4096, label %43
i32 8192, label %44
i32 16384, label %45
]
41: ; preds = %33
br label %52
42: ; preds = %33
br label %58
43: ; preds = %33
br label %58
44: ; preds = %33
br label %58
45: ; preds = %33
br label %58
46: ; preds = %33
%47 = getelementptr inbounds i8, ptr %2, i64 16
%48 = load i32, ptr %47, align 4, !tbaa !14
%49 = tail call i32 @dev_err(i32 noundef %48, ptr noundef nonnull @.str.2, i32 noundef %12) #3
%50 = load i32, ptr @ENXIO, align 4, !tbaa !11
%51 = sub nsw i32 0, %50
br label %107
52: ; preds = %33, %41
%53 = phi ptr [ @AR934X_NFC_CTRL_PAGE_SIZE_512, %41 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_256, %33 ]
store i32 1, ptr %2, align 4, !tbaa !17
%54 = load i32, ptr %53, align 4, !tbaa !11
%55 = load i32, ptr @AR934X_NFC_CTRL_PAGE_SIZE_S, align 4, !tbaa !11
%56 = shl i32 %54, %55
%57 = or i32 %56, %40
br label %66
58: ; preds = %33, %45, %44, %43, %42
%59 = phi ptr [ @AR934X_NFC_CTRL_PAGE_SIZE_1024, %33 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_2048, %42 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_4096, %43 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_8192, %44 ], [ @AR934X_NFC_CTRL_PAGE_SIZE_16384, %45 ]
%60 = load i32, ptr %2, align 4, !tbaa !17
%61 = load i32, ptr %59, align 4, !tbaa !11
%62 = load i32, ptr @AR934X_NFC_CTRL_PAGE_SIZE_S, align 4, !tbaa !11
%63 = shl i32 %61, %62
%64 = or i32 %63, %40
%65 = icmp eq i32 %60, 0
br i1 %65, label %79, label %66
66: ; preds = %52, %58
%67 = phi i32 [ %57, %52 ], [ %64, %58 ]
%68 = load i32, ptr @AR934X_NFC_CTRL_SMALL_PAGE, align 4, !tbaa !11
%69 = or i32 %68, %67
%70 = load i32, ptr %3, align 4, !tbaa !18
%71 = icmp sgt i32 %70, 33554432
br i1 %71, label %72, label %74
72: ; preds = %66
%73 = getelementptr inbounds i8, ptr %2, i64 4
store <2 x i32> <i32 4, i32 3>, ptr %73, align 4, !tbaa !11
br label %89
74: ; preds = %66
%75 = icmp sgt i32 %70, 131072
%76 = getelementptr inbounds i8, ptr %2, i64 4
br i1 %75, label %77, label %78
77: ; preds = %74
store <2 x i32> <i32 3, i32 2>, ptr %76, align 4, !tbaa !11
br label %89
78: ; preds = %74
store <2 x i32> <i32 2, i32 1>, ptr %76, align 4, !tbaa !11
br label %89
79: ; preds = %58
%80 = load i32, ptr %3, align 4, !tbaa !18
%81 = icmp sgt i32 %80, 134217728
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = getelementptr inbounds i8, ptr %2, i64 4
store <2 x i32> <i32 5, i32 3>, ptr %83, align 4, !tbaa !11
br label %89
84: ; preds = %79
%85 = icmp sgt i32 %80, 524288
%86 = getelementptr inbounds i8, ptr %2, i64 4
br i1 %85, label %87, label %88
87: ; preds = %84
store <2 x i32> <i32 4, i32 2>, ptr %86, align 4, !tbaa !11
br label %89
88: ; preds = %84
store <2 x i32> <i32 3, i32 1>, ptr %86, align 4, !tbaa !11
br label %89
89: ; preds = %82, %88, %87, %72, %78, %77
%90 = phi i32 [ 3, %72 ], [ 2, %77 ], [ 1, %78 ], [ 3, %82 ], [ 2, %87 ], [ 1, %88 ]
%91 = phi i32 [ 4, %72 ], [ 3, %77 ], [ 2, %78 ], [ 5, %82 ], [ 4, %87 ], [ 3, %88 ]
%92 = phi i32 [ %69, %72 ], [ %69, %77 ], [ %69, %78 ], [ %64, %82 ], [ %64, %87 ], [ %64, %88 ]
%93 = load i32, ptr @AR934X_NFC_CTRL_ADDR_CYCLE0_S, align 4, !tbaa !11
%94 = shl i32 %91, %93
%95 = or i32 %94, %92
%96 = load i32, ptr @AR934X_NFC_CTRL_ADDR_CYCLE1_S, align 4, !tbaa !11
%97 = shl i32 %90, %96
%98 = or i32 %95, %97
%99 = getelementptr inbounds i8, ptr %2, i64 12
store i32 %98, ptr %99, align 4, !tbaa !19
%100 = load i32, ptr @AR934X_NFC_REG_CTRL, align 4, !tbaa !11
%101 = tail call i32 @ar934x_nfc_wr(ptr noundef nonnull %2, i32 noundef %100, i32 noundef %98) #3
%102 = tail call i32 @ar934x_nfc_free_buf(ptr noundef nonnull %2) #3
%103 = load i32, ptr %11, align 4, !tbaa !13
%104 = load i32, ptr %0, align 4, !tbaa !6
%105 = add nsw i32 %104, %103
%106 = tail call i32 @ar934x_nfc_alloc_buf(ptr noundef nonnull %2, i32 noundef %105) #3
br label %107
107: ; preds = %89, %46, %23, %17
%108 = phi i32 [ %22, %17 ], [ %28, %23 ], [ %51, %46 ], [ %106, %89 ]
ret i32 %108
}
declare ptr @mtd_to_ar934x_nfc(ptr noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_free_buf(ptr noundef) local_unnamed_addr #1
declare i32 @ar934x_nfc_alloc_buf(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.fshl.i32(i32, i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtd_info", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!15, !8, i64 16}
!15 = !{!"ar934x_nfc", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !16, i64 20}
!16 = !{!"nand_chip", !8, i64 0}
!17 = !{!15, !8, i64 0}
!18 = !{!16, !8, i64 0}
!19 = !{!15, !8, i64 12}
| openwrt_target_linux_ar71xx_files_drivers_mtd_nand_extr_ar934x_nfc.c_ar934x_nfc_init_tail |
; ModuleID = 'AnghaBench/poco/SevenZip/src/extr_Lzma2Dec.c_Lzma2Dec_UpdateState.c'
source_filename = "AnghaBench/poco/SevenZip/src/extr_Lzma2Dec.c_Lzma2Dec_UpdateState.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i32, i32, i32, i32, i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i32, i32, i32 }
@.str = private unnamed_addr constant [7 x i8] c"\0A %4X \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %2X\00", align 1
@LZMA2_STATE_FINISHED = dso_local local_unnamed_addr global i32 0, align 4
@LZMA2_STATE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c" %8d\00", align 1
@LZMA2_STATE_DATA = dso_local local_unnamed_addr global i32 0, align 4
@LZMA2_LCLP_MAX = dso_local local_unnamed_addr global i32 0, align 4
@False = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @Lzma2Dec_UpdateState], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @Lzma2Dec_UpdateState(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
switch i32 %3, label %86 [
i32 133, label %4
i32 129, label %31
i32 128, label %36
i32 132, label %47
i32 131, label %50
i32 130, label %67
]
4: ; preds = %2
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
store i32 %1, ptr %5, align 4, !tbaa !12
%6 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5
%7 = load i32, ptr %6, align 4, !tbaa !13
%8 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %7) #2
%9 = tail call i32 @PRF(i32 noundef %8) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %1) #2
%11 = tail call i32 @PRF(i32 noundef %10) #2
%12 = load i32, ptr %5, align 4, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load i32, ptr @LZMA2_STATE_FINISHED, align 4, !tbaa !14
br label %88
16: ; preds = %4
%17 = tail call i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef nonnull %0) #2
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr %5, align 4, !tbaa !12
br i1 %18, label %27, label %20
20: ; preds = %16
%21 = and i32 %19, 127
%22 = icmp ugt i32 %21, 2
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i32, ptr @LZMA2_STATE_ERROR, align 4, !tbaa !14
br label %88
25: ; preds = %20
%26 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
store i32 0, ptr %26, align 4, !tbaa !15
br label %88
27: ; preds = %16
%28 = shl i32 %19, 16
%29 = and i32 %28, 2031616
%30 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
store i32 %29, ptr %30, align 4, !tbaa !15
br label %88
31: ; preds = %2
%32 = shl i32 %1, 8
%33 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%34 = load i32, ptr %33, align 4, !tbaa !15
%35 = or i32 %34, %32
store i32 %35, ptr %33, align 4, !tbaa !15
br label %88
36: ; preds = %2
%37 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2
%38 = load i32, ptr %37, align 4, !tbaa !15
%39 = or i32 %38, %1
%40 = add nsw i32 %39, 1
store i32 %40, ptr %37, align 4, !tbaa !15
%41 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %40) #2
%42 = tail call i32 @PRF(i32 noundef %41) #2
%43 = tail call i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef nonnull %0) #2
%44 = icmp eq i32 %43, 0
%45 = load i32, ptr @LZMA2_STATE_DATA, align 4
%46 = select i1 %44, i32 132, i32 %45
br label %88
47: ; preds = %2
%48 = shl i32 %1, 8
%49 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3
store i32 %48, ptr %49, align 4, !tbaa !16
br label %88
50: ; preds = %2
%51 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3
%52 = load i32, ptr %51, align 4, !tbaa !16
%53 = or i32 %52, %1
%54 = add nsw i32 %53, 1
store i32 %54, ptr %51, align 4, !tbaa !16
%55 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %54) #2
%56 = tail call i32 @PRF(i32 noundef %55) #2
%57 = tail call i32 @LZMA2_GET_LZMA_MODE(ptr noundef nonnull %0) #2
%58 = tail call i32 @LZMA2_IS_THERE_PROP(i32 noundef %57) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %88
60: ; preds = %50
%61 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4
%62 = load i32, ptr %61, align 4, !tbaa !17
%63 = icmp eq i32 %62, 0
%64 = load i32, ptr @LZMA2_STATE_ERROR, align 4
%65 = load i32, ptr @LZMA2_STATE_DATA, align 4
%66 = select i1 %63, i32 %65, i32 %64
br label %88
67: ; preds = %2
%68 = icmp sgt i32 %1, 224
br i1 %68, label %83, label %69
69: ; preds = %67
%70 = srem i32 %1, 9
%71 = sdiv i32 %1, 9
%72 = sdiv i32 %1, 45
%73 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5, i32 1
store i32 %72, ptr %73, align 4, !tbaa !18
%74 = srem i32 %71, 5
%75 = add nsw i32 %74, %70
%76 = load i32, ptr @LZMA2_LCLP_MAX, align 4, !tbaa !14
%77 = icmp sgt i32 %75, %76
br i1 %77, label %83, label %78
78: ; preds = %69
%79 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5, i32 1, i32 1
store i32 %70, ptr %79, align 4, !tbaa !19
%80 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 5, i32 1, i32 2
store i32 %74, ptr %80, align 4, !tbaa !20
%81 = load i32, ptr @False, align 4, !tbaa !14
%82 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 4
store i32 %81, ptr %82, align 4, !tbaa !17
br label %83
83: ; preds = %69, %67, %78
%84 = phi ptr [ @LZMA2_STATE_DATA, %78 ], [ @LZMA2_STATE_ERROR, %67 ], [ @LZMA2_STATE_ERROR, %69 ]
%85 = load i32, ptr %84, align 4, !tbaa !14
br label %88
86: ; preds = %2
%87 = load i32, ptr @LZMA2_STATE_ERROR, align 4, !tbaa !14
br label %88
88: ; preds = %60, %50, %25, %27, %86, %83, %47, %36, %31, %23, %14
%89 = phi i32 [ %87, %86 ], [ %85, %83 ], [ 131, %47 ], [ %46, %36 ], [ 128, %31 ], [ %15, %14 ], [ %24, %23 ], [ 129, %27 ], [ 129, %25 ], [ %66, %60 ], [ 130, %50 ]
ret i32 %89
}
declare i32 @PRF(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef) local_unnamed_addr #1
declare i32 @LZMA2_IS_THERE_PROP(i32 noundef) local_unnamed_addr #1
declare i32 @LZMA2_GET_LZMA_MODE(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_9__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_8__", !7, i64 0, !11, i64 4}
!11 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 20}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 8}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 24}
!19 = !{!6, !7, i64 28}
!20 = !{!6, !7, i64 32}
| ; ModuleID = 'AnghaBench/poco/SevenZip/src/extr_Lzma2Dec.c_Lzma2Dec_UpdateState.c'
source_filename = "AnghaBench/poco/SevenZip/src/extr_Lzma2Dec.c_Lzma2Dec_UpdateState.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [7 x i8] c"\0A %4X \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" %2X\00", align 1
@LZMA2_STATE_FINISHED = common local_unnamed_addr global i32 0, align 4
@LZMA2_STATE_ERROR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c" %8d\00", align 1
@LZMA2_STATE_DATA = common local_unnamed_addr global i32 0, align 4
@LZMA2_LCLP_MAX = common local_unnamed_addr global i32 0, align 4
@False = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @Lzma2Dec_UpdateState], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @Lzma2Dec_UpdateState(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
switch i32 %3, label %87 [
i32 133, label %4
i32 129, label %31
i32 128, label %36
i32 132, label %47
i32 131, label %50
i32 130, label %67
]
4: ; preds = %2
%5 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %1, ptr %5, align 4, !tbaa !13
%6 = getelementptr inbounds i8, ptr %0, i64 20
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %7) #2
%9 = tail call i32 @PRF(i32 noundef %8) #2
%10 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %1) #2
%11 = tail call i32 @PRF(i32 noundef %10) #2
%12 = load i32, ptr %5, align 4, !tbaa !13
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load i32, ptr @LZMA2_STATE_FINISHED, align 4, !tbaa !15
br label %89
16: ; preds = %4
%17 = tail call i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef nonnull %0) #2
%18 = icmp eq i32 %17, 0
%19 = load i32, ptr %5, align 4, !tbaa !13
br i1 %18, label %27, label %20
20: ; preds = %16
%21 = and i32 %19, 127
%22 = icmp ugt i32 %21, 2
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = load i32, ptr @LZMA2_STATE_ERROR, align 4, !tbaa !15
br label %89
25: ; preds = %20
%26 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %26, align 4, !tbaa !16
br label %89
27: ; preds = %16
%28 = shl i32 %19, 16
%29 = and i32 %28, 2031616
%30 = getelementptr inbounds i8, ptr %0, i64 8
store i32 %29, ptr %30, align 4, !tbaa !16
br label %89
31: ; preds = %2
%32 = shl i32 %1, 8
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load i32, ptr %33, align 4, !tbaa !16
%35 = or i32 %34, %32
store i32 %35, ptr %33, align 4, !tbaa !16
br label %89
36: ; preds = %2
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load i32, ptr %37, align 4, !tbaa !16
%39 = or i32 %38, %1
%40 = add nsw i32 %39, 1
store i32 %40, ptr %37, align 4, !tbaa !16
%41 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %40) #2
%42 = tail call i32 @PRF(i32 noundef %41) #2
%43 = tail call i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef nonnull %0) #2
%44 = icmp eq i32 %43, 0
%45 = load i32, ptr @LZMA2_STATE_DATA, align 4
%46 = select i1 %44, i32 132, i32 %45
br label %89
47: ; preds = %2
%48 = shl i32 %1, 8
%49 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %48, ptr %49, align 4, !tbaa !17
br label %89
50: ; preds = %2
%51 = getelementptr inbounds i8, ptr %0, i64 12
%52 = load i32, ptr %51, align 4, !tbaa !17
%53 = or i32 %52, %1
%54 = add nsw i32 %53, 1
store i32 %54, ptr %51, align 4, !tbaa !17
%55 = tail call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %54) #2
%56 = tail call i32 @PRF(i32 noundef %55) #2
%57 = tail call i32 @LZMA2_GET_LZMA_MODE(ptr noundef nonnull %0) #2
%58 = tail call i32 @LZMA2_IS_THERE_PROP(i32 noundef %57) #2
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %89
60: ; preds = %50
%61 = getelementptr inbounds i8, ptr %0, i64 16
%62 = load i32, ptr %61, align 4, !tbaa !18
%63 = icmp eq i32 %62, 0
%64 = load i32, ptr @LZMA2_STATE_ERROR, align 4
%65 = load i32, ptr @LZMA2_STATE_DATA, align 4
%66 = select i1 %63, i32 %65, i32 %64
br label %89
67: ; preds = %2
%68 = icmp sgt i32 %1, 224
br i1 %68, label %84, label %69
69: ; preds = %67
%70 = sdiv i32 %1, 9
%71 = mul i32 %70, 9
%72 = sub i32 %1, %71
%73 = sdiv i32 %1, 45
%74 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %73, ptr %74, align 4, !tbaa !19
%75 = srem i32 %70, 5
%76 = add nsw i32 %75, %72
%77 = load i32, ptr @LZMA2_LCLP_MAX, align 4, !tbaa !15
%78 = icmp sgt i32 %76, %77
br i1 %78, label %84, label %79
79: ; preds = %69
%80 = getelementptr inbounds i8, ptr %0, i64 28
store i32 %72, ptr %80, align 4, !tbaa !20
%81 = getelementptr inbounds i8, ptr %0, i64 32
store i32 %75, ptr %81, align 4, !tbaa !21
%82 = load i32, ptr @False, align 4, !tbaa !15
%83 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %82, ptr %83, align 4, !tbaa !18
br label %84
84: ; preds = %69, %67, %79
%85 = phi ptr [ @LZMA2_STATE_DATA, %79 ], [ @LZMA2_STATE_ERROR, %67 ], [ @LZMA2_STATE_ERROR, %69 ]
%86 = load i32, ptr %85, align 4, !tbaa !15
br label %89
87: ; preds = %2
%88 = load i32, ptr @LZMA2_STATE_ERROR, align 4, !tbaa !15
br label %89
89: ; preds = %60, %50, %25, %27, %87, %84, %47, %36, %31, %23, %14
%90 = phi i32 [ %88, %87 ], [ %86, %84 ], [ 131, %47 ], [ %46, %36 ], [ 128, %31 ], [ %15, %14 ], [ %24, %23 ], [ 129, %27 ], [ 129, %25 ], [ %66, %60 ], [ 130, %50 ]
ret i32 %90
}
declare i32 @PRF(i32 noundef) local_unnamed_addr #1
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LZMA2_IS_UNCOMPRESSED_STATE(ptr noundef) local_unnamed_addr #1
declare i32 @LZMA2_IS_THERE_PROP(i32 noundef) local_unnamed_addr #1
declare i32 @LZMA2_GET_LZMA_MODE(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_9__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_8__", !8, i64 0, !12, i64 4}
!12 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 20}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 8}
!17 = !{!7, !8, i64 12}
!18 = !{!7, !8, i64 16}
!19 = !{!7, !8, i64 24}
!20 = !{!7, !8, i64 28}
!21 = !{!7, !8, i64 32}
| poco_SevenZip_src_extr_Lzma2Dec.c_Lzma2Dec_UpdateState |
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_btwilink.c_bt_ti_remove.c'
source_filename = "AnghaBench/linux/drivers/bluetooth/extr_btwilink.c_bt_ti_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EFAULT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @bt_ti_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bt_ti_remove(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @EFAULT, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
br label %16
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !9
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %9) #2
%11 = load ptr, ptr %2, align 8, !tbaa !9
%12 = tail call i32 @ti_st_close(ptr noundef %11) #2
%13 = tail call i32 @hci_unregister_dev(ptr noundef %11) #2
%14 = tail call i32 @hci_free_dev(ptr noundef %11) #2
%15 = tail call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef null) #2
br label %16
16: ; preds = %7, %4
%17 = phi i32 [ 0, %7 ], [ %6, %4 ]
ret i32 %17
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ti_st_close(ptr noundef) local_unnamed_addr #1
declare i32 @hci_unregister_dev(ptr noundef) local_unnamed_addr #1
declare i32 @hci_free_dev(ptr noundef) local_unnamed_addr #1
declare i32 @dev_set_drvdata(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 0}
!10 = !{!"ti_st", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"hci_dev", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_btwilink.c_bt_ti_remove.c'
source_filename = "AnghaBench/linux/drivers/bluetooth/extr_btwilink.c_bt_ti_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EFAULT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @bt_ti_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @bt_ti_remove(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = load i32, ptr @EFAULT, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
br label %16
7: ; preds = %1
%8 = load ptr, ptr %2, align 8, !tbaa !10
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = tail call i32 @BT_DBG(ptr noundef nonnull @.str, i32 noundef %9) #2
%11 = load ptr, ptr %2, align 8, !tbaa !10
%12 = tail call i32 @ti_st_close(ptr noundef %11) #2
%13 = tail call i32 @hci_unregister_dev(ptr noundef %11) #2
%14 = tail call i32 @hci_free_dev(ptr noundef %11) #2
%15 = tail call i32 @dev_set_drvdata(ptr noundef %0, ptr noundef null) #2
br label %16
16: ; preds = %7, %4
%17 = phi i32 [ 0, %7 ], [ %6, %4 ]
ret i32 %17
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @BT_DBG(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ti_st_close(ptr noundef) local_unnamed_addr #1
declare i32 @hci_unregister_dev(ptr noundef) local_unnamed_addr #1
declare i32 @hci_free_dev(ptr noundef) local_unnamed_addr #1
declare i32 @dev_set_drvdata(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 0}
!11 = !{!"ti_st", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"hci_dev", !7, i64 0}
| linux_drivers_bluetooth_extr_btwilink.c_bt_ti_remove |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_net_help.c_is_pow2.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_net_help.c_is_pow2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local i32 @is_pow2(i64 noundef %0) local_unnamed_addr #0 {
%2 = icmp eq i64 %0, 0
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = tail call i64 @llvm.ctpop.i64(i64 %0), !range !5
%5 = icmp ult i64 %4, 2
%6 = zext i1 %5 to i32
br label %7
7: ; preds = %1, %3
%8 = phi i32 [ %6, %3 ], [ 1, %1 ]
ret i32 %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.ctpop.i64(i64) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{i64 0, i64 65}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/util/extr_net_help.c_is_pow2.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/util/extr_net_help.c_is_pow2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define range(i32 0, 2) i32 @is_pow2(i64 noundef %0) local_unnamed_addr #0 {
%2 = icmp eq i64 %0, 0
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = tail call range(i64 0, 65) i64 @llvm.ctpop.i64(i64 %0)
%5 = icmp ult i64 %4, 2
%6 = zext i1 %5 to i32
br label %7
7: ; preds = %1, %3
%8 = phi i32 [ %6, %3 ], [ 1, %1 ]
ret i32 %8
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.ctpop.i64(i64) #1
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" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_unbound_util_extr_net_help.c_is_pow2 |
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_dataset.c_dsl_dataset_evict_sync.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_dataset.c_dsl_dataset_evict_sync.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @dsl_dataset_evict_sync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @dsl_dataset_evict_sync(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ASSERT(i32 noundef %5) #2
%7 = load i32, ptr %0, align 8, !tbaa !11
%8 = tail call i32 @unique_remove(i32 noundef %7) #2
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @unique_remove(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/zfs/module/zfs/extr_dsl_dataset.c_dsl_dataset_evict_sync.c'
source_filename = "AnghaBench/zfs/module/zfs/extr_dsl_dataset.c_dsl_dataset_evict_sync.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 @dsl_dataset_evict_sync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @dsl_dataset_evict_sync(ptr nocapture noundef readonly %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = tail call i32 @ASSERT(i32 noundef %5) #2
%7 = load i32, ptr %0, align 8, !tbaa !12
%8 = tail call i32 @unique_remove(i32 noundef %7) #2
ret void
}
declare i32 @ASSERT(i32 noundef) local_unnamed_addr #1
declare i32 @unique_remove(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
| zfs_module_zfs_extr_dsl_dataset.c_dsl_dataset_evict_sync |
; ModuleID = 'AnghaBench/reactos/modules/rostests/tests/pseh2/extr_psehtest2.c_return_negative.c'
source_filename = "AnghaBench/reactos/modules/rostests/tests/pseh2/extr_psehtest2.c_return_negative.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @return_negative() local_unnamed_addr #0 {
ret i32 -1234
}
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/modules/rostests/tests/pseh2/extr_psehtest2.c_return_negative.c'
source_filename = "AnghaBench/reactos/modules/rostests/tests/pseh2/extr_psehtest2.c_return_negative.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @return_negative() local_unnamed_addr #0 {
ret i32 -1234
}
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_modules_rostests_tests_pseh2_extr_psehtest2.c_return_negative |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/siba/extr_siba_bhndb.c_siba_bhndb_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/siba/extr_siba_bhndb.c_siba_bhndb_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"
@BHND_CHIPTYPE_SIBA = dso_local local_unnamed_addr global i64 0, align 8
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @siba_bhndb_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @siba_bhndb_probe(i32 noundef %0) #0 {
%2 = tail call i32 @siba_probe(i32 noundef %0) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = tail call i32 @device_get_parent(i32 noundef %0) #2
%6 = tail call ptr @BHNDB_GET_CHIPID(i32 noundef %5, i32 noundef %0) #2
%7 = load i64, ptr %6, align 8, !tbaa !5
%8 = load i64, ptr @BHND_CHIPTYPE_SIBA, align 8, !tbaa !10
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = load i32, ptr @ENXIO, align 4, !tbaa !11
br label %14
12: ; preds = %4
%13 = tail call i32 @bhnd_set_default_bus_desc(i32 noundef %0, ptr noundef nonnull %6) #2
br label %14
14: ; preds = %1, %12, %10
%15 = phi i32 [ %11, %10 ], [ %2, %12 ], [ %2, %1 ]
ret i32 %15
}
declare i32 @siba_probe(i32 noundef) local_unnamed_addr #1
declare ptr @BHNDB_GET_CHIPID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare i32 @bhnd_set_default_bus_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"bhnd_chipid", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/siba/extr_siba_bhndb.c_siba_bhndb_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/siba/extr_siba_bhndb.c_siba_bhndb_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BHND_CHIPTYPE_SIBA = common local_unnamed_addr global i64 0, align 8
@ENXIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @siba_bhndb_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @siba_bhndb_probe(i32 noundef %0) #0 {
%2 = tail call i32 @siba_probe(i32 noundef %0) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %14, label %4
4: ; preds = %1
%5 = tail call i32 @device_get_parent(i32 noundef %0) #2
%6 = tail call ptr @BHNDB_GET_CHIPID(i32 noundef %5, i32 noundef %0) #2
%7 = load i64, ptr %6, align 8, !tbaa !6
%8 = load i64, ptr @BHND_CHIPTYPE_SIBA, align 8, !tbaa !11
%9 = icmp eq i64 %7, %8
br i1 %9, label %12, label %10
10: ; preds = %4
%11 = load i32, ptr @ENXIO, align 4, !tbaa !12
br label %14
12: ; preds = %4
%13 = tail call i32 @bhnd_set_default_bus_desc(i32 noundef %0, ptr noundef nonnull %6) #2
br label %14
14: ; preds = %1, %12, %10
%15 = phi i32 [ %11, %10 ], [ %2, %12 ], [ %2, %1 ]
ret i32 %15
}
declare i32 @siba_probe(i32 noundef) local_unnamed_addr #1
declare ptr @BHNDB_GET_CHIPID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1
declare i32 @bhnd_set_default_bus_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"bhnd_chipid", !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}
| freebsd_sys_dev_bhnd_siba_extr_siba_bhndb.c_siba_bhndb_probe |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_dequeue_deferred_free.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_dequeue_deferred_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"
%struct.TYPE_5__ = type { i64, i32, i32 }
@PGA_DEQUEUE = dso_local local_unnamed_addr global i32 0, align 4
@PQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vm_page_dequeue_deferred_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vm_page_dequeue_deferred_free(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @KASSERT(i32 noundef %4, ptr noundef nonnull %0) #2
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
br label %8
8: ; preds = %18, %1
%9 = load i32, ptr %6, align 8, !tbaa !11
%10 = load i32, ptr @PGA_DEQUEUE, align 4, !tbaa !12
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %8
%14 = tail call i32 (...) @atomic_thread_fence_acq() #2
%15 = tail call i32 @atomic_load_8(ptr noundef nonnull %7) #2
%16 = load i32, ptr @PQ_NONE, align 4, !tbaa !12
%17 = icmp eq i32 %15, %16
br i1 %17, label %24, label %18
18: ; preds = %13
%19 = load i32, ptr @PGA_DEQUEUE, align 4, !tbaa !12
%20 = tail call i64 @vm_page_pqstate_cmpset(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %15, i32 noundef %19, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %8, label %22
22: ; preds = %18
%23 = tail call i32 @vm_page_pqbatch_submit(ptr noundef nonnull %0, i32 noundef %15) #2
br label %24
24: ; preds = %13, %8, %22
ret void
}
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_thread_fence_acq(...) local_unnamed_addr #1
declare i32 @atomic_load_8(ptr noundef) local_unnamed_addr #1
declare i64 @vm_page_pqstate_cmpset(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_page_pqbatch_submit(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_dequeue_deferred_free.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_page.c_vm_page_dequeue_deferred_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PGA_DEQUEUE = common local_unnamed_addr global i32 0, align 4
@PQ_NONE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vm_page_dequeue_deferred_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vm_page_dequeue_deferred_free(ptr noundef %0) #0 {
%2 = load i64, ptr %0, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @KASSERT(i32 noundef %4, ptr noundef nonnull %0) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = getelementptr inbounds i8, ptr %0, i64 12
br label %8
8: ; preds = %18, %1
%9 = load i32, ptr %6, align 8, !tbaa !12
%10 = load i32, ptr @PGA_DEQUEUE, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %24
13: ; preds = %8
%14 = tail call i32 @atomic_thread_fence_acq() #2
%15 = tail call i32 @atomic_load_8(ptr noundef nonnull %7) #2
%16 = load i32, ptr @PQ_NONE, align 4, !tbaa !13
%17 = icmp eq i32 %15, %16
br i1 %17, label %24, label %18
18: ; preds = %13
%19 = load i32, ptr @PGA_DEQUEUE, align 4, !tbaa !13
%20 = tail call i64 @vm_page_pqstate_cmpset(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %15, i32 noundef %19, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %8, label %22
22: ; preds = %18
%23 = tail call i32 @vm_page_pqbatch_submit(ptr noundef nonnull %0, i32 noundef %15) #2
br label %24
24: ; preds = %13, %8, %22
ret void
}
declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atomic_thread_fence_acq(...) local_unnamed_addr #1
declare i32 @atomic_load_8(ptr noundef) local_unnamed_addr #1
declare i64 @vm_page_pqstate_cmpset(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_page_pqbatch_submit(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!11, !11, i64 0}
| freebsd_sys_vm_extr_vm_page.c_vm_page_dequeue_deferred_free |
; ModuleID = 'AnghaBench/reactos/base/applications/mscutils/eventvwr/extr_eventvwr.c_TrimNulls.c'
source_filename = "AnghaBench/reactos/base/applications/mscutils/eventvwr/extr_eventvwr.c_TrimNulls.c"
target datalayout = "e-m:e-p270:32:32-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 @TrimNulls(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = tail call i32 @wcslen(ptr noundef nonnull %0) #2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i32, ptr %0, i64 %5
br label %7
7: ; preds = %11, %3
%8 = phi ptr [ %6, %3 ], [ %9, %11 ]
%9 = getelementptr inbounds i32, ptr %8, i64 -1
%10 = icmp ult ptr %9, %0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr %9, align 4, !tbaa !5
%13 = tail call i64 @iswspace(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %7, !llvm.loop !9
15: ; preds = %7, %11
store i32 0, ptr %8, align 4, !tbaa !5
br label %16
16: ; preds = %15, %1
ret void
}
declare i32 @wcslen(ptr noundef) local_unnamed_addr #1
declare i64 @iswspace(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/base/applications/mscutils/eventvwr/extr_eventvwr.c_TrimNulls.c'
source_filename = "AnghaBench/reactos/base/applications/mscutils/eventvwr/extr_eventvwr.c_TrimNulls.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 @TrimNulls(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %16, label %3
3: ; preds = %1
%4 = tail call i32 @wcslen(ptr noundef nonnull %0) #2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i32, ptr %0, i64 %5
br label %7
7: ; preds = %11, %3
%8 = phi ptr [ %6, %3 ], [ %9, %11 ]
%9 = getelementptr inbounds i8, ptr %8, i64 -4
%10 = icmp ult ptr %9, %0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr %9, align 4, !tbaa !6
%13 = tail call i64 @iswspace(i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %7, !llvm.loop !10
15: ; preds = %7, %11
store i32 0, ptr %8, align 4, !tbaa !6
br label %16
16: ; preds = %15, %1
ret void
}
declare i32 @wcslen(ptr noundef) local_unnamed_addr #1
declare i64 @iswspace(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| reactos_base_applications_mscutils_eventvwr_extr_eventvwr.c_TrimNulls |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x2/extr_..mt76x02_eeprom.h_mt76x02_rate_power_val.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x2/extr_..mt76x02_eeprom.h_mt76x02_rate_power_val.c"
target datalayout = "e-m:e-p270:32:32-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 @mt76x02_rate_power_val], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @mt76x02_rate_power_val(i32 noundef %0) #0 {
%2 = tail call i32 @mt76x02_field_valid(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @mt76x02_sign_extend_optional(i32 noundef %0, i32 noundef 7) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
declare i32 @mt76x02_field_valid(i32 noundef) local_unnamed_addr #1
declare i32 @mt76x02_sign_extend_optional(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/drivers/net/wireless/mediatek/mt76/mt76x2/extr_..mt76x02_eeprom.h_mt76x02_rate_power_val.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/mediatek/mt76/mt76x2/extr_..mt76x02_eeprom.h_mt76x02_rate_power_val.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 @mt76x02_rate_power_val], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @mt76x02_rate_power_val(i32 noundef %0) #0 {
%2 = tail call i32 @mt76x02_field_valid(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = tail call i32 @mt76x02_sign_extend_optional(i32 noundef %0, i32 noundef 7) #2
br label %6
6: ; preds = %1, %4
%7 = phi i32 [ %5, %4 ], [ 0, %1 ]
ret i32 %7
}
declare i32 @mt76x02_field_valid(i32 noundef) local_unnamed_addr #1
declare i32 @mt76x02_sign_extend_optional(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_drivers_net_wireless_mediatek_mt76_mt76x2_extr_..mt76x02_eeprom.h_mt76x02_rate_power_val |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192S_phy.c_phy_SetUsbRFReg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192S_phy.c_phy_SetUsbRFReg.c"
target datalayout = "e-m:e-p270:32:32-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.r8192_priv = type { i32, i32 }
@COMP_RF = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"phy_SetUsbRFReg(): Wait 1 ms (%d times)...\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"phy_SetUsbRFReg(): (%d) Wait too logn to query BB!!\0A\00", align 1
@RF_BB_CMD_DATA = dso_local local_unnamed_addr global i32 0, align 4
@RF_BB_CMD_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"phy_SetUsbRFReg(): Set RegAddr(%#x) = %#x Fail!!!\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @phy_SetUsbRFReg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%6 = getelementptr inbounds %struct.r8192_priv, ptr %5, i64 0, i32 1
br label %7
7: ; preds = %11, %4
%8 = phi i32 [ 0, %4 ], [ %13, %11 ]
%9 = load i32, ptr %5, align 4, !tbaa !5
%10 = icmp eq i32 %9, 0
br i1 %10, label %21, label %11
11: ; preds = %7
%12 = tail call i32 @down(ptr noundef nonnull %6) #2
%13 = add nuw nsw i32 %8, 1
%14 = load i32, ptr @COMP_RF, align 4, !tbaa !10
%15 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %13) #2
%16 = tail call i32 @msleep(i32 noundef 1) #2
%17 = icmp eq i32 %13, 101
br i1 %17, label %18, label %7, !llvm.loop !11
18: ; preds = %11
%19 = load i32, ptr @COMP_RF, align 4, !tbaa !10
%20 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef 101) #2
br label %45
21: ; preds = %7
store i32 1, ptr %5, align 4, !tbaa !5
%22 = and i32 %2, 63
%23 = load i32, ptr @RF_BB_CMD_DATA, align 4, !tbaa !10
%24 = tail call i32 @write_nic_dword(ptr noundef %0, i32 noundef %23, i32 noundef %3) #2
%25 = load i32, ptr @RF_BB_CMD_ADDR, align 4, !tbaa !10
%26 = shl nuw nsw i32 %22, 8
%27 = shl i32 %1, 16
%28 = or disjoint i32 %26, %27
%29 = or i32 %28, -268435453
%30 = tail call i32 @write_nic_dword(ptr noundef %0, i32 noundef %25, i32 noundef %29) #2
br label %31
31: ; preds = %31, %21
%32 = phi i32 [ 50, %21 ], [ %36, %31 ]
%33 = load i32, ptr @RF_BB_CMD_ADDR, align 4, !tbaa !10
%34 = tail call i64 @read_nic_dword(ptr noundef %0, i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
%36 = add nsw i32 %32, -1
%37 = icmp eq i32 %36, 0
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %39, label %31, !llvm.loop !13
39: ; preds = %31
br i1 %35, label %43, label %40
40: ; preds = %39
%41 = load i32, ptr @COMP_RF, align 4, !tbaa !10
%42 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %41, ptr noundef nonnull @.str.2, i32 noundef %22, i32 noundef %3) #2
br label %43
43: ; preds = %40, %39
%44 = tail call i32 @up(ptr noundef nonnull %6) #2
store i32 0, ptr %5, align 4, !tbaa !5
br label %45
45: ; preds = %43, %18
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @down(ptr noundef) local_unnamed_addr #1
declare i32 @RT_TRACE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @write_nic_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @read_nic_dword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up(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 = !{!"r8192_priv", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192S_phy.c_phy_SetUsbRFReg.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rtl8192su/extr_r8192S_phy.c_phy_SetUsbRFReg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@COMP_RF = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"phy_SetUsbRFReg(): Wait 1 ms (%d times)...\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c"phy_SetUsbRFReg(): (%d) Wait too logn to query BB!!\0A\00", align 1
@RF_BB_CMD_DATA = common local_unnamed_addr global i32 0, align 4
@RF_BB_CMD_ADDR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"phy_SetUsbRFReg(): Set RegAddr(%#x) = %#x Fail!!!\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @phy_SetUsbRFReg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 {
%5 = tail call ptr @ieee80211_priv(ptr noundef %0) #2
%6 = getelementptr inbounds i8, ptr %5, i64 4
br label %7
7: ; preds = %11, %4
%8 = phi i32 [ 0, %4 ], [ %13, %11 ]
%9 = load i32, ptr %5, align 4, !tbaa !6
%10 = icmp eq i32 %9, 0
br i1 %10, label %21, label %11
11: ; preds = %7
%12 = tail call i32 @down(ptr noundef nonnull %6) #2
%13 = add nuw nsw i32 %8, 1
%14 = load i32, ptr @COMP_RF, align 4, !tbaa !11
%15 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %14, ptr noundef nonnull @.str, i32 noundef %13) #2
%16 = tail call i32 @msleep(i32 noundef 1) #2
%17 = icmp eq i32 %13, 101
br i1 %17, label %18, label %7, !llvm.loop !12
18: ; preds = %11
%19 = load i32, ptr @COMP_RF, align 4, !tbaa !11
%20 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %19, ptr noundef nonnull @.str.1, i32 noundef 101) #2
br label %45
21: ; preds = %7
store i32 1, ptr %5, align 4, !tbaa !6
%22 = and i32 %2, 63
%23 = load i32, ptr @RF_BB_CMD_DATA, align 4, !tbaa !11
%24 = tail call i32 @write_nic_dword(ptr noundef %0, i32 noundef %23, i32 noundef %3) #2
%25 = load i32, ptr @RF_BB_CMD_ADDR, align 4, !tbaa !11
%26 = shl nuw nsw i32 %22, 8
%27 = shl i32 %1, 16
%28 = or disjoint i32 %26, %27
%29 = or i32 %28, -268435453
%30 = tail call i32 @write_nic_dword(ptr noundef %0, i32 noundef %25, i32 noundef %29) #2
br label %31
31: ; preds = %31, %21
%32 = phi i32 [ 50, %21 ], [ %36, %31 ]
%33 = load i32, ptr @RF_BB_CMD_ADDR, align 4, !tbaa !11
%34 = tail call i64 @read_nic_dword(ptr noundef %0, i32 noundef %33) #2
%35 = icmp eq i64 %34, 0
%36 = add nsw i32 %32, -1
%37 = icmp eq i32 %36, 0
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %39, label %31, !llvm.loop !14
39: ; preds = %31
br i1 %35, label %43, label %40
40: ; preds = %39
%41 = load i32, ptr @COMP_RF, align 4, !tbaa !11
%42 = tail call i32 (i32, ptr, i32, ...) @RT_TRACE(i32 noundef %41, ptr noundef nonnull @.str.2, i32 noundef %22, i32 noundef %3) #2
br label %43
43: ; preds = %40, %39
%44 = tail call i32 @up(ptr noundef nonnull %6) #2
store i32 0, ptr %5, align 4, !tbaa !6
br label %45
45: ; preds = %43, %18
ret void
}
declare ptr @ieee80211_priv(ptr noundef) local_unnamed_addr #1
declare i32 @down(ptr noundef) local_unnamed_addr #1
declare i32 @RT_TRACE(i32 noundef, ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @write_nic_dword(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @read_nic_dword(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @up(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 = !{!"r8192_priv", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
| fastsocket_kernel_drivers_staging_rtl8192su_extr_r8192S_phy.c_phy_SetUsbRFReg |
; ModuleID = 'AnghaBench/freebsd/lib/libfetch/extr_ftp.c_ftp_isconnected.c'
source_filename = "AnghaBench/freebsd/lib/libfetch/extr_ftp.c_ftp_isconnected.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i32, i32, i32 }
%struct.url = type { i64, i32, i32, i32 }
@cached_connection = dso_local local_unnamed_addr global i64 0, align 8
@cached_host = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ftp_isconnected], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ftp_isconnected(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @cached_connection, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %27, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.url, ptr %0, i64 0, i32 3
%6 = load i32, ptr %5, align 8, !tbaa !9
%7 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @cached_host, i64 0, i32 3), align 8, !tbaa !12
%8 = tail call i64 @strcmp(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %27
10: ; preds = %4
%11 = getelementptr inbounds %struct.url, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @cached_host, i64 0, i32 2), align 4, !tbaa !15
%14 = tail call i64 @strcmp(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %10
%17 = getelementptr inbounds %struct.url, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 8, !tbaa !16
%19 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @cached_host, i64 0, i32 1), align 8, !tbaa !17
%20 = tail call i64 @strcmp(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load i64, ptr %0, align 8, !tbaa !18
%24 = load i64, ptr @cached_host, align 8, !tbaa !19
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
br label %27
27: ; preds = %22, %16, %10, %4, %1
%28 = phi i32 [ 0, %16 ], [ 0, %10 ], [ 0, %4 ], [ 0, %1 ], [ %26, %22 ]
ret i32 %28
}
declare i64 @strcmp(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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 16}
!10 = !{!"url", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_2__", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!14 = !{!10, !11, i64 12}
!15 = !{!13, !11, i64 12}
!16 = !{!10, !11, i64 8}
!17 = !{!13, !11, i64 8}
!18 = !{!10, !6, i64 0}
!19 = !{!13, !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libfetch/extr_ftp.c_ftp_isconnected.c'
source_filename = "AnghaBench/freebsd/lib/libfetch/extr_ftp.c_ftp_isconnected.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64, i32, i32, i32 }
@cached_connection = common local_unnamed_addr global i64 0, align 8
@cached_host = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@llvm.used = appending global [1 x ptr] [ptr @ftp_isconnected], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ftp_isconnected(ptr nocapture noundef readonly %0) #0 {
%2 = load i64, ptr @cached_connection, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %27, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 16
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = load i32, ptr getelementptr inbounds (i8, ptr @cached_host, i64 16), align 8, !tbaa !13
%8 = tail call i64 @strcmp(i32 noundef %6, i32 noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %27
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = load i32, ptr getelementptr inbounds (i8, ptr @cached_host, i64 12), align 4, !tbaa !16
%14 = tail call i64 @strcmp(i32 noundef %12, i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %10
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !17
%19 = load i32, ptr getelementptr inbounds (i8, ptr @cached_host, i64 8), align 8, !tbaa !18
%20 = tail call i64 @strcmp(i32 noundef %18, i32 noundef %19) #2
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load i64, ptr %0, align 8, !tbaa !19
%24 = load i64, ptr @cached_host, align 8, !tbaa !20
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
br label %27
27: ; preds = %22, %16, %10, %4, %1
%28 = phi i32 [ 0, %16 ], [ 0, %10 ], [ 0, %4 ], [ 0, %1 ], [ %26, %22 ]
ret i32 %28
}
declare i64 @strcmp(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 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"url", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"TYPE_2__", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!15 = !{!11, !12, i64 12}
!16 = !{!14, !12, i64 12}
!17 = !{!11, !12, i64 8}
!18 = !{!14, !12, i64 8}
!19 = !{!11, !7, i64 0}
!20 = !{!14, !7, i64 0}
| freebsd_lib_libfetch_extr_ftp.c_ftp_isconnected |
; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_oss.c_oss_free.c'
source_filename = "AnghaBench/RetroArch/audio/drivers/extr_oss.c_oss_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"
@SNDCTL_DSP_RESET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @oss_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @oss_free(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @SNDCTL_DSP_RESET, align 4, !tbaa !5
%4 = tail call i64 @ioctl(i32 noundef %2, i32 noundef %3, i32 noundef 0) #2
%5 = icmp slt i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = tail call i32 @close(i32 noundef %7) #2
%9 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %1, %6
ret void
}
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/audio/drivers/extr_oss.c_oss_free.c'
source_filename = "AnghaBench/RetroArch/audio/drivers/extr_oss.c_oss_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDCTL_DSP_RESET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @oss_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @oss_free(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @SNDCTL_DSP_RESET, align 4, !tbaa !6
%4 = tail call i64 @ioctl(i32 noundef %2, i32 noundef %3, i32 noundef 0) #2
%5 = icmp slt i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = tail call i32 @close(i32 noundef %7) #2
%9 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %10
10: ; preds = %1, %6
ret void
}
declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_audio_drivers_extr_oss.c_oss_free |
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_edac_device_create_instances.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_edac_device_create_instances.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @edac_device_create_instances], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @edac_device_create_instances(ptr noundef %0) #0 {
%2 = tail call i32 @edac_dbg(i32 noundef 0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %20
5: ; preds = %1, %16
%6 = phi i32 [ %17, %16 ], [ 0, %1 ]
%7 = tail call i32 @edac_device_create_instance(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %5
%10 = icmp eq i32 %6, 0
br i1 %10, label %20, label %11
11: ; preds = %9, %11
%12 = phi i32 [ %14, %11 ], [ 0, %9 ]
%13 = tail call i32 @edac_device_delete_instance(ptr noundef nonnull %0, i32 noundef %12) #2
%14 = add nuw nsw i32 %12, 1
%15 = icmp eq i32 %14, %6
br i1 %15, label %20, label %11, !llvm.loop !10
16: ; preds = %5
%17 = add nuw nsw i32 %6, 1
%18 = load i32, ptr %0, align 4, !tbaa !5
%19 = icmp slt i32 %17, %18
br i1 %19, label %5, label %20, !llvm.loop !12
20: ; preds = %16, %11, %1, %9
%21 = phi i32 [ %7, %9 ], [ 0, %1 ], [ %7, %11 ], [ 0, %16 ]
ret i32 %21
}
declare i32 @edac_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @edac_device_create_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @edac_device_delete_instance(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 = !{!"edac_device_ctl_info", !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/linux/drivers/edac/extr_edac_device_sysfs.c_edac_device_create_instances.c'
source_filename = "AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_edac_device_create_instances.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @edac_device_create_instances], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @edac_device_create_instances(ptr noundef %0) #0 {
%2 = tail call i32 @edac_dbg(i32 noundef 0, ptr noundef nonnull @.str) #2
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %20
5: ; preds = %1, %16
%6 = phi i32 [ %17, %16 ], [ 0, %1 ]
%7 = tail call i32 @edac_device_create_instance(ptr noundef nonnull %0, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %16, label %9
9: ; preds = %5
%10 = icmp eq i32 %6, 0
br i1 %10, label %20, label %11
11: ; preds = %9, %11
%12 = phi i32 [ %14, %11 ], [ 0, %9 ]
%13 = tail call i32 @edac_device_delete_instance(ptr noundef nonnull %0, i32 noundef %12) #2
%14 = add nuw nsw i32 %12, 1
%15 = icmp eq i32 %14, %6
br i1 %15, label %20, label %11, !llvm.loop !11
16: ; preds = %5
%17 = add nuw nsw i32 %6, 1
%18 = load i32, ptr %0, align 4, !tbaa !6
%19 = icmp slt i32 %17, %18
br i1 %19, label %5, label %20, !llvm.loop !13
20: ; preds = %16, %11, %1, %9
%21 = phi i32 [ %7, %9 ], [ 0, %1 ], [ %7, %11 ], [ 0, %16 ]
ret i32 %21
}
declare i32 @edac_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @edac_device_create_instance(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @edac_device_delete_instance(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 = !{!"edac_device_ctl_info", !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}
| linux_drivers_edac_extr_edac_device_sysfs.c_edac_device_create_instances |
; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_adbdma_init.c'
source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_adbdma_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 @vortex_adbdma_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @vortex_adbdma_init(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_adbdma_init.c'
source_filename = "AnghaBench/linux/sound/pci/au88x0/extr_au88x0_core.c_vortex_adbdma_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 @vortex_adbdma_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @vortex_adbdma_init(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_sound_pci_au88x0_extr_au88x0_core.c_vortex_adbdma_init |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_rx.c_carl9170_dbg_message.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_rx.c_carl9170_dbg_message.c"
target datalayout = "e-m:e-p270:32:32-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.ar9170 = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32, i32 }
@CARL9170_RR_NO_REASON = dso_local local_unnamed_addr global i32 0, align 4
@CARL9170_ERR_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS = dso_local local_unnamed_addr global i32 0, align 4
@CARL9170_BUG_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@CARL9170_RR_FATAL_FIRMWARE_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"FW: %.*s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @carl9170_dbg_message], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @carl9170_dbg_message(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @CARL9170_RR_NO_REASON, align 4, !tbaa !5
%5 = icmp sgt i32 %2, 3
br i1 %5, label %6, label %29
6: ; preds = %3
%7 = load i32, ptr @CARL9170_ERR_MAGIC, align 4, !tbaa !5
%8 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %7, i32 noundef 3) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = getelementptr inbounds %struct.ar9170, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !9
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 8, !tbaa !9
%14 = icmp sgt i32 %12, 2
%15 = load i32, ptr @CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS, align 4
%16 = zext i1 %14 to i32
%17 = select i1 %14, i32 %15, i32 %4
br label %18
18: ; preds = %10, %6
%19 = phi i32 [ 0, %6 ], [ %16, %10 ]
%20 = phi i32 [ %4, %6 ], [ %17, %10 ]
%21 = load i32, ptr @CARL9170_BUG_MAGIC, align 4, !tbaa !5
%22 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %21, i32 noundef 3) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = getelementptr inbounds %struct.ar9170, ptr %0, i64 0, i32 1, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = add nsw i32 %26, 1
store i32 %27, ptr %25, align 4, !tbaa !13
%28 = load i32, ptr @CARL9170_RR_FATAL_FIRMWARE_ERROR, align 4, !tbaa !5
br label %29
29: ; preds = %18, %24, %3
%30 = phi i32 [ 1, %24 ], [ %19, %18 ], [ 0, %3 ]
%31 = phi i32 [ %28, %24 ], [ %20, %18 ], [ %4, %3 ]
%32 = load ptr, ptr %0, align 8, !tbaa !14
%33 = load i32, ptr %32, align 4, !tbaa !15
%34 = tail call i32 @wiphy_info(i32 noundef %33, ptr noundef nonnull @.str, i32 noundef %2, ptr noundef %1) #2
%35 = icmp eq i32 %30, 0
br i1 %35, label %38, label %36
36: ; preds = %29
%37 = tail call i32 @carl9170_restart(ptr noundef nonnull %0, i32 noundef %31) #2
br label %38
38: ; preds = %36, %29
ret void
}
declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiphy_info(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_restart(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"ar9170", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_4__", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 12}
!14 = !{!10, !11, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_rx.c_carl9170_dbg_message.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/ath/carl9170/extr_rx.c_carl9170_dbg_message.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CARL9170_RR_NO_REASON = common local_unnamed_addr global i32 0, align 4
@CARL9170_ERR_MAGIC = common local_unnamed_addr global i32 0, align 4
@CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS = common local_unnamed_addr global i32 0, align 4
@CARL9170_BUG_MAGIC = common local_unnamed_addr global i32 0, align 4
@CARL9170_RR_FATAL_FIRMWARE_ERROR = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"FW: %.*s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @carl9170_dbg_message], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @carl9170_dbg_message(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @CARL9170_RR_NO_REASON, align 4, !tbaa !6
%5 = icmp sgt i32 %2, 3
br i1 %5, label %6, label %29
6: ; preds = %3
%7 = load i32, ptr @CARL9170_ERR_MAGIC, align 4, !tbaa !6
%8 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %7, i32 noundef 3) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !10
%13 = add nsw i32 %12, 1
store i32 %13, ptr %11, align 8, !tbaa !10
%14 = icmp sgt i32 %12, 2
%15 = load i32, ptr @CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS, align 4
%16 = zext i1 %14 to i32
%17 = select i1 %14, i32 %15, i32 %4
br label %18
18: ; preds = %10, %6
%19 = phi i32 [ 0, %6 ], [ %16, %10 ]
%20 = phi i32 [ %4, %6 ], [ %17, %10 ]
%21 = load i32, ptr @CARL9170_BUG_MAGIC, align 4, !tbaa !6
%22 = tail call i64 @memcmp(ptr noundef %1, i32 noundef %21, i32 noundef 3) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %0, i64 12
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = add nsw i32 %26, 1
store i32 %27, ptr %25, align 4, !tbaa !14
%28 = load i32, ptr @CARL9170_RR_FATAL_FIRMWARE_ERROR, align 4, !tbaa !6
br label %29
29: ; preds = %18, %24, %3
%30 = phi i32 [ 1, %24 ], [ %19, %18 ], [ 0, %3 ]
%31 = phi i32 [ %28, %24 ], [ %20, %18 ], [ %4, %3 ]
%32 = load ptr, ptr %0, align 8, !tbaa !15
%33 = load i32, ptr %32, align 4, !tbaa !16
%34 = tail call i32 @wiphy_info(i32 noundef %33, ptr noundef nonnull @.str, i32 noundef %2, ptr noundef %1) #2
%35 = icmp eq i32 %30, 0
br i1 %35, label %38, label %36
36: ; preds = %29
%37 = tail call i32 @carl9170_restart(ptr noundef nonnull %0, i32 noundef %31) #2
br label %38
38: ; preds = %36, %29
ret void
}
declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wiphy_info(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @carl9170_restart(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"ar9170", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 12}
!15 = !{!11, !12, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"TYPE_3__", !7, i64 0}
| linux_drivers_net_wireless_ath_carl9170_extr_rx.c_carl9170_dbg_message |
; ModuleID = 'AnghaBench/freebsd/sys/sparc64/isa/extr_isa_dma.c_isa_dma_init.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/isa/extr_isa_dma.c_isa_dma_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"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef i32 @isa_dma_init(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/sparc64/isa/extr_isa_dma.c_isa_dma_init.c'
source_filename = "AnghaBench/freebsd/sys/sparc64/isa/extr_isa_dma.c_isa_dma_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef i32 @isa_dma_init(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_sparc64_isa_extr_isa_dma.c_isa_dma_init |
; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_httpd_req_new.c'
source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_httpd_req_new.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.httpd_data = type { %struct.httpd_req_aux, i32, %struct.TYPE_4__ }
%struct.httpd_req_aux = type { ptr, ptr, i32, ptr }
%struct.TYPE_4__ = type { i32, i32, i32, ptr, ptr }
%struct.sock_db = type { i32, i32, i32 }
@HTTPD_200 = dso_local local_unnamed_addr global i64 0, align 8
@HTTPD_TYPE_TEXT = dso_local local_unnamed_addr global i64 0, align 8
@ESP_OK = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i64 @httpd_req_new(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.httpd_data, ptr %0, i64 0, i32 2
%4 = getelementptr inbounds %struct.httpd_data, ptr %0, i64 0, i32 1
%5 = tail call i32 @init_req(ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%6 = tail call i32 @init_req_aux(ptr noundef %0, ptr noundef nonnull %4) #2
%7 = getelementptr inbounds %struct.httpd_data, ptr %0, i64 0, i32 2, i32 4
store ptr %0, ptr %7, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.httpd_data, ptr %0, i64 0, i32 2, i32 3
store ptr %0, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.httpd_req_aux, ptr %0, i64 0, i32 3
store ptr %1, ptr %9, align 8, !tbaa !12
%10 = load i64, ptr @HTTPD_200, align 8, !tbaa !14
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %0, align 8, !tbaa !16
%12 = load i64, ptr @HTTPD_TYPE_TEXT, align 8, !tbaa !14
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds %struct.httpd_req_aux, ptr %0, i64 0, i32 1
store ptr %13, ptr %14, align 8, !tbaa !17
%15 = getelementptr inbounds %struct.httpd_req_aux, ptr %0, i64 0, i32 2
store i32 0, ptr %15, align 8, !tbaa !18
%16 = getelementptr inbounds %struct.sock_db, ptr %1, i64 0, i32 2
%17 = load i32, ptr %16, align 4, !tbaa !19
%18 = getelementptr inbounds %struct.httpd_data, ptr %0, i64 0, i32 2, i32 2
store i32 %17, ptr %18, align 8, !tbaa !21
%19 = load <2 x i32>, ptr %1, align 4, !tbaa !22
store <2 x i32> %19, ptr %3, align 8, !tbaa !22
%20 = tail call i64 @httpd_parse_req(ptr noundef nonnull %0) #2
%21 = load i64, ptr @ESP_OK, align 8, !tbaa !14
%22 = icmp eq i64 %20, %21
br i1 %22, label %25, label %23
23: ; preds = %2
%24 = tail call i32 @httpd_req_cleanup(ptr noundef nonnull %3) #2
br label %25
25: ; preds = %23, %2
ret i64 %20
}
declare i32 @init_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @init_req_aux(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @httpd_parse_req(ptr noundef) local_unnamed_addr #1
declare i32 @httpd_req_cleanup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !10, i64 24}
!13 = !{!"httpd_req_aux", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!13, !10, i64 0}
!17 = !{!13, !10, i64 8}
!18 = !{!13, !7, i64 16}
!19 = !{!20, !7, i64 8}
!20 = !{!"sock_db", !7, i64 0, !7, i64 4, !7, i64 8}
!21 = !{!6, !7, i64 8}
!22 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_httpd_req_new.c'
source_filename = "AnghaBench/esp-idf/components/esp_http_server/src/extr_httpd_parse.c_httpd_req_new.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HTTPD_200 = common local_unnamed_addr global i64 0, align 8
@HTTPD_TYPE_TEXT = common local_unnamed_addr global i64 0, align 8
@ESP_OK = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @httpd_req_new(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = tail call i32 @init_req(ptr noundef nonnull %3, ptr noundef nonnull %4) #2
%6 = tail call i32 @init_req_aux(ptr noundef %0, ptr noundef nonnull %4) #2
%7 = getelementptr inbounds i8, ptr %0, i64 64
store ptr %0, ptr %7, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 56
store ptr %0, ptr %8, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %0, i64 24
store ptr %1, ptr %9, align 8, !tbaa !13
%10 = load i64, ptr @HTTPD_200, align 8, !tbaa !15
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %0, align 8, !tbaa !17
%12 = load i64, ptr @HTTPD_TYPE_TEXT, align 8, !tbaa !15
%13 = inttoptr i64 %12 to ptr
%14 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %13, ptr %14, align 8, !tbaa !18
%15 = getelementptr inbounds i8, ptr %0, i64 16
store i32 0, ptr %15, align 8, !tbaa !19
%16 = getelementptr inbounds i8, ptr %1, i64 8
%17 = load i32, ptr %16, align 4, !tbaa !20
%18 = getelementptr inbounds i8, ptr %0, i64 48
store i32 %17, ptr %18, align 8, !tbaa !22
%19 = load <2 x i32>, ptr %1, align 4, !tbaa !23
store <2 x i32> %19, ptr %3, align 8, !tbaa !23
%20 = tail call i64 @httpd_parse_req(ptr noundef nonnull %0) #2
%21 = load i64, ptr @ESP_OK, align 8, !tbaa !15
%22 = icmp eq i64 %20, %21
br i1 %22, label %25, label %23
23: ; preds = %2
%24 = tail call i32 @httpd_req_cleanup(ptr noundef nonnull %3) #2
br label %25
25: ; preds = %23, %2
ret i64 %20
}
declare i32 @init_req(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @init_req_aux(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i64 @httpd_parse_req(ptr noundef) local_unnamed_addr #1
declare i32 @httpd_req_cleanup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!14, !11, i64 24}
!14 = !{!"httpd_req_aux", !11, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !9, i64 0}
!17 = !{!14, !11, i64 0}
!18 = !{!14, !11, i64 8}
!19 = !{!14, !8, i64 16}
!20 = !{!21, !8, i64 8}
!21 = !{!"sock_db", !8, i64 0, !8, i64 4, !8, i64 8}
!22 = !{!7, !8, i64 8}
!23 = !{!8, !8, i64 0}
| esp-idf_components_esp_http_server_src_extr_httpd_parse.c_httpd_req_new |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-spi4000.c_cvmx_spi4000_is_present.c'
source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-spi4000.c_cvmx_spi4000_is_present.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OCTEON_CN38XX = dso_local local_unnamed_addr global i32 0, align 4
@OCTEON_CN58XX = dso_local local_unnamed_addr global i32 0, align 4
@SPI4000_WRITE_ADDRESS_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@SPI4000_WRITE_ADDRESS_LOW = dso_local local_unnamed_addr global i32 0, align 4
@interface_is_spi4000 = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cvmx_spi4000_is_present(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OCTEON_CN38XX, align 4, !tbaa !5
%3 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @OCTEON_CN58XX, align 4, !tbaa !5
%7 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %5, %1
%10 = tail call i32 @SPI4000_TWSI_ID(i32 noundef %0) #2
%11 = load i32, ptr @SPI4000_WRITE_ADDRESS_HIGH, align 4, !tbaa !5
%12 = tail call i64 @cvmx_twsi_write8(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %9
%15 = tail call i32 @SPI4000_TWSI_ID(i32 noundef %0) #2
%16 = load i32, ptr @SPI4000_WRITE_ADDRESS_LOW, align 4, !tbaa !5
%17 = tail call i64 @cvmx_twsi_write8(i32 noundef %15, i32 noundef %16, i32 noundef 0) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = load ptr, ptr @interface_is_spi4000, align 8, !tbaa !9
%21 = sext i32 %0 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 1, ptr %22, align 4, !tbaa !5
br label %23
23: ; preds = %14, %9, %5, %19
%24 = phi i32 [ 1, %19 ], [ 0, %5 ], [ 0, %9 ], [ 0, %14 ]
ret i32 %24
}
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i64 @cvmx_twsi_write8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SPI4000_TWSI_ID(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}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-spi4000.c_cvmx_spi4000_is_present.c'
source_filename = "AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-spi4000.c_cvmx_spi4000_is_present.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OCTEON_CN38XX = common local_unnamed_addr global i32 0, align 4
@OCTEON_CN58XX = common local_unnamed_addr global i32 0, align 4
@SPI4000_WRITE_ADDRESS_HIGH = common local_unnamed_addr global i32 0, align 4
@SPI4000_WRITE_ADDRESS_LOW = common local_unnamed_addr global i32 0, align 4
@interface_is_spi4000 = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @cvmx_spi4000_is_present(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @OCTEON_CN38XX, align 4, !tbaa !6
%3 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %2) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @OCTEON_CN58XX, align 4, !tbaa !6
%7 = tail call i64 @OCTEON_IS_MODEL(i32 noundef %6) #2
%8 = icmp eq i64 %7, 0
br i1 %8, label %23, label %9
9: ; preds = %5, %1
%10 = tail call i32 @SPI4000_TWSI_ID(i32 noundef %0) #2
%11 = load i32, ptr @SPI4000_WRITE_ADDRESS_HIGH, align 4, !tbaa !6
%12 = tail call i64 @cvmx_twsi_write8(i32 noundef %10, i32 noundef %11, i32 noundef 0) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %23
14: ; preds = %9
%15 = tail call i32 @SPI4000_TWSI_ID(i32 noundef %0) #2
%16 = load i32, ptr @SPI4000_WRITE_ADDRESS_LOW, align 4, !tbaa !6
%17 = tail call i64 @cvmx_twsi_write8(i32 noundef %15, i32 noundef %16, i32 noundef 0) #2
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = load ptr, ptr @interface_is_spi4000, align 8, !tbaa !10
%21 = sext i32 %0 to i64
%22 = getelementptr inbounds i32, ptr %20, i64 %21
store i32 1, ptr %22, align 4, !tbaa !6
br label %23
23: ; preds = %14, %9, %5, %19
%24 = phi i32 [ 1, %19 ], [ 0, %5 ], [ 0, %9 ], [ 0, %14 ]
ret i32 %24
}
declare i64 @OCTEON_IS_MODEL(i32 noundef) local_unnamed_addr #1
declare i64 @cvmx_twsi_write8(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SPI4000_TWSI_ID(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}
| freebsd_sys_contrib_octeon-sdk_extr_cvmx-spi4000.c_cvmx_spi4000_is_present |
; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_inet.c_mac_inpcb_label_free.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_inet.c_mac_inpcb_label_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"
@inpcb_label_destroy = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mac_inpcb_label_free], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mac_inpcb_label_free(ptr noundef %0) #0 {
%2 = load i32, ptr @inpcb_label_destroy, align 4, !tbaa !5
%3 = tail call i32 @MAC_PERFORM(i32 noundef %2, ptr noundef %0) #2
%4 = tail call i32 @mac_labelzone_free(ptr noundef %0) #2
ret void
}
declare i32 @MAC_PERFORM(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mac_labelzone_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/security/extr_mac_inet.c_mac_inpcb_label_free.c'
source_filename = "AnghaBench/darwin-xnu/security/extr_mac_inet.c_mac_inpcb_label_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@inpcb_label_destroy = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mac_inpcb_label_free], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mac_inpcb_label_free(ptr noundef %0) #0 {
%2 = load i32, ptr @inpcb_label_destroy, align 4, !tbaa !6
%3 = tail call i32 @MAC_PERFORM(i32 noundef %2, ptr noundef %0) #2
%4 = tail call i32 @mac_labelzone_free(ptr noundef %0) #2
ret void
}
declare i32 @MAC_PERFORM(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mac_labelzone_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| darwin-xnu_security_extr_mac_inet.c_mac_inpcb_label_free |
; ModuleID = 'AnghaBench/vlc/modules/access/extr_imem.c_Block.c'
source_filename = "AnghaBench/vlc/modules/access/extr_imem.c_Block.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @Block], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @Block(ptr nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = inttoptr i64 %6 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%8 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 3
%9 = load ptr, ptr %8, align 8, !tbaa !10
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !15
%12 = load i32, ptr %7, align 8, !tbaa !16
%13 = call i64 %9(i32 noundef %11, i32 noundef %12, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !17
br label %37
16: ; preds = %2
%17 = load i64, ptr %4, align 8, !tbaa !18
%18 = icmp eq i64 %17, 0
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = call ptr @block_Alloc(i64 noundef %17) #3
%21 = icmp eq ptr %20, null
%22 = load i64, ptr %4, align 8, !tbaa !18
br i1 %21, label %28, label %23
23: ; preds = %19
%24 = load i32, ptr %20, align 4, !tbaa !19
%25 = load ptr, ptr %5, align 8, !tbaa !21
%26 = call i32 @memcpy(i32 noundef %24, ptr noundef %25, i64 noundef %22) #3
%27 = load i64, ptr %4, align 8, !tbaa !18
br label %28
28: ; preds = %19, %23, %16
%29 = phi i64 [ %27, %23 ], [ %22, %19 ], [ 0, %16 ]
%30 = phi ptr [ %20, %23 ], [ null, %19 ], [ null, %16 ]
%31 = getelementptr inbounds %struct.TYPE_8__, ptr %7, i64 0, i32 2
%32 = load ptr, ptr %31, align 8, !tbaa !22
%33 = load i32, ptr %10, align 4, !tbaa !15
%34 = load i32, ptr %7, align 8, !tbaa !16
%35 = load ptr, ptr %5, align 8, !tbaa !21
%36 = call i32 %32(i32 noundef %33, i32 noundef %34, i64 noundef %29, ptr noundef %35) #3
br label %37
37: ; preds = %28, %15
%38 = phi ptr [ null, %15 ], [ %30, %28 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret ptr %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @block_Alloc(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 16}
!11 = !{!"TYPE_10__", !12, i64 0}
!12 = !{!"TYPE_8__", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 16}
!13 = !{!"int", !8, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!11, !13, i64 4}
!16 = !{!11, !13, i64 0}
!17 = !{!13, !13, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"TYPE_11__", !13, i64 0}
!21 = !{!14, !14, i64 0}
!22 = !{!11, !14, i64 8}
| ; ModuleID = 'AnghaBench/vlc/modules/access/extr_imem.c_Block.c'
source_filename = "AnghaBench/vlc/modules/access/extr_imem.c_Block.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 @Block], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @Block(ptr nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = inttoptr i64 %6 to ptr
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%8 = getelementptr inbounds i8, ptr %7, i64 16
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = getelementptr inbounds i8, ptr %7, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !16
%12 = load i32, ptr %7, align 8, !tbaa !17
%13 = call i64 %9(i32 noundef %11, i32 noundef %12, ptr noundef null, ptr noundef null, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %16, label %15
15: ; preds = %2
store i32 1, ptr %1, align 4, !tbaa !18
br label %37
16: ; preds = %2
%17 = load i64, ptr %4, align 8, !tbaa !19
%18 = icmp eq i64 %17, 0
br i1 %18, label %28, label %19
19: ; preds = %16
%20 = call ptr @block_Alloc(i64 noundef %17) #3
%21 = icmp eq ptr %20, null
%22 = load i64, ptr %4, align 8, !tbaa !19
br i1 %21, label %28, label %23
23: ; preds = %19
%24 = load i32, ptr %20, align 4, !tbaa !20
%25 = load ptr, ptr %5, align 8, !tbaa !22
%26 = call i32 @memcpy(i32 noundef %24, ptr noundef %25, i64 noundef %22) #3
%27 = load i64, ptr %4, align 8, !tbaa !19
br label %28
28: ; preds = %19, %23, %16
%29 = phi i64 [ %27, %23 ], [ %22, %19 ], [ 0, %16 ]
%30 = phi ptr [ %20, %23 ], [ null, %19 ], [ null, %16 ]
%31 = getelementptr inbounds i8, ptr %7, i64 8
%32 = load ptr, ptr %31, align 8, !tbaa !23
%33 = load i32, ptr %10, align 4, !tbaa !16
%34 = load i32, ptr %7, align 8, !tbaa !17
%35 = load ptr, ptr %5, align 8, !tbaa !22
%36 = call i32 %32(i32 noundef %33, i32 noundef %34, i64 noundef %29, ptr noundef %35) #3
br label %37
37: ; preds = %28, %15
%38 = phi ptr [ null, %15 ], [ %30, %28 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret ptr %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @block_Alloc(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !15, i64 16}
!12 = !{!"TYPE_10__", !13, i64 0}
!13 = !{!"TYPE_8__", !14, i64 0, !14, i64 4, !15, i64 8, !15, i64 16}
!14 = !{!"int", !9, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!12, !14, i64 4}
!17 = !{!12, !14, i64 0}
!18 = !{!14, !14, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !14, i64 0}
!21 = !{!"TYPE_11__", !14, i64 0}
!22 = !{!15, !15, i64 0}
!23 = !{!12, !15, i64 8}
| vlc_modules_access_extr_imem.c_Block |
; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_entersweep.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_entersweep.c"
target datalayout = "e-m:e-p270:32:32-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, i32 }
@GCSswpallgc = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @entersweep], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @entersweep(ptr noundef %0) #0 {
%2 = tail call ptr @G(ptr noundef %0) #2
%3 = load i32, ptr @GCSswpallgc, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 2
store i32 %3, ptr %4, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @lua_assert(i32 noundef %8) #2
%10 = tail call ptr @sweeplist(ptr noundef %0, ptr noundef %2, i32 noundef 1) #2
store ptr %10, ptr %5, align 8, !tbaa !12
ret void
}
declare ptr @G(ptr noundef) local_unnamed_addr #1
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare ptr @sweeplist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 16}
!10 = !{!"TYPE_3__", !6, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_entersweep.c'
source_filename = "AnghaBench/RetroArch/deps/lua/src/extr_lgc.c_entersweep.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GCSswpallgc = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @entersweep], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @entersweep(ptr noundef %0) #0 {
%2 = tail call ptr @G(ptr noundef %0) #2
%3 = load i32, ptr @GCSswpallgc, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 16
store i32 %3, ptr %4, align 8, !tbaa !10
%5 = getelementptr inbounds i8, ptr %2, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = icmp eq ptr %6, null
%8 = zext i1 %7 to i32
%9 = tail call i32 @lua_assert(i32 noundef %8) #2
%10 = tail call ptr @sweeplist(ptr noundef %0, ptr noundef %2, i32 noundef 1) #2
store ptr %10, ptr %5, align 8, !tbaa !13
ret void
}
declare ptr @G(ptr noundef) local_unnamed_addr #1
declare i32 @lua_assert(i32 noundef) local_unnamed_addr #1
declare ptr @sweeplist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"TYPE_3__", !7, i64 0, !12, i64 8, !7, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
| RetroArch_deps_lua_src_extr_lgc.c_entersweep |
; ModuleID = 'AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_extra_data.c'
source_filename = "AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_extra_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @vt_h264_extra_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @vt_h264_extra_data(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
store ptr %5, ptr %1, align 8, !tbaa !12
%6 = load i64, ptr %0, align 8, !tbaa !13
store i64 %6, ptr %2, align 8, !tbaa !14
ret i32 1
}
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, !11, i64 8}
!6 = !{!"vt_h264_encoder", !7, i64 0}
!7 = !{!"TYPE_2__", !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 = !{!11, !11, i64 0}
!13 = !{!6, !8, i64 0}
!14 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_extra_data.c'
source_filename = "AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_extra_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @vt_h264_extra_data], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @vt_h264_extra_data(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
store ptr %5, ptr %1, align 8, !tbaa !13
%6 = load i64, ptr %0, align 8, !tbaa !14
store i64 %6, ptr %2, align 8, !tbaa !15
ret i32 1
}
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, !12, i64 8}
!7 = !{!"vt_h264_encoder", !8, i64 0}
!8 = !{!"TYPE_2__", !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 = !{!12, !12, i64 0}
!14 = !{!7, !9, i64 0}
!15 = !{!9, !9, i64 0}
| obs-studio_plugins_mac-vth264_extr_encoder.c_vt_h264_extra_data |
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_chunked_filter_module.c_ngx_http_chunked_header_filter.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_chunked_filter_module.c_ngx_http_chunked_header_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i64, i64, i32, i64, %struct.TYPE_10__, i32, i64, ptr }
%struct.TYPE_10__ = type { i64, i32 }
@NGX_HTTP_NOT_MODIFIED = dso_local local_unnamed_addr global i64 0, align 8
@NGX_HTTP_NO_CONTENT = dso_local local_unnamed_addr global i64 0, align 8
@NGX_HTTP_OK = dso_local local_unnamed_addr global i64 0, align 8
@NGX_HTTP_HEAD = dso_local local_unnamed_addr global i64 0, align 8
@ngx_http_core_module = dso_local local_unnamed_addr global i32 0, align 4
@NGX_HTTP_VERSION_11 = dso_local local_unnamed_addr global i64 0, align 8
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_chunked_filter_module = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_chunked_header_filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_http_chunked_header_filter(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr @NGX_HTTP_NOT_MODIFIED, align 8, !tbaa !13
%5 = icmp eq i64 %3, %4
%6 = load i64, ptr @NGX_HTTP_NO_CONTENT, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
%9 = load i64, ptr @NGX_HTTP_OK, align 8
%10 = icmp slt i64 %3, %9
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %20, label %12
12: ; preds = %1
%13 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 7
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = icmp eq ptr %14, %0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i64, ptr %0, align 8, !tbaa !15
%18 = load i64, ptr @NGX_HTTP_HEAD, align 8, !tbaa !13
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16, %12, %1
%21 = tail call i32 @ngx_http_next_header_filter(ptr noundef nonnull %0) #2
br label %64
22: ; preds = %16
%23 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 4, i32 1
%24 = load i32, ptr %23, align 8, !tbaa !16
%25 = icmp eq i32 %24, -1
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 6
%28 = load i64, ptr %27, align 8, !tbaa !17
%29 = icmp eq i64 %28, 0
br i1 %29, label %62, label %30
30: ; preds = %26, %22
%31 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !18
%32 = tail call ptr @ngx_http_get_module_loc_conf(ptr noundef nonnull %0, i32 noundef %31) #2
%33 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1
%34 = load i64, ptr %33, align 8, !tbaa !19
%35 = load i64, ptr @NGX_HTTP_VERSION_11, align 8, !tbaa !13
%36 = icmp slt i64 %34, %35
br i1 %36, label %57, label %37
37: ; preds = %30
%38 = load i64, ptr %32, align 8, !tbaa !20
%39 = icmp eq i64 %38, 0
br i1 %39, label %57, label %40
40: ; preds = %37
%41 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 6
%42 = load i64, ptr %41, align 8, !tbaa !17
%43 = icmp eq i64 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = tail call i32 @ngx_http_clear_content_length(ptr noundef nonnull %0) #2
br label %46
46: ; preds = %44, %40
%47 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2
store i32 1, ptr %47, align 8, !tbaa !22
%48 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 5
%49 = load i32, ptr %48, align 8, !tbaa !23
%50 = tail call ptr @ngx_pcalloc(i32 noundef %49, i32 noundef 4) #2
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = load i32, ptr @NGX_ERROR, align 4, !tbaa !18
br label %64
54: ; preds = %46
%55 = load i32, ptr @ngx_http_chunked_filter_module, align 4, !tbaa !18
%56 = tail call i32 @ngx_http_set_ctx(ptr noundef nonnull %0, ptr noundef nonnull %50, i32 noundef %55) #2
br label %62
57: ; preds = %37, %30
%58 = load i32, ptr %23, align 8, !tbaa !16
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 3
store i64 0, ptr %61, align 8, !tbaa !24
br label %62
62: ; preds = %54, %60, %57, %26
%63 = tail call i32 @ngx_http_next_header_filter(ptr noundef nonnull %0) #2
br label %64
64: ; preds = %62, %52, %20
%65 = phi i32 [ %21, %20 ], [ %53, %52 ], [ %63, %62 ]
ret i32 %65
}
declare i32 @ngx_http_next_header_filter(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_http_get_module_loc_conf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_clear_content_length(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_set_ctx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"TYPE_11__", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !10, i64 48, !7, i64 56, !12, i64 64}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"TYPE_10__", !7, i64 0, !10, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !12, i64 64}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !10, i64 40}
!17 = !{!6, !7, i64 56}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !7, i64 8}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_12__", !7, i64 0}
!22 = !{!6, !10, i64 16}
!23 = !{!6, !10, i64 48}
!24 = !{!6, !7, i64 24}
| ; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_chunked_filter_module.c_ngx_http_chunked_header_filter.c'
source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_chunked_filter_module.c_ngx_http_chunked_header_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_HTTP_NOT_MODIFIED = common local_unnamed_addr global i64 0, align 8
@NGX_HTTP_NO_CONTENT = common local_unnamed_addr global i64 0, align 8
@NGX_HTTP_OK = common local_unnamed_addr global i64 0, align 8
@NGX_HTTP_HEAD = common local_unnamed_addr global i64 0, align 8
@ngx_http_core_module = common local_unnamed_addr global i32 0, align 4
@NGX_HTTP_VERSION_11 = common local_unnamed_addr global i64 0, align 8
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@ngx_http_chunked_filter_module = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_chunked_header_filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_http_chunked_header_filter(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 32
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr @NGX_HTTP_NOT_MODIFIED, align 8, !tbaa !14
%5 = icmp eq i64 %3, %4
%6 = load i64, ptr @NGX_HTTP_NO_CONTENT, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
%9 = load i64, ptr @NGX_HTTP_OK, align 8
%10 = icmp slt i64 %3, %9
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %20, label %12
12: ; preds = %1
%13 = getelementptr inbounds i8, ptr %0, i64 64
%14 = load ptr, ptr %13, align 8, !tbaa !15
%15 = icmp eq ptr %14, %0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i64, ptr %0, align 8, !tbaa !16
%18 = load i64, ptr @NGX_HTTP_HEAD, align 8, !tbaa !14
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %16, %12, %1
%21 = tail call i32 @ngx_http_next_header_filter(ptr noundef nonnull %0) #2
br label %64
22: ; preds = %16
%23 = getelementptr inbounds i8, ptr %0, i64 40
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = icmp eq i32 %24, -1
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = getelementptr inbounds i8, ptr %0, i64 56
%28 = load i64, ptr %27, align 8, !tbaa !18
%29 = icmp eq i64 %28, 0
br i1 %29, label %62, label %30
30: ; preds = %26, %22
%31 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !19
%32 = tail call ptr @ngx_http_get_module_loc_conf(ptr noundef nonnull %0, i32 noundef %31) #2
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load i64, ptr %33, align 8, !tbaa !20
%35 = load i64, ptr @NGX_HTTP_VERSION_11, align 8, !tbaa !14
%36 = icmp slt i64 %34, %35
br i1 %36, label %57, label %37
37: ; preds = %30
%38 = load i64, ptr %32, align 8, !tbaa !21
%39 = icmp eq i64 %38, 0
br i1 %39, label %57, label %40
40: ; preds = %37
%41 = getelementptr inbounds i8, ptr %0, i64 56
%42 = load i64, ptr %41, align 8, !tbaa !18
%43 = icmp eq i64 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = tail call i32 @ngx_http_clear_content_length(ptr noundef nonnull %0) #2
br label %46
46: ; preds = %44, %40
%47 = getelementptr inbounds i8, ptr %0, i64 16
store i32 1, ptr %47, align 8, !tbaa !23
%48 = getelementptr inbounds i8, ptr %0, i64 48
%49 = load i32, ptr %48, align 8, !tbaa !24
%50 = tail call ptr @ngx_pcalloc(i32 noundef %49, i32 noundef 4) #2
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = load i32, ptr @NGX_ERROR, align 4, !tbaa !19
br label %64
54: ; preds = %46
%55 = load i32, ptr @ngx_http_chunked_filter_module, align 4, !tbaa !19
%56 = tail call i32 @ngx_http_set_ctx(ptr noundef nonnull %0, ptr noundef nonnull %50, i32 noundef %55) #2
br label %62
57: ; preds = %37, %30
%58 = load i32, ptr %23, align 8, !tbaa !17
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = getelementptr inbounds i8, ptr %0, i64 24
store i64 0, ptr %61, align 8, !tbaa !25
br label %62
62: ; preds = %54, %60, %57, %26
%63 = tail call i32 @ngx_http_next_header_filter(ptr noundef nonnull %0) #2
br label %64
64: ; preds = %62, %52, %20
%65 = phi i32 [ %21, %20 ], [ %53, %52 ], [ %63, %62 ]
ret i32 %65
}
declare i32 @ngx_http_next_header_filter(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_http_get_module_loc_conf(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_clear_content_length(ptr noundef) local_unnamed_addr #1
declare ptr @ngx_pcalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ngx_http_set_ctx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 32}
!7 = !{!"TYPE_11__", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !12, i64 32, !11, i64 48, !8, i64 56, !13, i64 64}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"TYPE_10__", !8, i64 0, !11, i64 8}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !13, i64 64}
!16 = !{!7, !8, i64 0}
!17 = !{!7, !11, i64 40}
!18 = !{!7, !8, i64 56}
!19 = !{!11, !11, i64 0}
!20 = !{!7, !8, i64 8}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_12__", !8, i64 0}
!23 = !{!7, !11, i64 16}
!24 = !{!7, !11, i64 48}
!25 = !{!7, !8, i64 24}
| nginx_src_http_modules_extr_ngx_http_chunked_filter_module.c_ngx_http_chunked_header_filter |
; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd.c_r_core_cmd_nullcallback.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd.c_r_core_cmd_nullcallback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @r_core_cmd_nullcallback], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @r_core_cmd_nullcallback(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = icmp eq i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %4, align 4, !tbaa !13
br label %13
8: ; preds = %1
%9 = load i32, ptr %0, align 8, !tbaa !15
%10 = icmp eq i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @r_core_cmd_repeat(ptr noundef nonnull %0, i32 noundef 1) #2
br label %13
13: ; preds = %8, %11, %7
%14 = phi i32 [ 0, %7 ], [ 1, %11 ], [ 0, %8 ]
ret i32 %14
}
declare i32 @r_core_cmd_repeat(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_6__", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_5__", !7, i64 0}
!15 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/radare2/libr/core/extr_cmd.c_r_core_cmd_nullcallback.c'
source_filename = "AnghaBench/radare2/libr/core/extr_cmd.c_r_core_cmd_nullcallback.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_core_cmd_nullcallback], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @r_core_cmd_nullcallback(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !12
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = icmp eq i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 0, ptr %4, align 4, !tbaa !14
br label %13
8: ; preds = %1
%9 = load i32, ptr %0, align 8, !tbaa !16
%10 = icmp eq i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %8
%12 = tail call i32 @r_core_cmd_repeat(ptr noundef nonnull %0, i32 noundef 1) #2
br label %13
13: ; preds = %8, %11, %7
%14 = phi i32 [ 0, %7 ], [ 1, %11 ], [ 0, %8 ]
ret i32 %14
}
declare i32 @r_core_cmd_repeat(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_6__", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_5__", !8, i64 0}
!16 = !{!7, !8, i64 0}
| radare2_libr_core_extr_cmd.c_r_core_cmd_nullcallback |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i3000_edac.c_i3000_get_error_info.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i3000_edac.c_i3000_get_error_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.i3000_error_info = type { i32, i32, i32, i32, i32 }
@I3000_ERRSTS = dso_local local_unnamed_addr global i32 0, align 4
@I3000_ERRSTS_BITS = dso_local local_unnamed_addr global i32 0, align 4
@I3000_EDEAP = dso_local local_unnamed_addr global i32 0, align 4
@I3000_DEAP = dso_local local_unnamed_addr global i32 0, align 4
@I3000_DERRSYN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i3000_get_error_info], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @i3000_get_error_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call ptr @to_pci_dev(i32 noundef %3) #2
%5 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !10
%6 = tail call i32 @pci_read_config_word(ptr noundef %4, i32 noundef %5, ptr noundef %1) #2
%7 = load i32, ptr %1, align 4, !tbaa !11
%8 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !10
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %42, label %11
11: ; preds = %2
%12 = load i32, ptr @I3000_EDEAP, align 4, !tbaa !10
%13 = getelementptr inbounds %struct.i3000_error_info, ptr %1, i64 0, i32 4
%14 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %12, ptr noundef nonnull %13) #2
%15 = load i32, ptr @I3000_DEAP, align 4, !tbaa !10
%16 = getelementptr inbounds %struct.i3000_error_info, ptr %1, i64 0, i32 3
%17 = tail call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef %15, ptr noundef nonnull %16) #2
%18 = load i32, ptr @I3000_DERRSYN, align 4, !tbaa !10
%19 = getelementptr inbounds %struct.i3000_error_info, ptr %1, i64 0, i32 2
%20 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %18, ptr noundef nonnull %19) #2
%21 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !10
%22 = getelementptr inbounds %struct.i3000_error_info, ptr %1, i64 0, i32 1
%23 = tail call i32 @pci_read_config_word(ptr noundef %4, i32 noundef %21, ptr noundef nonnull %22) #2
%24 = load i32, ptr %1, align 4, !tbaa !11
%25 = load i32, ptr %22, align 4, !tbaa !13
%26 = xor i32 %25, %24
%27 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !10
%28 = and i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %38, label %30
30: ; preds = %11
%31 = load i32, ptr @I3000_EDEAP, align 4, !tbaa !10
%32 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %31, ptr noundef nonnull %13) #2
%33 = load i32, ptr @I3000_DEAP, align 4, !tbaa !10
%34 = tail call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef %33, ptr noundef nonnull %16) #2
%35 = load i32, ptr @I3000_DERRSYN, align 4, !tbaa !10
%36 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %35, ptr noundef nonnull %19) #2
%37 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !10
br label %38
38: ; preds = %30, %11
%39 = phi i32 [ %37, %30 ], [ %27, %11 ]
%40 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !10
%41 = tail call i32 @pci_write_bits16(ptr noundef %4, i32 noundef %40, i32 noundef %39, i32 noundef %39) #2
br label %42
42: ; preds = %2, %38
ret void
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_write_bits16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mem_ctl_info", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"i3000_error_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!13 = !{!12, !7, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/edac/extr_i3000_edac.c_i3000_get_error_info.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/edac/extr_i3000_edac.c_i3000_get_error_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@I3000_ERRSTS = common local_unnamed_addr global i32 0, align 4
@I3000_ERRSTS_BITS = common local_unnamed_addr global i32 0, align 4
@I3000_EDEAP = common local_unnamed_addr global i32 0, align 4
@I3000_DEAP = common local_unnamed_addr global i32 0, align 4
@I3000_DERRSYN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i3000_get_error_info], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @i3000_get_error_info(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = tail call ptr @to_pci_dev(i32 noundef %3) #2
%5 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !11
%6 = tail call i32 @pci_read_config_word(ptr noundef %4, i32 noundef %5, ptr noundef %1) #2
%7 = load i32, ptr %1, align 4, !tbaa !12
%8 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !11
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %42, label %11
11: ; preds = %2
%12 = load i32, ptr @I3000_EDEAP, align 4, !tbaa !11
%13 = getelementptr inbounds i8, ptr %1, i64 16
%14 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %12, ptr noundef nonnull %13) #2
%15 = load i32, ptr @I3000_DEAP, align 4, !tbaa !11
%16 = getelementptr inbounds i8, ptr %1, i64 12
%17 = tail call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef %15, ptr noundef nonnull %16) #2
%18 = load i32, ptr @I3000_DERRSYN, align 4, !tbaa !11
%19 = getelementptr inbounds i8, ptr %1, i64 8
%20 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %18, ptr noundef nonnull %19) #2
%21 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !11
%22 = getelementptr inbounds i8, ptr %1, i64 4
%23 = tail call i32 @pci_read_config_word(ptr noundef %4, i32 noundef %21, ptr noundef nonnull %22) #2
%24 = load i32, ptr %1, align 4, !tbaa !12
%25 = load i32, ptr %22, align 4, !tbaa !14
%26 = xor i32 %25, %24
%27 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !11
%28 = and i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %38, label %30
30: ; preds = %11
%31 = load i32, ptr @I3000_EDEAP, align 4, !tbaa !11
%32 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %31, ptr noundef nonnull %13) #2
%33 = load i32, ptr @I3000_DEAP, align 4, !tbaa !11
%34 = tail call i32 @pci_read_config_dword(ptr noundef %4, i32 noundef %33, ptr noundef nonnull %16) #2
%35 = load i32, ptr @I3000_DERRSYN, align 4, !tbaa !11
%36 = tail call i32 @pci_read_config_byte(ptr noundef %4, i32 noundef %35, ptr noundef nonnull %19) #2
%37 = load i32, ptr @I3000_ERRSTS_BITS, align 4, !tbaa !11
br label %38
38: ; preds = %30, %11
%39 = phi i32 [ %37, %30 ], [ %27, %11 ]
%40 = load i32, ptr @I3000_ERRSTS, align 4, !tbaa !11
%41 = tail call i32 @pci_write_bits16(ptr noundef %4, i32 noundef %40, i32 noundef %39, i32 noundef %39) #2
br label %42
42: ; preds = %2, %38
ret void
}
declare ptr @to_pci_dev(i32 noundef) local_unnamed_addr #1
declare i32 @pci_read_config_word(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_read_config_byte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pci_write_bits16(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mem_ctl_info", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"i3000_error_info", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16}
!14 = !{!13, !8, i64 4}
| fastsocket_kernel_drivers_edac_extr_i3000_edac.c_i3000_get_error_info |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_compressor_pager.c_vm_compressor_pager_init.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_compressor_pager.c_vm_compressor_pager_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"
@compressor_pager_lck_grp_attr = dso_local global i32 0, align 4
@compressor_pager_lck_grp = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"compressor_pager\00", align 1
@compressor_pager_lck_attr = dso_local global i32 0, align 4
@compressor_pager_zone = dso_local local_unnamed_addr global i32 0, align 4
@Z_CALLERACCT = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@Z_NOENCRYPT = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vm_compressor_pager_init() local_unnamed_addr #0 {
%1 = tail call i32 @lck_grp_attr_setdefault(ptr noundef nonnull @compressor_pager_lck_grp_attr) #2
%2 = tail call i32 @lck_grp_init(ptr noundef nonnull @compressor_pager_lck_grp, ptr noundef nonnull @.str, ptr noundef nonnull @compressor_pager_lck_grp_attr) #2
%3 = tail call i32 @lck_attr_setdefault(ptr noundef nonnull @compressor_pager_lck_attr) #2
%4 = tail call i32 @zinit(i32 noundef 4, i32 noundef 40000, i32 noundef 8192, ptr noundef nonnull @.str) #2
store i32 %4, ptr @compressor_pager_zone, align 4, !tbaa !5
%5 = load i32, ptr @Z_CALLERACCT, align 4, !tbaa !5
%6 = load i32, ptr @FALSE, align 4, !tbaa !5
%7 = tail call i32 @zone_change(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @compressor_pager_zone, align 4, !tbaa !5
%9 = load i32, ptr @Z_NOENCRYPT, align 4, !tbaa !5
%10 = load i32, ptr @TRUE, align 4, !tbaa !5
%11 = tail call i32 @zone_change(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 (...) @vm_compressor_init() #2
ret void
}
declare i32 @lck_grp_attr_setdefault(ptr noundef) local_unnamed_addr #1
declare i32 @lck_grp_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lck_attr_setdefault(ptr noundef) local_unnamed_addr #1
declare i32 @zinit(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zone_change(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_compressor_init(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/darwin-xnu/osfmk/vm/extr_vm_compressor_pager.c_vm_compressor_pager_init.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/vm/extr_vm_compressor_pager.c_vm_compressor_pager_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@compressor_pager_lck_grp_attr = common global i32 0, align 4
@compressor_pager_lck_grp = common global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"compressor_pager\00", align 1
@compressor_pager_lck_attr = common global i32 0, align 4
@compressor_pager_zone = common local_unnamed_addr global i32 0, align 4
@Z_CALLERACCT = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@Z_NOENCRYPT = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vm_compressor_pager_init() local_unnamed_addr #0 {
%1 = tail call i32 @lck_grp_attr_setdefault(ptr noundef nonnull @compressor_pager_lck_grp_attr) #2
%2 = tail call i32 @lck_grp_init(ptr noundef nonnull @compressor_pager_lck_grp, ptr noundef nonnull @.str, ptr noundef nonnull @compressor_pager_lck_grp_attr) #2
%3 = tail call i32 @lck_attr_setdefault(ptr noundef nonnull @compressor_pager_lck_attr) #2
%4 = tail call i32 @zinit(i32 noundef 4, i32 noundef 40000, i32 noundef 8192, ptr noundef nonnull @.str) #2
store i32 %4, ptr @compressor_pager_zone, align 4, !tbaa !6
%5 = load i32, ptr @Z_CALLERACCT, align 4, !tbaa !6
%6 = load i32, ptr @FALSE, align 4, !tbaa !6
%7 = tail call i32 @zone_change(i32 noundef %4, i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @compressor_pager_zone, align 4, !tbaa !6
%9 = load i32, ptr @Z_NOENCRYPT, align 4, !tbaa !6
%10 = load i32, ptr @TRUE, align 4, !tbaa !6
%11 = tail call i32 @zone_change(i32 noundef %8, i32 noundef %9, i32 noundef %10) #2
%12 = tail call i32 @vm_compressor_init() #2
ret void
}
declare i32 @lck_grp_attr_setdefault(ptr noundef) local_unnamed_addr #1
declare i32 @lck_grp_init(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lck_attr_setdefault(ptr noundef) local_unnamed_addr #1
declare i32 @zinit(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zone_change(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @vm_compressor_init(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| darwin-xnu_osfmk_vm_extr_vm_compressor_pager.c_vm_compressor_pager_init |
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_script_add_copy_code.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_script_add_copy_code.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { ptr, ptr }
%struct.TYPE_8__ = type { i64, i32 }
%struct.TYPE_7__ = type { i64, i32 }
@NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ngx_http_lua_script_copy_len_code = dso_local local_unnamed_addr global i64 0, align 8
@ngx_http_lua_script_copy_code = dso_local local_unnamed_addr global i32 0, align 4
@NGX_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_lua_script_add_copy_code], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ngx_http_lua_script_add_copy_code(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i32, ptr %6, align 4, !tbaa !14
%8 = tail call ptr @ngx_http_lua_script_add_code(i32 noundef %7, i64 noundef 16) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %28, label %10
10: ; preds = %3
%11 = load i64, ptr @ngx_http_lua_script_copy_len_code, align 8, !tbaa !15
%12 = trunc i64 %11 to i32
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %8, i64 0, i32 1
store i32 %12, ptr %13, align 8, !tbaa !16
store i64 %4, ptr %8, align 8, !tbaa !18
%14 = add i64 %4, 23
%15 = and i64 %14, -8
%16 = load ptr, ptr %0, align 8, !tbaa !19
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = tail call ptr @ngx_http_lua_script_add_code(i32 noundef %17, i64 noundef %15) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %28, label %20
20: ; preds = %10
%21 = load i32, ptr @ngx_http_lua_script_copy_code, align 4, !tbaa !14
%22 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 1
store i32 %21, ptr %22, align 8, !tbaa !16
store i64 %4, ptr %18, align 8, !tbaa !18
%23 = getelementptr inbounds i32, ptr %18, i64 16
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !20
%26 = load i64, ptr %1, align 8, !tbaa !5
%27 = tail call i32 @ngx_memcpy(ptr noundef nonnull %23, i32 noundef %25, i64 noundef %26) #2
br label %28
28: ; preds = %10, %3, %20
%29 = phi ptr [ @NGX_OK, %20 ], [ @NGX_ERROR, %3 ], [ @NGX_ERROR, %10 ]
%30 = load i32, ptr %29, align 4, !tbaa !14
ret i32 %30
}
declare ptr @ngx_http_lua_script_add_code(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"TYPE_9__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !10, i64 8}
!17 = !{!"TYPE_8__", !7, i64 0, !10, i64 8}
!18 = !{!17, !7, i64 0}
!19 = !{!12, !13, i64 0}
!20 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_script_add_copy_code.c'
source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_script.c_ngx_http_lua_script_add_copy_code.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NGX_ERROR = common local_unnamed_addr global i32 0, align 4
@ngx_http_lua_script_copy_len_code = common local_unnamed_addr global i64 0, align 8
@ngx_http_lua_script_copy_code = common local_unnamed_addr global i32 0, align 4
@NGX_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ngx_http_lua_script_add_copy_code], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ngx_http_lua_script_add_copy_code(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = tail call ptr @ngx_http_lua_script_add_code(i32 noundef %7, i64 noundef 16) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %28, label %10
10: ; preds = %3
%11 = load i64, ptr @ngx_http_lua_script_copy_len_code, align 8, !tbaa !16
%12 = trunc i64 %11 to i32
%13 = getelementptr inbounds i8, ptr %8, i64 8
store i32 %12, ptr %13, align 8, !tbaa !17
store i64 %4, ptr %8, align 8, !tbaa !19
%14 = add i64 %4, 23
%15 = and i64 %14, -8
%16 = load ptr, ptr %0, align 8, !tbaa !20
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = tail call ptr @ngx_http_lua_script_add_code(i32 noundef %17, i64 noundef %15) #2
%19 = icmp eq ptr %18, null
br i1 %19, label %28, label %20
20: ; preds = %10
%21 = load i32, ptr @ngx_http_lua_script_copy_code, align 4, !tbaa !15
%22 = getelementptr inbounds i8, ptr %18, i64 8
store i32 %21, ptr %22, align 8, !tbaa !17
store i64 %4, ptr %18, align 8, !tbaa !19
%23 = getelementptr inbounds i8, ptr %18, i64 64
%24 = getelementptr inbounds i8, ptr %1, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !21
%26 = load i64, ptr %1, align 8, !tbaa !6
%27 = tail call i32 @ngx_memcpy(ptr noundef nonnull %23, i32 noundef %25, i64 noundef %26) #2
br label %28
28: ; preds = %10, %3, %20
%29 = phi ptr [ @NGX_OK, %20 ], [ @NGX_ERROR, %3 ], [ @NGX_ERROR, %10 ]
%30 = load i32, ptr %29, align 4, !tbaa !15
ret i32 %30
}
declare ptr @ngx_http_lua_script_add_code(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @ngx_memcpy(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !14, i64 8}
!13 = !{!"TYPE_9__", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !11, i64 8}
!18 = !{!"TYPE_8__", !8, i64 0, !11, i64 8}
!19 = !{!18, !8, i64 0}
!20 = !{!13, !14, i64 0}
!21 = !{!7, !11, i64 8}
| tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_script.c_ngx_http_lua_script_add_copy_code |
; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_pmd_range.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_pmd_range.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@HPAGE_PMD_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @copy_pmd_range], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @copy_pmd_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = tail call ptr @pmd_alloc(ptr noundef %0, ptr noundef %2, i64 noundef %5) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%12 = sub nsw i32 0, %11
br label %53
13: ; preds = %7
%14 = tail call ptr @pmd_offset(ptr noundef %3, i64 noundef %5) #2
br label %15
15: ; preds = %48, %13
%16 = phi ptr [ %14, %13 ], [ %51, %48 ]
%17 = phi ptr [ %8, %13 ], [ %50, %48 ]
%18 = phi i64 [ %5, %13 ], [ %20, %48 ]
%19 = phi i32 [ undef, %13 ], [ %49, %48 ]
%20 = tail call i64 @pmd_addr_end(i64 noundef %18, i64 noundef %6) #2
%21 = load i32, ptr %16, align 4, !tbaa !5
%22 = tail call i64 @pmd_trans_huge(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %38, label %24
24: ; preds = %15
%25 = sub i64 %20, %18
%26 = load i64, ptr @HPAGE_PMD_SIZE, align 8, !tbaa !9
%27 = icmp ne i64 %25, %26
%28 = zext i1 %27 to i32
%29 = tail call i32 @VM_BUG_ON(i32 noundef %28) #2
%30 = tail call i32 @copy_huge_pmd(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %17, ptr noundef nonnull %16, i64 noundef %18, ptr noundef %4) #2
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%32 = sub nsw i32 0, %31
%33 = icmp eq i32 %30, %32
%34 = icmp eq i32 %30, 0
%35 = select i1 %34, i32 3, i32 0
%36 = select i1 %33, i32 1, i32 %35
%37 = select i1 %33, i32 %32, i32 %19
switch i32 %36, label %53 [
i32 0, label %38
i32 3, label %48
]
38: ; preds = %24, %15
%39 = phi i32 [ %37, %24 ], [ %19, %15 ]
%40 = tail call i64 @pmd_none_or_clear_bad(ptr noundef nonnull %16) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = tail call i64 @copy_pte_range(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %17, ptr noundef nonnull %16, ptr noundef %4, i64 noundef %18, i64 noundef %20) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %42
%46 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%47 = sub nsw i32 0, %46
br label %53
48: ; preds = %42, %38, %24
%49 = phi i32 [ %37, %24 ], [ %39, %38 ], [ %39, %42 ]
%50 = getelementptr inbounds i32, ptr %17, i64 1
%51 = getelementptr inbounds i32, ptr %16, i64 1
%52 = icmp eq i64 %20, %6
br i1 %52, label %53, label %15, !llvm.loop !11
53: ; preds = %48, %24, %45, %10
%54 = phi i32 [ %47, %45 ], [ %12, %10 ], [ 0, %48 ], [ %37, %24 ]
ret i32 %54
}
declare ptr @pmd_alloc(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @pmd_offset(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @pmd_addr_end(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @pmd_trans_huge(i32 noundef) local_unnamed_addr #1
declare i32 @VM_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @copy_huge_pmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @pmd_none_or_clear_bad(ptr noundef) local_unnamed_addr #1
declare i64 @copy_pte_range(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_pmd_range.c'
source_filename = "AnghaBench/fastsocket/kernel/mm/extr_memory.c_copy_pmd_range.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
@HPAGE_PMD_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @copy_pmd_range], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @copy_pmd_range(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i64 noundef %6) #0 {
%8 = tail call ptr @pmd_alloc(ptr noundef %0, ptr noundef %2, i64 noundef %5) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%12 = sub nsw i32 0, %11
br label %53
13: ; preds = %7
%14 = tail call ptr @pmd_offset(ptr noundef %3, i64 noundef %5) #2
br label %15
15: ; preds = %48, %13
%16 = phi ptr [ %14, %13 ], [ %51, %48 ]
%17 = phi ptr [ %8, %13 ], [ %50, %48 ]
%18 = phi i64 [ %5, %13 ], [ %20, %48 ]
%19 = phi i32 [ undef, %13 ], [ %49, %48 ]
%20 = tail call i64 @pmd_addr_end(i64 noundef %18, i64 noundef %6) #2
%21 = load i32, ptr %16, align 4, !tbaa !6
%22 = tail call i64 @pmd_trans_huge(i32 noundef %21) #2
%23 = icmp eq i64 %22, 0
br i1 %23, label %38, label %24
24: ; preds = %15
%25 = sub i64 %20, %18
%26 = load i64, ptr @HPAGE_PMD_SIZE, align 8, !tbaa !10
%27 = icmp ne i64 %25, %26
%28 = zext i1 %27 to i32
%29 = tail call i32 @VM_BUG_ON(i32 noundef %28) #2
%30 = tail call i32 @copy_huge_pmd(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %17, ptr noundef nonnull %16, i64 noundef %18, ptr noundef %4) #2
%31 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%32 = sub nsw i32 0, %31
%33 = icmp eq i32 %30, %32
%34 = icmp eq i32 %30, 0
%35 = select i1 %34, i32 3, i32 0
%36 = select i1 %33, i32 1, i32 %35
%37 = select i1 %33, i32 %32, i32 %19
switch i32 %36, label %53 [
i32 0, label %38
i32 3, label %48
]
38: ; preds = %24, %15
%39 = phi i32 [ %37, %24 ], [ %19, %15 ]
%40 = tail call i64 @pmd_none_or_clear_bad(ptr noundef nonnull %16) #2
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = tail call i64 @copy_pte_range(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %17, ptr noundef nonnull %16, ptr noundef %4, i64 noundef %18, i64 noundef %20) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %48, label %45
45: ; preds = %42
%46 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%47 = sub nsw i32 0, %46
br label %53
48: ; preds = %42, %38, %24
%49 = phi i32 [ %37, %24 ], [ %39, %38 ], [ %39, %42 ]
%50 = getelementptr inbounds i8, ptr %17, i64 4
%51 = getelementptr inbounds i8, ptr %16, i64 4
%52 = icmp eq i64 %20, %6
br i1 %52, label %53, label %15, !llvm.loop !12
53: ; preds = %48, %24, %45, %10
%54 = phi i32 [ %47, %45 ], [ %12, %10 ], [ 0, %48 ], [ %37, %24 ]
ret i32 %54
}
declare ptr @pmd_alloc(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @pmd_offset(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @pmd_addr_end(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @pmd_trans_huge(i32 noundef) local_unnamed_addr #1
declare i32 @VM_BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @copy_huge_pmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @pmd_none_or_clear_bad(ptr noundef) local_unnamed_addr #1
declare i64 @copy_pte_range(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!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 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_mm_extr_memory.c_copy_pmd_range |
; ModuleID = 'AnghaBench/goaccess/src/extr_json.c_pmaxts.c'
source_filename = "AnghaBench/goaccess/src/extr_json.c_pmaxts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i32 }
@conf = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
@.str = private unnamed_addr constant [6 x i8] c"maxts\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @pmaxts], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pmaxts(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr @conf, align 4, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !10
%8 = tail call i32 @pskeyu64val(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %2, i32 noundef 0) #2
br label %9
9: ; preds = %3, %6
ret void
}
declare i32 @pskeyu64val(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !12, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_json.c_pmaxts.c'
source_filename = "AnghaBench/goaccess/src/extr_json.c_pmaxts.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { i32 }
@conf = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 4
@.str = private unnamed_addr constant [6 x i8] c"maxts\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @pmaxts], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pmaxts(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = load i32, ptr @conf, align 4, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4, !tbaa !11
%8 = tail call i32 @pskeyu64val(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %2, i32 noundef 0) #2
br label %9
9: ; preds = %3, %6
ret void
}
declare i32 @pskeyu64val(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !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 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
| goaccess_src_extr_json.c_pmaxts |
; ModuleID = 'AnghaBench/linux/drivers/memory/samsung/extr_exynos-srom.c_exynos_srom_alloc_reg_dump.c'
source_filename = "AnghaBench/linux/drivers/memory/samsung/extr_exynos-srom.c_exynos_srom_alloc_reg_dump.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.exynos_srom_reg_dump = type { i64 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @exynos_srom_alloc_reg_dump], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @exynos_srom_alloc_reg_dump(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = ptrtoint ptr %0 to i64
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%5 = tail call ptr @kcalloc(i64 noundef %1, i32 noundef 8, i32 noundef %4) #2
%6 = ptrtoint ptr %5 to i64
%7 = icmp ne ptr %5, null
%8 = icmp ne i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %48
10: ; preds = %2
%11 = icmp ult i64 %1, 18
br i1 %11, label %36, label %12
12: ; preds = %10
%13 = add i64 %1, -1
%14 = and i64 %13, 4294967295
%15 = icmp eq i64 %14, 4294967295
%16 = icmp ugt i64 %13, 4294967295
%17 = or i1 %15, %16
%18 = sub i64 %6, %3
%19 = icmp ult i64 %18, 32
%20 = or i1 %17, %19
br i1 %20, label %36, label %21
21: ; preds = %12
%22 = and i64 %1, -4
%23 = trunc i64 %22 to i32
br label %24
24: ; preds = %24, %21
%25 = phi i64 [ 0, %21 ], [ %32, %24 ]
%26 = getelementptr inbounds i64, ptr %0, i64 %25
%27 = getelementptr inbounds i64, ptr %26, i64 2
%28 = load <2 x i64>, ptr %26, align 8, !tbaa !9
%29 = load <2 x i64>, ptr %27, align 8, !tbaa !9
%30 = getelementptr inbounds %struct.exynos_srom_reg_dump, ptr %5, i64 %25
%31 = getelementptr inbounds i64, ptr %30, i64 2
store <2 x i64> %28, ptr %30, align 8, !tbaa !11
store <2 x i64> %29, ptr %31, align 8, !tbaa !11
%32 = add nuw i64 %25, 4
%33 = icmp eq i64 %32, %22
br i1 %33, label %34, label %24, !llvm.loop !13
34: ; preds = %24
%35 = icmp eq i64 %22, %1
br i1 %35, label %48, label %36
36: ; preds = %12, %10, %34
%37 = phi i64 [ 0, %12 ], [ 0, %10 ], [ %22, %34 ]
%38 = phi i32 [ 0, %12 ], [ 0, %10 ], [ %23, %34 ]
br label %39
39: ; preds = %36, %39
%40 = phi i64 [ %46, %39 ], [ %37, %36 ]
%41 = phi i32 [ %45, %39 ], [ %38, %36 ]
%42 = getelementptr inbounds i64, ptr %0, i64 %40
%43 = load i64, ptr %42, align 8, !tbaa !9
%44 = getelementptr inbounds %struct.exynos_srom_reg_dump, ptr %5, i64 %40
store i64 %43, ptr %44, align 8, !tbaa !11
%45 = add i32 %41, 1
%46 = zext i32 %45 to i64
%47 = icmp ult i64 %46, %1
br i1 %47, label %39, label %48, !llvm.loop !17
48: ; preds = %39, %34, %2
ret ptr %5
}
declare ptr @kcalloc(i64 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"exynos_srom_reg_dump", !10, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !14, !15}
| ; ModuleID = 'AnghaBench/linux/drivers/memory/samsung/extr_exynos-srom.c_exynos_srom_alloc_reg_dump.c'
source_filename = "AnghaBench/linux/drivers/memory/samsung/extr_exynos-srom.c_exynos_srom_alloc_reg_dump.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.exynos_srom_reg_dump = type { i64 }
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @exynos_srom_alloc_reg_dump], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @exynos_srom_alloc_reg_dump(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = ptrtoint ptr %0 to i64
%4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%5 = tail call ptr @kcalloc(i64 noundef %1, i32 noundef 8, i32 noundef %4) #2
%6 = ptrtoint ptr %5 to i64
%7 = icmp ne ptr %5, null
%8 = icmp ne i64 %1, 0
%9 = and i1 %7, %8
br i1 %9, label %10, label %54
10: ; preds = %2
%11 = icmp ult i64 %1, 12
br i1 %11, label %42, label %12
12: ; preds = %10
%13 = add i64 %1, -1
%14 = and i64 %13, 4294967295
%15 = icmp eq i64 %14, 4294967295
%16 = icmp ugt i64 %13, 4294967295
%17 = or i1 %15, %16
%18 = sub i64 %6, %3
%19 = icmp ult i64 %18, 64
%20 = or i1 %17, %19
br i1 %20, label %42, label %21
21: ; preds = %12
%22 = and i64 %1, 8589934584
%23 = trunc i64 %22 to i32
br label %24
24: ; preds = %24, %21
%25 = phi i64 [ 0, %21 ], [ %38, %24 ]
%26 = getelementptr inbounds i64, ptr %0, i64 %25
%27 = getelementptr inbounds i8, ptr %26, i64 16
%28 = getelementptr inbounds i8, ptr %26, i64 32
%29 = getelementptr inbounds i8, ptr %26, i64 48
%30 = load <2 x i64>, ptr %26, align 8, !tbaa !10
%31 = load <2 x i64>, ptr %27, align 8, !tbaa !10
%32 = load <2 x i64>, ptr %28, align 8, !tbaa !10
%33 = load <2 x i64>, ptr %29, align 8, !tbaa !10
%34 = getelementptr inbounds %struct.exynos_srom_reg_dump, ptr %5, i64 %25
%35 = getelementptr inbounds i8, ptr %34, i64 16
%36 = getelementptr inbounds i8, ptr %34, i64 32
%37 = getelementptr inbounds i8, ptr %34, i64 48
store <2 x i64> %30, ptr %34, align 8, !tbaa !12
store <2 x i64> %31, ptr %35, align 8, !tbaa !12
store <2 x i64> %32, ptr %36, align 8, !tbaa !12
store <2 x i64> %33, ptr %37, align 8, !tbaa !12
%38 = add nuw i64 %25, 8
%39 = icmp eq i64 %38, %22
br i1 %39, label %40, label %24, !llvm.loop !14
40: ; preds = %24
%41 = icmp eq i64 %22, %1
br i1 %41, label %54, label %42
42: ; preds = %40, %12, %10
%43 = phi i64 [ 0, %12 ], [ 0, %10 ], [ %22, %40 ]
%44 = phi i32 [ 0, %12 ], [ 0, %10 ], [ %23, %40 ]
br label %45
45: ; preds = %42, %45
%46 = phi i64 [ %52, %45 ], [ %43, %42 ]
%47 = phi i32 [ %51, %45 ], [ %44, %42 ]
%48 = getelementptr inbounds i64, ptr %0, i64 %46
%49 = load i64, ptr %48, align 8, !tbaa !10
%50 = getelementptr inbounds %struct.exynos_srom_reg_dump, ptr %5, i64 %46
store i64 %49, ptr %50, align 8, !tbaa !12
%51 = add i32 %47, 1
%52 = zext i32 %51 to i64
%53 = icmp ult i64 %52, %1
br i1 %53, label %45, label %54, !llvm.loop !18
54: ; preds = %45, %40, %2
ret ptr %5
}
declare ptr @kcalloc(i64 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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"exynos_srom_reg_dump", !11, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !16}
| linux_drivers_memory_samsung_extr_exynos-srom.c_exynos_srom_alloc_reg_dump |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_is_invalid_opcode.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_is_invalid_opcode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@INTR_INFO_INTR_TYPE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@INTR_INFO_VECTOR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@INTR_INFO_VALID_MASK = dso_local local_unnamed_addr global i32 0, align 4
@INTR_TYPE_HARD_EXCEPTION = dso_local local_unnamed_addr global i32 0, align 4
@UD_VECTOR = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_invalid_opcode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @is_invalid_opcode(i32 noundef %0) #0 {
%2 = load i32, ptr @INTR_INFO_INTR_TYPE_MASK, align 4, !tbaa !5
%3 = load i32, ptr @INTR_INFO_VECTOR_MASK, align 4, !tbaa !5
%4 = or i32 %3, %2
%5 = load i32, ptr @INTR_INFO_VALID_MASK, align 4, !tbaa !5
%6 = or i32 %4, %5
%7 = and i32 %6, %0
%8 = load i32, ptr @INTR_TYPE_HARD_EXCEPTION, align 4, !tbaa !5
%9 = load i32, ptr @UD_VECTOR, align 4, !tbaa !5
%10 = or i32 %8, %9
%11 = or i32 %10, %5
%12 = icmp eq i32 %7, %11
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_is_invalid_opcode.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_is_invalid_opcode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INTR_INFO_INTR_TYPE_MASK = common local_unnamed_addr global i32 0, align 4
@INTR_INFO_VECTOR_MASK = common local_unnamed_addr global i32 0, align 4
@INTR_INFO_VALID_MASK = common local_unnamed_addr global i32 0, align 4
@INTR_TYPE_HARD_EXCEPTION = common local_unnamed_addr global i32 0, align 4
@UD_VECTOR = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_invalid_opcode], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal range(i32 0, 2) i32 @is_invalid_opcode(i32 noundef %0) #0 {
%2 = load i32, ptr @INTR_INFO_INTR_TYPE_MASK, align 4, !tbaa !6
%3 = load i32, ptr @INTR_INFO_VECTOR_MASK, align 4, !tbaa !6
%4 = or i32 %3, %2
%5 = load i32, ptr @INTR_INFO_VALID_MASK, align 4, !tbaa !6
%6 = or i32 %4, %5
%7 = and i32 %6, %0
%8 = load i32, ptr @INTR_TYPE_HARD_EXCEPTION, align 4, !tbaa !6
%9 = load i32, ptr @UD_VECTOR, align 4, !tbaa !6
%10 = or i32 %8, %9
%11 = or i32 %10, %5
%12 = icmp eq i32 %7, %11
%13 = zext i1 %12 to i32
ret i32 %13
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_x86_kvm_extr_vmx.c_is_invalid_opcode |
; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_generic.c_agp_create_user_memory.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_generic.c_agp_create_user_memory.c"
target datalayout = "e-m:e-p270:32:32-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.agp_memory = type { i64, i64, ptr }
@INT_MAX = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @agp_create_user_memory], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @agp_create_user_memory(i64 noundef %0) #0 {
%2 = shl i64 %0, 3
%3 = load i32, ptr @INT_MAX, align 4, !tbaa !5
%4 = sext i32 %3 to i64
%5 = lshr i64 %4, 3
%6 = icmp ult i64 %5, %0
br i1 %6, label %27, label %7
7: ; preds = %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%9 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %27, label %11
11: ; preds = %7
%12 = tail call i64 (...) @agp_get_key() #2
store i64 %12, ptr %9, align 8, !tbaa !9
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %27
16: ; preds = %11
%17 = tail call i32 @agp_alloc_page_array(i64 noundef %2, ptr noundef nonnull %9) #2
%18 = getelementptr inbounds %struct.agp_memory, ptr %9, i64 0, i32 2
%19 = load ptr, ptr %18, align 8, !tbaa !13
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = load i64, ptr %9, align 8, !tbaa !9
%23 = tail call i32 @agp_free_key(i64 noundef %22) #2
%24 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %27
25: ; preds = %16
%26 = getelementptr inbounds %struct.agp_memory, ptr %9, i64 0, i32 1
store i64 0, ptr %26, align 8, !tbaa !14
br label %27
27: ; preds = %7, %1, %25, %21, %14
%28 = phi ptr [ null, %14 ], [ null, %21 ], [ %9, %25 ], [ null, %1 ], [ null, %7 ]
ret ptr %28
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @agp_get_key(...) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @agp_alloc_page_array(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @agp_free_key(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, !11, i64 0}
!10 = !{!"agp_memory", !11, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 16}
!14 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/char/agp/extr_generic.c_agp_create_user_memory.c'
source_filename = "AnghaBench/linux/drivers/char/agp/extr_generic.c_agp_create_user_memory.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@INT_MAX = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @agp_create_user_memory], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @agp_create_user_memory(i64 noundef %0) #0 {
%2 = shl i64 %0, 3
%3 = load i32, ptr @INT_MAX, align 4, !tbaa !6
%4 = sext i32 %3 to i64
%5 = lshr i64 %4, 3
%6 = icmp ult i64 %5, %0
br i1 %6, label %27, label %7
7: ; preds = %1
%8 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%9 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %8) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %27, label %11
11: ; preds = %7
%12 = tail call i64 @agp_get_key() #2
store i64 %12, ptr %9, align 8, !tbaa !10
%13 = icmp slt i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %27
16: ; preds = %11
%17 = tail call i32 @agp_alloc_page_array(i64 noundef %2, ptr noundef nonnull %9) #2
%18 = getelementptr inbounds i8, ptr %9, i64 16
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = load i64, ptr %9, align 8, !tbaa !10
%23 = tail call i32 @agp_free_key(i64 noundef %22) #2
%24 = tail call i32 @kfree(ptr noundef nonnull %9) #2
br label %27
25: ; preds = %16
%26 = getelementptr inbounds i8, ptr %9, i64 8
store i64 0, ptr %26, align 8, !tbaa !15
br label %27
27: ; preds = %7, %1, %25, %21, %14
%28 = phi ptr [ null, %14 ], [ null, %21 ], [ %9, %25 ], [ null, %1 ], [ null, %7 ]
ret ptr %28
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @agp_get_key(...) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @agp_alloc_page_array(i64 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @agp_free_key(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, !12, i64 0}
!11 = !{!"agp_memory", !12, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 16}
!15 = !{!11, !12, i64 8}
| linux_drivers_char_agp_extr_generic.c_agp_create_user_memory |
; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_vcnl4035.c_vcnl4035_remove.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_vcnl4035.c_vcnl4035_remove.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@VCNL4035_MODE_ALS_DISABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vcnl4035_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vcnl4035_remove(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = tail call i32 @pm_runtime_dont_use_autosuspend(ptr noundef %0) #2
%4 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2
%5 = tail call i32 @iio_device_unregister(ptr noundef %2) #2
%6 = tail call i32 @pm_runtime_set_suspended(ptr noundef %0) #2
%7 = tail call i32 @iio_priv(ptr noundef %2) #2
%8 = load i32, ptr @VCNL4035_MODE_ALS_DISABLE, align 4, !tbaa !5
%9 = tail call i32 @vcnl4035_set_als_power_state(i32 noundef %7, i32 noundef %8) #2
ret i32 %9
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_dont_use_autosuspend(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_set_suspended(ptr noundef) local_unnamed_addr #1
declare i32 @vcnl4035_set_als_power_state(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iio_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/light/extr_vcnl4035.c_vcnl4035_remove.c'
source_filename = "AnghaBench/linux/drivers/iio/light/extr_vcnl4035.c_vcnl4035_remove.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VCNL4035_MODE_ALS_DISABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vcnl4035_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vcnl4035_remove(ptr noundef %0) #0 {
%2 = tail call ptr @i2c_get_clientdata(ptr noundef %0) #2
%3 = tail call i32 @pm_runtime_dont_use_autosuspend(ptr noundef %0) #2
%4 = tail call i32 @pm_runtime_disable(ptr noundef %0) #2
%5 = tail call i32 @iio_device_unregister(ptr noundef %2) #2
%6 = tail call i32 @pm_runtime_set_suspended(ptr noundef %0) #2
%7 = tail call i32 @iio_priv(ptr noundef %2) #2
%8 = load i32, ptr @VCNL4035_MODE_ALS_DISABLE, align 4, !tbaa !6
%9 = tail call i32 @vcnl4035_set_als_power_state(i32 noundef %7, i32 noundef %8) #2
ret i32 %9
}
declare ptr @i2c_get_clientdata(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_dont_use_autosuspend(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_disable(ptr noundef) local_unnamed_addr #1
declare i32 @iio_device_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @pm_runtime_set_suspended(ptr noundef) local_unnamed_addr #1
declare i32 @vcnl4035_set_als_power_state(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iio_priv(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_iio_light_extr_vcnl4035.c_vcnl4035_remove |
; ModuleID = 'AnghaBench/freebsd/tools/bus_space/extr_busdma.c_bd_md_add_seg.c'
source_filename = "AnghaBench/freebsd/tools/bus_space/extr_busdma.c_bd_md_add_seg.c"
target datalayout = "e-m:e-p270:32:32-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.obj = type { i32, %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr, ptr }
%struct.TYPE_4__ = type { ptr, ptr }
@OBJ_TYPE_SEG = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bd_md_add_seg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bd_md_add_seg(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr @OBJ_TYPE_SEG, align 4, !tbaa !5
%6 = tail call ptr @obj_alloc(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i32, ptr @errno, align 4, !tbaa !5
br label %21
10: ; preds = %4
store i32 1, ptr %6, align 8, !tbaa !9
%11 = getelementptr inbounds %struct.obj, ptr %6, i64 0, i32 2
store ptr %0, ptr %11, align 8, !tbaa !15
%12 = getelementptr inbounds %struct.obj, ptr %6, i64 0, i32 1, i32 1
%13 = getelementptr inbounds %struct.obj, ptr %6, i64 0, i32 1, i32 1, i32 1
store ptr %2, ptr %13, align 8, !tbaa !16
store ptr %3, ptr %12, align 8, !tbaa !17
%14 = getelementptr inbounds %struct.obj, ptr %0, i64 0, i32 1
%15 = getelementptr inbounds %struct.obj, ptr %0, i64 0, i32 1, i32 0, i32 1
%16 = load ptr, ptr %15, align 8, !tbaa !18
%17 = sext i32 %1 to i64
%18 = getelementptr inbounds ptr, ptr %16, i64 %17
store ptr %6, ptr %18, align 8, !tbaa !19
%19 = load ptr, ptr %14, align 8, !tbaa !20
%20 = getelementptr inbounds i32, ptr %19, i64 %17
store i32 1, ptr %20, align 4, !tbaa !5
br label %21
21: ; preds = %10, %8
%22 = phi i32 [ %9, %8 ], [ 0, %10 ]
ret i32 %22
}
declare ptr @obj_alloc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"obj", !6, i64 0, !11, i64 8, !13, i64 40}
!11 = !{!"TYPE_6__", !12, i64 0, !14, i64 16}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"TYPE_4__", !13, i64 0, !13, i64 8}
!15 = !{!10, !13, i64 40}
!16 = !{!10, !13, i64 32}
!17 = !{!10, !13, i64 24}
!18 = !{!10, !13, i64 16}
!19 = !{!13, !13, i64 0}
!20 = !{!10, !13, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/tools/bus_space/extr_busdma.c_bd_md_add_seg.c'
source_filename = "AnghaBench/freebsd/tools/bus_space/extr_busdma.c_bd_md_add_seg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OBJ_TYPE_SEG = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bd_md_add_seg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bd_md_add_seg(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = load i32, ptr @OBJ_TYPE_SEG, align 4, !tbaa !6
%6 = tail call ptr @obj_alloc(i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i32, ptr @errno, align 4, !tbaa !6
br label %21
10: ; preds = %4
store i32 1, ptr %6, align 8, !tbaa !10
%11 = getelementptr inbounds i8, ptr %6, i64 40
store ptr %0, ptr %11, align 8, !tbaa !16
%12 = getelementptr inbounds i8, ptr %6, i64 24
%13 = getelementptr inbounds i8, ptr %6, i64 32
store ptr %2, ptr %13, align 8, !tbaa !17
store ptr %3, ptr %12, align 8, !tbaa !18
%14 = getelementptr inbounds i8, ptr %0, i64 8
%15 = getelementptr inbounds i8, ptr %0, i64 16
%16 = load ptr, ptr %15, align 8, !tbaa !19
%17 = sext i32 %1 to i64
%18 = getelementptr inbounds ptr, ptr %16, i64 %17
store ptr %6, ptr %18, align 8, !tbaa !20
%19 = load ptr, ptr %14, align 8, !tbaa !21
%20 = getelementptr inbounds i32, ptr %19, i64 %17
store i32 1, ptr %20, align 4, !tbaa !6
br label %21
21: ; preds = %10, %8
%22 = phi i32 [ %9, %8 ], [ 0, %10 ]
ret i32 %22
}
declare ptr @obj_alloc(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"obj", !7, i64 0, !12, i64 8, !14, i64 40}
!12 = !{!"TYPE_6__", !13, i64 0, !15, i64 16}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"TYPE_4__", !14, i64 0, !14, i64 8}
!16 = !{!11, !14, i64 40}
!17 = !{!11, !14, i64 32}
!18 = !{!11, !14, i64 24}
!19 = !{!11, !14, i64 16}
!20 = !{!14, !14, i64 0}
!21 = !{!11, !14, i64 8}
| freebsd_tools_bus_space_extr_busdma.c_bd_md_add_seg |
; ModuleID = 'AnghaBench/postgres/src/backend/utils/error/extr_elog.c_internalerrposition.c'
source_filename = "AnghaBench/postgres/src/backend/utils/error/extr_elog.c_internalerrposition.c"
target datalayout = "e-m:e-p270:32:32-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 }
@errordata = dso_local local_unnamed_addr global ptr null, align 8
@errordata_stack_depth = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @internalerrposition(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @errordata, align 8, !tbaa !5
%3 = load i64, ptr @errordata_stack_depth, align 8, !tbaa !9
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3
%5 = tail call i32 (...) @CHECK_STACK_DEPTH() #2
store i32 %0, ptr %4, align 4, !tbaa !11
ret i32 0
}
declare i32 @CHECK_STACK_DEPTH(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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, !13, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/utils/error/extr_elog.c_internalerrposition.c'
source_filename = "AnghaBench/postgres/src/backend/utils/error/extr_elog.c_internalerrposition.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 }
@errordata = common local_unnamed_addr global ptr null, align 8
@errordata_stack_depth = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @internalerrposition(i32 noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr @errordata, align 8, !tbaa !6
%3 = load i64, ptr @errordata_stack_depth, align 8, !tbaa !10
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 %3
%5 = tail call i32 @CHECK_STACK_DEPTH() #2
store i32 %0, ptr %4, align 4, !tbaa !12
ret i32 0
}
declare i32 @CHECK_STACK_DEPTH(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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, !14, i64 0}
!13 = !{!"TYPE_3__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| postgres_src_backend_utils_error_extr_elog.c_internalerrposition |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_3c505.c_send_pcb_slow.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_3c505.c_send_pcb_slow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i32 0, align 4
@HCRE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"3c505: send_pcb_slow timed out\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @send_pcb_slow], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal noundef i32 @send_pcb_slow(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = tail call i32 @outb_command(i8 noundef zeroext %1, i32 noundef %0) #2
%4 = load i32, ptr @jiffies, align 4, !tbaa !5
%5 = load i32, ptr @HZ, align 4, !tbaa !5
%6 = sdiv i32 %5, 20
%7 = add nsw i32 %6, %4
%8 = sext i32 %7 to i64
br label %9
9: ; preds = %13, %2
%10 = load i32, ptr @jiffies, align 4, !tbaa !5
%11 = tail call i64 @time_before(i32 noundef %10, i64 noundef %8) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i32 @inb_status(i32 noundef %0) #2
%15 = load i32, ptr @HCRE, align 4, !tbaa !5
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %9, label %20, !llvm.loop !9
18: ; preds = %9
%19 = tail call i32 @pr_warning(ptr noundef nonnull @.str) #2
br label %20
20: ; preds = %13, %18
%21 = phi i32 [ 1, %18 ], [ 0, %13 ]
ret i32 %21
}
declare i32 @outb_command(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i64 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @inb_status(i32 noundef) local_unnamed_addr #1
declare i32 @pr_warning(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_3c505.c_send_pcb_slow.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_3c505.c_send_pcb_slow.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i32 0, align 4
@HCRE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"3c505: send_pcb_slow timed out\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @send_pcb_slow], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @send_pcb_slow(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = tail call i32 @outb_command(i8 noundef zeroext %1, i32 noundef %0) #2
%4 = load i32, ptr @jiffies, align 4, !tbaa !6
%5 = load i32, ptr @HZ, align 4, !tbaa !6
%6 = sdiv i32 %5, 20
%7 = add nsw i32 %6, %4
%8 = sext i32 %7 to i64
br label %9
9: ; preds = %13, %2
%10 = load i32, ptr @jiffies, align 4, !tbaa !6
%11 = tail call i64 @time_before(i32 noundef %10, i64 noundef %8) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = tail call i32 @inb_status(i32 noundef %0) #2
%15 = load i32, ptr @HCRE, align 4, !tbaa !6
%16 = and i32 %15, %14
%17 = icmp eq i32 %16, 0
br i1 %17, label %9, label %20, !llvm.loop !10
18: ; preds = %9
%19 = tail call i32 @pr_warning(ptr noundef nonnull @.str) #2
br label %20
20: ; preds = %13, %18
%21 = phi i32 [ 1, %18 ], [ 0, %13 ]
ret i32 %21
}
declare i32 @outb_command(i8 noundef zeroext, i32 noundef) local_unnamed_addr #1
declare i64 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @inb_status(i32 noundef) local_unnamed_addr #1
declare i32 @pr_warning(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_extr_3c505.c_send_pcb_slow |
; ModuleID = 'AnghaBench/linux/net/dccp/extr_ccids..ccid.h_ccid_hc_tx_parse_options.c'
source_filename = "AnghaBench/linux/net/dccp/extr_ccids..ccid.h_ccid_hc_tx_parse_options.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ccid_hc_tx_parse_options], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ccid_hc_tx_parse_options(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = icmp eq ptr %0, null
br i1 %7, label %14, label %8
8: ; preds = %6
%9 = load ptr, ptr %0, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !10
%11 = icmp eq ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call i32 %10(ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #1
br label %14
14: ; preds = %6, %8, %12
%15 = phi i32 [ %13, %12 ], [ 0, %8 ], [ 0, %6 ]
ret i32 %15
}
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ccid", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/dccp/extr_ccids..ccid.h_ccid_hc_tx_parse_options.c'
source_filename = "AnghaBench/linux/net/dccp/extr_ccids..ccid.h_ccid_hc_tx_parse_options.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 @ccid_hc_tx_parse_options], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @ccid_hc_tx_parse_options(ptr noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = icmp eq ptr %0, null
br i1 %7, label %14, label %8
8: ; preds = %6
%9 = load ptr, ptr %0, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = icmp eq ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = tail call i32 %10(ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #1
br label %14
14: ; preds = %6, %8, %12
%15 = phi i32 [ %13, %12 ], [ 0, %8 ], [ 0, %6 ]
ret i32 %15
}
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ccid", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
| linux_net_dccp_extr_ccids..ccid.h_ccid_hc_tx_parse_options |
; ModuleID = 'AnghaBench/libgit2/tests/merge/extr_annotated_commit.c_test_merge_annotated_commit__lookup_annotated_tag.c'
source_filename = "AnghaBench/libgit2/tests/merge/extr_annotated_commit.c_test_merge_annotated_commit__lookup_annotated_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"
@g_repo = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"refs/tags/test\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @test_merge_annotated_commit__lookup_annotated_tag() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @g_repo, align 4, !tbaa !5
%4 = call i32 @git_reference_lookup(ptr noundef nonnull %2, i32 noundef %3, ptr noundef nonnull @.str) #3
%5 = call i32 @cl_git_pass(i32 noundef %4) #3
%6 = load i32, ptr @g_repo, align 4, !tbaa !5
%7 = load ptr, ptr %2, align 8, !tbaa !9
%8 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %1, i32 noundef %6, ptr noundef %7) #3
%9 = call i32 @cl_git_pass(i32 noundef %8) #3
%10 = load ptr, ptr %1, align 8, !tbaa !9
%11 = call i32 @git_annotated_commit_free(ptr noundef %10) #3
%12 = load ptr, ptr %2, align 8, !tbaa !9
%13 = call i32 @git_reference_free(ptr noundef %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_annotated_commit_from_ref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/libgit2/tests/merge/extr_annotated_commit.c_test_merge_annotated_commit__lookup_annotated_tag.c'
source_filename = "AnghaBench/libgit2/tests/merge/extr_annotated_commit.c_test_merge_annotated_commit__lookup_annotated_tag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@g_repo = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"refs/tags/test\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @test_merge_annotated_commit__lookup_annotated_tag() local_unnamed_addr #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = load i32, ptr @g_repo, align 4, !tbaa !6
%4 = call i32 @git_reference_lookup(ptr noundef nonnull %2, i32 noundef %3, ptr noundef nonnull @.str) #3
%5 = call i32 @cl_git_pass(i32 noundef %4) #3
%6 = load i32, ptr @g_repo, align 4, !tbaa !6
%7 = load ptr, ptr %2, align 8, !tbaa !10
%8 = call i32 @git_annotated_commit_from_ref(ptr noundef nonnull %1, i32 noundef %6, ptr noundef %7) #3
%9 = call i32 @cl_git_pass(i32 noundef %8) #3
%10 = load ptr, ptr %1, align 8, !tbaa !10
%11 = call i32 @git_annotated_commit_free(ptr noundef %10) #3
%12 = load ptr, ptr %2, align 8, !tbaa !10
%13 = call i32 @git_reference_free(ptr noundef %12) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_reference_lookup(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_annotated_commit_from_ref(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_annotated_commit_free(ptr noundef) local_unnamed_addr #2
declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| libgit2_tests_merge_extr_annotated_commit.c_test_merge_annotated_commit__lookup_annotated_tag |
; ModuleID = 'AnghaBench/linux/block/extr_blk-mq-tag.c_blk_mq_unique_tag.c'
source_filename = "AnghaBench/linux/block/extr_blk-mq-tag.c_blk_mq_unique_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"
%struct.request = type { i32, ptr }
@BLK_MQ_UNIQUE_TAG_BITS = dso_local local_unnamed_addr global i32 0, align 4
@BLK_MQ_UNIQUE_TAG_MASK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @blk_mq_unique_tag(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.request, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !11
%5 = load i32, ptr @BLK_MQ_UNIQUE_TAG_BITS, align 4, !tbaa !13
%6 = shl i32 %4, %5
%7 = load i32, ptr %0, align 8, !tbaa !14
%8 = load i32, ptr @BLK_MQ_UNIQUE_TAG_MASK, align 4, !tbaa !13
%9 = and i32 %8, %7
%10 = or i32 %9, %6
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"request", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/block/extr_blk-mq-tag.c_blk_mq_unique_tag.c'
source_filename = "AnghaBench/linux/block/extr_blk-mq-tag.c_blk_mq_unique_tag.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BLK_MQ_UNIQUE_TAG_BITS = common local_unnamed_addr global i32 0, align 4
@BLK_MQ_UNIQUE_TAG_MASK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define i32 @blk_mq_unique_tag(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !12
%5 = load i32, ptr @BLK_MQ_UNIQUE_TAG_BITS, align 4, !tbaa !14
%6 = shl i32 %4, %5
%7 = load i32, ptr %0, align 8, !tbaa !15
%8 = load i32, ptr @BLK_MQ_UNIQUE_TAG_MASK, align 4, !tbaa !14
%9 = and i32 %8, %7
%10 = or i32 %9, %6
ret i32 %10
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"request", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 0}
| linux_block_extr_blk-mq-tag.c_blk_mq_unique_tag |
; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_qresume.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_qresume.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BFA_ITNIM_SM_QRESUME = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfa_itnim_qresume], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @bfa_itnim_qresume(ptr noundef %0) #0 {
%2 = load i32, ptr @BFA_ITNIM_SM_QRESUME, align 4, !tbaa !5
%3 = tail call i32 @bfa_sm_send_event(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @bfa_sm_send_event(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_qresume.c'
source_filename = "AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_qresume.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BFA_ITNIM_SM_QRESUME = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfa_itnim_qresume], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @bfa_itnim_qresume(ptr noundef %0) #0 {
%2 = load i32, ptr @BFA_ITNIM_SM_QRESUME, align 4, !tbaa !6
%3 = tail call i32 @bfa_sm_send_event(ptr noundef %0, i32 noundef %2) #2
ret void
}
declare i32 @bfa_sm_send_event(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_bfa_extr_bfa_fcpim.c_bfa_itnim_qresume |
; ModuleID = 'AnghaBench/git/trace2/extr_tr2_sid.c_tr2_sid_get.c'
source_filename = "AnghaBench/git/trace2/extr_tr2_sid.c_tr2_sid_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.TYPE_2__ = type { ptr, i32 }
@tr2sid_buf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: nounwind uwtable
define dso_local ptr @tr2_sid_get() local_unnamed_addr #0 {
%1 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @tr2sid_buf, i64 0, i32 1), align 8, !tbaa !5
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 (...) @tr2_sid_compute() #2
br label %5
5: ; preds = %3, %0
%6 = load ptr, ptr @tr2sid_buf, align 8, !tbaa !11
ret ptr %6
}
declare i32 @tr2_sid_compute(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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_2__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/git/trace2/extr_tr2_sid.c_tr2_sid_get.c'
source_filename = "AnghaBench/git/trace2/extr_tr2_sid.c_tr2_sid_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { ptr, i32 }
@tr2sid_buf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @tr2_sid_get() local_unnamed_addr #0 {
%1 = load i32, ptr getelementptr inbounds (i8, ptr @tr2sid_buf, i64 8), align 8, !tbaa !6
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @tr2_sid_compute() #2
br label %5
5: ; preds = %3, %0
%6 = load ptr, ptr @tr2sid_buf, align 8, !tbaa !12
ret ptr %6
}
declare i32 @tr2_sid_compute(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_2__", !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}
| git_trace2_extr_tr2_sid.c_tr2_sid_get |
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_hds_flush.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_hds_flush.c"
target datalayout = "e-m:e-p270:32:32-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_23__ = type { ptr, ptr, ptr }
%struct.TYPE_21__ = type { i64, i32, i32, ptr, i64, i32, i64, ptr }
%struct.TYPE_22__ = type { i32, i32, i64 }
@.str = private unnamed_addr constant [23 x i8] c"%s/stream%dSeg1-Frag%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @hds_flush], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hds_flush(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca [1024 x i8], align 16
%6 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 2
%7 = load ptr, ptr %6, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%8 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 6
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = icmp eq i64 %9, 0
br i1 %10, label %96, label %11
11: ; preds = %4
%12 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = load i64, ptr %1, align 8, !tbaa !15
%15 = getelementptr inbounds ptr, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !16
%17 = load i32, ptr %16, align 4, !tbaa !17
%18 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 7
%19 = load ptr, ptr %18, align 8, !tbaa !19
%20 = load i32, ptr %19, align 4, !tbaa !20
%21 = tail call i32 @avio_flush(i32 noundef %20) #3
store i64 0, ptr %8, align 8, !tbaa !10
%22 = tail call i32 @close_file(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%23 = load ptr, ptr %0, align 8, !tbaa !22
%24 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 1
%25 = load i32, ptr %24, align 8, !tbaa !23
%26 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef nonnull @.str, ptr noundef %23, i32 noundef %17, i32 noundef %25) #3
%27 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 5
%28 = load i32, ptr %27, align 8, !tbaa !24
%29 = call i32 @ff_rename(i32 noundef %28, ptr noundef nonnull %5, ptr noundef nonnull %0) #3
%30 = icmp slt i32 %29, 0
br i1 %30, label %96, label %31
31: ; preds = %11
%32 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 4
%33 = load i64, ptr %32, align 8, !tbaa !25
%34 = sub nsw i64 %3, %33
%35 = call i32 @add_fragment(ptr noundef nonnull %1, ptr noundef nonnull %5, i64 noundef %33, i64 noundef %34) #3
%36 = icmp eq i32 %2, 0
br i1 %36, label %37, label %43
37: ; preds = %31
%38 = call i32 @init_file(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef %3) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %96, label %40
40: ; preds = %37
%41 = load i32, ptr %7, align 8, !tbaa !26
%42 = icmp eq i32 %41, 0
br i1 %42, label %94, label %51
43: ; preds = %31
%44 = load i32, ptr %7, align 8, !tbaa !26
%45 = icmp eq i32 %44, 0
%46 = getelementptr inbounds %struct.TYPE_22__, ptr %7, i64 0, i32 2
%47 = load i64, ptr %46, align 8, !tbaa !28
%48 = freeze i64 %47
%49 = icmp eq i64 %48, 0
br i1 %45, label %50, label %58
50: ; preds = %43
br i1 %49, label %94, label %63
51: ; preds = %40
%52 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 2
%53 = load i32, ptr %52, align 4, !tbaa !29
%54 = getelementptr inbounds %struct.TYPE_22__, ptr %7, i64 0, i32 1
%55 = load i32, ptr %54, align 4, !tbaa !30
%56 = add i32 %41, %55
%57 = sub i32 %53, %56
br label %68
58: ; preds = %43
%59 = getelementptr inbounds %struct.TYPE_22__, ptr %7, i64 0, i32 1
%60 = load i32, ptr %59, align 4, !tbaa !30
%61 = add i32 %60, %44
%62 = select i1 %49, i32 %61, i32 0
br label %63
63: ; preds = %50, %58
%64 = phi i32 [ %62, %58 ], [ 0, %50 ]
%65 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 2
%66 = load i32, ptr %65, align 4, !tbaa !29
%67 = sub i32 %66, %64
br label %68
68: ; preds = %51, %63
%69 = phi ptr [ %52, %51 ], [ %65, %63 ]
%70 = phi i32 [ %57, %51 ], [ %67, %63 ]
%71 = icmp sgt i32 %70, 0
br i1 %71, label %72, label %94
72: ; preds = %68
%73 = getelementptr inbounds %struct.TYPE_21__, ptr %1, i64 0, i32 3
%74 = zext nneg i32 %70 to i64
br label %75
75: ; preds = %72, %75
%76 = phi i64 [ 0, %72 ], [ %85, %75 ]
%77 = load ptr, ptr %73, align 8, !tbaa !31
%78 = getelementptr inbounds ptr, ptr %77, i64 %76
%79 = load ptr, ptr %78, align 8, !tbaa !16
%80 = load i32, ptr %79, align 4, !tbaa !32
%81 = call i32 @unlink(i32 noundef %80) #3
%82 = load ptr, ptr %73, align 8, !tbaa !31
%83 = getelementptr inbounds ptr, ptr %82, i64 %76
%84 = call i32 @av_freep(ptr noundef %83) #3
%85 = add nuw nsw i64 %76, 1
%86 = icmp eq i64 %85, %74
br i1 %86, label %87, label %75, !llvm.loop !34
87: ; preds = %75
%88 = load i32, ptr %69, align 4, !tbaa !29
%89 = sub nsw i32 %88, %70
store i32 %89, ptr %69, align 4, !tbaa !29
%90 = load ptr, ptr %73, align 8, !tbaa !31
%91 = getelementptr inbounds ptr, ptr %90, i64 %74
%92 = shl i32 %89, 3
%93 = call i32 @memmove(ptr noundef %90, ptr noundef nonnull %91, i32 noundef %92) #3
br label %94
94: ; preds = %40, %50, %87, %68
%95 = call i32 @write_abst(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %2) #3
br label %96
96: ; preds = %37, %11, %4, %94
%97 = phi i32 [ %95, %94 ], [ 0, %4 ], [ %29, %11 ], [ %38, %37 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
ret i32 %97
}
; 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_flush(i32 noundef) local_unnamed_addr #2
declare i32 @close_file(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_rename(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @add_fragment(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @init_file(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @unlink(i32 noundef) local_unnamed_addr #2
declare i32 @av_freep(ptr noundef) local_unnamed_addr #2
declare i32 @memmove(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 @write_abst(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"TYPE_23__", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 40}
!11 = !{!"TYPE_21__", !12, i64 0, !13, i64 8, !13, i64 12, !7, i64 16, !12, i64 24, !13, i64 32, !12, i64 40, !7, i64 48}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!11, !12, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"TYPE_19__", !13, i64 0}
!19 = !{!11, !7, i64 48}
!20 = !{!21, !13, i64 0}
!21 = !{!"TYPE_20__", !13, i64 0}
!22 = !{!6, !7, i64 0}
!23 = !{!11, !13, i64 8}
!24 = !{!11, !13, i64 32}
!25 = !{!11, !12, i64 24}
!26 = !{!27, !13, i64 0}
!27 = !{!"TYPE_22__", !13, i64 0, !13, i64 4, !12, i64 8}
!28 = !{!27, !12, i64 8}
!29 = !{!11, !13, i64 12}
!30 = !{!27, !13, i64 4}
!31 = !{!11, !7, i64 16}
!32 = !{!33, !13, i64 0}
!33 = !{!"TYPE_24__", !13, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_hds_flush.c'
source_filename = "AnghaBench/FFmpeg/libavformat/extr_hdsenc.c_hds_flush.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 [23 x i8] c"%s/stream%dSeg1-Frag%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @hds_flush], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hds_flush(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca [1024 x i8], align 1
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #3
%8 = getelementptr inbounds i8, ptr %1, i64 40
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = icmp eq i64 %9, 0
br i1 %10, label %96, label %11
11: ; preds = %4
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load i64, ptr %1, align 8, !tbaa !16
%15 = getelementptr inbounds ptr, ptr %13, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !17
%17 = load i32, ptr %16, align 4, !tbaa !18
%18 = getelementptr inbounds i8, ptr %1, i64 48
%19 = load ptr, ptr %18, align 8, !tbaa !20
%20 = load i32, ptr %19, align 4, !tbaa !21
%21 = tail call i32 @avio_flush(i32 noundef %20) #3
store i64 0, ptr %8, align 8, !tbaa !11
%22 = tail call i32 @close_file(ptr noundef nonnull %0, ptr noundef nonnull %1) #3
%23 = load ptr, ptr %0, align 8, !tbaa !23
%24 = getelementptr inbounds i8, ptr %1, i64 8
%25 = load i32, ptr %24, align 8, !tbaa !24
%26 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef 1024, ptr noundef nonnull @.str, ptr noundef %23, i32 noundef %17, i32 noundef %25) #3
%27 = getelementptr inbounds i8, ptr %1, i64 32
%28 = load i32, ptr %27, align 8, !tbaa !25
%29 = call i32 @ff_rename(i32 noundef %28, ptr noundef nonnull %5, ptr noundef nonnull %0) #3
%30 = icmp slt i32 %29, 0
br i1 %30, label %96, label %31
31: ; preds = %11
%32 = getelementptr inbounds i8, ptr %1, i64 24
%33 = load i64, ptr %32, align 8, !tbaa !26
%34 = sub nsw i64 %3, %33
%35 = call i32 @add_fragment(ptr noundef nonnull %1, ptr noundef nonnull %5, i64 noundef %33, i64 noundef %34) #3
%36 = icmp eq i32 %2, 0
br i1 %36, label %37, label %43
37: ; preds = %31
%38 = call i32 @init_file(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef %3) #3
%39 = icmp slt i32 %38, 0
br i1 %39, label %96, label %40
40: ; preds = %37
%41 = load i32, ptr %7, align 8, !tbaa !27
%42 = icmp eq i32 %41, 0
br i1 %42, label %94, label %51
43: ; preds = %31
%44 = load i32, ptr %7, align 8, !tbaa !27
%45 = icmp eq i32 %44, 0
%46 = getelementptr inbounds i8, ptr %7, i64 8
%47 = load i64, ptr %46, align 8, !tbaa !29
%48 = freeze i64 %47
%49 = icmp eq i64 %48, 0
br i1 %45, label %50, label %58
50: ; preds = %43
br i1 %49, label %94, label %63
51: ; preds = %40
%52 = getelementptr inbounds i8, ptr %1, i64 12
%53 = load i32, ptr %52, align 4, !tbaa !30
%54 = getelementptr inbounds i8, ptr %7, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !31
%56 = add i32 %41, %55
%57 = sub i32 %53, %56
br label %68
58: ; preds = %43
%59 = getelementptr inbounds i8, ptr %7, i64 4
%60 = load i32, ptr %59, align 4, !tbaa !31
%61 = add i32 %60, %44
%62 = select i1 %49, i32 %61, i32 0
br label %63
63: ; preds = %50, %58
%64 = phi i32 [ %62, %58 ], [ 0, %50 ]
%65 = getelementptr inbounds i8, ptr %1, i64 12
%66 = load i32, ptr %65, align 4, !tbaa !30
%67 = sub i32 %66, %64
br label %68
68: ; preds = %51, %63
%69 = phi ptr [ %52, %51 ], [ %65, %63 ]
%70 = phi i32 [ %57, %51 ], [ %67, %63 ]
%71 = icmp sgt i32 %70, 0
br i1 %71, label %72, label %94
72: ; preds = %68
%73 = getelementptr inbounds i8, ptr %1, i64 16
%74 = zext nneg i32 %70 to i64
br label %75
75: ; preds = %72, %75
%76 = phi i64 [ 0, %72 ], [ %85, %75 ]
%77 = load ptr, ptr %73, align 8, !tbaa !32
%78 = getelementptr inbounds ptr, ptr %77, i64 %76
%79 = load ptr, ptr %78, align 8, !tbaa !17
%80 = load i32, ptr %79, align 4, !tbaa !33
%81 = call i32 @unlink(i32 noundef %80) #3
%82 = load ptr, ptr %73, align 8, !tbaa !32
%83 = getelementptr inbounds ptr, ptr %82, i64 %76
%84 = call i32 @av_freep(ptr noundef %83) #3
%85 = add nuw nsw i64 %76, 1
%86 = icmp eq i64 %85, %74
br i1 %86, label %87, label %75, !llvm.loop !35
87: ; preds = %75
%88 = load i32, ptr %69, align 4, !tbaa !30
%89 = sub nsw i32 %88, %70
store i32 %89, ptr %69, align 4, !tbaa !30
%90 = load ptr, ptr %73, align 8, !tbaa !32
%91 = getelementptr inbounds ptr, ptr %90, i64 %74
%92 = shl i32 %89, 3
%93 = call i32 @memmove(ptr noundef %90, ptr noundef nonnull %91, i32 noundef %92) #3
br label %94
94: ; preds = %40, %50, %87, %68
%95 = call i32 @write_abst(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %2) #3
br label %96
96: ; preds = %37, %11, %4, %94
%97 = phi i32 [ %95, %94 ], [ 0, %4 ], [ %29, %11 ], [ %38, %37 ]
call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #3
ret i32 %97
}
; 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_flush(i32 noundef) local_unnamed_addr #2
declare i32 @close_file(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ff_rename(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @add_fragment(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @init_file(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @unlink(i32 noundef) local_unnamed_addr #2
declare i32 @av_freep(ptr noundef) local_unnamed_addr #2
declare i32 @memmove(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 @write_abst(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"TYPE_23__", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 40}
!12 = !{!"TYPE_21__", !13, i64 0, !14, i64 8, !14, i64 12, !8, i64 16, !13, i64 24, !14, i64 32, !13, i64 40, !8, i64 48}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !8, i64 8}
!16 = !{!12, !13, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !14, i64 0}
!19 = !{!"TYPE_19__", !14, i64 0}
!20 = !{!12, !8, i64 48}
!21 = !{!22, !14, i64 0}
!22 = !{!"TYPE_20__", !14, i64 0}
!23 = !{!7, !8, i64 0}
!24 = !{!12, !14, i64 8}
!25 = !{!12, !14, i64 32}
!26 = !{!12, !13, i64 24}
!27 = !{!28, !14, i64 0}
!28 = !{!"TYPE_22__", !14, i64 0, !14, i64 4, !13, i64 8}
!29 = !{!28, !13, i64 8}
!30 = !{!12, !14, i64 12}
!31 = !{!28, !14, i64 4}
!32 = !{!12, !8, i64 16}
!33 = !{!34, !14, i64 0}
!34 = !{!"TYPE_24__", !14, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavformat_extr_hdsenc.c_hds_flush |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/fbt/x86/extr_fbt_isa.c_fbt_patch_tracepoint.c'
source_filename = "AnghaBench/freebsd/sys/cddl/dev/fbt/x86/extr_fbt_isa.c_fbt_patch_tracepoint.c"
target datalayout = "e-m:e-p270:32:32-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 @fbt_patch_tracepoint(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @intr_disable() #2
%4 = tail call i32 (...) @disable_wp() #2
%5 = load ptr, ptr %0, align 8, !tbaa !5
store i32 %1, ptr %5, align 4, !tbaa !10
%6 = tail call i32 @restore_wp(i32 noundef %4) #2
%7 = tail call i32 @intr_restore(i32 noundef %3) #2
ret void
}
declare i32 @intr_disable(...) local_unnamed_addr #1
declare i32 @disable_wp(...) local_unnamed_addr #1
declare i32 @restore_wp(i32 noundef) local_unnamed_addr #1
declare i32 @intr_restore(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/dev/fbt/x86/extr_fbt_isa.c_fbt_patch_tracepoint.c'
source_filename = "AnghaBench/freebsd/sys/cddl/dev/fbt/x86/extr_fbt_isa.c_fbt_patch_tracepoint.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 @fbt_patch_tracepoint(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @intr_disable() #2
%4 = tail call i32 @disable_wp() #2
%5 = load ptr, ptr %0, align 8, !tbaa !6
store i32 %1, ptr %5, align 4, !tbaa !11
%6 = tail call i32 @restore_wp(i32 noundef %4) #2
%7 = tail call i32 @intr_restore(i32 noundef %3) #2
ret void
}
declare i32 @intr_disable(...) local_unnamed_addr #1
declare i32 @disable_wp(...) local_unnamed_addr #1
declare i32 @restore_wp(i32 noundef) local_unnamed_addr #1
declare i32 @intr_restore(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| freebsd_sys_cddl_dev_fbt_x86_extr_fbt_isa.c_fbt_patch_tracepoint |
; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_ps_codec.c_ps_fetch_date.c'
source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_ps_codec.c_ps_fetch_date.c"
target datalayout = "e-m:e-p270:32:32-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.st_mysqlnd_time = type { i32, i32, i32, ptr, i64, i64, i64, i64, i64, i32 }
@.str = private unnamed_addr constant [14 x i8] c"ps_fetch_date\00", align 1
@MYSQLND_TIMESTAMP_DATE = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"%04u-%02u-%02u\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DBG_VOID_RETURN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ps_fetch_date], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ps_fetch_date(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr noundef %3) #0 {
%5 = alloca %struct.st_mysqlnd_time, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %5, i8 0, i64 72, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
%7 = tail call i32 @DBG_ENTER(ptr noundef nonnull @.str) #4
%8 = tail call i64 @php_mysqlnd_net_field_length(ptr noundef %3) #4
%9 = icmp eq i64 %8, 0
br i1 %9, label %26, label %10
10: ; preds = %4
%11 = load ptr, ptr %3, align 8, !tbaa !5
%12 = load ptr, ptr @MYSQLND_TIMESTAMP_DATE, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %13, i8 0, i64 40, i1 false)
%14 = tail call i64 @sint2korr(ptr noundef %11) #4
%15 = trunc i64 %14 to i32
store i32 %15, ptr %5, align 8, !tbaa !9
%16 = getelementptr inbounds i64, ptr %11, i64 2
%17 = load i64, ptr %16, align 8, !tbaa !13
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 1
store i32 %18, ptr %19, align 4, !tbaa !14
%20 = getelementptr inbounds i64, ptr %11, i64 3
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = trunc i64 %21 to i32
%23 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 2
store i32 %22, ptr %23, align 8, !tbaa !15
%24 = load ptr, ptr %3, align 8, !tbaa !5
%25 = getelementptr inbounds i64, ptr %24, i64 %8
store ptr %25, ptr %3, align 8, !tbaa !5
br label %34
26: ; preds = %4
%27 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 72) #4
%28 = load ptr, ptr @MYSQLND_TIMESTAMP_DATE, align 8, !tbaa !5
%29 = load i32, ptr %5, align 8, !tbaa !9
%30 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 1
%31 = load i32, ptr %30, align 4, !tbaa !14
%32 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 2
%33 = load i32, ptr %32, align 8, !tbaa !15
br label %34
34: ; preds = %26, %10
%35 = phi i32 [ %33, %26 ], [ %22, %10 ]
%36 = phi i32 [ %31, %26 ], [ %18, %10 ]
%37 = phi i32 [ %29, %26 ], [ %15, %10 ]
%38 = phi ptr [ %28, %26 ], [ %12, %10 ]
%39 = getelementptr inbounds %struct.st_mysqlnd_time, ptr %5, i64 0, i32 3
store ptr %38, ptr %39, align 8
%40 = call i64 @mnd_sprintf(ptr noundef nonnull %6, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %37, i32 noundef %36, i32 noundef %35) #4
%41 = load ptr, ptr %6, align 8, !tbaa !5
%42 = call i32 @DBG_INF_FMT(ptr noundef nonnull @.str.2, ptr noundef %41) #4
%43 = load ptr, ptr %6, align 8, !tbaa !5
%44 = call i32 @ZVAL_STRINGL(ptr noundef %0, ptr noundef %43, i64 noundef %40) #4
%45 = load ptr, ptr %6, align 8, !tbaa !5
%46 = call i32 @mnd_sprintf_free(ptr noundef %45) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @DBG_ENTER(ptr noundef) local_unnamed_addr #3
declare i64 @php_mysqlnd_net_field_length(ptr noundef) local_unnamed_addr #3
declare i64 @sint2korr(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
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @mnd_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @DBG_INF_FMT(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ZVAL_STRINGL(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @mnd_sprintf_free(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: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"st_mysqlnd_time", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !11, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !11, i64 4}
!15 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_ps_codec.c_ps_fetch_date.c'
source_filename = "AnghaBench/php-src/ext/mysqlnd/extr_mysqlnd_ps_codec.c_ps_fetch_date.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.st_mysqlnd_time = type { i32, i32, i32, ptr, i64, i64, i64, i64, i64, i32 }
@.str = private unnamed_addr constant [14 x i8] c"ps_fetch_date\00", align 1
@MYSQLND_TIMESTAMP_DATE = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [15 x i8] c"%04u-%02u-%02u\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@DBG_VOID_RETURN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ps_fetch_date], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ps_fetch_date(ptr noundef %0, ptr nocapture readnone %1, i32 %2, ptr noundef %3) #0 {
%5 = alloca %struct.st_mysqlnd_time, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #4
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %5, i8 0, i64 72, i1 false)
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
%7 = tail call i32 @DBG_ENTER(ptr noundef nonnull @.str) #4
%8 = tail call i64 @php_mysqlnd_net_field_length(ptr noundef %3) #4
%9 = icmp eq i64 %8, 0
br i1 %9, label %26, label %10
10: ; preds = %4
%11 = load ptr, ptr %3, align 8, !tbaa !6
%12 = load ptr, ptr @MYSQLND_TIMESTAMP_DATE, align 8, !tbaa !6
%13 = getelementptr inbounds i8, ptr %5, i64 24
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %13, i8 0, i64 40, i1 false)
%14 = tail call i64 @sint2korr(ptr noundef %11) #4
%15 = trunc i64 %14 to i32
store i32 %15, ptr %5, align 8, !tbaa !10
%16 = getelementptr inbounds i8, ptr %11, i64 16
%17 = load i64, ptr %16, align 8, !tbaa !14
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds i8, ptr %5, i64 4
store i32 %18, ptr %19, align 4, !tbaa !15
%20 = getelementptr inbounds i8, ptr %11, i64 24
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = trunc i64 %21 to i32
%23 = getelementptr inbounds i8, ptr %5, i64 8
store i32 %22, ptr %23, align 8, !tbaa !16
%24 = load ptr, ptr %3, align 8, !tbaa !6
%25 = getelementptr inbounds i64, ptr %24, i64 %8
store ptr %25, ptr %3, align 8, !tbaa !6
br label %34
26: ; preds = %4
%27 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef 72) #4
%28 = load ptr, ptr @MYSQLND_TIMESTAMP_DATE, align 8, !tbaa !6
%29 = load i32, ptr %5, align 8, !tbaa !10
%30 = getelementptr inbounds i8, ptr %5, i64 4
%31 = load i32, ptr %30, align 4, !tbaa !15
%32 = getelementptr inbounds i8, ptr %5, i64 8
%33 = load i32, ptr %32, align 8, !tbaa !16
br label %34
34: ; preds = %26, %10
%35 = phi i32 [ %33, %26 ], [ %22, %10 ]
%36 = phi i32 [ %31, %26 ], [ %18, %10 ]
%37 = phi i32 [ %29, %26 ], [ %15, %10 ]
%38 = phi ptr [ %28, %26 ], [ %12, %10 ]
%39 = getelementptr inbounds i8, ptr %5, i64 16
store ptr %38, ptr %39, align 8
%40 = call i64 @mnd_sprintf(ptr noundef nonnull %6, i32 noundef 0, ptr noundef nonnull @.str.1, i32 noundef %37, i32 noundef %36, i32 noundef %35) #4
%41 = load ptr, ptr %6, align 8, !tbaa !6
%42 = call i32 @DBG_INF_FMT(ptr noundef nonnull @.str.2, ptr noundef %41) #4
%43 = load ptr, ptr %6, align 8, !tbaa !6
%44 = call i32 @ZVAL_STRINGL(ptr noundef %0, ptr noundef %43, i64 noundef %40) #4
%45 = load ptr, ptr %6, align 8, !tbaa !6
%46 = call i32 @mnd_sprintf_free(ptr noundef %45) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #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: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @DBG_ENTER(ptr noundef) local_unnamed_addr #3
declare i64 @php_mysqlnd_net_field_length(ptr noundef) local_unnamed_addr #3
declare i64 @sint2korr(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
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i64 @mnd_sprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @DBG_INF_FMT(ptr noundef, ptr noundef) local_unnamed_addr #3
declare i32 @ZVAL_STRINGL(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @mnd_sprintf_free(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: write) }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"st_mysqlnd_time", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !12, i64 64}
!12 = !{!"int", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !12, i64 4}
!16 = !{!11, !12, i64 8}
| php-src_ext_mysqlnd_extr_mysqlnd_ps_codec.c_ps_fetch_date |
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ac100.c_ac100_rtc_alarm_irq_enable.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ac100.c_ac100_rtc_alarm_irq_enable.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AC100_ALM_INT_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@AC100_ALM_INT_ENA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ac100_rtc_alarm_irq_enable], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ac100_rtc_alarm_irq_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @AC100_ALM_INT_ENABLE, align 4
%7 = select i1 %5, i32 0, i32 %6
%8 = load i32, ptr @AC100_ALM_INT_ENA, align 4, !tbaa !10
%9 = tail call i32 @regmap_write(ptr noundef %4, i32 noundef %8, i32 noundef %7) #2
ret i32 %9
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ac100_rtc_dev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ac100.c_ac100_rtc_alarm_irq_enable.c'
source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ac100.c_ac100_rtc_alarm_irq_enable.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC100_ALM_INT_ENABLE = common local_unnamed_addr global i32 0, align 4
@AC100_ALM_INT_ENA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ac100_rtc_alarm_irq_enable], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ac100_rtc_alarm_irq_enable(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @AC100_ALM_INT_ENABLE, align 4
%7 = select i1 %5, i32 0, i32 %6
%8 = load i32, ptr @AC100_ALM_INT_ENA, align 4, !tbaa !11
%9 = tail call i32 @regmap_write(ptr noundef %4, i32 noundef %8, i32 noundef %7) #2
ret i32 %9
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @regmap_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ac100_rtc_dev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_rtc_extr_rtc-ac100.c_ac100_rtc_alarm_irq_enable |
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_bg_pmove.c_PM_Friction.c'
source_filename = "AnghaBench/lab/engine/code/game/extr_bg_pmove.c_PM_Friction.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"
%struct.TYPE_8__ = type { i32, %struct.TYPE_6__* }
%struct.TYPE_6__ = type { float*, i32, i64, i64* }
%struct.TYPE_7__ = type { float, %struct.TYPE_5__, i64 }
%struct.TYPE_5__ = type { i32 }
@pm = dso_local local_unnamed_addr global %struct.TYPE_8__* null, align 8
@pml = dso_local local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@SURF_SLICK = dso_local local_unnamed_addr global i32 0, align 4
@PMF_TIME_KNOCKBACK = dso_local local_unnamed_addr global i32 0, align 4
@pm_stopspeed = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@pm_friction = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@pm_waterfriction = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@PW_FLIGHT = dso_local local_unnamed_addr global i64 0, align 8
@pm_flightfriction = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@PM_SPECTATOR = dso_local local_unnamed_addr global i64 0, align 8
@pm_spectatorfriction = dso_local local_unnamed_addr global float 0.000000e+00, align 4
@llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void ()* @PM_Friction to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @PM_Friction() #0 {
%1 = load %struct.TYPE_8__*, %struct.TYPE_8__** @pm, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %1, i64 0, i32 1
%3 = load %struct.TYPE_6__*, %struct.TYPE_6__** %2, align 8, !tbaa !9
%4 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %3, i64 0, i32 0
%5 = load float*, float** %4, align 8, !tbaa !12
%6 = tail call i32 @VectorCopy(float* noundef %5, i64* noundef undef) #4
%7 = load i64, i64* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 2), align 8, !tbaa !15
%8 = icmp eq i64 %7, 0
tail call void @llvm.assume(i1 %8)
%9 = tail call float @VectorLength(i64* noundef undef) #4
%10 = fcmp olt float %9, 1.000000e+00
br i1 %10, label %11, label %13
11: ; preds = %0
store float 0.000000e+00, float* %5, align 4, !tbaa !19
%12 = getelementptr inbounds float, float* %5, i64 1
store float 0.000000e+00, float* %12, align 4, !tbaa !19
br label %92
13: ; preds = %0
%14 = load %struct.TYPE_8__*, %struct.TYPE_8__** @pm, align 8, !tbaa !5
%15 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %14, i64 0, i32 0
%16 = load i32, i32* %15, align 8, !tbaa !20
%17 = icmp slt i32 %16, 2
%18 = load i64, i64* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 2), align 8
%19 = icmp ne i64 %18, 0
%20 = select i1 %17, i1 %19, i1 false
br i1 %20, label %21, label %42
21: ; preds = %13
%22 = load i32, i32* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 1, i32 0), align 4, !tbaa !21
%23 = load i32, i32* @SURF_SLICK, align 4, !tbaa !22
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %42
26: ; preds = %21
%27 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %14, i64 0, i32 1
%28 = load %struct.TYPE_6__*, %struct.TYPE_6__** %27, align 8, !tbaa !9
%29 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %28, i64 0, i32 1
%30 = load i32, i32* %29, align 8, !tbaa !23
%31 = load i32, i32* @PMF_TIME_KNOCKBACK, align 4, !tbaa !22
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %42
34: ; preds = %26
%35 = load float, float* @pm_stopspeed, align 4, !tbaa !19
%36 = fcmp olt float %9, %35
%37 = select i1 %36, float %35, float %9
%38 = load float, float* @pm_friction, align 4, !tbaa !19
%39 = fmul float %38, %37
%40 = load float, float* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 0), align 8, !tbaa !24
%41 = tail call float @llvm.fmuladd.f32(float %39, float %40, float 0.000000e+00)
br label %42
42: ; preds = %21, %34, %26, %13
%43 = phi float [ 0.000000e+00, %21 ], [ 0.000000e+00, %26 ], [ %41, %34 ], [ 0.000000e+00, %13 ]
%44 = icmp eq i32 %16, 0
br i1 %44, label %52, label %45
45: ; preds = %42
%46 = load float, float* @pm_waterfriction, align 4, !tbaa !19
%47 = fmul float %9, %46
%48 = sitofp i32 %16 to float
%49 = fmul float %47, %48
%50 = load float, float* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 0), align 8, !tbaa !24
%51 = tail call float @llvm.fmuladd.f32(float %49, float %50, float %43)
br label %52
52: ; preds = %45, %42
%53 = phi float [ %51, %45 ], [ %43, %42 ]
%54 = getelementptr inbounds %struct.TYPE_8__, %struct.TYPE_8__* %14, i64 0, i32 1
%55 = load %struct.TYPE_6__*, %struct.TYPE_6__** %54, align 8, !tbaa !9
%56 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %55, i64 0, i32 3
%57 = load i64*, i64** %56, align 8, !tbaa !25
%58 = load i64, i64* @PW_FLIGHT, align 8, !tbaa !26
%59 = getelementptr inbounds i64, i64* %57, i64 %58
%60 = load i64, i64* %59, align 8, !tbaa !26
%61 = icmp eq i64 %60, 0
br i1 %61, label %67, label %62
62: ; preds = %52
%63 = load float, float* @pm_flightfriction, align 4, !tbaa !19
%64 = fmul float %9, %63
%65 = load float, float* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 0), align 8, !tbaa !24
%66 = tail call float @llvm.fmuladd.f32(float %64, float %65, float %53)
br label %67
67: ; preds = %62, %52
%68 = phi float [ %66, %62 ], [ %53, %52 ]
%69 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %55, i64 0, i32 2
%70 = load i64, i64* %69, align 8, !tbaa !27
%71 = load i64, i64* @PM_SPECTATOR, align 8, !tbaa !26
%72 = icmp eq i64 %70, %71
br i1 %72, label %73, label %78
73: ; preds = %67
%74 = load float, float* @pm_spectatorfriction, align 4, !tbaa !19
%75 = fmul float %9, %74
%76 = load float, float* getelementptr inbounds (%struct.TYPE_7__, %struct.TYPE_7__* @pml, i64 0, i32 0), align 8, !tbaa !24
%77 = tail call float @llvm.fmuladd.f32(float %75, float %76, float %68)
br label %78
78: ; preds = %73, %67
%79 = phi float [ %77, %73 ], [ %68, %67 ]
%80 = fsub float %9, %79
%81 = fcmp olt float %80, 0.000000e+00
%82 = select i1 %81, float 0.000000e+00, float %80
%83 = fdiv float %82, %9
%84 = load float, float* %5, align 4, !tbaa !19
%85 = fmul float %84, %83
store float %85, float* %5, align 4, !tbaa !19
%86 = getelementptr inbounds float, float* %5, i64 1
%87 = load float, float* %86, align 4, !tbaa !19
%88 = fmul float %87, %83
store float %88, float* %86, align 4, !tbaa !19
%89 = getelementptr inbounds float, float* %5, i64 2
%90 = load float, float* %89, align 4, !tbaa !19
%91 = fmul float %83, %90
store float %91, float* %89, align 4, !tbaa !19
br label %92
92: ; preds = %78, %11
ret void
}
declare i32 @VectorCopy(float* noundef, i64* noundef) local_unnamed_addr #1
declare float @VectorLength(i64* noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nosync nounwind readnone speculatable willreturn
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: inaccessiblememonly nofree nosync nounwind willreturn
declare void @llvm.assume(i1 noundef) #3
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 = { mustprogress nofree nosync nounwind readnone speculatable willreturn }
attributes #3 = { inaccessiblememonly 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 7, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_8__", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_6__", !6, i64 0, !11, i64 8, !14, i64 16, !6, i64 24}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"TYPE_7__", !17, i64 0, !18, i64 4, !14, i64 8}
!17 = !{!"float", !7, i64 0}
!18 = !{!"TYPE_5__", !11, i64 0}
!19 = !{!17, !17, i64 0}
!20 = !{!10, !11, i64 0}
!21 = !{!16, !11, i64 4}
!22 = !{!11, !11, i64 0}
!23 = !{!13, !11, i64 8}
!24 = !{!16, !17, i64 0}
!25 = !{!13, !6, i64 24}
!26 = !{!14, !14, i64 0}
!27 = !{!13, !14, i64 16}
| ; ModuleID = 'AnghaBench/lab/engine/code/game/extr_bg_pmove.c_PM_Friction.c'
source_filename = "AnghaBench/lab/engine/code/game/extr_bg_pmove.c_PM_Friction.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_7__ = type { float, %struct.TYPE_5__, i64 }
%struct.TYPE_5__ = type { i32 }
@pm = common local_unnamed_addr global ptr null, align 8
@pml = common local_unnamed_addr global %struct.TYPE_7__ zeroinitializer, align 8
@SURF_SLICK = common local_unnamed_addr global i32 0, align 4
@PMF_TIME_KNOCKBACK = common local_unnamed_addr global i32 0, align 4
@pm_stopspeed = common local_unnamed_addr global float 0.000000e+00, align 4
@pm_friction = common local_unnamed_addr global float 0.000000e+00, align 4
@pm_waterfriction = common local_unnamed_addr global float 0.000000e+00, align 4
@PW_FLIGHT = common local_unnamed_addr global i64 0, align 8
@pm_flightfriction = common local_unnamed_addr global float 0.000000e+00, align 4
@PM_SPECTATOR = common local_unnamed_addr global i64 0, align 8
@pm_spectatorfriction = common local_unnamed_addr global float 0.000000e+00, align 4
@llvm.used = appending global [1 x ptr] [ptr @PM_Friction], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @PM_Friction() #0 {
%1 = load ptr, ptr @pm, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %1, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr %3, align 8, !tbaa !13
%5 = tail call i32 @VectorCopy(ptr noundef %4, ptr noundef undef) #4
%6 = load i64, ptr getelementptr inbounds (i8, ptr @pml, i64 8), align 8, !tbaa !16
%7 = icmp eq i64 %6, 0
tail call void @llvm.assume(i1 %7)
%8 = tail call float @VectorLength(ptr noundef undef) #4
%9 = fcmp olt float %8, 1.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %0
store <2 x float> zeroinitializer, ptr %4, align 4, !tbaa !20
br label %82
11: ; preds = %0
%12 = load ptr, ptr @pm, align 8, !tbaa !6
%13 = load i32, ptr %12, align 8, !tbaa !21
%14 = icmp slt i32 %13, 2
%15 = load i64, ptr getelementptr inbounds (i8, ptr @pml, i64 8), align 8
%16 = icmp ne i64 %15, 0
%17 = select i1 %14, i1 %16, i1 false
br i1 %17, label %18, label %39
18: ; preds = %11
%19 = load i32, ptr getelementptr inbounds (i8, ptr @pml, i64 4), align 4, !tbaa !22
%20 = load i32, ptr @SURF_SLICK, align 4, !tbaa !23
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %39
23: ; preds = %18
%24 = getelementptr inbounds i8, ptr %12, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = getelementptr inbounds i8, ptr %25, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !24
%28 = load i32, ptr @PMF_TIME_KNOCKBACK, align 4, !tbaa !23
%29 = and i32 %28, %27
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %39
31: ; preds = %23
%32 = load float, ptr @pm_stopspeed, align 4
%33 = fcmp olt float %8, %32
%34 = select i1 %33, float %32, float %8
%35 = load float, ptr @pm_friction, align 4, !tbaa !20
%36 = fmul float %35, %34
%37 = load float, ptr @pml, align 8
%38 = tail call float @llvm.fmuladd.f32(float %36, float %37, float 0.000000e+00)
br label %39
39: ; preds = %18, %31, %23, %11
%40 = phi float [ 0.000000e+00, %18 ], [ 0.000000e+00, %23 ], [ %38, %31 ], [ 0.000000e+00, %11 ]
%41 = icmp eq i32 %13, 0
%42 = load float, ptr @pml, align 8
br i1 %41, label %49, label %43
43: ; preds = %39
%44 = load float, ptr @pm_waterfriction, align 4, !tbaa !20
%45 = fmul float %8, %44
%46 = sitofp i32 %13 to float
%47 = fmul float %45, %46
%48 = tail call float @llvm.fmuladd.f32(float %47, float %42, float %40)
br label %49
49: ; preds = %43, %39
%50 = phi float [ %48, %43 ], [ %40, %39 ]
%51 = getelementptr inbounds i8, ptr %12, i64 8
%52 = load ptr, ptr %51, align 8, !tbaa !10
%53 = getelementptr inbounds i8, ptr %52, i64 24
%54 = load ptr, ptr %53, align 8, !tbaa !25
%55 = load i64, ptr @PW_FLIGHT, align 8, !tbaa !26
%56 = getelementptr inbounds i64, ptr %54, i64 %55
%57 = load i64, ptr %56, align 8, !tbaa !26
%58 = icmp eq i64 %57, 0
%59 = load float, ptr @pm_flightfriction, align 4
%60 = fmul float %8, %59
%61 = tail call float @llvm.fmuladd.f32(float %60, float %42, float %50)
%62 = select i1 %58, float %50, float %61
%63 = getelementptr inbounds i8, ptr %52, i64 16
%64 = load i64, ptr %63, align 8, !tbaa !27
%65 = load i64, ptr @PM_SPECTATOR, align 8, !tbaa !26
%66 = icmp eq i64 %64, %65
%67 = load float, ptr @pm_spectatorfriction, align 4
%68 = fmul float %8, %67
%69 = tail call float @llvm.fmuladd.f32(float %68, float %42, float %62)
%70 = select i1 %66, float %69, float %62
%71 = fsub float %8, %70
%72 = fcmp olt float %71, 0.000000e+00
%73 = select i1 %72, float 0.000000e+00, float %71
%74 = fdiv float %73, %8
%75 = load <2 x float>, ptr %4, align 4, !tbaa !20
%76 = insertelement <2 x float> poison, float %74, i64 0
%77 = shufflevector <2 x float> %76, <2 x float> poison, <2 x i32> zeroinitializer
%78 = fmul <2 x float> %75, %77
store <2 x float> %78, ptr %4, align 4, !tbaa !20
%79 = getelementptr inbounds i8, ptr %4, i64 8
%80 = load float, ptr %79, align 4, !tbaa !20
%81 = fmul float %80, %74
store float %81, ptr %79, align 4, !tbaa !20
br label %82
82: ; preds = %49, %10
ret void
}
declare i32 @VectorCopy(ptr noundef, ptr noundef) local_unnamed_addr #1
declare float @VectorLength(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #3
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_8__", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_6__", !7, i64 0, !12, i64 8, !15, i64 16, !7, i64 24}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"TYPE_7__", !18, i64 0, !19, i64 4, !15, i64 8}
!18 = !{!"float", !8, i64 0}
!19 = !{!"TYPE_5__", !12, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!11, !12, i64 0}
!22 = !{!17, !12, i64 4}
!23 = !{!12, !12, i64 0}
!24 = !{!14, !12, i64 8}
!25 = !{!14, !7, i64 24}
!26 = !{!15, !15, i64 0}
!27 = !{!14, !15, i64 16}
| lab_engine_code_game_extr_bg_pmove.c_PM_Friction |
; ModuleID = 'AnghaBench/linux/arch/arm/boot/compressed/extr_atags_to_fdt.c_hex_str.c'
source_filename = "AnghaBench/linux/arch/arm/boot/compressed/extr_atags_to_fdt.c_hex_str.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @hex_str], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define internal void @hex_str(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 4
%4 = shl i32 %1, 8
%5 = shl i32 %1, 12
%6 = shl i32 %1, 16
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = insertelement <4 x i32> poison, i32 %1, i64 0
%9 = insertelement <4 x i32> %8, i32 %3, i64 1
%10 = insertelement <4 x i32> %9, i32 %4, i64 2
%11 = insertelement <4 x i32> %10, i32 %5, i64 3
%12 = lshr <4 x i32> %11, <i32 28, i32 28, i32 28, i32 28>
%13 = icmp ult <4 x i32> %11, <i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736>
%14 = or disjoint <4 x i32> %12, <i32 48, i32 48, i32 48, i32 48>
%15 = add nuw nsw <4 x i32> %12, <i32 55, i32 55, i32 55, i32 55>
%16 = select <4 x i1> %13, <4 x i32> %14, <4 x i32> %15
%17 = trunc <4 x i32> %16 to <4 x i8>
store <4 x i8> %17, ptr %0, align 1, !tbaa !5
%18 = lshr i32 %6, 28
%19 = shl i32 %1, 20
%20 = icmp ult i32 %6, -1610612736
%21 = or disjoint i32 %18, 48
%22 = add nuw nsw i32 %18, 55
%23 = select i1 %20, i32 %21, i32 %22
%24 = trunc i32 %23 to i8
%25 = getelementptr inbounds i8, ptr %0, i64 5
store i8 %24, ptr %7, align 1, !tbaa !5
%26 = lshr i32 %19, 28
%27 = shl i32 %1, 24
%28 = icmp ult i32 %19, -1610612736
%29 = or disjoint i32 %26, 48
%30 = add nuw nsw i32 %26, 55
%31 = select i1 %28, i32 %29, i32 %30
%32 = trunc i32 %31 to i8
%33 = getelementptr inbounds i8, ptr %0, i64 6
store i8 %32, ptr %25, align 1, !tbaa !5
%34 = lshr i32 %27, 28
%35 = shl i32 %1, 28
%36 = icmp ult i32 %27, -1610612736
%37 = or disjoint i32 %34, 48
%38 = add nuw nsw i32 %34, 55
%39 = select i1 %36, i32 %37, i32 %38
%40 = trunc i32 %39 to i8
%41 = getelementptr inbounds i8, ptr %0, i64 7
store i8 %40, ptr %33, align 1, !tbaa !5
%42 = and i32 %1, 15
%43 = icmp ult i32 %35, -1610612736
%44 = or disjoint i32 %42, 48
%45 = add nuw nsw i32 %42, 55
%46 = select i1 %43, i32 %44, i32 %45
%47 = trunc i32 %46 to i8
%48 = getelementptr inbounds i8, ptr %0, i64 8
store i8 %47, ptr %41, align 1, !tbaa !5
store i8 0, ptr %48, align 1, !tbaa !5
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/arm/boot/compressed/extr_atags_to_fdt.c_hex_str.c'
source_filename = "AnghaBench/linux/arch/arm/boot/compressed/extr_atags_to_fdt.c_hex_str.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 @hex_str], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define internal void @hex_str(ptr nocapture noundef writeonly %0, i32 noundef %1) #0 {
%3 = shl i32 %1, 4
%4 = insertelement <2 x i32> poison, i32 %1, i64 0
%5 = shufflevector <2 x i32> %4, <2 x i32> poison, <2 x i32> zeroinitializer
%6 = shl <2 x i32> %5, <i32 8, i32 12>
%7 = shl <2 x i32> %5, <i32 16, i32 20>
%8 = shl i32 %1, 24
%9 = shl i32 %1, 28
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = insertelement <8 x i32> poison, i32 %1, i64 0
%12 = insertelement <8 x i32> %11, i32 %3, i64 1
%13 = shufflevector <2 x i32> %6, <2 x i32> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%14 = shufflevector <8 x i32> %12, <8 x i32> %13, <8 x i32> <i32 0, i32 1, i32 8, i32 9, i32 poison, i32 poison, i32 poison, i32 poison>
%15 = shufflevector <2 x i32> %7, <2 x i32> poison, <8 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
%16 = shufflevector <8 x i32> %14, <8 x i32> %15, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 8, i32 9, i32 poison, i32 poison>
%17 = insertelement <8 x i32> %16, i32 %8, i64 6
%18 = shufflevector <8 x i32> %17, <8 x i32> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 0>
%19 = lshr <8 x i32> %18, <i32 28, i32 28, i32 28, i32 28, i32 28, i32 28, i32 28, i32 15>
%20 = and <8 x i32> %18, <i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 15>
%21 = shufflevector <8 x i32> %19, <8 x i32> %20, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 15>
%22 = insertelement <8 x i32> %17, i32 %9, i64 7
%23 = icmp ult <8 x i32> %22, <i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736, i32 -1610612736>
%24 = trunc nuw nsw <8 x i32> %21 to <8 x i8>
%25 = or disjoint <8 x i8> %24, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%26 = trunc nuw nsw <8 x i32> %21 to <8 x i8>
%27 = add nuw nsw <8 x i8> %26, <i8 55, i8 55, i8 55, i8 55, i8 55, i8 55, i8 55, i8 55>
%28 = select <8 x i1> %23, <8 x i8> %25, <8 x i8> %27
store <8 x i8> %28, ptr %0, align 1, !tbaa !6
store i8 0, ptr %10, align 1, !tbaa !6
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| linux_arch_arm_boot_compressed_extr_atags_to_fdt.c_hex_str |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_alloc.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_alloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.msm_priv = type { %struct.iommu_domain, i32 }
%struct.iommu_domain = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, i32, i64 }
@IOMMU_DOMAIN_UNMANAGED = dso_local local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @msm_iommu_domain_alloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @msm_iommu_domain_alloc(i32 noundef %0) #0 {
%2 = load i32, ptr @IOMMU_DOMAIN_UNMANAGED, align 4, !tbaa !5
%3 = icmp eq i32 %2, %0
br i1 %3, label %4, label %15
4: ; preds = %1
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%6 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = getelementptr inbounds %struct.msm_priv, ptr %6, i64 0, i32 1
%10 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 2
store i64 0, ptr %11, align 8, !tbaa !9
store i64 4294967295, ptr %6, align 8, !tbaa !15
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1
store i32 1, ptr %12, align 8, !tbaa !16
br label %15
13: ; preds = %4
%14 = tail call i32 @kfree(ptr noundef null) #2
br label %15
15: ; preds = %1, %13, %8
%16 = phi ptr [ %6, %8 ], [ null, %13 ], [ null, %1 ]
ret ptr %16
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !14, i64 16}
!10 = !{!"msm_priv", !11, i64 0, !6, i64 24}
!11 = !{!"iommu_domain", !12, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0, !6, i64 8, !14, i64 16}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!10, !13, i64 0}
!16 = !{!10, !6, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_alloc.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_msm_iommu.c_msm_iommu_domain_alloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IOMMU_DOMAIN_UNMANAGED = common local_unnamed_addr global i32 0, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @msm_iommu_domain_alloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @msm_iommu_domain_alloc(i32 noundef %0) #0 {
%2 = load i32, ptr @IOMMU_DOMAIN_UNMANAGED, align 4, !tbaa !6
%3 = icmp eq i32 %2, %0
br i1 %3, label %4, label %15
4: ; preds = %1
%5 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%6 = tail call ptr @kzalloc(i32 noundef 32, i32 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %13, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %6, i64 24
%10 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %6, i64 16
store i64 0, ptr %11, align 8, !tbaa !10
store i64 4294967295, ptr %6, align 8, !tbaa !16
%12 = getelementptr inbounds i8, ptr %6, i64 8
store i32 1, ptr %12, align 8, !tbaa !17
br label %15
13: ; preds = %4
%14 = tail call i32 @kfree(ptr noundef null) #2
br label %15
15: ; preds = %1, %13, %8
%16 = phi ptr [ %6, %8 ], [ null, %13 ], [ null, %1 ]
ret ptr %16
}
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !15, i64 16}
!11 = !{!"msm_priv", !12, i64 0, !7, i64 24}
!12 = !{!"iommu_domain", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0, !7, i64 8, !15, i64 16}
!14 = !{!"long long", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!11, !14, i64 0}
!17 = !{!11, !7, i64 8}
| linux_drivers_iommu_extr_msm_iommu.c_msm_iommu_domain_alloc |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_setautogain.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_setautogain.c"
target datalayout = "e-m:e-p270:32:32-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.gspca_dev = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @sd_setautogain], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sd_setautogain(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !5
%3 = getelementptr inbounds %struct.gspca_dev, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @setautogain(ptr noundef nonnull %0) #2
%8 = load i32, ptr %0, align 8, !tbaa !13
br label %9
9: ; preds = %6, %2
%10 = phi i32 [ %8, %6 ], [ %1, %2 ]
ret i32 %10
}
declare i32 @setautogain(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 = !{!"sd", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"gspca_dev", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_setautogain.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_vc032x.c_sd_setautogain.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 @sd_setautogain], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sd_setautogain(ptr noundef %0, i32 noundef %1) #0 {
store i32 %1, ptr %0, align 4, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !11
%5 = icmp eq i64 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = tail call i32 @setautogain(ptr noundef nonnull %0) #2
%8 = load i32, ptr %0, align 8, !tbaa !14
br label %9
9: ; preds = %6, %2
%10 = phi i32 [ %8, %6 ], [ %1, %2 ]
ret i32 %10
}
declare i32 @setautogain(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 = !{!"sd", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"gspca_dev", !8, i64 0, !13, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !8, i64 0}
| fastsocket_kernel_drivers_media_video_gspca_extr_vc032x.c_sd_setautogain |
; ModuleID = 'AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_spi.c_wilc_spi_read_reg.c'
source_filename = "AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_spi.c_wilc_spi_read_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"
@N_OK = dso_local local_unnamed_addr global i32 0, align 4
@CMD_SINGLE_READ = dso_local local_unnamed_addr global i32 0, align 4
@CMD_INTERNAL_READ = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Failed cmd, read reg (%08x)...\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @wilc_spi_read_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wilc_spi_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call ptr @to_spi_device(i32 noundef %4) #2
%6 = icmp slt i32 %1, 48
%7 = zext i1 %6 to i32
%8 = load i32, ptr @CMD_INTERNAL_READ, align 4
%9 = load i32, ptr @CMD_SINGLE_READ, align 4
%10 = select i1 %6, i32 %8, i32 %9
%11 = tail call i32 @spi_cmd_complete(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %1, ptr noundef %2, i32 noundef 4, i32 noundef %7) #2
%12 = load i32, ptr @N_OK, align 4, !tbaa !10
%13 = icmp eq i32 %11, %12
br i1 %13, label %16, label %14
14: ; preds = %3
%15 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #2
br label %18
16: ; preds = %3
%17 = tail call i32 @le32_to_cpus(ptr noundef %2) #2
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ 0, %14 ], [ 1, %16 ]
ret i32 %19
}
declare ptr @to_spi_device(i32 noundef) local_unnamed_addr #1
declare i32 @spi_cmd_complete(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le32_to_cpus(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 = !{!"wilc", !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/staging/wilc1000/extr_wilc_spi.c_wilc_spi_read_reg.c'
source_filename = "AnghaBench/linux/drivers/staging/wilc1000/extr_wilc_spi.c_wilc_spi_read_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@N_OK = common local_unnamed_addr global i32 0, align 4
@CMD_SINGLE_READ = common local_unnamed_addr global i32 0, align 4
@CMD_INTERNAL_READ = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Failed cmd, read reg (%08x)...\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @wilc_spi_read_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @wilc_spi_read_reg(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call ptr @to_spi_device(i32 noundef %4) #2
%6 = icmp slt i32 %1, 48
%7 = zext i1 %6 to i32
%8 = load i32, ptr @CMD_INTERNAL_READ, align 4
%9 = load i32, ptr @CMD_SINGLE_READ, align 4
%10 = select i1 %6, i32 %8, i32 %9
%11 = tail call i32 @spi_cmd_complete(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %1, ptr noundef %2, i32 noundef 4, i32 noundef %7) #2
%12 = load i32, ptr @N_OK, align 4, !tbaa !11
%13 = icmp eq i32 %11, %12
br i1 %13, label %16, label %14
14: ; preds = %3
%15 = tail call i32 @dev_err(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %1) #2
br label %18
16: ; preds = %3
%17 = tail call i32 @le32_to_cpus(ptr noundef %2) #2
br label %18
18: ; preds = %16, %14
%19 = phi i32 [ 0, %14 ], [ 1, %16 ]
ret i32 %19
}
declare ptr @to_spi_device(i32 noundef) local_unnamed_addr #1
declare i32 @spi_cmd_complete(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @le32_to_cpus(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 = !{!"wilc", !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_staging_wilc1000_extr_wilc_spi.c_wilc_spi_read_reg |
; ModuleID = 'AnghaBench/lede/package/boot/rbcfg/src/extr_main.c_rbcfg_env_set_u32.c'
source_filename = "AnghaBench/lede/package/boot/rbcfg/src/extr_main.c_rbcfg_env_set_u32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"invalid value '%s'\0A\00", align 1
@RB_ERR_INVALID = dso_local local_unnamed_addr global i32 0, align 4
@rbcfg_ctx = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rbcfg_env_set_u32], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rbcfg_env_set_u32(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @rbcfg_env_find(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !5
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %1) #2
%8 = load i32, ptr @RB_ERR_INVALID, align 4, !tbaa !5
br label %14
9: ; preds = %2
%10 = load i32, ptr @rbcfg_ctx, align 4, !tbaa !5
%11 = load i32, ptr %0, align 4, !tbaa !9
%12 = load i32, ptr %3, align 4, !tbaa !11
%13 = tail call i32 @rbcfg_set_u32(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = phi i32 [ %8, %5 ], [ %13, %9 ]
ret i32 %15
}
declare ptr @rbcfg_env_find(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rbcfg_set_u32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"rbcfg_env", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"rbcfg_value", !13, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/lede/package/boot/rbcfg/src/extr_main.c_rbcfg_env_set_u32.c'
source_filename = "AnghaBench/lede/package/boot/rbcfg/src/extr_main.c_rbcfg_env_set_u32.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stderr = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"invalid value '%s'\0A\00", align 1
@RB_ERR_INVALID = common local_unnamed_addr global i32 0, align 4
@rbcfg_ctx = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rbcfg_env_set_u32], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @rbcfg_env_set_u32(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @rbcfg_env_find(ptr noundef %0, ptr noundef %1) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = load i32, ptr @stderr, align 4, !tbaa !6
%7 = tail call i32 @fprintf(i32 noundef %6, ptr noundef nonnull @.str, ptr noundef %1) #2
%8 = load i32, ptr @RB_ERR_INVALID, align 4, !tbaa !6
br label %14
9: ; preds = %2
%10 = load i32, ptr @rbcfg_ctx, align 4, !tbaa !6
%11 = load i32, ptr %0, align 4, !tbaa !10
%12 = load i32, ptr %3, align 4, !tbaa !12
%13 = tail call i32 @rbcfg_set_u32(i32 noundef %10, i32 noundef %11, i32 noundef %12) #2
br label %14
14: ; preds = %9, %5
%15 = phi i32 [ %8, %5 ], [ %13, %9 ]
ret i32 %15
}
declare ptr @rbcfg_env_find(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rbcfg_set_u32(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"rbcfg_env", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"rbcfg_value", !14, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| lede_package_boot_rbcfg_src_extr_main.c_rbcfg_env_set_u32 |
; ModuleID = 'AnghaBench/micropython/ports/unix/extr_unix_mphal.c_mp_hal_stdout_tx_strn_cooked.c'
source_filename = "AnghaBench/micropython/ports/unix/extr_unix_mphal.c_mp_hal_stdout_tx_strn_cooked.c"
target datalayout = "e-m:e-p270:32:32-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 @mp_hal_stdout_tx_strn_cooked(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mp_hal_stdout_tx_strn(ptr noundef %0, i64 noundef %1) #2
ret void
}
declare i32 @mp_hal_stdout_tx_strn(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/micropython/ports/unix/extr_unix_mphal.c_mp_hal_stdout_tx_strn_cooked.c'
source_filename = "AnghaBench/micropython/ports/unix/extr_unix_mphal.c_mp_hal_stdout_tx_strn_cooked.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 @mp_hal_stdout_tx_strn_cooked(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @mp_hal_stdout_tx_strn(ptr noundef %0, i64 noundef %1) #2
ret void
}
declare i32 @mp_hal_stdout_tx_strn(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)"}
| micropython_ports_unix_extr_unix_mphal.c_mp_hal_stdout_tx_strn_cooked |
; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_add_display_info.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_add_display_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.edid = type { i32, i32, i32, i32, i32 }
%struct.drm_display_info = type { i32, i32, i32, i32, i32 }
@DRM_EDID_INPUT_DIGITAL = dso_local local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_RGB444 = dso_local local_unnamed_addr global i32 0, align 4
@EDID_CEA_YCRCB444 = dso_local local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_YCRCB444 = dso_local local_unnamed_addr global i32 0, align 4
@EDID_CEA_YCRCB422 = dso_local local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_YCRCB422 = dso_local local_unnamed_addr global i32 0, align 4
@DRM_EDID_DIGITAL_DEPTH_MASK = dso_local local_unnamed_addr global i32 0, align 4
@DRM_EDID_FEATURE_RGB_YCRCB444 = dso_local local_unnamed_addr global i32 0, align 4
@DRM_EDID_FEATURE_RGB_YCRCB422 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @drm_add_display_info], section "llvm.metadata"
@switch.table.drm_add_display_info = private unnamed_addr constant [6 x i32] [i32 8, i32 6, i32 16, i32 14, i32 12, i32 10], align 4
; Function Attrs: nounwind uwtable
define internal void @drm_add_display_info(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = mul nsw i32 %3, 10
store i32 %4, ptr %1, align 4, !tbaa !10
%5 = getelementptr inbounds %struct.edid, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = mul nsw i32 %6, 10
%8 = getelementptr inbounds %struct.drm_display_info, ptr %1, i64 0, i32 1
store i32 %7, ptr %8, align 4, !tbaa !13
%9 = getelementptr inbounds %struct.drm_display_info, ptr %1, i64 0, i32 2
store i32 0, ptr %9, align 4, !tbaa !14
%10 = getelementptr inbounds %struct.drm_display_info, ptr %1, i64 0, i32 4
store i32 0, ptr %10, align 4, !tbaa !15
%11 = getelementptr inbounds %struct.edid, ptr %0, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !16
%13 = icmp slt i32 %12, 3
br i1 %13, label %80, label %14
14: ; preds = %2
%15 = getelementptr inbounds %struct.edid, ptr %0, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !17
%17 = load i32, ptr @DRM_EDID_INPUT_DIGITAL, align 4, !tbaa !18
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
br i1 %19, label %80, label %20
20: ; preds = %14
%21 = tail call ptr @drm_find_cea_extension(ptr noundef nonnull %0) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %46, label %23
23: ; preds = %20
%24 = getelementptr inbounds i32, ptr %21, i64 1
%25 = load i32, ptr %24, align 4, !tbaa !18
%26 = getelementptr inbounds %struct.drm_display_info, ptr %1, i64 0, i32 3
store i32 %25, ptr %26, align 4, !tbaa !19
%27 = load i32, ptr @DRM_COLOR_FORMAT_RGB444, align 4, !tbaa !18
store i32 %27, ptr %10, align 4, !tbaa !15
%28 = getelementptr inbounds i32, ptr %21, i64 3
%29 = load i32, ptr %28, align 4, !tbaa !18
%30 = load i32, ptr @EDID_CEA_YCRCB444, align 4, !tbaa !18
%31 = and i32 %30, %29
%32 = icmp eq i32 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %23
%34 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB444, align 4, !tbaa !18
%35 = or i32 %34, %27
store i32 %35, ptr %10, align 4, !tbaa !15
%36 = load i32, ptr %28, align 4, !tbaa !18
br label %37
37: ; preds = %33, %23
%38 = phi i32 [ %35, %33 ], [ %27, %23 ]
%39 = phi i32 [ %36, %33 ], [ %29, %23 ]
%40 = load i32, ptr @EDID_CEA_YCRCB422, align 4, !tbaa !18
%41 = and i32 %40, %39
%42 = icmp eq i32 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %37
%44 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB422, align 4, !tbaa !18
%45 = or i32 %38, %44
store i32 %45, ptr %10, align 4, !tbaa !15
br label %46
46: ; preds = %37, %43, %20
%47 = load i32, ptr %11, align 4, !tbaa !16
%48 = icmp slt i32 %47, 4
br i1 %48, label %80, label %49
49: ; preds = %46
%50 = load i32, ptr %15, align 4, !tbaa !17
%51 = load i32, ptr @DRM_EDID_DIGITAL_DEPTH_MASK, align 4, !tbaa !18
%52 = and i32 %51, %50
%53 = add i32 %52, -129
%54 = icmp ult i32 %53, 6
br i1 %54, label %55, label %59
55: ; preds = %49
%56 = zext nneg i32 %53 to i64
%57 = getelementptr inbounds [6 x i32], ptr @switch.table.drm_add_display_info, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
br label %59
59: ; preds = %49, %55
%60 = phi i32 [ %58, %55 ], [ 0, %49 ]
store i32 %60, ptr %9, align 4, !tbaa !14
%61 = load i32, ptr @DRM_COLOR_FORMAT_RGB444, align 4, !tbaa !18
%62 = load i32, ptr %10, align 4, !tbaa !15
%63 = or i32 %62, %61
store i32 %63, ptr %10, align 4, !tbaa !15
%64 = getelementptr inbounds %struct.edid, ptr %0, i64 0, i32 4
%65 = load i32, ptr %64, align 4, !tbaa !20
%66 = load i32, ptr @DRM_EDID_FEATURE_RGB_YCRCB444, align 4, !tbaa !18
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %59
%70 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB444, align 4, !tbaa !18
%71 = or i32 %70, %63
store i32 %71, ptr %10, align 4, !tbaa !15
br label %72
72: ; preds = %69, %59
%73 = phi i32 [ %71, %69 ], [ %63, %59 ]
%74 = load i32, ptr @DRM_EDID_FEATURE_RGB_YCRCB422, align 4, !tbaa !18
%75 = and i32 %74, %65
%76 = icmp eq i32 %75, 0
br i1 %76, label %80, label %77
77: ; preds = %72
%78 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB422, align 4, !tbaa !18
%79 = or i32 %73, %78
store i32 %79, ptr %10, align 4, !tbaa !15
br label %80
80: ; preds = %72, %77, %46, %14, %2
ret void
}
declare ptr @drm_find_cea_extension(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 = !{!"edid", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"drm_display_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!6, !7, i64 4}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!11, !7, i64 16}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !7, i64 12}
!18 = !{!7, !7, i64 0}
!19 = !{!11, !7, i64 12}
!20 = !{!6, !7, i64 16}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_add_display_info.c'
source_filename = "AnghaBench/freebsd/sys/dev/drm2/extr_drm_edid.c_drm_add_display_info.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DRM_EDID_INPUT_DIGITAL = common local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_RGB444 = common local_unnamed_addr global i32 0, align 4
@EDID_CEA_YCRCB444 = common local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_YCRCB444 = common local_unnamed_addr global i32 0, align 4
@EDID_CEA_YCRCB422 = common local_unnamed_addr global i32 0, align 4
@DRM_COLOR_FORMAT_YCRCB422 = common local_unnamed_addr global i32 0, align 4
@DRM_EDID_DIGITAL_DEPTH_MASK = common local_unnamed_addr global i32 0, align 4
@DRM_EDID_FEATURE_RGB_YCRCB444 = common local_unnamed_addr global i32 0, align 4
@DRM_EDID_FEATURE_RGB_YCRCB422 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @drm_add_display_info], section "llvm.metadata"
@switch.table.drm_add_display_info = private unnamed_addr constant [6 x i32] [i32 8, i32 6, i32 16, i32 14, i32 12, i32 10], align 4
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @drm_add_display_info(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load <2 x i32>, ptr %0, align 4, !tbaa !6
%4 = mul nsw <2 x i32> %3, <i32 10, i32 10>
store <2 x i32> %4, ptr %1, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
store i32 0, ptr %5, align 4, !tbaa !10
%6 = getelementptr inbounds i8, ptr %1, i64 16
store i32 0, ptr %6, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = icmp slt i32 %8, 3
br i1 %9, label %76, label %10
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !15
%13 = load i32, ptr @DRM_EDID_INPUT_DIGITAL, align 4, !tbaa !6
%14 = and i32 %13, %12
%15 = icmp eq i32 %14, 0
br i1 %15, label %76, label %16
16: ; preds = %10
%17 = tail call ptr @drm_find_cea_extension(ptr noundef nonnull %0) #2
%18 = icmp eq ptr %17, null
br i1 %18, label %42, label %19
19: ; preds = %16
%20 = getelementptr inbounds i8, ptr %17, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !6
%22 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %21, ptr %22, align 4, !tbaa !16
%23 = load i32, ptr @DRM_COLOR_FORMAT_RGB444, align 4, !tbaa !6
store i32 %23, ptr %6, align 4, !tbaa !12
%24 = getelementptr inbounds i8, ptr %17, i64 12
%25 = load i32, ptr %24, align 4, !tbaa !6
%26 = load i32, ptr @EDID_CEA_YCRCB444, align 4, !tbaa !6
%27 = and i32 %26, %25
%28 = icmp eq i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %19
%30 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB444, align 4, !tbaa !6
%31 = or i32 %30, %23
store i32 %31, ptr %6, align 4, !tbaa !12
%32 = load i32, ptr %24, align 4, !tbaa !6
br label %33
33: ; preds = %29, %19
%34 = phi i32 [ %31, %29 ], [ %23, %19 ]
%35 = phi i32 [ %32, %29 ], [ %25, %19 ]
%36 = load i32, ptr @EDID_CEA_YCRCB422, align 4, !tbaa !6
%37 = and i32 %36, %35
%38 = icmp eq i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB422, align 4, !tbaa !6
%41 = or i32 %34, %40
store i32 %41, ptr %6, align 4, !tbaa !12
br label %42
42: ; preds = %33, %39, %16
%43 = load i32, ptr %7, align 4, !tbaa !13
%44 = icmp slt i32 %43, 4
br i1 %44, label %76, label %45
45: ; preds = %42
%46 = load i32, ptr %11, align 4, !tbaa !15
%47 = load i32, ptr @DRM_EDID_DIGITAL_DEPTH_MASK, align 4, !tbaa !6
%48 = and i32 %47, %46
%49 = add i32 %48, -129
%50 = icmp ult i32 %49, 6
br i1 %50, label %51, label %55
51: ; preds = %45
%52 = zext nneg i32 %49 to i64
%53 = getelementptr inbounds [6 x i32], ptr @switch.table.drm_add_display_info, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
br label %55
55: ; preds = %45, %51
%56 = phi i32 [ %54, %51 ], [ 0, %45 ]
store i32 %56, ptr %5, align 4, !tbaa !10
%57 = load i32, ptr @DRM_COLOR_FORMAT_RGB444, align 4, !tbaa !6
%58 = load i32, ptr %6, align 4, !tbaa !12
%59 = or i32 %58, %57
store i32 %59, ptr %6, align 4, !tbaa !12
%60 = getelementptr inbounds i8, ptr %0, i64 16
%61 = load i32, ptr %60, align 4, !tbaa !17
%62 = load i32, ptr @DRM_EDID_FEATURE_RGB_YCRCB444, align 4, !tbaa !6
%63 = and i32 %62, %61
%64 = icmp eq i32 %63, 0
br i1 %64, label %68, label %65
65: ; preds = %55
%66 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB444, align 4, !tbaa !6
%67 = or i32 %66, %59
store i32 %67, ptr %6, align 4, !tbaa !12
br label %68
68: ; preds = %65, %55
%69 = phi i32 [ %67, %65 ], [ %59, %55 ]
%70 = load i32, ptr @DRM_EDID_FEATURE_RGB_YCRCB422, align 4, !tbaa !6
%71 = and i32 %70, %61
%72 = icmp eq i32 %71, 0
br i1 %72, label %76, label %73
73: ; preds = %68
%74 = load i32, ptr @DRM_COLOR_FORMAT_YCRCB422, align 4, !tbaa !6
%75 = or i32 %69, %74
store i32 %75, ptr %6, align 4, !tbaa !12
br label %76
76: ; preds = %68, %73, %42, %10, %2
ret void
}
declare ptr @drm_find_cea_extension(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"drm_display_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!12 = !{!11, !7, i64 16}
!13 = !{!14, !7, i64 8}
!14 = !{!"edid", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!15 = !{!14, !7, i64 12}
!16 = !{!11, !7, i64 12}
!17 = !{!14, !7, i64 16}
| freebsd_sys_dev_drm2_extr_drm_edid.c_drm_add_display_info |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/hypfs/extr_hypfs_dbfs.c_hypfs_dbfs_data_alloc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/hypfs/extr_hypfs_dbfs.c_hypfs_dbfs_data_alloc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hypfs_dbfs_data = type { ptr, i32 }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hypfs_dbfs_data_alloc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @hypfs_dbfs_data_alloc(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%3 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.hypfs_dbfs_data, ptr %3, i64 0, i32 1
%7 = tail call i32 @kref_init(ptr noundef nonnull %6) #2
store ptr %0, ptr %3, align 8, !tbaa !9
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(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 = !{!"hypfs_dbfs_data", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/s390/hypfs/extr_hypfs_dbfs.c_hypfs_dbfs_data_alloc.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/s390/hypfs/extr_hypfs_dbfs.c_hypfs_dbfs_data_alloc.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
@llvm.used = appending global [1 x ptr] [ptr @hypfs_dbfs_data_alloc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @hypfs_dbfs_data_alloc(ptr noundef %0) #0 {
%2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%3 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %2) #2
%4 = icmp eq ptr %3, null
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %3, i64 8
%7 = tail call i32 @kref_init(ptr noundef nonnull %6) #2
store ptr %0, ptr %3, align 8, !tbaa !10
br label %8
8: ; preds = %1, %5
ret ptr %3
}
declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kref_init(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 = !{!"hypfs_dbfs_data", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
| fastsocket_kernel_arch_s390_hypfs_extr_hypfs_dbfs.c_hypfs_dbfs_data_alloc |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov7251.c_ov7251_set_test_pattern.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7251.c_ov7251_set_test_pattern.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OV7251_PRE_ISP_00_TEST_PATTERN = dso_local local_unnamed_addr global i32 0, align 4
@OV7251_PRE_ISP_00 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ov7251_set_test_pattern], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ov7251_set_test_pattern(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp eq i64 %1, 0
%5 = load i32, ptr @OV7251_PRE_ISP_00_TEST_PATTERN, align 4, !tbaa !10
%6 = or i32 %5, %3
%7 = xor i32 %5, -1
%8 = and i32 %3, %7
%9 = select i1 %4, i32 %8, i32 %6
%10 = load i32, ptr @OV7251_PRE_ISP_00, align 4, !tbaa !10
%11 = tail call i32 @ov7251_write_reg(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %9) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 %9, ptr %0, align 4, !tbaa !5
br label %14
14: ; preds = %13, %2
ret i32 %11
}
declare i32 @ov7251_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ov7251", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov7251.c_ov7251_set_test_pattern.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7251.c_ov7251_set_test_pattern.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OV7251_PRE_ISP_00_TEST_PATTERN = common local_unnamed_addr global i32 0, align 4
@OV7251_PRE_ISP_00 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ov7251_set_test_pattern], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ov7251_set_test_pattern(ptr noundef %0, i64 noundef %1) #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp eq i64 %1, 0
%5 = load i32, ptr @OV7251_PRE_ISP_00_TEST_PATTERN, align 4, !tbaa !11
%6 = or i32 %5, %3
%7 = xor i32 %5, -1
%8 = and i32 %3, %7
%9 = select i1 %4, i32 %8, i32 %6
%10 = load i32, ptr @OV7251_PRE_ISP_00, align 4, !tbaa !11
%11 = tail call i32 @ov7251_write_reg(ptr noundef nonnull %0, i32 noundef %10, i32 noundef %9) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 %9, ptr %0, align 4, !tbaa !6
br label %14
14: ; preds = %13, %2
ret i32 %11
}
declare i32 @ov7251_write_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ov7251", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_drivers_media_i2c_extr_ov7251.c_ov7251_set_test_pattern |
; ModuleID = 'AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_get_l2_indirect_reg.c'
source_filename = "AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_get_l2_indirect_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"
@l2_access_lock = dso_local global i32 0, align 4
@L2CPUSRSELR_EL1 = dso_local local_unnamed_addr global i32 0, align 4
@L2CPUSRDR_EL1 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_l2_indirect_reg], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_l2_indirect_reg(i32 noundef %0) #0 {
%2 = tail call i32 @raw_spin_lock_irqsave(ptr noundef nonnull @l2_access_lock, i64 noundef undef) #2
%3 = load i32, ptr @L2CPUSRSELR_EL1, align 4, !tbaa !5
%4 = tail call i32 @write_sysreg_s(i32 noundef %0, i32 noundef %3) #2
%5 = tail call i32 (...) @isb() #2
%6 = load i32, ptr @L2CPUSRDR_EL1, align 4, !tbaa !5
%7 = tail call i32 @read_sysreg_s(i32 noundef %6) #2
%8 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef nonnull @l2_access_lock, i64 noundef undef) #2
ret i32 %7
}
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_sysreg_s(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isb(...) local_unnamed_addr #1
declare i32 @read_sysreg_s(i32 noundef) local_unnamed_addr #1
declare i32 @raw_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"}
| ; ModuleID = 'AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_get_l2_indirect_reg.c'
source_filename = "AnghaBench/linux/drivers/perf/extr_qcom_l2_pmu.c_get_l2_indirect_reg.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@l2_access_lock = common global i32 0, align 4
@L2CPUSRSELR_EL1 = common local_unnamed_addr global i32 0, align 4
@L2CPUSRDR_EL1 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_l2_indirect_reg], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_l2_indirect_reg(i32 noundef %0) #0 {
%2 = tail call i32 @raw_spin_lock_irqsave(ptr noundef nonnull @l2_access_lock, i64 noundef undef) #2
%3 = load i32, ptr @L2CPUSRSELR_EL1, align 4, !tbaa !6
%4 = tail call i32 @write_sysreg_s(i32 noundef %0, i32 noundef %3) #2
%5 = tail call i32 @isb() #2
%6 = load i32, ptr @L2CPUSRDR_EL1, align 4, !tbaa !6
%7 = tail call i32 @read_sysreg_s(i32 noundef %6) #2
%8 = tail call i32 @raw_spin_unlock_irqrestore(ptr noundef nonnull @l2_access_lock, i64 noundef undef) #2
ret i32 %7
}
declare i32 @raw_spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @write_sysreg_s(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isb(...) local_unnamed_addr #1
declare i32 @read_sysreg_s(i32 noundef) local_unnamed_addr #1
declare i32 @raw_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"}
| linux_drivers_perf_extr_qcom_l2_pmu.c_get_l2_indirect_reg |
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avf_showspectrum.c_plot_channel_lin.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avf_showspectrum.c_plot_channel_lin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { i64, i32, i32, i64, ptr }
@VERTICAL = dso_local local_unnamed_addr global i64 0, align 8
@COMBINED = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @plot_channel_lin], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @plot_channel_lin(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = load i64, ptr %8, align 8, !tbaa !10
%10 = load i64, ptr @VERTICAL, align 8, !tbaa !14
%11 = icmp eq i64 %9, %10
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 1
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 2
%14 = select i1 %11, ptr %12, ptr %13
%15 = load i32, ptr %14, align 4, !tbaa !15
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%16 = call i32 @color_range(ptr noundef nonnull %8, i32 noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%17 = icmp sgt i32 %15, 0
br i1 %17, label %18, label %43
18: ; preds = %4
%19 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 3
%20 = mul nsw i32 %15, %2
%21 = getelementptr inbounds %struct.TYPE_7__, ptr %8, i64 0, i32 4
%22 = sext i32 %2 to i64
br label %23
23: ; preds = %18, %23
%24 = phi i32 [ 0, %18 ], [ %41, %23 ]
%25 = load i64, ptr %19, align 8, !tbaa !16
%26 = load i64, ptr @COMBINED, align 8, !tbaa !14
%27 = icmp eq i64 %25, %26
%28 = select i1 %27, i32 0, i32 %20
%29 = add nsw i32 %28, %24
%30 = load ptr, ptr %21, align 8, !tbaa !17
%31 = getelementptr inbounds ptr, ptr %30, i64 %22
%32 = load ptr, ptr %31, align 8, !tbaa !18
%33 = mul nsw i32 %29, 3
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %32, i64 %34
%36 = call float @get_value(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %24) #3
%37 = load float, ptr %5, align 4, !tbaa !19
%38 = load float, ptr %6, align 4, !tbaa !19
%39 = load float, ptr %7, align 4, !tbaa !19
%40 = call i32 @pick_color(ptr noundef nonnull %8, float noundef %37, float noundef %38, float noundef %39, float noundef %36, ptr noundef %35) #3
%41 = add nuw nsw i32 %24, 1
%42 = icmp eq i32 %41, %15
br i1 %42, label %43, label %23, !llvm.loop !21
43: ; preds = %23, %4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
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 i32 @color_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare float @get_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pick_color(ptr noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_7__", !12, i64 0, !13, i64 8, !13, i64 12, !12, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !7, i64 24}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_avf_showspectrum.c_plot_channel_lin.c'
source_filename = "AnghaBench/FFmpeg/libavfilter/extr_avf_showspectrum.c_plot_channel_lin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VERTICAL = common local_unnamed_addr global i64 0, align 8
@COMBINED = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @plot_channel_lin], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @plot_channel_lin(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = load i64, ptr %8, align 8, !tbaa !11
%10 = load i64, ptr @VERTICAL, align 8, !tbaa !15
%11 = icmp eq i64 %9, %10
%12 = select i1 %11, i64 8, i64 12
%13 = getelementptr inbounds i8, ptr %8, i64 %12
%14 = load i32, ptr %13, align 4, !tbaa !16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
%15 = call i32 @color_range(ptr noundef nonnull %8, i32 noundef %2, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
%16 = icmp sgt i32 %14, 0
br i1 %16, label %17, label %42
17: ; preds = %4
%18 = getelementptr inbounds i8, ptr %8, i64 16
%19 = mul nsw i32 %14, %2
%20 = getelementptr inbounds i8, ptr %8, i64 24
%21 = sext i32 %2 to i64
br label %22
22: ; preds = %17, %22
%23 = phi i32 [ 0, %17 ], [ %40, %22 ]
%24 = load i64, ptr %18, align 8, !tbaa !17
%25 = load i64, ptr @COMBINED, align 8, !tbaa !15
%26 = icmp eq i64 %24, %25
%27 = select i1 %26, i32 0, i32 %19
%28 = add nsw i32 %27, %23
%29 = load ptr, ptr %20, align 8, !tbaa !18
%30 = getelementptr inbounds ptr, ptr %29, i64 %21
%31 = load ptr, ptr %30, align 8, !tbaa !19
%32 = mul nsw i32 %28, 3
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds float, ptr %31, i64 %33
%35 = call float @get_value(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %23) #3
%36 = load float, ptr %5, align 4, !tbaa !20
%37 = load float, ptr %6, align 4, !tbaa !20
%38 = load float, ptr %7, align 4, !tbaa !20
%39 = call i32 @pick_color(ptr noundef nonnull %8, float noundef %36, float noundef %37, float noundef %38, float noundef %35, ptr noundef %34) #3
%40 = add nuw nsw i32 %23, 1
%41 = icmp eq i32 %40, %14
br i1 %41, label %42, label %22, !llvm.loop !22
42: ; preds = %22, %4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
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 i32 @color_range(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare float @get_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pick_color(ptr noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_7__", !13, i64 0, !14, i64 8, !14, i64 12, !13, i64 16, !8, i64 24}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!12, !13, i64 16}
!18 = !{!12, !8, i64 24}
!19 = !{!8, !8, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !9, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| FFmpeg_libavfilter_extr_avf_showspectrum.c_plot_channel_lin |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_ad7414.c_ad7414_write.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ad7414.c_ad7414_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ad7414_write], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @ad7414_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(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/linux/drivers/hwmon/extr_ad7414.c_ad7414_write.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_ad7414.c_ad7414_write.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 @ad7414_write], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @ad7414_write(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @i2c_smbus_write_byte_data(ptr noundef %0, i32 noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @i2c_smbus_write_byte_data(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)"}
| linux_drivers_hwmon_extr_ad7414.c_ad7414_write |
; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_urb_dequeue.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_urb_dequeue.c"
target datalayout = "e-m:e-p270:32:32-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.vhci_hcd = type { i32, ptr }
%struct.urb = type { i32, ptr }
%struct.vhci_priv = type { i32, i32, ptr }
%struct.vhci_device = type { i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.vhci_unlink = type { i32, i32, i32 }
@EIDRM = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@VDEV_EVENT_ERROR_MALLOC = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"seqnum max\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"leave\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @vhci_urb_dequeue], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vhci_urb_dequeue(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @hcd_to_vhci_hcd(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.vhci_hcd, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = tail call i32 @spin_lock_irqsave(ptr noundef %6, i64 noundef undef) #2
%8 = getelementptr inbounds %struct.urb, ptr %1, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%13 = load i32, ptr @EIDRM, align 4, !tbaa !13
%14 = sub nsw i32 0, %13
br label %65
15: ; preds = %3
%16 = tail call i32 @usb_hcd_check_unlink_urb(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
br label %65
20: ; preds = %15
%21 = getelementptr inbounds %struct.vhci_priv, ptr %9, i64 0, i32 2
%22 = load ptr, ptr %21, align 8, !tbaa !14
%23 = getelementptr inbounds %struct.vhci_device, ptr %22, i64 0, i32 3
%24 = load i32, ptr %23, align 4, !tbaa !16
%25 = icmp eq i32 %24, 0
%26 = tail call i32 @spin_lock(ptr noundef nonnull %22) #2
br i1 %25, label %27, label %37
27: ; preds = %20
%28 = getelementptr inbounds %struct.vhci_priv, ptr %9, i64 0, i32 1
%29 = tail call i32 @list_del(ptr noundef nonnull %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %9) #2
store ptr null, ptr %8, align 8, !tbaa !11
%31 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
%32 = tail call i32 @usb_hcd_unlink_urb_from_ep(ptr noundef %0, ptr noundef nonnull %1) #2
%33 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%34 = load i32, ptr %1, align 8, !tbaa !19
%35 = tail call i32 @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %34) #2
%36 = tail call i32 @spin_lock_irqsave(ptr noundef %6, i64 noundef undef) #2
br label %62
37: ; preds = %20
%38 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !13
%39 = tail call ptr @kzalloc(i32 noundef 12, i32 noundef %38) #2
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %48
41: ; preds = %37
%42 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
%43 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%44 = load i32, ptr @VDEV_EVENT_ERROR_MALLOC, align 4, !tbaa !13
%45 = tail call i32 @usbip_event_add(ptr noundef nonnull %23, i32 noundef %44) #2
%46 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%47 = sub nsw i32 0, %46
br label %65
48: ; preds = %37
%49 = tail call i32 @atomic_inc_return(ptr noundef nonnull %4) #2
store i32 %49, ptr %39, align 4, !tbaa !20
%50 = icmp eq i32 %49, 65535
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2
br label %53
53: ; preds = %48, %51
%54 = load i32, ptr %9, align 8, !tbaa !22
%55 = getelementptr inbounds %struct.vhci_unlink, ptr %39, i64 0, i32 2
store i32 %54, ptr %55, align 4, !tbaa !23
%56 = getelementptr inbounds %struct.vhci_unlink, ptr %39, i64 0, i32 1
%57 = getelementptr inbounds %struct.vhci_device, ptr %22, i64 0, i32 2
%58 = tail call i32 @list_add_tail(ptr noundef nonnull %56, ptr noundef nonnull %57) #2
%59 = getelementptr inbounds %struct.vhci_device, ptr %22, i64 0, i32 1
%60 = tail call i32 @wake_up(ptr noundef nonnull %59) #2
%61 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
br label %62
62: ; preds = %53, %27
%63 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%64 = tail call i32 @usbip_dbg_vhci_hc(ptr noundef nonnull @.str.1) #2
br label %65
65: ; preds = %41, %18, %62, %11
%66 = phi i32 [ 0, %62 ], [ %16, %18 ], [ %14, %11 ], [ %47, %41 ]
ret i32 %66
}
declare ptr @hcd_to_vhci_hcd(ptr noundef) local_unnamed_addr #1
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
declare i32 @usb_hcd_check_unlink_urb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_hcd_unlink_urb_from_ep(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_hcd_giveback_urb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbip_event_add(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @usbip_dbg_vhci_hc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"vhci_hcd", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"urb", !7, i64 0, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 8}
!15 = !{!"vhci_priv", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!17, !7, i64 12}
!17 = !{!"vhci_device", !7, i64 0, !7, i64 4, !7, i64 8, !18, i64 12}
!18 = !{!"TYPE_2__", !7, i64 0}
!19 = !{!12, !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"vhci_unlink", !7, i64 0, !7, i64 4, !7, i64 8}
!22 = !{!15, !7, i64 0}
!23 = !{!21, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_urb_dequeue.c'
source_filename = "AnghaBench/linux/drivers/usb/usbip/extr_vhci_hcd.c_vhci_urb_dequeue.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EIDRM = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@VDEV_EVENT_ERROR_MALLOC = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"seqnum max\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"leave\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @vhci_urb_dequeue], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vhci_urb_dequeue(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @hcd_to_vhci_hcd(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = tail call i32 @spin_lock_irqsave(ptr noundef %6, i64 noundef undef) #2
%8 = getelementptr inbounds i8, ptr %1, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %3
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%13 = load i32, ptr @EIDRM, align 4, !tbaa !14
%14 = sub nsw i32 0, %13
br label %65
15: ; preds = %3
%16 = tail call i32 @usb_hcd_check_unlink_urb(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %15
%19 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
br label %65
20: ; preds = %15
%21 = getelementptr inbounds i8, ptr %9, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !15
%23 = getelementptr inbounds i8, ptr %22, i64 12
%24 = load i32, ptr %23, align 4, !tbaa !17
%25 = icmp eq i32 %24, 0
%26 = tail call i32 @spin_lock(ptr noundef nonnull %22) #2
br i1 %25, label %27, label %37
27: ; preds = %20
%28 = getelementptr inbounds i8, ptr %9, i64 4
%29 = tail call i32 @list_del(ptr noundef nonnull %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %9) #2
store ptr null, ptr %8, align 8, !tbaa !12
%31 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
%32 = tail call i32 @usb_hcd_unlink_urb_from_ep(ptr noundef %0, ptr noundef nonnull %1) #2
%33 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%34 = load i32, ptr %1, align 8, !tbaa !20
%35 = tail call i32 @usb_hcd_giveback_urb(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %34) #2
%36 = tail call i32 @spin_lock_irqsave(ptr noundef %6, i64 noundef undef) #2
br label %62
37: ; preds = %20
%38 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !14
%39 = tail call ptr @kzalloc(i32 noundef 12, i32 noundef %38) #2
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %48
41: ; preds = %37
%42 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
%43 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%44 = load i32, ptr @VDEV_EVENT_ERROR_MALLOC, align 4, !tbaa !14
%45 = tail call i32 @usbip_event_add(ptr noundef nonnull %23, i32 noundef %44) #2
%46 = load i32, ptr @ENOMEM, align 4, !tbaa !14
%47 = sub nsw i32 0, %46
br label %65
48: ; preds = %37
%49 = tail call i32 @atomic_inc_return(ptr noundef nonnull %4) #2
store i32 %49, ptr %39, align 4, !tbaa !21
%50 = icmp eq i32 %49, 65535
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2
br label %53
53: ; preds = %48, %51
%54 = load i32, ptr %9, align 8, !tbaa !23
%55 = getelementptr inbounds i8, ptr %39, i64 8
store i32 %54, ptr %55, align 4, !tbaa !24
%56 = getelementptr inbounds i8, ptr %39, i64 4
%57 = getelementptr inbounds i8, ptr %22, i64 8
%58 = tail call i32 @list_add_tail(ptr noundef nonnull %56, ptr noundef nonnull %57) #2
%59 = getelementptr inbounds i8, ptr %22, i64 4
%60 = tail call i32 @wake_up(ptr noundef nonnull %59) #2
%61 = tail call i32 @spin_unlock(ptr noundef nonnull %22) #2
br label %62
62: ; preds = %53, %27
%63 = tail call i32 @spin_unlock_irqrestore(ptr noundef %6, i64 noundef undef) #2
%64 = tail call i32 @usbip_dbg_vhci_hc(ptr noundef nonnull @.str.1) #2
br label %65
65: ; preds = %41, %18, %62, %11
%66 = phi i32 [ 0, %62 ], [ %16, %18 ], [ %14, %11 ], [ %47, %41 ]
ret i32 %66
}
declare ptr @hcd_to_vhci_hcd(ptr noundef) local_unnamed_addr #1
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
declare i32 @usb_hcd_check_unlink_urb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @list_del(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @usb_hcd_unlink_urb_from_ep(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb_hcd_giveback_urb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @usbip_event_add(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @atomic_inc_return(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef) local_unnamed_addr #1
declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wake_up(ptr noundef) local_unnamed_addr #1
declare i32 @usbip_dbg_vhci_hc(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"vhci_hcd", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"urb", !8, i64 0, !11, i64 8}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !11, i64 8}
!16 = !{!"vhci_priv", !8, i64 0, !8, i64 4, !11, i64 8}
!17 = !{!18, !8, i64 12}
!18 = !{!"vhci_device", !8, i64 0, !8, i64 4, !8, i64 8, !19, i64 12}
!19 = !{!"TYPE_2__", !8, i64 0}
!20 = !{!13, !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"vhci_unlink", !8, i64 0, !8, i64 4, !8, i64 8}
!23 = !{!16, !8, i64 0}
!24 = !{!22, !8, i64 8}
| linux_drivers_usb_usbip_extr_vhci_hcd.c_vhci_urb_dequeue |
; ModuleID = 'AnghaBench/vlc/modules/lua/extr_services_discovery.c_FillDescriptor.c'
source_filename = "AnghaBench/vlc/modules/lua/extr_services_discovery.c_FillDescriptor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_11__ = type { i32, ptr, ptr, ptr }
@VLC_EGENERIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Error loading script %s: %s\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"descriptor\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Error getting the descriptor in '%s': %s\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"short_description\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"icon\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"url\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"capabilities\00", align 1
@ppsz_capabilities = dso_local local_unnamed_addr global ptr null, align 8
@.str.7 = private unnamed_addr constant [58 x i8] c"Services discovery capability '%s' unknown in script '%s'\00", align 1
@VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @FillDescriptor], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @FillDescriptor(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !10
%5 = tail call ptr (...) @luaL_newstate() #3
%6 = tail call i32 @VLC_OBJECT(ptr noundef nonnull %0) #3
%7 = load ptr, ptr %3, align 8, !tbaa !12
%8 = tail call i64 @vlclua_dofile(i32 noundef %6, ptr noundef %5, ptr noundef %7) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load ptr, ptr %3, align 8, !tbaa !12
%12 = tail call ptr @lua_tostring(ptr noundef %5, i32 noundef -1) #3
%13 = tail call i32 @msg_Err(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef %11, ptr noundef %12) #3
br label %76
14: ; preds = %2
%15 = tail call i32 @lua_getglobal(ptr noundef %5, ptr noundef nonnull @.str.1) #3
%16 = tail call i32 @lua_isfunction(ptr noundef %5, i32 noundef -1) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = tail call i64 @lua_pcall(ptr noundef %5, i32 noundef 0, i32 noundef 1, i32 noundef 0) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %18, %14
%22 = load ptr, ptr %3, align 8, !tbaa !12
%23 = tail call ptr @lua_tostring(ptr noundef %5, i32 noundef -1) #3
%24 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef %22, ptr noundef %23) #3
br label %76
25: ; preds = %18
%26 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.3) #3
%27 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%28 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 3
store ptr %27, ptr %28, align 8, !tbaa !14
%29 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%30 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.4) #3
%31 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%32 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 2
store ptr %31, ptr %32, align 8, !tbaa !16
%33 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%34 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.5) #3
%35 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%36 = getelementptr inbounds %struct.TYPE_11__, ptr %1, i64 0, i32 1
store ptr %35, ptr %36, align 8, !tbaa !17
%37 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%38 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.6) #3
store i32 0, ptr %1, align 8, !tbaa !18
%39 = tail call i64 @lua_istable(ptr noundef %5, i32 noundef -1) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %73, label %41
41: ; preds = %25
%42 = tail call i32 @lua_pushnil(ptr noundef %5) #3
%43 = tail call i64 @lua_next(ptr noundef %5, i32 noundef -2) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %73, label %45
45: ; preds = %41, %70
%46 = tail call ptr @luaL_checkstring(ptr noundef %5, i32 noundef -1) #3
%47 = load ptr, ptr @ppsz_capabilities, align 8, !tbaa !19
%48 = load ptr, ptr %47, align 8, !tbaa !19
%49 = icmp eq ptr %48, null
br i1 %49, label %66, label %50
50: ; preds = %45, %61
%51 = phi i64 [ %62, %61 ], [ 0, %45 ]
%52 = phi ptr [ %64, %61 ], [ %48, %45 ]
%53 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %52, ptr noundef nonnull dereferenceable(1) %46)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %50
%56 = trunc i64 %51 to i32
%57 = shl nuw i32 1, %56
%58 = load i32, ptr %1, align 8, !tbaa !18
%59 = or i32 %58, %57
store i32 %59, ptr %1, align 8, !tbaa !18
%60 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
br label %70
61: ; preds = %50
%62 = add nuw i64 %51, 1
%63 = getelementptr inbounds ptr, ptr %47, i64 %62
%64 = load ptr, ptr %63, align 8, !tbaa !19
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %50, !llvm.loop !20
66: ; preds = %61, %45
%67 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%68 = load ptr, ptr %3, align 8, !tbaa !12
%69 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef %46, ptr noundef %68) #3
br label %70
70: ; preds = %55, %66
%71 = tail call i64 @lua_next(ptr noundef %5, i32 noundef -2) #3
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %45, !llvm.loop !22
73: ; preds = %70, %41, %25
%74 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%75 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !10
br label %76
76: ; preds = %73, %21, %10
%77 = phi i32 [ %4, %10 ], [ %4, %21 ], [ %75, %73 ]
%78 = tail call i32 @lua_close(ptr noundef %5) #3
ret i32 %77
}
declare ptr @luaL_newstate(...) local_unnamed_addr #1
declare i64 @vlclua_dofile(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @VLC_OBJECT(ptr noundef) local_unnamed_addr #1
declare i32 @msg_Err(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getglobal(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_isfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msg_Warn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @luaL_strdupornull(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_istable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #1
declare i64 @lua_next(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @lua_close(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_9__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_10__", !7, i64 0}
!14 = !{!15, !7, i64 24}
!15 = !{!"TYPE_11__", !11, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!16 = !{!15, !7, i64 16}
!17 = !{!15, !7, i64 8}
!18 = !{!15, !11, i64 0}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
| ; ModuleID = 'AnghaBench/vlc/modules/lua/extr_services_discovery.c_FillDescriptor.c'
source_filename = "AnghaBench/vlc/modules/lua/extr_services_discovery.c_FillDescriptor.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VLC_EGENERIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Error loading script %s: %s\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"descriptor\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Error getting the descriptor in '%s': %s\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"short_description\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"icon\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"url\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"capabilities\00", align 1
@ppsz_capabilities = common local_unnamed_addr global ptr null, align 8
@.str.7 = private unnamed_addr constant [58 x i8] c"Services discovery capability '%s' unknown in script '%s'\00", align 1
@VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @FillDescriptor], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @FillDescriptor(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load i32, ptr @VLC_EGENERIC, align 4, !tbaa !11
%5 = tail call ptr @luaL_newstate() #3
%6 = tail call i32 @VLC_OBJECT(ptr noundef nonnull %0) #3
%7 = load ptr, ptr %3, align 8, !tbaa !13
%8 = tail call i64 @vlclua_dofile(i32 noundef %6, ptr noundef %5, ptr noundef %7) #3
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = load ptr, ptr %3, align 8, !tbaa !13
%12 = tail call ptr @lua_tostring(ptr noundef %5, i32 noundef -1) #3
%13 = tail call i32 @msg_Err(ptr noundef nonnull %0, ptr noundef nonnull @.str, ptr noundef %11, ptr noundef %12) #3
br label %76
14: ; preds = %2
%15 = tail call i32 @lua_getglobal(ptr noundef %5, ptr noundef nonnull @.str.1) #3
%16 = tail call i32 @lua_isfunction(ptr noundef %5, i32 noundef -1) #3
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = tail call i64 @lua_pcall(ptr noundef %5, i32 noundef 0, i32 noundef 1, i32 noundef 0) #3
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %18, %14
%22 = load ptr, ptr %3, align 8, !tbaa !13
%23 = tail call ptr @lua_tostring(ptr noundef %5, i32 noundef -1) #3
%24 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef %22, ptr noundef %23) #3
br label %76
25: ; preds = %18
%26 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.3) #3
%27 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%28 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %27, ptr %28, align 8, !tbaa !15
%29 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%30 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.4) #3
%31 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%32 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %31, ptr %32, align 8, !tbaa !17
%33 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%34 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.5) #3
%35 = tail call ptr @luaL_strdupornull(ptr noundef %5, i32 noundef -1) #3
%36 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %35, ptr %36, align 8, !tbaa !18
%37 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%38 = tail call i32 @lua_getfield(ptr noundef %5, i32 noundef -1, ptr noundef nonnull @.str.6) #3
store i32 0, ptr %1, align 8, !tbaa !19
%39 = tail call i64 @lua_istable(ptr noundef %5, i32 noundef -1) #3
%40 = icmp eq i64 %39, 0
br i1 %40, label %73, label %41
41: ; preds = %25
%42 = tail call i32 @lua_pushnil(ptr noundef %5) #3
%43 = tail call i64 @lua_next(ptr noundef %5, i32 noundef -2) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %73, label %45
45: ; preds = %41, %70
%46 = tail call ptr @luaL_checkstring(ptr noundef %5, i32 noundef -1) #3
%47 = load ptr, ptr @ppsz_capabilities, align 8, !tbaa !20
%48 = load ptr, ptr %47, align 8, !tbaa !20
%49 = icmp eq ptr %48, null
br i1 %49, label %66, label %50
50: ; preds = %45, %61
%51 = phi i64 [ %62, %61 ], [ 0, %45 ]
%52 = phi ptr [ %64, %61 ], [ %48, %45 ]
%53 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %52, ptr noundef nonnull dereferenceable(1) %46) #3
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %50
%56 = trunc nuw nsw i64 %51 to i32
%57 = shl nuw i32 1, %56
%58 = load i32, ptr %1, align 8, !tbaa !19
%59 = or i32 %58, %57
store i32 %59, ptr %1, align 8, !tbaa !19
%60 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
br label %70
61: ; preds = %50
%62 = add nuw nsw i64 %51, 1
%63 = getelementptr inbounds ptr, ptr %47, i64 %62
%64 = load ptr, ptr %63, align 8, !tbaa !20
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %50, !llvm.loop !21
66: ; preds = %61, %45
%67 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%68 = load ptr, ptr %3, align 8, !tbaa !13
%69 = tail call i32 @msg_Warn(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef %46, ptr noundef %68) #3
br label %70
70: ; preds = %55, %66
%71 = tail call i64 @lua_next(ptr noundef %5, i32 noundef -2) #3
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %45, !llvm.loop !23
73: ; preds = %70, %41, %25
%74 = tail call i32 @lua_pop(ptr noundef %5, i32 noundef 1) #3
%75 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !11
br label %76
76: ; preds = %73, %21, %10
%77 = phi i32 [ %4, %10 ], [ %4, %21 ], [ %75, %73 ]
%78 = tail call i32 @lua_close(ptr noundef %5) #3
ret i32 %77
}
declare ptr @luaL_newstate(...) local_unnamed_addr #1
declare i64 @vlclua_dofile(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @VLC_OBJECT(ptr noundef) local_unnamed_addr #1
declare i32 @msg_Err(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_getglobal(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_isfunction(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @msg_Warn(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @luaL_strdupornull(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pop(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @lua_istable(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lua_pushnil(ptr noundef) local_unnamed_addr #1
declare i64 @lua_next(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @luaL_checkstring(ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2
declare i32 @lua_close(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_9__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_10__", !8, i64 0}
!15 = !{!16, !8, i64 24}
!16 = !{!"TYPE_11__", !12, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!17 = !{!16, !8, i64 16}
!18 = !{!16, !8, i64 8}
!19 = !{!16, !12, i64 0}
!20 = !{!8, !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
| vlc_modules_lua_extr_services_discovery.c_FillDescriptor |
; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_set_chan.c'
source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_set_chan.c"
target datalayout = "e-m:e-p270:32:32-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.rfprog = type { i64, i32, i32, i32, i32 }
%struct.rt2860_softc = type { i32, i32, ptr, ptr, i32 }
@rt2860_rf2850 = dso_local local_unnamed_addr global ptr null, align 8
@RT2860_RF1 = dso_local local_unnamed_addr global i32 0, align 4
@RT2860_RF2 = dso_local local_unnamed_addr global i32 0, align 4
@RT2860_RF3 = dso_local local_unnamed_addr global i32 0, align 4
@RT2860_RF4 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt2860_set_chan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rt2860_set_chan(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr @rt2860_rf2850, align 8, !tbaa !5
br label %4
4: ; preds = %4, %2
%5 = phi i64 [ 0, %2 ], [ %9, %4 ]
%6 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !9
%8 = icmp eq i64 %7, %1
%9 = add i64 %5, 1
br i1 %8, label %10, label %4, !llvm.loop !13
10: ; preds = %4
%11 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = load i32, ptr %0, align 8, !tbaa !16
%14 = icmp eq i32 %13, 1
%15 = or i32 %12, 4096
%16 = select i1 %14, i32 %15, i32 %12
%17 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !18
switch i32 %18, label %23 [
i32 1, label %19
i32 2, label %21
]
19: ; preds = %10
%20 = or i32 %16, 32784
br label %23
21: ; preds = %10
%22 = or i32 %16, 16
br label %23
23: ; preds = %10, %21, %19
%24 = phi i32 [ %20, %19 ], [ %22, %21 ], [ %16, %10 ]
%25 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !19
%27 = getelementptr inbounds i32, ptr %26, i64 %5
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 3
%30 = load ptr, ptr %29, align 8, !tbaa !21
%31 = getelementptr inbounds i32, ptr %30, i64 %5
%32 = load i32, ptr %31, align 4, !tbaa !20
%33 = icmp ugt i64 %1, 14
br i1 %33, label %34, label %46
34: ; preds = %23
%35 = shl i32 %28, 1
%36 = or disjoint i32 %35, 1
%37 = add i32 %35, 14
%38 = icmp slt i32 %28, 0
%39 = select i1 %38, i32 %37, i32 %36
%40 = icmp sgt i32 %32, -1
%41 = shl i32 %32, 1
br i1 %40, label %42, label %44
42: ; preds = %34
%43 = or disjoint i32 %41, 1
br label %46
44: ; preds = %34
%45 = add i32 %41, 14
br label %46
46: ; preds = %42, %44, %23
%47 = phi i32 [ %39, %42 ], [ %39, %44 ], [ %28, %23 ]
%48 = phi i32 [ %43, %42 ], [ %45, %44 ], [ %32, %23 ]
%49 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5, i32 2
%50 = load i32, ptr %49, align 4, !tbaa !22
%51 = shl i32 %47, 7
%52 = or i32 %50, %51
%53 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5, i32 3
%54 = load i32, ptr %53, align 8, !tbaa !23
%55 = getelementptr inbounds %struct.rt2860_softc, ptr %0, i64 0, i32 4
%56 = load i32, ptr %55, align 8, !tbaa !24
%57 = shl i32 %56, 13
%58 = shl i32 %48, 4
%59 = or i32 %54, %58
%60 = or i32 %59, %57
%61 = load i32, ptr @RT2860_RF1, align 4, !tbaa !20
%62 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5, i32 4
%63 = load i32, ptr %62, align 4, !tbaa !25
%64 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %63) #2
%65 = load i32, ptr @RT2860_RF2, align 4, !tbaa !20
%66 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %24) #2
%67 = load i32, ptr @RT2860_RF3, align 4, !tbaa !20
%68 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %67, i32 noundef %52) #2
%69 = load i32, ptr @RT2860_RF4, align 4, !tbaa !20
%70 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %69, i32 noundef %60) #2
%71 = tail call i32 @DELAY(i32 noundef 200) #2
%72 = load i32, ptr @RT2860_RF1, align 4, !tbaa !20
%73 = load i32, ptr %62, align 4, !tbaa !25
%74 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73) #2
%75 = load i32, ptr @RT2860_RF2, align 4, !tbaa !20
%76 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %75, i32 noundef %24) #2
%77 = load i32, ptr @RT2860_RF3, align 4, !tbaa !20
%78 = or i32 %52, 1
%79 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %77, i32 noundef %78) #2
%80 = load i32, ptr @RT2860_RF4, align 4, !tbaa !20
%81 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %80, i32 noundef %60) #2
%82 = tail call i32 @DELAY(i32 noundef 200) #2
%83 = load i32, ptr @RT2860_RF1, align 4, !tbaa !20
%84 = load i32, ptr %62, align 4, !tbaa !25
%85 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %84) #2
%86 = load i32, ptr @RT2860_RF2, align 4, !tbaa !20
%87 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %86, i32 noundef %24) #2
%88 = load i32, ptr @RT2860_RF3, align 4, !tbaa !20
%89 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %52) #2
%90 = load i32, ptr @RT2860_RF4, align 4, !tbaa !20
%91 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %90, i32 noundef %60) #2
ret void
}
declare i32 @rt2860_rf_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(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, !11, i64 0}
!10 = !{!"rfprog", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!10, !12, i64 8}
!16 = !{!17, !12, i64 0}
!17 = !{!"rt2860_softc", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16, !12, i64 24}
!18 = !{!17, !12, i64 4}
!19 = !{!17, !6, i64 8}
!20 = !{!12, !12, i64 0}
!21 = !{!17, !6, i64 16}
!22 = !{!10, !12, i64 12}
!23 = !{!10, !12, i64 16}
!24 = !{!17, !12, i64 24}
!25 = !{!10, !12, i64 20}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_set_chan.c'
source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2860.c_rt2860_set_chan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.rfprog = type { i64, i32, i32, i32, i32 }
@rt2860_rf2850 = common local_unnamed_addr global ptr null, align 8
@RT2860_RF1 = common local_unnamed_addr global i32 0, align 4
@RT2860_RF2 = common local_unnamed_addr global i32 0, align 4
@RT2860_RF3 = common local_unnamed_addr global i32 0, align 4
@RT2860_RF4 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rt2860_set_chan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rt2860_set_chan(ptr noundef %0, i64 noundef %1) #0 {
%3 = load ptr, ptr @rt2860_rf2850, align 8, !tbaa !6
br label %4
4: ; preds = %4, %2
%5 = phi i64 [ 0, %2 ], [ %9, %4 ]
%6 = getelementptr inbounds %struct.rfprog, ptr %3, i64 %5
%7 = load i64, ptr %6, align 8, !tbaa !10
%8 = icmp eq i64 %7, %1
%9 = add i64 %5, 1
br i1 %8, label %10, label %4, !llvm.loop !14
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %6, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !16
%13 = load i32, ptr %0, align 8, !tbaa !17
%14 = icmp eq i32 %13, 1
%15 = or i32 %12, 4096
%16 = select i1 %14, i32 %15, i32 %12
%17 = getelementptr inbounds i8, ptr %0, i64 4
%18 = load i32, ptr %17, align 4, !tbaa !19
switch i32 %18, label %23 [
i32 1, label %19
i32 2, label %21
]
19: ; preds = %10
%20 = or i32 %16, 32784
br label %23
21: ; preds = %10
%22 = or i32 %16, 16
br label %23
23: ; preds = %10, %21, %19
%24 = phi i32 [ %20, %19 ], [ %22, %21 ], [ %16, %10 ]
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !20
%27 = getelementptr inbounds i32, ptr %26, i64 %5
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = getelementptr inbounds i8, ptr %0, i64 16
%30 = load ptr, ptr %29, align 8, !tbaa !22
%31 = getelementptr inbounds i32, ptr %30, i64 %5
%32 = load i32, ptr %31, align 4, !tbaa !21
%33 = icmp ugt i64 %1, 14
br i1 %33, label %34, label %46
34: ; preds = %23
%35 = shl i32 %28, 1
%36 = or disjoint i32 %35, 1
%37 = add i32 %35, 14
%38 = icmp slt i32 %28, 0
%39 = select i1 %38, i32 %37, i32 %36
%40 = icmp sgt i32 %32, -1
%41 = shl i32 %32, 1
br i1 %40, label %42, label %44
42: ; preds = %34
%43 = or disjoint i32 %41, 1
br label %46
44: ; preds = %34
%45 = add i32 %41, 14
br label %46
46: ; preds = %42, %44, %23
%47 = phi i32 [ %39, %42 ], [ %39, %44 ], [ %28, %23 ]
%48 = phi i32 [ %43, %42 ], [ %45, %44 ], [ %32, %23 ]
%49 = getelementptr inbounds i8, ptr %6, i64 12
%50 = load i32, ptr %49, align 4, !tbaa !23
%51 = shl i32 %47, 7
%52 = or i32 %50, %51
%53 = getelementptr inbounds i8, ptr %6, i64 16
%54 = load i32, ptr %53, align 8, !tbaa !24
%55 = getelementptr inbounds i8, ptr %0, i64 24
%56 = load i32, ptr %55, align 8, !tbaa !25
%57 = shl i32 %56, 13
%58 = shl i32 %48, 4
%59 = or i32 %54, %58
%60 = or i32 %59, %57
%61 = load i32, ptr @RT2860_RF1, align 4, !tbaa !21
%62 = getelementptr inbounds i8, ptr %6, i64 20
%63 = load i32, ptr %62, align 4, !tbaa !26
%64 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %61, i32 noundef %63) #2
%65 = load i32, ptr @RT2860_RF2, align 4, !tbaa !21
%66 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %24) #2
%67 = load i32, ptr @RT2860_RF3, align 4, !tbaa !21
%68 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %67, i32 noundef %52) #2
%69 = load i32, ptr @RT2860_RF4, align 4, !tbaa !21
%70 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %69, i32 noundef %60) #2
%71 = tail call i32 @DELAY(i32 noundef 200) #2
%72 = load i32, ptr @RT2860_RF1, align 4, !tbaa !21
%73 = load i32, ptr %62, align 4, !tbaa !26
%74 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73) #2
%75 = load i32, ptr @RT2860_RF2, align 4, !tbaa !21
%76 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %75, i32 noundef %24) #2
%77 = load i32, ptr @RT2860_RF3, align 4, !tbaa !21
%78 = or i32 %52, 1
%79 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %77, i32 noundef %78) #2
%80 = load i32, ptr @RT2860_RF4, align 4, !tbaa !21
%81 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %80, i32 noundef %60) #2
%82 = tail call i32 @DELAY(i32 noundef 200) #2
%83 = load i32, ptr @RT2860_RF1, align 4, !tbaa !21
%84 = load i32, ptr %62, align 4, !tbaa !26
%85 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %84) #2
%86 = load i32, ptr @RT2860_RF2, align 4, !tbaa !21
%87 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %86, i32 noundef %24) #2
%88 = load i32, ptr @RT2860_RF3, align 4, !tbaa !21
%89 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %88, i32 noundef %52) #2
%90 = load i32, ptr @RT2860_RF4, align 4, !tbaa !21
%91 = tail call i32 @rt2860_rf_write(ptr noundef nonnull %0, i32 noundef %90, i32 noundef %60) #2
ret void
}
declare i32 @rt2860_rf_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(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, !12, i64 0}
!11 = !{!"rfprog", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !13, i64 8}
!17 = !{!18, !13, i64 0}
!18 = !{!"rt2860_softc", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 16, !13, i64 24}
!19 = !{!18, !13, i64 4}
!20 = !{!18, !7, i64 8}
!21 = !{!13, !13, i64 0}
!22 = !{!18, !7, i64 16}
!23 = !{!11, !13, i64 12}
!24 = !{!11, !13, i64 16}
!25 = !{!18, !13, i64 24}
!26 = !{!11, !13, i64 20}
| freebsd_sys_dev_ral_extr_rt2860.c_rt2860_set_chan |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_asllistsup.c_LsPopNode.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_asllistsup.c_LsPopNode.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AslGbl_ListingNode = dso_local local_unnamed_addr global ptr null, align 8
@ASL_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@ASL_MSG_COMPILER_INTERNAL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Could not pop empty listing stack\00", align 1
; Function Attrs: nounwind uwtable
define dso_local ptr @LsPopNode() local_unnamed_addr #0 {
%1 = load ptr, ptr @AslGbl_ListingNode, align 8, !tbaa !5
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load ptr, ptr %1, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3, %0
%7 = load i32, ptr @ASL_ERROR, align 4, !tbaa !11
%8 = load i32, ptr @ASL_MSG_COMPILER_INTERNAL, align 4, !tbaa !11
%9 = tail call i32 @AslError(i32 noundef %7, i32 noundef %8, ptr noundef null, ptr noundef nonnull @.str) #2
br label %12
10: ; preds = %3
store ptr %4, ptr @AslGbl_ListingNode, align 8, !tbaa !5
%11 = tail call i32 @ACPI_FREE(ptr noundef nonnull %1) #2
br label %12
12: ; preds = %10, %6
%13 = load ptr, ptr @AslGbl_ListingNode, align 8, !tbaa !5
ret ptr %13
}
declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_5__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_asllistsup.c_LsPopNode.c'
source_filename = "AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_asllistsup.c_LsPopNode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AslGbl_ListingNode = common local_unnamed_addr global ptr null, align 8
@ASL_ERROR = common local_unnamed_addr global i32 0, align 4
@ASL_MSG_COMPILER_INTERNAL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [34 x i8] c"Could not pop empty listing stack\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @LsPopNode() local_unnamed_addr #0 {
%1 = load ptr, ptr @AslGbl_ListingNode, align 8, !tbaa !6
%2 = icmp eq ptr %1, null
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = load ptr, ptr %1, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %3, %0
%7 = load i32, ptr @ASL_ERROR, align 4, !tbaa !12
%8 = load i32, ptr @ASL_MSG_COMPILER_INTERNAL, align 4, !tbaa !12
%9 = tail call i32 @AslError(i32 noundef %7, i32 noundef %8, ptr noundef null, ptr noundef nonnull @.str) #2
br label %12
10: ; preds = %3
store ptr %4, ptr @AslGbl_ListingNode, align 8, !tbaa !6
%11 = tail call i32 @ACPI_FREE(ptr noundef nonnull %1) #2
br label %12
12: ; preds = %10, %6
%13 = load ptr, ptr @AslGbl_ListingNode, align 8, !tbaa !6
ret ptr %13
}
declare i32 @AslError(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ACPI_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 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
| freebsd_sys_contrib_dev_acpica_compiler_extr_asllistsup.c_LsPopNode |
; ModuleID = 'AnghaBench/goaccess/src/extr_parser.c_decode_hex.c'
source_filename = "AnghaBench/goaccess/src/extr_parser.c_decode_hex.c"
target datalayout = "e-m:e-p270:32:32-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 @decode_hex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @decode_hex(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
br label %3
3: ; preds = %27, %2
%4 = phi ptr [ %1, %2 ], [ %30, %27 ]
%5 = phi ptr [ %0, %2 ], [ %31, %27 ]
%6 = load i8, ptr %5, align 1, !tbaa !5
switch i8 %6, label %17 [
i8 0, label %32
i8 37, label %7
]
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %5, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !5
%10 = tail call i32 @isxdigit(i8 noundef signext %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %5, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !5
%15 = tail call i32 @isxdigit(i8 noundef signext %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %3, %12, %7
%18 = load i8, ptr %5, align 1, !tbaa !5
br label %27
19: ; preds = %12
%20 = load i8, ptr %8, align 1, !tbaa !5
%21 = tail call i32 @B16210(i8 noundef signext %20) #2
%22 = shl nsw i32 %21, 4
%23 = load i8, ptr %13, align 1, !tbaa !5
%24 = tail call i32 @B16210(i8 noundef signext %23) #2
%25 = add nsw i32 %24, %22
%26 = trunc i32 %25 to i8
br label %27
27: ; preds = %17, %19
%28 = phi i8 [ %26, %19 ], [ %18, %17 ]
%29 = phi ptr [ %13, %19 ], [ %5, %17 ]
%30 = getelementptr inbounds i8, ptr %4, i64 1
store i8 %28, ptr %4, align 1, !tbaa !5
%31 = getelementptr inbounds i8, ptr %29, i64 1
br label %3, !llvm.loop !8
32: ; preds = %3
store i8 0, ptr %4, align 1, !tbaa !5
ret void
}
declare i32 @isxdigit(i8 noundef signext) local_unnamed_addr #1
declare i32 @B16210(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/goaccess/src/extr_parser.c_decode_hex.c'
source_filename = "AnghaBench/goaccess/src/extr_parser.c_decode_hex.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 @decode_hex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @decode_hex(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 {
br label %3
3: ; preds = %27, %2
%4 = phi ptr [ %1, %2 ], [ %30, %27 ]
%5 = phi ptr [ %0, %2 ], [ %31, %27 ]
%6 = load i8, ptr %5, align 1, !tbaa !6
switch i8 %6, label %17 [
i8 0, label %32
i8 37, label %7
]
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %5, i64 1
%9 = load i8, ptr %8, align 1, !tbaa !6
%10 = tail call i32 @isxdigit(i8 noundef signext %9) #2
%11 = icmp eq i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %7
%13 = getelementptr inbounds i8, ptr %5, i64 2
%14 = load i8, ptr %13, align 1, !tbaa !6
%15 = tail call i32 @isxdigit(i8 noundef signext %14) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %3, %12, %7
%18 = load i8, ptr %5, align 1, !tbaa !6
br label %27
19: ; preds = %12
%20 = load i8, ptr %8, align 1, !tbaa !6
%21 = tail call i32 @B16210(i8 noundef signext %20) #2
%22 = shl nsw i32 %21, 4
%23 = load i8, ptr %13, align 1, !tbaa !6
%24 = tail call i32 @B16210(i8 noundef signext %23) #2
%25 = add nsw i32 %24, %22
%26 = trunc i32 %25 to i8
br label %27
27: ; preds = %17, %19
%28 = phi i8 [ %26, %19 ], [ %18, %17 ]
%29 = phi ptr [ %13, %19 ], [ %5, %17 ]
%30 = getelementptr inbounds i8, ptr %4, i64 1
store i8 %28, ptr %4, align 1, !tbaa !6
%31 = getelementptr inbounds i8, ptr %29, i64 1
br label %3, !llvm.loop !9
32: ; preds = %3
store i8 0, ptr %4, align 1, !tbaa !6
ret void
}
declare i32 @isxdigit(i8 noundef signext) local_unnamed_addr #1
declare i32 @B16210(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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"}
| goaccess_src_extr_parser.c_decode_hex |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmlock.c_dlm_revert_pending_lock.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmlock.c_dlm_revert_pending_lock.c"
target datalayout = "e-m:e-p270:32:32-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.dlm_lock = type { ptr, i32 }
@DLM_LKSB_GET_LVB = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @dlm_revert_pending_lock(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.dlm_lock, ptr %1, i64 0, i32 1
%4 = tail call i32 @list_del_init(ptr noundef nonnull %3) #2
%5 = load i32, ptr @DLM_LKSB_GET_LVB, align 4, !tbaa !5
%6 = xor i32 %5, -1
%7 = load ptr, ptr %1, align 8, !tbaa !9
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = and i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !12
ret void
}
declare i32 @list_del_init(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 = !{!"dlm_lock", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_2__", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmlock.c_dlm_revert_pending_lock.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmlock.c_dlm_revert_pending_lock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DLM_LKSB_GET_LVB = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @dlm_revert_pending_lock(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = tail call i32 @list_del_init(ptr noundef nonnull %3) #2
%5 = load i32, ptr @DLM_LKSB_GET_LVB, align 4, !tbaa !6
%6 = xor i32 %5, -1
%7 = load ptr, ptr %1, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = and i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !13
ret void
}
declare i32 @list_del_init(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 = !{!"dlm_lock", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_2__", !7, i64 0}
| linux_fs_ocfs2_dlm_extr_dlmlock.c_dlm_revert_pending_lock |
; ModuleID = 'AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-mmio.c_is_vgic_v2_sgi.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-mmio.c_is_vgic_v2_sgi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@KVM_DEV_TYPE_ARM_VGIC_V2 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_vgic_v2_sgi], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @is_vgic_v2_sgi(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call i64 @vgic_irq_is_sgi(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = load i64, ptr @KVM_DEV_TYPE_ARM_VGIC_V2, align 8, !tbaa !18
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %6, %2
%13 = phi i32 [ 0, %2 ], [ %11, %6 ]
ret i32 %13
}
declare i64 @vgic_irq_is_sgi(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 = !{!"vgic_irq", !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 = !{!"kvm_vcpu", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !17, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!17, !17, i64 0}
| ; ModuleID = 'AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-mmio.c_is_vgic_v2_sgi.c'
source_filename = "AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-mmio.c_is_vgic_v2_sgi.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KVM_DEV_TYPE_ARM_VGIC_V2 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @is_vgic_v2_sgi], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @is_vgic_v2_sgi(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call i64 @vgic_irq_is_sgi(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = load ptr, ptr %0, align 8, !tbaa !11
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = load i64, ptr @KVM_DEV_TYPE_ARM_VGIC_V2, align 8, !tbaa !19
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
br label %12
12: ; preds = %6, %2
%13 = phi i32 [ 0, %2 ], [ %11, %6 ]
ret i32 %13
}
declare i64 @vgic_irq_is_sgi(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 = !{!"vgic_irq", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"kvm_vcpu", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !18, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!18, !18, i64 0}
| linux_virt_kvm_arm_vgic_extr_vgic-mmio.c_is_vgic_v2_sgi |
; ModuleID = 'AnghaBench/linux/drivers/nfc/microread/extr_microread.c_microread_event_received.c'
source_filename = "AnghaBench/linux/drivers/nfc/microread/extr_microread.c_microread_event_received.c"
target datalayout = "e-m:e-p270:32:32-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.nfc_hci_dev = type { i32, ptr }
%struct.TYPE_2__ = type { i64 }
%struct.sk_buff = type { i32, ptr }
@.str = private unnamed_addr constant [44 x i8] c"Microread received event 0x%x to gate 0x%x\0A\00", align 1
@EPROTO = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@NFC_PROTO_NFC_DEP_MASK = dso_local local_unnamed_addr global i32 0, align 4
@NFC_COMM_PASSIVE = dso_local local_unnamed_addr global i32 0, align 4
@MICROREAD_GATE_ID_P2P_TARGET = dso_local local_unnamed_addr global i32 0, align 4
@MICROREAD_PAR_P2P_TARGET_MODE = dso_local local_unnamed_addr global i32 0, align 4
@MICROREAD_EVT_MREAD_DISCOVERY_STOP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @microread_event_received], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @microread_event_received(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = getelementptr inbounds %struct.nfc_hci_dev, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %1
%9 = load i64, ptr %8, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%10 = tail call i32 @pr_info(ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %9) #3
switch i64 %2, label %79 [
i64 131, label %11
i64 130, label %13
i64 132, label %36
i64 133, label %36
i64 129, label %38
i64 134, label %47
i64 128, label %70
]
11: ; preds = %4
%12 = tail call i32 @microread_target_discovered(ptr noundef nonnull %0, i64 noundef %9, ptr noundef %3) #3
br label %79
13: ; preds = %4
%14 = load i32, ptr %3, align 8, !tbaa !14
%15 = icmp slt i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%18 = load i32, ptr @EPROTO, align 4, !tbaa !16
%19 = sub nsw i32 0, %18
br label %79
20: ; preds = %13
%21 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !17
%23 = add nsw i32 %14, -1
%24 = zext nneg i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !16
%27 = icmp eq i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %20
%29 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%30 = load i32, ptr @EIO, align 4, !tbaa !16
%31 = sub nsw i32 0, %30
br label %79
32: ; preds = %20
%33 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %23) #3
%34 = load i32, ptr %0, align 8, !tbaa !18
%35 = tail call i32 @nfc_tm_data_received(i32 noundef %34, ptr noundef nonnull %3) #3
br label %79
36: ; preds = %4, %4
%37 = tail call i32 @kfree_skb(ptr noundef %3) #3
br label %79
38: ; preds = %4
%39 = load i32, ptr %0, align 8, !tbaa !18
%40 = load i32, ptr @NFC_PROTO_NFC_DEP_MASK, align 4, !tbaa !16
%41 = load i32, ptr @NFC_COMM_PASSIVE, align 4, !tbaa !16
%42 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1
%43 = load ptr, ptr %42, align 8, !tbaa !17
%44 = load i32, ptr %3, align 8, !tbaa !14
%45 = tail call i32 @nfc_tm_activated(i32 noundef %39, i32 noundef %40, i32 noundef %41, ptr noundef %43, i32 noundef %44) #3
%46 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
br label %79
47: ; preds = %4
%48 = load i32, ptr %3, align 8, !tbaa !14
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %54
50: ; preds = %47
%51 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%52 = load i32, ptr @EPROTO, align 4, !tbaa !16
%53 = sub nsw i32 0, %52
br label %79
54: ; preds = %47
%55 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1
%56 = load ptr, ptr %55, align 8, !tbaa !17
%57 = add nsw i32 %48, -1
%58 = zext nneg i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !16
%61 = icmp eq i32 %60, 0
br i1 %61, label %66, label %62
62: ; preds = %54
%63 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%64 = load i32, ptr @EIO, align 4, !tbaa !16
%65 = sub nsw i32 0, %64
br label %79
66: ; preds = %54
%67 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %57) #3
%68 = load i32, ptr %0, align 8, !tbaa !18
%69 = tail call i32 @nfc_tm_data_received(i32 noundef %68, ptr noundef nonnull %3) #3
br label %79
70: ; preds = %4
%71 = tail call i32 @kfree_skb(ptr noundef %3) #3
store i64 255, ptr %5, align 8, !tbaa !19
%72 = load i32, ptr @MICROREAD_GATE_ID_P2P_TARGET, align 4, !tbaa !16
%73 = load i32, ptr @MICROREAD_PAR_P2P_TARGET_MODE, align 4, !tbaa !16
%74 = call i32 @nfc_hci_set_param(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73, ptr noundef nonnull %5, i32 noundef 1) #3
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %70
%77 = load i32, ptr @MICROREAD_EVT_MREAD_DISCOVERY_STOP, align 4, !tbaa !16
%78 = call i32 @nfc_hci_send_event(ptr noundef nonnull %0, i64 noundef %9, i32 noundef %77, ptr noundef null, i32 noundef 0) #3
br label %79
79: ; preds = %32, %38, %66, %76, %70, %4, %62, %50, %36, %28, %16, %11
%80 = phi i32 [ %53, %50 ], [ %65, %62 ], [ 0, %36 ], [ %19, %16 ], [ %31, %28 ], [ 0, %11 ], [ 1, %4 ], [ %74, %70 ], [ %78, %76 ], [ %69, %66 ], [ %45, %38 ], [ %35, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %80
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_info(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @microread_target_discovered(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #2
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_tm_data_received(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfc_tm_activated(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_hci_set_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_hci_send_event(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 8}
!6 = !{!"nfc_hci_dev", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"sk_buff", !7, i64 0, !10, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!15, !10, i64 8}
!18 = !{!6, !7, i64 0}
!19 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/nfc/microread/extr_microread.c_microread_event_received.c'
source_filename = "AnghaBench/linux/drivers/nfc/microread/extr_microread.c_microread_event_received.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i64 }
@.str = private unnamed_addr constant [44 x i8] c"Microread received event 0x%x to gate 0x%x\0A\00", align 1
@EPROTO = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@NFC_PROTO_NFC_DEP_MASK = common local_unnamed_addr global i32 0, align 4
@NFC_COMM_PASSIVE = common local_unnamed_addr global i32 0, align 4
@MICROREAD_GATE_ID_P2P_TARGET = common local_unnamed_addr global i32 0, align 4
@MICROREAD_PAR_P2P_TARGET_MODE = common local_unnamed_addr global i32 0, align 4
@MICROREAD_EVT_MREAD_DISCOVERY_STOP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @microread_event_received], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @microread_event_received(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !6
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %1
%9 = load i64, ptr %8, align 8, !tbaa !12
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%10 = tail call i32 @pr_info(ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %9) #3
switch i64 %2, label %79 [
i64 131, label %11
i64 130, label %13
i64 132, label %36
i64 133, label %36
i64 129, label %38
i64 134, label %47
i64 128, label %70
]
11: ; preds = %4
%12 = tail call i32 @microread_target_discovered(ptr noundef nonnull %0, i64 noundef %9, ptr noundef %3) #3
br label %79
13: ; preds = %4
%14 = load i32, ptr %3, align 8, !tbaa !15
%15 = icmp slt i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %13
%17 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%18 = load i32, ptr @EPROTO, align 4, !tbaa !17
%19 = sub nsw i32 0, %18
br label %79
20: ; preds = %13
%21 = getelementptr inbounds i8, ptr %3, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !18
%23 = add nsw i32 %14, -1
%24 = zext nneg i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4, !tbaa !17
%27 = icmp eq i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %20
%29 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%30 = load i32, ptr @EIO, align 4, !tbaa !17
%31 = sub nsw i32 0, %30
br label %79
32: ; preds = %20
%33 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %23) #3
%34 = load i32, ptr %0, align 8, !tbaa !19
%35 = tail call i32 @nfc_tm_data_received(i32 noundef %34, ptr noundef nonnull %3) #3
br label %79
36: ; preds = %4, %4
%37 = tail call i32 @kfree_skb(ptr noundef %3) #3
br label %79
38: ; preds = %4
%39 = load i32, ptr %0, align 8, !tbaa !19
%40 = load i32, ptr @NFC_PROTO_NFC_DEP_MASK, align 4, !tbaa !17
%41 = load i32, ptr @NFC_COMM_PASSIVE, align 4, !tbaa !17
%42 = getelementptr inbounds i8, ptr %3, i64 8
%43 = load ptr, ptr %42, align 8, !tbaa !18
%44 = load i32, ptr %3, align 8, !tbaa !15
%45 = tail call i32 @nfc_tm_activated(i32 noundef %39, i32 noundef %40, i32 noundef %41, ptr noundef %43, i32 noundef %44) #3
%46 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
br label %79
47: ; preds = %4
%48 = load i32, ptr %3, align 8, !tbaa !15
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %54
50: ; preds = %47
%51 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%52 = load i32, ptr @EPROTO, align 4, !tbaa !17
%53 = sub nsw i32 0, %52
br label %79
54: ; preds = %47
%55 = getelementptr inbounds i8, ptr %3, i64 8
%56 = load ptr, ptr %55, align 8, !tbaa !18
%57 = add nsw i32 %48, -1
%58 = zext nneg i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
%60 = load i32, ptr %59, align 4, !tbaa !17
%61 = icmp eq i32 %60, 0
br i1 %61, label %66, label %62
62: ; preds = %54
%63 = tail call i32 @kfree_skb(ptr noundef nonnull %3) #3
%64 = load i32, ptr @EIO, align 4, !tbaa !17
%65 = sub nsw i32 0, %64
br label %79
66: ; preds = %54
%67 = tail call i32 @skb_trim(ptr noundef nonnull %3, i32 noundef %57) #3
%68 = load i32, ptr %0, align 8, !tbaa !19
%69 = tail call i32 @nfc_tm_data_received(i32 noundef %68, ptr noundef nonnull %3) #3
br label %79
70: ; preds = %4
%71 = tail call i32 @kfree_skb(ptr noundef %3) #3
store i64 255, ptr %5, align 8, !tbaa !20
%72 = load i32, ptr @MICROREAD_GATE_ID_P2P_TARGET, align 4, !tbaa !17
%73 = load i32, ptr @MICROREAD_PAR_P2P_TARGET_MODE, align 4, !tbaa !17
%74 = call i32 @nfc_hci_set_param(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %73, ptr noundef nonnull %5, i32 noundef 1) #3
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %70
%77 = load i32, ptr @MICROREAD_EVT_MREAD_DISCOVERY_STOP, align 4, !tbaa !17
%78 = call i32 @nfc_hci_send_event(ptr noundef nonnull %0, i64 noundef %9, i32 noundef %77, ptr noundef null, i32 noundef 0) #3
br label %79
79: ; preds = %32, %38, %66, %76, %70, %4, %62, %50, %36, %28, %16, %11
%80 = phi i32 [ %53, %50 ], [ %65, %62 ], [ 0, %36 ], [ %19, %16 ], [ %31, %28 ], [ 0, %11 ], [ 1, %4 ], [ %74, %70 ], [ %78, %76 ], [ %69, %66 ], [ %45, %38 ], [ %35, %32 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %80
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pr_info(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @microread_target_discovered(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #2
declare i32 @skb_trim(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_tm_data_received(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @nfc_tm_activated(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_hci_set_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @nfc_hci_send_event(ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 8}
!7 = !{!"nfc_hci_dev", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"sk_buff", !8, i64 0, !11, i64 8}
!17 = !{!8, !8, i64 0}
!18 = !{!16, !11, i64 8}
!19 = !{!7, !8, i64 0}
!20 = !{!14, !14, i64 0}
| linux_drivers_nfc_microread_extr_microread.c_microread_event_received |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/extr_qla3xxx.c_ql_free_mem_resources.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/extr_qla3xxx.c_ql_free_mem_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.ql3_adapter = type { ptr, i32, i32 }
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ql_free_mem_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ql_free_mem_resources(ptr noundef %0) #0 {
%2 = tail call i32 @ql_free_send_free_list(ptr noundef %0) #2
%3 = tail call i32 @ql_free_large_buffers(ptr noundef %0) #2
%4 = tail call i32 @ql_free_small_buffers(ptr noundef %0) #2
%5 = tail call i32 @ql_free_buffer_queues(ptr noundef %0) #2
%6 = tail call i32 @ql_free_net_req_rsp_queues(ptr noundef %0) #2
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %1
%10 = getelementptr inbounds %struct.ql3_adapter, ptr %0, i64 0, i32 2
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !12
%13 = getelementptr inbounds %struct.ql3_adapter, ptr %0, i64 0, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !13
%15 = tail call i32 @pci_free_consistent(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %7, i32 noundef %14) #2
store ptr null, ptr %0, align 8, !tbaa !5
br label %16
16: ; preds = %9, %1
ret void
}
declare i32 @ql_free_send_free_list(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_large_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_small_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_buffer_queues(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_net_req_rsp_queues(ptr noundef) local_unnamed_addr #1
declare i32 @pci_free_consistent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ql3_adapter", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/extr_qla3xxx.c_ql_free_mem_resources.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/extr_qla3xxx.c_ql_free_mem_resources.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ql_free_mem_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ql_free_mem_resources(ptr noundef %0) #0 {
%2 = tail call i32 @ql_free_send_free_list(ptr noundef %0) #2
%3 = tail call i32 @ql_free_large_buffers(ptr noundef %0) #2
%4 = tail call i32 @ql_free_small_buffers(ptr noundef %0) #2
%5 = tail call i32 @ql_free_buffer_queues(ptr noundef %0) #2
%6 = tail call i32 @ql_free_net_req_rsp_queues(ptr noundef %0) #2
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %16, label %9
9: ; preds = %1
%10 = getelementptr inbounds i8, ptr %0, i64 12
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13
%13 = getelementptr inbounds i8, ptr %0, i64 8
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = tail call i32 @pci_free_consistent(i32 noundef %11, i32 noundef %12, ptr noundef nonnull %7, i32 noundef %14) #2
store ptr null, ptr %0, align 8, !tbaa !6
br label %16
16: ; preds = %9, %1
ret void
}
declare i32 @ql_free_send_free_list(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_large_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_small_buffers(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_buffer_queues(ptr noundef) local_unnamed_addr #1
declare i32 @ql_free_net_req_rsp_queues(ptr noundef) local_unnamed_addr #1
declare i32 @pci_free_consistent(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ql3_adapter", !8, i64 0, !11, i64 8, !11, i64 12}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 12}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
| linux_drivers_net_ethernet_qlogic_extr_qla3xxx.c_ql_free_mem_resources |
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_intel_quark_i2c_gpio.c_intel_quark_i2c_setup.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_intel_quark_i2c_gpio.c_intel_quark_i2c_setup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mfd_cell = type { i32, ptr, i64 }
%struct.pci_dev = type { i32, %struct.device }
%struct.device = type { i32 }
%struct.resource = type { i32, i32 }
@MFD_I2C_BAR = dso_local local_unnamed_addr global i32 0, align 4
@INTEL_QUARK_IORES_MEM = dso_local local_unnamed_addr global i64 0, align 8
@INTEL_QUARK_IORES_IRQ = dso_local local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@dmi_platform_info = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @intel_quark_i2c_setup], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @intel_quark_i2c_setup(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds %struct.mfd_cell, ptr %1, i64 0, i32 2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1
%7 = load i32, ptr @MFD_I2C_BAR, align 4, !tbaa !12
%8 = tail call i32 @pci_resource_start(ptr noundef %0, i32 noundef %7) #2
%9 = load i64, ptr @INTEL_QUARK_IORES_MEM, align 8, !tbaa !13
%10 = getelementptr inbounds %struct.resource, ptr %5, i64 %9, i32 1
store i32 %8, ptr %10, align 4, !tbaa !14
%11 = load i32, ptr @MFD_I2C_BAR, align 4, !tbaa !12
%12 = tail call i32 @pci_resource_end(ptr noundef %0, i32 noundef %11) #2
%13 = load i64, ptr @INTEL_QUARK_IORES_MEM, align 8, !tbaa !13
%14 = getelementptr inbounds %struct.resource, ptr %5, i64 %13
store i32 %12, ptr %14, align 4, !tbaa !16
%15 = load i32, ptr %0, align 4, !tbaa !17
%16 = load i64, ptr @INTEL_QUARK_IORES_IRQ, align 8, !tbaa !13
%17 = getelementptr inbounds %struct.resource, ptr %5, i64 %16, i32 1
store i32 %15, ptr %17, align 4, !tbaa !14
%18 = getelementptr inbounds %struct.resource, ptr %5, i64 %16
store i32 %15, ptr %18, align 4, !tbaa !16
%19 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12
%20 = tail call ptr @devm_kzalloc(ptr noundef nonnull %6, i32 noundef 4, i32 noundef %19) #2
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %2
%23 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%24 = sub nsw i32 0, %23
br label %34
25: ; preds = %2
store i32 100000, ptr %20, align 4, !tbaa !20
%26 = load i32, ptr @dmi_platform_info, align 4, !tbaa !12
%27 = tail call ptr @dmi_first_match(i32 noundef %26) #2
%28 = icmp eq ptr %27, null
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = load i64, ptr %27, align 8, !tbaa !22
%31 = trunc i64 %30 to i32
store i32 %31, ptr %20, align 4, !tbaa !20
br label %32
32: ; preds = %29, %25
%33 = getelementptr inbounds %struct.mfd_cell, ptr %1, i64 0, i32 1
store ptr %20, ptr %33, align 8, !tbaa !24
store i32 4, ptr %1, align 8, !tbaa !25
br label %34
34: ; preds = %32, %22
%35 = phi i32 [ 0, %32 ], [ %24, %22 ]
ret i32 %35
}
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_end(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dmi_first_match(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"mfd_cell", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !7, i64 4}
!15 = !{!"resource", !7, i64 0, !7, i64 4}
!16 = !{!15, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"pci_dev", !7, i64 0, !19, i64 4}
!19 = !{!"device", !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"dw_i2c_platform_data", !7, i64 0}
!22 = !{!23, !11, i64 0}
!23 = !{!"dmi_system_id", !11, i64 0}
!24 = !{!6, !10, i64 8}
!25 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_intel_quark_i2c_gpio.c_intel_quark_i2c_setup.c'
source_filename = "AnghaBench/linux/drivers/mfd/extr_intel_quark_i2c_gpio.c_intel_quark_i2c_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.resource = type { i32, i32 }
@MFD_I2C_BAR = common local_unnamed_addr global i32 0, align 4
@INTEL_QUARK_IORES_MEM = common local_unnamed_addr global i64 0, align 8
@INTEL_QUARK_IORES_IRQ = common local_unnamed_addr global i64 0, align 8
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@dmi_platform_info = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @intel_quark_i2c_setup], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @intel_quark_i2c_setup(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 16
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = inttoptr i64 %4 to ptr
%6 = getelementptr inbounds i8, ptr %0, i64 4
%7 = load i32, ptr @MFD_I2C_BAR, align 4, !tbaa !13
%8 = tail call i32 @pci_resource_start(ptr noundef %0, i32 noundef %7) #2
%9 = load i64, ptr @INTEL_QUARK_IORES_MEM, align 8, !tbaa !14
%10 = getelementptr inbounds %struct.resource, ptr %5, i64 %9, i32 1
store i32 %8, ptr %10, align 4, !tbaa !15
%11 = load i32, ptr @MFD_I2C_BAR, align 4, !tbaa !13
%12 = tail call i32 @pci_resource_end(ptr noundef %0, i32 noundef %11) #2
%13 = load i64, ptr @INTEL_QUARK_IORES_MEM, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.resource, ptr %5, i64 %13
store i32 %12, ptr %14, align 4, !tbaa !17
%15 = load i32, ptr %0, align 4, !tbaa !18
%16 = load i64, ptr @INTEL_QUARK_IORES_IRQ, align 8, !tbaa !14
%17 = getelementptr inbounds %struct.resource, ptr %5, i64 %16
%18 = insertelement <2 x i32> poison, i32 %15, i64 0
%19 = shufflevector <2 x i32> %18, <2 x i32> poison, <2 x i32> zeroinitializer
store <2 x i32> %19, ptr %17, align 4, !tbaa !13
%20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13
%21 = tail call ptr @devm_kzalloc(ptr noundef nonnull %6, i32 noundef 4, i32 noundef %20) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %26
23: ; preds = %2
%24 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%25 = sub nsw i32 0, %24
br label %35
26: ; preds = %2
store i32 100000, ptr %21, align 4, !tbaa !21
%27 = load i32, ptr @dmi_platform_info, align 4, !tbaa !13
%28 = tail call ptr @dmi_first_match(i32 noundef %27) #2
%29 = icmp eq ptr %28, null
br i1 %29, label %33, label %30
30: ; preds = %26
%31 = load i64, ptr %28, align 8, !tbaa !23
%32 = trunc i64 %31 to i32
store i32 %32, ptr %21, align 4, !tbaa !21
br label %33
33: ; preds = %30, %26
%34 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %21, ptr %34, align 8, !tbaa !25
store i32 4, ptr %1, align 8, !tbaa !26
br label %35
35: ; preds = %33, %23
%36 = phi i32 [ 0, %33 ], [ %25, %23 ]
ret i32 %36
}
declare i32 @pci_resource_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_resource_end(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @dmi_first_match(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"mfd_cell", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !8, i64 4}
!16 = !{!"resource", !8, i64 0, !8, i64 4}
!17 = !{!16, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"pci_dev", !8, i64 0, !20, i64 4}
!20 = !{!"device", !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"dw_i2c_platform_data", !8, i64 0}
!23 = !{!24, !12, i64 0}
!24 = !{!"dmi_system_id", !12, i64 0}
!25 = !{!7, !11, i64 8}
!26 = !{!7, !8, i64 0}
| linux_drivers_mfd_extr_intel_quark_i2c_gpio.c_intel_quark_i2c_setup |
; ModuleID = 'AnghaBench/disque/src/extr_disque-cli.c_cliFormatReplyRaw.c'
source_filename = "AnghaBench/disque/src/extr_disque-cli.c_cliFormatReplyRaw.c"
target datalayout = "e-m:e-p270:32:32-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 { i32 }
%struct.TYPE_4__ = type { i32, ptr, i32, i64, ptr, i32 }
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@config = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Unknown reply type: %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @cliFormatReplyRaw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @cliFormatReplyRaw(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr (...) @sdsempty() #3
%3 = load i32, ptr %0, align 8, !tbaa !5
switch i32 %3, label %50 [
i32 130, label %54
i32 132, label %18
i32 129, label %25
i32 128, label %25
i32 131, label %31
i32 133, label %4
]
4: ; preds = %1
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%6 = load i64, ptr %5, align 8, !tbaa !12
%7 = icmp eq i64 %6, 0
br i1 %7, label %54, label %8
8: ; preds = %4
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = tail call ptr @cliFormatReplyRaw(ptr noundef %11)
%13 = tail call i32 @sdslen(ptr noundef %12) #3
%14 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %12, i32 noundef %13) #3
%15 = tail call i32 @sdsfree(ptr noundef %12) #3
%16 = load i64, ptr %5, align 8, !tbaa !12
%17 = icmp ugt i64 %16, 1
br i1 %17, label %35, label %54
18: ; preds = %1
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%22 = load i32, ptr %21, align 8, !tbaa !16
%23 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %20, i32 noundef %22) #3
%24 = tail call ptr @sdscatlen(ptr noundef %23, ptr noundef nonnull @.str, i32 noundef 1) #3
br label %54
25: ; preds = %1, %1
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !15
%28 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%29 = load i32, ptr %28, align 8, !tbaa !16
%30 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %27, i32 noundef %29) #3
br label %54
31: ; preds = %1
%32 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 5
%33 = load i32, ptr %32, align 8, !tbaa !17
%34 = tail call ptr @sdscatprintf(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef %33) #3
br label %54
35: ; preds = %8, %35
%36 = phi i64 [ %47, %35 ], [ 1, %8 ]
%37 = phi ptr [ %45, %35 ], [ %14, %8 ]
%38 = load i32, ptr @config, align 4, !tbaa !18
%39 = tail call ptr @sdscat(ptr noundef %37, i32 noundef %38) #3
%40 = load ptr, ptr %9, align 8, !tbaa !13
%41 = getelementptr inbounds ptr, ptr %40, i64 %36
%42 = load ptr, ptr %41, align 8, !tbaa !14
%43 = tail call ptr @cliFormatReplyRaw(ptr noundef %42)
%44 = tail call i32 @sdslen(ptr noundef %43) #3
%45 = tail call ptr @sdscatlen(ptr noundef %39, ptr noundef %43, i32 noundef %44) #3
%46 = tail call i32 @sdsfree(ptr noundef %43) #3
%47 = add nuw i64 %36, 1
%48 = load i64, ptr %5, align 8, !tbaa !12
%49 = icmp ult i64 %47, %48
br i1 %49, label %35, label %54, !llvm.loop !20
50: ; preds = %1
%51 = load i32, ptr @stderr, align 4, !tbaa !23
%52 = tail call i32 @fprintf(i32 noundef %51, ptr noundef nonnull @.str.2, i32 noundef %3) #3
%53 = tail call i32 @exit(i32 noundef 1) #4
unreachable
54: ; preds = %35, %8, %4, %31, %25, %18, %1
%55 = phi ptr [ %34, %31 ], [ %30, %25 ], [ %24, %18 ], [ %2, %1 ], [ %2, %4 ], [ %14, %8 ], [ %45, %35 ]
ret ptr %55
}
declare ptr @sdsempty(...) local_unnamed_addr #1
declare ptr @sdscatlen(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @sdscatprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @sdscat(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdslen(ptr noundef) local_unnamed_addr #1
declare i32 @sdsfree(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !10, i64 32, !7, 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, !11, i64 24}
!13 = !{!6, !10, i64 32}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 40}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_5__", !7, i64 0}
!20 = distinct !{!20, !21, !22}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.peeled.count", i32 1}
!23 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/disque/src/extr_disque-cli.c_cliFormatReplyRaw.c'
source_filename = "AnghaBench/disque/src/extr_disque-cli.c_cliFormatReplyRaw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i32 }
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@config = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [24 x i8] c"Unknown reply type: %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @cliFormatReplyRaw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @cliFormatReplyRaw(ptr nocapture noundef readonly %0) #0 {
%2 = tail call ptr @sdsempty() #3
%3 = load i32, ptr %0, align 8, !tbaa !6
switch i32 %3, label %50 [
i32 130, label %54
i32 132, label %18
i32 129, label %25
i32 128, label %25
i32 131, label %31
i32 133, label %4
]
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 24
%6 = load i64, ptr %5, align 8, !tbaa !13
%7 = icmp eq i64 %6, 0
br i1 %7, label %54, label %8
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %0, i64 32
%10 = load ptr, ptr %9, align 8, !tbaa !14
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call ptr @cliFormatReplyRaw(ptr noundef %11)
%13 = tail call i32 @sdslen(ptr noundef %12) #3
%14 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %12, i32 noundef %13) #3
%15 = tail call i32 @sdsfree(ptr noundef %12) #3
%16 = load i64, ptr %5, align 8, !tbaa !13
%17 = icmp ugt i64 %16, 1
br i1 %17, label %35, label %54
18: ; preds = %1
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load ptr, ptr %19, align 8, !tbaa !16
%21 = getelementptr inbounds i8, ptr %0, i64 16
%22 = load i32, ptr %21, align 8, !tbaa !17
%23 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %20, i32 noundef %22) #3
%24 = tail call ptr @sdscatlen(ptr noundef %23, ptr noundef nonnull @.str, i32 noundef 1) #3
br label %54
25: ; preds = %1, %1
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !16
%28 = getelementptr inbounds i8, ptr %0, i64 16
%29 = load i32, ptr %28, align 8, !tbaa !17
%30 = tail call ptr @sdscatlen(ptr noundef %2, ptr noundef %27, i32 noundef %29) #3
br label %54
31: ; preds = %1
%32 = getelementptr inbounds i8, ptr %0, i64 40
%33 = load i32, ptr %32, align 8, !tbaa !18
%34 = tail call ptr @sdscatprintf(ptr noundef %2, ptr noundef nonnull @.str.1, i32 noundef %33) #3
br label %54
35: ; preds = %8, %35
%36 = phi i64 [ %47, %35 ], [ 1, %8 ]
%37 = phi ptr [ %45, %35 ], [ %14, %8 ]
%38 = load i32, ptr @config, align 4, !tbaa !19
%39 = tail call ptr @sdscat(ptr noundef %37, i32 noundef %38) #3
%40 = load ptr, ptr %9, align 8, !tbaa !14
%41 = getelementptr inbounds ptr, ptr %40, i64 %36
%42 = load ptr, ptr %41, align 8, !tbaa !15
%43 = tail call ptr @cliFormatReplyRaw(ptr noundef %42)
%44 = tail call i32 @sdslen(ptr noundef %43) #3
%45 = tail call ptr @sdscatlen(ptr noundef %39, ptr noundef %43, i32 noundef %44) #3
%46 = tail call i32 @sdsfree(ptr noundef %43) #3
%47 = add nuw i64 %36, 1
%48 = load i64, ptr %5, align 8, !tbaa !13
%49 = icmp ult i64 %47, %48
br i1 %49, label %35, label %54, !llvm.loop !21
50: ; preds = %1
%51 = load i32, ptr @stderr, align 4, !tbaa !24
%52 = tail call i32 @fprintf(i32 noundef %51, ptr noundef nonnull @.str.2, i32 noundef %3) #3
%53 = tail call i32 @exit(i32 noundef 1) #4
unreachable
54: ; preds = %35, %8, %4, %31, %25, %18, %1
%55 = phi ptr [ %34, %31 ], [ %30, %25 ], [ %24, %18 ], [ %2, %1 ], [ %2, %4 ], [ %14, %8 ], [ %45, %35 ]
ret ptr %55
}
declare ptr @sdsempty(...) local_unnamed_addr #1
declare ptr @sdscatlen(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @sdscatprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @sdscat(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sdslen(ptr noundef) local_unnamed_addr #1
declare i32 @sdsfree(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !11, i64 8, !8, i64 16, !12, i64 24, !11, i64 32, !8, 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, !12, i64 24}
!14 = !{!7, !11, i64 32}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !11, i64 8}
!17 = !{!7, !8, i64 16}
!18 = !{!7, !8, i64 40}
!19 = !{!20, !8, i64 0}
!20 = !{!"TYPE_5__", !8, i64 0}
!21 = distinct !{!21, !22, !23}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.peeled.count", i32 1}
!24 = !{!8, !8, i64 0}
| disque_src_extr_disque-cli.c_cliFormatReplyRaw |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__MASK, align 4, !tbaa !5
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp5/extr_mdp5.xml.h_MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__SHIFT = common local_unnamed_addr global i32 0, align 4
@MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31(i32 noundef %0) #0 {
%2 = load i32, ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31__MASK, align 4, !tbaa !6
%5 = and i32 %3, %4
ret i32 %5
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_disp_mdp5_extr_mdp5.xml.h_MDP5_WB_CSC_MATRIX_COEFF_3_COEFF_31 |
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_opt_dce.c_lj_opt_dce.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_opt_dce.c_lj_opt_dce.c"
target datalayout = "e-m:e-p270:32:32-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 { i32, i32 }
@JIT_F_OPT_DCE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @lj_opt_dce(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @JIT_F_OPT_DCE, align 4, !tbaa !10
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = tail call i32 @dce_marksnap(ptr noundef nonnull %0) #2
%8 = tail call i32 @dce_propagate(ptr noundef nonnull %0) #2
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = tail call i32 @memset(i32 noundef %10, i32 noundef 0, i32 noundef 4) #2
br label %12
12: ; preds = %6, %1
ret void
}
declare i32 @dce_marksnap(ptr noundef) local_unnamed_addr #1
declare i32 @dce_propagate(ptr noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_opt_dce.c_lj_opt_dce.c'
source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_opt_dce.c_lj_opt_dce.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@JIT_F_OPT_DCE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @lj_opt_dce(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @JIT_F_OPT_DCE, align 4, !tbaa !11
%4 = and i32 %3, %2
%5 = icmp eq i32 %4, 0
br i1 %5, label %12, label %6
6: ; preds = %1
%7 = tail call i32 @dce_marksnap(ptr noundef nonnull %0) #2
%8 = tail call i32 @dce_propagate(ptr noundef nonnull %0) #2
%9 = getelementptr inbounds i8, ptr %0, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = tail call i32 @memset(i32 noundef %10, i32 noundef 0, i32 noundef 4) #2
br label %12
12: ; preds = %6, %1
ret void
}
declare i32 @dce_marksnap(ptr noundef) local_unnamed_addr #1
declare i32 @dce_propagate(ptr noundef) local_unnamed_addr #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| xLua_build_luajit-2.1.0b2_src_extr_lj_opt_dce.c_lj_opt_dce |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_filter.c_set_tcamfilter.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_filter.c_set_tcamfilter.c"
target datalayout = "e-m:e-p270:32:32-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.wrq_cookie = type { i32 }
%struct.t4_filter = type { i64, %struct.TYPE_12__ }
%struct.TYPE_12__ = type { i64, i64, i32, i32, i32, i32, i32, i64, i32, i32, %struct.TYPE_10__, %struct.TYPE_9__, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32 }
%struct.TYPE_10__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_14__ = type { i64, i32, i64, i32, i32, i32, i32, i32, ptr, ptr }
%struct.filter_entry = type { i32, i32, i32, %struct.TYPE_12__, ptr, ptr, i64 }
%struct.adapter = type { %struct.TYPE_14__, %struct.TYPE_13__, %struct.TYPE_11__ }
%struct.TYPE_13__ = type { ptr, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_11__ = type { i64 }
%struct.fw_filter2_wr = type { i32, i32, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr }
@EPERM = dso_local local_unnamed_addr global i32 0, align 4
@EBUSY = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@FW_FILTER2_WR = dso_local local_unnamed_addr global i32 0, align 4
@FW_FILTER_WR = dso_local local_unnamed_addr global i32 0, align 4
@FILTER_DROP = dso_local local_unnamed_addr global i64 0, align 8
@FILTER_SWITCH = dso_local local_unnamed_addr global i64 0, align 8
@VLAN_INSERT = dso_local local_unnamed_addr global i64 0, align 8
@VLAN_REWRITE = dso_local local_unnamed_addr global i64 0, align 8
@VLAN_REMOVE = dso_local local_unnamed_addr global i64 0, align 8
@ULP_MODE_TCPDDP = dso_local local_unnamed_addr global i32 0, align 4
@ULP_MODE_NONE = dso_local local_unnamed_addr global i32 0, align 4
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @set_tcamfilter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @set_tcamfilter(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.wrq_cookie, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%6 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1
%7 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 22
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
%10 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 23
%11 = load i32, ptr %10, align 8, !tbaa !14
%12 = icmp eq i32 %11, 0
%13 = zext i1 %12 to i32
%14 = tail call i32 @MPASS(i32 noundef %13) #4
%15 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 11
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 11, i32 1
%18 = load i32, ptr %17, align 4, !tbaa !16
%19 = and i32 %18, %16
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
%22 = tail call i32 @MPASS(i32 noundef %21) #4
%23 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 10
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 10, i32 1
%26 = load i32, ptr %25, align 4, !tbaa !18
%27 = and i32 %26, %24
%28 = icmp eq i32 %27, 0
%29 = zext i1 %28 to i32
%30 = tail call i32 @MPASS(i32 noundef %29) #4
%31 = tail call i64 @separate_hpfilter_region(ptr noundef %0) #4
%32 = icmp eq i64 %31, 0
br i1 %32, label %48, label %33
33: ; preds = %4
%34 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 12
%35 = load i64, ptr %34, align 8, !tbaa !19
%36 = icmp eq i64 %35, 0
br i1 %36, label %48, label %37
37: ; preds = %33
%38 = load i64, ptr %1, align 8, !tbaa !20
%39 = load i64, ptr %0, align 8, !tbaa !21
%40 = icmp ult i64 %38, %39
%41 = zext i1 %40 to i32
%42 = tail call i32 @MPASS(i32 noundef %41) #4
%43 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 9
%44 = load ptr, ptr %43, align 8, !tbaa !28
%45 = load i64, ptr %1, align 8, !tbaa !20
%46 = getelementptr inbounds %struct.filter_entry, ptr %44, i64 %45
%47 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
br label %60
48: ; preds = %33, %4
%49 = load i64, ptr %1, align 8, !tbaa !20
%50 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2
%51 = load i64, ptr %50, align 8, !tbaa !29
%52 = icmp ult i64 %49, %51
%53 = zext i1 %52 to i32
%54 = tail call i32 @MPASS(i32 noundef %53) #4
%55 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 8
%56 = load ptr, ptr %55, align 8, !tbaa !30
%57 = load i64, ptr %1, align 8, !tbaa !20
%58 = getelementptr inbounds %struct.filter_entry, ptr %56, i64 %57
%59 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 3
br label %60
60: ; preds = %48, %37
%61 = phi ptr [ %59, %48 ], [ %47, %37 ]
%62 = phi i64 [ %57, %48 ], [ %45, %37 ]
%63 = phi ptr [ %58, %48 ], [ %46, %37 ]
%64 = load i32, ptr %61, align 8, !tbaa !31
%65 = trunc i64 %62 to i32
%66 = add i32 %64, %65
%67 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 4
%68 = tail call i32 @mtx_lock(ptr noundef nonnull %67) #4
%69 = load i32, ptr %63, align 8, !tbaa !32
%70 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 1
%71 = load i32, ptr %70, align 4, !tbaa !34
%72 = add i32 %69, %71
%73 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 6
%74 = load i64, ptr %73, align 8, !tbaa !35
%75 = trunc i64 %74 to i32
br i1 %9, label %107, label %76, !llvm.loop !36
76: ; preds = %60
%77 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 1
%78 = load i32, ptr %77, align 8, !tbaa !32
%79 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 1, i32 1
%80 = load i32, ptr %79, align 4, !tbaa !34
%81 = add i32 %78, %72
%82 = add i32 %81, %80
%83 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 1, i32 6
%84 = load i64, ptr %83, align 8, !tbaa !35
%85 = trunc i64 %84 to i32
%86 = add i32 %75, %85
%87 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 2
%88 = load i32, ptr %87, align 8, !tbaa !32
%89 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 2, i32 1
%90 = load i32, ptr %89, align 4, !tbaa !34
%91 = add i32 %88, %82
%92 = add i32 %91, %90
%93 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 2, i32 6
%94 = load i64, ptr %93, align 8, !tbaa !35
%95 = trunc i64 %94 to i32
%96 = add i32 %86, %95
%97 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 3
%98 = load i32, ptr %97, align 8, !tbaa !32
%99 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 3, i32 1
%100 = load i32, ptr %99, align 4, !tbaa !34
%101 = add i32 %98, %92
%102 = add i32 %101, %100
%103 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 3, i32 6
%104 = load i64, ptr %103, align 8, !tbaa !35
%105 = trunc i64 %104 to i32
%106 = add i32 %96, %105
br label %107
107: ; preds = %76, %60
%108 = phi i32 [ %72, %60 ], [ %102, %76 ]
%109 = phi i32 [ %75, %60 ], [ %106, %76 ]
%110 = icmp sgt i32 %109, 0
br i1 %110, label %143, label %111
111: ; preds = %107
%112 = icmp sgt i32 %108, 0
br i1 %112, label %143, label %113
113: ; preds = %111
%114 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 2
%115 = load i64, ptr %114, align 8, !tbaa !38
%116 = icmp eq i64 %115, 0
%117 = select i1 %116, i32 4, i32 224
%118 = tail call i32 @howmany(i32 noundef %117, i32 noundef 16) #4
%119 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1
%120 = load ptr, ptr %119, align 8, !tbaa !39
%121 = call ptr @start_wrq_wr(ptr noundef %120, i32 noundef %118, ptr noundef nonnull %5) #4
%122 = icmp eq ptr %121, null
%123 = zext i1 %122 to i32
%124 = call i64 @__predict_false(i32 noundef %123) #4
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %143
126: ; preds = %113
store i32 1, ptr %63, align 8, !tbaa !32
%127 = call i64 @separate_hpfilter_region(ptr noundef nonnull %0) #4
%128 = icmp eq i64 %127, 0
br i1 %128, label %137, label %129
129: ; preds = %126
%130 = getelementptr inbounds %struct.t4_filter, ptr %1, i64 0, i32 1, i32 12
%131 = load i64, ptr %130, align 8, !tbaa !19
%132 = icmp eq i64 %131, 0
br i1 %132, label %137, label %133
133: ; preds = %129
%134 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 7
%135 = load i32, ptr %134, align 8, !tbaa !40
%136 = add nsw i32 %135, 1
store i32 %136, ptr %134, align 8, !tbaa !40
br label %141
137: ; preds = %129, %126
%138 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 6
%139 = load i32, ptr %138, align 4, !tbaa !41
%140 = add nsw i32 %139, 1
store i32 %140, ptr %138, align 4, !tbaa !41
br label %141
141: ; preds = %133, %137
%142 = call i32 @mtx_unlock(ptr noundef nonnull %67) #4
br label %149
143: ; preds = %113, %111, %107
%144 = phi ptr [ undef, %107 ], [ undef, %111 ], [ %121, %113 ]
%145 = phi ptr [ @EPERM, %107 ], [ @EBUSY, %111 ], [ @ENOMEM, %113 ]
%146 = load i32, ptr %145, align 4, !tbaa !31
%147 = call i32 @mtx_unlock(ptr noundef nonnull %67) #4
%148 = icmp eq i32 %146, 0
br i1 %148, label %149, label %476
149: ; preds = %141, %143
%150 = phi ptr [ %121, %141 ], [ %144, %143 ]
%151 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 2
store i32 %66, ptr %151, align 8, !tbaa !42
%152 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %152, ptr noundef nonnull align 8 dereferenceable(256) %6, i64 256, i1 false), !tbaa.struct !43
%153 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 4
store ptr %2, ptr %153, align 8, !tbaa !45
%154 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 5
store ptr %3, ptr %154, align 8, !tbaa !46
%155 = load i32, ptr %15, align 4, !tbaa !15
%156 = icmp eq i32 %155, 0
br i1 %156, label %157, label %161
157: ; preds = %149
%158 = load i32, ptr %17, align 4, !tbaa !16
%159 = icmp ne i32 %158, 0
%160 = zext i1 %159 to i32
br label %161
161: ; preds = %157, %149
%162 = phi i32 [ 1, %149 ], [ %160, %157 ]
%163 = load i32, ptr %23, align 8, !tbaa !17
%164 = icmp eq i32 %163, 0
br i1 %164, label %165, label %169
165: ; preds = %161
%166 = load i32, ptr %25, align 4, !tbaa !18
%167 = icmp ne i32 %166, 0
%168 = zext i1 %167 to i32
br label %169
169: ; preds = %165, %161
%170 = phi i32 [ 1, %161 ], [ %168, %165 ]
%171 = call i32 @bzero(ptr noundef %150, i32 noundef 224) #4
%172 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 2
%173 = load i64, ptr %172, align 8, !tbaa !38
%174 = icmp eq i64 %173, 0
%175 = load i32, ptr @FW_FILTER_WR, align 4
%176 = load i32, ptr @FW_FILTER2_WR, align 4
%177 = select i1 %174, i32 %175, i32 %176
%178 = call i32 @V_FW_WR_OP(i32 noundef %177) #4
%179 = call ptr @htobe32(i32 noundef %178) #4
%180 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 33
store ptr %179, ptr %180, align 8
%181 = call i32 @FW_LEN16(ptr noundef nonnull byval(%struct.fw_filter2_wr) align 8 %150) #4
%182 = call ptr @htobe32(i32 noundef %181) #4
%183 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 32
store ptr %182, ptr %183, align 8, !tbaa !47
%184 = load i32, ptr %151, align 8, !tbaa !42
%185 = call i32 @V_FW_FILTER_WR_TID(i32 noundef %184) #4
%186 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 22
%187 = load i64, ptr %186, align 8, !tbaa !49
%188 = call i32 @V_FW_FILTER_WR_RQTYPE(i64 noundef %187) #4
%189 = or i32 %188, %185
%190 = call i32 @V_FW_FILTER_WR_NOREPLY(i32 noundef 0) #4
%191 = or i32 %189, %190
%192 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 21
%193 = load i32, ptr %192, align 8, !tbaa !50
%194 = call i32 @V_FW_FILTER_WR_IQ(i32 noundef %193) #4
%195 = or i32 %191, %194
%196 = call ptr @htobe32(i32 noundef %195) #4
%197 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 31
store ptr %196, ptr %197, align 8, !tbaa !51
%198 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 20
%199 = load i32, ptr %198, align 4, !tbaa !52
%200 = call i32 @V_FW_FILTER_WR_RPTTID(i32 noundef %199) #4
%201 = load i64, ptr %152, align 8, !tbaa !53
%202 = load i64, ptr @FILTER_DROP, align 8, !tbaa !44
%203 = icmp eq i64 %201, %202
%204 = zext i1 %203 to i32
%205 = call i32 @V_FW_FILTER_WR_DROP(i32 noundef %204) #4
%206 = or i32 %205, %200
%207 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 19
%208 = load i32, ptr %207, align 8, !tbaa !54
%209 = call i32 @V_FW_FILTER_WR_DIRSTEER(i32 noundef %208) #4
%210 = or i32 %206, %209
%211 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 18
%212 = load i32, ptr %211, align 4, !tbaa !55
%213 = call i32 @V_FW_FILTER_WR_MASKHASH(i32 noundef %212) #4
%214 = or i32 %210, %213
%215 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 17
%216 = load i32, ptr %215, align 8, !tbaa !56
%217 = call i32 @V_FW_FILTER_WR_DIRSTEERHASH(i32 noundef %216) #4
%218 = or i32 %214, %217
%219 = load i64, ptr %152, align 8, !tbaa !53
%220 = load i64, ptr @FILTER_SWITCH, align 8, !tbaa !44
%221 = icmp eq i64 %219, %220
%222 = zext i1 %221 to i32
%223 = call i32 @V_FW_FILTER_WR_LPBK(i32 noundef %222) #4
%224 = or i32 %218, %223
%225 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 16
%226 = load i32, ptr %225, align 4, !tbaa !57
%227 = call i32 @V_FW_FILTER_WR_DMAC(i32 noundef %226) #4
%228 = or i32 %224, %227
%229 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 15
%230 = load i32, ptr %229, align 8, !tbaa !58
%231 = call i32 @V_FW_FILTER_WR_SMAC(i32 noundef %230) #4
%232 = or i32 %228, %231
%233 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 1
%234 = load i64, ptr %233, align 8, !tbaa !59
%235 = load i64, ptr @VLAN_INSERT, align 8, !tbaa !44
%236 = icmp eq i64 %234, %235
%237 = load i64, ptr @VLAN_REWRITE, align 8
%238 = icmp eq i64 %234, %237
%239 = select i1 %236, i1 true, i1 %238
%240 = zext i1 %239 to i32
%241 = call i32 @V_FW_FILTER_WR_INSVLAN(i32 noundef %240) #4
%242 = or i32 %232, %241
%243 = load i64, ptr %233, align 8, !tbaa !59
%244 = load i64, ptr @VLAN_REMOVE, align 8, !tbaa !44
%245 = icmp eq i64 %243, %244
%246 = load i64, ptr @VLAN_REWRITE, align 8
%247 = icmp eq i64 %243, %246
%248 = select i1 %245, i1 true, i1 %247
%249 = zext i1 %248 to i32
%250 = call i32 @V_FW_FILTER_WR_RMVLAN(i32 noundef %249) #4
%251 = or i32 %242, %250
%252 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 14
%253 = load i32, ptr %252, align 4, !tbaa !60
%254 = call i32 @V_FW_FILTER_WR_HITCNTS(i32 noundef %253) #4
%255 = or i32 %251, %254
%256 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 13
%257 = load i32, ptr %256, align 8, !tbaa !61
%258 = call i32 @V_FW_FILTER_WR_TXCHAN(i32 noundef %257) #4
%259 = or i32 %255, %258
%260 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 12
%261 = load i64, ptr %260, align 8, !tbaa !62
%262 = call i32 @V_FW_FILTER_WR_PRIO(i64 noundef %261) #4
%263 = or i32 %259, %262
%264 = load ptr, ptr %153, align 8, !tbaa !45
%265 = icmp eq ptr %264, null
br i1 %265, label %268, label %266
266: ; preds = %169
%267 = load i32, ptr %264, align 4, !tbaa !63
br label %268
268: ; preds = %169, %266
%269 = phi i32 [ %267, %266 ], [ 0, %169 ]
%270 = call i32 @V_FW_FILTER_WR_L2TIX(i32 noundef %269) #4
%271 = or i32 %263, %270
%272 = call ptr @htobe32(i32 noundef %271) #4
%273 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 30
store ptr %272, ptr %273, align 8, !tbaa !65
%274 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 2
%275 = load i32, ptr %274, align 4, !tbaa !66
%276 = call ptr @htobe16(i32 noundef %275) #4
%277 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 29
store ptr %276, ptr %277, align 8, !tbaa !67
%278 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 2
%279 = load i32, ptr %278, align 8, !tbaa !68
%280 = call ptr @htobe16(i32 noundef %279) #4
%281 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 28
store ptr %280, ptr %281, align 8, !tbaa !69
%282 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 16
%283 = load i32, ptr %282, align 4, !tbaa !70
%284 = call i32 @V_FW_FILTER_WR_FRAG(i32 noundef %283) #4
%285 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 16
%286 = load i32, ptr %285, align 8, !tbaa !71
%287 = call i32 @V_FW_FILTER_WR_FRAGM(i32 noundef %286) #4
%288 = or i32 %287, %284
%289 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 15
%290 = load i32, ptr %289, align 4, !tbaa !72
%291 = call i32 @V_FW_FILTER_WR_IVLAN_VLD(i32 noundef %290) #4
%292 = or i32 %288, %291
%293 = call i32 @V_FW_FILTER_WR_OVLAN_VLD(i32 noundef %162) #4
%294 = or i32 %292, %293
%295 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 15
%296 = load i32, ptr %295, align 4, !tbaa !73
%297 = call i32 @V_FW_FILTER_WR_IVLAN_VLDM(i32 noundef %296) #4
%298 = or i32 %294, %297
%299 = call i32 @V_FW_FILTER_WR_OVLAN_VLDM(i32 noundef %170) #4
%300 = or i32 %298, %299
store i32 %300, ptr %150, align 8, !tbaa !74
%301 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 27
store i64 0, ptr %301, align 8, !tbaa !75
%302 = call i32 @V_FW_FILTER_WR_RX_CHAN(i32 noundef 0) #4
%303 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1
%304 = getelementptr inbounds %struct.adapter, ptr %0, i64 0, i32 1, i32 1
%305 = load i32, ptr %304, align 8, !tbaa !76
%306 = call i32 @V_FW_FILTER_WR_RX_RPL_IQ(i32 noundef %305) #4
%307 = or i32 %306, %302
%308 = call ptr @htobe16(i32 noundef %307) #4
%309 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 26
store ptr %308, ptr %309, align 8, !tbaa !77
%310 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 14
%311 = load i32, ptr %310, align 4, !tbaa !78
%312 = call i32 @V_FW_FILTER_WR_MACI(i32 noundef %311) #4
%313 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 14
%314 = load i32, ptr %313, align 8, !tbaa !79
%315 = call i32 @V_FW_FILTER_WR_MACIM(i32 noundef %314) #4
%316 = or i32 %315, %312
%317 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 13
%318 = load i32, ptr %317, align 4, !tbaa !80
%319 = call i32 @V_FW_FILTER_WR_FCOE(i32 noundef %318) #4
%320 = or i32 %316, %319
%321 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 13
%322 = load i32, ptr %321, align 4, !tbaa !81
%323 = call i32 @V_FW_FILTER_WR_FCOEM(i32 noundef %322) #4
%324 = or i32 %320, %323
%325 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 12
%326 = load i32, ptr %325, align 4, !tbaa !82
%327 = call i32 @V_FW_FILTER_WR_PORT(i32 noundef %326) #4
%328 = or i32 %324, %327
%329 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 12
%330 = load i32, ptr %329, align 8, !tbaa !83
%331 = call i32 @V_FW_FILTER_WR_PORTM(i32 noundef %330) #4
%332 = or i32 %328, %331
%333 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 11
%334 = load i32, ptr %333, align 4, !tbaa !84
%335 = call i32 @V_FW_FILTER_WR_MATCHTYPE(i32 noundef %334) #4
%336 = or i32 %332, %335
%337 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 11
%338 = load i32, ptr %337, align 4, !tbaa !85
%339 = call i32 @V_FW_FILTER_WR_MATCHTYPEM(i32 noundef %338) #4
%340 = or i32 %336, %339
%341 = call ptr @htobe32(i32 noundef %340) #4
%342 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 25
store ptr %341, ptr %342, align 8, !tbaa !86
%343 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 10
%344 = load i32, ptr %343, align 4, !tbaa !87
%345 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 24
store i32 %344, ptr %345, align 4, !tbaa !88
%346 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 10
%347 = load i32, ptr %346, align 8, !tbaa !89
%348 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 23
store i32 %347, ptr %348, align 8, !tbaa !90
%349 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 9
%350 = load i32, ptr %349, align 4, !tbaa !91
%351 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 22
store i32 %350, ptr %351, align 4, !tbaa !92
%352 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 9
%353 = load i32, ptr %352, align 4, !tbaa !93
%354 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 21
store i32 %353, ptr %354, align 8, !tbaa !94
%355 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 3
%356 = load i32, ptr %355, align 4, !tbaa !95
%357 = call ptr @htobe16(i32 noundef %356) #4
%358 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 20
store ptr %357, ptr %358, align 8, !tbaa !96
%359 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 3
%360 = load i32, ptr %359, align 4, !tbaa !97
%361 = call ptr @htobe16(i32 noundef %360) #4
%362 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 19
store ptr %361, ptr %362, align 8, !tbaa !98
%363 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 4
%364 = load i32, ptr %363, align 4, !tbaa !99
%365 = call ptr @htobe16(i32 noundef %364) #4
%366 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 18
store ptr %365, ptr %366, align 8, !tbaa !100
%367 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 4
%368 = load i32, ptr %367, align 8, !tbaa !101
%369 = call ptr @htobe16(i32 noundef %368) #4
%370 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 17
store ptr %369, ptr %370, align 8, !tbaa !102
%371 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 8
%372 = load i32, ptr %371, align 4, !tbaa !103
%373 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 16
%374 = load i32, ptr %373, align 4, !tbaa !104
%375 = call i32 @bcopy(i32 noundef %372, i32 noundef %374, i32 noundef 4) #4
%376 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 8
%377 = load i32, ptr %376, align 8, !tbaa !105
%378 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 15
%379 = load i32, ptr %378, align 8, !tbaa !106
%380 = call i32 @bcopy(i32 noundef %377, i32 noundef %379, i32 noundef 4) #4
%381 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 7
%382 = load i32, ptr %381, align 4, !tbaa !107
%383 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 14
%384 = load i32, ptr %383, align 4, !tbaa !108
%385 = call i32 @bcopy(i32 noundef %382, i32 noundef %384, i32 noundef 4) #4
%386 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 7
%387 = load i32, ptr %386, align 4, !tbaa !109
%388 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 13
%389 = load i32, ptr %388, align 8, !tbaa !110
%390 = call i32 @bcopy(i32 noundef %387, i32 noundef %389, i32 noundef 4) #4
%391 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 5
%392 = load i32, ptr %391, align 4, !tbaa !111
%393 = call ptr @htobe16(i32 noundef %392) #4
%394 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 12
store ptr %393, ptr %394, align 8, !tbaa !112
%395 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 5
%396 = load i32, ptr %395, align 4, !tbaa !113
%397 = call ptr @htobe16(i32 noundef %396) #4
%398 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 11
store ptr %397, ptr %398, align 8, !tbaa !114
%399 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 11, i32 6
%400 = load i32, ptr %399, align 4, !tbaa !115
%401 = call ptr @htobe16(i32 noundef %400) #4
%402 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 10
store ptr %401, ptr %402, align 8, !tbaa !116
%403 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 10, i32 6
%404 = load i32, ptr %403, align 8, !tbaa !117
%405 = call ptr @htobe16(i32 noundef %404) #4
%406 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 9
store ptr %405, ptr %406, align 8, !tbaa !118
%407 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 8
%408 = load ptr, ptr %407, align 8, !tbaa !119
%409 = call i32 @bzero(ptr noundef %408, i32 noundef 8) #4
%410 = load i64, ptr %172, align 8, !tbaa !38
%411 = icmp eq i64 %410, 0
br i1 %411, label %454, label %412
412: ; preds = %268
%413 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 9
%414 = load i32, ptr %413, align 4, !tbaa !120
%415 = call i32 @V_FW_FILTER2_WR_SWAPMAC(i32 noundef %414) #4
%416 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 7
store i32 %415, ptr %416, align 8, !tbaa !121
%417 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 7
%418 = load i64, ptr %417, align 8, !tbaa !122
%419 = icmp eq i64 %418, 0
%420 = load i32, ptr @ULP_MODE_TCPDDP, align 4
%421 = load i32, ptr @ULP_MODE_NONE, align 4
%422 = select i1 %419, i32 %421, i32 %420
%423 = call i32 @V_FW_FILTER2_WR_ULP_TYPE(i32 noundef %422) #4
%424 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 8
%425 = load i32, ptr %424, align 8, !tbaa !123
%426 = call i32 @V_FW_FILTER2_WR_NATFLAGCHECK(i32 noundef %425) #4
%427 = or i32 %426, %423
%428 = load i64, ptr %417, align 8, !tbaa !122
%429 = call i32 @V_FW_FILTER2_WR_NATMODE(i64 noundef %428) #4
%430 = or i32 %427, %429
%431 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 1
store i32 %430, ptr %431, align 4, !tbaa !124
%432 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 6
%433 = load i32, ptr %432, align 4, !tbaa !125
%434 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 6
%435 = load i32, ptr %434, align 8, !tbaa !126
%436 = call i32 @memcpy(i32 noundef %433, i32 noundef %435, i32 noundef 4) #4
%437 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 5
%438 = load i32, ptr %437, align 8, !tbaa !127
%439 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 5
%440 = load i32, ptr %439, align 4, !tbaa !128
%441 = call i32 @memcpy(i32 noundef %438, i32 noundef %440, i32 noundef 4) #4
%442 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 2
%443 = load i32, ptr %442, align 8, !tbaa !129
%444 = call ptr @htobe16(i32 noundef %443) #4
%445 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 4
store ptr %444, ptr %445, align 8, !tbaa !130
%446 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 3
%447 = load i32, ptr %446, align 4, !tbaa !131
%448 = call ptr @htobe16(i32 noundef %447) #4
%449 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 3
store ptr %448, ptr %449, align 8, !tbaa !132
%450 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 3, i32 4
%451 = load i32, ptr %450, align 8, !tbaa !133
%452 = call ptr @htobe32(i32 noundef %451) #4
%453 = getelementptr inbounds %struct.fw_filter2_wr, ptr %150, i64 0, i32 2
store ptr %452, ptr %453, align 8, !tbaa !134
br label %454
454: ; preds = %412, %268
%455 = load ptr, ptr %303, align 8, !tbaa !39
%456 = call i32 @commit_wrq_wr(ptr noundef %455, ptr noundef nonnull %150, ptr noundef nonnull %5) #4
%457 = call i32 @mtx_lock(ptr noundef nonnull %67) #4
%458 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 5
br label %459
459: ; preds = %468, %454
%460 = load i32, ptr %63, align 8, !tbaa !32
%461 = icmp eq i32 %460, 0
br i1 %461, label %462, label %468
462: ; preds = %459
%463 = getelementptr inbounds %struct.filter_entry, ptr %63, i64 0, i32 1
%464 = load i32, ptr %463, align 4, !tbaa !34
%465 = icmp eq i32 %464, 0
%466 = load i32, ptr @EIO, align 4
%467 = select i1 %465, i32 %466, i32 0
br label %473
468: ; preds = %459
%469 = call i64 @cv_wait_sig(ptr noundef nonnull %458, ptr noundef nonnull %67) #4
%470 = icmp eq i64 %469, 0
br i1 %470, label %459, label %471
471: ; preds = %468
%472 = load i32, ptr @EINPROGRESS, align 4, !tbaa !31
br label %473
473: ; preds = %471, %462
%474 = phi i32 [ %467, %462 ], [ %472, %471 ]
%475 = call i32 @mtx_unlock(ptr noundef nonnull %67) #4
br label %476
476: ; preds = %143, %473
%477 = phi i32 [ %474, %473 ], [ %146, %143 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret i32 %477
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MPASS(i32 noundef) local_unnamed_addr #2
declare i64 @separate_hpfilter_region(ptr noundef) local_unnamed_addr #2
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2
declare i32 @howmany(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @start_wrq_wr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @__predict_false(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 @mtx_unlock(ptr noundef) local_unnamed_addr #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
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @htobe32(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_WR_OP(i32 noundef) local_unnamed_addr #2
declare i32 @FW_LEN16(ptr noundef byval(%struct.fw_filter2_wr) align 8) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_TID(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RQTYPE(i64 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_NOREPLY(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IQ(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RPTTID(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DROP(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DIRSTEER(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MASKHASH(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DIRSTEERHASH(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_LPBK(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_SMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_INSVLAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RMVLAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_HITCNTS(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_TXCHAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PRIO(i64 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_L2TIX(i32 noundef) local_unnamed_addr #2
declare ptr @htobe16(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FRAG(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FRAGM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IVLAN_VLD(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_OVLAN_VLD(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IVLAN_VLDM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_OVLAN_VLDM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RX_CHAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RX_RPL_IQ(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MACI(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MACIM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FCOE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FCOEM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PORT(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PORTM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MATCHTYPE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MATCHTYPEM(i32 noundef) local_unnamed_addr #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_SWAPMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_ULP_TYPE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_NATFLAGCHECK(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_NATMODE(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @commit_wrq_wr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @cv_wait_sig(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 248}
!6 = !{!"t4_filter", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_12__", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !7, i64 40, !11, i64 48, !11, i64 52, !12, i64 56, !13, i64 124, !7, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !7, i64 240, !11, i64 248}
!11 = !{!"int", !8, i64 0}
!12 = !{!"TYPE_10__", !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}
!13 = !{!"TYPE_9__", !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}
!14 = !{!6, !11, i64 256}
!15 = !{!6, !11, i64 132}
!16 = !{!6, !11, i64 136}
!17 = !{!6, !11, i64 64}
!18 = !{!6, !11, i64 68}
!19 = !{!6, !7, i64 200}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"adapter", !23, i64 0, !25, i64 64, !27, i64 80}
!23 = !{!"TYPE_14__", !7, i64 0, !11, i64 8, !7, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !24, i64 48, !24, i64 56}
!24 = !{!"any pointer", !8, i64 0}
!25 = !{!"TYPE_13__", !24, i64 0, !26, i64 8}
!26 = !{!"TYPE_8__", !11, i64 0}
!27 = !{!"TYPE_11__", !7, i64 0}
!28 = !{!22, !24, i64 56}
!29 = !{!22, !7, i64 16}
!30 = !{!22, !24, i64 48}
!31 = !{!11, !11, i64 0}
!32 = !{!33, !11, i64 0}
!33 = !{!"filter_entry", !11, i64 0, !11, i64 4, !11, i64 8, !10, i64 16, !24, i64 272, !24, i64 280, !7, i64 288}
!34 = !{!33, !11, i64 4}
!35 = !{!33, !7, i64 288}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!22, !7, i64 80}
!39 = !{!22, !24, i64 64}
!40 = !{!22, !11, i64 40}
!41 = !{!22, !11, i64 36}
!42 = !{!33, !11, i64 8}
!43 = !{i64 0, i64 8, !44, i64 8, i64 8, !44, i64 16, i64 4, !31, i64 20, i64 4, !31, i64 24, i64 4, !31, i64 28, i64 4, !31, i64 32, i64 4, !31, i64 40, i64 8, !44, i64 48, i64 4, !31, i64 52, i64 4, !31, i64 56, i64 4, !31, i64 60, i64 4, !31, i64 64, i64 4, !31, i64 68, i64 4, !31, i64 72, i64 4, !31, i64 76, i64 4, !31, i64 80, i64 4, !31, i64 84, i64 4, !31, i64 88, i64 4, !31, i64 92, i64 4, !31, i64 96, i64 4, !31, i64 100, i64 4, !31, i64 104, i64 4, !31, i64 108, i64 4, !31, i64 112, i64 4, !31, i64 116, i64 4, !31, i64 120, i64 4, !31, i64 124, i64 4, !31, i64 128, i64 4, !31, i64 132, i64 4, !31, i64 136, i64 4, !31, i64 140, i64 4, !31, i64 144, i64 4, !31, i64 148, i64 4, !31, i64 152, i64 4, !31, i64 156, i64 4, !31, i64 160, i64 4, !31, i64 164, i64 4, !31, i64 168, i64 4, !31, i64 172, i64 4, !31, i64 176, i64 4, !31, i64 180, i64 4, !31, i64 184, i64 4, !31, i64 188, i64 4, !31, i64 192, i64 8, !44, i64 200, i64 4, !31, i64 204, i64 4, !31, i64 208, i64 4, !31, i64 212, i64 4, !31, i64 216, i64 4, !31, i64 220, i64 4, !31, i64 224, i64 4, !31, i64 228, i64 4, !31, i64 232, i64 4, !31, i64 240, i64 8, !44, i64 248, i64 4, !31}
!44 = !{!7, !7, i64 0}
!45 = !{!33, !24, i64 272}
!46 = !{!33, !24, i64 280}
!47 = !{!48, !24, i64 208}
!48 = !{!"fw_filter2_wr", !11, i64 0, !11, i64 4, !24, i64 8, !24, i64 16, !24, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !24, i64 48, !24, i64 56, !24, i64 64, !24, i64 72, !24, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !24, i64 104, !24, i64 112, !24, i64 120, !24, i64 128, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !24, i64 152, !24, i64 160, !7, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !24, i64 200, !24, i64 208, !24, i64 216}
!49 = !{!33, !7, i64 256}
!50 = !{!33, !11, i64 248}
!51 = !{!48, !24, i64 200}
!52 = !{!33, !11, i64 244}
!53 = !{!33, !7, i64 16}
!54 = !{!33, !11, i64 240}
!55 = !{!33, !11, i64 236}
!56 = !{!33, !11, i64 232}
!57 = !{!33, !11, i64 228}
!58 = !{!33, !11, i64 224}
!59 = !{!33, !7, i64 24}
!60 = !{!33, !11, i64 220}
!61 = !{!33, !11, i64 216}
!62 = !{!33, !7, i64 208}
!63 = !{!64, !11, i64 0}
!64 = !{!"l2t_entry", !11, i64 0}
!65 = !{!48, !24, i64 192}
!66 = !{!33, !11, i64 148}
!67 = !{!48, !24, i64 184}
!68 = !{!33, !11, i64 80}
!69 = !{!48, !24, i64 176}
!70 = !{!33, !11, i64 204}
!71 = !{!33, !11, i64 136}
!72 = !{!33, !11, i64 200}
!73 = !{!33, !11, i64 132}
!74 = !{!48, !11, i64 0}
!75 = !{!48, !7, i64 168}
!76 = !{!22, !11, i64 72}
!77 = !{!48, !24, i64 160}
!78 = !{!33, !11, i64 196}
!79 = !{!33, !11, i64 128}
!80 = !{!33, !11, i64 192}
!81 = !{!33, !11, i64 124}
!82 = !{!33, !11, i64 188}
!83 = !{!33, !11, i64 120}
!84 = !{!33, !11, i64 184}
!85 = !{!33, !11, i64 116}
!86 = !{!48, !24, i64 152}
!87 = !{!33, !11, i64 180}
!88 = !{!48, !11, i64 148}
!89 = !{!33, !11, i64 112}
!90 = !{!48, !11, i64 144}
!91 = !{!33, !11, i64 176}
!92 = !{!48, !11, i64 140}
!93 = !{!33, !11, i64 108}
!94 = !{!48, !11, i64 136}
!95 = !{!33, !11, i64 152}
!96 = !{!48, !24, i64 128}
!97 = !{!33, !11, i64 84}
!98 = !{!48, !24, i64 120}
!99 = !{!33, !11, i64 156}
!100 = !{!48, !24, i64 112}
!101 = !{!33, !11, i64 88}
!102 = !{!48, !24, i64 104}
!103 = !{!33, !11, i64 172}
!104 = !{!48, !11, i64 100}
!105 = !{!33, !11, i64 104}
!106 = !{!48, !11, i64 96}
!107 = !{!33, !11, i64 168}
!108 = !{!48, !11, i64 92}
!109 = !{!33, !11, i64 100}
!110 = !{!48, !11, i64 88}
!111 = !{!33, !11, i64 160}
!112 = !{!48, !24, i64 80}
!113 = !{!33, !11, i64 92}
!114 = !{!48, !24, i64 72}
!115 = !{!33, !11, i64 164}
!116 = !{!48, !24, i64 64}
!117 = !{!33, !11, i64 96}
!118 = !{!48, !24, i64 56}
!119 = !{!48, !24, i64 48}
!120 = !{!33, !11, i64 68}
!121 = !{!48, !11, i64 40}
!122 = !{!33, !7, i64 56}
!123 = !{!33, !11, i64 64}
!124 = !{!48, !11, i64 4}
!125 = !{!48, !11, i64 36}
!126 = !{!33, !11, i64 48}
!127 = !{!48, !11, i64 32}
!128 = !{!33, !11, i64 44}
!129 = !{!33, !11, i64 32}
!130 = !{!48, !24, i64 24}
!131 = !{!33, !11, i64 36}
!132 = !{!48, !24, i64 16}
!133 = !{!33, !11, i64 40}
!134 = !{!48, !24, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_filter.c_set_tcamfilter.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgbe/extr_t4_filter.c_set_tcamfilter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.wrq_cookie = type { i32 }
%struct.fw_filter2_wr = type { i32, i32, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.filter_entry = type { i32, i32, i32, %struct.TYPE_12__, ptr, ptr, i64 }
%struct.TYPE_12__ = type { i64, i64, i32, i32, i32, i32, i32, i64, i32, i32, %struct.TYPE_10__, %struct.TYPE_9__, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32 }
%struct.TYPE_10__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@EPERM = common local_unnamed_addr global i32 0, align 4
@EBUSY = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@FW_FILTER2_WR = common local_unnamed_addr global i32 0, align 4
@FW_FILTER_WR = common local_unnamed_addr global i32 0, align 4
@FILTER_DROP = common local_unnamed_addr global i64 0, align 8
@FILTER_SWITCH = common local_unnamed_addr global i64 0, align 8
@VLAN_INSERT = common local_unnamed_addr global i64 0, align 8
@VLAN_REWRITE = common local_unnamed_addr global i64 0, align 8
@VLAN_REMOVE = common local_unnamed_addr global i64 0, align 8
@ULP_MODE_TCPDDP = common local_unnamed_addr global i32 0, align 4
@ULP_MODE_NONE = common local_unnamed_addr global i32 0, align 4
@EIO = common local_unnamed_addr global i32 0, align 4
@EINPROGRESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @set_tcamfilter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @set_tcamfilter(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca %struct.wrq_cookie, align 4
%6 = alloca %struct.fw_filter2_wr, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = getelementptr inbounds i8, ptr %1, i64 248
%9 = load i64, ptr %8, align 8, !tbaa !6
%10 = icmp eq i64 %9, 0
%11 = getelementptr inbounds i8, ptr %1, i64 256
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = icmp eq i32 %12, 0
%14 = zext i1 %13 to i32
%15 = tail call i32 @MPASS(i32 noundef %14) #4
%16 = getelementptr inbounds i8, ptr %1, i64 132
%17 = load i32, ptr %16, align 4, !tbaa !16
%18 = getelementptr inbounds i8, ptr %1, i64 136
%19 = load i32, ptr %18, align 4, !tbaa !17
%20 = and i32 %19, %17
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = tail call i32 @MPASS(i32 noundef %22) #4
%24 = getelementptr inbounds i8, ptr %1, i64 64
%25 = load i32, ptr %24, align 8, !tbaa !18
%26 = getelementptr inbounds i8, ptr %1, i64 68
%27 = load i32, ptr %26, align 4, !tbaa !19
%28 = and i32 %27, %25
%29 = icmp eq i32 %28, 0
%30 = zext i1 %29 to i32
%31 = tail call i32 @MPASS(i32 noundef %30) #4
%32 = tail call i64 @separate_hpfilter_region(ptr noundef %0) #4
%33 = icmp eq i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %4
%35 = getelementptr inbounds i8, ptr %1, i64 200
%36 = load i64, ptr %35, align 8, !tbaa !20
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %34, %4
%39 = getelementptr inbounds i8, ptr %0, i64 16
br label %40
40: ; preds = %34, %38
%41 = phi ptr [ %39, %38 ], [ %0, %34 ]
%42 = phi i64 [ 48, %38 ], [ 56, %34 ]
%43 = phi i64 [ 24, %38 ], [ 8, %34 ]
%44 = load i64, ptr %1, align 8, !tbaa !21
%45 = load i64, ptr %41, align 8, !tbaa !22
%46 = icmp ult i64 %44, %45
%47 = zext i1 %46 to i32
%48 = tail call i32 @MPASS(i32 noundef %47) #4
%49 = getelementptr inbounds i8, ptr %0, i64 %42
%50 = load ptr, ptr %49, align 8, !tbaa !23
%51 = load i64, ptr %1, align 8, !tbaa !21
%52 = getelementptr inbounds %struct.filter_entry, ptr %50, i64 %51
%53 = getelementptr inbounds i8, ptr %0, i64 %43
%54 = load i32, ptr %53, align 8, !tbaa !25
%55 = trunc i64 %51 to i32
%56 = add i32 %54, %55
%57 = getelementptr inbounds i8, ptr %0, i64 28
%58 = tail call i32 @mtx_lock(ptr noundef nonnull %57) #4
%59 = load i32, ptr %52, align 8, !tbaa !26
%60 = getelementptr inbounds i8, ptr %52, i64 4
%61 = load i32, ptr %60, align 4, !tbaa !28
%62 = add i32 %59, %61
%63 = getelementptr inbounds i8, ptr %52, i64 288
%64 = load i64, ptr %63, align 8, !tbaa !29
%65 = trunc i64 %64 to i32
br i1 %10, label %97, label %66, !llvm.loop !30
66: ; preds = %40
%67 = getelementptr inbounds i8, ptr %52, i64 296
%68 = load i32, ptr %67, align 8, !tbaa !26
%69 = getelementptr inbounds i8, ptr %52, i64 300
%70 = load i32, ptr %69, align 4, !tbaa !28
%71 = add i32 %68, %62
%72 = add i32 %71, %70
%73 = getelementptr inbounds i8, ptr %52, i64 584
%74 = load i64, ptr %73, align 8, !tbaa !29
%75 = trunc i64 %74 to i32
%76 = add i32 %65, %75
%77 = getelementptr inbounds i8, ptr %52, i64 592
%78 = load i32, ptr %77, align 8, !tbaa !26
%79 = getelementptr inbounds i8, ptr %52, i64 596
%80 = load i32, ptr %79, align 4, !tbaa !28
%81 = add i32 %78, %72
%82 = add i32 %81, %80
%83 = getelementptr inbounds i8, ptr %52, i64 880
%84 = load i64, ptr %83, align 8, !tbaa !29
%85 = trunc i64 %84 to i32
%86 = add i32 %76, %85
%87 = getelementptr inbounds i8, ptr %52, i64 888
%88 = load i32, ptr %87, align 8, !tbaa !26
%89 = getelementptr inbounds i8, ptr %52, i64 892
%90 = load i32, ptr %89, align 4, !tbaa !28
%91 = add i32 %88, %82
%92 = add i32 %91, %90
%93 = getelementptr inbounds i8, ptr %52, i64 1176
%94 = load i64, ptr %93, align 8, !tbaa !29
%95 = trunc i64 %94 to i32
%96 = add i32 %86, %95
br label %97
97: ; preds = %66, %40
%98 = phi i32 [ %62, %40 ], [ %92, %66 ]
%99 = phi i32 [ %65, %40 ], [ %96, %66 ]
%100 = icmp sgt i32 %99, 0
br i1 %100, label %133, label %101
101: ; preds = %97
%102 = icmp sgt i32 %98, 0
br i1 %102, label %133, label %103
103: ; preds = %101
%104 = getelementptr inbounds i8, ptr %0, i64 80
%105 = load i64, ptr %104, align 8, !tbaa !32
%106 = icmp eq i64 %105, 0
%107 = select i1 %106, i32 4, i32 224
%108 = tail call i32 @howmany(i32 noundef %107, i32 noundef 16) #4
%109 = getelementptr inbounds i8, ptr %0, i64 64
%110 = load ptr, ptr %109, align 8, !tbaa !38
%111 = call ptr @start_wrq_wr(ptr noundef %110, i32 noundef %108, ptr noundef nonnull %5) #4
%112 = icmp eq ptr %111, null
%113 = zext i1 %112 to i32
%114 = call i64 @__predict_false(i32 noundef %113) #4
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %133
116: ; preds = %103
store i32 1, ptr %52, align 8, !tbaa !26
%117 = call i64 @separate_hpfilter_region(ptr noundef nonnull %0) #4
%118 = icmp eq i64 %117, 0
br i1 %118, label %127, label %119
119: ; preds = %116
%120 = getelementptr inbounds i8, ptr %1, i64 200
%121 = load i64, ptr %120, align 8, !tbaa !20
%122 = icmp eq i64 %121, 0
br i1 %122, label %127, label %123
123: ; preds = %119
%124 = getelementptr inbounds i8, ptr %0, i64 40
%125 = load i32, ptr %124, align 8, !tbaa !39
%126 = add nsw i32 %125, 1
store i32 %126, ptr %124, align 8, !tbaa !39
br label %131
127: ; preds = %119, %116
%128 = getelementptr inbounds i8, ptr %0, i64 36
%129 = load i32, ptr %128, align 4, !tbaa !40
%130 = add nsw i32 %129, 1
store i32 %130, ptr %128, align 4, !tbaa !40
br label %131
131: ; preds = %123, %127
%132 = call i32 @mtx_unlock(ptr noundef nonnull %57) #4
br label %139
133: ; preds = %103, %101, %97
%134 = phi ptr [ undef, %97 ], [ undef, %101 ], [ %111, %103 ]
%135 = phi ptr [ @EPERM, %97 ], [ @EBUSY, %101 ], [ @ENOMEM, %103 ]
%136 = load i32, ptr %135, align 4, !tbaa !25
%137 = call i32 @mtx_unlock(ptr noundef nonnull %57) #4
%138 = icmp eq i32 %136, 0
br i1 %138, label %139, label %466
139: ; preds = %131, %133
%140 = phi ptr [ %111, %131 ], [ %134, %133 ]
%141 = getelementptr inbounds i8, ptr %52, i64 8
store i32 %56, ptr %141, align 8, !tbaa !41
%142 = getelementptr inbounds i8, ptr %52, i64 16
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %142, ptr noundef nonnull align 8 dereferenceable(256) %7, i64 256, i1 false), !tbaa.struct !42
%143 = getelementptr inbounds i8, ptr %52, i64 272
store ptr %2, ptr %143, align 8, !tbaa !43
%144 = getelementptr inbounds i8, ptr %52, i64 280
store ptr %3, ptr %144, align 8, !tbaa !44
%145 = load i32, ptr %16, align 4, !tbaa !16
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %151
147: ; preds = %139
%148 = load i32, ptr %18, align 4, !tbaa !17
%149 = icmp ne i32 %148, 0
%150 = zext i1 %149 to i32
br label %151
151: ; preds = %147, %139
%152 = phi i32 [ 1, %139 ], [ %150, %147 ]
%153 = load i32, ptr %24, align 8, !tbaa !18
%154 = icmp eq i32 %153, 0
br i1 %154, label %155, label %159
155: ; preds = %151
%156 = load i32, ptr %26, align 4, !tbaa !19
%157 = icmp ne i32 %156, 0
%158 = zext i1 %157 to i32
br label %159
159: ; preds = %155, %151
%160 = phi i32 [ 1, %151 ], [ %158, %155 ]
%161 = call i32 @bzero(ptr noundef %140, i32 noundef 224) #4
%162 = getelementptr inbounds i8, ptr %0, i64 80
%163 = load i64, ptr %162, align 8, !tbaa !32
%164 = icmp eq i64 %163, 0
%165 = load i32, ptr @FW_FILTER_WR, align 4
%166 = load i32, ptr @FW_FILTER2_WR, align 4
%167 = select i1 %164, i32 %165, i32 %166
%168 = call i32 @V_FW_WR_OP(i32 noundef %167) #4
%169 = call ptr @htobe32(i32 noundef %168) #4
%170 = getelementptr inbounds i8, ptr %140, i64 216
store ptr %169, ptr %170, align 8
call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %6) #4
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(224) %6, ptr noundef nonnull align 8 dereferenceable(224) %140, i64 224, i1 false), !tbaa.struct !45
%171 = call i32 @FW_LEN16(ptr noundef nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 224, ptr nonnull %6) #4
%172 = call ptr @htobe32(i32 noundef %171) #4
%173 = getelementptr inbounds i8, ptr %140, i64 208
store ptr %172, ptr %173, align 8, !tbaa !46
%174 = load i32, ptr %141, align 8, !tbaa !41
%175 = call i32 @V_FW_FILTER_WR_TID(i32 noundef %174) #4
%176 = getelementptr inbounds i8, ptr %52, i64 256
%177 = load i64, ptr %176, align 8, !tbaa !48
%178 = call i32 @V_FW_FILTER_WR_RQTYPE(i64 noundef %177) #4
%179 = or i32 %178, %175
%180 = call i32 @V_FW_FILTER_WR_NOREPLY(i32 noundef 0) #4
%181 = or i32 %179, %180
%182 = getelementptr inbounds i8, ptr %52, i64 248
%183 = load i32, ptr %182, align 8, !tbaa !49
%184 = call i32 @V_FW_FILTER_WR_IQ(i32 noundef %183) #4
%185 = or i32 %181, %184
%186 = call ptr @htobe32(i32 noundef %185) #4
%187 = getelementptr inbounds i8, ptr %140, i64 200
store ptr %186, ptr %187, align 8, !tbaa !50
%188 = getelementptr inbounds i8, ptr %52, i64 244
%189 = load i32, ptr %188, align 4, !tbaa !51
%190 = call i32 @V_FW_FILTER_WR_RPTTID(i32 noundef %189) #4
%191 = load i64, ptr %142, align 8, !tbaa !52
%192 = load i64, ptr @FILTER_DROP, align 8, !tbaa !22
%193 = icmp eq i64 %191, %192
%194 = zext i1 %193 to i32
%195 = call i32 @V_FW_FILTER_WR_DROP(i32 noundef %194) #4
%196 = or i32 %195, %190
%197 = getelementptr inbounds i8, ptr %52, i64 240
%198 = load i32, ptr %197, align 8, !tbaa !53
%199 = call i32 @V_FW_FILTER_WR_DIRSTEER(i32 noundef %198) #4
%200 = or i32 %196, %199
%201 = getelementptr inbounds i8, ptr %52, i64 236
%202 = load i32, ptr %201, align 4, !tbaa !54
%203 = call i32 @V_FW_FILTER_WR_MASKHASH(i32 noundef %202) #4
%204 = or i32 %200, %203
%205 = getelementptr inbounds i8, ptr %52, i64 232
%206 = load i32, ptr %205, align 8, !tbaa !55
%207 = call i32 @V_FW_FILTER_WR_DIRSTEERHASH(i32 noundef %206) #4
%208 = or i32 %204, %207
%209 = load i64, ptr %142, align 8, !tbaa !52
%210 = load i64, ptr @FILTER_SWITCH, align 8, !tbaa !22
%211 = icmp eq i64 %209, %210
%212 = zext i1 %211 to i32
%213 = call i32 @V_FW_FILTER_WR_LPBK(i32 noundef %212) #4
%214 = or i32 %208, %213
%215 = getelementptr inbounds i8, ptr %52, i64 228
%216 = load i32, ptr %215, align 4, !tbaa !56
%217 = call i32 @V_FW_FILTER_WR_DMAC(i32 noundef %216) #4
%218 = or i32 %214, %217
%219 = getelementptr inbounds i8, ptr %52, i64 224
%220 = load i32, ptr %219, align 8, !tbaa !57
%221 = call i32 @V_FW_FILTER_WR_SMAC(i32 noundef %220) #4
%222 = or i32 %218, %221
%223 = getelementptr inbounds i8, ptr %52, i64 24
%224 = load i64, ptr %223, align 8, !tbaa !58
%225 = load i64, ptr @VLAN_INSERT, align 8, !tbaa !22
%226 = icmp eq i64 %224, %225
%227 = load i64, ptr @VLAN_REWRITE, align 8
%228 = icmp eq i64 %224, %227
%229 = select i1 %226, i1 true, i1 %228
%230 = zext i1 %229 to i32
%231 = call i32 @V_FW_FILTER_WR_INSVLAN(i32 noundef %230) #4
%232 = or i32 %222, %231
%233 = load i64, ptr %223, align 8, !tbaa !58
%234 = load i64, ptr @VLAN_REMOVE, align 8, !tbaa !22
%235 = icmp eq i64 %233, %234
%236 = load i64, ptr @VLAN_REWRITE, align 8
%237 = icmp eq i64 %233, %236
%238 = select i1 %235, i1 true, i1 %237
%239 = zext i1 %238 to i32
%240 = call i32 @V_FW_FILTER_WR_RMVLAN(i32 noundef %239) #4
%241 = or i32 %232, %240
%242 = getelementptr inbounds i8, ptr %52, i64 220
%243 = load i32, ptr %242, align 4, !tbaa !59
%244 = call i32 @V_FW_FILTER_WR_HITCNTS(i32 noundef %243) #4
%245 = or i32 %241, %244
%246 = getelementptr inbounds i8, ptr %52, i64 216
%247 = load i32, ptr %246, align 8, !tbaa !60
%248 = call i32 @V_FW_FILTER_WR_TXCHAN(i32 noundef %247) #4
%249 = or i32 %245, %248
%250 = getelementptr inbounds i8, ptr %52, i64 208
%251 = load i64, ptr %250, align 8, !tbaa !61
%252 = call i32 @V_FW_FILTER_WR_PRIO(i64 noundef %251) #4
%253 = or i32 %249, %252
%254 = load ptr, ptr %143, align 8, !tbaa !43
%255 = icmp eq ptr %254, null
br i1 %255, label %258, label %256
256: ; preds = %159
%257 = load i32, ptr %254, align 4, !tbaa !62
br label %258
258: ; preds = %159, %256
%259 = phi i32 [ %257, %256 ], [ 0, %159 ]
%260 = call i32 @V_FW_FILTER_WR_L2TIX(i32 noundef %259) #4
%261 = or i32 %253, %260
%262 = call ptr @htobe32(i32 noundef %261) #4
%263 = getelementptr inbounds i8, ptr %140, i64 192
store ptr %262, ptr %263, align 8, !tbaa !64
%264 = getelementptr inbounds i8, ptr %52, i64 148
%265 = load i32, ptr %264, align 4, !tbaa !65
%266 = call ptr @htobe16(i32 noundef %265) #4
%267 = getelementptr inbounds i8, ptr %140, i64 184
store ptr %266, ptr %267, align 8, !tbaa !66
%268 = getelementptr inbounds i8, ptr %52, i64 80
%269 = load i32, ptr %268, align 8, !tbaa !67
%270 = call ptr @htobe16(i32 noundef %269) #4
%271 = getelementptr inbounds i8, ptr %140, i64 176
store ptr %270, ptr %271, align 8, !tbaa !68
%272 = getelementptr inbounds i8, ptr %52, i64 204
%273 = load i32, ptr %272, align 4, !tbaa !69
%274 = call i32 @V_FW_FILTER_WR_FRAG(i32 noundef %273) #4
%275 = getelementptr inbounds i8, ptr %52, i64 136
%276 = load i32, ptr %275, align 8, !tbaa !70
%277 = call i32 @V_FW_FILTER_WR_FRAGM(i32 noundef %276) #4
%278 = or i32 %277, %274
%279 = getelementptr inbounds i8, ptr %52, i64 200
%280 = load i32, ptr %279, align 4, !tbaa !71
%281 = call i32 @V_FW_FILTER_WR_IVLAN_VLD(i32 noundef %280) #4
%282 = or i32 %278, %281
%283 = call i32 @V_FW_FILTER_WR_OVLAN_VLD(i32 noundef %152) #4
%284 = or i32 %282, %283
%285 = getelementptr inbounds i8, ptr %52, i64 132
%286 = load i32, ptr %285, align 4, !tbaa !72
%287 = call i32 @V_FW_FILTER_WR_IVLAN_VLDM(i32 noundef %286) #4
%288 = or i32 %284, %287
%289 = call i32 @V_FW_FILTER_WR_OVLAN_VLDM(i32 noundef %160) #4
%290 = or i32 %288, %289
store i32 %290, ptr %140, align 8, !tbaa !73
%291 = getelementptr inbounds i8, ptr %140, i64 168
store i64 0, ptr %291, align 8, !tbaa !74
%292 = call i32 @V_FW_FILTER_WR_RX_CHAN(i32 noundef 0) #4
%293 = getelementptr inbounds i8, ptr %0, i64 64
%294 = getelementptr inbounds i8, ptr %0, i64 72
%295 = load i32, ptr %294, align 8, !tbaa !75
%296 = call i32 @V_FW_FILTER_WR_RX_RPL_IQ(i32 noundef %295) #4
%297 = or i32 %296, %292
%298 = call ptr @htobe16(i32 noundef %297) #4
%299 = getelementptr inbounds i8, ptr %140, i64 160
store ptr %298, ptr %299, align 8, !tbaa !76
%300 = getelementptr inbounds i8, ptr %52, i64 196
%301 = load i32, ptr %300, align 4, !tbaa !77
%302 = call i32 @V_FW_FILTER_WR_MACI(i32 noundef %301) #4
%303 = getelementptr inbounds i8, ptr %52, i64 128
%304 = load i32, ptr %303, align 8, !tbaa !78
%305 = call i32 @V_FW_FILTER_WR_MACIM(i32 noundef %304) #4
%306 = or i32 %305, %302
%307 = getelementptr inbounds i8, ptr %52, i64 192
%308 = load i32, ptr %307, align 4, !tbaa !79
%309 = call i32 @V_FW_FILTER_WR_FCOE(i32 noundef %308) #4
%310 = or i32 %306, %309
%311 = getelementptr inbounds i8, ptr %52, i64 124
%312 = load i32, ptr %311, align 4, !tbaa !80
%313 = call i32 @V_FW_FILTER_WR_FCOEM(i32 noundef %312) #4
%314 = or i32 %310, %313
%315 = getelementptr inbounds i8, ptr %52, i64 188
%316 = load i32, ptr %315, align 4, !tbaa !81
%317 = call i32 @V_FW_FILTER_WR_PORT(i32 noundef %316) #4
%318 = or i32 %314, %317
%319 = getelementptr inbounds i8, ptr %52, i64 120
%320 = load i32, ptr %319, align 8, !tbaa !82
%321 = call i32 @V_FW_FILTER_WR_PORTM(i32 noundef %320) #4
%322 = or i32 %318, %321
%323 = getelementptr inbounds i8, ptr %52, i64 184
%324 = load i32, ptr %323, align 4, !tbaa !83
%325 = call i32 @V_FW_FILTER_WR_MATCHTYPE(i32 noundef %324) #4
%326 = or i32 %322, %325
%327 = getelementptr inbounds i8, ptr %52, i64 116
%328 = load i32, ptr %327, align 4, !tbaa !84
%329 = call i32 @V_FW_FILTER_WR_MATCHTYPEM(i32 noundef %328) #4
%330 = or i32 %326, %329
%331 = call ptr @htobe32(i32 noundef %330) #4
%332 = getelementptr inbounds i8, ptr %140, i64 152
store ptr %331, ptr %332, align 8, !tbaa !85
%333 = getelementptr inbounds i8, ptr %52, i64 180
%334 = load i32, ptr %333, align 4, !tbaa !86
%335 = getelementptr inbounds i8, ptr %140, i64 148
store i32 %334, ptr %335, align 4, !tbaa !87
%336 = getelementptr inbounds i8, ptr %52, i64 112
%337 = load i32, ptr %336, align 8, !tbaa !88
%338 = getelementptr inbounds i8, ptr %140, i64 144
store i32 %337, ptr %338, align 8, !tbaa !89
%339 = getelementptr inbounds i8, ptr %52, i64 176
%340 = load i32, ptr %339, align 4, !tbaa !90
%341 = getelementptr inbounds i8, ptr %140, i64 140
store i32 %340, ptr %341, align 4, !tbaa !91
%342 = getelementptr inbounds i8, ptr %52, i64 108
%343 = load i32, ptr %342, align 4, !tbaa !92
%344 = getelementptr inbounds i8, ptr %140, i64 136
store i32 %343, ptr %344, align 8, !tbaa !93
%345 = getelementptr inbounds i8, ptr %52, i64 152
%346 = load i32, ptr %345, align 4, !tbaa !94
%347 = call ptr @htobe16(i32 noundef %346) #4
%348 = getelementptr inbounds i8, ptr %140, i64 128
store ptr %347, ptr %348, align 8, !tbaa !95
%349 = getelementptr inbounds i8, ptr %52, i64 84
%350 = load i32, ptr %349, align 4, !tbaa !96
%351 = call ptr @htobe16(i32 noundef %350) #4
%352 = getelementptr inbounds i8, ptr %140, i64 120
store ptr %351, ptr %352, align 8, !tbaa !97
%353 = getelementptr inbounds i8, ptr %52, i64 156
%354 = load i32, ptr %353, align 4, !tbaa !98
%355 = call ptr @htobe16(i32 noundef %354) #4
%356 = getelementptr inbounds i8, ptr %140, i64 112
store ptr %355, ptr %356, align 8, !tbaa !99
%357 = getelementptr inbounds i8, ptr %52, i64 88
%358 = load i32, ptr %357, align 8, !tbaa !100
%359 = call ptr @htobe16(i32 noundef %358) #4
%360 = getelementptr inbounds i8, ptr %140, i64 104
store ptr %359, ptr %360, align 8, !tbaa !101
%361 = getelementptr inbounds i8, ptr %52, i64 172
%362 = load i32, ptr %361, align 4, !tbaa !102
%363 = getelementptr inbounds i8, ptr %140, i64 100
%364 = load i32, ptr %363, align 4, !tbaa !103
%365 = call i32 @bcopy(i32 noundef %362, i32 noundef %364, i32 noundef 4) #4
%366 = getelementptr inbounds i8, ptr %52, i64 104
%367 = load i32, ptr %366, align 8, !tbaa !104
%368 = getelementptr inbounds i8, ptr %140, i64 96
%369 = load i32, ptr %368, align 8, !tbaa !105
%370 = call i32 @bcopy(i32 noundef %367, i32 noundef %369, i32 noundef 4) #4
%371 = getelementptr inbounds i8, ptr %52, i64 168
%372 = load i32, ptr %371, align 4, !tbaa !106
%373 = getelementptr inbounds i8, ptr %140, i64 92
%374 = load i32, ptr %373, align 4, !tbaa !107
%375 = call i32 @bcopy(i32 noundef %372, i32 noundef %374, i32 noundef 4) #4
%376 = getelementptr inbounds i8, ptr %52, i64 100
%377 = load i32, ptr %376, align 4, !tbaa !108
%378 = getelementptr inbounds i8, ptr %140, i64 88
%379 = load i32, ptr %378, align 8, !tbaa !109
%380 = call i32 @bcopy(i32 noundef %377, i32 noundef %379, i32 noundef 4) #4
%381 = getelementptr inbounds i8, ptr %52, i64 160
%382 = load i32, ptr %381, align 4, !tbaa !110
%383 = call ptr @htobe16(i32 noundef %382) #4
%384 = getelementptr inbounds i8, ptr %140, i64 80
store ptr %383, ptr %384, align 8, !tbaa !111
%385 = getelementptr inbounds i8, ptr %52, i64 92
%386 = load i32, ptr %385, align 4, !tbaa !112
%387 = call ptr @htobe16(i32 noundef %386) #4
%388 = getelementptr inbounds i8, ptr %140, i64 72
store ptr %387, ptr %388, align 8, !tbaa !113
%389 = getelementptr inbounds i8, ptr %52, i64 164
%390 = load i32, ptr %389, align 4, !tbaa !114
%391 = call ptr @htobe16(i32 noundef %390) #4
%392 = getelementptr inbounds i8, ptr %140, i64 64
store ptr %391, ptr %392, align 8, !tbaa !115
%393 = getelementptr inbounds i8, ptr %52, i64 96
%394 = load i32, ptr %393, align 8, !tbaa !116
%395 = call ptr @htobe16(i32 noundef %394) #4
%396 = getelementptr inbounds i8, ptr %140, i64 56
store ptr %395, ptr %396, align 8, !tbaa !117
%397 = getelementptr inbounds i8, ptr %140, i64 48
%398 = load ptr, ptr %397, align 8, !tbaa !118
%399 = call i32 @bzero(ptr noundef %398, i32 noundef 8) #4
%400 = load i64, ptr %162, align 8, !tbaa !32
%401 = icmp eq i64 %400, 0
br i1 %401, label %444, label %402
402: ; preds = %258
%403 = getelementptr inbounds i8, ptr %52, i64 68
%404 = load i32, ptr %403, align 4, !tbaa !119
%405 = call i32 @V_FW_FILTER2_WR_SWAPMAC(i32 noundef %404) #4
%406 = getelementptr inbounds i8, ptr %140, i64 40
store i32 %405, ptr %406, align 8, !tbaa !120
%407 = getelementptr inbounds i8, ptr %52, i64 56
%408 = load i64, ptr %407, align 8, !tbaa !121
%409 = icmp eq i64 %408, 0
%410 = load i32, ptr @ULP_MODE_TCPDDP, align 4
%411 = load i32, ptr @ULP_MODE_NONE, align 4
%412 = select i1 %409, i32 %411, i32 %410
%413 = call i32 @V_FW_FILTER2_WR_ULP_TYPE(i32 noundef %412) #4
%414 = getelementptr inbounds i8, ptr %52, i64 64
%415 = load i32, ptr %414, align 8, !tbaa !122
%416 = call i32 @V_FW_FILTER2_WR_NATFLAGCHECK(i32 noundef %415) #4
%417 = or i32 %416, %413
%418 = load i64, ptr %407, align 8, !tbaa !121
%419 = call i32 @V_FW_FILTER2_WR_NATMODE(i64 noundef %418) #4
%420 = or i32 %417, %419
%421 = getelementptr inbounds i8, ptr %140, i64 4
store i32 %420, ptr %421, align 4, !tbaa !123
%422 = getelementptr inbounds i8, ptr %140, i64 36
%423 = load i32, ptr %422, align 4, !tbaa !124
%424 = getelementptr inbounds i8, ptr %52, i64 48
%425 = load i32, ptr %424, align 8, !tbaa !125
%426 = call i32 @memcpy(i32 noundef %423, i32 noundef %425, i32 noundef 4) #4
%427 = getelementptr inbounds i8, ptr %140, i64 32
%428 = load i32, ptr %427, align 8, !tbaa !126
%429 = getelementptr inbounds i8, ptr %52, i64 44
%430 = load i32, ptr %429, align 4, !tbaa !127
%431 = call i32 @memcpy(i32 noundef %428, i32 noundef %430, i32 noundef 4) #4
%432 = getelementptr inbounds i8, ptr %52, i64 32
%433 = load i32, ptr %432, align 8, !tbaa !128
%434 = call ptr @htobe16(i32 noundef %433) #4
%435 = getelementptr inbounds i8, ptr %140, i64 24
store ptr %434, ptr %435, align 8, !tbaa !129
%436 = getelementptr inbounds i8, ptr %52, i64 36
%437 = load i32, ptr %436, align 4, !tbaa !130
%438 = call ptr @htobe16(i32 noundef %437) #4
%439 = getelementptr inbounds i8, ptr %140, i64 16
store ptr %438, ptr %439, align 8, !tbaa !131
%440 = getelementptr inbounds i8, ptr %52, i64 40
%441 = load i32, ptr %440, align 8, !tbaa !132
%442 = call ptr @htobe32(i32 noundef %441) #4
%443 = getelementptr inbounds i8, ptr %140, i64 8
store ptr %442, ptr %443, align 8, !tbaa !133
br label %444
444: ; preds = %402, %258
%445 = load ptr, ptr %293, align 8, !tbaa !38
%446 = call i32 @commit_wrq_wr(ptr noundef %445, ptr noundef nonnull %140, ptr noundef nonnull %5) #4
%447 = call i32 @mtx_lock(ptr noundef nonnull %57) #4
%448 = getelementptr inbounds i8, ptr %0, i64 32
br label %449
449: ; preds = %458, %444
%450 = load i32, ptr %52, align 8, !tbaa !26
%451 = icmp eq i32 %450, 0
br i1 %451, label %452, label %458
452: ; preds = %449
%453 = getelementptr inbounds i8, ptr %52, i64 4
%454 = load i32, ptr %453, align 4, !tbaa !28
%455 = icmp eq i32 %454, 0
%456 = load i32, ptr @EIO, align 4
%457 = select i1 %455, i32 %456, i32 0
br label %463
458: ; preds = %449
%459 = call i64 @cv_wait_sig(ptr noundef nonnull %448, ptr noundef nonnull %57) #4
%460 = icmp eq i64 %459, 0
br i1 %460, label %449, label %461
461: ; preds = %458
%462 = load i32, ptr @EINPROGRESS, align 4, !tbaa !25
br label %463
463: ; preds = %461, %452
%464 = phi i32 [ %457, %452 ], [ %462, %461 ]
%465 = call i32 @mtx_unlock(ptr noundef nonnull %57) #4
br label %466
466: ; preds = %133, %463
%467 = phi i32 [ %464, %463 ], [ %136, %133 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
ret i32 %467
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @MPASS(i32 noundef) local_unnamed_addr #2
declare i64 @separate_hpfilter_region(ptr noundef) local_unnamed_addr #2
declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #2
declare i32 @howmany(i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @start_wrq_wr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @__predict_false(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 @mtx_unlock(ptr noundef) local_unnamed_addr #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
declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #2
declare ptr @htobe32(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_WR_OP(i32 noundef) local_unnamed_addr #2
declare i32 @FW_LEN16(ptr noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_TID(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RQTYPE(i64 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_NOREPLY(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IQ(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RPTTID(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DROP(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DIRSTEER(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MASKHASH(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DIRSTEERHASH(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_LPBK(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_DMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_SMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_INSVLAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RMVLAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_HITCNTS(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_TXCHAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PRIO(i64 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_L2TIX(i32 noundef) local_unnamed_addr #2
declare ptr @htobe16(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FRAG(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FRAGM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IVLAN_VLD(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_OVLAN_VLD(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_IVLAN_VLDM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_OVLAN_VLDM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RX_CHAN(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_RX_RPL_IQ(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MACI(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MACIM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FCOE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_FCOEM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PORT(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_PORTM(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MATCHTYPE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER_WR_MATCHTYPEM(i32 noundef) local_unnamed_addr #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_SWAPMAC(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_ULP_TYPE(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_NATFLAGCHECK(i32 noundef) local_unnamed_addr #2
declare i32 @V_FW_FILTER2_WR_NATMODE(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @commit_wrq_wr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @cv_wait_sig(ptr noundef, ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 248}
!7 = !{!"t4_filter", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_12__", !8, i64 0, !8, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !8, i64 40, !12, i64 48, !12, i64 52, !13, i64 56, !14, i64 124, !8, i64 192, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !8, i64 240, !12, i64 248}
!12 = !{!"int", !9, i64 0}
!13 = !{!"TYPE_10__", !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}
!14 = !{!"TYPE_9__", !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}
!15 = !{!7, !12, i64 256}
!16 = !{!7, !12, i64 132}
!17 = !{!7, !12, i64 136}
!18 = !{!7, !12, i64 64}
!19 = !{!7, !12, i64 68}
!20 = !{!7, !8, i64 200}
!21 = !{!7, !8, i64 0}
!22 = !{!8, !8, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"any pointer", !9, i64 0}
!25 = !{!12, !12, i64 0}
!26 = !{!27, !12, i64 0}
!27 = !{!"filter_entry", !12, i64 0, !12, i64 4, !12, i64 8, !11, i64 16, !24, i64 272, !24, i64 280, !8, i64 288}
!28 = !{!27, !12, i64 4}
!29 = !{!27, !8, i64 288}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !8, i64 80}
!33 = !{!"adapter", !34, i64 0, !35, i64 64, !37, i64 80}
!34 = !{!"TYPE_14__", !8, i64 0, !12, i64 8, !8, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !24, i64 48, !24, i64 56}
!35 = !{!"TYPE_13__", !24, i64 0, !36, i64 8}
!36 = !{!"TYPE_8__", !12, i64 0}
!37 = !{!"TYPE_11__", !8, i64 0}
!38 = !{!33, !24, i64 64}
!39 = !{!33, !12, i64 40}
!40 = !{!33, !12, i64 36}
!41 = !{!27, !12, i64 8}
!42 = !{i64 0, i64 8, !22, i64 8, i64 8, !22, i64 16, i64 4, !25, i64 20, i64 4, !25, i64 24, i64 4, !25, i64 28, i64 4, !25, i64 32, i64 4, !25, i64 40, i64 8, !22, i64 48, i64 4, !25, i64 52, i64 4, !25, i64 56, i64 4, !25, i64 60, i64 4, !25, i64 64, i64 4, !25, i64 68, i64 4, !25, i64 72, i64 4, !25, i64 76, i64 4, !25, i64 80, i64 4, !25, i64 84, i64 4, !25, i64 88, i64 4, !25, i64 92, i64 4, !25, i64 96, i64 4, !25, i64 100, i64 4, !25, i64 104, i64 4, !25, i64 108, i64 4, !25, i64 112, i64 4, !25, i64 116, i64 4, !25, i64 120, i64 4, !25, i64 124, i64 4, !25, i64 128, i64 4, !25, i64 132, i64 4, !25, i64 136, i64 4, !25, i64 140, i64 4, !25, i64 144, i64 4, !25, i64 148, i64 4, !25, i64 152, i64 4, !25, i64 156, i64 4, !25, i64 160, i64 4, !25, i64 164, i64 4, !25, i64 168, i64 4, !25, i64 172, i64 4, !25, i64 176, i64 4, !25, i64 180, i64 4, !25, i64 184, i64 4, !25, i64 188, i64 4, !25, i64 192, i64 8, !22, i64 200, i64 4, !25, i64 204, i64 4, !25, i64 208, i64 4, !25, i64 212, i64 4, !25, i64 216, i64 4, !25, i64 220, i64 4, !25, i64 224, i64 4, !25, i64 228, i64 4, !25, i64 232, i64 4, !25, i64 240, i64 8, !22, i64 248, i64 4, !25}
!43 = !{!27, !24, i64 272}
!44 = !{!27, !24, i64 280}
!45 = !{i64 0, i64 4, !25, i64 4, i64 4, !25, i64 8, i64 8, !23, i64 16, i64 8, !23, i64 24, i64 8, !23, i64 32, i64 4, !25, i64 36, i64 4, !25, i64 40, i64 4, !25, i64 48, i64 8, !23, i64 56, i64 8, !23, i64 64, i64 8, !23, i64 72, i64 8, !23, i64 80, i64 8, !23, i64 88, i64 4, !25, i64 92, i64 4, !25, i64 96, i64 4, !25, i64 100, i64 4, !25, i64 104, i64 8, !23, i64 112, i64 8, !23, i64 120, i64 8, !23, i64 128, i64 8, !23, i64 136, i64 4, !25, i64 140, i64 4, !25, i64 144, i64 4, !25, i64 148, i64 4, !25, i64 152, i64 8, !23, i64 160, i64 8, !23, i64 168, i64 8, !22, i64 176, i64 8, !23, i64 184, i64 8, !23, i64 192, i64 8, !23, i64 200, i64 8, !23, i64 208, i64 8, !23, i64 216, i64 8, !23}
!46 = !{!47, !24, i64 208}
!47 = !{!"fw_filter2_wr", !12, i64 0, !12, i64 4, !24, i64 8, !24, i64 16, !24, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !24, i64 48, !24, i64 56, !24, i64 64, !24, i64 72, !24, i64 80, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !24, i64 104, !24, i64 112, !24, i64 120, !24, i64 128, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !24, i64 152, !24, i64 160, !8, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !24, i64 200, !24, i64 208, !24, i64 216}
!48 = !{!27, !8, i64 256}
!49 = !{!27, !12, i64 248}
!50 = !{!47, !24, i64 200}
!51 = !{!27, !12, i64 244}
!52 = !{!27, !8, i64 16}
!53 = !{!27, !12, i64 240}
!54 = !{!27, !12, i64 236}
!55 = !{!27, !12, i64 232}
!56 = !{!27, !12, i64 228}
!57 = !{!27, !12, i64 224}
!58 = !{!27, !8, i64 24}
!59 = !{!27, !12, i64 220}
!60 = !{!27, !12, i64 216}
!61 = !{!27, !8, i64 208}
!62 = !{!63, !12, i64 0}
!63 = !{!"l2t_entry", !12, i64 0}
!64 = !{!47, !24, i64 192}
!65 = !{!27, !12, i64 148}
!66 = !{!47, !24, i64 184}
!67 = !{!27, !12, i64 80}
!68 = !{!47, !24, i64 176}
!69 = !{!27, !12, i64 204}
!70 = !{!27, !12, i64 136}
!71 = !{!27, !12, i64 200}
!72 = !{!27, !12, i64 132}
!73 = !{!47, !12, i64 0}
!74 = !{!47, !8, i64 168}
!75 = !{!33, !12, i64 72}
!76 = !{!47, !24, i64 160}
!77 = !{!27, !12, i64 196}
!78 = !{!27, !12, i64 128}
!79 = !{!27, !12, i64 192}
!80 = !{!27, !12, i64 124}
!81 = !{!27, !12, i64 188}
!82 = !{!27, !12, i64 120}
!83 = !{!27, !12, i64 184}
!84 = !{!27, !12, i64 116}
!85 = !{!47, !24, i64 152}
!86 = !{!27, !12, i64 180}
!87 = !{!47, !12, i64 148}
!88 = !{!27, !12, i64 112}
!89 = !{!47, !12, i64 144}
!90 = !{!27, !12, i64 176}
!91 = !{!47, !12, i64 140}
!92 = !{!27, !12, i64 108}
!93 = !{!47, !12, i64 136}
!94 = !{!27, !12, i64 152}
!95 = !{!47, !24, i64 128}
!96 = !{!27, !12, i64 84}
!97 = !{!47, !24, i64 120}
!98 = !{!27, !12, i64 156}
!99 = !{!47, !24, i64 112}
!100 = !{!27, !12, i64 88}
!101 = !{!47, !24, i64 104}
!102 = !{!27, !12, i64 172}
!103 = !{!47, !12, i64 100}
!104 = !{!27, !12, i64 104}
!105 = !{!47, !12, i64 96}
!106 = !{!27, !12, i64 168}
!107 = !{!47, !12, i64 92}
!108 = !{!27, !12, i64 100}
!109 = !{!47, !12, i64 88}
!110 = !{!27, !12, i64 160}
!111 = !{!47, !24, i64 80}
!112 = !{!27, !12, i64 92}
!113 = !{!47, !24, i64 72}
!114 = !{!27, !12, i64 164}
!115 = !{!47, !24, i64 64}
!116 = !{!27, !12, i64 96}
!117 = !{!47, !24, i64 56}
!118 = !{!47, !24, i64 48}
!119 = !{!27, !12, i64 68}
!120 = !{!47, !12, i64 40}
!121 = !{!27, !8, i64 56}
!122 = !{!27, !12, i64 64}
!123 = !{!47, !12, i64 4}
!124 = !{!47, !12, i64 36}
!125 = !{!27, !12, i64 48}
!126 = !{!47, !12, i64 32}
!127 = !{!27, !12, i64 44}
!128 = !{!27, !12, i64 32}
!129 = !{!47, !24, i64 24}
!130 = !{!27, !12, i64 36}
!131 = !{!47, !24, i64 16}
!132 = !{!27, !12, i64 40}
!133 = !{!47, !24, i64 8}
| freebsd_sys_dev_cxgbe_extr_t4_filter.c_set_tcamfilter |
; ModuleID = 'AnghaBench/openssl/crypto/evp/extr_e_rc2.c_EVP_rc2_40_cbc.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_e_rc2.c_EVP_rc2_40_cbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@r2_40_cbc_cipher = dso_local constant i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef nonnull ptr @EVP_rc2_40_cbc() local_unnamed_addr #0 {
ret ptr @r2_40_cbc_cipher
}
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/openssl/crypto/evp/extr_e_rc2.c_EVP_rc2_40_cbc.c'
source_filename = "AnghaBench/openssl/crypto/evp/extr_e_rc2.c_EVP_rc2_40_cbc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@r2_40_cbc_cipher = common global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define noundef nonnull ptr @EVP_rc2_40_cbc() local_unnamed_addr #0 {
ret ptr @r2_40_cbc_cipher
}
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)"}
| openssl_crypto_evp_extr_e_rc2.c_EVP_rc2_40_cbc |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ensure_exact_server_parent.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ensure_exact_server_parent.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32, ptr, i32 }
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ensure_exact_server_parent], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ensure_exact_server_parent(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_8__, ptr %4, i64 0, i32 2
%8 = load i32, ptr %7, align 8, !tbaa !15
%9 = tail call i64 @svn_stringbuf_compare(ptr noundef %6, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8, !tbaa !12
%13 = load i32, ptr %12, align 4, !tbaa !16
%14 = tail call i32 @reparent_server(ptr noundef nonnull %0, i32 noundef %13, ptr noundef %1) #2
%15 = tail call i32 @SVN_ERR(i32 noundef %14) #2
%16 = load i32, ptr %4, align 8, !tbaa !18
%17 = tail call i32 @svn_stringbuf_setempty(i32 noundef %16) #2
br label %18
18: ; preds = %2, %11
%19 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !19
ret ptr %19
}
declare i64 @svn_stringbuf_compare(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @reparent_server(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_stringbuf_setempty(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_9__", !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_7__", !7, i64 0}
!12 = !{!13, !7, i64 8}
!13 = !{!"TYPE_8__", !14, i64 0, !7, i64 8, !14, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !14, i64 16}
!16 = !{!17, !14, i64 0}
!17 = !{!"TYPE_10__", !14, i64 0}
!18 = !{!13, !14, i64 0}
!19 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ensure_exact_server_parent.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_ra_svn/extr_client.c_ensure_exact_server_parent.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @ensure_exact_server_parent], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ensure_exact_server_parent(ptr noundef %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = getelementptr inbounds i8, ptr %4, i64 16
%8 = load i32, ptr %7, align 8, !tbaa !16
%9 = tail call i64 @svn_stringbuf_compare(ptr noundef %6, i32 noundef %8) #2
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load ptr, ptr %5, align 8, !tbaa !13
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = tail call i32 @reparent_server(ptr noundef nonnull %0, i32 noundef %13, ptr noundef %1) #2
%15 = tail call i32 @SVN_ERR(i32 noundef %14) #2
%16 = load i32, ptr %4, align 8, !tbaa !19
%17 = tail call i32 @svn_stringbuf_setempty(i32 noundef %16) #2
br label %18
18: ; preds = %2, %11
%19 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !20
ret ptr %19
}
declare i64 @svn_stringbuf_compare(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #1
declare i32 @reparent_server(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @svn_stringbuf_setempty(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_9__", !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_7__", !8, i64 0}
!13 = !{!14, !8, i64 8}
!14 = !{!"TYPE_8__", !15, i64 0, !8, i64 8, !15, i64 16}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !15, i64 16}
!17 = !{!18, !15, i64 0}
!18 = !{!"TYPE_10__", !15, i64 0}
!19 = !{!14, !15, i64 0}
!20 = !{!8, !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_ra_svn_extr_client.c_ensure_exact_server_parent |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/touchpad/extr_matrix.c_isTouchChangeDetected.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/touchpad/extr_matrix.c_isTouchChangeDetected.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@D2 = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @isTouchChangeDetected() local_unnamed_addr #0 {
%1 = load i32, ptr @D2, align 4, !tbaa !5
%2 = tail call i32 @readPin(i32 noundef %1) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i32 @readPin(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/qmk_firmware/keyboards/touchpad/extr_matrix.c_isTouchChangeDetected.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/touchpad/extr_matrix.c_isTouchChangeDetected.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@D2 = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @isTouchChangeDetected() local_unnamed_addr #0 {
%1 = load i32, ptr @D2, align 4, !tbaa !6
%2 = tail call i32 @readPin(i32 noundef %1) #2
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
ret i32 %4
}
declare i32 @readPin(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"}
| qmk_firmware_keyboards_touchpad_extr_matrix.c_isTouchChangeDetected |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.