IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/linux/arch/sh/kernel/extr_perf_event.c_sh_pmu_initialized.c'
source_filename = "AnghaBench/linux/arch/sh/kernel/extr_perf_event.c_sh_pmu_initialized.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sh_pmu = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sh_pmu_initialized], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @sh_pmu_initialized() #0 {
%1 = load i32, ptr @sh_pmu, align 4, !tbaa !5
%2 = icmp ne i32 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
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/arch/sh/kernel/extr_perf_event.c_sh_pmu_initialized.c'
source_filename = "AnghaBench/linux/arch/sh/kernel/extr_perf_event.c_sh_pmu_initialized.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sh_pmu = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sh_pmu_initialized], 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 @sh_pmu_initialized() #0 {
%1 = load i32, ptr @sh_pmu, align 4, !tbaa !6
%2 = icmp ne i32 %1, 0
%3 = zext i1 %2 to i32
ret i32 %3
}
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_arch_sh_kernel_extr_perf_event.c_sh_pmu_initialized |
; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_ws_write_fifo_data.c'
source_filename = "AnghaBench/goaccess/src/extr_websocket.c_ws_write_fifo_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"
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EPIPE = dso_local local_unnamed_addr global i64 0, align 8
@EAGAIN = dso_local local_unnamed_addr global i64 0, align 8
@EWOULDBLOCK = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ws_write_fifo_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ws_write_fifo_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @write(i32 noundef %4, ptr noundef %1, i32 noundef %2) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %17
7: ; preds = %3
%8 = load i64, ptr @errno, align 8, !tbaa !10
%9 = load i64, ptr @EPIPE, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %0, align 4, !tbaa !5
%13 = tail call i32 @close(i32 noundef %12) #2
%14 = tail call i32 @ws_openfifo_out(ptr noundef nonnull %0) #2
br label %27
15: ; preds = %7
%16 = icmp sgt i32 %2, -1
br i1 %16, label %25, label %19
17: ; preds = %3
%18 = icmp slt i32 %5, %2
br i1 %18, label %25, label %27
19: ; preds = %15
%20 = load i64, ptr @EAGAIN, align 8, !tbaa !10
%21 = icmp eq i64 %8, %20
%22 = load i64, ptr @EWOULDBLOCK, align 8
%23 = icmp eq i64 %8, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %27
25: ; preds = %17, %19, %15
%26 = tail call i32 @ws_queue_fifobuf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %5) #2
br label %27
27: ; preds = %17, %25, %19, %11
ret i32 %5
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @ws_openfifo_out(ptr noundef) local_unnamed_addr #1
declare i32 @ws_queue_fifobuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_ws_write_fifo_data.c'
source_filename = "AnghaBench/goaccess/src/extr_websocket.c_ws_write_fifo_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i64 0, align 8
@EPIPE = common local_unnamed_addr global i64 0, align 8
@EAGAIN = common local_unnamed_addr global i64 0, align 8
@EWOULDBLOCK = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ws_write_fifo_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ws_write_fifo_data(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @write(i32 noundef %4, ptr noundef %1, i32 noundef %2) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %17
7: ; preds = %3
%8 = load i64, ptr @errno, align 8, !tbaa !11
%9 = load i64, ptr @EPIPE, align 8, !tbaa !11
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %0, align 4, !tbaa !6
%13 = tail call i32 @close(i32 noundef %12) #2
%14 = tail call i32 @ws_openfifo_out(ptr noundef nonnull %0) #2
br label %27
15: ; preds = %7
%16 = icmp sgt i32 %2, -1
br i1 %16, label %25, label %19
17: ; preds = %3
%18 = icmp slt i32 %5, %2
br i1 %18, label %25, label %27
19: ; preds = %15
%20 = load i64, ptr @EAGAIN, align 8, !tbaa !11
%21 = icmp eq i64 %8, %20
%22 = load i64, ptr @EWOULDBLOCK, align 8
%23 = icmp eq i64 %8, %22
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %27
25: ; preds = %17, %19, %15
%26 = tail call i32 @ws_queue_fifobuf(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %5) #2
br label %27
27: ; preds = %17, %25, %19, %11
ret i32 %5
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @ws_openfifo_out(ptr noundef) local_unnamed_addr #1
declare i32 @ws_queue_fifobuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
| goaccess_src_extr_websocket.c_ws_write_fifo_data |
; ModuleID = 'AnghaBench/linux/drivers/crypto/extr_hifn_795x.c_hifn_decrypt_des_cfb.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_hifn_795x.c_hifn_decrypt_des_cfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ACRYPTO_OP_DECRYPT = dso_local local_unnamed_addr global i32 0, align 4
@ACRYPTO_TYPE_DES = dso_local local_unnamed_addr global i32 0, align 4
@ACRYPTO_MODE_CFB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hifn_decrypt_des_cfb], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @hifn_decrypt_des_cfb(ptr noundef %0) #0 {
%2 = load i32, ptr @ACRYPTO_OP_DECRYPT, align 4, !tbaa !5
%3 = load i32, ptr @ACRYPTO_TYPE_DES, align 4, !tbaa !5
%4 = load i32, ptr @ACRYPTO_MODE_CFB, align 4, !tbaa !5
%5 = tail call i32 @hifn_setup_crypto(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @hifn_setup_crypto(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!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/crypto/extr_hifn_795x.c_hifn_decrypt_des_cfb.c'
source_filename = "AnghaBench/linux/drivers/crypto/extr_hifn_795x.c_hifn_decrypt_des_cfb.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ACRYPTO_OP_DECRYPT = common local_unnamed_addr global i32 0, align 4
@ACRYPTO_TYPE_DES = common local_unnamed_addr global i32 0, align 4
@ACRYPTO_MODE_CFB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hifn_decrypt_des_cfb], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @hifn_decrypt_des_cfb(ptr noundef %0) #0 {
%2 = load i32, ptr @ACRYPTO_OP_DECRYPT, align 4, !tbaa !6
%3 = load i32, ptr @ACRYPTO_TYPE_DES, align 4, !tbaa !6
%4 = load i32, ptr @ACRYPTO_MODE_CFB, align 4, !tbaa !6
%5 = tail call i32 @hifn_setup_crypto(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2
ret i32 %5
}
declare i32 @hifn_setup_crypto(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_crypto_extr_hifn_795x.c_hifn_decrypt_des_cfb |
; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_main.c_mlx5_ib_dealloc_q_port_counter.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_main.c_mlx5_ib_dealloc_q_port_counter.c"
target datalayout = "e-m:e-p270:32:32-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.mlx5_ib_dev = type { ptr, i32 }
%struct.TYPE_2__ = type { i64 }
@MLX5_INTERFACE_PROTOCOL_IB = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mlx5_ib_dealloc_q_port_counter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mlx5_ib_dealloc_q_port_counter(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds %struct.mlx5_ib_dev, ptr %0, i64 0, i32 1
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr @MLX5_INTERFACE_PROTOCOL_IB, align 4, !tbaa !11
%6 = load ptr, ptr %0, align 8, !tbaa !12
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %1
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = tail call i32 @mlx5_vport_dealloc_q_counter(i32 noundef %4, i32 noundef %5, i64 noundef %8) #2
%10 = load ptr, ptr %0, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %1
store i64 0, ptr %11, align 8, !tbaa !13
ret void
}
declare i32 @mlx5_vport_dealloc_q_counter(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"mlx5_ib_dev", !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 = !{!10, !10, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_main.c_mlx5_ib_dealloc_q_port_counter.c'
source_filename = "AnghaBench/freebsd/sys/dev/mlx5/mlx5_ib/extr_mlx5_ib_main.c_mlx5_ib_dealloc_q_port_counter.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 }
@MLX5_INTERFACE_PROTOCOL_IB = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mlx5_ib_dealloc_q_port_counter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mlx5_ib_dealloc_q_port_counter(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr @MLX5_INTERFACE_PROTOCOL_IB, align 4, !tbaa !12
%6 = load ptr, ptr %0, align 8, !tbaa !13
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 %1
%8 = load i64, ptr %7, align 8, !tbaa !14
%9 = tail call i32 @mlx5_vport_dealloc_q_counter(i32 noundef %4, i32 noundef %5, i64 noundef %8) #2
%10 = load ptr, ptr %0, align 8, !tbaa !13
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %1
store i64 0, ptr %11, align 8, !tbaa !14
ret void
}
declare i32 @mlx5_vport_dealloc_q_counter(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"mlx5_ib_dev", !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 = !{!11, !11, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_2__", !16, i64 0}
!16 = !{!"long", !9, i64 0}
| freebsd_sys_dev_mlx5_mlx5_ib_extr_mlx5_ib_main.c_mlx5_ib_dealloc_q_port_counter |
; ModuleID = 'AnghaBench/mpv/input/extr_input.c_mp_input_src_kill.c'
source_filename = "AnghaBench/mpv/input/extr_input.c_mp_input_src_kill.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.mp_input_src = type { ptr, ptr, ptr, ptr }
%struct.input_ctx = type { i32, ptr }
%struct.TYPE_2__ = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @mp_input_src_kill], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mp_input_src_kill(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %48, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.mp_input_src, ptr %0, i64 0, i32 3
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @input_lock(ptr noundef %5) #3
%7 = load i32, ptr %5, align 8, !tbaa !10
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %46
9: ; preds = %3
%10 = getelementptr inbounds %struct.input_ctx, ptr %5, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = zext nneg i32 %7 to i64
br label %13
13: ; preds = %9, %43
%14 = phi i64 [ 0, %9 ], [ %44, %43 ]
%15 = getelementptr inbounds ptr, ptr %11, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !14
%17 = icmp eq ptr %16, %0
br i1 %17, label %18, label %43
18: ; preds = %13
%19 = trunc i64 %14 to i32
%20 = tail call i32 @MP_TARRAY_REMOVE_AT(ptr noundef nonnull %11, i32 noundef %7, i32 noundef %19) #3
%21 = tail call i32 @input_unlock(ptr noundef nonnull %5) #3
%22 = getelementptr inbounds %struct.mp_input_src, ptr %0, i64 0, i32 2
%23 = load ptr, ptr %22, align 8, !tbaa !15
%24 = icmp eq ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = tail call i32 %23(ptr noundef nonnull %0) #3
br label %27
27: ; preds = %25, %18
%28 = getelementptr inbounds %struct.mp_input_src, ptr %0, i64 0, i32 1
%29 = load ptr, ptr %28, align 8, !tbaa !16
%30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i64 0, i32 1
%31 = load i64, ptr %30, align 8, !tbaa !17
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = load i32, ptr %29, align 8, !tbaa !20
%35 = tail call i32 @pthread_join(i32 noundef %34, ptr noundef null) #3
br label %36
36: ; preds = %33, %27
%37 = load ptr, ptr %0, align 8, !tbaa !21
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 %37(ptr noundef nonnull %0) #3
br label %41
41: ; preds = %39, %36
%42 = tail call i32 @talloc_free(ptr noundef nonnull %0) #3
br label %48
43: ; preds = %13
%44 = add nuw nsw i64 %14, 1
%45 = icmp eq i64 %44, %12
br i1 %45, label %46, label %13, !llvm.loop !22
46: ; preds = %43, %3
%47 = tail call i32 (...) @abort() #4
unreachable
48: ; preds = %41, %1
ret void
}
declare i32 @input_lock(ptr noundef) local_unnamed_addr #1
declare i32 @MP_TARRAY_REMOVE_AT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @input_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) 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 24}
!6 = !{!"mp_input_src", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"input_ctx", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !7, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 8}
!17 = !{!18, !19, i64 8}
!18 = !{!"TYPE_2__", !12, i64 0, !19, i64 8}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !12, i64 0}
!21 = !{!6, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/mpv/input/extr_input.c_mp_input_src_kill.c'
source_filename = "AnghaBench/mpv/input/extr_input.c_mp_input_src_kill.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 @mp_input_src_kill], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mp_input_src_kill(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %48, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @input_lock(ptr noundef %5) #3
%7 = load i32, ptr %5, align 8, !tbaa !11
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %46
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %5, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !14
%12 = zext nneg i32 %7 to i64
br label %13
13: ; preds = %9, %43
%14 = phi i64 [ 0, %9 ], [ %44, %43 ]
%15 = getelementptr inbounds ptr, ptr %11, i64 %14
%16 = load ptr, ptr %15, align 8, !tbaa !15
%17 = icmp eq ptr %16, %0
br i1 %17, label %18, label %43
18: ; preds = %13
%19 = trunc nuw nsw i64 %14 to i32
%20 = tail call i32 @MP_TARRAY_REMOVE_AT(ptr noundef nonnull %11, i32 noundef %7, i32 noundef %19) #3
%21 = tail call i32 @input_unlock(ptr noundef nonnull %5) #3
%22 = getelementptr inbounds i8, ptr %0, i64 16
%23 = load ptr, ptr %22, align 8, !tbaa !16
%24 = icmp eq ptr %23, null
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = tail call i32 %23(ptr noundef nonnull %0) #3
br label %27
27: ; preds = %25, %18
%28 = getelementptr inbounds i8, ptr %0, i64 8
%29 = load ptr, ptr %28, align 8, !tbaa !17
%30 = getelementptr inbounds i8, ptr %29, i64 8
%31 = load i64, ptr %30, align 8, !tbaa !18
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = load i32, ptr %29, align 8, !tbaa !21
%35 = tail call i32 @pthread_join(i32 noundef %34, ptr noundef null) #3
br label %36
36: ; preds = %33, %27
%37 = load ptr, ptr %0, align 8, !tbaa !22
%38 = icmp eq ptr %37, null
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 %37(ptr noundef nonnull %0) #3
br label %41
41: ; preds = %39, %36
%42 = tail call i32 @talloc_free(ptr noundef nonnull %0) #3
br label %48
43: ; preds = %13
%44 = add nuw nsw i64 %14, 1
%45 = icmp eq i64 %44, %12
br i1 %45, label %46, label %13, !llvm.loop !23
46: ; preds = %43, %3
%47 = tail call i32 @abort() #4
unreachable
48: ; preds = %41, %1
ret void
}
declare i32 @input_lock(ptr noundef) local_unnamed_addr #1
declare i32 @MP_TARRAY_REMOVE_AT(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @input_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_join(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @talloc_free(ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @abort(...) 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 24}
!7 = !{!"mp_input_src", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"input_ctx", !13, i64 0, !8, i64 8}
!13 = !{!"int", !9, i64 0}
!14 = !{!12, !8, i64 8}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 8}
!18 = !{!19, !20, i64 8}
!19 = !{!"TYPE_2__", !13, i64 0, !20, i64 8}
!20 = !{!"long", !9, i64 0}
!21 = !{!19, !13, i64 0}
!22 = !{!7, !8, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
| mpv_input_extr_input.c_mp_input_src_kill |
; ModuleID = 'AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_v4l2.c_vidioc_enum_fmt_vid_out.c'
source_filename = "AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_v4l2.c_vidioc_enum_fmt_vid_out.c"
target datalayout = "e-m:e-p270:32:32-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 @vidioc_enum_fmt_vid_out], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @vidioc_enum_fmt_vid_out(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @vidioc_enum_fmt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @vidioc_enum_fmt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_v4l2.c_vidioc_enum_fmt_vid_out.c'
source_filename = "AnghaBench/linux/drivers/staging/media/hantro/extr_hantro_v4l2.c_vidioc_enum_fmt_vid_out.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 @vidioc_enum_fmt_vid_out], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @vidioc_enum_fmt_vid_out(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call i32 @vidioc_enum_fmt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 0) #2
ret i32 %4
}
declare i32 @vidioc_enum_fmt(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_staging_media_hantro_extr_hantro_v4l2.c_vidioc_enum_fmt_vid_out |
; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_map_in_map.c_bpf_map_meta_free.c'
source_filename = "AnghaBench/linux/kernel/bpf/extr_map_in_map.c_bpf_map_meta_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @bpf_map_meta_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/kernel/bpf/extr_map_in_map.c_bpf_map_meta_free.c'
source_filename = "AnghaBench/linux/kernel/bpf/extr_map_in_map.c_bpf_map_meta_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @bpf_map_meta_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_kernel_bpf_extr_map_in_map.c_bpf_map_meta_free |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_rate_init_ops.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_rate_init_ops.c"
target datalayout = "e-m:e-p270:32:32-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 @rs_rate_init_ops], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @rs_rate_init_ops(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_rate_init_ops.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_rs.c_rs_rate_init_ops.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 @rs_rate_init_ops], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @rs_rate_init_ops(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr nocapture readnone %4) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_rs.c_rs_rate_init_ops |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_snd_seq_client_use_ptr.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_snd_seq_client_use_ptr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SNDRV_SEQ_MAX_CLIENTS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Seq: oops. Trying to get pointer to client %d\0A\00", align 1
@clients_lock = dso_local global i32 0, align 4
@clienttablock = dso_local local_unnamed_addr global ptr null, align 8
@SNDRV_CARDS = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_CLIENTS_PER_CARD = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN = dso_local local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_GLOBAL_CLIENTS = dso_local local_unnamed_addr global i32 0, align 4
@seq_client_load = dso_local local_unnamed_addr global ptr null, align 8
@snd_ecards_limit = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @snd_seq_client_use_ptr(i32 noundef %0) local_unnamed_addr #0 {
%2 = icmp sgt i32 %0, -1
%3 = load i32, ptr @SNDRV_SEQ_MAX_CLIENTS, align 4
%4 = icmp sgt i32 %3, %0
%5 = select i1 %2, i1 %4, i1 false
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @snd_printd(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %17
8: ; preds = %1
%9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
%10 = tail call ptr @clientptr(i32 noundef %0) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
br label %17
14: ; preds = %8
%15 = tail call i32 @snd_use_lock_use(ptr noundef nonnull %10) #2
%16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
br label %17
17: ; preds = %12, %14, %6
%18 = phi ptr [ null, %6 ], [ %10, %14 ], [ null, %12 ]
ret ptr %18
}
declare i32 @snd_printd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @clientptr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_use_lock_use(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_snd_seq_client_use_ptr.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/core/seq/extr_seq_clientmgr.c_snd_seq_client_use_ptr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNDRV_SEQ_MAX_CLIENTS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"Seq: oops. Trying to get pointer to client %d\0A\00", align 1
@clients_lock = common global i32 0, align 4
@clienttablock = common local_unnamed_addr global ptr null, align 8
@SNDRV_CARDS = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_CLIENTS_PER_CARD = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_DYNAMIC_CLIENTS_BEGIN = common local_unnamed_addr global i32 0, align 4
@SNDRV_SEQ_GLOBAL_CLIENTS = common local_unnamed_addr global i32 0, align 4
@seq_client_load = common local_unnamed_addr global ptr null, align 8
@snd_ecards_limit = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @snd_seq_client_use_ptr(i32 noundef %0) local_unnamed_addr #0 {
%2 = icmp sgt i32 %0, -1
%3 = load i32, ptr @SNDRV_SEQ_MAX_CLIENTS, align 4
%4 = icmp sgt i32 %3, %0
%5 = select i1 %2, i1 %4, i1 false
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = tail call i32 @snd_printd(ptr noundef nonnull @.str, i32 noundef %0) #2
br label %17
8: ; preds = %1
%9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
%10 = tail call ptr @clientptr(i32 noundef %0) #2
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
br label %17
14: ; preds = %8
%15 = tail call i32 @snd_use_lock_use(ptr noundef nonnull %10) #2
%16 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clients_lock, i64 noundef undef) #2
br label %17
17: ; preds = %12, %14, %6
%18 = phi ptr [ null, %6 ], [ %10, %14 ], [ null, %12 ]
ret ptr %18
}
declare i32 @snd_printd(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare ptr @clientptr(i32 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snd_use_lock_use(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)"}
| fastsocket_kernel_sound_core_seq_extr_seq_clientmgr.c_snd_seq_client_use_ptr |
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MpgaCheckSync.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MpgaCheckSync.c"
target datalayout = "e-m:e-p270:32:32-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 @MpgaCheckSync], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @MpgaCheckSync(ptr noundef %0) #0 {
%2 = tail call i32 @GetDWBE(ptr noundef %0) #2
%3 = icmp ult i32 %2, -2097152
%4 = insertelement <4 x i32> poison, i32 %2, i64 0
%5 = shufflevector <4 x i32> %4, <4 x i32> poison, <4 x i32> zeroinitializer
%6 = and <4 x i32> %5, <i32 1572864, i32 393216, i32 61440, i32 3072>
%7 = icmp eq <4 x i32> %6, <i32 524288, i32 0, i32 61440, i32 3072>
%8 = and i32 %2, 3
%9 = icmp eq i32 %8, 2
%10 = bitcast <4 x i1> %7 to i4
%11 = icmp ne i4 %10, 0
%12 = or i1 %11, %9
%13 = or i1 %12, %3
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
ret i32 %15
}
declare i32 @GetDWBE(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MpgaCheckSync.c'
source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MpgaCheckSync.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 @MpgaCheckSync], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @MpgaCheckSync(ptr noundef %0) #0 {
%2 = tail call i32 @GetDWBE(ptr noundef %0) #2
%3 = icmp ugt i32 %2, -2097153
%4 = insertelement <4 x i32> poison, i32 %2, i64 0
%5 = shufflevector <4 x i32> %4, <4 x i32> poison, <4 x i32> zeroinitializer
%6 = and <4 x i32> %5, <i32 1572864, i32 393216, i32 61440, i32 3072>
%7 = and i32 %2, 3
%8 = icmp ne i32 %7, 2
%9 = icmp eq <4 x i32> %6, <i32 524288, i32 0, i32 61440, i32 3072>
%10 = bitcast <4 x i1> %9 to i4
%11 = icmp eq i4 %10, 0
%12 = and i1 %11, %8
%13 = and i1 %12, %3
%14 = zext i1 %13 to i32
ret i32 %14
}
declare i32 @GetDWBE(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)"}
| vlc_modules_demux_mpeg_extr_es.c_MpgaCheckSync |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_chipcommon.c_bcma_chipco_watchdog_timer_set_wdt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_chipcommon.c_bcma_chipco_watchdog_timer_set_wdt.c"
target datalayout = "e-m:e-p270:32:32-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 @bcma_chipco_watchdog_timer_set_wdt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcma_chipco_watchdog_timer_set_wdt(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @bcm47xx_wdt_get_drvdata(ptr noundef %0) #2
%4 = tail call i32 @bcma_chipco_watchdog_timer_set(ptr noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare ptr @bcm47xx_wdt_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @bcma_chipco_watchdog_timer_set(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/fastsocket/kernel/drivers/bcma/extr_driver_chipcommon.c_bcma_chipco_watchdog_timer_set_wdt.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_chipcommon.c_bcma_chipco_watchdog_timer_set_wdt.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 @bcma_chipco_watchdog_timer_set_wdt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcma_chipco_watchdog_timer_set_wdt(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @bcm47xx_wdt_get_drvdata(ptr noundef %0) #2
%4 = tail call i32 @bcma_chipco_watchdog_timer_set(ptr noundef %3, i32 noundef %1) #2
ret i32 %4
}
declare ptr @bcm47xx_wdt_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @bcma_chipco_watchdog_timer_set(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)"}
| fastsocket_kernel_drivers_bcma_extr_driver_chipcommon.c_bcma_chipco_watchdog_timer_set_wdt |
; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/src/extr_esp_local_ctrl_handler.c_cmd_set_prop_vals_handler.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/src/extr_esp_local_ctrl_handler.c_cmd_set_prop_vals_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_20__ = type { ptr, i32, ptr }
%struct.TYPE_18__ = type { i64, ptr }
%struct.TYPE_19__ = type { i32, i32 }
%struct.TYPE_17__ = type { %struct.TYPE_16__, %struct.TYPE_19__ }
%struct.TYPE_16__ = type { i32, i32 }
@RespSetPropertyValues = dso_local local_unnamed_addr global i32 0, align 4
@resp_payload = dso_local local_unnamed_addr global ptr null, align 8
@TAG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Failed to allocate memory for setting values\00", align 1
@ESP_ERR_NO_MEM = dso_local local_unnamed_addr global i32 0, align 4
@LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_SET_PROP_VALS = dso_local local_unnamed_addr global i32 0, align 4
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cmd_set_prop_vals_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cmd_set_prop_vals_handler(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @RespSetPropertyValues, align 4, !tbaa !5
%5 = load ptr, ptr @resp_payload, align 8, !tbaa !9
%6 = tail call i32 @SAFE_ALLOCATION(i32 noundef %4, ptr noundef %5) #2
%7 = load ptr, ptr @resp_payload, align 8, !tbaa !9
%8 = tail call i32 @resp_set_property_values__init(ptr noundef %7) #2
%9 = getelementptr inbounds %struct.TYPE_20__, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = load i64, ptr %10, align 8, !tbaa !13
%12 = tail call ptr @calloc(i64 noundef %11, i32 noundef 8) #2
%13 = load ptr, ptr %9, align 8, !tbaa !11
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = tail call ptr @calloc(i64 noundef %14, i32 noundef 8) #2
%16 = icmp ne ptr %12, null
%17 = icmp ne ptr %15, null
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %19, label %26
19: ; preds = %3
%20 = load ptr, ptr %9, align 8, !tbaa !11
%21 = load i64, ptr %20, align 8, !tbaa !13
%22 = icmp eq i64 %21, 0
br i1 %22, label %31, label %23
23: ; preds = %19
%24 = getelementptr inbounds %struct.TYPE_18__, ptr %20, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !16
br label %40
26: ; preds = %3
%27 = load i32, ptr @TAG, align 4, !tbaa !5
%28 = tail call i32 @ESP_LOGE(i32 noundef %27, ptr noundef nonnull @.str) #2
%29 = tail call i32 @free(ptr noundef %12) #2
%30 = tail call i32 @free(ptr noundef %15) #2
br label %58
31: ; preds = %40, %19
%32 = phi i64 [ 0, %19 ], [ %56, %40 ]
%33 = tail call i32 @esp_local_ctrl_set_prop_values(i64 noundef %32, ptr noundef nonnull %12, ptr noundef nonnull %15) #2
%34 = tail call i32 @err_to_status(i32 noundef %33) #2
%35 = load ptr, ptr @resp_payload, align 8, !tbaa !9
store i32 %34, ptr %35, align 4, !tbaa !17
%36 = load i32, ptr @LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_SET_PROP_VALS, align 4, !tbaa !5
%37 = getelementptr inbounds %struct.TYPE_20__, ptr %1, i64 0, i32 1
store i32 %36, ptr %37, align 8, !tbaa !19
store ptr %35, ptr %1, align 8, !tbaa !20
%38 = tail call i32 @free(ptr noundef nonnull %12) #2
%39 = tail call i32 @free(ptr noundef nonnull %15) #2
br label %58
40: ; preds = %23, %40
%41 = phi ptr [ %50, %40 ], [ %25, %23 ]
%42 = phi i64 [ %55, %40 ], [ 0, %23 ]
%43 = getelementptr inbounds %struct.TYPE_19__, ptr %12, i64 %42
%44 = getelementptr inbounds ptr, ptr %41, i64 %42
%45 = load ptr, ptr %44, align 8, !tbaa !9
%46 = getelementptr inbounds %struct.TYPE_17__, ptr %45, i64 0, i32 1
%47 = load i64, ptr %46, align 4
store i64 %47, ptr %43, align 4
%48 = load ptr, ptr %9, align 8, !tbaa !11
%49 = getelementptr inbounds %struct.TYPE_18__, ptr %48, i64 0, i32 1
%50 = load ptr, ptr %49, align 8, !tbaa !16
%51 = getelementptr inbounds ptr, ptr %50, i64 %42
%52 = load ptr, ptr %51, align 8, !tbaa !9
%53 = getelementptr inbounds %struct.TYPE_19__, ptr %15, i64 %42
%54 = load <2 x i32>, ptr %52, align 4, !tbaa !5
store <2 x i32> %54, ptr %53, align 4, !tbaa !5
%55 = add nuw i64 %42, 1
%56 = load i64, ptr %48, align 8, !tbaa !13
%57 = icmp ult i64 %55, %56
br i1 %57, label %40, label %31, !llvm.loop !21
58: ; preds = %31, %26
%59 = phi ptr [ @ESP_OK, %31 ], [ @ESP_ERR_NO_MEM, %26 ]
%60 = load i32, ptr %59, align 4, !tbaa !5
ret i32 %60
}
declare i32 @SAFE_ALLOCATION(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @resp_set_property_values__init(ptr noundef) local_unnamed_addr #1
declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @esp_local_ctrl_set_prop_values(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @err_to_status(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"TYPE_20__", !10, i64 0, !6, i64 8, !10, i64 16}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_18__", !15, i64 0, !10, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !10, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"TYPE_21__", !6, i64 0}
!19 = !{!12, !6, i64 8}
!20 = !{!12, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/src/extr_esp_local_ctrl_handler.c_cmd_set_prop_vals_handler.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/src/extr_esp_local_ctrl_handler.c_cmd_set_prop_vals_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_19__ = type { i32, i32 }
@RespSetPropertyValues = common local_unnamed_addr global i32 0, align 4
@resp_payload = common local_unnamed_addr global ptr null, align 8
@TAG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Failed to allocate memory for setting values\00", align 1
@ESP_ERR_NO_MEM = common local_unnamed_addr global i32 0, align 4
@LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_SET_PROP_VALS = common local_unnamed_addr global i32 0, align 4
@ESP_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cmd_set_prop_vals_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cmd_set_prop_vals_handler(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture readnone %2) #0 {
%4 = load i32, ptr @RespSetPropertyValues, align 4, !tbaa !6
%5 = load ptr, ptr @resp_payload, align 8, !tbaa !10
%6 = tail call i32 @SAFE_ALLOCATION(i32 noundef %4, ptr noundef %5) #2
%7 = load ptr, ptr @resp_payload, align 8, !tbaa !10
%8 = tail call i32 @resp_set_property_values__init(ptr noundef %7) #2
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = load i64, ptr %10, align 8, !tbaa !14
%12 = tail call ptr @calloc(i64 noundef %11, i32 noundef 8) #2
%13 = load ptr, ptr %9, align 8, !tbaa !12
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = tail call ptr @calloc(i64 noundef %14, i32 noundef 8) #2
%16 = icmp ne ptr %12, null
%17 = icmp ne ptr %15, null
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %19, label %26
19: ; preds = %3
%20 = load ptr, ptr %9, align 8, !tbaa !12
%21 = load i64, ptr %20, align 8, !tbaa !14
%22 = icmp eq i64 %21, 0
br i1 %22, label %31, label %23
23: ; preds = %19
%24 = getelementptr inbounds i8, ptr %20, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !17
br label %40
26: ; preds = %3
%27 = load i32, ptr @TAG, align 4, !tbaa !6
%28 = tail call i32 @ESP_LOGE(i32 noundef %27, ptr noundef nonnull @.str) #2
%29 = tail call i32 @free(ptr noundef %12) #2
%30 = tail call i32 @free(ptr noundef %15) #2
br label %58
31: ; preds = %40, %19
%32 = phi i64 [ 0, %19 ], [ %56, %40 ]
%33 = tail call i32 @esp_local_ctrl_set_prop_values(i64 noundef %32, ptr noundef nonnull %12, ptr noundef nonnull %15) #2
%34 = tail call i32 @err_to_status(i32 noundef %33) #2
%35 = load ptr, ptr @resp_payload, align 8, !tbaa !10
store i32 %34, ptr %35, align 4, !tbaa !18
%36 = load i32, ptr @LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_SET_PROP_VALS, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %36, ptr %37, align 8, !tbaa !20
store ptr %35, ptr %1, align 8, !tbaa !21
%38 = tail call i32 @free(ptr noundef nonnull %12) #2
%39 = tail call i32 @free(ptr noundef nonnull %15) #2
br label %58
40: ; preds = %23, %40
%41 = phi ptr [ %50, %40 ], [ %25, %23 ]
%42 = phi i64 [ %55, %40 ], [ 0, %23 ]
%43 = getelementptr inbounds %struct.TYPE_19__, ptr %12, i64 %42
%44 = getelementptr inbounds ptr, ptr %41, i64 %42
%45 = load ptr, ptr %44, align 8, !tbaa !10
%46 = getelementptr inbounds i8, ptr %45, i64 8
%47 = load i64, ptr %46, align 4
store i64 %47, ptr %43, align 4
%48 = load ptr, ptr %9, align 8, !tbaa !12
%49 = getelementptr inbounds i8, ptr %48, i64 8
%50 = load ptr, ptr %49, align 8, !tbaa !17
%51 = getelementptr inbounds ptr, ptr %50, i64 %42
%52 = load ptr, ptr %51, align 8, !tbaa !10
%53 = getelementptr inbounds %struct.TYPE_19__, ptr %15, i64 %42
%54 = load <2 x i32>, ptr %52, align 4, !tbaa !6
store <2 x i32> %54, ptr %53, align 4, !tbaa !6
%55 = add nuw i64 %42, 1
%56 = load i64, ptr %48, align 8, !tbaa !14
%57 = icmp ult i64 %55, %56
br i1 %57, label %40, label %31, !llvm.loop !22
58: ; preds = %31, %26
%59 = phi ptr [ @ESP_OK, %31 ], [ @ESP_ERR_NO_MEM, %26 ]
%60 = load i32, ptr %59, align 4, !tbaa !6
ret i32 %60
}
declare i32 @SAFE_ALLOCATION(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @resp_set_property_values__init(ptr noundef) local_unnamed_addr #1
declare ptr @calloc(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ESP_LOGE(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @esp_local_ctrl_set_prop_values(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @err_to_status(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_20__", !11, i64 0, !7, i64 8, !11, i64 16}
!14 = !{!15, !16, i64 0}
!15 = !{!"TYPE_18__", !16, i64 0, !11, i64 8}
!16 = !{!"long", !8, i64 0}
!17 = !{!15, !11, i64 8}
!18 = !{!19, !7, i64 0}
!19 = !{!"TYPE_21__", !7, i64 0}
!20 = !{!13, !7, i64 8}
!21 = !{!13, !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
| esp-idf_components_esp_local_ctrl_src_extr_esp_local_ctrl_handler.c_cmd_set_prop_vals_handler |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_selftest.c___intel_gt_live_setup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_selftest.c___intel_gt_live_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"
; Function Attrs: nounwind uwtable
define dso_local i32 @__intel_gt_live_setup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @intel_gt_terminally_wedged(ptr noundef %0) #2
ret i32 %2
}
declare i32 @intel_gt_terminally_wedged(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_selftest.c___intel_gt_live_setup.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_selftest.c___intel_gt_live_setup.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @__intel_gt_live_setup(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @intel_gt_terminally_wedged(ptr noundef %0) #2
ret i32 %2
}
declare i32 @intel_gt_terminally_wedged(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_gpu_drm_i915_selftests_extr_i915_selftest.c___intel_gt_live_setup |
; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_sonixb.c_find_sof.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_sonixb.c_find_sof.c"
target datalayout = "e-m:e-p270:32:32-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.sd = type { i64, i32, ptr }
@BRIDGE_103 = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @find_sof], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define internal ptr @find_sof(ptr nocapture noundef %0, ptr noundef readonly %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = load i64, ptr @BRIDGE_103, align 8, !tbaa !12
%6 = icmp eq i64 %4, %5
%7 = select i1 %6, i32 18, i32 12
%8 = icmp sgt i32 %2, 0
br i1 %8, label %9, label %58
9: ; preds = %3
%10 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 1
%11 = getelementptr inbounds %struct.sd, ptr %0, i64 0, i32 2
%12 = zext nneg i32 %2 to i64
%13 = load i32, ptr %10, align 8, !tbaa !13
br label %14
14: ; preds = %9, %54
%15 = phi i32 [ %13, %9 ], [ %55, %54 ]
%16 = phi i64 [ 0, %9 ], [ %56, %54 ]
%17 = getelementptr inbounds i32, ptr %1, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !14
switch i32 %15, label %41 [
i32 0, label %19
i32 1, label %21
i32 2, label %24
i32 3, label %26
i32 4, label %31
i32 5, label %36
]
19: ; preds = %14
%20 = icmp eq i32 %18, 255
br i1 %20, label %52, label %54
21: ; preds = %14
%22 = icmp eq i32 %18, 255
%23 = select i1 %22, i32 2, i32 0
br label %52
24: ; preds = %14
switch i32 %18, label %25 [
i32 0, label %52
i32 255, label %54
]
25: ; preds = %24
br label %52
26: ; preds = %14
%27 = icmp eq i32 %18, 255
%28 = zext i1 %27 to i32
%29 = icmp eq i32 %18, 196
%30 = select i1 %29, i32 4, i32 %28
br label %52
31: ; preds = %14
%32 = icmp eq i32 %18, 255
%33 = zext i1 %32 to i32
%34 = icmp eq i32 %18, 196
%35 = select i1 %34, i32 5, i32 %33
br label %52
36: ; preds = %14
%37 = icmp eq i32 %18, 255
%38 = zext i1 %37 to i32
%39 = icmp eq i32 %18, 150
%40 = select i1 %39, i32 6, i32 %38
br label %52
41: ; preds = %14
%42 = load ptr, ptr %11, align 8, !tbaa !15
%43 = sext i32 %15 to i64
%44 = getelementptr i32, ptr %42, i64 %43
%45 = getelementptr i32, ptr %44, i64 -6
store i32 %18, ptr %45, align 4, !tbaa !14
%46 = load i32, ptr %10, align 8, !tbaa !13
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 8, !tbaa !13
%48 = icmp eq i32 %47, %7
br i1 %48, label %49, label %54
49: ; preds = %41
%50 = getelementptr inbounds i32, ptr %1, i64 %16
store i32 0, ptr %10, align 8, !tbaa !13
%51 = getelementptr inbounds i32, ptr %50, i64 1
br label %58
52: ; preds = %36, %31, %26, %24, %21, %19, %25
%53 = phi i32 [ 0, %25 ], [ 1, %19 ], [ %23, %21 ], [ 3, %24 ], [ %30, %26 ], [ %35, %31 ], [ %40, %36 ]
store i32 %53, ptr %10, align 8, !tbaa !13
br label %54
54: ; preds = %52, %24, %19, %41
%55 = phi i32 [ 2, %24 ], [ 0, %19 ], [ %47, %41 ], [ %53, %52 ]
%56 = add nuw nsw i64 %16, 1
%57 = icmp eq i64 %56, %12
br i1 %57, label %58, label %14, !llvm.loop !16
58: ; preds = %54, %3, %49
%59 = phi ptr [ %51, %49 ], [ null, %3 ], [ null, %54 ]
ret ptr %59
}
attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sd", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !11, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/media/usb/gspca/extr_sonixb.c_find_sof.c'
source_filename = "AnghaBench/linux/drivers/media/usb/gspca/extr_sonixb.c_find_sof.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BRIDGE_103 = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @find_sof], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal ptr @find_sof(ptr nocapture noundef %0, ptr noundef readonly %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = load i64, ptr @BRIDGE_103, align 8, !tbaa !13
%6 = icmp eq i64 %4, %5
%7 = select i1 %6, i32 18, i32 12
%8 = icmp sgt i32 %2, 0
br i1 %8, label %9, label %58
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = zext nneg i32 %2 to i64
%13 = load i32, ptr %10, align 8, !tbaa !14
br label %14
14: ; preds = %9, %54
%15 = phi i32 [ %13, %9 ], [ %55, %54 ]
%16 = phi i64 [ 0, %9 ], [ %56, %54 ]
%17 = getelementptr inbounds i32, ptr %1, i64 %16
%18 = load i32, ptr %17, align 4, !tbaa !15
switch i32 %15, label %41 [
i32 0, label %19
i32 1, label %21
i32 2, label %24
i32 3, label %26
i32 4, label %31
i32 5, label %36
]
19: ; preds = %14
%20 = icmp eq i32 %18, 255
br i1 %20, label %52, label %54
21: ; preds = %14
%22 = icmp eq i32 %18, 255
%23 = select i1 %22, i32 2, i32 0
br label %52
24: ; preds = %14
switch i32 %18, label %25 [
i32 0, label %52
i32 255, label %54
]
25: ; preds = %24
br label %52
26: ; preds = %14
%27 = icmp eq i32 %18, 255
%28 = zext i1 %27 to i32
%29 = icmp eq i32 %18, 196
%30 = select i1 %29, i32 4, i32 %28
br label %52
31: ; preds = %14
%32 = icmp eq i32 %18, 255
%33 = zext i1 %32 to i32
%34 = icmp eq i32 %18, 196
%35 = select i1 %34, i32 5, i32 %33
br label %52
36: ; preds = %14
%37 = icmp eq i32 %18, 255
%38 = zext i1 %37 to i32
%39 = icmp eq i32 %18, 150
%40 = select i1 %39, i32 6, i32 %38
br label %52
41: ; preds = %14
%42 = load ptr, ptr %11, align 8, !tbaa !16
%43 = sext i32 %15 to i64
%44 = getelementptr i32, ptr %42, i64 %43
%45 = getelementptr i8, ptr %44, i64 -24
store i32 %18, ptr %45, align 4, !tbaa !15
%46 = load i32, ptr %10, align 8, !tbaa !14
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 8, !tbaa !14
%48 = icmp eq i32 %47, %7
br i1 %48, label %49, label %54
49: ; preds = %41
%50 = getelementptr inbounds i32, ptr %1, i64 %16
store i32 0, ptr %10, align 8, !tbaa !14
%51 = getelementptr inbounds i8, ptr %50, i64 4
br label %58
52: ; preds = %36, %31, %26, %24, %21, %19, %25
%53 = phi i32 [ 0, %25 ], [ 1, %19 ], [ %23, %21 ], [ 3, %24 ], [ %30, %26 ], [ %35, %31 ], [ %40, %36 ]
store i32 %53, ptr %10, align 8, !tbaa !14
br label %54
54: ; preds = %52, %24, %19, %41
%55 = phi i32 [ 2, %24 ], [ 0, %19 ], [ %47, %41 ], [ %53, %52 ]
%56 = add nuw nsw i64 %16, 1
%57 = icmp eq i64 %56, %12
br i1 %57, label %58, label %14, !llvm.loop !17
58: ; preds = %54, %3, %49
%59 = phi ptr [ %51, %49 ], [ null, %3 ], [ null, %54 ]
ret ptr %59
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sd", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!7, !12, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| linux_drivers_media_usb_gspca_extr_sonixb.c_find_sof |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE(i32 noundef %0) #0 {
%2 = load i32, ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT, align 4, !tbaa !5
%3 = shl i32 %0, %2
%4 = load i32, ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__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/extr_adrenoadreno_pm4.xml.h_A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoadreno_pm4.xml.h_A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT = common local_unnamed_addr global i32 0, align 4
@A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE(i32 noundef %0) #0 {
%2 = load i32, ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__SHIFT, align 4, !tbaa !6
%3 = shl i32 %0, %2
%4 = load i32, ptr @A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE__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_extr_adrenoadreno_pm4.xml.h_A4XX_CP_DRAW_INDX_INDIRECT_0_TESS_MODE |
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_setting_path.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_setting_path.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @menu_action_setting_disp_set_label_setting_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @menu_action_setting_disp_set_label_setting_path(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 %2, i32 noundef %3, ptr nocapture readnone %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 {
%11 = load ptr, ptr %0, align 8, !tbaa !5
%12 = zext i32 %3 to i64
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12
%14 = load i32, ptr %13, align 4, !tbaa !10
%15 = tail call ptr @menu_setting_find(i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %10
%18 = load i32, ptr %15, align 4, !tbaa !13
%19 = tail call ptr @path_basename(i32 noundef %18) #2
br label %20
20: ; preds = %10, %17
%21 = phi ptr [ %19, %17 ], [ null, %10 ]
store i32 19, ptr %1, align 4, !tbaa !17
%22 = tail call i32 @string_is_empty(ptr noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @strlcpy(ptr noundef %5, ptr noundef %21, i64 noundef %6) #2
br label %26
26: ; preds = %24, %20
%27 = tail call i32 @strlcpy(ptr noundef %8, ptr noundef %7, i64 noundef %9) #2
ret void
}
declare ptr @menu_setting_find(i32 noundef) local_unnamed_addr #1
declare ptr @path_basename(i32 noundef) local_unnamed_addr #1
declare i32 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_12__", !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_8__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_11__", !15, i64 0}
!15 = !{!"TYPE_10__", !16, i64 0}
!16 = !{!"TYPE_9__", !12, i64 0}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_setting_path.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_setting_path.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_8__ = type { i32 }
@llvm.used = appending global [1 x ptr] [ptr @menu_action_setting_disp_set_label_setting_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @menu_action_setting_disp_set_label_setting_path(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 %2, i32 noundef %3, ptr nocapture readnone %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9) #0 {
%11 = load ptr, ptr %0, align 8, !tbaa !6
%12 = zext i32 %3 to i64
%13 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12
%14 = load i32, ptr %13, align 4, !tbaa !11
%15 = tail call ptr @menu_setting_find(i32 noundef %14) #2
%16 = icmp eq ptr %15, null
br i1 %16, label %20, label %17
17: ; preds = %10
%18 = load i32, ptr %15, align 4, !tbaa !14
%19 = tail call ptr @path_basename(i32 noundef %18) #2
br label %20
20: ; preds = %10, %17
%21 = phi ptr [ %19, %17 ], [ null, %10 ]
store i32 19, ptr %1, align 4, !tbaa !18
%22 = tail call i32 @string_is_empty(ptr noundef %21) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = tail call i32 @strlcpy(ptr noundef %5, ptr noundef %21, i64 noundef %6) #2
br label %26
26: ; preds = %24, %20
%27 = tail call i32 @strlcpy(ptr noundef %8, ptr noundef %7, i64 noundef %9) #2
ret void
}
declare ptr @menu_setting_find(i32 noundef) local_unnamed_addr #1
declare ptr @path_basename(i32 noundef) local_unnamed_addr #1
declare i32 @string_is_empty(ptr noundef) local_unnamed_addr #1
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_12__", !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_8__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"TYPE_11__", !16, i64 0}
!16 = !{!"TYPE_10__", !17, i64 0}
!17 = !{!"TYPE_9__", !13, i64 0}
!18 = !{!13, !13, i64 0}
| RetroArch_menu_cbs_extr_menu_cbs_get_value.c_menu_action_setting_disp_set_label_setting_path |
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_pio_in_out.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_pio_in_out.c"
target datalayout = "e-m:e-p270:32:32-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.kvm_vcpu = type { ptr, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__, i32 }
%struct.TYPE_5__ = type { i16, i32, i32, i32 }
%struct.TYPE_8__ = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { i32, i32, i32, i16, i32 }
@KVM_EXIT_IO = dso_local local_unnamed_addr global i32 0, align 4
@KVM_EXIT_IO_IN = dso_local local_unnamed_addr global i32 0, align 4
@KVM_EXIT_IO_OUT = dso_local local_unnamed_addr global i32 0, align 4
@KVM_PIO_PAGE_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @emulator_pio_in_out], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @emulator_pio_in_out(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2, ptr nocapture readnone %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1
store i16 %2, ptr %7, align 8, !tbaa !5
%8 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 0, i32 1
store i32 %5, ptr %8, align 4, !tbaa !14
%9 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 0, i32 2
store i32 %4, ptr %9, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 0, i32 3
store i32 %1, ptr %10, align 4, !tbaa !16
%11 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !17
%13 = tail call i32 @kernel_pio(ptr noundef %0, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %6
store i32 0, ptr %9, align 8, !tbaa !15
br label %31
16: ; preds = %6
%17 = load i32, ptr @KVM_EXIT_IO, align 4, !tbaa !18
%18 = load ptr, ptr %0, align 8, !tbaa !19
%19 = getelementptr inbounds %struct.TYPE_8__, ptr %18, i64 0, i32 1
store i32 %17, ptr %19, align 4, !tbaa !20
%20 = icmp eq i32 %5, 0
%21 = load i32, ptr @KVM_EXIT_IO_IN, align 4
%22 = load i32, ptr @KVM_EXIT_IO_OUT, align 4
%23 = select i1 %20, i32 %22, i32 %21
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 4
store i32 %23, ptr %24, align 4, !tbaa !23
store i32 %1, ptr %18, align 4, !tbaa !24
%25 = load i32, ptr @KVM_PIO_PAGE_OFFSET, align 4, !tbaa !18
%26 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !18
%27 = mul nsw i32 %26, %25
%28 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 1
store i32 %27, ptr %28, align 4, !tbaa !25
%29 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 2
store i32 %4, ptr %29, align 4, !tbaa !26
%30 = getelementptr inbounds %struct.TYPE_7__, ptr %18, i64 0, i32 3
store i16 %2, ptr %30, align 4, !tbaa !27
br label %31
31: ; preds = %16, %15
%32 = phi i32 [ 0, %16 ], [ 1, %15 ]
ret i32 %32
}
declare i32 @kernel_pio(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, !12, i64 8}
!6 = !{!"kvm_vcpu", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_6__", !11, i64 0, !13, i64 16}
!11 = !{!"TYPE_5__", !12, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!12 = !{!"short", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!6, !13, i64 12}
!15 = !{!6, !13, i64 16}
!16 = !{!6, !13, i64 20}
!17 = !{!6, !13, i64 24}
!18 = !{!13, !13, i64 0}
!19 = !{!6, !7, i64 0}
!20 = !{!21, !13, i64 20}
!21 = !{!"TYPE_8__", !22, i64 0, !13, i64 20}
!22 = !{!"TYPE_7__", !13, i64 0, !13, i64 4, !13, i64 8, !12, i64 12, !13, i64 16}
!23 = !{!21, !13, i64 16}
!24 = !{!21, !13, i64 0}
!25 = !{!21, !13, i64 4}
!26 = !{!21, !13, i64 8}
!27 = !{!21, !12, i64 12}
| ; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_pio_in_out.c'
source_filename = "AnghaBench/linux/arch/x86/kvm/extr_x86.c_emulator_pio_in_out.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@KVM_EXIT_IO = common local_unnamed_addr global i32 0, align 4
@KVM_EXIT_IO_IN = common local_unnamed_addr global i32 0, align 4
@KVM_EXIT_IO_OUT = common local_unnamed_addr global i32 0, align 4
@KVM_PIO_PAGE_OFFSET = common local_unnamed_addr global i32 0, align 4
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @emulator_pio_in_out], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @emulator_pio_in_out(ptr noundef %0, i32 noundef %1, i16 noundef zeroext %2, ptr nocapture readnone %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = getelementptr inbounds i8, ptr %0, i64 8
store i16 %2, ptr %7, align 8, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %5, ptr %8, align 4, !tbaa !15
%9 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %4, ptr %9, align 8, !tbaa !16
%10 = getelementptr inbounds i8, ptr %0, i64 20
store i32 %1, ptr %10, align 4, !tbaa !17
%11 = getelementptr inbounds i8, ptr %0, i64 24
%12 = load i32, ptr %11, align 8, !tbaa !18
%13 = tail call i32 @kernel_pio(ptr noundef %0, i32 noundef %12) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %6
store i32 0, ptr %9, align 8, !tbaa !16
br label %31
16: ; preds = %6
%17 = load i32, ptr @KVM_EXIT_IO, align 4, !tbaa !19
%18 = load ptr, ptr %0, align 8, !tbaa !20
%19 = getelementptr inbounds i8, ptr %18, i64 20
store i32 %17, ptr %19, align 4, !tbaa !21
%20 = icmp eq i32 %5, 0
%21 = load i32, ptr @KVM_EXIT_IO_IN, align 4
%22 = load i32, ptr @KVM_EXIT_IO_OUT, align 4
%23 = select i1 %20, i32 %22, i32 %21
%24 = getelementptr inbounds i8, ptr %18, i64 16
store i32 %23, ptr %24, align 4, !tbaa !24
store i32 %1, ptr %18, align 4, !tbaa !25
%25 = load i32, ptr @KVM_PIO_PAGE_OFFSET, align 4, !tbaa !19
%26 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !19
%27 = mul nsw i32 %26, %25
%28 = getelementptr inbounds i8, ptr %18, i64 4
store i32 %27, ptr %28, align 4, !tbaa !26
%29 = getelementptr inbounds i8, ptr %18, i64 8
store i32 %4, ptr %29, align 4, !tbaa !27
%30 = getelementptr inbounds i8, ptr %18, i64 12
store i16 %2, ptr %30, align 4, !tbaa !28
br label %31
31: ; preds = %16, %15
%32 = phi i32 [ 0, %16 ], [ 1, %15 ]
ret i32 %32
}
declare i32 @kernel_pio(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, !13, i64 8}
!7 = !{!"kvm_vcpu", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_6__", !12, i64 0, !14, i64 16}
!12 = !{!"TYPE_5__", !13, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!13 = !{!"short", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!7, !14, i64 12}
!16 = !{!7, !14, i64 16}
!17 = !{!7, !14, i64 20}
!18 = !{!7, !14, i64 24}
!19 = !{!14, !14, i64 0}
!20 = !{!7, !8, i64 0}
!21 = !{!22, !14, i64 20}
!22 = !{!"TYPE_8__", !23, i64 0, !14, i64 20}
!23 = !{!"TYPE_7__", !14, i64 0, !14, i64 4, !14, i64 8, !13, i64 12, !14, i64 16}
!24 = !{!22, !14, i64 16}
!25 = !{!22, !14, i64 0}
!26 = !{!22, !14, i64 4}
!27 = !{!22, !14, i64 8}
!28 = !{!22, !13, i64 12}
| linux_arch_x86_kvm_extr_x86.c_emulator_pio_in_out |
; ModuleID = 'AnghaBench/linux/fs/configfs/extr_item.c_config_group_init.c'
source_filename = "AnghaBench/linux/fs/configfs/extr_item.c_config_group_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.config_group = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @config_group_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.config_group, ptr %0, i64 0, i32 2
%3 = tail call i32 @config_item_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.config_group, ptr %0, i64 0, i32 1
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2
%6 = tail call i32 @INIT_LIST_HEAD(ptr noundef %0) #2
ret void
}
declare i32 @config_item_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/configfs/extr_item.c_config_group_init.c'
source_filename = "AnghaBench/linux/fs/configfs/extr_item.c_config_group_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @config_group_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i32 @config_item_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 4
%5 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %4) #2
%6 = tail call i32 @INIT_LIST_HEAD(ptr noundef %0) #2
ret void
}
declare i32 @config_item_init(ptr noundef) local_unnamed_addr #1
declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_configfs_extr_item.c_config_group_init |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/arp/extr_arp.c_search.c'
source_filename = "AnghaBench/freebsd/usr.sbin/arp/extr_arp.c_search.c"
target datalayout = "e-m:e-p270:32:32-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.rt_msghdr = type { i32 }
@IF_NAMESIZE = dso_local local_unnamed_addr global i32 0, align 4
@CTL_NET = dso_local local_unnamed_addr global i32 0, align 4
@PF_ROUTE = dso_local local_unnamed_addr global i32 0, align 4
@AF_INET = dso_local local_unnamed_addr global i32 0, align 4
@NET_RT_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"route-sysctl-estimate\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"could not reallocate memory\00", align 1
@errno = dso_local local_unnamed_addr global i64 0, align 8
@ENOMEM = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [34 x i8] c"actual retrieval of routing table\00", align 1
@rifname = dso_local local_unnamed_addr global i64 0, align 8
@RTF_LLINFO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @search], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @search(i64 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [6 x i32], align 16
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
%5 = load i32, ptr @IF_NAMESIZE, align 4, !tbaa !5
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 16
%9 = load i32, ptr @CTL_NET, align 4, !tbaa !5
store i32 %9, ptr %3, align 16, !tbaa !5
%10 = load i32, ptr @PF_ROUTE, align 4, !tbaa !5
%11 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 1
store i32 %10, ptr %11, align 4, !tbaa !5
%12 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 2
store i32 0, ptr %12, align 8, !tbaa !5
%13 = load i32, ptr @AF_INET, align 4, !tbaa !5
%14 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 3
store i32 %13, ptr %14, align 4, !tbaa !5
%15 = load i32, ptr @NET_RT_FLAGS, align 4, !tbaa !5
%16 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 4
store i32 %15, ptr %16, align 16, !tbaa !5
%17 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 5
store i32 0, ptr %17, align 4, !tbaa !5
%18 = call i32 @sysctl(ptr noundef nonnull %3, i32 noundef 6, ptr noundef null, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #5
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @xo_err(i32 noundef 1, ptr noundef nonnull @.str) #5
br label %22
22: ; preds = %20, %2
%23 = load i64, ptr %4, align 8, !tbaa !9
%24 = icmp eq i64 %23, 0
br i1 %24, label %87, label %25
25: ; preds = %22, %39
%26 = phi i64 [ %42, %39 ], [ %23, %22 ]
%27 = phi ptr [ %28, %39 ], [ null, %22 ]
%28 = call ptr @reallocf(ptr noundef %27, i64 noundef %26)
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = call i32 @xo_errx(i32 noundef 1, ptr noundef nonnull @.str.1) #5
br label %32
32: ; preds = %30, %25
%33 = call i32 @sysctl(ptr noundef nonnull %3, i32 noundef 6, ptr noundef %28, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #5
%34 = icmp eq i32 %33, 0
br i1 %34, label %47, label %35
35: ; preds = %32
%36 = load i64, ptr @errno, align 8, !tbaa !9
%37 = load i64, ptr @ENOMEM, align 8, !tbaa !9
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i64, ptr %4, align 8, !tbaa !9
%41 = lshr i64 %40, 3
%42 = add i64 %41, %40
store i64 %42, ptr %4, align 8, !tbaa !9
br label %25
43: ; preds = %35
%44 = icmp eq i32 %33, -1
br i1 %44, label %45, label %47
45: ; preds = %43
%46 = call i32 @xo_err(i32 noundef 1, ptr noundef nonnull @.str.2) #5
br label %47
47: ; preds = %32, %45, %43
%48 = load i64, ptr %4, align 8, !tbaa !9
%49 = getelementptr inbounds i8, ptr %28, i64 %48
%50 = icmp sgt i64 %48, 0
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = icmp eq i64 %0, 0
br label %53
53: ; preds = %51, %78
%54 = phi i32 [ 0, %51 ], [ %79, %78 ]
%55 = phi ptr [ %28, %51 ], [ %82, %78 ]
%56 = getelementptr inbounds %struct.rt_msghdr, ptr %55, i64 1
%57 = call i32 @SA_SIZE(ptr noundef nonnull %56) #5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i64, ptr @rifname, align 8, !tbaa !9
%61 = icmp eq i64 %60, 0
br i1 %61, label %70, label %62
62: ; preds = %53
%63 = load i32, ptr %59, align 4, !tbaa !11
%64 = call i64 @if_indextoname(i32 noundef %63, ptr noundef nonnull %8) #5
%65 = icmp eq i64 %64, 0
br i1 %65, label %70, label %66
66: ; preds = %62
%67 = load i64, ptr @rifname, align 8, !tbaa !9
%68 = call i64 @strcmp(ptr noundef nonnull %8, i64 noundef %67) #5
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %78
70: ; preds = %66, %62, %53
br i1 %52, label %74, label %71
71: ; preds = %70
%72 = load i64, ptr %56, align 8, !tbaa !13
%73 = icmp eq i64 %72, %0
br i1 %73, label %74, label %78
74: ; preds = %71, %70
%75 = phi i32 [ %54, %70 ], [ 1, %71 ]
%76 = load ptr, ptr %1, align 8, !tbaa !16
%77 = call i32 %76(ptr noundef nonnull %59, ptr noundef nonnull %56, ptr noundef %55) #5
br label %78
78: ; preds = %71, %66, %74
%79 = phi i32 [ %54, %66 ], [ %54, %71 ], [ %75, %74 ]
%80 = load i32, ptr %55, align 4, !tbaa !18
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %55, i64 %81
%83 = icmp ult ptr %82, %49
br i1 %83, label %53, label %84, !llvm.loop !20
84: ; preds = %78, %47
%85 = phi i32 [ 0, %47 ], [ %79, %78 ]
%86 = call i32 @free(ptr noundef %28) #5
br label %87
87: ; preds = %22, %84
%88 = phi i32 [ %85, %84 ], [ 0, %22 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
ret i32 %88
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @sysctl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @xo_err(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @reallocf(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4
declare i32 @xo_errx(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @SA_SIZE(ptr noundef) local_unnamed_addr #3
declare i64 @if_indextoname(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !6, i64 0}
!12 = !{!"sockaddr_dl", !6, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"sockaddr_in", !15, i64 0}
!15 = !{!"TYPE_2__", !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!19, !6, i64 0}
!19 = !{!"rt_msghdr", !6, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/arp/extr_arp.c_search.c'
source_filename = "AnghaBench/freebsd/usr.sbin/arp/extr_arp.c_search.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IF_NAMESIZE = common local_unnamed_addr global i32 0, align 4
@CTL_NET = common local_unnamed_addr global i32 0, align 4
@PF_ROUTE = common local_unnamed_addr global i32 0, align 4
@AF_INET = common local_unnamed_addr global i32 0, align 4
@NET_RT_FLAGS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"route-sysctl-estimate\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"could not reallocate memory\00", align 1
@errno = common local_unnamed_addr global i64 0, align 8
@ENOMEM = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [34 x i8] c"actual retrieval of routing table\00", align 1
@rifname = common local_unnamed_addr global i64 0, align 8
@RTF_LLINFO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @search], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @search(i64 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = alloca [6 x i32], align 4
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
%5 = load i32, ptr @IF_NAMESIZE, align 4, !tbaa !6
%6 = zext i32 %5 to i64
%7 = tail call ptr @llvm.stacksave.p0()
%8 = alloca i8, i64 %6, align 1
%9 = load i32, ptr @CTL_NET, align 4, !tbaa !6
store i32 %9, ptr %3, align 4, !tbaa !6
%10 = load i32, ptr @PF_ROUTE, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %10, ptr %11, align 4, !tbaa !6
%12 = getelementptr inbounds i8, ptr %3, i64 8
store i32 0, ptr %12, align 4, !tbaa !6
%13 = load i32, ptr @AF_INET, align 4, !tbaa !6
%14 = getelementptr inbounds i8, ptr %3, i64 12
store i32 %13, ptr %14, align 4, !tbaa !6
%15 = load i32, ptr @NET_RT_FLAGS, align 4, !tbaa !6
%16 = getelementptr inbounds i8, ptr %3, i64 16
store i32 %15, ptr %16, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %3, i64 20
store i32 0, ptr %17, align 4, !tbaa !6
%18 = call i32 @sysctl(ptr noundef nonnull %3, i32 noundef 6, ptr noundef null, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #5
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @xo_err(i32 noundef 1, ptr noundef nonnull @.str) #5
br label %22
22: ; preds = %20, %2
%23 = load i64, ptr %4, align 8, !tbaa !10
%24 = icmp eq i64 %23, 0
br i1 %24, label %87, label %25
25: ; preds = %22, %39
%26 = phi i64 [ %42, %39 ], [ %23, %22 ]
%27 = phi ptr [ %28, %39 ], [ null, %22 ]
%28 = call ptr @reallocf(ptr noundef %27, i64 noundef %26)
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = call i32 @xo_errx(i32 noundef 1, ptr noundef nonnull @.str.1) #5
br label %32
32: ; preds = %30, %25
%33 = call i32 @sysctl(ptr noundef nonnull %3, i32 noundef 6, ptr noundef %28, ptr noundef nonnull %4, ptr noundef null, i32 noundef 0) #5
%34 = icmp eq i32 %33, 0
br i1 %34, label %47, label %35
35: ; preds = %32
%36 = load i64, ptr @errno, align 8, !tbaa !10
%37 = load i64, ptr @ENOMEM, align 8, !tbaa !10
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i64, ptr %4, align 8, !tbaa !10
%41 = lshr i64 %40, 3
%42 = add i64 %41, %40
store i64 %42, ptr %4, align 8, !tbaa !10
br label %25
43: ; preds = %35
%44 = icmp eq i32 %33, -1
br i1 %44, label %45, label %47
45: ; preds = %43
%46 = call i32 @xo_err(i32 noundef 1, ptr noundef nonnull @.str.2) #5
br label %47
47: ; preds = %32, %45, %43
%48 = load i64, ptr %4, align 8, !tbaa !10
%49 = getelementptr inbounds i8, ptr %28, i64 %48
%50 = icmp sgt i64 %48, 0
br i1 %50, label %51, label %84
51: ; preds = %47
%52 = icmp eq i64 %0, 0
br label %53
53: ; preds = %51, %78
%54 = phi i32 [ 0, %51 ], [ %79, %78 ]
%55 = phi ptr [ %28, %51 ], [ %82, %78 ]
%56 = getelementptr inbounds i8, ptr %55, i64 4
%57 = call i32 @SA_SIZE(ptr noundef nonnull %56) #5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i64, ptr @rifname, align 8, !tbaa !10
%61 = icmp eq i64 %60, 0
br i1 %61, label %70, label %62
62: ; preds = %53
%63 = load i32, ptr %59, align 4, !tbaa !12
%64 = call i64 @if_indextoname(i32 noundef %63, ptr noundef nonnull %8) #5
%65 = icmp eq i64 %64, 0
br i1 %65, label %70, label %66
66: ; preds = %62
%67 = load i64, ptr @rifname, align 8, !tbaa !10
%68 = call i64 @strcmp(ptr noundef nonnull %8, i64 noundef %67) #5
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %78
70: ; preds = %66, %62, %53
br i1 %52, label %74, label %71
71: ; preds = %70
%72 = load i64, ptr %56, align 8, !tbaa !14
%73 = icmp eq i64 %72, %0
br i1 %73, label %74, label %78
74: ; preds = %71, %70
%75 = phi i32 [ %54, %70 ], [ 1, %71 ]
%76 = load ptr, ptr %1, align 8, !tbaa !17
%77 = call i32 %76(ptr noundef nonnull %59, ptr noundef nonnull %56, ptr noundef %55) #5
br label %78
78: ; preds = %71, %66, %74
%79 = phi i32 [ %54, %66 ], [ %54, %71 ], [ %75, %74 ]
%80 = load i32, ptr %55, align 4, !tbaa !19
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %55, i64 %81
%83 = icmp ult ptr %82, %49
br i1 %83, label %53, label %84, !llvm.loop !21
84: ; preds = %78, %47
%85 = phi i32 [ 0, %47 ], [ %79, %78 ]
%86 = call i32 @free(ptr noundef %28) #5
br label %87
87: ; preds = %22, %84
%88 = phi i32 [ %85, %84 ], [ 0, %22 ]
call void @llvm.stackrestore.p0(ptr %7)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
ret i32 %88
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2
declare i32 @sysctl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3
declare i32 @xo_err(i32 noundef, ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @reallocf(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #4
declare i32 @xo_errx(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i32 @SA_SIZE(ptr noundef) local_unnamed_addr #3
declare i64 @if_indextoname(i32 noundef, ptr noundef) local_unnamed_addr #3
declare i64 @strcmp(ptr noundef, i64 noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"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, !7, i64 0}
!13 = !{!"sockaddr_dl", !7, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"sockaddr_in", !16, i64 0}
!16 = !{!"TYPE_2__", !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"rt_msghdr", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.sbin_arp_extr_arp.c_search |
; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_free_tree_num_node.c'
source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_free_tree_num_node.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NIL = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @free_tree_num_node], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @free_tree_num_node(ptr noundef %0) #0 {
%2 = load ptr, ptr @NIL, align 8, !tbaa !5
%3 = icmp ne ptr %2, %0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = tail call i32 @zfree(ptr noundef %0, i32 noundef 4) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @zfree(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/kphp-kdb/text/extr_text-data.c_free_tree_num_node.c'
source_filename = "AnghaBench/kphp-kdb/text/extr_text-data.c_free_tree_num_node.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NIL = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @free_tree_num_node], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @free_tree_num_node(ptr noundef %0) #0 {
%2 = load ptr, ptr @NIL, align 8, !tbaa !6
%3 = icmp ne ptr %2, %0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = tail call i32 @zfree(ptr noundef %0, i32 noundef 4) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @zfree(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| kphp-kdb_text_extr_text-data.c_free_tree_num_node |
; ModuleID = 'AnghaBench/freebsd/lib/csu/riscv/extr_crt1.c___start.c'
source_filename = "AnghaBench/freebsd/lib/csu/riscv/extr_crt1.c___start.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4
@eprol = dso_local local_unnamed_addr global i32 0, align 4
@etext = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local void @__start(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @handle_argv(i32 noundef %0, ptr noundef %1, ptr noundef %2) #3
%6 = tail call i32 @atexit(ptr noundef %3) #3
%7 = tail call i32 @handle_static_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) #3
%8 = tail call i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #3
%9 = tail call i32 @exit(i32 noundef %8) #4
unreachable
}
declare i32 @handle_argv(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @atexit(ptr noundef) local_unnamed_addr #1
declare i32 @handle_static_init(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
declare i32 @main(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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)"}
| ; ModuleID = 'AnghaBench/freebsd/lib/csu/riscv/extr_crt1.c___start.c'
source_filename = "AnghaBench/freebsd/lib/csu/riscv/extr_crt1.c___start.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_DYNAMIC = common local_unnamed_addr global i32 0, align 4
@eprol = common local_unnamed_addr global i32 0, align 4
@etext = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @__start(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @handle_argv(i32 noundef %0, ptr noundef %1, ptr noundef %2) #4
%6 = tail call i32 @atexit(ptr noundef %3) #4
%7 = tail call i32 @handle_static_init(i32 noundef %0, ptr noundef %1, ptr noundef %2) #4
%8 = tail call i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #4
%9 = tail call i32 @exit(i32 noundef %8) #5
unreachable
}
declare i32 @handle_argv(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree
declare i32 @atexit(ptr noundef) local_unnamed_addr #2
declare i32 @handle_static_init(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @main(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nofree "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 }
attributes #5 = { 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)"}
| freebsd_lib_csu_riscv_extr_crt1.c___start |
; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_analyze.c_std_typanalyze.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_analyze.c_std_typanalyze.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i32, ptr }
%struct.TYPE_6__ = type { ptr, i32, ptr }
@default_statistics_target = dso_local local_unnamed_addr global i32 0, align 4
@InvalidOid = dso_local local_unnamed_addr global i32 0, align 4
@compute_scalar_stats = dso_local local_unnamed_addr global i32 0, align 4
@compute_distinct_stats = dso_local local_unnamed_addr global i32 0, align 4
@compute_trivial_stats = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @std_typanalyze(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 4
%5 = load ptr, ptr %4, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @default_statistics_target, align 4, !tbaa !13
store i32 %9, ptr %5, align 4, !tbaa !11
br label %10
10: ; preds = %8, %1
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%12 = load i32, ptr %11, align 8, !tbaa !14
%13 = call i32 @get_sort_group_operators(i32 noundef %12, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef null, ptr noundef null) #3
%14 = call i64 @palloc(i32 noundef 24) #3
%15 = inttoptr i64 %14 to ptr
%16 = load ptr, ptr %3, align 8, !tbaa !15
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 2
store ptr %16, ptr %17, align 8, !tbaa !16
%18 = call i64 @OidIsValid(ptr noundef %16) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load ptr, ptr %3, align 8, !tbaa !15
%22 = call i32 @get_opcode(ptr noundef %21) #3
br label %25
23: ; preds = %10
%24 = load i32, ptr @InvalidOid, align 4, !tbaa !13
br label %25
25: ; preds = %23, %20
%26 = phi i32 [ %22, %20 ], [ %24, %23 ]
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %15, i64 0, i32 1
store i32 %26, ptr %27, align 8, !tbaa !18
%28 = load ptr, ptr %2, align 8, !tbaa !15
store ptr %28, ptr %15, align 8, !tbaa !19
%29 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
store ptr %15, ptr %29, align 8, !tbaa !20
%30 = load ptr, ptr %3, align 8, !tbaa !15
%31 = call i64 @OidIsValid(ptr noundef %30) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %25
%34 = load ptr, ptr %2, align 8, !tbaa !15
%35 = call i64 @OidIsValid(ptr noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i32, ptr @compute_scalar_stats, align 4, !tbaa !13
%39 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
store i32 %38, ptr %39, align 4, !tbaa !21
br label %49
40: ; preds = %33, %25
%41 = load ptr, ptr %3, align 8, !tbaa !15
%42 = call i64 @OidIsValid(ptr noundef %41) #3
%43 = icmp eq i64 %42, 0
%44 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
br i1 %43, label %47, label %45
45: ; preds = %40
%46 = load i32, ptr @compute_distinct_stats, align 4, !tbaa !13
store i32 %46, ptr %44, align 4, !tbaa !21
br label %49
47: ; preds = %40
%48 = load i32, ptr @compute_trivial_stats, align 4, !tbaa !13
store i32 %48, ptr %44, align 4, !tbaa !21
br label %49
49: ; preds = %45, %47, %37
%50 = load i32, ptr %5, align 4, !tbaa !11
%51 = mul nsw i32 %50, 300
store i32 %51, ptr %0, align 8, !tbaa !22
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_sort_group_operators(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @palloc(i32 noundef) local_unnamed_addr #2
declare i64 @OidIsValid(ptr noundef) local_unnamed_addr #2
declare i32 @get_opcode(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !10, i64 8, !7, 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 = !{!12, !7, i64 0}
!12 = !{!"TYPE_7__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !10, i64 16}
!17 = !{!"TYPE_6__", !10, i64 0, !7, i64 8, !10, i64 16}
!18 = !{!17, !7, i64 8}
!19 = !{!17, !10, i64 0}
!20 = !{!6, !10, i64 8}
!21 = !{!6, !7, i64 4}
!22 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/commands/extr_analyze.c_std_typanalyze.c'
source_filename = "AnghaBench/postgres/src/backend/commands/extr_analyze.c_std_typanalyze.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@default_statistics_target = common local_unnamed_addr global i32 0, align 4
@InvalidOid = common local_unnamed_addr global i32 0, align 4
@compute_scalar_stats = common local_unnamed_addr global i32 0, align 4
@compute_distinct_stats = common local_unnamed_addr global i32 0, align 4
@compute_trivial_stats = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @std_typanalyze(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 24
%5 = load ptr, ptr %4, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%6 = load i32, ptr %5, align 4, !tbaa !12
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @default_statistics_target, align 4, !tbaa !14
store i32 %9, ptr %5, align 4, !tbaa !12
br label %10
10: ; preds = %8, %1
%11 = getelementptr inbounds i8, ptr %0, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !15
%13 = call i32 @get_sort_group_operators(i32 noundef %12, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef null, ptr noundef null) #3
%14 = call i64 @palloc(i32 noundef 24) #3
%15 = inttoptr i64 %14 to ptr
%16 = load ptr, ptr %3, align 8, !tbaa !16
%17 = getelementptr inbounds i8, ptr %15, i64 16
store ptr %16, ptr %17, align 8, !tbaa !17
%18 = call i64 @OidIsValid(ptr noundef %16) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load ptr, ptr %3, align 8, !tbaa !16
%22 = call i32 @get_opcode(ptr noundef %21) #3
br label %25
23: ; preds = %10
%24 = load i32, ptr @InvalidOid, align 4, !tbaa !14
br label %25
25: ; preds = %23, %20
%26 = phi i32 [ %22, %20 ], [ %24, %23 ]
%27 = getelementptr inbounds i8, ptr %15, i64 8
store i32 %26, ptr %27, align 8, !tbaa !19
%28 = load ptr, ptr %2, align 8, !tbaa !16
store ptr %28, ptr %15, align 8, !tbaa !20
%29 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %15, ptr %29, align 8, !tbaa !21
%30 = load ptr, ptr %3, align 8, !tbaa !16
%31 = call i64 @OidIsValid(ptr noundef %30) #3
%32 = icmp eq i64 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %25
%34 = load ptr, ptr %2, align 8, !tbaa !16
%35 = call i64 @OidIsValid(ptr noundef %34) #3
%36 = icmp eq i64 %35, 0
br i1 %36, label %40, label %37
37: ; preds = %33
%38 = load i32, ptr @compute_scalar_stats, align 4, !tbaa !14
%39 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %38, ptr %39, align 4, !tbaa !22
br label %49
40: ; preds = %33, %25
%41 = load ptr, ptr %3, align 8, !tbaa !16
%42 = call i64 @OidIsValid(ptr noundef %41) #3
%43 = icmp eq i64 %42, 0
%44 = getelementptr inbounds i8, ptr %0, i64 4
br i1 %43, label %47, label %45
45: ; preds = %40
%46 = load i32, ptr @compute_distinct_stats, align 4, !tbaa !14
store i32 %46, ptr %44, align 4, !tbaa !22
br label %49
47: ; preds = %40
%48 = load i32, ptr @compute_trivial_stats, align 4, !tbaa !14
store i32 %48, ptr %44, align 4, !tbaa !22
br label %49
49: ; preds = %45, %47, %37
%50 = load i32, ptr %5, align 4, !tbaa !12
%51 = mul nsw i32 %50, 300
store i32 %51, ptr %0, align 8, !tbaa !23
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 1
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @get_sort_group_operators(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @palloc(i32 noundef) local_unnamed_addr #2
declare i64 @OidIsValid(ptr noundef) local_unnamed_addr #2
declare i32 @get_opcode(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !11, i64 8, !8, 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 = !{!13, !8, i64 0}
!13 = !{!"TYPE_7__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !8, i64 16}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !11, i64 16}
!18 = !{!"TYPE_6__", !11, i64 0, !8, i64 8, !11, i64 16}
!19 = !{!18, !8, i64 8}
!20 = !{!18, !11, i64 0}
!21 = !{!7, !11, i64 8}
!22 = !{!7, !8, i64 4}
!23 = !{!7, !8, i64 0}
| postgres_src_backend_commands_extr_analyze.c_std_typanalyze |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_min_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_min_store.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.adm1026_data = type { i32, ptr, ptr }
@ADM1026_REG_IN_MIN = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @in_min_store], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @in_min_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%9 = getelementptr inbounds %struct.adm1026_data, ptr %8, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !10
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %4
%14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3
%15 = load i64, ptr %5, align 8, !tbaa !13
%16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3
%17 = getelementptr inbounds %struct.adm1026_data, ptr %8, i64 0, i32 1
%18 = load ptr, ptr %17, align 8, !tbaa !15
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 %16, ptr %20, align 4, !tbaa !16
%21 = load ptr, ptr @ADM1026_REG_IN_MIN, align 8, !tbaa !17
%22 = getelementptr inbounds i32, ptr %21, i64 %19
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = call i32 @adm1026_write_value(ptr noundef %10, i32 noundef %23, i32 noundef %16) #3
%25 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3
%26 = trunc i64 %3 to i32
br label %27
27: ; preds = %4, %13
%28 = phi i32 [ %26, %13 ], [ %11, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @adm1026_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"sensor_device_attribute", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 16}
!11 = !{!"adm1026_data", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!11, !12, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_min_store.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_min_store.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADM1026_REG_IN_MIN = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @in_min_store], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @in_min_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3
%9 = getelementptr inbounds i8, ptr %8, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !11
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %4
%14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3
%15 = load i64, ptr %5, align 8, !tbaa !14
%16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3
%17 = getelementptr inbounds i8, ptr %8, i64 8
%18 = load ptr, ptr %17, align 8, !tbaa !16
%19 = sext i32 %7 to i64
%20 = getelementptr inbounds i32, ptr %18, i64 %19
store i32 %16, ptr %20, align 4, !tbaa !17
%21 = load ptr, ptr @ADM1026_REG_IN_MIN, align 8, !tbaa !18
%22 = getelementptr inbounds i32, ptr %21, i64 %19
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = call i32 @adm1026_write_value(ptr noundef %10, i32 noundef %23, i32 noundef %16) #3
%25 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3
%26 = trunc i64 %3 to i32
br label %27
27: ; preds = %4, %13
%28 = phi i32 [ %26, %13 ], [ %11, %4 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret i32 %28
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2
declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @adm1026_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"sensor_device_attribute", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 16}
!12 = !{!"adm1026_data", !8, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!12, !13, i64 8}
!17 = !{!8, !8, i64 0}
!18 = !{!13, !13, i64 0}
| linux_drivers_hwmon_extr_adm1026.c_in_min_store |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/1/avenito/src/extr_timer.c_timer_init.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/1/avenito/src/extr_timer.c_timer_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"
@TIMER_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@interval = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @timer_init() local_unnamed_addr #0 {
%1 = load i32, ptr @TIMER_CTRL, align 4, !tbaa !5
%2 = load i32, ptr @interval, align 4, !tbaa !5
%3 = or i32 %2, 268435456
%4 = tail call i32 @put32(i32 noundef %1, i32 noundef %3) #2
ret void
}
declare i32 @put32(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/raspberry-pi-os/exercises/lesson03/1/avenito/src/extr_timer.c_timer_init.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/1/avenito/src/extr_timer.c_timer_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIMER_CTRL = common local_unnamed_addr global i32 0, align 4
@interval = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @timer_init() local_unnamed_addr #0 {
%1 = load i32, ptr @TIMER_CTRL, align 4, !tbaa !6
%2 = load i32, ptr @interval, align 4, !tbaa !6
%3 = or i32 %2, 268435456
%4 = tail call i32 @put32(i32 noundef %1, i32 noundef %3) #2
ret void
}
declare i32 @put32(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"}
| raspberry-pi-os_exercises_lesson03_1_avenito_src_extr_timer.c_timer_init |
; ModuleID = 'AnghaBench/libevent/extr_buffer.c_evbuffer_cb_clear_flags.c'
source_filename = "AnghaBench/libevent/extr_buffer.c_evbuffer_cb_clear_flags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EVBUFFER_CB_INTERNAL_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @evbuffer_cb_clear_flags(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @EVBUFFER_CB_INTERNAL_FLAGS, align 4, !tbaa !5
%5 = tail call i32 @EVBUFFER_LOCK(ptr noundef %0) #2
%6 = xor i32 %2, -1
%7 = or i32 %4, %6
%8 = load i32, ptr %1, align 4, !tbaa !9
%9 = and i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !9
%10 = tail call i32 @EVBUFFER_UNLOCK(ptr noundef %0) #2
ret i32 0
}
declare i32 @EVBUFFER_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @EVBUFFER_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"evbuffer_cb_entry", !6, i64 0}
| ; ModuleID = 'AnghaBench/libevent/extr_buffer.c_evbuffer_cb_clear_flags.c'
source_filename = "AnghaBench/libevent/extr_buffer.c_evbuffer_cb_clear_flags.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EVBUFFER_CB_INTERNAL_FLAGS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @evbuffer_cb_clear_flags(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @EVBUFFER_CB_INTERNAL_FLAGS, align 4, !tbaa !6
%5 = tail call i32 @EVBUFFER_LOCK(ptr noundef %0) #2
%6 = xor i32 %2, -1
%7 = or i32 %4, %6
%8 = load i32, ptr %1, align 4, !tbaa !10
%9 = and i32 %8, %7
store i32 %9, ptr %1, align 4, !tbaa !10
%10 = tail call i32 @EVBUFFER_UNLOCK(ptr noundef %0) #2
ret i32 0
}
declare i32 @EVBUFFER_LOCK(ptr noundef) local_unnamed_addr #1
declare i32 @EVBUFFER_UNLOCK(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"evbuffer_cb_entry", !7, i64 0}
| libevent_extr_buffer.c_evbuffer_cb_clear_flags |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_quota.c_gfs2_quota_get_xstate.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_quota.c_gfs2_quota_get_xstate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.fs_quota_stat = type { i32, i32, %struct.TYPE_6__, %struct.TYPE_6__, i32 }
%struct.TYPE_6__ = type { i32, i32, i32 }
%struct.gfs2_sbd = type { ptr, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
@FS_QSTAT_VERSION = dso_local local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_UDQ_ENFD = dso_local local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_GDQ_ENFD = dso_local local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_UDQ_ACCT = dso_local local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_GDQ_ACCT = dso_local local_unnamed_addr global i32 0, align 4
@qd_lru_count = dso_local global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @gfs2_quota_get_xstate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @gfs2_quota_get_xstate(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 36) #3
%5 = load i32, ptr @FS_QSTAT_VERSION, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 4
store i32 %5, ptr %6, align 4, !tbaa !12
%7 = getelementptr inbounds %struct.gfs2_sbd, ptr %3, i64 0, i32 1
%8 = load i32, ptr %7, align 8, !tbaa !15
switch i32 %8, label %23 [
i32 128, label %11
i32 130, label %9
]
9: ; preds = %2
%10 = load i32, ptr %1, align 4, !tbaa !18
br label %17
11: ; preds = %2
%12 = load i32, ptr @XFS_QUOTA_UDQ_ENFD, align 4, !tbaa !10
%13 = load i32, ptr @XFS_QUOTA_GDQ_ENFD, align 4, !tbaa !10
%14 = or i32 %13, %12
%15 = load i32, ptr %1, align 4, !tbaa !18
%16 = or i32 %14, %15
store i32 %16, ptr %1, align 4, !tbaa !18
br label %17
17: ; preds = %9, %11
%18 = phi i32 [ %10, %9 ], [ %16, %11 ]
%19 = load i32, ptr @XFS_QUOTA_UDQ_ACCT, align 4, !tbaa !10
%20 = load i32, ptr @XFS_QUOTA_GDQ_ACCT, align 4, !tbaa !10
%21 = or i32 %20, %19
%22 = or i32 %21, %18
store i32 %22, ptr %1, align 4, !tbaa !18
br label %23
23: ; preds = %2, %17
%24 = load ptr, ptr %3, align 8, !tbaa !19
%25 = icmp eq ptr %24, null
br i1 %25, label %33, label %26
26: ; preds = %23
%27 = tail call ptr @GFS2_I(ptr noundef nonnull %24) #3
%28 = load i32, ptr %27, align 4, !tbaa !20
%29 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 2, i32 2
store i32 %28, ptr %29, align 4, !tbaa !22
%30 = load ptr, ptr %3, align 8, !tbaa !19
%31 = load i32, ptr %30, align 4, !tbaa !23
%32 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 2, i32 1
store i32 %31, ptr %32, align 4, !tbaa !25
br label %33
33: ; preds = %26, %23
%34 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 2
store i32 1, ptr %34, align 4, !tbaa !26
%35 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 3
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %34, i64 12, i1 false), !tbaa.struct !27
%36 = tail call i32 @atomic_read(ptr noundef nonnull @qd_lru_count) #3
%37 = getelementptr inbounds %struct.fs_quota_stat, ptr %1, i64 0, i32 1
store i32 %36, ptr %37, align 4, !tbaa !28
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @atomic_read(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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"super_block", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 32}
!13 = !{!"fs_quota_stat", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 20, !11, i64 32}
!14 = !{!"TYPE_6__", !11, i64 0, !11, i64 4, !11, i64 8}
!15 = !{!16, !11, i64 8}
!16 = !{!"gfs2_sbd", !7, i64 0, !17, i64 8}
!17 = !{!"TYPE_5__", !11, i64 0}
!18 = !{!13, !11, i64 0}
!19 = !{!16, !7, i64 0}
!20 = !{!21, !11, i64 0}
!21 = !{!"TYPE_7__", !11, i64 0}
!22 = !{!13, !11, i64 16}
!23 = !{!24, !11, i64 0}
!24 = !{!"TYPE_8__", !11, i64 0}
!25 = !{!13, !11, i64 12}
!26 = !{!13, !11, i64 8}
!27 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!28 = !{!13, !11, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_quota.c_gfs2_quota_get_xstate.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_quota.c_gfs2_quota_get_xstate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FS_QSTAT_VERSION = common local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_UDQ_ENFD = common local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_GDQ_ENFD = common local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_UDQ_ACCT = common local_unnamed_addr global i32 0, align 4
@XFS_QUOTA_GDQ_ACCT = common local_unnamed_addr global i32 0, align 4
@qd_lru_count = common global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @gfs2_quota_get_xstate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @gfs2_quota_get_xstate(ptr nocapture noundef readonly %0, ptr noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = tail call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 36) #3
%5 = load i32, ptr @FS_QSTAT_VERSION, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 32
store i32 %5, ptr %6, align 4, !tbaa !13
%7 = getelementptr inbounds i8, ptr %3, i64 8
%8 = load i32, ptr %7, align 8, !tbaa !16
switch i32 %8, label %23 [
i32 128, label %11
i32 130, label %9
]
9: ; preds = %2
%10 = load i32, ptr %1, align 4, !tbaa !19
br label %17
11: ; preds = %2
%12 = load i32, ptr @XFS_QUOTA_UDQ_ENFD, align 4, !tbaa !11
%13 = load i32, ptr @XFS_QUOTA_GDQ_ENFD, align 4, !tbaa !11
%14 = or i32 %13, %12
%15 = load i32, ptr %1, align 4, !tbaa !19
%16 = or i32 %14, %15
store i32 %16, ptr %1, align 4, !tbaa !19
br label %17
17: ; preds = %9, %11
%18 = phi i32 [ %10, %9 ], [ %16, %11 ]
%19 = load i32, ptr @XFS_QUOTA_UDQ_ACCT, align 4, !tbaa !11
%20 = load i32, ptr @XFS_QUOTA_GDQ_ACCT, align 4, !tbaa !11
%21 = or i32 %20, %19
%22 = or i32 %21, %18
store i32 %22, ptr %1, align 4, !tbaa !19
br label %23
23: ; preds = %2, %17
%24 = load ptr, ptr %3, align 8, !tbaa !20
%25 = icmp eq ptr %24, null
br i1 %25, label %33, label %26
26: ; preds = %23
%27 = tail call ptr @GFS2_I(ptr noundef nonnull %24) #3
%28 = load i32, ptr %27, align 4, !tbaa !21
%29 = getelementptr inbounds i8, ptr %1, i64 16
store i32 %28, ptr %29, align 4, !tbaa !23
%30 = load ptr, ptr %3, align 8, !tbaa !20
%31 = load i32, ptr %30, align 4, !tbaa !24
%32 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %31, ptr %32, align 4, !tbaa !26
br label %33
33: ; preds = %26, %23
%34 = getelementptr inbounds i8, ptr %1, i64 8
store i32 1, ptr %34, align 4, !tbaa !27
%35 = getelementptr inbounds i8, ptr %1, i64 20
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %34, i64 12, i1 false), !tbaa.struct !28
%36 = tail call i32 @atomic_read(ptr noundef nonnull @qd_lru_count) #3
%37 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %36, ptr %37, align 4, !tbaa !29
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @atomic_read(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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"super_block", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 32}
!14 = !{!"fs_quota_stat", !12, i64 0, !12, i64 4, !15, i64 8, !15, i64 20, !12, i64 32}
!15 = !{!"TYPE_6__", !12, i64 0, !12, i64 4, !12, i64 8}
!16 = !{!17, !12, i64 8}
!17 = !{!"gfs2_sbd", !8, i64 0, !18, i64 8}
!18 = !{!"TYPE_5__", !12, i64 0}
!19 = !{!14, !12, i64 0}
!20 = !{!17, !8, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"TYPE_7__", !12, i64 0}
!23 = !{!14, !12, i64 16}
!24 = !{!25, !12, i64 0}
!25 = !{!"TYPE_8__", !12, i64 0}
!26 = !{!14, !12, i64 12}
!27 = !{!14, !12, i64 8}
!28 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11}
!29 = !{!14, !12, i64 4}
| fastsocket_kernel_fs_gfs2_extr_quota.c_gfs2_quota_get_xstate |
; ModuleID = 'AnghaBench/linux/drivers/atm/extr_lanai.c_eeprom_mac.c'
source_filename = "AnghaBench/linux/drivers/atm/extr_lanai.c_eeprom_mac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EEPROM_MAC = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @eeprom_mac], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal ptr @eeprom_mac(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i64, ptr @EEPROM_MAC, align 8, !tbaa !10
%4 = getelementptr inbounds i32, ptr %2, i64 %3
ret ptr %4
}
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 = !{!"lanai_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 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/atm/extr_lanai.c_eeprom_mac.c'
source_filename = "AnghaBench/linux/drivers/atm/extr_lanai.c_eeprom_mac.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EEPROM_MAC = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @eeprom_mac], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal ptr @eeprom_mac(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i64, ptr @EEPROM_MAC, align 8, !tbaa !11
%4 = getelementptr inbounds i32, ptr %2, i64 %3
ret ptr %4
}
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 = !{!"lanai_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 = !{!"long", !9, i64 0}
| linux_drivers_atm_extr_lanai.c_eeprom_mac |
; ModuleID = 'AnghaBench/linux/fs/udf/extr_super.c_udf_load_sparable_map.c'
source_filename = "AnghaBench/linux/fs/udf/extr_super.c_udf_load_sparable_map.c"
target datalayout = "e-m:e-p270:32:32-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.udf_part_map = type { i32, i32, %struct.TYPE_3__ }
%struct.TYPE_3__ = type { %struct.udf_sparing_data }
%struct.udf_sparing_data = type { ptr, i64 }
%struct.sparablePartitionMap = type { i32, ptr, i32 }
%struct.sparingTable = type { i32, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
@UDF_SPARABLE_MAP15 = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"error loading logical volume descriptor: Invalid packet length %u\0A\00", align 1
@EIO = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [71 x i8] c"error loading logical volume descriptor: Too many sparing tables (%d)\0A\00", align 1
@UDF_ID_SPARING = dso_local local_unnamed_addr global i32 0, align 4
@udf_get_pblock_spar15 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @udf_load_sparable_map], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @udf_load_sparable_map(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.udf_part_map, ptr %1, i64 0, i32 2
%6 = load i32, ptr @UDF_SPARABLE_MAP15, align 4, !tbaa !5
%7 = getelementptr inbounds %struct.udf_part_map, ptr %1, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !9
%8 = getelementptr inbounds %struct.sparablePartitionMap, ptr %2, i64 0, i32 2
%9 = load i32, ptr %8, align 8, !tbaa !15
%10 = tail call i64 @le16_to_cpu(i32 noundef %9) #3
%11 = getelementptr inbounds %struct.udf_part_map, ptr %1, i64 0, i32 2, i32 0, i32 1
store i64 %10, ptr %11, align 8, !tbaa !17
%12 = tail call i32 @is_power_of_2(i64 noundef %10) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load i64, ptr %11, align 8, !tbaa !17
%16 = trunc i64 %15 to i32
%17 = tail call i32 @udf_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %16) #3
%18 = load i32, ptr @EIO, align 4, !tbaa !5
%19 = sub nsw i32 0, %18
br label %69
20: ; preds = %3
%21 = load i32, ptr %2, align 8, !tbaa !18
%22 = icmp sgt i32 %21, 4
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = icmp sgt i32 %21, 0
br i1 %24, label %25, label %67
25: ; preds = %23
%26 = getelementptr inbounds %struct.sparablePartitionMap, ptr %2, i64 0, i32 1
br label %31
27: ; preds = %20
%28 = tail call i32 @udf_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %21) #3
%29 = load i32, ptr @EIO, align 4, !tbaa !5
%30 = sub nsw i32 0, %29
br label %69
31: ; preds = %25, %62
%32 = phi i64 [ 0, %25 ], [ %63, %62 ]
%33 = load ptr, ptr %26, align 8, !tbaa !19
%34 = getelementptr inbounds i32, ptr %33, i64 %32
%35 = load i32, ptr %34, align 4, !tbaa !5
%36 = call i32 @le32_to_cpu(i32 noundef %35) #3
%37 = call ptr @udf_read_tagged(ptr noundef %0, i32 noundef %36, i32 noundef %36, ptr noundef nonnull %4) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %62, label %39
39: ; preds = %31
%40 = load i64, ptr %37, align 8, !tbaa !20
%41 = inttoptr i64 %40 to ptr
%42 = load i64, ptr %4, align 8, !tbaa !22
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %39
%45 = getelementptr inbounds %struct.sparingTable, ptr %41, i64 0, i32 1
%46 = load i32, ptr %45, align 4, !tbaa !23
%47 = load i32, ptr @UDF_ID_SPARING, align 4, !tbaa !5
%48 = call i32 @strlen(i32 noundef %47) #3
%49 = call i64 @strncmp(i32 noundef %46, i32 noundef %47, i32 noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %44
%52 = load i32, ptr %41, align 4, !tbaa !26
%53 = call i64 @le16_to_cpu(i32 noundef %52) #3
%54 = add i64 %53, 8
%55 = load i64, ptr %0, align 8, !tbaa !27
%56 = icmp ugt i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %51, %44, %39
%58 = call i32 @brelse(ptr noundef nonnull %37) #3
br label %62
59: ; preds = %51
%60 = load ptr, ptr %5, align 8, !tbaa !29
%61 = getelementptr inbounds ptr, ptr %60, i64 %32
store ptr %37, ptr %61, align 8, !tbaa !30
br label %62
62: ; preds = %31, %59, %57
%63 = add nuw nsw i64 %32, 1
%64 = load i32, ptr %2, align 8, !tbaa !18
%65 = sext i32 %64 to i64
%66 = icmp slt i64 %63, %65
br i1 %66, label %31, label %67, !llvm.loop !31
67: ; preds = %62, %23
%68 = load i32, ptr @udf_get_pblock_spar15, align 4, !tbaa !5
store i32 %68, ptr %1, align 8, !tbaa !33
br label %69
69: ; preds = %67, %27, %14
%70 = phi i32 [ %30, %27 ], [ 0, %67 ], [ %19, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #2
declare i32 @udf_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare ptr @udf_read_tagged(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strncmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare i32 @brelse(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 4}
!10 = !{!"udf_part_map", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"udf_sparing_data", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 16}
!16 = !{!"sparablePartitionMap", !6, i64 0, !13, i64 8, !6, i64 16}
!17 = !{!12, !14, i64 8}
!18 = !{!16, !6, i64 0}
!19 = !{!16, !13, i64 8}
!20 = !{!21, !14, i64 0}
!21 = !{!"buffer_head", !14, i64 0}
!22 = !{!14, !14, i64 0}
!23 = !{!24, !6, i64 4}
!24 = !{!"sparingTable", !6, i64 0, !25, i64 4}
!25 = !{!"TYPE_4__", !6, i64 0}
!26 = !{!24, !6, i64 0}
!27 = !{!28, !14, i64 0}
!28 = !{!"super_block", !14, i64 0}
!29 = !{!12, !13, i64 0}
!30 = !{!13, !13, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/udf/extr_super.c_udf_load_sparable_map.c'
source_filename = "AnghaBench/linux/fs/udf/extr_super.c_udf_load_sparable_map.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UDF_SPARABLE_MAP15 = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [67 x i8] c"error loading logical volume descriptor: Invalid packet length %u\0A\00", align 1
@EIO = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [71 x i8] c"error loading logical volume descriptor: Too many sparing tables (%d)\0A\00", align 1
@UDF_ID_SPARING = common local_unnamed_addr global i32 0, align 4
@udf_get_pblock_spar15 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @udf_load_sparable_map], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @udf_load_sparable_map(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr @UDF_SPARABLE_MAP15, align 4, !tbaa !6
%7 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %6, ptr %7, align 4, !tbaa !10
%8 = getelementptr inbounds i8, ptr %2, i64 16
%9 = load i32, ptr %8, align 8, !tbaa !16
%10 = tail call i64 @le16_to_cpu(i32 noundef %9) #3
%11 = getelementptr inbounds i8, ptr %1, i64 16
store i64 %10, ptr %11, align 8, !tbaa !18
%12 = tail call i32 @is_power_of_2(i64 noundef %10) #3
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %3
%15 = load i64, ptr %11, align 8, !tbaa !18
%16 = trunc i64 %15 to i32
%17 = tail call i32 @udf_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %16) #3
%18 = load i32, ptr @EIO, align 4, !tbaa !6
%19 = sub nsw i32 0, %18
br label %69
20: ; preds = %3
%21 = load i32, ptr %2, align 8, !tbaa !19
%22 = icmp sgt i32 %21, 4
br i1 %22, label %27, label %23
23: ; preds = %20
%24 = icmp sgt i32 %21, 0
br i1 %24, label %25, label %67
25: ; preds = %23
%26 = getelementptr inbounds i8, ptr %2, i64 8
br label %31
27: ; preds = %20
%28 = tail call i32 @udf_err(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %21) #3
%29 = load i32, ptr @EIO, align 4, !tbaa !6
%30 = sub nsw i32 0, %29
br label %69
31: ; preds = %25, %62
%32 = phi i64 [ 0, %25 ], [ %63, %62 ]
%33 = load ptr, ptr %26, align 8, !tbaa !20
%34 = getelementptr inbounds i32, ptr %33, i64 %32
%35 = load i32, ptr %34, align 4, !tbaa !6
%36 = call i32 @le32_to_cpu(i32 noundef %35) #3
%37 = call ptr @udf_read_tagged(ptr noundef %0, i32 noundef %36, i32 noundef %36, ptr noundef nonnull %4) #3
%38 = icmp eq ptr %37, null
br i1 %38, label %62, label %39
39: ; preds = %31
%40 = load i64, ptr %37, align 8, !tbaa !21
%41 = inttoptr i64 %40 to ptr
%42 = load i64, ptr %4, align 8, !tbaa !23
%43 = icmp eq i64 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %39
%45 = getelementptr inbounds i8, ptr %41, i64 4
%46 = load i32, ptr %45, align 4, !tbaa !24
%47 = load i32, ptr @UDF_ID_SPARING, align 4, !tbaa !6
%48 = call i32 @strlen(i32 noundef %47) #3
%49 = call i64 @strncmp(i32 noundef %46, i32 noundef %47, i32 noundef %48) #3
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %44
%52 = load i32, ptr %41, align 4, !tbaa !27
%53 = call i64 @le16_to_cpu(i32 noundef %52) #3
%54 = add i64 %53, 8
%55 = load i64, ptr %0, align 8, !tbaa !28
%56 = icmp ugt i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %51, %44, %39
%58 = call i32 @brelse(ptr noundef nonnull %37) #3
br label %62
59: ; preds = %51
%60 = load ptr, ptr %5, align 8, !tbaa !30
%61 = getelementptr inbounds ptr, ptr %60, i64 %32
store ptr %37, ptr %61, align 8, !tbaa !31
br label %62
62: ; preds = %31, %59, %57
%63 = add nuw nsw i64 %32, 1
%64 = load i32, ptr %2, align 8, !tbaa !19
%65 = sext i32 %64 to i64
%66 = icmp slt i64 %63, %65
br i1 %66, label %31, label %67, !llvm.loop !32
67: ; preds = %62, %23
%68 = load i32, ptr @udf_get_pblock_spar15, align 4, !tbaa !6
store i32 %68, ptr %1, align 8, !tbaa !34
br label %69
69: ; preds = %67, %27, %14
%70 = phi i32 [ %30, %27 ], [ 0, %67 ], [ %19, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %70
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @le16_to_cpu(i32 noundef) local_unnamed_addr #2
declare i32 @is_power_of_2(i64 noundef) local_unnamed_addr #2
declare i32 @udf_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @le32_to_cpu(i32 noundef) local_unnamed_addr #2
declare ptr @udf_read_tagged(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @strncmp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @strlen(i32 noundef) local_unnamed_addr #2
declare i32 @brelse(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 4}
!11 = !{!"udf_part_map", !7, i64 0, !7, i64 4, !12, i64 8}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"udf_sparing_data", !14, i64 0, !15, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!17, !7, i64 16}
!17 = !{!"sparablePartitionMap", !7, i64 0, !14, i64 8, !7, i64 16}
!18 = !{!13, !15, i64 8}
!19 = !{!17, !7, i64 0}
!20 = !{!17, !14, i64 8}
!21 = !{!22, !15, i64 0}
!22 = !{!"buffer_head", !15, i64 0}
!23 = !{!15, !15, i64 0}
!24 = !{!25, !7, i64 4}
!25 = !{!"sparingTable", !7, i64 0, !26, i64 4}
!26 = !{!"TYPE_4__", !7, i64 0}
!27 = !{!25, !7, i64 0}
!28 = !{!29, !15, i64 0}
!29 = !{!"super_block", !15, i64 0}
!30 = !{!13, !14, i64 0}
!31 = !{!14, !14, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!11, !7, i64 0}
| linux_fs_udf_extr_super.c_udf_load_sparable_map |
; ModuleID = 'AnghaBench/linux/arch/x86/mm/extr_pgtable.c_pgd_mop_up_pmds.c'
source_filename = "AnghaBench/linux/arch/x86/mm/extr_pgtable.c_pgd_mop_up_pmds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PREALLOCATED_PMDS = dso_local local_unnamed_addr global i32 0, align 4
@KERNEL_PGD_BOUNDARY = dso_local local_unnamed_addr global i32 0, align 4
@PREALLOCATED_USER_PMDS = dso_local local_unnamed_addr global i32 0, align 4
@X86_FEATURE_PTI = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pgd_mop_up_pmds], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @pgd_mop_up_pmds(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @PREALLOCATED_PMDS, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %2, %5
%6 = phi i64 [ %9, %5 ], [ 0, %2 ]
%7 = getelementptr inbounds i32, ptr %1, i64 %6
%8 = tail call i32 @mop_up_one_pmd(ptr noundef %0, ptr noundef %7) #2
%9 = add nuw nsw i64 %6, 1
%10 = load i32, ptr @PREALLOCATED_PMDS, align 4, !tbaa !5
%11 = sext i32 %10 to i64
%12 = icmp slt i64 %9, %11
br i1 %12, label %5, label %13, !llvm.loop !9
13: ; preds = %5, %2
ret void
}
declare i32 @mop_up_one_pmd(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/arch/x86/mm/extr_pgtable.c_pgd_mop_up_pmds.c'
source_filename = "AnghaBench/linux/arch/x86/mm/extr_pgtable.c_pgd_mop_up_pmds.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PREALLOCATED_PMDS = common local_unnamed_addr global i32 0, align 4
@KERNEL_PGD_BOUNDARY = common local_unnamed_addr global i32 0, align 4
@PREALLOCATED_USER_PMDS = common local_unnamed_addr global i32 0, align 4
@X86_FEATURE_PTI = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pgd_mop_up_pmds], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @pgd_mop_up_pmds(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @PREALLOCATED_PMDS, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %13
5: ; preds = %2, %5
%6 = phi i64 [ %9, %5 ], [ 0, %2 ]
%7 = getelementptr inbounds i32, ptr %1, i64 %6
%8 = tail call i32 @mop_up_one_pmd(ptr noundef %0, ptr noundef %7) #2
%9 = add nuw nsw i64 %6, 1
%10 = load i32, ptr @PREALLOCATED_PMDS, align 4, !tbaa !6
%11 = sext i32 %10 to i64
%12 = icmp slt i64 %9, %11
br i1 %12, label %5, label %13, !llvm.loop !10
13: ; preds = %5, %2
ret void
}
declare i32 @mop_up_one_pmd(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| linux_arch_x86_mm_extr_pgtable.c_pgd_mop_up_pmds |
; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/zfs/extr_zprop_common.c_zprop_register_string.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/zfs/extr_zprop_common.c_zprop_register_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PROP_TYPE_STRING = dso_local local_unnamed_addr global i32 0, align 4
@B_FALSE = dso_local local_unnamed_addr global i32 0, align 4
@B_TRUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @zprop_register_string(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = load i32, ptr @PROP_TYPE_STRING, align 4, !tbaa !5
%9 = load i32, ptr @B_FALSE, align 4, !tbaa !5
%10 = load i32, ptr @B_TRUE, align 4, !tbaa !5
%11 = tail call i32 @zprop_register_impl(i32 noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef 0, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %9, i32 noundef %10, ptr noundef null) #2
ret void
}
declare i32 @zprop_register_impl(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/zfs/extr_zprop_common.c_zprop_register_string.c'
source_filename = "AnghaBench/freebsd/sys/cddl/contrib/opensolaris/common/zfs/extr_zprop_common.c_zprop_register_string.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PROP_TYPE_STRING = common local_unnamed_addr global i32 0, align 4
@B_FALSE = common local_unnamed_addr global i32 0, align 4
@B_TRUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @zprop_register_string(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
%8 = load i32, ptr @PROP_TYPE_STRING, align 4, !tbaa !6
%9 = load i32, ptr @B_FALSE, align 4, !tbaa !6
%10 = load i32, ptr @B_TRUE, align 4, !tbaa !6
%11 = tail call i32 @zprop_register_impl(i32 noundef %0, ptr noundef %1, i32 noundef %8, i32 noundef 0, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %9, i32 noundef %10, ptr noundef null) #2
ret void
}
declare i32 @zprop_register_impl(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_cddl_contrib_opensolaris_common_zfs_extr_zprop_common.c_zprop_register_string |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidda.c_cb_pcidda_serial_in.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidda.c_cb_pcidda_serial_in.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@devpriv = dso_local local_unnamed_addr global ptr null, align 8
@DACALIBRATION1 = dso_local local_unnamed_addr global i64 0, align 8
@SERIAL_OUT_BIT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cb_pcidda_serial_in], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @cb_pcidda_serial_in(ptr nocapture readnone %0) #0 {
br label %2
2: ; preds = %1, %2
%3 = phi i32 [ 0, %1 ], [ %16, %2 ]
%4 = phi i32 [ 1, %1 ], [ %17, %2 ]
%5 = load ptr, ptr @devpriv, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !9
%7 = load i64, ptr @DACALIBRATION1, align 8, !tbaa !12
%8 = add nsw i64 %7, %6
%9 = tail call i32 @inw_p(i64 noundef %8) #2
%10 = load i32, ptr @SERIAL_OUT_BIT, align 4, !tbaa !13
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
%13 = sub nuw nsw i32 16, %4
%14 = shl nuw nsw i32 1, %13
%15 = select i1 %12, i32 0, i32 %14
%16 = or i32 %15, %3
%17 = add nuw nsw i32 %4, 1
%18 = icmp eq i32 %17, 17
br i1 %18, label %19, label %2, !llvm.loop !15
19: ; preds = %2
ret i32 %16
}
declare i32 @inw_p(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidda.c_cb_pcidda_serial_in.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidda.c_cb_pcidda_serial_in.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@devpriv = common local_unnamed_addr global ptr null, align 8
@DACALIBRATION1 = common local_unnamed_addr global i64 0, align 8
@SERIAL_OUT_BIT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cb_pcidda_serial_in], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @cb_pcidda_serial_in(ptr nocapture readnone %0) #0 {
br label %2
2: ; preds = %1, %2
%3 = phi i32 [ 0, %1 ], [ %16, %2 ]
%4 = phi i32 [ 1, %1 ], [ %17, %2 ]
%5 = load ptr, ptr @devpriv, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = load i64, ptr @DACALIBRATION1, align 8, !tbaa !13
%8 = add nsw i64 %7, %6
%9 = tail call i32 @inw_p(i64 noundef %8) #2
%10 = load i32, ptr @SERIAL_OUT_BIT, align 4, !tbaa !14
%11 = and i32 %10, %9
%12 = icmp eq i32 %11, 0
%13 = sub nuw nsw i32 16, %4
%14 = shl nuw nsw i32 1, %13
%15 = select i1 %12, i32 0, i32 %14
%16 = or i32 %15, %3
%17 = add nuw nsw i32 %4, 1
%18 = icmp eq i32 %17, 17
br i1 %18, label %19, label %2, !llvm.loop !16
19: ; preds = %2
ret i32 %16
}
declare i32 @inw_p(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_staging_comedi_drivers_extr_cb_pcidda.c_cb_pcidda_serial_in |
; ModuleID = 'AnghaBench/git/extr_credential-cache--daemon.c_serve_cache_loop.c'
source_filename = "AnghaBench/git/extr_credential-cache--daemon.c_serve_cache_loop.c"
target datalayout = "e-m:e-p270:32:32-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.pollfd = type { i32, i32, i32 }
@POLLIN = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EINTR = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"poll failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"accept failed\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"dup failed\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @serve_cache_loop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @serve_cache_loop(i32 noundef %0) #0 {
%2 = alloca %struct.pollfd, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
%3 = tail call i32 (...) @check_expirations() #4
%4 = icmp eq i32 %3, 0
br i1 %4, label %40, label %5
5: ; preds = %1
store i32 %0, ptr %2, align 4, !tbaa !5
%6 = load i32, ptr @POLLIN, align 4, !tbaa !10
%7 = getelementptr inbounds %struct.pollfd, ptr %2, i64 0, i32 1
store i32 %6, ptr %7, align 4, !tbaa !11
%8 = mul nsw i32 %3, 1000
%9 = call i64 @poll(ptr noundef nonnull %2, i32 noundef 1, i32 noundef %8) #4
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %5
%12 = load i64, ptr @errno, align 8, !tbaa !12
%13 = load i64, ptr @EINTR, align 8, !tbaa !12
%14 = icmp eq i64 %12, %13
br i1 %14, label %40, label %15
15: ; preds = %11
%16 = call i32 @die_errno(ptr noundef nonnull @.str) #4
br label %40
17: ; preds = %5
%18 = getelementptr inbounds %struct.pollfd, ptr %2, i64 0, i32 2
%19 = load i32, ptr %18, align 4, !tbaa !14
%20 = load i32, ptr @POLLIN, align 4, !tbaa !10
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %40, label %23
23: ; preds = %17
%24 = call i32 @accept(i32 noundef %0, ptr noundef null, ptr noundef null) #4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @warning_errno(ptr noundef nonnull @.str.1) #4
br label %40
28: ; preds = %23
%29 = call i32 @dup(i32 noundef %24) #4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = call i32 @warning_errno(ptr noundef nonnull @.str.2) #4
%33 = call i32 @close(i32 noundef %24) #4
br label %40
34: ; preds = %28
%35 = call ptr @xfdopen(i32 noundef %24, ptr noundef nonnull @.str.3) #4
%36 = call ptr @xfdopen(i32 noundef %29, ptr noundef nonnull @.str.4) #4
%37 = call i32 @serve_one_client(ptr noundef %35, ptr noundef %36) #4
%38 = call i32 @fclose(ptr noundef %35)
%39 = call i32 @fclose(ptr noundef %36)
br label %40
40: ; preds = %26, %31, %17, %34, %11, %15, %1
%41 = phi i32 [ 0, %1 ], [ 1, %15 ], [ 1, %11 ], [ 1, %34 ], [ 1, %17 ], [ 1, %31 ], [ 1, %26 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @check_expirations(...) local_unnamed_addr #2
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @die_errno(ptr noundef) local_unnamed_addr #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warning_errno(ptr noundef) local_unnamed_addr #2
declare i32 @dup(i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare ptr @xfdopen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @serve_one_client(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pollfd", !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 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/git/extr_credential-cache--daemon.c_serve_cache_loop.c'
source_filename = "AnghaBench/git/extr_credential-cache--daemon.c_serve_cache_loop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pollfd = type { i32, i32, i32 }
@POLLIN = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@EINTR = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [12 x i8] c"poll failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"accept failed\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"dup failed\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @serve_cache_loop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @serve_cache_loop(i32 noundef %0) #0 {
%2 = alloca %struct.pollfd, align 4
call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #4
%3 = tail call i32 @check_expirations() #4
%4 = icmp eq i32 %3, 0
br i1 %4, label %40, label %5
5: ; preds = %1
store i32 %0, ptr %2, align 4, !tbaa !6
%6 = load i32, ptr @POLLIN, align 4, !tbaa !11
%7 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %6, ptr %7, align 4, !tbaa !12
%8 = mul nsw i32 %3, 1000
%9 = call i64 @poll(ptr noundef nonnull %2, i32 noundef 1, i32 noundef %8) #4
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %5
%12 = load i64, ptr @errno, align 8, !tbaa !13
%13 = load i64, ptr @EINTR, align 8, !tbaa !13
%14 = icmp eq i64 %12, %13
br i1 %14, label %40, label %15
15: ; preds = %11
%16 = call i32 @die_errno(ptr noundef nonnull @.str) #4
br label %40
17: ; preds = %5
%18 = getelementptr inbounds i8, ptr %2, i64 8
%19 = load i32, ptr %18, align 4, !tbaa !15
%20 = load i32, ptr @POLLIN, align 4, !tbaa !11
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %40, label %23
23: ; preds = %17
%24 = call i32 @accept(i32 noundef %0, ptr noundef null, ptr noundef null) #4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @warning_errno(ptr noundef nonnull @.str.1) #4
br label %40
28: ; preds = %23
%29 = call i32 @dup(i32 noundef %24) #4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = call i32 @warning_errno(ptr noundef nonnull @.str.2) #4
%33 = call i32 @close(i32 noundef %24) #4
br label %40
34: ; preds = %28
%35 = call ptr @xfdopen(i32 noundef %24, ptr noundef nonnull @.str.3) #4
%36 = call ptr @xfdopen(i32 noundef %29, ptr noundef nonnull @.str.4) #4
%37 = call i32 @serve_one_client(ptr noundef %35, ptr noundef %36) #4
%38 = call i32 @fclose(ptr noundef %35)
%39 = call i32 @fclose(ptr noundef %36)
br label %40
40: ; preds = %26, %31, %17, %34, %11, %15, %1
%41 = phi i32 [ 0, %1 ], [ 1, %15 ], [ 1, %11 ], [ 1, %34 ], [ 1, %17 ], [ 1, %31 ], [ 1, %26 ]
call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #4
ret i32 %41
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @check_expirations(...) local_unnamed_addr #2
declare i64 @poll(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @die_errno(ptr noundef) local_unnamed_addr #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @warning_errno(ptr noundef) local_unnamed_addr #2
declare i32 @dup(i32 noundef) local_unnamed_addr #2
declare i32 @close(i32 noundef) local_unnamed_addr #2
declare ptr @xfdopen(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @serve_one_client(ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pollfd", !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 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !8, i64 8}
| git_extr_credential-cache--daemon.c_serve_cache_loop |
; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael1002_get_module_type.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael1002_get_module_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ETIMEDOUT = dso_local local_unnamed_addr global i32 0, align 4
@phy_modtype_none = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ael1002_get_module_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ael1002_get_module_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @msleep(i32 noundef %1) #2
br label %6
6: ; preds = %4, %2
%7 = tail call i32 @ael2xxx_get_module_type(ptr noundef %0, i32 noundef %1) #2
%8 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
%10 = icmp eq i32 %7, %9
%11 = load i32, ptr @phy_modtype_none, align 4
%12 = select i1 %10, i32 %11, i32 %7
ret i32 %12
}
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @ael2xxx_get_module_type(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael1002_get_module_type.c'
source_filename = "AnghaBench/freebsd/sys/dev/cxgb/common/extr_cxgb_ael1002.c_ael1002_get_module_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ETIMEDOUT = common local_unnamed_addr global i32 0, align 4
@phy_modtype_none = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ael1002_get_module_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ael1002_get_module_type(ptr noundef %0, i32 noundef %1) #0 {
%3 = icmp eq i32 %1, 0
br i1 %3, label %6, label %4
4: ; preds = %2
%5 = tail call i32 @msleep(i32 noundef %1) #2
br label %6
6: ; preds = %4, %2
%7 = tail call i32 @ael2xxx_get_module_type(ptr noundef %0, i32 noundef %1) #2
%8 = load i32, ptr @ETIMEDOUT, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
%10 = icmp eq i32 %7, %9
%11 = load i32, ptr @phy_modtype_none, align 4
%12 = select i1 %10, i32 %11, i32 %7
ret i32 %12
}
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @ael2xxx_get_module_type(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_cxgb_common_extr_cxgb_ael1002.c_ael1002_get_module_type |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_pci_host.c_bcma_find_pci_capability.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_pci_host.c_bcma_find_pci_capability.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@PCI_HEADER_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@PCI_HEADER_TYPE_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@PCI_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@PCI_STATUS_CAP_LIST = dso_local local_unnamed_addr global i32 0, align 4
@PCI_CAPABILITY_LIST = dso_local local_unnamed_addr global i32 0, align 4
@PCI_CONFIG_SPACE_SIZE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcma_find_pci_capability], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcma_find_pci_capability(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !5
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
%10 = load i32, ptr @PCI_HEADER_TYPE, align 4, !tbaa !5
%11 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %10, ptr noundef nonnull %9, i64 noundef 4) #3
%12 = load i32, ptr %9, align 4, !tbaa !5
%13 = and i32 %12, 127
%14 = load i32, ptr @PCI_HEADER_TYPE_NORMAL, align 4, !tbaa !5
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %72
16: ; preds = %6
%17 = load i32, ptr @PCI_STATUS, align 4, !tbaa !5
%18 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %17, ptr noundef nonnull %9, i64 noundef 4) #3
%19 = load i32, ptr %9, align 4, !tbaa !5
%20 = load i32, ptr @PCI_STATUS_CAP_LIST, align 4, !tbaa !5
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %72, label %23
23: ; preds = %16
%24 = load i32, ptr @PCI_CAPABILITY_LIST, align 4, !tbaa !5
%25 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %24, ptr noundef nonnull %8, i64 noundef 4) #3
%26 = load i32, ptr %8, align 4, !tbaa !5
%27 = icmp eq i32 %26, 0
br i1 %27, label %72, label %28
28: ; preds = %23
%29 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %26, ptr noundef nonnull %7, i64 noundef 4) #3
%30 = load i32, ptr %7, align 4, !tbaa !5
%31 = icmp eq i32 %30, %3
br i1 %31, label %42, label %32
32: ; preds = %28, %38
%33 = load i32, ptr %8, align 4, !tbaa !5
%34 = add nsw i32 %33, 1
%35 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %34, ptr noundef nonnull %8, i64 noundef 4) #3
%36 = load i32, ptr %8, align 4, !tbaa !5
%37 = icmp eq i32 %36, 0
br i1 %37, label %72, label %38
38: ; preds = %32
%39 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %36, ptr noundef nonnull %7, i64 noundef 4) #3
%40 = load i32, ptr %7, align 4, !tbaa !5
%41 = icmp eq i32 %40, %3
br i1 %41, label %42, label %32, !llvm.loop !9
42: ; preds = %38, %28
%43 = icmp ne ptr %4, null
%44 = icmp ne ptr %5, null
%45 = and i1 %43, %44
br i1 %45, label %46, label %70
46: ; preds = %42
%47 = load i64, ptr %5, align 8, !tbaa !11
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = load i32, ptr %8, align 4, !tbaa !5
br label %72
51: ; preds = %46
store i64 0, ptr %5, align 8, !tbaa !11
%52 = load i32, ptr %8, align 4, !tbaa !5
%53 = add nsw i32 %52, 2
%54 = sext i32 %53 to i64
%55 = add nsw i64 %47, %54
%56 = load i64, ptr @PCI_CONFIG_SPACE_SIZE, align 8, !tbaa !11
%57 = icmp sgt i64 %55, %56
%58 = sub nsw i64 %56, %54
%59 = select i1 %57, i64 %58, i64 %47
store i64 %59, ptr %5, align 8, !tbaa !11
%60 = icmp eq i64 %59, 0
br i1 %60, label %70, label %61
61: ; preds = %51, %61
%62 = phi i32 [ %67, %61 ], [ %53, %51 ]
%63 = phi i64 [ %65, %61 ], [ %59, %51 ]
%64 = phi ptr [ %68, %61 ], [ %4, %51 ]
%65 = add nsw i64 %63, -1
%66 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %62, ptr noundef nonnull %64, i64 noundef 4) #3
%67 = add nsw i32 %62, 1
%68 = getelementptr inbounds i8, ptr %64, i64 1
%69 = icmp eq i64 %65, 0
br i1 %69, label %70, label %61, !llvm.loop !13
70: ; preds = %61, %51, %42
%71 = load i32, ptr %8, align 4, !tbaa !5
br label %72
72: ; preds = %32, %16, %6, %49, %23, %70
%73 = phi i32 [ %71, %70 ], [ 0, %23 ], [ %50, %49 ], [ 0, %6 ], [ 0, %16 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret i32 %73
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcma_extpci_read_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !10}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_pci_host.c_bcma_find_pci_capability.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/bcma/extr_driver_pci_host.c_bcma_find_pci_capability.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PCI_HEADER_TYPE = common local_unnamed_addr global i32 0, align 4
@PCI_HEADER_TYPE_NORMAL = common local_unnamed_addr global i32 0, align 4
@PCI_STATUS = common local_unnamed_addr global i32 0, align 4
@PCI_STATUS_CAP_LIST = common local_unnamed_addr global i32 0, align 4
@PCI_CAPABILITY_LIST = common local_unnamed_addr global i32 0, align 4
@PCI_CONFIG_SPACE_SIZE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @bcma_find_pci_capability], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcma_find_pci_capability(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
store i32 0, ptr %8, align 4, !tbaa !6
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
%10 = load i32, ptr @PCI_HEADER_TYPE, align 4, !tbaa !6
%11 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %10, ptr noundef nonnull %9, i64 noundef 4) #3
%12 = load i32, ptr %9, align 4, !tbaa !6
%13 = and i32 %12, 127
%14 = load i32, ptr @PCI_HEADER_TYPE_NORMAL, align 4, !tbaa !6
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %72
16: ; preds = %6
%17 = load i32, ptr @PCI_STATUS, align 4, !tbaa !6
%18 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %17, ptr noundef nonnull %9, i64 noundef 4) #3
%19 = load i32, ptr %9, align 4, !tbaa !6
%20 = load i32, ptr @PCI_STATUS_CAP_LIST, align 4, !tbaa !6
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %72, label %23
23: ; preds = %16
%24 = load i32, ptr @PCI_CAPABILITY_LIST, align 4, !tbaa !6
%25 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %24, ptr noundef nonnull %8, i64 noundef 4) #3
%26 = load i32, ptr %8, align 4, !tbaa !6
%27 = icmp eq i32 %26, 0
br i1 %27, label %72, label %28
28: ; preds = %23
%29 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %26, ptr noundef nonnull %7, i64 noundef 4) #3
%30 = load i32, ptr %7, align 4, !tbaa !6
%31 = icmp eq i32 %30, %3
br i1 %31, label %42, label %32
32: ; preds = %28, %38
%33 = load i32, ptr %8, align 4, !tbaa !6
%34 = add nsw i32 %33, 1
%35 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %34, ptr noundef nonnull %8, i64 noundef 4) #3
%36 = load i32, ptr %8, align 4, !tbaa !6
%37 = icmp eq i32 %36, 0
br i1 %37, label %72, label %38
38: ; preds = %32
%39 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %36, ptr noundef nonnull %7, i64 noundef 4) #3
%40 = load i32, ptr %7, align 4, !tbaa !6
%41 = icmp eq i32 %40, %3
br i1 %41, label %42, label %32, !llvm.loop !10
42: ; preds = %38, %28
%43 = icmp ne ptr %4, null
%44 = icmp ne ptr %5, null
%45 = and i1 %43, %44
br i1 %45, label %46, label %70
46: ; preds = %42
%47 = load i64, ptr %5, align 8, !tbaa !12
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = load i32, ptr %8, align 4, !tbaa !6
br label %72
51: ; preds = %46
store i64 0, ptr %5, align 8, !tbaa !12
%52 = load i32, ptr %8, align 4, !tbaa !6
%53 = add nsw i32 %52, 2
%54 = sext i32 %53 to i64
%55 = add nsw i64 %47, %54
%56 = load i64, ptr @PCI_CONFIG_SPACE_SIZE, align 8, !tbaa !12
%57 = icmp sgt i64 %55, %56
%58 = sub nsw i64 %56, %54
%59 = select i1 %57, i64 %58, i64 %47
store i64 %59, ptr %5, align 8, !tbaa !12
%60 = icmp eq i64 %59, 0
br i1 %60, label %70, label %61
61: ; preds = %51, %61
%62 = phi i32 [ %67, %61 ], [ %53, %51 ]
%63 = phi i64 [ %65, %61 ], [ %59, %51 ]
%64 = phi ptr [ %68, %61 ], [ %4, %51 ]
%65 = add nsw i64 %63, -1
%66 = call i32 (ptr, i32, i32, i32, ...) @bcma_extpci_read_config(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %62, ptr noundef nonnull %64, i64 noundef 4) #3
%67 = add nsw i32 %62, 1
%68 = getelementptr inbounds i8, ptr %64, i64 1
%69 = icmp eq i64 %65, 0
br i1 %69, label %70, label %61, !llvm.loop !14
70: ; preds = %61, %51, %42
%71 = load i32, ptr %8, align 4, !tbaa !6
br label %72
72: ; preds = %32, %16, %6, %49, %23, %70
%73 = phi i32 [ %71, %70 ], [ 0, %23 ], [ %50, %49 ], [ 0, %6 ], [ 0, %16 ], [ 0, %32 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
ret i32 %73
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @bcma_extpci_read_config(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = distinct !{!14, !11}
| fastsocket_kernel_drivers_bcma_extr_driver_pci_host.c_bcma_find_pci_capability |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf7x3_spdif_source_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf7x3_spdif_source_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"
@AC97_YMF7X3_DIT_CTRL = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ac97_ymf7x3_spdif_source_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @snd_ac97_ymf7x3_spdif_source_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i64, ptr @AC97_YMF7X3_DIT_CTRL, align 8, !tbaa !10
%6 = getelementptr inbounds i16, ptr %4, i64 %5
%7 = load i16, ptr %6, align 2, !tbaa !12
%8 = lshr i16 %7, 1
%9 = and i16 %8, 1
%10 = load ptr, ptr %1, align 8, !tbaa !14
store i16 %9, ptr %10, align 2, !tbaa !12
ret i32 0
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_ac97", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"snd_ctl_elem_value", !16, i64 0}
!16 = !{!"TYPE_4__", !17, i64 0}
!17 = !{!"TYPE_3__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf7x3_spdif_source_get.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_patch.c_snd_ac97_ymf7x3_spdif_source_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AC97_YMF7X3_DIT_CTRL = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @snd_ac97_ymf7x3_spdif_source_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @snd_ac97_ymf7x3_spdif_source_get(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i64, ptr @AC97_YMF7X3_DIT_CTRL, align 8, !tbaa !11
%6 = getelementptr inbounds i16, ptr %4, i64 %5
%7 = load i16, ptr %6, align 2, !tbaa !13
%8 = lshr i16 %7, 1
%9 = and i16 %8, 1
%10 = load ptr, ptr %1, align 8, !tbaa !15
store i16 %9, ptr %10, align 2, !tbaa !13
ret i32 0
}
declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_ac97", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"snd_ctl_elem_value", !17, i64 0}
!17 = !{!"TYPE_4__", !18, i64 0}
!18 = !{!"TYPE_3__", !8, i64 0}
| fastsocket_kernel_sound_pci_ac97_extr_ac97_patch.c_snd_ac97_ymf7x3_spdif_source_get |
; ModuleID = 'AnghaBench/RetroArch/libretro-common/playlists/extr_label_sanitization.c_left_parens_or_brackets_excluding_region.c'
source_filename = "AnghaBench/RetroArch/libretro-common/playlists/extr_label_sanitization.c_left_parens_or_brackets_excluding_region.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@region_strings = dso_local local_unnamed_addr global i32 0, align 4
@region_strings_length = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @left_parens_or_brackets_excluding_region], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @left_parens_or_brackets_excluding_region(ptr noundef %0) #0 {
%2 = tail call i64 @left_parens_or_brackets(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load i32, ptr @region_strings, align 4, !tbaa !5
%6 = load i32, ptr @region_strings_length, align 4, !tbaa !5
%7 = tail call i32 @left_exclusion(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %4, %1
%11 = phi i32 [ 0, %1 ], [ %9, %4 ]
ret i32 %11
}
declare i64 @left_parens_or_brackets(ptr noundef) local_unnamed_addr #1
declare i32 @left_exclusion(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/libretro-common/playlists/extr_label_sanitization.c_left_parens_or_brackets_excluding_region.c'
source_filename = "AnghaBench/RetroArch/libretro-common/playlists/extr_label_sanitization.c_left_parens_or_brackets_excluding_region.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@region_strings = common local_unnamed_addr global i32 0, align 4
@region_strings_length = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @left_parens_or_brackets_excluding_region], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @left_parens_or_brackets_excluding_region(ptr noundef %0) #0 {
%2 = tail call i64 @left_parens_or_brackets(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %10, label %4
4: ; preds = %1
%5 = load i32, ptr @region_strings, align 4, !tbaa !6
%6 = load i32, ptr @region_strings_length, align 4, !tbaa !6
%7 = tail call i32 @left_exclusion(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
br label %10
10: ; preds = %4, %1
%11 = phi i32 [ 0, %1 ], [ %9, %4 ]
ret i32 %11
}
declare i64 @left_parens_or_brackets(ptr noundef) local_unnamed_addr #1
declare i32 @left_exclusion(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"}
| RetroArch_libretro-common_playlists_extr_label_sanitization.c_left_parens_or_brackets_excluding_region |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_dir.c_fuse_update_attributes.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_dir.c_fuse_update_attributes.c"
target datalayout = "e-m:e-p270:32:32-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.fuse_inode = type { i64, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @fuse_update_attributes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
%5 = tail call ptr @get_fuse_inode(ptr noundef %0) #2
%6 = load i64, ptr %5, align 8, !tbaa !5
%7 = tail call i64 (...) @get_jiffies_64() #2
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = tail call i32 @fuse_do_getattr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %17
11: ; preds = %4
%12 = icmp eq ptr %1, null
br i1 %12, label %17, label %13
13: ; preds = %11
%14 = tail call i32 @generic_fillattr(ptr noundef %0, ptr noundef nonnull %1) #2
%15 = getelementptr inbounds %struct.fuse_inode, ptr %5, i64 0, i32 1
%16 = load <2 x i32>, ptr %15, align 8, !tbaa !11
store <2 x i32> %16, ptr %1, align 4, !tbaa !11
br label %17
17: ; preds = %11, %13, %9
%18 = phi i32 [ %10, %9 ], [ 0, %13 ], [ 0, %11 ]
%19 = phi i32 [ 1, %9 ], [ 0, %13 ], [ 0, %11 ]
%20 = icmp eq ptr %3, null
br i1 %20, label %22, label %21
21: ; preds = %17
store i32 %19, ptr %3, align 4, !tbaa !11
br label %22
22: ; preds = %21, %17
ret i32 %18
}
declare ptr @get_fuse_inode(ptr noundef) local_unnamed_addr #1
declare i64 @get_jiffies_64(...) local_unnamed_addr #1
declare i32 @fuse_do_getattr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @generic_fillattr(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 = !{!"fuse_inode", !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 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/fuse/extr_dir.c_fuse_update_attributes.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/fuse/extr_dir.c_fuse_update_attributes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @fuse_update_attributes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
%5 = tail call ptr @get_fuse_inode(ptr noundef %0) #2
%6 = load i64, ptr %5, align 8, !tbaa !6
%7 = tail call i64 @get_jiffies_64() #2
%8 = icmp slt i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = tail call i32 @fuse_do_getattr(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2
br label %17
11: ; preds = %4
%12 = icmp eq ptr %1, null
br i1 %12, label %17, label %13
13: ; preds = %11
%14 = tail call i32 @generic_fillattr(ptr noundef %0, ptr noundef nonnull %1) #2
%15 = getelementptr inbounds i8, ptr %5, i64 8
%16 = load <2 x i32>, ptr %15, align 8, !tbaa !12
store <2 x i32> %16, ptr %1, align 4, !tbaa !12
br label %17
17: ; preds = %11, %13, %9
%18 = phi i32 [ %10, %9 ], [ 0, %13 ], [ 0, %11 ]
%19 = phi i32 [ 1, %9 ], [ 0, %13 ], [ 0, %11 ]
%20 = icmp eq ptr %3, null
br i1 %20, label %22, label %21
21: ; preds = %17
store i32 %19, ptr %3, align 4, !tbaa !12
br label %22
22: ; preds = %21, %17
ret i32 %18
}
declare ptr @get_fuse_inode(ptr noundef) local_unnamed_addr #1
declare i64 @get_jiffies_64(...) local_unnamed_addr #1
declare i32 @fuse_do_getattr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @generic_fillattr(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 = !{!"fuse_inode", !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 = !{!11, !11, i64 0}
| fastsocket_kernel_fs_fuse_extr_dir.c_fuse_update_attributes |
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiFreeNat.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiFreeNat.c"
target datalayout = "e-m:e-p270:32:32-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, i32, ptr }
; Function Attrs: nounwind uwtable
define dso_local void @NiFreeNat(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %26, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @Lock(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %13, label %9
9: ; preds = %3
%10 = tail call i32 @StopVirtualHost(ptr noundef nonnull %7) #2
%11 = load ptr, ptr %6, align 8, !tbaa !11
%12 = tail call i32 @ReleaseVirtual(ptr noundef %11) #2
store ptr null, ptr %6, align 8, !tbaa !11
br label %13
13: ; preds = %9, %3
%14 = load i32, ptr %0, align 8, !tbaa !5
%15 = tail call i32 @Unlock(i32 noundef %14) #2
%16 = tail call i32 @NiFreeConfig(ptr noundef nonnull %0) #2
%17 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 2
%18 = load i32, ptr %17, align 8, !tbaa !12
%19 = tail call i32 @ReleaseCedar(i32 noundef %18) #2
%20 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
%21 = load i32, ptr %20, align 4, !tbaa !13
%22 = tail call i32 @ReleaseEvent(i32 noundef %21) #2
%23 = load i32, ptr %0, align 8, !tbaa !5
%24 = tail call i32 @DeleteLock(i32 noundef %23) #2
%25 = tail call i32 @Free(ptr noundef nonnull %0) #2
br label %26
26: ; preds = %1, %13
ret void
}
declare i32 @Lock(i32 noundef) local_unnamed_addr #1
declare i32 @StopVirtualHost(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseVirtual(ptr noundef) local_unnamed_addr #1
declare i32 @Unlock(i32 noundef) local_unnamed_addr #1
declare i32 @NiFreeConfig(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseCedar(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseEvent(i32 noundef) local_unnamed_addr #1
declare i32 @DeleteLock(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, !7, i64 0}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiFreeNat.c'
source_filename = "AnghaBench/SoftEtherVPN/src/Cedar/extr_Nat.c_NiFreeNat.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 @NiFreeNat(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %26, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @Lock(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 16
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %13, label %9
9: ; preds = %3
%10 = tail call i32 @StopVirtualHost(ptr noundef nonnull %7) #2
%11 = load ptr, ptr %6, align 8, !tbaa !12
%12 = tail call i32 @ReleaseVirtual(ptr noundef %11) #2
store ptr null, ptr %6, align 8, !tbaa !12
br label %13
13: ; preds = %9, %3
%14 = load i32, ptr %0, align 8, !tbaa !6
%15 = tail call i32 @Unlock(i32 noundef %14) #2
%16 = tail call i32 @NiFreeConfig(ptr noundef nonnull %0) #2
%17 = getelementptr inbounds i8, ptr %0, i64 8
%18 = load i32, ptr %17, align 8, !tbaa !13
%19 = tail call i32 @ReleaseCedar(i32 noundef %18) #2
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = load i32, ptr %20, align 4, !tbaa !14
%22 = tail call i32 @ReleaseEvent(i32 noundef %21) #2
%23 = load i32, ptr %0, align 8, !tbaa !6
%24 = tail call i32 @DeleteLock(i32 noundef %23) #2
%25 = tail call i32 @Free(ptr noundef nonnull %0) #2
br label %26
26: ; preds = %1, %13
ret void
}
declare i32 @Lock(i32 noundef) local_unnamed_addr #1
declare i32 @StopVirtualHost(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseVirtual(ptr noundef) local_unnamed_addr #1
declare i32 @Unlock(i32 noundef) local_unnamed_addr #1
declare i32 @NiFreeConfig(ptr noundef) local_unnamed_addr #1
declare i32 @ReleaseCedar(i32 noundef) local_unnamed_addr #1
declare i32 @ReleaseEvent(i32 noundef) local_unnamed_addr #1
declare i32 @DeleteLock(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, !8, i64 0}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 16}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
| SoftEtherVPN_src_Cedar_extr_Nat.c_NiFreeNat |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_clock_imx27.c_get_rate_ssi2.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_clock_imx27.c_get_rate_ssi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CCM_PCDR0 = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_rate_ssi2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @get_rate_ssi2(ptr noundef %0) #0 {
%2 = load i32, ptr @CCM_PCDR0, align 4, !tbaa !5
%3 = tail call i32 @__raw_readl(i32 noundef %2) #2
%4 = lshr i32 %3, 26
%5 = tail call i64 @get_rate_ssix(ptr noundef %0, i32 noundef %4) #2
ret i64 %5
}
declare i64 @get_rate_ssix(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_clock_imx27.c_get_rate_ssi2.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/arm/mach-mx2/extr_clock_imx27.c_get_rate_ssi2.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CCM_PCDR0 = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_rate_ssi2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @get_rate_ssi2(ptr noundef %0) #0 {
%2 = load i32, ptr @CCM_PCDR0, align 4, !tbaa !6
%3 = tail call i32 @__raw_readl(i32 noundef %2) #2
%4 = lshr i32 %3, 26
%5 = tail call i64 @get_rate_ssix(ptr noundef %0, i32 noundef %4) #2
ret i64 %5
}
declare i64 @get_rate_ssix(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__raw_readl(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_arm_mach-mx2_extr_clock_imx27.c_get_rate_ssi2 |
; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_tty.c_gettime.c'
source_filename = "AnghaBench/linux/arch/x86/boot/extr_tty.c_gettime.c"
target datalayout = "e-m:e-p270:32:32-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.biosregs = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @gettime], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @gettime() #0 {
%1 = alloca %struct.biosregs, align 4
%2 = alloca %struct.biosregs, align 4
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 = call i32 @initregs(ptr noundef nonnull %1) #3
store i32 2, ptr %1, align 4, !tbaa !5
%4 = call i32 @intcall(i32 noundef 26, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%5 = getelementptr inbounds %struct.biosregs, ptr %2, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
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 i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @initregs(ptr noundef) local_unnamed_addr #2
declare i32 @intcall(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"biosregs", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/arch/x86/boot/extr_tty.c_gettime.c'
source_filename = "AnghaBench/linux/arch/x86/boot/extr_tty.c_gettime.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.biosregs = type { i32, i32 }
@llvm.used = appending global [1 x ptr] [ptr @gettime], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @gettime() #0 {
%1 = alloca %struct.biosregs, align 4
%2 = alloca %struct.biosregs, align 4
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 = call i32 @initregs(ptr noundef nonnull %1) #3
store i32 2, ptr %1, align 4, !tbaa !6
%4 = call i32 @intcall(i32 noundef 26, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
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 i32 %6
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @initregs(ptr noundef) local_unnamed_addr #2
declare i32 @intcall(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"biosregs", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| linux_arch_x86_boot_extr_tty.c_gettime |
; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-manager.c_property_set_runtime_watchdog.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-manager.c_property_set_runtime_watchdog.c"
target datalayout = "e-m:e-p270:32:32-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"t\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @property_set_runtime_watchdog], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @property_set_runtime_watchdog(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr noundef %4, ptr noundef %5, ptr nocapture readnone %6) #0 {
%8 = tail call i32 @assert(ptr noundef %0) #2
%9 = tail call i32 @assert(ptr noundef %4) #2
%10 = tail call i32 @assert_cc(i32 noundef 1) #2
%11 = tail call i32 @sd_bus_message_read(ptr noundef %4, ptr noundef nonnull @.str, ptr noundef %5) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %7
%14 = tail call i32 @watchdog_set_timeout(ptr noundef %5) #2
br label %15
15: ; preds = %7, %13
%16 = phi i32 [ %14, %13 ], [ %11, %7 ]
ret i32 %16
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @assert_cc(i32 noundef) local_unnamed_addr #1
declare i32 @sd_bus_message_read(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @watchdog_set_timeout(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/systemd/src/core/extr_dbus-manager.c_property_set_runtime_watchdog.c'
source_filename = "AnghaBench/systemd/src/core/extr_dbus-manager.c_property_set_runtime_watchdog.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"t\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @property_set_runtime_watchdog], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @property_set_runtime_watchdog(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr noundef %4, ptr noundef %5, ptr nocapture readnone %6) #0 {
%8 = tail call i32 @assert(ptr noundef %0) #2
%9 = tail call i32 @assert(ptr noundef %4) #2
%10 = tail call i32 @assert_cc(i32 noundef 1) #2
%11 = tail call i32 @sd_bus_message_read(ptr noundef %4, ptr noundef nonnull @.str, ptr noundef %5) #2
%12 = icmp slt i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %7
%14 = tail call i32 @watchdog_set_timeout(ptr noundef %5) #2
br label %15
15: ; preds = %7, %13
%16 = phi i32 [ %14, %13 ], [ %11, %7 ]
ret i32 %16
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @assert_cc(i32 noundef) local_unnamed_addr #1
declare i32 @sd_bus_message_read(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @watchdog_set_timeout(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| systemd_src_core_extr_dbus-manager.c_property_set_runtime_watchdog |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_LRZ_BUFFER_PITCH.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_LRZ_BUFFER_PITCH.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@A5XX_GRAS_LRZ_BUFFER_PITCH__SHIFT = dso_local local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_LRZ_BUFFER_PITCH__MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @A5XX_GRAS_LRZ_BUFFER_PITCH], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable
define internal i32 @A5XX_GRAS_LRZ_BUFFER_PITCH(i32 noundef %0) #0 {
%2 = ashr i32 %0, 5
%3 = load i32, ptr @A5XX_GRAS_LRZ_BUFFER_PITCH__SHIFT, align 4, !tbaa !5
%4 = shl i32 %2, %3
%5 = load i32, ptr @A5XX_GRAS_LRZ_BUFFER_PITCH__MASK, align 4, !tbaa !5
%6 = and i32 %4, %5
ret i32 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_LRZ_BUFFER_PITCH.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a5xx.xml.h_A5XX_GRAS_LRZ_BUFFER_PITCH.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@A5XX_GRAS_LRZ_BUFFER_PITCH__SHIFT = common local_unnamed_addr global i32 0, align 4
@A5XX_GRAS_LRZ_BUFFER_PITCH__MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @A5XX_GRAS_LRZ_BUFFER_PITCH], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync)
define internal i32 @A5XX_GRAS_LRZ_BUFFER_PITCH(i32 noundef %0) #0 {
%2 = ashr i32 %0, 5
%3 = load i32, ptr @A5XX_GRAS_LRZ_BUFFER_PITCH__SHIFT, align 4, !tbaa !6
%4 = shl i32 %2, %3
%5 = load i32, ptr @A5XX_GRAS_LRZ_BUFFER_PITCH__MASK, align 4, !tbaa !6
%6 = and i32 %4, %5
ret i32 %6
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_msm_adreno_extr_a5xx.xml.h_A5XX_GRAS_LRZ_BUFFER_PITCH |
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionB.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionB.c"
target datalayout = "e-m:e-p270:32:32-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, i64, i64, ptr }
%struct.TYPE_6__ = type { i64, ptr, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @_positionB], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal void @_positionB(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !5
%4 = icmp sgt i32 %3, %1
br i1 %4, label %5, label %18
5: ; preds = %2
%6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 4
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1
store ptr %7, ptr %8, align 8, !tbaa !13
store i32 0, ptr %0, align 8, !tbaa !5
%9 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 2
%10 = load i64, ptr %9, align 8, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3
store i64 %10, ptr %11, align 8, !tbaa !16
%12 = getelementptr inbounds %struct.TYPE_6__, ptr %7, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !17
%14 = load i64, ptr %13, align 8, !tbaa !18
%15 = load i64, ptr %7, align 8, !tbaa !20
%16 = add nsw i64 %15, %14
%17 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2
store i64 %16, ptr %17, align 8, !tbaa !21
br label %18
18: ; preds = %5, %2
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !10, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 32}
!13 = !{!6, !10, i64 8}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_6__", !11, i64 0, !10, i64 8, !11, i64 16}
!16 = !{!6, !11, i64 24}
!17 = !{!15, !10, i64 8}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_5__", !11, i64 0}
!20 = !{!15, !11, i64 0}
!21 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionB.c'
source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/tremor/extr_framing.c__positionB.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 @_positionB], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @_positionB(ptr nocapture noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr %0, align 8, !tbaa !6
%4 = icmp sgt i32 %3, %1
br i1 %4, label %5, label %18
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 32
%7 = load ptr, ptr %6, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 8
store ptr %7, ptr %8, align 8, !tbaa !14
store i32 0, ptr %0, align 8, !tbaa !6
%9 = getelementptr inbounds i8, ptr %7, i64 16
%10 = load i64, ptr %9, align 8, !tbaa !15
%11 = getelementptr inbounds i8, ptr %0, i64 24
store i64 %10, ptr %11, align 8, !tbaa !17
%12 = getelementptr inbounds i8, ptr %7, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !18
%14 = load i64, ptr %13, align 8, !tbaa !19
%15 = load i64, ptr %7, align 8, !tbaa !21
%16 = add nsw i64 %15, %14
%17 = getelementptr inbounds i8, ptr %0, i64 16
store i64 %16, ptr %17, align 8, !tbaa !22
br label %18
18: ; preds = %5, %2
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !11, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !11, i64 32}
!14 = !{!7, !11, i64 8}
!15 = !{!16, !12, i64 16}
!16 = !{!"TYPE_6__", !12, i64 0, !11, i64 8, !12, i64 16}
!17 = !{!7, !12, i64 24}
!18 = !{!16, !11, i64 8}
!19 = !{!20, !12, i64 0}
!20 = !{!"TYPE_5__", !12, i64 0}
!21 = !{!16, !12, i64 0}
!22 = !{!7, !12, i64 16}
| Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_tremor_extr_framing.c__positionB |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_conflicts.c_svn_wc__conflict_text_mark_resolved.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_conflicts.c_svn_wc__conflict_text_mark_resolved.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@svn_wc_notify_resolved_text = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_wc__conflict_text_mark_resolved(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef readonly %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%12 = load i32, ptr %0, align 4, !tbaa !5
%13 = call i32 @svn_wc__db_read_conflict(ptr noundef nonnull %10, ptr noundef null, ptr noundef null, i32 noundef %12, ptr noundef %1, ptr noundef %7, ptr noundef %7) #3
%14 = call i32 @SVN_ERR(i32 noundef %13) #3
%15 = load ptr, ptr %10, align 8, !tbaa !10
%16 = icmp eq ptr %15, null
br i1 %16, label %39, label %17
17: ; preds = %8
%18 = load i32, ptr %0, align 4, !tbaa !5
%19 = load i32, ptr @FALSE, align 4, !tbaa !12
%20 = call i32 @build_text_conflict_resolve_items(ptr noundef nonnull %9, ptr noundef nonnull %11, i32 noundef %18, ptr noundef %1, ptr noundef nonnull %15, i32 noundef %2, ptr noundef null, i32 noundef %19, ptr noundef null, i32 noundef %3, ptr noundef %4, ptr noundef %7, ptr noundef %7) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load i32, ptr %0, align 4, !tbaa !5
%23 = load i32, ptr @TRUE, align 4, !tbaa !12
%24 = load i32, ptr @FALSE, align 4, !tbaa !12
%25 = load ptr, ptr %9, align 8, !tbaa !10
%26 = call i32 @svn_wc__db_op_mark_resolved(i32 noundef %22, ptr noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %24, ptr noundef %25, ptr noundef %7) #3
%27 = call i32 @SVN_ERR(i32 noundef %26) #3
%28 = load i32, ptr %0, align 4, !tbaa !5
%29 = call i32 @svn_wc__wq_run(i32 noundef %28, ptr noundef %1, i32 noundef %3, ptr noundef %4, ptr noundef %7) #3
%30 = call i32 @SVN_ERR(i32 noundef %29) #3
%31 = load i64, ptr %11, align 8, !tbaa !13
%32 = icmp ne i64 %31, 0
%33 = icmp ne ptr %5, null
%34 = and i1 %33, %32
br i1 %34, label %35, label %39
35: ; preds = %17
%36 = load i32, ptr @svn_wc_notify_resolved_text, align 4, !tbaa !12
%37 = call i32 @svn_wc_create_notify(ptr noundef %1, i32 noundef %36, ptr noundef %7) #3
%38 = call i32 %5(ptr noundef %6, i32 noundef %37, ptr noundef %7) #3
br label %39
39: ; preds = %17, %35, %8
%40 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret ptr %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_conflict(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @build_text_conflict_resolve_items(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_op_mark_resolved(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__wq_run(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc_create_notify(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_conflicts.c_svn_wc__conflict_text_mark_resolved.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_conflicts.c_svn_wc__conflict_text_mark_resolved.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
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@svn_wc_notify_resolved_text = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @svn_wc__conflict_text_mark_resolved(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef readonly %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
%12 = load i32, ptr %0, align 4, !tbaa !6
%13 = call i32 @svn_wc__db_read_conflict(ptr noundef nonnull %10, ptr noundef null, ptr noundef null, i32 noundef %12, ptr noundef %1, ptr noundef %7, ptr noundef %7) #3
%14 = call i32 @SVN_ERR(i32 noundef %13) #3
%15 = load ptr, ptr %10, align 8, !tbaa !11
%16 = icmp eq ptr %15, null
br i1 %16, label %39, label %17
17: ; preds = %8
%18 = load i32, ptr %0, align 4, !tbaa !6
%19 = load i32, ptr @FALSE, align 4, !tbaa !13
%20 = call i32 @build_text_conflict_resolve_items(ptr noundef nonnull %9, ptr noundef nonnull %11, i32 noundef %18, ptr noundef %1, ptr noundef nonnull %15, i32 noundef %2, ptr noundef null, i32 noundef %19, ptr noundef null, i32 noundef %3, ptr noundef %4, ptr noundef %7, ptr noundef %7) #3
%21 = call i32 @SVN_ERR(i32 noundef %20) #3
%22 = load i32, ptr %0, align 4, !tbaa !6
%23 = load i32, ptr @TRUE, align 4, !tbaa !13
%24 = load i32, ptr @FALSE, align 4, !tbaa !13
%25 = load ptr, ptr %9, align 8, !tbaa !11
%26 = call i32 @svn_wc__db_op_mark_resolved(i32 noundef %22, ptr noundef %1, i32 noundef %23, i32 noundef %24, i32 noundef %24, ptr noundef %25, ptr noundef %7) #3
%27 = call i32 @SVN_ERR(i32 noundef %26) #3
%28 = load i32, ptr %0, align 4, !tbaa !6
%29 = call i32 @svn_wc__wq_run(i32 noundef %28, ptr noundef %1, i32 noundef %3, ptr noundef %4, ptr noundef %7) #3
%30 = call i32 @SVN_ERR(i32 noundef %29) #3
%31 = load i64, ptr %11, align 8, !tbaa !14
%32 = icmp ne i64 %31, 0
%33 = icmp ne ptr %5, null
%34 = and i1 %33, %32
br i1 %34, label %35, label %39
35: ; preds = %17
%36 = load i32, ptr @svn_wc_notify_resolved_text, align 4, !tbaa !13
%37 = call i32 @svn_wc_create_notify(ptr noundef %1, i32 noundef %36, ptr noundef %7) #3
%38 = call i32 %5(ptr noundef %6, i32 noundef %37, ptr noundef %7) #3
br label %39
39: ; preds = %17, %35, %8
%40 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !11
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
ret ptr %40
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_read_conflict(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @build_text_conflict_resolve_items(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__db_op_mark_resolved(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc__wq_run(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @svn_wc_create_notify(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_wc_extr_conflicts.c_svn_wc__conflict_text_mark_resolved |
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_decompress.c_error_callback.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_decompress.c_error_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"[ERROR] %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @error_callback(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %0) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_decompress.c_error_callback.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jpwl/extr_opj_jpwl_decompress.c_error_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"[ERROR] %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @error_callback(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %0) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| sumatrapdf_ext_openjpeg_src_bin_jpwl_extr_opj_jpwl_decompress.c_error_callback |
; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_write.c_write.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_write.c_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"
@SYS_write = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SYS_write, align 4, !tbaa !5
%5 = ptrtoint ptr %1 to i64
%6 = trunc i64 %5 to i32
%7 = tail call i32 @syscall3(i32 noundef %4, i32 noundef %0, i32 noundef %6, i64 noundef %2) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = sub nsw i32 0, %7
store i32 %10, ptr @errno, align 4, !tbaa !5
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ -1, %9 ], [ %7, %3 ]
ret i32 %12
}
declare i32 @syscall3(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_write.c_write.c'
source_filename = "AnghaBench/How-to-Make-a-Computer-Operating-System/src/sdk/src/libc/src/unistd/extr_write.c_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SYS_write = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, -2147483648) i32 @write(i32 noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SYS_write, align 4, !tbaa !6
%5 = ptrtoint ptr %1 to i64
%6 = trunc i64 %5 to i32
%7 = tail call i32 @syscall3(i32 noundef %4, i32 noundef %0, i32 noundef %6, i64 noundef %2) #2
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = sub nsw i32 0, %7
store i32 %10, ptr @errno, align 4, !tbaa !6
br label %11
11: ; preds = %3, %9
%12 = phi i32 [ -1, %9 ], [ %7, %3 ]
ret i32 %12
}
declare i32 @syscall3(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| How-to-Make-a-Computer-Operating-System_src_sdk_src_libc_src_unistd_extr_write.c_write |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_irq.c_gen6_rps_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_irq.c_gen6_rps_irq_handler.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_i915_private = type { i32, ptr, %struct.intel_gt, %struct.TYPE_2__ }
%struct.intel_gt = type { i32 }
%struct.TYPE_2__ = type { %struct.intel_rps }
%struct.intel_rps = type { i32, i32, i64 }
@PM_VEBOX_USER_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4
@VECS0 = dso_local local_unnamed_addr global i64 0, align 8
@PM_VEBOX_CS_ERROR_INTERRUPT = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Command parser error, pm_iir 0x%08x\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @gen6_rps_irq_handler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.drm_i915_private, ptr %0, i64 0, i32 3
%4 = getelementptr inbounds %struct.drm_i915_private, ptr %0, i64 0, i32 2
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = and i32 %5, %1
%7 = icmp eq i32 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = tail call i32 @spin_lock(ptr noundef nonnull %4) #2
%10 = load i32, ptr %0, align 8, !tbaa !5
%11 = and i32 %10, %1
%12 = tail call i32 @gen6_gt_pm_mask_irq(ptr noundef nonnull %4, i32 noundef %11) #2
%13 = getelementptr inbounds %struct.drm_i915_private, ptr %0, i64 0, i32 3, i32 0, i32 2
%14 = load i64, ptr %13, align 8, !tbaa !15
%15 = icmp eq i64 %14, 0
br i1 %15, label %23, label %16
16: ; preds = %8
%17 = load i32, ptr %0, align 8, !tbaa !5
%18 = and i32 %17, %1
%19 = load i32, ptr %3, align 8, !tbaa !16
%20 = or i32 %19, %18
store i32 %20, ptr %3, align 8, !tbaa !16
%21 = getelementptr inbounds %struct.drm_i915_private, ptr %0, i64 0, i32 3, i32 0, i32 1
%22 = tail call i32 @schedule_work(ptr noundef nonnull %21) #2
br label %23
23: ; preds = %16, %8
%24 = tail call i32 @spin_unlock(ptr noundef nonnull %4) #2
br label %25
25: ; preds = %23, %2
%26 = tail call i32 @INTEL_GEN(ptr noundef nonnull %0) #2
%27 = icmp sgt i32 %26, 7
br i1 %27, label %45, label %28
28: ; preds = %25
%29 = load i32, ptr @PM_VEBOX_USER_INTERRUPT, align 4, !tbaa !17
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %28
%33 = getelementptr inbounds %struct.drm_i915_private, ptr %0, i64 0, i32 1
%34 = load ptr, ptr %33, align 8, !tbaa !18
%35 = load i64, ptr @VECS0, align 8, !tbaa !19
%36 = getelementptr inbounds i32, ptr %34, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !17
%38 = tail call i32 @intel_engine_breadcrumbs_irq(i32 noundef %37) #2
br label %39
39: ; preds = %32, %28
%40 = load i32, ptr @PM_VEBOX_CS_ERROR_INTERRUPT, align 4, !tbaa !17
%41 = and i32 %40, %1
%42 = icmp eq i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %39
%44 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %45
45: ; preds = %39, %43, %25
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @gen6_gt_pm_mask_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1
declare i32 @intel_engine_breadcrumbs_irq(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG(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 = !{!"drm_i915_private", !7, i64 0, !10, i64 8, !11, i64 16, !12, 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 = !{!"intel_gt", !7, i64 0}
!12 = !{!"TYPE_2__", !13, i64 0}
!13 = !{!"intel_rps", !7, i64 0, !7, i64 4, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!14, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_irq.c_gen6_rps_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_irq.c_gen6_rps_irq_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PM_VEBOX_USER_INTERRUPT = common local_unnamed_addr global i32 0, align 4
@VECS0 = common local_unnamed_addr global i64 0, align 8
@PM_VEBOX_CS_ERROR_INTERRUPT = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Command parser error, pm_iir 0x%08x\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @gen6_rps_irq_handler(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = and i32 %5, %1
%7 = icmp eq i32 %6, 0
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = tail call i32 @spin_lock(ptr noundef nonnull %4) #2
%10 = load i32, ptr %0, align 8, !tbaa !6
%11 = and i32 %10, %1
%12 = tail call i32 @gen6_gt_pm_mask_irq(ptr noundef nonnull %4, i32 noundef %11) #2
%13 = getelementptr inbounds i8, ptr %0, i64 32
%14 = load i64, ptr %13, align 8, !tbaa !16
%15 = icmp eq i64 %14, 0
br i1 %15, label %23, label %16
16: ; preds = %8
%17 = load i32, ptr %0, align 8, !tbaa !6
%18 = and i32 %17, %1
%19 = load i32, ptr %3, align 8, !tbaa !17
%20 = or i32 %19, %18
store i32 %20, ptr %3, align 8, !tbaa !17
%21 = getelementptr inbounds i8, ptr %0, i64 28
%22 = tail call i32 @schedule_work(ptr noundef nonnull %21) #2
br label %23
23: ; preds = %16, %8
%24 = tail call i32 @spin_unlock(ptr noundef nonnull %4) #2
br label %25
25: ; preds = %23, %2
%26 = tail call i32 @INTEL_GEN(ptr noundef nonnull %0) #2
%27 = icmp sgt i32 %26, 7
br i1 %27, label %45, label %28
28: ; preds = %25
%29 = load i32, ptr @PM_VEBOX_USER_INTERRUPT, align 4, !tbaa !18
%30 = and i32 %29, %1
%31 = icmp eq i32 %30, 0
br i1 %31, label %39, label %32
32: ; preds = %28
%33 = getelementptr inbounds i8, ptr %0, i64 8
%34 = load ptr, ptr %33, align 8, !tbaa !19
%35 = load i64, ptr @VECS0, align 8, !tbaa !20
%36 = getelementptr inbounds i32, ptr %34, i64 %35
%37 = load i32, ptr %36, align 4, !tbaa !18
%38 = tail call i32 @intel_engine_breadcrumbs_irq(i32 noundef %37) #2
br label %39
39: ; preds = %32, %28
%40 = load i32, ptr @PM_VEBOX_CS_ERROR_INTERRUPT, align 4, !tbaa !18
%41 = and i32 %40, %1
%42 = icmp eq i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %39
%44 = tail call i32 @DRM_DEBUG(ptr noundef nonnull @.str, i32 noundef %1) #2
br label %45
45: ; preds = %39, %43, %25
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @gen6_gt_pm_mask_irq(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @schedule_work(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @INTEL_GEN(ptr noundef) local_unnamed_addr #1
declare i32 @intel_engine_breadcrumbs_irq(i32 noundef) local_unnamed_addr #1
declare i32 @DRM_DEBUG(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 = !{!"drm_i915_private", !8, i64 0, !11, i64 8, !12, i64 16, !13, 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 = !{!"intel_gt", !8, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"intel_rps", !8, i64 0, !8, i64 4, !15, i64 8}
!15 = !{!"long", !9, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !8, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !11, i64 8}
!20 = !{!15, !15, i64 0}
| linux_drivers_gpu_drm_i915_extr_i915_irq.c_gen6_rps_irq_handler |
; ModuleID = 'AnghaBench/xhyve/src/vmm/io/extr_vhpet.c_vhpet_periodic_timer.c'
source_filename = "AnghaBench/xhyve/src/vmm/io/extr_vhpet.c_vhpet_periodic_timer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32 }
@HPET_TCNF_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @vhpet_periodic_timer], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @vhpet_periodic_timer(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !13
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
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 = !{!"vhpet", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/xhyve/src/vmm/io/extr_vhpet.c_vhpet_periodic_timer.c'
source_filename = "AnghaBench/xhyve/src/vmm/io/extr_vhpet.c_vhpet_periodic_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@HPET_TCNF_TYPE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @vhpet_periodic_timer], 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 @vhpet_periodic_timer(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = sext i32 %1 to i64
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = load i32, ptr @HPET_TCNF_TYPE, align 4, !tbaa !14
%8 = and i32 %7, %6
%9 = icmp ne i32 %8, 0
%10 = zext i1 %9 to i32
ret i32 %10
}
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 = !{!"vhpet", !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_2__", !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = !{!13, !13, i64 0}
| xhyve_src_vmm_io_extr_vhpet.c_vhpet_periodic_timer |
; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_parse_dec.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_parse_dec.c"
target datalayout = "e-m:e-p270:32:32-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 @parse_dec], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @parse_dec(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
br label %4
4: ; preds = %9, %3
%5 = phi i32 [ %1, %3 ], [ %10, %9 ]
%6 = phi ptr [ %0, %3 ], [ %11, %9 ]
%7 = phi i32 [ 0, %3 ], [ %18, %9 ]
%8 = icmp eq i32 %5, 0
br i1 %8, label %19, label %9
9: ; preds = %4
%10 = add i32 %5, -1
%11 = getelementptr inbounds i8, ptr %6, i64 1
%12 = load i8, ptr %6, align 1, !tbaa !5
%13 = add i8 %12, -48
%14 = icmp ult i8 %13, 10
%15 = zext nneg i8 %12 to i32
%16 = mul nsw i32 %7, 10
%17 = add i32 %16, -48
%18 = add i32 %17, %15
br i1 %14, label %4, label %20, !llvm.loop !8
19: ; preds = %4
store i32 %7, ptr %2, align 4, !tbaa !10
br label %20
20: ; preds = %9, %19
%21 = phi i32 [ 0, %19 ], [ -1, %9 ]
ret i32 %21
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_parse_dec.c'
source_filename = "AnghaBench/freebsd/contrib/bearssl/test/extr_test_x509.c_parse_dec.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 @parse_dec], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @parse_dec(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
br label %4
4: ; preds = %9, %3
%5 = phi i32 [ %1, %3 ], [ %10, %9 ]
%6 = phi ptr [ %0, %3 ], [ %11, %9 ]
%7 = phi i32 [ 0, %3 ], [ %18, %9 ]
%8 = icmp eq i32 %5, 0
br i1 %8, label %19, label %9
9: ; preds = %4
%10 = add i32 %5, -1
%11 = getelementptr inbounds i8, ptr %6, i64 1
%12 = load i8, ptr %6, align 1, !tbaa !6
%13 = add i8 %12, -48
%14 = icmp ult i8 %13, 10
%15 = zext nneg i8 %12 to i32
%16 = mul nsw i32 %7, 10
%17 = add i32 %16, -48
%18 = add i32 %17, %15
br i1 %14, label %4, label %20, !llvm.loop !9
19: ; preds = %4
store i32 %7, ptr %2, align 4, !tbaa !11
br label %20
20: ; preds = %9, %19
%21 = phi i32 [ 0, %19 ], [ -1, %9 ]
ret i32 %21
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
| freebsd_contrib_bearssl_test_extr_test_x509.c_parse_dec |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/utils/extr_xml_libxml2.c_xml_node_get_text.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/utils/extr_xml_libxml2.c_xml_node_get_text.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @xml_node_get_text(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = ptrtoint ptr %1 to i64
%4 = trunc i64 %3 to i32
%5 = tail call i64 @xmlChildElementCount(i32 noundef %4) #2
%6 = icmp sgt i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = tail call i64 @xmlNodeGetContent(i32 noundef %4) #2
%9 = inttoptr i64 %8 to ptr
br label %10
10: ; preds = %2, %7
%11 = phi ptr [ %9, %7 ], [ null, %2 ]
ret ptr %11
}
declare i64 @xmlChildElementCount(i32 noundef) local_unnamed_addr #1
declare i64 @xmlNodeGetContent(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/utils/extr_xml_libxml2.c_xml_node_get_text.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/utils/extr_xml_libxml2.c_xml_node_get_text.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @xml_node_get_text(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = ptrtoint ptr %1 to i64
%4 = trunc i64 %3 to i32
%5 = tail call i64 @xmlChildElementCount(i32 noundef %4) #2
%6 = icmp sgt i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %2
%8 = tail call i64 @xmlNodeGetContent(i32 noundef %4) #2
%9 = inttoptr i64 %8 to ptr
br label %10
10: ; preds = %2, %7
%11 = phi ptr [ %9, %7 ], [ null, %2 ]
ret ptr %11
}
declare i64 @xmlChildElementCount(i32 noundef) local_unnamed_addr #1
declare i64 @xmlNodeGetContent(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_contrib_wpa_src_utils_extr_xml_libxml2.c_xml_node_get_text |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_lcn.c_wlc_lcnphy_rev0_baseband_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_lcn.c_wlc_lcnphy_rev0_baseband_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"
@RADIO_2064_REG11C = dso_local local_unnamed_addr global i32 0, align 4
@BFL_FEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wlc_lcnphy_rev0_baseband_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @wlc_lcnphy_rev0_baseband_init(ptr noundef %0) #0 {
%2 = load i32, ptr @RADIO_2064_REG11C, align 4, !tbaa !5
%3 = tail call i32 @write_radio_reg(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
%4 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef 0) #2
%5 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1084, i32 noundef 0) #2
%6 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1100, i32 noundef 0) #2
%7 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1254, i32 noundef 0) #2
%8 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1273, i32 noundef 0) #2
%9 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1200, i32 noundef 0) #2
%10 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 2360, i32 noundef 0) #2
%11 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1200, i32 noundef 0) #2
%12 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1102, i32 noundef 0) #2
%13 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1383, i32 noundef 3) #2
%14 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1098, i32 noundef 68) #2
%15 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1098, i32 noundef 128) #2
%16 = load ptr, ptr %0, align 8, !tbaa !9
%17 = load i32, ptr %16, align 4, !tbaa !13
%18 = load i32, ptr @BFL_FEM, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = tail call i32 @wlc_lcnphy_set_tx_pwr_by_index(ptr noundef nonnull %0, i32 noundef 52) #2
br label %23
23: ; preds = %21, %1
%24 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1588, i32 noundef 255, i32 noundef 12) #2
%25 = load ptr, ptr %0, align 8, !tbaa !9
%26 = load i32, ptr %25, align 4, !tbaa !13
%27 = load i32, ptr @BFL_FEM, align 4, !tbaa !5
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1588, i32 noundef 255, i32 noundef 10) #2
%32 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 2320, i32 noundef 1) #2
br label %33
33: ; preds = %30, %23
%34 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1096, i32 noundef 768, i32 noundef 256) #2
%35 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1544, i32 noundef 255, i32 noundef 23) #2
%36 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1540, i32 noundef 2047, i32 noundef 1002) #2
ret void
}
declare i32 @write_radio_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @or_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wlc_lcnphy_set_tx_pwr_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mod_phy_reg(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"}
!9 = !{!10, !11, i64 0}
!10 = !{!"brcms_phy", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_3__", !11, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"TYPE_4__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_lcn.c_wlc_lcnphy_rev0_baseband_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_lcn.c_wlc_lcnphy_rev0_baseband_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RADIO_2064_REG11C = common local_unnamed_addr global i32 0, align 4
@BFL_FEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wlc_lcnphy_rev0_baseband_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @wlc_lcnphy_rev0_baseband_init(ptr noundef %0) #0 {
%2 = load i32, ptr @RADIO_2064_REG11C, align 4, !tbaa !6
%3 = tail call i32 @write_radio_reg(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2
%4 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1083, i32 noundef 0) #2
%5 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1084, i32 noundef 0) #2
%6 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1100, i32 noundef 0) #2
%7 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1254, i32 noundef 0) #2
%8 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1273, i32 noundef 0) #2
%9 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1200, i32 noundef 0) #2
%10 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 2360, i32 noundef 0) #2
%11 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1200, i32 noundef 0) #2
%12 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1102, i32 noundef 0) #2
%13 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1383, i32 noundef 3) #2
%14 = tail call i32 @or_phy_reg(ptr noundef %0, i32 noundef 1098, i32 noundef 68) #2
%15 = tail call i32 @write_phy_reg(ptr noundef %0, i32 noundef 1098, i32 noundef 128) #2
%16 = load ptr, ptr %0, align 8, !tbaa !10
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = load i32, ptr @BFL_FEM, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %1
%22 = tail call i32 @wlc_lcnphy_set_tx_pwr_by_index(ptr noundef nonnull %0, i32 noundef 52) #2
br label %23
23: ; preds = %21, %1
%24 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1588, i32 noundef 255, i32 noundef 12) #2
%25 = load ptr, ptr %0, align 8, !tbaa !10
%26 = load i32, ptr %25, align 4, !tbaa !14
%27 = load i32, ptr @BFL_FEM, align 4, !tbaa !6
%28 = and i32 %27, %26
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1588, i32 noundef 255, i32 noundef 10) #2
%32 = tail call i32 @write_phy_reg(ptr noundef nonnull %0, i32 noundef 2320, i32 noundef 1) #2
br label %33
33: ; preds = %30, %23
%34 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1096, i32 noundef 768, i32 noundef 256) #2
%35 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1544, i32 noundef 255, i32 noundef 23) #2
%36 = tail call i32 @mod_phy_reg(ptr noundef nonnull %0, i32 noundef 1540, i32 noundef 2047, i32 noundef 1002) #2
ret void
}
declare i32 @write_radio_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @write_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @or_phy_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wlc_lcnphy_set_tx_pwr_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mod_phy_reg(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"}
!10 = !{!11, !12, i64 0}
!11 = !{!"brcms_phy", !12, i64 0, !13, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_3__", !12, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
| fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_lcn.c_wlc_lcnphy_rev0_baseband_init |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_pf_add.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_pf_add.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@sony_pf_users = dso_local global i32 0, align 4
@sony_pf_driver = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"sony-laptop\00", align 1
@sony_pf_device = dso_local local_unnamed_addr global ptr null, align 8
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sony_pf_add], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sony_pf_add() #0 {
%1 = tail call i32 @atomic_add_return(i32 noundef 1, ptr noundef nonnull @sony_pf_users) #2
%2 = icmp sgt i32 %1, 1
br i1 %2, label %24, label %3
3: ; preds = %0
%4 = tail call i32 @platform_driver_register(ptr noundef nonnull @sony_pf_driver) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %3
%7 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str, i32 noundef -1) #2
store ptr %7, ptr @sony_pf_device, align 8, !tbaa !5
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !9
%11 = sub nsw i32 0, %10
br label %18
12: ; preds = %6
%13 = tail call i32 @platform_device_add(ptr noundef nonnull %7) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %15
15: ; preds = %12
%16 = load ptr, ptr @sony_pf_device, align 8, !tbaa !5
%17 = tail call i32 @platform_device_put(ptr noundef %16) #2
store ptr null, ptr @sony_pf_device, align 8, !tbaa !5
br label %18
18: ; preds = %15, %9
%19 = phi i32 [ %13, %15 ], [ %11, %9 ]
%20 = tail call i32 @platform_driver_unregister(ptr noundef nonnull @sony_pf_driver) #2
br label %21
21: ; preds = %3, %18
%22 = phi i32 [ %4, %3 ], [ %19, %18 ]
%23 = tail call i32 @atomic_dec(ptr noundef nonnull @sony_pf_users) #2
br label %24
24: ; preds = %12, %0, %21
%25 = phi i32 [ %22, %21 ], [ 0, %0 ], [ 0, %12 ]
ret i32 %25
}
declare i32 @atomic_add_return(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @platform_driver_register(ptr noundef) local_unnamed_addr #1
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1
declare i32 @platform_driver_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_pf_add.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_sony-laptop.c_sony_pf_add.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@sony_pf_users = common global i32 0, align 4
@sony_pf_driver = common global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"sony-laptop\00", align 1
@sony_pf_device = common local_unnamed_addr global ptr null, align 8
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sony_pf_add], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sony_pf_add() #0 {
%1 = tail call i32 @atomic_add_return(i32 noundef 1, ptr noundef nonnull @sony_pf_users) #2
%2 = icmp sgt i32 %1, 1
br i1 %2, label %24, label %3
3: ; preds = %0
%4 = tail call i32 @platform_driver_register(ptr noundef nonnull @sony_pf_driver) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %21
6: ; preds = %3
%7 = tail call ptr @platform_device_alloc(ptr noundef nonnull @.str, i32 noundef -1) #2
store ptr %7, ptr @sony_pf_device, align 8, !tbaa !6
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = load i32, ptr @ENOMEM, align 4, !tbaa !10
%11 = sub nsw i32 0, %10
br label %18
12: ; preds = %6
%13 = tail call i32 @platform_device_add(ptr noundef nonnull %7) #2
%14 = icmp eq i32 %13, 0
br i1 %14, label %24, label %15
15: ; preds = %12
%16 = load ptr, ptr @sony_pf_device, align 8, !tbaa !6
%17 = tail call i32 @platform_device_put(ptr noundef %16) #2
store ptr null, ptr @sony_pf_device, align 8, !tbaa !6
br label %18
18: ; preds = %15, %9
%19 = phi i32 [ %13, %15 ], [ %11, %9 ]
%20 = tail call i32 @platform_driver_unregister(ptr noundef nonnull @sony_pf_driver) #2
br label %21
21: ; preds = %3, %18
%22 = phi i32 [ %4, %3 ], [ %19, %18 ]
%23 = tail call i32 @atomic_dec(ptr noundef nonnull @sony_pf_users) #2
br label %24
24: ; preds = %12, %0, %21
%25 = phi i32 [ %22, %21 ], [ 0, %0 ], [ 0, %12 ]
ret i32 %25
}
declare i32 @atomic_add_return(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @platform_driver_register(ptr noundef) local_unnamed_addr #1
declare ptr @platform_device_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @platform_device_add(ptr noundef) local_unnamed_addr #1
declare i32 @platform_device_put(ptr noundef) local_unnamed_addr #1
declare i32 @platform_driver_unregister(ptr noundef) local_unnamed_addr #1
declare i32 @atomic_dec(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, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_platform_x86_extr_sony-laptop.c_sony_pf_add |
; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_electra_cf.c_electra_cf_remove.c'
source_filename = "AnghaBench/linux/drivers/pcmcia/extr_electra_cf.c_electra_cf_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"
%struct.electra_cf_socket = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @electra_cf_remove], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @electra_cf_remove(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 10
store i64 0, ptr %3, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 9
%5 = tail call i32 @pcmcia_unregister_socket(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 8
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @free_irq(i32 noundef %7, ptr noundef %2) #2
%9 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 7
%10 = tail call i32 @del_timer_sync(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 6
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = load i32, ptr %2, align 8, !tbaa !13
%14 = tail call i32 @__iounmap_at(i32 noundef %12, i32 noundef %13) #2
%15 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 5
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = tail call i32 @iounmap(i32 noundef %16) #2
%18 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 4
%19 = load i32, ptr %18, align 8, !tbaa !15
%20 = tail call i32 @iounmap(i32 noundef %19) #2
%21 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 3
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 2
%24 = load i32, ptr %23, align 8, !tbaa !17
%25 = tail call i32 @release_mem_region(i32 noundef %22, i32 noundef %24) #2
%26 = getelementptr inbounds %struct.electra_cf_socket, ptr %2, i64 0, i32 1
%27 = load i32, ptr %26, align 4, !tbaa !18
%28 = load i32, ptr %2, align 8, !tbaa !13
%29 = tail call i32 @release_region(i32 noundef %27, i32 noundef %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @pcmcia_unregister_socket(ptr noundef) local_unnamed_addr #1
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @__iounmap_at(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i32 noundef) local_unnamed_addr #1
declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 40}
!6 = !{!"electra_cf_socket", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !10, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 32}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 20}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 12}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/pcmcia/extr_electra_cf.c_electra_cf_remove.c'
source_filename = "AnghaBench/linux/drivers/pcmcia/extr_electra_cf.c_electra_cf_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 @electra_cf_remove], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @electra_cf_remove(ptr noundef %0) #0 {
%2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 40
store i64 0, ptr %3, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %2, i64 36
%5 = tail call i32 @pcmcia_unregister_socket(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %2, i64 32
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @free_irq(i32 noundef %7, ptr noundef %2) #2
%9 = getelementptr inbounds i8, ptr %2, i64 28
%10 = tail call i32 @del_timer_sync(ptr noundef nonnull %9) #2
%11 = getelementptr inbounds i8, ptr %2, i64 24
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = load i32, ptr %2, align 8, !tbaa !14
%14 = tail call i32 @__iounmap_at(i32 noundef %12, i32 noundef %13) #2
%15 = getelementptr inbounds i8, ptr %2, i64 20
%16 = load i32, ptr %15, align 4, !tbaa !15
%17 = tail call i32 @iounmap(i32 noundef %16) #2
%18 = getelementptr inbounds i8, ptr %2, i64 16
%19 = load i32, ptr %18, align 8, !tbaa !16
%20 = tail call i32 @iounmap(i32 noundef %19) #2
%21 = getelementptr inbounds i8, ptr %2, i64 12
%22 = load i32, ptr %21, align 4, !tbaa !17
%23 = getelementptr inbounds i8, ptr %2, i64 8
%24 = load i32, ptr %23, align 8, !tbaa !18
%25 = tail call i32 @release_mem_region(i32 noundef %22, i32 noundef %24) #2
%26 = getelementptr inbounds i8, ptr %2, i64 4
%27 = load i32, ptr %26, align 4, !tbaa !19
%28 = load i32, ptr %2, align 8, !tbaa !14
%29 = tail call i32 @release_region(i32 noundef %27, i32 noundef %28) #2
%30 = tail call i32 @kfree(ptr noundef nonnull %2) #2
ret i32 0
}
declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1
declare i32 @pcmcia_unregister_socket(ptr noundef) local_unnamed_addr #1
declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1
declare i32 @__iounmap_at(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @iounmap(i32 noundef) local_unnamed_addr #1
declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 40}
!7 = !{!"electra_cf_socket", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !11, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 32}
!13 = !{!7, !8, i64 24}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !8, i64 20}
!16 = !{!7, !8, i64 16}
!17 = !{!7, !8, i64 12}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !8, i64 4}
| linux_drivers_pcmcia_extr_electra_cf.c_electra_cf_remove |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_exp.c_MOD_EXP_CTIME_COPY_TO_PREBUF.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_exp.c_MOD_EXP_CTIME_COPY_TO_PREBUF.c"
target datalayout = "e-m:e-p270:32:32-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 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @MOD_EXP_CTIME_COPY_TO_PREBUF], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef i32 @MOD_EXP_CTIME_COPY_TO_PREBUF(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = ptrtoint ptr %2 to i64
%7 = load i32, ptr %0, align 8, !tbaa !5
%8 = tail call i32 @llvm.smin.i32(i32 %7, i32 %1)
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %90
10: ; preds = %5
%11 = shl nuw i32 1, %4
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !11
%14 = sext i32 %3 to i64
%15 = sext i32 %11 to i64
%16 = zext nneg i32 %8 to i64
%17 = icmp ugt i32 %8, 11
%18 = icmp eq i32 %4, 0
%19 = and i1 %17, %18
br i1 %19, label %20, label %44
20: ; preds = %10
%21 = ptrtoint ptr %13 to i64
%22 = shl nsw i64 %14, 2
%23 = add i64 %22, %6
%24 = sub i64 %23, %21
%25 = icmp ult i64 %24, 32
br i1 %25, label %44, label %26
26: ; preds = %20
%27 = and i64 %16, 2147483640
%28 = mul nuw nsw i64 %27, %15
%29 = add nsw i64 %28, %14
%30 = getelementptr i32, ptr %2, i64 %14
br label %31
31: ; preds = %31, %26
%32 = phi i64 [ 0, %26 ], [ %40, %31 ]
%33 = mul nuw i64 %32, %15
%34 = getelementptr inbounds i32, ptr %13, i64 %32
%35 = getelementptr inbounds i32, ptr %34, i64 4
%36 = load <4 x i32>, ptr %34, align 4, !tbaa !12
%37 = load <4 x i32>, ptr %35, align 4, !tbaa !12
%38 = getelementptr i32, ptr %30, i64 %33
%39 = getelementptr inbounds i32, ptr %38, i64 4
store <4 x i32> %36, ptr %38, align 4, !tbaa !12
store <4 x i32> %37, ptr %39, align 4, !tbaa !12
%40 = add nuw i64 %32, 8
%41 = icmp eq i64 %40, %27
br i1 %41, label %42, label %31, !llvm.loop !13
42: ; preds = %31
%43 = icmp eq i64 %27, %16
br i1 %43, label %90, label %44
44: ; preds = %20, %10, %42
%45 = phi i64 [ %14, %20 ], [ %14, %10 ], [ %29, %42 ]
%46 = phi i64 [ 0, %20 ], [ 0, %10 ], [ %27, %42 ]
%47 = and i64 %16, 3
%48 = icmp eq i64 %47, 0
br i1 %48, label %60, label %49
49: ; preds = %44, %49
%50 = phi i64 [ %57, %49 ], [ %45, %44 ]
%51 = phi i64 [ %56, %49 ], [ %46, %44 ]
%52 = phi i64 [ %58, %49 ], [ 0, %44 ]
%53 = getelementptr inbounds i32, ptr %13, i64 %51
%54 = load i32, ptr %53, align 4, !tbaa !12
%55 = getelementptr inbounds i32, ptr %2, i64 %50
store i32 %54, ptr %55, align 4, !tbaa !12
%56 = add nuw nsw i64 %51, 1
%57 = add i64 %50, %15
%58 = add i64 %52, 1
%59 = icmp eq i64 %58, %47
br i1 %59, label %60, label %49, !llvm.loop !17
60: ; preds = %49, %44
%61 = phi i64 [ %45, %44 ], [ %57, %49 ]
%62 = phi i64 [ %46, %44 ], [ %56, %49 ]
%63 = sub nsw i64 %46, %16
%64 = icmp ugt i64 %63, -4
br i1 %64, label %90, label %65
65: ; preds = %60
%66 = getelementptr i32, ptr %13, i64 1
%67 = getelementptr i32, ptr %13, i64 2
%68 = getelementptr i32, ptr %13, i64 3
br label %69
69: ; preds = %69, %65
%70 = phi i64 [ %61, %65 ], [ %88, %69 ]
%71 = phi i64 [ %62, %65 ], [ %87, %69 ]
%72 = getelementptr inbounds i32, ptr %13, i64 %71
%73 = load i32, ptr %72, align 4, !tbaa !12
%74 = getelementptr inbounds i32, ptr %2, i64 %70
store i32 %73, ptr %74, align 4, !tbaa !12
%75 = add i64 %70, %15
%76 = getelementptr i32, ptr %66, i64 %71
%77 = load i32, ptr %76, align 4, !tbaa !12
%78 = getelementptr inbounds i32, ptr %2, i64 %75
store i32 %77, ptr %78, align 4, !tbaa !12
%79 = add i64 %75, %15
%80 = getelementptr i32, ptr %67, i64 %71
%81 = load i32, ptr %80, align 4, !tbaa !12
%82 = getelementptr inbounds i32, ptr %2, i64 %79
store i32 %81, ptr %82, align 4, !tbaa !12
%83 = add i64 %79, %15
%84 = getelementptr i32, ptr %68, i64 %71
%85 = load i32, ptr %84, align 4, !tbaa !12
%86 = getelementptr inbounds i32, ptr %2, i64 %83
store i32 %85, ptr %86, align 4, !tbaa !12
%87 = add nuw nsw i64 %71, 4
%88 = add i64 %83, %15
%89 = icmp eq i64 %87, %16
br i1 %89, label %90, label %69, !llvm.loop !19
90: ; preds = %60, %69, %42, %5
ret i32 1
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #1
attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!7, !7, 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, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !14, !15}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_exp.c_MOD_EXP_CTIME_COPY_TO_PREBUF.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/bn/extr_bn_exp.c_MOD_EXP_CTIME_COPY_TO_PREBUF.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 @MOD_EXP_CTIME_COPY_TO_PREBUF], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef i32 @MOD_EXP_CTIME_COPY_TO_PREBUF(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = ptrtoint ptr %2 to i64
%7 = load i32, ptr %0, align 8, !tbaa !6
%8 = tail call i32 @llvm.smin.i32(i32 %7, i32 %1)
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %62
10: ; preds = %5
%11 = shl nuw i32 1, %4
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = sext i32 %3 to i64
%15 = sext i32 %11 to i64
%16 = zext nneg i32 %8 to i64
%17 = icmp ugt i32 %8, 15
%18 = icmp eq i32 %4, 0
%19 = and i1 %17, %18
br i1 %19, label %20, label %50
20: ; preds = %10
%21 = ptrtoint ptr %13 to i64
%22 = shl nsw i64 %14, 2
%23 = add i64 %22, %6
%24 = sub i64 %23, %21
%25 = icmp ult i64 %24, 64
br i1 %25, label %50, label %26
26: ; preds = %20
%27 = and i64 %16, 2147483632
%28 = mul nuw nsw i64 %27, %15
%29 = add nsw i64 %28, %14
%30 = getelementptr i32, ptr %2, i64 %14
br label %31
31: ; preds = %31, %26
%32 = phi i64 [ 0, %26 ], [ %46, %31 ]
%33 = mul nuw i64 %32, %15
%34 = getelementptr inbounds i32, ptr %13, i64 %32
%35 = getelementptr inbounds i8, ptr %34, i64 16
%36 = getelementptr inbounds i8, ptr %34, i64 32
%37 = getelementptr inbounds i8, ptr %34, i64 48
%38 = load <4 x i32>, ptr %34, align 4, !tbaa !13
%39 = load <4 x i32>, ptr %35, align 4, !tbaa !13
%40 = load <4 x i32>, ptr %36, align 4, !tbaa !13
%41 = load <4 x i32>, ptr %37, align 4, !tbaa !13
%42 = getelementptr i32, ptr %30, i64 %33
%43 = getelementptr inbounds i8, ptr %42, i64 16
%44 = getelementptr inbounds i8, ptr %42, i64 32
%45 = getelementptr inbounds i8, ptr %42, i64 48
store <4 x i32> %38, ptr %42, align 4, !tbaa !13
store <4 x i32> %39, ptr %43, align 4, !tbaa !13
store <4 x i32> %40, ptr %44, align 4, !tbaa !13
store <4 x i32> %41, ptr %45, align 4, !tbaa !13
%46 = add nuw i64 %32, 16
%47 = icmp eq i64 %46, %27
br i1 %47, label %48, label %31, !llvm.loop !14
48: ; preds = %31
%49 = icmp eq i64 %27, %16
br i1 %49, label %62, label %50
50: ; preds = %48, %20, %10
%51 = phi i64 [ %14, %20 ], [ %14, %10 ], [ %29, %48 ]
%52 = phi i64 [ 0, %20 ], [ 0, %10 ], [ %27, %48 ]
br label %53
53: ; preds = %50, %53
%54 = phi i64 [ %60, %53 ], [ %51, %50 ]
%55 = phi i64 [ %59, %53 ], [ %52, %50 ]
%56 = getelementptr inbounds i32, ptr %13, i64 %55
%57 = load i32, ptr %56, align 4, !tbaa !13
%58 = getelementptr inbounds i32, ptr %2, i64 %54
store i32 %57, ptr %58, align 4, !tbaa !13
%59 = add nuw nsw i64 %55, 1
%60 = add nsw i64 %54, %15
%61 = icmp eq i64 %59, %16
br i1 %61, label %62, label %53, !llvm.loop !18
62: ; preds = %53, %48, %5
ret i32 1
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #1
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!8, !8, 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}
| freebsd_crypto_openssl_crypto_bn_extr_bn_exp.c_MOD_EXP_CTIME_COPY_TO_PREBUF |
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_debug_reg_read.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_debug_reg_read.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AT803X_DEBUG_ADDR = dso_local local_unnamed_addr global i32 0, align 4
@AT803X_DEBUG_DATA = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @at803x_debug_reg_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @at803x_debug_reg_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AT803X_DEBUG_ADDR, align 4, !tbaa !5
%4 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @AT803X_DEBUG_DATA, align 4, !tbaa !5
%8 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %2, %6
%10 = phi i32 [ %8, %6 ], [ %4, %2 ]
ret i32 %10
}
declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_debug_reg_read.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_at803x.c_at803x_debug_reg_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AT803X_DEBUG_ADDR = common local_unnamed_addr global i32 0, align 4
@AT803X_DEBUG_DATA = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @at803x_debug_reg_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @at803x_debug_reg_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @AT803X_DEBUG_ADDR, align 4, !tbaa !6
%4 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %3, i32 noundef %1) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = load i32, ptr @AT803X_DEBUG_DATA, align 4, !tbaa !6
%8 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %7) #2
br label %9
9: ; preds = %2, %6
%10 = phi i32 [ %8, %6 ], [ %4, %2 ]
ret i32 %10
}
declare i32 @phy_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @phy_read(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_phy_extr_at803x.c_at803x_debug_reg_read |
; ModuleID = 'AnghaBench/linux/sound/core/seq/extr_seq_midi_emul.c_snd_midi_channel_free_set.c'
source_filename = "AnghaBench/linux/sound/core/seq/extr_seq_midi_emul.c_snd_midi_channel_free_set.c"
target datalayout = "e-m:e-p270:32:32-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 @snd_midi_channel_free_set(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = tail call i32 @kfree(ptr noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"snd_midi_channel_set", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/sound/core/seq/extr_seq_midi_emul.c_snd_midi_channel_free_set.c'
source_filename = "AnghaBench/linux/sound/core/seq/extr_seq_midi_emul.c_snd_midi_channel_free_set.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 @snd_midi_channel_free_set(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = tail call i32 @kfree(ptr noundef %4) #2
%6 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"snd_midi_channel_set", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_sound_core_seq_extr_seq_midi_emul.c_snd_midi_channel_free_set |
; ModuleID = 'AnghaBench/seafile/common/extr_rpc-service.c_seafile_cancel_clone_task.c'
source_filename = "AnghaBench/seafile/common/extr_rpc-service.c_seafile_cancel_clone_task.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@seaf = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @seafile_cancel_clone_task(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @seaf, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !9
%5 = tail call i32 @seaf_clone_manager_cancel_task(i32 noundef %4, ptr noundef %0) #2
ret i32 %5
}
declare i32 @seaf_clone_manager_cancel_task(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"TYPE_2__", !11, i64 0}
!11 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/seafile/common/extr_rpc-service.c_seafile_cancel_clone_task.c'
source_filename = "AnghaBench/seafile/common/extr_rpc-service.c_seafile_cancel_clone_task.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@seaf = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @seafile_cancel_clone_task(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
%3 = load ptr, ptr @seaf, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !10
%5 = tail call i32 @seaf_clone_manager_cancel_task(i32 noundef %4, ptr noundef %0) #2
ret i32 %5
}
declare i32 @seaf_clone_manager_cancel_task(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"TYPE_2__", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| seafile_common_extr_rpc-service.c_seafile_cancel_clone_task |
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_rtc_module.c_rtc_gpio_isolate.c'
source_filename = "AnghaBench/esp-idf/components/driver/extr_rtc_module.c_rtc_gpio_isolate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RTC_GPIO_MODE_DISABLED = dso_local local_unnamed_addr global i32 0, align 4
@ESP_OK = dso_local local_unnamed_addr global i32 0, align 4
@ESP_ERR_INVALID_ARG = dso_local local_unnamed_addr global i32 0, align 4
@rtc_gpio_desc = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @rtc_gpio_isolate(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtc_gpio_pullup_dis(i64 noundef %0) #2
%3 = tail call i32 @rtc_gpio_pulldown_dis(i64 noundef %0) #2
%4 = load i32, ptr @RTC_GPIO_MODE_DISABLED, align 4, !tbaa !5
%5 = tail call i32 @rtc_gpio_set_direction(i64 noundef %0, i32 noundef %4) #2
%6 = tail call i32 @rtc_gpio_hold_en(i64 noundef %0) #2
%7 = load i32, ptr @ESP_OK, align 4, !tbaa !5
ret i32 %7
}
declare i32 @rtc_gpio_pullup_dis(i64 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_pulldown_dis(i64 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_set_direction(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_hold_en(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/esp-idf/components/driver/extr_rtc_module.c_rtc_gpio_isolate.c'
source_filename = "AnghaBench/esp-idf/components/driver/extr_rtc_module.c_rtc_gpio_isolate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTC_GPIO_MODE_DISABLED = common local_unnamed_addr global i32 0, align 4
@ESP_OK = common local_unnamed_addr global i32 0, align 4
@ESP_ERR_INVALID_ARG = common local_unnamed_addr global i32 0, align 4
@rtc_gpio_desc = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @rtc_gpio_isolate(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtc_gpio_pullup_dis(i64 noundef %0) #2
%3 = tail call i32 @rtc_gpio_pulldown_dis(i64 noundef %0) #2
%4 = load i32, ptr @RTC_GPIO_MODE_DISABLED, align 4, !tbaa !6
%5 = tail call i32 @rtc_gpio_set_direction(i64 noundef %0, i32 noundef %4) #2
%6 = tail call i32 @rtc_gpio_hold_en(i64 noundef %0) #2
%7 = load i32, ptr @ESP_OK, align 4, !tbaa !6
ret i32 %7
}
declare i32 @rtc_gpio_pullup_dis(i64 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_pulldown_dis(i64 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_set_direction(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rtc_gpio_hold_en(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"}
| esp-idf_components_driver_extr_rtc_module.c_rtc_gpio_isolate |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/vm/extr_vm_unix.c_fuulong.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vm/extr_vm_unix.c_fuulong.c"
target datalayout = "e-m:e-p270:32:32-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 @fuulong(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call i32 (...) @current_proc() #3
%4 = tail call i64 @IS_64BIT_PROCESS(i32 noundef %3) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = call i64 @copyin(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3
%8 = icmp eq i64 %7, 0
%9 = load i64, ptr %2, align 8
%10 = select i1 %8, i64 %9, i64 -1
br label %13
11: ; preds = %1
%12 = tail call i64 @fuiword(i32 noundef %0) #3
br label %13
13: ; preds = %6, %11
%14 = phi i64 [ %12, %11 ], [ %10, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i64 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IS_64BIT_PROCESS(i32 noundef) local_unnamed_addr #2
declare i32 @current_proc(...) local_unnamed_addr #2
declare i64 @copyin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @fuiword(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)"}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/vm/extr_vm_unix.c_fuulong.c'
source_filename = "AnghaBench/darwin-xnu/bsd/vm/extr_vm_unix.c_fuulong.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 @fuulong(i32 noundef %0) local_unnamed_addr #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
%3 = tail call i32 @current_proc() #3
%4 = tail call i64 @IS_64BIT_PROCESS(i32 noundef %3) #3
%5 = icmp eq i64 %4, 0
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = call i64 @copyin(i32 noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3
%8 = icmp eq i64 %7, 0
%9 = load i64, ptr %2, align 8
%10 = select i1 %8, i64 %9, i64 -1
br label %13
11: ; preds = %1
%12 = tail call i64 @fuiword(i32 noundef %0) #3
br label %13
13: ; preds = %6, %11
%14 = phi i64 [ %12, %11 ], [ %10, %6 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i64 %14
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @IS_64BIT_PROCESS(i32 noundef) local_unnamed_addr #2
declare i32 @current_proc(...) local_unnamed_addr #2
declare i64 @copyin(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @fuiword(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)"}
| darwin-xnu_bsd_vm_extr_vm_unix.c_fuulong |
; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....obs-internal.h_obs_source_dosignal.c'
source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....obs-internal.h_obs_source_dosignal.c"
target datalayout = "e-m:e-p270:32:32-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.calldata = type { i32 }
%struct.TYPE_3__ = type { i32, i32 }
@.str = private unnamed_addr constant [7 x i8] c"source\00", align 1
@obs = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @obs_source_dosignal], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @obs_source_dosignal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.calldata, align 4
%5 = alloca [128 x i32], align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #3
%6 = call i32 @calldata_init_fixed(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 512) #3
%7 = call i32 @calldata_set_ptr(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef %0) #3
%8 = icmp eq ptr %1, null
br i1 %8, label %17, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr @obs, align 8, !tbaa !11
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = call i32 @signal_handler_signal(i32 noundef %15, ptr noundef nonnull %1, ptr noundef nonnull %4) #3
br label %17
17: ; preds = %13, %9, %3
%18 = icmp eq ptr %2, null
br i1 %18, label %22, label %19
19: ; preds = %17
%20 = load i32, ptr %0, align 4, !tbaa !15
%21 = call i32 @signal_handler_signal(i32 noundef %20, ptr noundef nonnull %2, ptr noundef nonnull %4) #3
br label %22
22: ; preds = %19, %17
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @calldata_init_fixed(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @calldata_set_ptr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @signal_handler_signal(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"obs_source", !7, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_4__", !8, i64 0}
!15 = !{!6, !8, i64 0}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....obs-internal.h_obs_source_dosignal.c'
source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....obs-internal.h_obs_source_dosignal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.calldata = type { i32 }
@.str = private unnamed_addr constant [7 x i8] c"source\00", align 1
@obs = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @obs_source_dosignal], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @obs_source_dosignal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca %struct.calldata, align 4
%5 = alloca [128 x i32], align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #3
%6 = call i32 @calldata_init_fixed(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 512) #3
%7 = call i32 @calldata_set_ptr(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef %0) #3
%8 = icmp eq ptr %1, null
br i1 %8, label %17, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9
%14 = load ptr, ptr @obs, align 8, !tbaa !12
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = call i32 @signal_handler_signal(i32 noundef %15, ptr noundef nonnull %1, ptr noundef nonnull %4) #3
br label %17
17: ; preds = %13, %9, %3
%18 = icmp eq ptr %2, null
br i1 %18, label %22, label %19
19: ; preds = %17
%20 = load i32, ptr %0, align 4, !tbaa !16
%21 = call i32 @signal_handler_signal(i32 noundef %20, ptr noundef nonnull %2, ptr noundef nonnull %4) #3
br label %22
22: ; preds = %19, %17
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @calldata_init_fixed(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @calldata_set_ptr(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @signal_handler_signal(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 4}
!7 = !{!"obs_source", !8, i64 0}
!8 = !{!"TYPE_3__", !9, i64 0, !9, i64 4}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !10, i64 0}
!14 = !{!15, !9, i64 0}
!15 = !{!"TYPE_4__", !9, i64 0}
!16 = !{!7, !9, i64 0}
| obs-studio_libobs_audio-monitoring_osx_extr_....obs-internal.h_obs_source_dosignal |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun4i_hdmi_tmds_clk.c_sun4i_tmds_determine_rate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun4i_hdmi_tmds_clk.c_sun4i_tmds_determine_rate.c"
target datalayout = "e-m:e-p270:32:32-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.clk_rate_request = type { i64, i64, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sun4i_tmds_determine_rate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sun4i_tmds_determine_rate(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @hw_to_tmds(ptr noundef %0) #3
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %109
7: ; preds = %2
%8 = shl i64 %4, 1
br label %9
9: ; preds = %7, %100
%10 = phi i32 [ %104, %100 ], [ 0, %7 ]
%11 = phi i32 [ %103, %100 ], [ 1, %7 ]
%12 = phi i32 [ %102, %100 ], [ 1, %7 ]
%13 = phi i64 [ %101, %100 ], [ 0, %7 ]
%14 = tail call ptr @clk_hw_get_parent_by_index(ptr noundef %0, i32 noundef %10) #3
%15 = icmp eq ptr %14, null
br i1 %15, label %100, label %16
16: ; preds = %9
%17 = load i32, ptr %3, align 4, !tbaa !11
%18 = tail call i32 @llvm.umax.i32(i32 %17, i32 1)
%19 = add nsw i32 %17, 16
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %58
21: ; preds = %16
%22 = sext i32 %18 to i64
br label %23
23: ; preds = %21, %46
%24 = phi i64 [ %22, %21 ], [ %50, %46 ]
%25 = phi i32 [ %11, %21 ], [ %49, %46 ]
%26 = phi i32 [ %12, %21 ], [ %48, %46 ]
%27 = phi i64 [ %13, %21 ], [ %47, %46 ]
%28 = mul i64 %4, %24
%29 = tail call i64 @clk_hw_round_rate(ptr noundef nonnull %14, i64 noundef %28) #3
%30 = icmp eq i64 %29, %28
br i1 %30, label %112, label %31
31: ; preds = %23
%32 = icmp eq i64 %27, 0
br i1 %32, label %44, label %33
33: ; preds = %31
%34 = udiv i64 %29, %24
%35 = sub i64 %4, %34
%36 = tail call i64 @abs(i64 noundef %35) #3
%37 = zext nneg i32 %25 to i64
%38 = udiv i64 %27, %37
%39 = sext i32 %26 to i64
%40 = udiv i64 %38, %39
%41 = sub i64 %4, %40
%42 = tail call i64 @abs(i64 noundef %41) #3
%43 = icmp slt i64 %36, %42
br i1 %43, label %44, label %46
44: ; preds = %33, %31
%45 = trunc i64 %24 to i32
br label %46
46: ; preds = %44, %33
%47 = phi i64 [ %27, %33 ], [ %29, %44 ]
%48 = phi i32 [ %26, %33 ], [ %45, %44 ]
%49 = phi i32 [ %25, %33 ], [ 1, %44 ]
%50 = add nsw i64 %24, 1
%51 = load i32, ptr %3, align 4, !tbaa !11
%52 = add nsw i32 %51, 15
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %24, %53
br i1 %54, label %23, label %55, !llvm.loop !14
55: ; preds = %46
%56 = tail call i32 @llvm.umax.i32(i32 %51, i32 1)
%57 = add nsw i32 %51, 16
br label %58
58: ; preds = %55, %16
%59 = phi i32 [ %57, %55 ], [ %19, %16 ]
%60 = phi i32 [ %56, %55 ], [ %18, %16 ]
%61 = phi i64 [ %47, %55 ], [ %13, %16 ]
%62 = phi i32 [ %48, %55 ], [ %12, %16 ]
%63 = phi i32 [ %49, %55 ], [ %11, %16 ]
%64 = icmp slt i32 %60, %59
br i1 %64, label %65, label %100
65: ; preds = %58
%66 = sext i32 %60 to i64
br label %67
67: ; preds = %91, %65
%68 = phi i64 [ %66, %65 ], [ %95, %91 ]
%69 = phi i32 [ %63, %65 ], [ %94, %91 ]
%70 = phi i32 [ %62, %65 ], [ %93, %91 ]
%71 = phi i64 [ %61, %65 ], [ %92, %91 ]
%72 = mul i64 %8, %68
%73 = tail call i64 @clk_hw_round_rate(ptr noundef nonnull %14, i64 noundef %72) #3
%74 = icmp eq i64 %73, %72
br i1 %74, label %112, label %75
75: ; preds = %67
%76 = icmp eq i64 %71, 0
br i1 %76, label %89, label %77
77: ; preds = %75
%78 = lshr i64 %73, 1
%79 = udiv i64 %78, %68
%80 = sub i64 %4, %79
%81 = tail call i64 @abs(i64 noundef %80) #3
%82 = zext nneg i32 %69 to i64
%83 = udiv i64 %71, %82
%84 = sext i32 %70 to i64
%85 = udiv i64 %83, %84
%86 = sub i64 %4, %85
%87 = tail call i64 @abs(i64 noundef %86) #3
%88 = icmp slt i64 %81, %87
br i1 %88, label %89, label %91
89: ; preds = %77, %75
%90 = trunc i64 %68 to i32
br label %91
91: ; preds = %89, %77
%92 = phi i64 [ %71, %77 ], [ %73, %89 ]
%93 = phi i32 [ %70, %77 ], [ %90, %89 ]
%94 = phi i32 [ %69, %77 ], [ 2, %89 ]
%95 = add nsw i64 %68, 1
%96 = load i32, ptr %3, align 4, !tbaa !11
%97 = add nsw i32 %96, 15
%98 = sext i32 %97 to i64
%99 = icmp slt i64 %68, %98
br i1 %99, label %67, label %100, !llvm.loop !14
100: ; preds = %91, %58, %9
%101 = phi i64 [ %13, %9 ], [ %61, %58 ], [ %92, %91 ]
%102 = phi i32 [ %12, %9 ], [ %62, %58 ], [ %93, %91 ]
%103 = phi i32 [ %11, %9 ], [ %63, %58 ], [ %94, %91 ]
%104 = add nuw nsw i32 %10, 1
%105 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3
%106 = icmp slt i32 %104, %105
br i1 %106, label %9, label %107, !llvm.loop !16
107: ; preds = %100
%108 = icmp eq ptr %14, null
br i1 %108, label %109, label %117
109: ; preds = %2, %107
%110 = load i32, ptr @EINVAL, align 4, !tbaa !17
%111 = sub nsw i32 0, %110
br label %127
112: ; preds = %23, %67
%113 = phi i32 [ 2, %67 ], [ 1, %23 ]
%114 = phi i64 [ %68, %67 ], [ %24, %23 ]
%115 = phi i64 [ %72, %67 ], [ %28, %23 ]
%116 = trunc i64 %114 to i32
br label %117
117: ; preds = %112, %107
%118 = phi i64 [ %101, %107 ], [ %115, %112 ]
%119 = phi i32 [ %102, %107 ], [ %116, %112 ]
%120 = phi i32 [ %103, %107 ], [ %113, %112 ]
%121 = zext nneg i32 %120 to i64
%122 = udiv i64 %118, %121
%123 = sext i32 %119 to i64
%124 = udiv i64 %122, %123
store i64 %124, ptr %1, align 8, !tbaa !5
%125 = getelementptr inbounds %struct.clk_rate_request, ptr %1, i64 0, i32 1
store i64 %118, ptr %125, align 8, !tbaa !18
%126 = getelementptr inbounds %struct.clk_rate_request, ptr %1, i64 0, i32 2
store ptr %14, ptr %126, align 8, !tbaa !19
br label %127
127: ; preds = %117, %109
%128 = phi i32 [ 0, %117 ], [ %111, %109 ]
ret i32 %128
}
declare ptr @hw_to_tmds(ptr noundef) local_unnamed_addr #1
declare i32 @clk_hw_get_num_parents(ptr noundef) local_unnamed_addr #1
declare ptr @clk_hw_get_parent_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @clk_hw_round_rate(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @abs(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.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 = !{!"clk_rate_request", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"sun4i_tmds", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!13, !13, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !10, i64 16}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun4i_hdmi_tmds_clk.c_sun4i_tmds_determine_rate.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun4i_hdmi_tmds_clk.c_sun4i_tmds_determine_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sun4i_tmds_determine_rate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sun4i_tmds_determine_rate(ptr noundef %0, ptr nocapture noundef %1) #0 {
%3 = tail call ptr @hw_to_tmds(ptr noundef %0) #3
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %108
7: ; preds = %2
%8 = shl i64 %4, 1
br label %9
9: ; preds = %7, %100
%10 = phi i32 [ %104, %100 ], [ 0, %7 ]
%11 = phi i32 [ %103, %100 ], [ 1, %7 ]
%12 = phi i32 [ %102, %100 ], [ 1, %7 ]
%13 = phi i64 [ %101, %100 ], [ 0, %7 ]
%14 = tail call ptr @clk_hw_get_parent_by_index(ptr noundef %0, i32 noundef %10) #3
%15 = icmp eq ptr %14, null
br i1 %15, label %100, label %16
16: ; preds = %9
%17 = load i32, ptr %3, align 4, !tbaa !12
%18 = tail call i32 @llvm.umax.i32(i32 %17, i32 1)
%19 = add nsw i32 %17, 16
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %58
21: ; preds = %16
%22 = sext i32 %18 to i64
br label %23
23: ; preds = %21, %46
%24 = phi i64 [ %22, %21 ], [ %50, %46 ]
%25 = phi i32 [ %11, %21 ], [ %49, %46 ]
%26 = phi i32 [ %12, %21 ], [ %48, %46 ]
%27 = phi i64 [ %13, %21 ], [ %47, %46 ]
%28 = mul i64 %4, %24
%29 = tail call i64 @clk_hw_round_rate(ptr noundef nonnull %14, i64 noundef %28) #3
%30 = icmp eq i64 %29, %28
br i1 %30, label %111, label %31
31: ; preds = %23
%32 = icmp eq i64 %27, 0
br i1 %32, label %44, label %33
33: ; preds = %31
%34 = udiv i64 %29, %24
%35 = sub i64 %4, %34
%36 = tail call i64 @abs(i64 noundef %35) #3
%37 = zext nneg i32 %25 to i64
%38 = udiv i64 %27, %37
%39 = sext i32 %26 to i64
%40 = udiv i64 %38, %39
%41 = sub i64 %4, %40
%42 = tail call i64 @abs(i64 noundef %41) #3
%43 = icmp slt i64 %36, %42
br i1 %43, label %44, label %46
44: ; preds = %33, %31
%45 = trunc nsw i64 %24 to i32
br label %46
46: ; preds = %44, %33
%47 = phi i64 [ %27, %33 ], [ %29, %44 ]
%48 = phi i32 [ %26, %33 ], [ %45, %44 ]
%49 = phi i32 [ %25, %33 ], [ 1, %44 ]
%50 = add nsw i64 %24, 1
%51 = load i32, ptr %3, align 4, !tbaa !12
%52 = add nsw i32 %51, 15
%53 = sext i32 %52 to i64
%54 = icmp slt i64 %24, %53
br i1 %54, label %23, label %55, !llvm.loop !15
55: ; preds = %46
%56 = tail call i32 @llvm.umax.i32(i32 %51, i32 1)
%57 = add nsw i32 %51, 16
br label %58
58: ; preds = %55, %16
%59 = phi i32 [ %57, %55 ], [ %19, %16 ]
%60 = phi i32 [ %56, %55 ], [ %18, %16 ]
%61 = phi i64 [ %47, %55 ], [ %13, %16 ]
%62 = phi i32 [ %48, %55 ], [ %12, %16 ]
%63 = phi i32 [ %49, %55 ], [ %11, %16 ]
%64 = icmp slt i32 %60, %59
br i1 %64, label %65, label %100
65: ; preds = %58
%66 = sext i32 %60 to i64
br label %67
67: ; preds = %91, %65
%68 = phi i64 [ %66, %65 ], [ %95, %91 ]
%69 = phi i32 [ %63, %65 ], [ %94, %91 ]
%70 = phi i32 [ %62, %65 ], [ %93, %91 ]
%71 = phi i64 [ %61, %65 ], [ %92, %91 ]
%72 = mul i64 %8, %68
%73 = tail call i64 @clk_hw_round_rate(ptr noundef nonnull %14, i64 noundef %72) #3
%74 = icmp eq i64 %73, %72
br i1 %74, label %111, label %75
75: ; preds = %67
%76 = icmp eq i64 %71, 0
br i1 %76, label %89, label %77
77: ; preds = %75
%78 = lshr i64 %73, 1
%79 = udiv i64 %78, %68
%80 = sub i64 %4, %79
%81 = tail call i64 @abs(i64 noundef %80) #3
%82 = zext nneg i32 %69 to i64
%83 = udiv i64 %71, %82
%84 = sext i32 %70 to i64
%85 = udiv i64 %83, %84
%86 = sub i64 %4, %85
%87 = tail call i64 @abs(i64 noundef %86) #3
%88 = icmp slt i64 %81, %87
br i1 %88, label %89, label %91
89: ; preds = %77, %75
%90 = trunc nsw i64 %68 to i32
br label %91
91: ; preds = %89, %77
%92 = phi i64 [ %71, %77 ], [ %73, %89 ]
%93 = phi i32 [ %70, %77 ], [ %90, %89 ]
%94 = phi i32 [ %69, %77 ], [ 2, %89 ]
%95 = add nsw i64 %68, 1
%96 = load i32, ptr %3, align 4, !tbaa !12
%97 = add nsw i32 %96, 15
%98 = sext i32 %97 to i64
%99 = icmp slt i64 %68, %98
br i1 %99, label %67, label %100, !llvm.loop !15
100: ; preds = %91, %58, %9
%101 = phi i64 [ %13, %9 ], [ %61, %58 ], [ %92, %91 ]
%102 = phi i32 [ %12, %9 ], [ %62, %58 ], [ %93, %91 ]
%103 = phi i32 [ %11, %9 ], [ %63, %58 ], [ %94, %91 ]
%104 = add nuw nsw i32 %10, 1
%105 = tail call i32 @clk_hw_get_num_parents(ptr noundef %0) #3
%106 = icmp slt i32 %104, %105
br i1 %106, label %9, label %107, !llvm.loop !17
107: ; preds = %100
br i1 %15, label %108, label %116
108: ; preds = %2, %107
%109 = load i32, ptr @EINVAL, align 4, !tbaa !18
%110 = sub nsw i32 0, %109
br label %126
111: ; preds = %23, %67
%112 = phi i32 [ 2, %67 ], [ 1, %23 ]
%113 = phi i64 [ %68, %67 ], [ %24, %23 ]
%114 = phi i64 [ %72, %67 ], [ %28, %23 ]
%115 = trunc nsw i64 %113 to i32
br label %116
116: ; preds = %111, %107
%117 = phi i64 [ %101, %107 ], [ %114, %111 ]
%118 = phi i32 [ %102, %107 ], [ %115, %111 ]
%119 = phi i32 [ %103, %107 ], [ %112, %111 ]
%120 = zext nneg i32 %119 to i64
%121 = udiv i64 %117, %120
%122 = sext i32 %118 to i64
%123 = udiv i64 %121, %122
store i64 %123, ptr %1, align 8, !tbaa !6
%124 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %117, ptr %124, align 8, !tbaa !19
%125 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %14, ptr %125, align 8, !tbaa !20
br label %126
126: ; preds = %116, %108
%127 = phi i32 [ 0, %116 ], [ %110, %108 ]
ret i32 %127
}
declare ptr @hw_to_tmds(ptr noundef) local_unnamed_addr #1
declare i32 @clk_hw_get_num_parents(ptr noundef) local_unnamed_addr #1
declare ptr @clk_hw_get_parent_by_index(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @clk_hw_round_rate(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @abs(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.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 = !{!"clk_rate_request", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"sun4i_tmds", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!14, !14, i64 0}
!19 = !{!7, !8, i64 8}
!20 = !{!7, !11, i64 16}
| linux_drivers_gpu_drm_sun4i_extr_sun4i_hdmi_tmds_clk.c_sun4i_tmds_determine_rate |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/isci/extr_remote_device.c_sci_remote_device_terminate_requests.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/isci/extr_remote_device.c_sci_remote_device_terminate_requests.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local i32 @sci_remote_device_terminate_requests(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sci_remote_device_terminate_reqs_checkabort(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @sci_remote_device_terminate_reqs_checkabort(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/fastsocket/kernel/drivers/scsi/isci/extr_remote_device.c_sci_remote_device_terminate_requests.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/isci/extr_remote_device.c_sci_remote_device_terminate_requests.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sci_remote_device_terminate_requests(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @sci_remote_device_terminate_reqs_checkabort(ptr noundef %0, i32 noundef 0) #2
ret i32 %2
}
declare i32 @sci_remote_device_terminate_reqs_checkabort(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)"}
| fastsocket_kernel_drivers_scsi_isci_extr_remote_device.c_sci_remote_device_terminate_requests |
; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_get_string_representation_crt_switch_resolution_super.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_get_string_representation_crt_switch_resolution_super.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"NATIVE\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"DYNAMIC\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @setting_get_string_representation_crt_switch_resolution_super], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @setting_get_string_representation_crt_switch_resolution_super(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %14, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = load i32, ptr %6, align 4, !tbaa !12
switch i32 %7, label %12 [
i32 0, label %8
i32 1, label %10
]
8: ; preds = %5
%9 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %2) #2
br label %14
10: ; preds = %5
%11 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str.1, i64 noundef %2) #2
br label %14
12: ; preds = %5
%13 = tail call i32 @snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str.2, i32 noundef %7) #2
br label %14
14: ; preds = %10, %12, %3, %8
ret void
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 0}
!6 = !{!"TYPE_7__", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"TYPE_5__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !10, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_get_string_representation_crt_switch_resolution_super.c'
source_filename = "AnghaBench/RetroArch/menu/extr_menu_setting.c_setting_get_string_representation_crt_switch_resolution_super.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"NATIVE\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"DYNAMIC\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @setting_get_string_representation_crt_switch_resolution_super], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @setting_get_string_representation_crt_switch_resolution_super(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %14, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = load i32, ptr %6, align 4, !tbaa !13
switch i32 %7, label %12 [
i32 0, label %8
i32 1, label %10
]
8: ; preds = %5
%9 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str, i64 noundef %2) #2
br label %14
10: ; preds = %5
%11 = tail call i32 @strlcpy(ptr noundef %1, ptr noundef nonnull @.str.1, i64 noundef %2) #2
br label %14
12: ; preds = %5
%13 = tail call i32 @snprintf(ptr noundef %1, i64 noundef %2, ptr noundef nonnull @.str.2, i32 noundef %7) #2
br label %14
14: ; preds = %10, %12, %3, %8
ret void
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 0}
!7 = !{!"TYPE_7__", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"TYPE_5__", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !11, i64 0}
| RetroArch_menu_extr_menu_setting.c_setting_get_string_representation_crt_switch_resolution_super |
; ModuleID = 'AnghaBench/linux/drivers/memory/extr_da8xx-ddrctl.c_da8xx_ddrctl_get_board_settings.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_da8xx-ddrctl.c_da8xx_ddrctl_get_board_settings.c"
target datalayout = "e-m:e-p270:32:32-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.da8xx_ddrctl_board_settings = type { ptr, i32 }
@da8xx_ddrctl_board_confs = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @da8xx_ddrctl_get_board_settings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @da8xx_ddrctl_get_board_settings() #0 {
%1 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !5
%2 = tail call i32 @ARRAY_SIZE(ptr noundef %1) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %10, label %20
4: ; preds = %10
%5 = add nuw nsw i64 %11, 1
%6 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !5
%7 = tail call i32 @ARRAY_SIZE(ptr noundef %6) #2
%8 = sext i32 %7 to i64
%9 = icmp slt i64 %5, %8
br i1 %9, label %10, label %20, !llvm.loop !9
10: ; preds = %0, %4
%11 = phi i64 [ %5, %4 ], [ 0, %0 ]
%12 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !5
%13 = getelementptr inbounds %struct.da8xx_ddrctl_board_settings, ptr %12, i64 %11, i32 1
%14 = load i32, ptr %13, align 8, !tbaa !11
%15 = tail call i64 @of_machine_is_compatible(i32 noundef %14) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %4, label %17
17: ; preds = %10
%18 = getelementptr inbounds %struct.da8xx_ddrctl_board_settings, ptr %12, i64 %11
%19 = load ptr, ptr %18, align 8, !tbaa !14
br label %20
20: ; preds = %4, %0, %17
%21 = phi ptr [ %19, %17 ], [ null, %0 ], [ null, %4 ]
ret ptr %21
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @of_machine_is_compatible(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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !13, i64 8}
!12 = !{!"da8xx_ddrctl_board_settings", !6, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/memory/extr_da8xx-ddrctl.c_da8xx_ddrctl_get_board_settings.c'
source_filename = "AnghaBench/linux/drivers/memory/extr_da8xx-ddrctl.c_da8xx_ddrctl_get_board_settings.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.da8xx_ddrctl_board_settings = type { ptr, i32 }
@da8xx_ddrctl_board_confs = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @da8xx_ddrctl_get_board_settings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @da8xx_ddrctl_get_board_settings() #0 {
%1 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !6
%2 = tail call i32 @ARRAY_SIZE(ptr noundef %1) #2
%3 = icmp sgt i32 %2, 0
br i1 %3, label %10, label %20
4: ; preds = %10
%5 = add nuw nsw i64 %11, 1
%6 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !6
%7 = tail call i32 @ARRAY_SIZE(ptr noundef %6) #2
%8 = sext i32 %7 to i64
%9 = icmp slt i64 %5, %8
br i1 %9, label %10, label %20, !llvm.loop !10
10: ; preds = %0, %4
%11 = phi i64 [ %5, %4 ], [ 0, %0 ]
%12 = load ptr, ptr @da8xx_ddrctl_board_confs, align 8, !tbaa !6
%13 = getelementptr inbounds %struct.da8xx_ddrctl_board_settings, ptr %12, i64 %11
%14 = getelementptr inbounds i8, ptr %13, i64 8
%15 = load i32, ptr %14, align 8, !tbaa !12
%16 = tail call i64 @of_machine_is_compatible(i32 noundef %15) #2
%17 = icmp eq i64 %16, 0
br i1 %17, label %4, label %18
18: ; preds = %10
%19 = load ptr, ptr %13, align 8, !tbaa !15
br label %20
20: ; preds = %4, %0, %18
%21 = phi ptr [ %19, %18 ], [ null, %0 ], [ null, %4 ]
ret ptr %21
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i64 @of_machine_is_compatible(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 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !14, i64 8}
!13 = !{!"da8xx_ddrctl_board_settings", !7, i64 0, !14, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !7, i64 0}
| linux_drivers_memory_extr_da8xx-ddrctl.c_da8xx_ddrctl_get_board_settings |
; ModuleID = 'AnghaBench/freebsd/sbin/dmesg/extr_dmesg.c_usage.c'
source_filename = "AnghaBench/freebsd/sbin/dmesg/extr_dmesg.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"usage: dmesg [-ac] [-M core [-N system]]\0A\00", align 1
; Function Attrs: noreturn nounwind uwtable
define dso_local void @usage() local_unnamed_addr #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !5
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sbin/dmesg/extr_dmesg.c_usage.c'
source_filename = "AnghaBench/freebsd/sbin/dmesg/extr_dmesg.c_usage.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 [42 x i8] c"usage: dmesg [-ac] [-M core [-N system]]\0A\00", align 1
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define void @usage() local_unnamed_addr #0 {
%1 = load i32, ptr @stderr, align 4, !tbaa !6
%2 = tail call i32 @fprintf(i32 noundef %1, ptr noundef nonnull @.str) #3
%3 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sbin_dmesg_extr_dmesg.c_usage |
; ModuleID = 'AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_usage.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str.6 = private unnamed_addr constant [36 x i8] c"-a file\09\09root key file, default %s\0A\00", align 1
@ROOT_ANCHOR_FILE = dso_local local_unnamed_addr global ptr null, align 8
@.str.8 = private unnamed_addr constant [32 x i8] c"-c file\09\09cert file, default %s\0A\00", align 1
@ROOT_CERT_FILE = dso_local local_unnamed_addr global ptr null, align 8
@.str.10 = private unnamed_addr constant [42 x i8] c"-u name\09\09server in https url, default %s\0A\00", align 1
@URLNAME = dso_local local_unnamed_addr global ptr null, align 8
@.str.11 = private unnamed_addr constant [45 x i8] c"-x path\09\09pathname to xml in url, default %s\0A\00", align 1
@XMLNAME = dso_local local_unnamed_addr global ptr null, align 8
@.str.12 = private unnamed_addr constant [45 x i8] c"-s path\09\09pathname to p7s in url, default %s\0A\00", align 1
@P7SNAME = dso_local local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [52 x i8] c"-n name\09\09signer's subject emailAddress, default %s\0A\00", align 1
@P7SIGNER = dso_local local_unnamed_addr global ptr null, align 8
@.str.24 = private unnamed_addr constant [12 x i8] c"Version %s\0A\00", align 1
@PACKAGE_VERSION = dso_local local_unnamed_addr global ptr null, align 8
@.str.26 = private unnamed_addr constant [19 x i8] c"Report bugs to %s\0A\00", align 1
@PACKAGE_BUGREPORT = dso_local local_unnamed_addr global ptr null, align 8
@str = private unnamed_addr constant [35 x i8] c"Usage:\09local-unbound-anchor [opts]\00", align 1
@str.27 = private unnamed_addr constant [58 x i8] c"\09Setup or update root anchor. Most options have defaults.\00", align 1
@str.28 = private unnamed_addr constant [50 x i8] c"\09Run this program before you start the validator.\00", align 1
@str.29 = private unnamed_addr constant [50 x i8] c"\09The anchor and cert have default builtin content\00", align 1
@str.30 = private unnamed_addr constant [41 x i8] c"\09if the file does not exist or is empty.\00", align 1
@str.31 = private unnamed_addr constant [45 x i8] c"\09\09The key is input and output for this tool.\00", align 1
@str.32 = private unnamed_addr constant [40 x i8] c"-l\09\09list builtin key and cert on stdout\00", align 1
@str.33 = private unnamed_addr constant [25 x i8] c"-4\09\09work using IPv4 only\00", align 1
@str.34 = private unnamed_addr constant [25 x i8] c"-6\09\09work using IPv6 only\00", align 1
@str.35 = private unnamed_addr constant [37 x i8] c"-f resolv.conf\09use given resolv.conf\00", align 1
@str.36 = private unnamed_addr constant [76 x i8] c"-r root.hints\09use given root.hints\0A\09\09builtin root hints are used by default\00", align 1
@str.37 = private unnamed_addr constant [44 x i8] c"-R\09\09fallback from -f to root query on error\00", align 1
@str.38 = private unnamed_addr constant [17 x i8] c"-v\09\09more verbose\00", align 1
@str.39 = private unnamed_addr constant [28 x i8] c"-C conf\09\09debug, read config\00", align 1
@str.40 = private unnamed_addr constant [49 x i8] c"-P port\09\09use port for https connect, default 443\00", align 1
@str.41 = private unnamed_addr constant [35 x i8] c"-F \09\09debug, force update with cert\00", align 1
@str.42 = private unnamed_addr constant [25 x i8] c"-h\09\09show this usage help\00", align 1
@str.43 = private unnamed_addr constant [57 x i8] c"BSD licensed, see LICENSE in source package for details.\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @usage() #0 {
%1 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.27)
%3 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.28)
%4 = tail call i32 @putchar(i32 10)
%5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.29)
%6 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.30)
%7 = tail call i32 @putchar(i32 10)
%8 = load ptr, ptr @ROOT_ANCHOR_FILE, align 8, !tbaa !5
%9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %8)
%10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.31)
%11 = load ptr, ptr @ROOT_CERT_FILE, align 8, !tbaa !5
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %11)
%13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32)
%14 = load ptr, ptr @URLNAME, align 8, !tbaa !5
%15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef %14)
%16 = load ptr, ptr @XMLNAME, align 8, !tbaa !5
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %16)
%18 = load ptr, ptr @P7SNAME, align 8, !tbaa !5
%19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %18)
%20 = load ptr, ptr @P7SIGNER, align 8, !tbaa !5
%21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %20)
%22 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.33)
%23 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.34)
%24 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.35)
%25 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.36)
%26 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.37)
%27 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.38)
%28 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.39)
%29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.40)
%30 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.41)
%31 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.42)
%32 = load ptr, ptr @PACKAGE_VERSION, align 8, !tbaa !5
%33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef %32)
%34 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.43)
%35 = load ptr, ptr @PACKAGE_BUGREPORT, align 8, !tbaa !5
%36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef %35)
%37 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nofree nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_usage.c'
source_filename = "AnghaBench/freebsd/contrib/unbound/smallapp/extr_unbound-anchor.c_usage.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str.6 = private unnamed_addr constant [36 x i8] c"-a file\09\09root key file, default %s\0A\00", align 1
@ROOT_ANCHOR_FILE = common local_unnamed_addr global ptr null, align 8
@.str.8 = private unnamed_addr constant [32 x i8] c"-c file\09\09cert file, default %s\0A\00", align 1
@ROOT_CERT_FILE = common local_unnamed_addr global ptr null, align 8
@.str.10 = private unnamed_addr constant [42 x i8] c"-u name\09\09server in https url, default %s\0A\00", align 1
@URLNAME = common local_unnamed_addr global ptr null, align 8
@.str.11 = private unnamed_addr constant [45 x i8] c"-x path\09\09pathname to xml in url, default %s\0A\00", align 1
@XMLNAME = common local_unnamed_addr global ptr null, align 8
@.str.12 = private unnamed_addr constant [45 x i8] c"-s path\09\09pathname to p7s in url, default %s\0A\00", align 1
@P7SNAME = common local_unnamed_addr global ptr null, align 8
@.str.13 = private unnamed_addr constant [52 x i8] c"-n name\09\09signer's subject emailAddress, default %s\0A\00", align 1
@P7SIGNER = common local_unnamed_addr global ptr null, align 8
@.str.24 = private unnamed_addr constant [12 x i8] c"Version %s\0A\00", align 1
@PACKAGE_VERSION = common local_unnamed_addr global ptr null, align 8
@.str.26 = private unnamed_addr constant [19 x i8] c"Report bugs to %s\0A\00", align 1
@PACKAGE_BUGREPORT = common local_unnamed_addr global ptr null, align 8
@str = private unnamed_addr constant [35 x i8] c"Usage:\09local-unbound-anchor [opts]\00", align 1
@str.27 = private unnamed_addr constant [58 x i8] c"\09Setup or update root anchor. Most options have defaults.\00", align 1
@str.28 = private unnamed_addr constant [50 x i8] c"\09Run this program before you start the validator.\00", align 1
@str.29 = private unnamed_addr constant [50 x i8] c"\09The anchor and cert have default builtin content\00", align 1
@str.30 = private unnamed_addr constant [41 x i8] c"\09if the file does not exist or is empty.\00", align 1
@str.31 = private unnamed_addr constant [45 x i8] c"\09\09The key is input and output for this tool.\00", align 1
@str.32 = private unnamed_addr constant [40 x i8] c"-l\09\09list builtin key and cert on stdout\00", align 1
@str.33 = private unnamed_addr constant [25 x i8] c"-4\09\09work using IPv4 only\00", align 1
@str.34 = private unnamed_addr constant [25 x i8] c"-6\09\09work using IPv6 only\00", align 1
@str.35 = private unnamed_addr constant [37 x i8] c"-f resolv.conf\09use given resolv.conf\00", align 1
@str.36 = private unnamed_addr constant [76 x i8] c"-r root.hints\09use given root.hints\0A\09\09builtin root hints are used by default\00", align 1
@str.37 = private unnamed_addr constant [44 x i8] c"-R\09\09fallback from -f to root query on error\00", align 1
@str.38 = private unnamed_addr constant [17 x i8] c"-v\09\09more verbose\00", align 1
@str.39 = private unnamed_addr constant [28 x i8] c"-C conf\09\09debug, read config\00", align 1
@str.40 = private unnamed_addr constant [49 x i8] c"-P port\09\09use port for https connect, default 443\00", align 1
@str.41 = private unnamed_addr constant [35 x i8] c"-F \09\09debug, force update with cert\00", align 1
@str.42 = private unnamed_addr constant [25 x i8] c"-h\09\09show this usage help\00", align 1
@str.43 = private unnamed_addr constant [57 x i8] c"BSD licensed, see LICENSE in source package for details.\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @usage], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @usage() #0 {
%1 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str)
%2 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.27)
%3 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.28)
%4 = tail call i32 @putchar(i32 10)
%5 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.29)
%6 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.30)
%7 = tail call i32 @putchar(i32 10)
%8 = load ptr, ptr @ROOT_ANCHOR_FILE, align 8, !tbaa !6
%9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %8)
%10 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.31)
%11 = load ptr, ptr @ROOT_CERT_FILE, align 8, !tbaa !6
%12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %11)
%13 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.32)
%14 = load ptr, ptr @URLNAME, align 8, !tbaa !6
%15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef %14)
%16 = load ptr, ptr @XMLNAME, align 8, !tbaa !6
%17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef %16)
%18 = load ptr, ptr @P7SNAME, align 8, !tbaa !6
%19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef %18)
%20 = load ptr, ptr @P7SIGNER, align 8, !tbaa !6
%21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %20)
%22 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.33)
%23 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.34)
%24 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.35)
%25 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.36)
%26 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.37)
%27 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.38)
%28 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.39)
%29 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.40)
%30 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.41)
%31 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.42)
%32 = load ptr, ptr @PACKAGE_VERSION, align 8, !tbaa !6
%33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef %32)
%34 = tail call i32 @puts(ptr nonnull dereferenceable(1) @str.43)
%35 = load ptr, ptr @PACKAGE_BUGREPORT, align 8, !tbaa !6
%36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef %35)
%37 = tail call i32 @exit(i32 noundef 1) #4
unreachable
}
; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3
; Function Attrs: nofree nounwind
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #3
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { 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 = { nofree nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_unbound_smallapp_extr_unbound-anchor.c_usage |
; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp3d/extr_opj_jp3d_compress.c_error_callback.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp3d/extr_opj_jp3d_compress.c_error_callback.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"[ERROR] %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @error_callback(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %0) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp3d/extr_opj_jp3d_compress.c_error_callback.c'
source_filename = "AnghaBench/sumatrapdf/ext/openjpeg/src/bin/jp3d/extr_opj_jp3d_compress.c_error_callback.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [11 x i8] c"[ERROR] %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @error_callback(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef %0) #2
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| sumatrapdf_ext_openjpeg_src_bin_jp3d_extr_opj_jp3d_compress.c_error_callback |
; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_taprio.c_dump_entry.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_taprio.c_dump_entry.c"
target datalayout = "e-m:e-p270:32:32-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.sched_entry = type { i32, i32, i32, i32 }
@TCA_TAPRIO_SCHED_ENTRY = dso_local local_unnamed_addr global i32 0, align 4
@ENOSPC = dso_local local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_CMD = dso_local local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_GATE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_INTERVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @dump_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @dump_entry(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY, align 4, !tbaa !5
%4 = tail call ptr @nla_nest_start_noflag(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOSPC, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %36
9: ; preds = %2
%10 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_INDEX, align 4, !tbaa !5
%11 = getelementptr inbounds %struct.sched_entry, ptr %1, i64 0, i32 3
%12 = load i32, ptr %11, align 4, !tbaa !9
%13 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %10, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %34
15: ; preds = %9
%16 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_CMD, align 4, !tbaa !5
%17 = getelementptr inbounds %struct.sched_entry, ptr %1, i64 0, i32 2
%18 = load i32, ptr %17, align 4, !tbaa !11
%19 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %16, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %15
%22 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_GATE_MASK, align 4, !tbaa !5
%23 = getelementptr inbounds %struct.sched_entry, ptr %1, i64 0, i32 1
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %22, i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %21
%28 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_INTERVAL, align 4, !tbaa !5
%29 = load i32, ptr %1, align 4, !tbaa !13
%30 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %28, i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %4) #2
br label %36
34: ; preds = %27, %21, %15, %9
%35 = tail call i32 @nla_nest_cancel(ptr noundef %0, ptr noundef nonnull %4) #2
br label %36
36: ; preds = %34, %32, %6
%37 = phi i32 [ -1, %34 ], [ %33, %32 ], [ %8, %6 ]
ret i32 %37
}
declare ptr @nla_nest_start_noflag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nla_nest_cancel(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, !6, i64 12}
!10 = !{!"sched_entry", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_taprio.c_dump_entry.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_taprio.c_dump_entry.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TCA_TAPRIO_SCHED_ENTRY = common local_unnamed_addr global i32 0, align 4
@ENOSPC = common local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_INDEX = common local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_CMD = common local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_GATE_MASK = common local_unnamed_addr global i32 0, align 4
@TCA_TAPRIO_SCHED_ENTRY_INTERVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @dump_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @dump_entry(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY, align 4, !tbaa !6
%4 = tail call ptr @nla_nest_start_noflag(ptr noundef %0, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOSPC, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %36
9: ; preds = %2
%10 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_INDEX, align 4, !tbaa !6
%11 = getelementptr inbounds i8, ptr %1, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !10
%13 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %10, i32 noundef %12) #2
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %34
15: ; preds = %9
%16 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_CMD, align 4, !tbaa !6
%17 = getelementptr inbounds i8, ptr %1, i64 8
%18 = load i32, ptr %17, align 4, !tbaa !12
%19 = tail call i64 @nla_put_u8(ptr noundef %0, i32 noundef %16, i32 noundef %18) #2
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %34
21: ; preds = %15
%22 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_GATE_MASK, align 4, !tbaa !6
%23 = getelementptr inbounds i8, ptr %1, i64 4
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %22, i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %34
27: ; preds = %21
%28 = load i32, ptr @TCA_TAPRIO_SCHED_ENTRY_INTERVAL, align 4, !tbaa !6
%29 = load i32, ptr %1, align 4, !tbaa !14
%30 = tail call i64 @nla_put_u32(ptr noundef %0, i32 noundef %28, i32 noundef %29) #2
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = tail call i32 @nla_nest_end(ptr noundef %0, ptr noundef nonnull %4) #2
br label %36
34: ; preds = %27, %21, %15, %9
%35 = tail call i32 @nla_nest_cancel(ptr noundef %0, ptr noundef nonnull %4) #2
br label %36
36: ; preds = %34, %32, %6
%37 = phi i32 [ -1, %34 ], [ %33, %32 ], [ %8, %6 ]
ret i32 %37
}
declare ptr @nla_nest_start_noflag(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nla_put_u8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @nla_nest_end(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @nla_nest_cancel(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, !7, i64 12}
!11 = !{!"sched_entry", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!12 = !{!11, !7, i64 8}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 0}
| linux_net_sched_extr_sch_taprio.c_dump_entry |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_mid_bios.c_mid_get_pci_revID.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_mid_bios.c_mid_get_pci_revID.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.drm_psb_private = type { i64, ptr }
%struct.TYPE_4__ = type { i32, ptr }
@.str = private unnamed_addr constant [23 x i8] c"platform_rev_id is %x\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mid_get_pci_revID], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mid_get_pci_revID(ptr nocapture noundef %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.drm_psb_private, ptr %0, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i32, ptr %6, align 4, !tbaa !15
%8 = tail call i32 @pci_domain_nr(i32 noundef %7) #3
%9 = tail call i32 @PCI_DEVFN(i32 noundef 2, i32 noundef 0) #3
%10 = tail call ptr @pci_get_domain_bus_and_slot(i32 noundef %8, i32 noundef 0, i32 noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = tail call i32 @WARN_ON(i32 noundef 1) #3
br label %22
14: ; preds = %1
%15 = call i32 @pci_read_config_dword(ptr noundef nonnull %10, i32 noundef 8, ptr noundef nonnull %2) #3
%16 = load i64, ptr %2, align 8, !tbaa !5
store i64 %16, ptr %0, align 8, !tbaa !17
%17 = call i32 @pci_dev_put(ptr noundef nonnull %10) #3
%18 = load ptr, ptr %3, align 8, !tbaa !9
%19 = load i32, ptr %18, align 8, !tbaa !18
%20 = load i64, ptr %0, align 8, !tbaa !17
%21 = call i32 @dev_dbg(i32 noundef %19, ptr noundef nonnull @.str, i64 noundef %20) #3
br label %22
22: ; preds = %14, %12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_domain_nr(i32 noundef) local_unnamed_addr #2
declare ptr @pci_get_domain_bus_and_slot(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PCI_DEVFN(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_dev_put(ptr noundef) local_unnamed_addr #2
declare i32 @dev_dbg(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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"drm_psb_private", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"TYPE_4__", !14, i64 0, !11, i64 8}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"TYPE_3__", !14, i64 0}
!17 = !{!10, !6, i64 0}
!18 = !{!13, !14, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_mid_bios.c_mid_get_pci_revID.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_mid_bios.c_mid_get_pci_revID.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"platform_rev_id is %x\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mid_get_pci_revID], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mid_get_pci_revID(ptr nocapture noundef %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 0, ptr %2, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = load ptr, ptr %5, align 8, !tbaa !13
%7 = load i32, ptr %6, align 4, !tbaa !16
%8 = tail call i32 @pci_domain_nr(i32 noundef %7) #3
%9 = tail call i32 @PCI_DEVFN(i32 noundef 2, i32 noundef 0) #3
%10 = tail call ptr @pci_get_domain_bus_and_slot(i32 noundef %8, i32 noundef 0, i32 noundef %9) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = tail call i32 @WARN_ON(i32 noundef 1) #3
br label %22
14: ; preds = %1
%15 = call i32 @pci_read_config_dword(ptr noundef nonnull %10, i32 noundef 8, ptr noundef nonnull %2) #3
%16 = load i64, ptr %2, align 8, !tbaa !6
store i64 %16, ptr %0, align 8, !tbaa !18
%17 = call i32 @pci_dev_put(ptr noundef nonnull %10) #3
%18 = load ptr, ptr %3, align 8, !tbaa !10
%19 = load i32, ptr %18, align 8, !tbaa !19
%20 = load i64, ptr %0, align 8, !tbaa !18
%21 = call i32 @dev_dbg(i32 noundef %19, ptr noundef nonnull @.str, i64 noundef %20) #3
br label %22
22: ; preds = %14, %12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @pci_domain_nr(i32 noundef) local_unnamed_addr #2
declare ptr @pci_get_domain_bus_and_slot(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @PCI_DEVFN(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #2
declare i32 @pci_read_config_dword(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @pci_dev_put(ptr noundef) local_unnamed_addr #2
declare i32 @dev_dbg(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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"drm_psb_private", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"TYPE_4__", !15, i64 0, !12, i64 8}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"TYPE_3__", !15, i64 0}
!18 = !{!11, !7, i64 0}
!19 = !{!14, !15, i64 0}
| linux_drivers_gpu_drm_gma500_extr_mid_bios.c_mid_get_pci_revID |
; ModuleID = 'AnghaBench/git/extr_blame.c_compare_blame_suspect.c'
source_filename = "AnghaBench/git/extr_blame.c_compare_blame_suspect.c"
target datalayout = "e-m:e-p270:32:32-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.blame_entry = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @compare_blame_suspect], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @compare_blame_suspect(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = icmp eq i64 %3, %4
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = icmp sgt i64 %3, %4
%8 = select i1 %7, i32 1, i32 -1
br label %18
9: ; preds = %2
%10 = getelementptr inbounds %struct.blame_entry, ptr %0, i64 0, i32 1
%11 = load i64, ptr %10, align 8, !tbaa !10
%12 = getelementptr inbounds %struct.blame_entry, ptr %1, i64 0, i32 1
%13 = load i64, ptr %12, align 8, !tbaa !10
%14 = icmp eq i64 %11, %13
br i1 %14, label %18, label %15
15: ; preds = %9
%16 = icmp sgt i64 %11, %13
%17 = select i1 %16, i32 1, i32 -1
br label %18
18: ; preds = %9, %15, %6
%19 = phi i32 [ %8, %6 ], [ %17, %15 ], [ 0, %9 ]
ret i32 %19
}
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 = !{!"blame_entry", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/git/extr_blame.c_compare_blame_suspect.c'
source_filename = "AnghaBench/git/extr_blame.c_compare_blame_suspect.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 @compare_blame_suspect], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 -1, 2) i32 @compare_blame_suspect(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = icmp eq i64 %3, %4
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = icmp sgt i64 %3, %4
%8 = select i1 %7, i32 1, i32 -1
br label %18
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !tbaa !11
%12 = getelementptr inbounds i8, ptr %1, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !11
%14 = icmp eq i64 %11, %13
br i1 %14, label %18, label %15
15: ; preds = %9
%16 = icmp sgt i64 %11, %13
%17 = select i1 %16, i32 1, i32 -1
br label %18
18: ; preds = %9, %15, %6
%19 = phi i32 [ %8, %6 ], [ %17, %15 ], [ 0, %9 ]
ret i32 %19
}
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 = !{!"blame_entry", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
| git_extr_blame.c_compare_blame_suspect |
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/kvm/lib/x86_64/extr_processor.c_allocate_kvm_cpuid2.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/kvm/lib/x86_64/extr_processor.c_allocate_kvm_cpuid2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @allocate_kvm_cpuid2], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noalias noundef ptr @allocate_kvm_cpuid2() #0 {
%1 = tail call dereferenceable_or_null(404) ptr @malloc(i64 noundef 404)
%2 = icmp eq ptr %1, null
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @perror(ptr noundef nonnull @.str) #4
%5 = tail call i32 (...) @abort() #5
unreachable
6: ; preds = %0
store i32 100, ptr %1, align 4, !tbaa !5
ret ptr %1
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"kvm_cpuid2", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/tools/testing/selftests/kvm/lib/x86_64/extr_processor.c_allocate_kvm_cpuid2.c'
source_filename = "AnghaBench/linux/tools/testing/selftests/kvm/lib/x86_64/extr_processor.c_allocate_kvm_cpuid2.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"malloc\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @allocate_kvm_cpuid2], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @allocate_kvm_cpuid2() #0 {
%1 = tail call dereferenceable_or_null(404) ptr @malloc(i64 noundef 404)
%2 = icmp eq ptr %1, null
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @perror(ptr noundef nonnull @.str) #4
%5 = tail call i32 @abort() #5
unreachable
6: ; preds = %0
store i32 100, ptr %1, align 4, !tbaa !6
ret ptr %1
}
; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @abort(...) 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"kvm_cpuid2", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_tools_testing_selftests_kvm_lib_x86_64_extr_processor.c_allocate_kvm_cpuid2 |
; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_vnops.c_checkfile.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_vnops.c_checkfile.c"
target datalayout = "e-m:e-p270:32:32-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.stat = type { i32 }
@MAXPATHLEN = dso_local local_unnamed_addr global i32 0, align 4
@checkfile.n = internal unnamed_addr global i32 1, align 4
@.str = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"cannot stat file %d (%s)\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"stat mismatch %d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @checkfile], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @checkfile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.stat, align 4
%4 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = call i32 @md(ptr noundef nonnull %6, i32 noundef %4, ptr noundef %0, ptr noundef nonnull @.str) #3
%8 = call i32 @rump_sys_stat(ptr noundef nonnull %6, ptr noundef nonnull %3) #3
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @checkfile.n, align 4, !tbaa !5
%12 = call i32 @atf_tc_fail_errno(ptr noundef nonnull @.str.1, i32 noundef %11, ptr noundef nonnull %6) #3
br label %13
13: ; preds = %10, %2
%14 = call i64 @memcmp(ptr noundef nonnull %3, ptr noundef %1, i32 noundef 4) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr @checkfile.n, align 4, !tbaa !5
%18 = call i32 @atf_tc_fail(ptr noundef nonnull @.str.2, i32 noundef %17) #3
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr @checkfile.n, align 4, !tbaa !5
%21 = add nsw i32 %20, 1
store i32 %21, ptr @checkfile.n, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @md(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rump_sys_stat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atf_tc_fail_errno(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @atf_tc_fail(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_vnops.c_checkfile.c'
source_filename = "AnghaBench/freebsd/contrib/netbsd-tests/fs/vfs/extr_t_vnops.c_checkfile.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.stat = type { i32 }
@MAXPATHLEN = common local_unnamed_addr global i32 0, align 4
@checkfile.n = internal unnamed_addr global i32 1, align 4
@.str = private unnamed_addr constant [5 x i8] c"file\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"cannot stat file %d (%s)\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"stat mismatch %d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @checkfile], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @checkfile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.stat, align 4
%4 = load i32, ptr @MAXPATHLEN, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%7 = call i32 @md(ptr noundef nonnull %6, i32 noundef %4, ptr noundef %0, ptr noundef nonnull @.str) #3
%8 = call i32 @rump_sys_stat(ptr noundef nonnull %6, ptr noundef nonnull %3) #3
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @checkfile.n, align 4, !tbaa !6
%12 = call i32 @atf_tc_fail_errno(ptr noundef nonnull @.str.1, i32 noundef %11, ptr noundef nonnull %6) #3
br label %13
13: ; preds = %10, %2
%14 = call i64 @memcmp(ptr noundef nonnull %3, ptr noundef %1, i32 noundef 4) #3
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load i32, ptr @checkfile.n, align 4, !tbaa !6
%18 = call i32 @atf_tc_fail(ptr noundef nonnull @.str.2, i32 noundef %17) #3
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr @checkfile.n, align 4, !tbaa !6
%21 = add nsw i32 %20, 1
store i32 %21, ptr @checkfile.n, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @md(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rump_sys_stat(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @atf_tc_fail_errno(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @atf_tc_fail(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_netbsd-tests_fs_vfs_extr_t_vnops.c_checkfile |
; ModuleID = 'AnghaBench/freebsd/sys/dev/et/extr_if_et.c_et_stop.c'
source_filename = "AnghaBench/freebsd/sys/dev/et/extr_if_et.c_et_stop.c"
target datalayout = "e-m:e-p270:32:32-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.et_softc = type { i64, i32, i64, i64, i32, ptr }
@ET_INTR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1 = dso_local local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1_TXEN = dso_local local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1_RXEN = dso_local local_unnamed_addr global i32 0, align 4
@ET_FLAG_TXRX_ENABLED = dso_local local_unnamed_addr global i32 0, align 4
@IFF_DRV_RUNNING = dso_local local_unnamed_addr global i32 0, align 4
@IFF_DRV_OACTIVE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @et_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @et_stop(ptr noundef %0) #0 {
%2 = tail call i32 @ET_LOCK_ASSERT(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.et_softc, ptr %0, i64 0, i32 5
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = getelementptr inbounds %struct.et_softc, ptr %0, i64 0, i32 4
%6 = tail call i32 @callout_stop(ptr noundef nonnull %5) #3
%7 = load i32, ptr @ET_INTR_MASK, align 4, !tbaa !12
%8 = tail call i32 @CSR_WRITE_4(ptr noundef %0, i32 noundef %7, i32 noundef -1) #3
%9 = load i32, ptr @ET_MAC_CFG1, align 4, !tbaa !12
%10 = tail call i32 @CSR_READ_4(ptr noundef %0, i32 noundef %9) #3
%11 = load i32, ptr @ET_MAC_CFG1_TXEN, align 4, !tbaa !12
%12 = load i32, ptr @ET_MAC_CFG1_RXEN, align 4, !tbaa !12
%13 = or i32 %12, %11
%14 = xor i32 %13, -1
%15 = and i32 %10, %14
%16 = tail call i32 @CSR_WRITE_4(ptr noundef %0, i32 noundef %9, i32 noundef %15) #3
%17 = tail call i32 @DELAY(i32 noundef 100) #3
%18 = tail call i32 @et_stop_rxdma(ptr noundef %0) #3
%19 = tail call i32 @et_stop_txdma(ptr noundef %0) #3
%20 = tail call i32 @et_stats_update(ptr noundef %0) #3
%21 = tail call i32 @et_free_tx_ring(ptr noundef %0) #3
%22 = tail call i32 @et_free_rx_ring(ptr noundef %0) #3
%23 = getelementptr inbounds %struct.et_softc, ptr %0, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false)
%24 = load i32, ptr @ET_FLAG_TXRX_ENABLED, align 4, !tbaa !12
%25 = xor i32 %24, -1
%26 = getelementptr inbounds %struct.et_softc, ptr %0, i64 0, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !13
%28 = and i32 %27, %25
store i32 %28, ptr %26, align 8, !tbaa !13
store i64 0, ptr %0, align 8, !tbaa !14
%29 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !12
%30 = load i32, ptr @IFF_DRV_OACTIVE, align 4, !tbaa !12
%31 = or i32 %30, %29
%32 = xor i32 %31, -1
%33 = load i32, ptr %4, align 4, !tbaa !15
%34 = and i32 %33, %32
store i32 %34, ptr %4, align 4, !tbaa !15
ret void
}
declare i32 @ET_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @et_stop_rxdma(ptr noundef) local_unnamed_addr #1
declare i32 @et_stop_txdma(ptr noundef) local_unnamed_addr #1
declare i32 @et_stats_update(ptr noundef) local_unnamed_addr #1
declare i32 @et_free_tx_ring(ptr noundef) local_unnamed_addr #1
declare i32 @et_free_rx_ring(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, !11, i64 40}
!6 = !{!"et_softc", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!6, !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"ifnet", !10, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/et/extr_if_et.c_et_stop.c'
source_filename = "AnghaBench/freebsd/sys/dev/et/extr_if_et.c_et_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ET_INTR_MASK = common local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1 = common local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1_TXEN = common local_unnamed_addr global i32 0, align 4
@ET_MAC_CFG1_RXEN = common local_unnamed_addr global i32 0, align 4
@ET_FLAG_TXRX_ENABLED = common local_unnamed_addr global i32 0, align 4
@IFF_DRV_RUNNING = common local_unnamed_addr global i32 0, align 4
@IFF_DRV_OACTIVE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @et_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @et_stop(ptr noundef %0) #0 {
%2 = tail call i32 @ET_LOCK_ASSERT(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %0, i64 40
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = tail call i32 @callout_stop(ptr noundef nonnull %5) #3
%7 = load i32, ptr @ET_INTR_MASK, align 4, !tbaa !13
%8 = tail call i32 @CSR_WRITE_4(ptr noundef %0, i32 noundef %7, i32 noundef -1) #3
%9 = load i32, ptr @ET_MAC_CFG1, align 4, !tbaa !13
%10 = tail call i32 @CSR_READ_4(ptr noundef %0, i32 noundef %9) #3
%11 = load i32, ptr @ET_MAC_CFG1_TXEN, align 4, !tbaa !13
%12 = load i32, ptr @ET_MAC_CFG1_RXEN, align 4, !tbaa !13
%13 = or i32 %12, %11
%14 = xor i32 %13, -1
%15 = and i32 %10, %14
%16 = tail call i32 @CSR_WRITE_4(ptr noundef %0, i32 noundef %9, i32 noundef %15) #3
%17 = tail call i32 @DELAY(i32 noundef 100) #3
%18 = tail call i32 @et_stop_rxdma(ptr noundef %0) #3
%19 = tail call i32 @et_stop_txdma(ptr noundef %0) #3
%20 = tail call i32 @et_stats_update(ptr noundef %0) #3
%21 = tail call i32 @et_free_tx_ring(ptr noundef %0) #3
%22 = tail call i32 @et_free_rx_ring(ptr noundef %0) #3
%23 = getelementptr inbounds i8, ptr %0, i64 16
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false)
%24 = load i32, ptr @ET_FLAG_TXRX_ENABLED, align 4, !tbaa !13
%25 = xor i32 %24, -1
%26 = getelementptr inbounds i8, ptr %0, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !14
%28 = and i32 %27, %25
store i32 %28, ptr %26, align 8, !tbaa !14
store i64 0, ptr %0, align 8, !tbaa !15
%29 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !13
%30 = load i32, ptr @IFF_DRV_OACTIVE, align 4, !tbaa !13
%31 = or i32 %30, %29
%32 = xor i32 %31, -1
%33 = load i32, ptr %4, align 4, !tbaa !16
%34 = and i32 %33, %32
store i32 %34, ptr %4, align 4, !tbaa !16
ret void
}
declare i32 @ET_LOCK_ASSERT(ptr noundef) local_unnamed_addr #1
declare i32 @callout_stop(ptr noundef) local_unnamed_addr #1
declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @CSR_READ_4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @DELAY(i32 noundef) local_unnamed_addr #1
declare i32 @et_stop_rxdma(ptr noundef) local_unnamed_addr #1
declare i32 @et_stop_txdma(ptr noundef) local_unnamed_addr #1
declare i32 @et_stats_update(ptr noundef) local_unnamed_addr #1
declare i32 @et_free_tx_ring(ptr noundef) local_unnamed_addr #1
declare i32 @et_free_rx_ring(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, !12, i64 40}
!7 = !{!"et_softc", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !12, i64 40}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!7, !8, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"ifnet", !11, i64 0}
| freebsd_sys_dev_et_extr_if_et.c_et_stop |
; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_resolve_hostname.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_resolve_hostname.c"
target datalayout = "e-m:e-p270:32:32-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.hostent = type { i64, i32, i64, i32 }
@AF_INET = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @rpc_resolve_hostname(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @gethostbyname(ptr noundef %0) #3
%3 = icmp eq ptr %2, null
br i1 %3, label %24, label %4
4: ; preds = %1
%5 = load i64, ptr %2, align 8, !tbaa !5
%6 = load i64, ptr @AF_INET, align 8, !tbaa !11
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = getelementptr inbounds %struct.hostent, ptr %2, i64 0, i32 1
%10 = load i32, ptr %9, align 8, !tbaa !12
%11 = icmp eq i32 %10, 4
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = getelementptr inbounds %struct.hostent, ptr %2, i64 0, i32 3
%14 = load i32, ptr %13, align 8, !tbaa !13
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %12
%17 = getelementptr inbounds %struct.hostent, ptr %2, i64 0, i32 2
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = icmp eq i64 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = inttoptr i64 %18 to ptr
%22 = load i32, ptr %21, align 4, !tbaa !15
%23 = tail call i32 @ntohl(i32 noundef %22)
br label %24
24: ; preds = %1, %4, %8, %12, %16, %20
%25 = phi i32 [ %23, %20 ], [ 0, %16 ], [ 0, %12 ], [ 0, %8 ], [ 0, %4 ], [ 0, %1 ]
ret i32 %25
}
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(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 = { nofree nosync nounwind memory(none) "no-trapping-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 = !{!"hostent", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 24}
!14 = !{!6, !7, i64 16}
!15 = !{!10, !10, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_resolve_hostname.c'
source_filename = "AnghaBench/kphp-kdb/vkext/extr_vkext_rpc.c_rpc_resolve_hostname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AF_INET = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @rpc_resolve_hostname(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @gethostbyname(ptr noundef %0) #3
%3 = icmp eq ptr %2, null
br i1 %3, label %24, label %4
4: ; preds = %1
%5 = load i64, ptr %2, align 8, !tbaa !6
%6 = load i64, ptr @AF_INET, align 8, !tbaa !12
%7 = icmp eq i64 %5, %6
br i1 %7, label %8, label %24
8: ; preds = %4
%9 = getelementptr inbounds i8, ptr %2, i64 8
%10 = load i32, ptr %9, align 8, !tbaa !13
%11 = icmp eq i32 %10, 4
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %2, i64 24
%14 = load i32, ptr %13, align 8, !tbaa !14
%15 = icmp eq i32 %14, 0
br i1 %15, label %24, label %16
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %2, i64 16
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp eq i64 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %16
%21 = inttoptr i64 %18 to ptr
%22 = load i32, ptr %21, align 4, !tbaa !16
%23 = tail call i32 @ntohl(i32 noundef %22)
br label %24
24: ; preds = %1, %4, %8, %12, %16, %20
%25 = phi i32 [ %23, %20 ], [ 0, %16 ], [ 0, %12 ], [ 0, %8 ], [ 0, %4 ], [ 0, %1 ]
ret i32 %25
}
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #1
; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @ntohl(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 = { nofree nosync nounwind memory(none) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 = !{!"hostent", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !11, i64 24}
!15 = !{!7, !8, i64 16}
!16 = !{!11, !11, i64 0}
| kphp-kdb_vkext_extr_vkext_rpc.c_rpc_resolve_hostname |
; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_sockopt.c_export_cntr0_base.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_sockopt.c_export_cntr0_base.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.timeval = type { i64 }
%struct.ip_fw = type { i64, ptr }
%struct.ip_fw_bcounter0 = type { i64, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @export_cntr0_base], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @export_cntr0_base(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.ip_fw, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = icmp eq ptr %5, null
br i1 %6, label %15, label %7
7: ; preds = %2
%8 = tail call ptr @counter_u64_fetch(ptr noundef nonnull %5) #3
%9 = getelementptr inbounds %struct.ip_fw_bcounter0, ptr %1, i64 0, i32 2
store ptr %8, ptr %9, align 8, !tbaa !11
%10 = load ptr, ptr %4, align 8, !tbaa !5
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = tail call ptr @counter_u64_fetch(ptr noundef nonnull %11) #3
%13 = getelementptr inbounds %struct.ip_fw_bcounter0, ptr %1, i64 0, i32 1
store ptr %12, ptr %13, align 8, !tbaa !13
%14 = load i64, ptr %0, align 8, !tbaa !14
store i64 %14, ptr %1, align 8, !tbaa !15
br label %17
15: ; preds = %2
%16 = load i64, ptr %1, align 8, !tbaa !15
br label %17
17: ; preds = %15, %7
%18 = phi i64 [ %16, %15 ], [ %14, %7 ]
%19 = icmp sgt i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = call i32 @getboottime(ptr noundef nonnull %3) #3
%22 = load i64, ptr %3, align 8, !tbaa !16
%23 = load i64, ptr %1, align 8, !tbaa !15
%24 = add nsw i64 %23, %22
store i64 %24, ptr %1, align 8, !tbaa !15
br label %25
25: ; preds = %20, %17
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @counter_u64_fetch(ptr noundef) local_unnamed_addr #2
declare i32 @getboottime(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"ip_fw", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"ip_fw_bcounter0", !7, i64 0, !10, i64 8, !10, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!6, !7, i64 0}
!15 = !{!12, !7, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"timeval", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_sockopt.c_export_cntr0_base.c'
source_filename = "AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_sockopt.c_export_cntr0_base.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i64 }
@llvm.used = appending global [1 x ptr] [ptr @export_cntr0_base], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @export_cntr0_base(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 {
%3 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = icmp eq ptr %5, null
br i1 %6, label %15, label %7
7: ; preds = %2
%8 = tail call ptr @counter_u64_fetch(ptr noundef nonnull %5) #3
%9 = getelementptr inbounds i8, ptr %1, i64 16
store ptr %8, ptr %9, align 8, !tbaa !12
%10 = load ptr, ptr %4, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 4
%12 = tail call ptr @counter_u64_fetch(ptr noundef nonnull %11) #3
%13 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %12, ptr %13, align 8, !tbaa !14
%14 = load i64, ptr %0, align 8, !tbaa !15
store i64 %14, ptr %1, align 8, !tbaa !16
br label %17
15: ; preds = %2
%16 = load i64, ptr %1, align 8, !tbaa !16
br label %17
17: ; preds = %15, %7
%18 = phi i64 [ %16, %15 ], [ %14, %7 ]
%19 = icmp sgt i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = call i32 @getboottime(ptr noundef nonnull %3) #3
%22 = load i64, ptr %3, align 8, !tbaa !17
%23 = load i64, ptr %1, align 8, !tbaa !16
%24 = add nsw i64 %23, %22
store i64 %24, ptr %1, align 8, !tbaa !16
br label %25
25: ; preds = %20, %17
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @counter_u64_fetch(ptr noundef) local_unnamed_addr #2
declare i32 @getboottime(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"ip_fw", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"ip_fw_bcounter0", !8, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!13, !11, i64 8}
!15 = !{!7, !8, i64 0}
!16 = !{!13, !8, i64 0}
!17 = !{!18, !8, i64 0}
!18 = !{!"timeval", !8, i64 0}
| freebsd_sys_netpfil_ipfw_extr_ip_fw_sockopt.c_export_cntr0_base |
; ModuleID = 'AnghaBench/freebsd/sbin/restore/extr_restore.c_checkrestore.c'
source_filename = "AnghaBench/freebsd/sbin/restore/extr_restore.c_checkrestore.c"
target datalayout = "e-m:e-p270:32:32-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.entry = type { i32, i64, ptr }
@stdout = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Check the symbol table.\0A\00", align 1
@UFS_WINO = dso_local local_unnamed_addr global i64 0, align 8
@maxino = dso_local local_unnamed_addr global i64 0, align 8
@KEEP = dso_local local_unnamed_addr global i32 0, align 4
@NODE = dso_local local_unnamed_addr global i64 0, align 8
@NEW = dso_local local_unnamed_addr global i32 0, align 4
@EXISTED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"incomplete operations\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @checkrestore() local_unnamed_addr #0 {
%1 = load i32, ptr @stdout, align 4, !tbaa !5
%2 = tail call i32 @vprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
%3 = load i64, ptr @UFS_WINO, align 8, !tbaa !9
%4 = load i64, ptr @maxino, align 8, !tbaa !9
%5 = icmp slt i64 %3, %4
br i1 %5, label %6, label %43
6: ; preds = %0, %39
%7 = phi i64 [ %40, %39 ], [ %3, %0 ]
%8 = tail call ptr @lookupino(i64 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %39, label %10
10: ; preds = %6
%11 = load i64, ptr @NODE, align 8, !tbaa !9
br label %12
12: ; preds = %10, %34
%13 = phi i64 [ %35, %34 ], [ %11, %10 ]
%14 = phi ptr [ %37, %34 ], [ %8, %10 ]
%15 = load i32, ptr @KEEP, align 4, !tbaa !5
%16 = xor i32 %15, -1
%17 = load i32, ptr %14, align 8, !tbaa !11
%18 = and i32 %17, %16
store i32 %18, ptr %14, align 8, !tbaa !11
%19 = getelementptr inbounds %struct.entry, ptr %14, i64 0, i32 1
%20 = load i64, ptr %19, align 8, !tbaa !14
%21 = icmp eq i64 %20, %13
br i1 %21, label %22, label %28
22: ; preds = %12
%23 = load i32, ptr @NEW, align 4, !tbaa !5
%24 = load i32, ptr @EXISTED, align 4, !tbaa !5
%25 = or i32 %24, %23
%26 = xor i32 %25, -1
%27 = and i32 %18, %26
store i32 %27, ptr %14, align 8, !tbaa !11
br label %28
28: ; preds = %22, %12
%29 = phi i32 [ %27, %22 ], [ %18, %12 ]
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = tail call i32 @badentry(ptr noundef nonnull %14, ptr noundef nonnull @.str.1) #2
%33 = load i64, ptr @NODE, align 8, !tbaa !9
br label %34
34: ; preds = %28, %31
%35 = phi i64 [ %13, %28 ], [ %33, %31 ]
%36 = getelementptr inbounds %struct.entry, ptr %14, i64 0, i32 2
%37 = load ptr, ptr %36, align 8, !tbaa !15
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %12, !llvm.loop !16
39: ; preds = %34, %6
%40 = add nsw i64 %7, 1
%41 = load i64, ptr @maxino, align 8, !tbaa !9
%42 = icmp slt i64 %40, %41
br i1 %42, label %6, label %43, !llvm.loop !18
43: ; preds = %39, %0
ret void
}
declare i32 @vprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lookupino(i64 noundef) local_unnamed_addr #1
declare i32 @badentry(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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"entry", !6, i64 0, !10, i64 8, !13, i64 16}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !13, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
| ; ModuleID = 'AnghaBench/freebsd/sbin/restore/extr_restore.c_checkrestore.c'
source_filename = "AnghaBench/freebsd/sbin/restore/extr_restore.c_checkrestore.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@stdout = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Check the symbol table.\0A\00", align 1
@UFS_WINO = common local_unnamed_addr global i64 0, align 8
@maxino = common local_unnamed_addr global i64 0, align 8
@KEEP = common local_unnamed_addr global i32 0, align 4
@NODE = common local_unnamed_addr global i64 0, align 8
@NEW = common local_unnamed_addr global i32 0, align 4
@EXISTED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"incomplete operations\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @checkrestore() local_unnamed_addr #0 {
%1 = load i32, ptr @stdout, align 4, !tbaa !6
%2 = tail call i32 @vprintf(i32 noundef %1, ptr noundef nonnull @.str) #2
%3 = load i64, ptr @UFS_WINO, align 8, !tbaa !10
%4 = load i64, ptr @maxino, align 8, !tbaa !10
%5 = icmp slt i64 %3, %4
br i1 %5, label %6, label %43
6: ; preds = %0, %39
%7 = phi i64 [ %40, %39 ], [ %3, %0 ]
%8 = tail call ptr @lookupino(i64 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %39, label %10
10: ; preds = %6
%11 = load i64, ptr @NODE, align 8, !tbaa !10
br label %12
12: ; preds = %10, %34
%13 = phi i64 [ %35, %34 ], [ %11, %10 ]
%14 = phi ptr [ %37, %34 ], [ %8, %10 ]
%15 = load i32, ptr @KEEP, align 4, !tbaa !6
%16 = xor i32 %15, -1
%17 = load i32, ptr %14, align 8, !tbaa !12
%18 = and i32 %17, %16
store i32 %18, ptr %14, align 8, !tbaa !12
%19 = getelementptr inbounds i8, ptr %14, i64 8
%20 = load i64, ptr %19, align 8, !tbaa !15
%21 = icmp eq i64 %20, %13
br i1 %21, label %22, label %28
22: ; preds = %12
%23 = load i32, ptr @NEW, align 4, !tbaa !6
%24 = load i32, ptr @EXISTED, align 4, !tbaa !6
%25 = or i32 %24, %23
%26 = xor i32 %25, -1
%27 = and i32 %18, %26
store i32 %27, ptr %14, align 8, !tbaa !12
br label %28
28: ; preds = %22, %12
%29 = phi i32 [ %27, %22 ], [ %18, %12 ]
%30 = icmp eq i32 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = tail call i32 @badentry(ptr noundef nonnull %14, ptr noundef nonnull @.str.1) #2
%33 = load i64, ptr @NODE, align 8, !tbaa !10
br label %34
34: ; preds = %28, %31
%35 = phi i64 [ %13, %28 ], [ %33, %31 ]
%36 = getelementptr inbounds i8, ptr %14, i64 16
%37 = load ptr, ptr %36, align 8, !tbaa !16
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %12, !llvm.loop !17
39: ; preds = %34, %6
%40 = add nsw i64 %7, 1
%41 = load i64, ptr @maxino, align 8, !tbaa !10
%42 = icmp slt i64 %40, %41
br i1 %42, label %6, label %43, !llvm.loop !19
43: ; preds = %39, %0
ret void
}
declare i32 @vprintf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @lookupino(i64 noundef) local_unnamed_addr #1
declare i32 @badentry(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, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"entry", !7, i64 0, !11, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !14, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
| freebsd_sbin_restore_extr_restore.c_checkrestore |
; ModuleID = 'AnghaBench/freebsd/contrib/one-true-awk/extr_parse.c_makearr.c'
source_filename = "AnghaBench/freebsd/contrib/one-true-awk/extr_parse.c_makearr.c"
target datalayout = "e-m:e-p270:32:32-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, i32, i32 }
@.str = private unnamed_addr constant [31 x i8] c"%s is a function, not an array\00", align 1
@NSYMTAB = dso_local local_unnamed_addr global i32 0, align 4
@ARR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @makearr(ptr noundef returned %0) local_unnamed_addr #0 {
%2 = tail call i64 @isvalue(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %25, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !5
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = inttoptr i64 %6 to ptr
%8 = tail call i64 @isfcn(ptr noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 2
%12 = load i32, ptr %11, align 4, !tbaa !12
%13 = tail call i32 @SYNTAX(ptr noundef nonnull @.str, i32 noundef %12) #2
br label %25
14: ; preds = %4
%15 = tail call i32 @isarr(ptr noundef %7) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load ptr, ptr %7, align 8, !tbaa !15
%19 = tail call i32 @xfree(ptr noundef %18) #2
%20 = load i32, ptr @NSYMTAB, align 4, !tbaa !16
%21 = tail call i64 @makesymtab(i32 noundef %20) #2
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %7, align 8, !tbaa !15
%23 = load i32, ptr @ARR, align 4, !tbaa !16
%24 = getelementptr inbounds %struct.TYPE_9__, ptr %7, i64 0, i32 1
store i32 %23, ptr %24, align 8, !tbaa !17
br label %25
25: ; preds = %10, %17, %14, %1
ret ptr %0
}
declare i64 @isvalue(ptr noundef) local_unnamed_addr #1
declare i64 @isfcn(ptr noundef) local_unnamed_addr #1
declare i32 @SYNTAX(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isarr(ptr noundef) local_unnamed_addr #1
declare i32 @xfree(ptr noundef) local_unnamed_addr #1
declare i64 @makesymtab(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_8__", !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 12}
!13 = !{!"TYPE_9__", !7, i64 0, !14, i64 8, !14, i64 12}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !7, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!13, !14, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/one-true-awk/extr_parse.c_makearr.c'
source_filename = "AnghaBench/freebsd/contrib/one-true-awk/extr_parse.c_makearr.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 [31 x i8] c"%s is a function, not an array\00", align 1
@NSYMTAB = common local_unnamed_addr global i32 0, align 4
@ARR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @makearr(ptr noundef returned %0) local_unnamed_addr #0 {
%2 = tail call i64 @isvalue(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %25, label %4
4: ; preds = %1
%5 = load ptr, ptr %0, align 8, !tbaa !6
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = inttoptr i64 %6 to ptr
%8 = tail call i64 @isfcn(ptr noundef %7) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %4
%11 = getelementptr inbounds i8, ptr %7, i64 12
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = tail call i32 @SYNTAX(ptr noundef nonnull @.str, i32 noundef %12) #2
br label %25
14: ; preds = %4
%15 = tail call i32 @isarr(ptr noundef %7) #2
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %14
%18 = load ptr, ptr %7, align 8, !tbaa !16
%19 = tail call i32 @xfree(ptr noundef %18) #2
%20 = load i32, ptr @NSYMTAB, align 4, !tbaa !17
%21 = tail call i64 @makesymtab(i32 noundef %20) #2
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %7, align 8, !tbaa !16
%23 = load i32, ptr @ARR, align 4, !tbaa !17
%24 = getelementptr inbounds i8, ptr %7, i64 8
store i32 %23, ptr %24, align 8, !tbaa !18
br label %25
25: ; preds = %10, %17, %14, %1
ret ptr %0
}
declare i64 @isvalue(ptr noundef) local_unnamed_addr #1
declare i64 @isfcn(ptr noundef) local_unnamed_addr #1
declare i32 @SYNTAX(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @isarr(ptr noundef) local_unnamed_addr #1
declare i32 @xfree(ptr noundef) local_unnamed_addr #1
declare i64 @makesymtab(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_8__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!14, !15, i64 12}
!14 = !{!"TYPE_9__", !8, i64 0, !15, i64 8, !15, i64 12}
!15 = !{!"int", !9, i64 0}
!16 = !{!14, !8, i64 0}
!17 = !{!15, !15, i64 0}
!18 = !{!14, !15, i64 8}
| freebsd_contrib_one-true-awk_extr_parse.c_makearr |
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_hsmc_nand_select_chip.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_hsmc_nand_select_chip.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.nand_chip = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { i32 }
%struct.mtd_info = type { i32, i32 }
@ATMEL_HSMC_NFC_CTRL = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CTRL_DIS = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_NAND_NATIVE_RB = dso_local local_unnamed_addr global i64 0, align 8
@atmel_hsmc_nand_dev_ready = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_PAGESIZE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_SPARESIZE_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_RSPARE = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_WSPARE = dso_local local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CTRL_EN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @atmel_hsmc_nand_select_chip], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @atmel_hsmc_nand_select_chip(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @nand_to_mtd(ptr noundef %0) #2
%4 = tail call ptr @to_atmel_nand(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.nand_chip, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = tail call ptr @to_hsmc_nand_controller(i32 noundef %6) #2
%8 = tail call i32 @atmel_nand_select_chip(ptr noundef %0, i32 noundef %1) #2
%9 = load ptr, ptr %4, align 8, !tbaa !11
%10 = icmp eq ptr %9, null
br i1 %10, label %36, label %11
11: ; preds = %2
%12 = load i64, ptr %9, align 8, !tbaa !14
%13 = load i64, ptr @ATMEL_NAND_NATIVE_RB, align 8, !tbaa !18
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr @atmel_hsmc_nand_dev_ready, align 4, !tbaa !19
store i32 %16, ptr %0, align 4, !tbaa !20
br label %17
17: ; preds = %15, %11
%18 = load i32, ptr %7, align 4, !tbaa !21
%19 = load i32, ptr @ATMEL_HSMC_NFC_CFG, align 4, !tbaa !19
%20 = load i32, ptr @ATMEL_HSMC_NFC_CFG_PAGESIZE_MASK, align 4, !tbaa !19
%21 = load i32, ptr @ATMEL_HSMC_NFC_CFG_SPARESIZE_MASK, align 4, !tbaa !19
%22 = or i32 %21, %20
%23 = load i32, ptr @ATMEL_HSMC_NFC_CFG_RSPARE, align 4, !tbaa !19
%24 = or i32 %22, %23
%25 = load i32, ptr @ATMEL_HSMC_NFC_CFG_WSPARE, align 4, !tbaa !19
%26 = or i32 %24, %25
%27 = getelementptr inbounds %struct.mtd_info, ptr %3, i64 0, i32 1
%28 = load i32, ptr %27, align 4, !tbaa !24
%29 = tail call i32 @ATMEL_HSMC_NFC_CFG_PAGESIZE(i32 noundef %28) #2
%30 = load i32, ptr %3, align 4, !tbaa !26
%31 = tail call i32 @ATMEL_HSMC_NFC_CFG_SPARESIZE(i32 noundef %30) #2
%32 = or i32 %31, %29
%33 = load i32, ptr @ATMEL_HSMC_NFC_CFG_RSPARE, align 4, !tbaa !19
%34 = or i32 %32, %33
%35 = tail call i32 @regmap_update_bits(i32 noundef %18, i32 noundef %19, i32 noundef %26, i32 noundef %34) #2
br label %36
36: ; preds = %2, %17
%37 = phi ptr [ @ATMEL_HSMC_NFC_CTRL_EN, %17 ], [ @ATMEL_HSMC_NFC_CTRL_DIS, %2 ]
%38 = load i32, ptr %7, align 4, !tbaa !21
%39 = load i32, ptr @ATMEL_HSMC_NFC_CTRL, align 4, !tbaa !19
%40 = load i32, ptr %37, align 4, !tbaa !19
%41 = tail call i32 @regmap_write(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2
ret void
}
declare ptr @nand_to_mtd(ptr noundef) local_unnamed_addr #1
declare ptr @to_atmel_nand(ptr noundef) local_unnamed_addr #1
declare ptr @to_hsmc_nand_controller(i32 noundef) local_unnamed_addr #1
declare i32 @atmel_nand_select_chip(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ATMEL_HSMC_NFC_CFG_PAGESIZE(i32 noundef) local_unnamed_addr #1
declare i32 @ATMEL_HSMC_NFC_CFG_SPARESIZE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"nand_chip", !7, i64 0, !8, i64 4}
!7 = !{!"TYPE_7__", !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 = !{!"atmel_nand", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!15, !17, i64 0}
!15 = !{!"TYPE_6__", !16, i64 0}
!16 = !{!"TYPE_5__", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !8, i64 0}
!21 = !{!22, !8, i64 0}
!22 = !{!"atmel_hsmc_nand_controller", !23, i64 0}
!23 = !{!"TYPE_8__", !8, i64 0}
!24 = !{!25, !8, i64 4}
!25 = !{!"mtd_info", !8, i64 0, !8, i64 4}
!26 = !{!25, !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_hsmc_nand_select_chip.c'
source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/atmel/extr_nand-controller.c_atmel_hsmc_nand_select_chip.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ATMEL_HSMC_NFC_CTRL = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CTRL_DIS = common local_unnamed_addr global i32 0, align 4
@ATMEL_NAND_NATIVE_RB = common local_unnamed_addr global i64 0, align 8
@atmel_hsmc_nand_dev_ready = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_PAGESIZE_MASK = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_SPARESIZE_MASK = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_RSPARE = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CFG_WSPARE = common local_unnamed_addr global i32 0, align 4
@ATMEL_HSMC_NFC_CTRL_EN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @atmel_hsmc_nand_select_chip], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @atmel_hsmc_nand_select_chip(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call ptr @nand_to_mtd(ptr noundef %0) #2
%4 = tail call ptr @to_atmel_nand(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = tail call ptr @to_hsmc_nand_controller(i32 noundef %6) #2
%8 = tail call i32 @atmel_nand_select_chip(ptr noundef %0, i32 noundef %1) #2
%9 = load ptr, ptr %4, align 8, !tbaa !12
%10 = icmp eq ptr %9, null
br i1 %10, label %36, label %11
11: ; preds = %2
%12 = load i64, ptr %9, align 8, !tbaa !15
%13 = load i64, ptr @ATMEL_NAND_NATIVE_RB, align 8, !tbaa !19
%14 = icmp eq i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr @atmel_hsmc_nand_dev_ready, align 4, !tbaa !20
store i32 %16, ptr %0, align 4, !tbaa !21
br label %17
17: ; preds = %15, %11
%18 = load i32, ptr %7, align 4, !tbaa !22
%19 = load i32, ptr @ATMEL_HSMC_NFC_CFG, align 4, !tbaa !20
%20 = load i32, ptr @ATMEL_HSMC_NFC_CFG_PAGESIZE_MASK, align 4, !tbaa !20
%21 = load i32, ptr @ATMEL_HSMC_NFC_CFG_SPARESIZE_MASK, align 4, !tbaa !20
%22 = or i32 %21, %20
%23 = load i32, ptr @ATMEL_HSMC_NFC_CFG_RSPARE, align 4, !tbaa !20
%24 = or i32 %22, %23
%25 = load i32, ptr @ATMEL_HSMC_NFC_CFG_WSPARE, align 4, !tbaa !20
%26 = or i32 %24, %25
%27 = getelementptr inbounds i8, ptr %3, i64 4
%28 = load i32, ptr %27, align 4, !tbaa !25
%29 = tail call i32 @ATMEL_HSMC_NFC_CFG_PAGESIZE(i32 noundef %28) #2
%30 = load i32, ptr %3, align 4, !tbaa !27
%31 = tail call i32 @ATMEL_HSMC_NFC_CFG_SPARESIZE(i32 noundef %30) #2
%32 = or i32 %31, %29
%33 = load i32, ptr @ATMEL_HSMC_NFC_CFG_RSPARE, align 4, !tbaa !20
%34 = or i32 %32, %33
%35 = tail call i32 @regmap_update_bits(i32 noundef %18, i32 noundef %19, i32 noundef %26, i32 noundef %34) #2
br label %36
36: ; preds = %2, %17
%37 = phi ptr [ @ATMEL_HSMC_NFC_CTRL_EN, %17 ], [ @ATMEL_HSMC_NFC_CTRL_DIS, %2 ]
%38 = load i32, ptr %7, align 4, !tbaa !22
%39 = load i32, ptr @ATMEL_HSMC_NFC_CTRL, align 4, !tbaa !20
%40 = load i32, ptr %37, align 4, !tbaa !20
%41 = tail call i32 @regmap_write(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2
ret void
}
declare ptr @nand_to_mtd(ptr noundef) local_unnamed_addr #1
declare ptr @to_atmel_nand(ptr noundef) local_unnamed_addr #1
declare ptr @to_hsmc_nand_controller(i32 noundef) local_unnamed_addr #1
declare i32 @atmel_nand_select_chip(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_write(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @regmap_update_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ATMEL_HSMC_NFC_CFG_PAGESIZE(i32 noundef) local_unnamed_addr #1
declare i32 @ATMEL_HSMC_NFC_CFG_SPARESIZE(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 4}
!7 = !{!"nand_chip", !8, i64 0, !9, i64 4}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !14, i64 0}
!13 = !{!"atmel_nand", !14, i64 0}
!14 = !{!"any pointer", !10, i64 0}
!15 = !{!16, !18, i64 0}
!16 = !{!"TYPE_6__", !17, i64 0}
!17 = !{!"TYPE_5__", !18, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!9, !9, i64 0}
!21 = !{!7, !9, i64 0}
!22 = !{!23, !9, i64 0}
!23 = !{!"atmel_hsmc_nand_controller", !24, i64 0}
!24 = !{!"TYPE_8__", !9, i64 0}
!25 = !{!26, !9, i64 4}
!26 = !{!"mtd_info", !9, i64 0, !9, i64 4}
!27 = !{!26, !9, i64 0}
| linux_drivers_mtd_nand_raw_atmel_extr_nand-controller.c_atmel_hsmc_nand_select_chip |
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_acquire_pin.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_acquire_pin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.gpiobus_softc = type { i64, ptr }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [25 x i8] c"invalid pin %d, max: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"warning: pin %d is already mapped\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @gpiobus_acquire_pin(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = icmp ugt i64 %4, %1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = add i64 %4, -1
%8 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %7) #2
br label %18
9: ; preds = %2
%10 = getelementptr inbounds %struct.gpiobus_softc, ptr %3, i64 0, i32 1
%11 = load ptr, ptr %10, align 8, !tbaa !11
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2
br label %18
17: ; preds = %9
store i32 1, ptr %12, align 4, !tbaa !12
br label %18
18: ; preds = %17, %15, %6
%19 = phi i32 [ -1, %6 ], [ -1, %15 ], [ 0, %17 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"gpiobus_softc", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_acquire_pin.c'
source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_acquire_pin.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [25 x i8] c"invalid pin %d, max: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"warning: pin %d is already mapped\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @gpiobus_acquire_pin(i32 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call ptr @device_get_softc(i32 noundef %0) #2
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = icmp ugt i64 %4, %1
br i1 %5, label %9, label %6
6: ; preds = %2
%7 = add i64 %4, -1
%8 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str, i64 noundef %1, i64 noundef %7) #2
br label %18
9: ; preds = %2
%10 = getelementptr inbounds i8, ptr %3, i64 8
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %1
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = tail call i32 (i32, ptr, i64, ...) @device_printf(i32 noundef %0, ptr noundef nonnull @.str.1, i64 noundef %1) #2
br label %18
17: ; preds = %9
store i32 1, ptr %12, align 4, !tbaa !13
br label %18
18: ; preds = %17, %15, %6
%19 = phi i32 [ -1, %6 ], [ -1, %15 ], [ 0, %17 ]
ret i32 %19
}
declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1
declare i32 @device_printf(i32 noundef, ptr noundef, i64 noundef, ...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"gpiobus_softc", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| freebsd_sys_dev_gpio_extr_gpiobus.c_gpiobus_acquire_pin |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_ingenic.c_ingenic_uart_serial_in.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_ingenic.c_ingenic_uart_serial_in.c"
target datalayout = "e-m:e-p270:32:32-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.uart_port = type { i32, i64 }
@UART_FCR_UME = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_MDCE = dso_local local_unnamed_addr global i32 0, align 4
@UART_MCR_FCM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ingenic_uart_serial_in], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ingenic_uart_serial_in(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.uart_port, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %0, align 8, !tbaa !11
%6 = shl i32 %1, %5
%7 = sext i32 %6 to i64
%8 = add nsw i64 %4, %7
%9 = tail call i32 @readb(i64 noundef %8) #2
switch i32 %1, label %20 [
i32 129, label %10
i32 128, label %14
]
10: ; preds = %2
%11 = load i32, ptr @UART_FCR_UME, align 4, !tbaa !12
%12 = xor i32 %11, -1
%13 = and i32 %9, %12
br label %20
14: ; preds = %2
%15 = load i32, ptr @UART_MCR_MDCE, align 4, !tbaa !12
%16 = load i32, ptr @UART_MCR_FCM, align 4, !tbaa !12
%17 = or i32 %16, %15
%18 = xor i32 %17, -1
%19 = and i32 %9, %18
br label %20
20: ; preds = %2, %14, %10
%21 = phi i32 [ %9, %2 ], [ %19, %14 ], [ %13, %10 ]
ret i32 %21
}
declare i32 @readb(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"uart_port", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/8250/extr_8250_ingenic.c_ingenic_uart_serial_in.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/8250/extr_8250_ingenic.c_ingenic_uart_serial_in.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UART_FCR_UME = common local_unnamed_addr global i32 0, align 4
@UART_MCR_MDCE = common local_unnamed_addr global i32 0, align 4
@UART_MCR_FCM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ingenic_uart_serial_in], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ingenic_uart_serial_in(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %0, align 8, !tbaa !12
%6 = shl i32 %1, %5
%7 = sext i32 %6 to i64
%8 = add nsw i64 %4, %7
%9 = tail call i32 @readb(i64 noundef %8) #2
switch i32 %1, label %20 [
i32 129, label %10
i32 128, label %14
]
10: ; preds = %2
%11 = load i32, ptr @UART_FCR_UME, align 4, !tbaa !13
%12 = xor i32 %11, -1
%13 = and i32 %9, %12
br label %20
14: ; preds = %2
%15 = load i32, ptr @UART_MCR_MDCE, align 4, !tbaa !13
%16 = load i32, ptr @UART_MCR_FCM, align 4, !tbaa !13
%17 = or i32 %16, %15
%18 = xor i32 %17, -1
%19 = and i32 %9, %18
br label %20
20: ; preds = %2, %14, %10
%21 = phi i32 [ %9, %2 ], [ %19, %14 ], [ %13, %10 ]
ret i32 %21
}
declare i32 @readb(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"uart_port", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| linux_drivers_tty_serial_8250_extr_8250_ingenic.c_ingenic_uart_serial_in |
; ModuleID = 'AnghaBench/curl/docs/examples/extr_simplepost.c_main.c'
source_filename = "AnghaBench/curl/docs/examples/extr_simplepost.c_main.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"moo mooo moo moo\00", align 1
@CURLOPT_URL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"https://example.com\00", align 1
@CURLOPT_POSTFIELDS = dso_local local_unnamed_addr global i32 0, align 4
@CURLOPT_POSTFIELDSIZE = dso_local local_unnamed_addr global i32 0, align 4
@CURLE_OK = dso_local local_unnamed_addr global i32 0, align 4
@stderr = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"curl_easy_perform() failed: %s\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
%1 = tail call ptr (...) @curl_easy_init() #2
%2 = icmp eq ptr %1, null
br i1 %2, label %19, label %3
3: ; preds = %0
%4 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !5
%5 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %4, ptr noundef nonnull @.str.1) #2
%6 = load i32, ptr @CURLOPT_POSTFIELDS, align 4, !tbaa !5
%7 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %6, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @CURLOPT_POSTFIELDSIZE, align 4, !tbaa !5
%9 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %8, i64 noundef 16) #2
%10 = tail call i32 @curl_easy_perform(ptr noundef nonnull %1) #2
%11 = load i32, ptr @CURLE_OK, align 4, !tbaa !5
%12 = icmp eq i32 %10, %11
br i1 %12, label %17, label %13
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4, !tbaa !5
%15 = tail call ptr @curl_easy_strerror(i32 noundef %10) #2
%16 = tail call i32 @fprintf(i32 noundef %14, ptr noundef nonnull @.str.2, ptr noundef %15) #2
br label %17
17: ; preds = %13, %3
%18 = tail call i32 @curl_easy_cleanup(ptr noundef nonnull %1) #2
br label %19
19: ; preds = %17, %0
ret i32 0
}
declare ptr @curl_easy_init(...) local_unnamed_addr #1
declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @curl_easy_perform(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @curl_easy_strerror(i32 noundef) local_unnamed_addr #1
declare i32 @curl_easy_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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/curl/docs/examples/extr_simplepost.c_main.c'
source_filename = "AnghaBench/curl/docs/examples/extr_simplepost.c_main.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [17 x i8] c"moo mooo moo moo\00", align 1
@CURLOPT_URL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"https://example.com\00", align 1
@CURLOPT_POSTFIELDS = common local_unnamed_addr global i32 0, align 4
@CURLOPT_POSTFIELDSIZE = common local_unnamed_addr global i32 0, align 4
@CURLE_OK = common local_unnamed_addr global i32 0, align 4
@stderr = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [32 x i8] c"curl_easy_perform() failed: %s\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @main() local_unnamed_addr #0 {
%1 = tail call ptr @curl_easy_init() #2
%2 = icmp eq ptr %1, null
br i1 %2, label %19, label %3
3: ; preds = %0
%4 = load i32, ptr @CURLOPT_URL, align 4, !tbaa !6
%5 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %4, ptr noundef nonnull @.str.1) #2
%6 = load i32, ptr @CURLOPT_POSTFIELDS, align 4, !tbaa !6
%7 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %6, ptr noundef nonnull @.str) #2
%8 = load i32, ptr @CURLOPT_POSTFIELDSIZE, align 4, !tbaa !6
%9 = tail call i32 (ptr, i32, ...) @curl_easy_setopt(ptr noundef nonnull %1, i32 noundef %8, i64 noundef 16) #2
%10 = tail call i32 @curl_easy_perform(ptr noundef nonnull %1) #2
%11 = load i32, ptr @CURLE_OK, align 4, !tbaa !6
%12 = icmp eq i32 %10, %11
br i1 %12, label %17, label %13
13: ; preds = %3
%14 = load i32, ptr @stderr, align 4, !tbaa !6
%15 = tail call ptr @curl_easy_strerror(i32 noundef %10) #2
%16 = tail call i32 @fprintf(i32 noundef %14, ptr noundef nonnull @.str.2, ptr noundef %15) #2
br label %17
17: ; preds = %13, %3
%18 = tail call i32 @curl_easy_cleanup(ptr noundef nonnull %1) #2
br label %19
19: ; preds = %17, %0
ret i32 0
}
declare ptr @curl_easy_init(...) local_unnamed_addr #1
declare i32 @curl_easy_setopt(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @curl_easy_perform(ptr noundef) local_unnamed_addr #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @curl_easy_strerror(i32 noundef) local_unnamed_addr #1
declare i32 @curl_easy_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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| curl_docs_examples_extr_simplepost.c_main |
; ModuleID = 'AnghaBench/linux/drivers/power/reset/extr_piix4-poweroff.c_piix4_poweroff.c'
source_filename = "AnghaBench/linux/drivers/power/reset/extr_piix4-poweroff.c_piix4_poweroff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@io_offset = dso_local local_unnamed_addr global i64 0, align 8
@PIIX4_FUNC3IO_PMSTS = dso_local local_unnamed_addr global i64 0, align 8
@PIIX4_FUNC3IO_PMSTS_PWRBTN_STS = dso_local local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_SOFF = dso_local local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL_SUS_EN = dso_local local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL = dso_local local_unnamed_addr global i64 0, align 8
@pm_dev = dso_local local_unnamed_addr global ptr null, align 8
@PIIX4_SUSPEND_MAGIC = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Unable to poweroff system\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @piix4_poweroff], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @piix4_poweroff() #0 {
%1 = load i64, ptr @io_offset, align 8, !tbaa !5
%2 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !5
%3 = add nsw i64 %2, %1
%4 = tail call i32 @inw(i64 noundef %3) #2
%5 = load i32, ptr @PIIX4_FUNC3IO_PMSTS_PWRBTN_STS, align 4, !tbaa !9
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %0, %8
%9 = phi i32 [ %17, %8 ], [ %4, %0 ]
%10 = load i64, ptr @io_offset, align 8, !tbaa !5
%11 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !5
%12 = add nsw i64 %11, %10
%13 = tail call i32 @outw(i32 noundef %9, i64 noundef %12) #2
%14 = load i64, ptr @io_offset, align 8, !tbaa !5
%15 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !5
%16 = add nsw i64 %15, %14
%17 = tail call i32 @inw(i64 noundef %16) #2
%18 = load i32, ptr @PIIX4_FUNC3IO_PMSTS_PWRBTN_STS, align 4, !tbaa !9
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %8
21: ; preds = %8, %0
%22 = load i32, ptr @PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_SOFF, align 4, !tbaa !9
%23 = load i32, ptr @PIIX4_FUNC3IO_PMCNTRL_SUS_EN, align 4, !tbaa !9
%24 = or i32 %23, %22
%25 = load i64, ptr @io_offset, align 8, !tbaa !5
%26 = load i64, ptr @PIIX4_FUNC3IO_PMCNTRL, align 8, !tbaa !5
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outw(i32 noundef %24, i64 noundef %27) #2
%29 = tail call i32 @mdelay(i32 noundef 10) #2
%30 = tail call i32 @PCI_DEVFN(i32 noundef 31, i32 noundef 7) #2
%31 = tail call i32 @PCI_DEVID(i32 noundef 0, i32 noundef %30) #2
%32 = load ptr, ptr @pm_dev, align 8, !tbaa !11
%33 = load i32, ptr %32, align 4, !tbaa !13
%34 = load i32, ptr @PIIX4_SUSPEND_MAGIC, align 4, !tbaa !9
%35 = tail call i32 @pci_bus_write_config_dword(i32 noundef %33, i32 noundef %31, i32 noundef 0, i32 noundef %34) #2
%36 = tail call i32 @mdelay(i32 noundef 1000) #2
%37 = tail call i32 @pr_emerg(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @inw(i64 noundef) local_unnamed_addr #1
declare i32 @outw(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mdelay(i32 noundef) local_unnamed_addr #1
declare i32 @PCI_DEVID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCI_DEVFN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_bus_write_config_dword(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_emerg(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/power/reset/extr_piix4-poweroff.c_piix4_poweroff.c'
source_filename = "AnghaBench/linux/drivers/power/reset/extr_piix4-poweroff.c_piix4_poweroff.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@io_offset = common local_unnamed_addr global i64 0, align 8
@PIIX4_FUNC3IO_PMSTS = common local_unnamed_addr global i64 0, align 8
@PIIX4_FUNC3IO_PMSTS_PWRBTN_STS = common local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_SOFF = common local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL_SUS_EN = common local_unnamed_addr global i32 0, align 4
@PIIX4_FUNC3IO_PMCNTRL = common local_unnamed_addr global i64 0, align 8
@pm_dev = common local_unnamed_addr global ptr null, align 8
@PIIX4_SUSPEND_MAGIC = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Unable to poweroff system\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @piix4_poweroff], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @piix4_poweroff() #0 {
%1 = load i64, ptr @io_offset, align 8, !tbaa !6
%2 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !6
%3 = add nsw i64 %2, %1
%4 = tail call i32 @inw(i64 noundef %3) #2
%5 = load i32, ptr @PIIX4_FUNC3IO_PMSTS_PWRBTN_STS, align 4, !tbaa !10
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
br i1 %7, label %21, label %8
8: ; preds = %0, %8
%9 = phi i32 [ %17, %8 ], [ %4, %0 ]
%10 = load i64, ptr @io_offset, align 8, !tbaa !6
%11 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !6
%12 = add nsw i64 %11, %10
%13 = tail call i32 @outw(i32 noundef %9, i64 noundef %12) #2
%14 = load i64, ptr @io_offset, align 8, !tbaa !6
%15 = load i64, ptr @PIIX4_FUNC3IO_PMSTS, align 8, !tbaa !6
%16 = add nsw i64 %15, %14
%17 = tail call i32 @inw(i64 noundef %16) #2
%18 = load i32, ptr @PIIX4_FUNC3IO_PMSTS_PWRBTN_STS, align 4, !tbaa !10
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %8
21: ; preds = %8, %0
%22 = load i32, ptr @PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_SOFF, align 4, !tbaa !10
%23 = load i32, ptr @PIIX4_FUNC3IO_PMCNTRL_SUS_EN, align 4, !tbaa !10
%24 = or i32 %23, %22
%25 = load i64, ptr @io_offset, align 8, !tbaa !6
%26 = load i64, ptr @PIIX4_FUNC3IO_PMCNTRL, align 8, !tbaa !6
%27 = add nsw i64 %26, %25
%28 = tail call i32 @outw(i32 noundef %24, i64 noundef %27) #2
%29 = tail call i32 @mdelay(i32 noundef 10) #2
%30 = tail call i32 @PCI_DEVFN(i32 noundef 31, i32 noundef 7) #2
%31 = tail call i32 @PCI_DEVID(i32 noundef 0, i32 noundef %30) #2
%32 = load ptr, ptr @pm_dev, align 8, !tbaa !12
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = load i32, ptr @PIIX4_SUSPEND_MAGIC, align 4, !tbaa !10
%35 = tail call i32 @pci_bus_write_config_dword(i32 noundef %33, i32 noundef %31, i32 noundef 0, i32 noundef %34) #2
%36 = tail call i32 @mdelay(i32 noundef 1000) #2
%37 = tail call i32 @pr_emerg(ptr noundef nonnull @.str) #2
ret void
}
declare i32 @inw(i64 noundef) local_unnamed_addr #1
declare i32 @outw(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mdelay(i32 noundef) local_unnamed_addr #1
declare i32 @PCI_DEVID(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @PCI_DEVFN(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pci_bus_write_config_dword(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @pr_emerg(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
| linux_drivers_power_reset_extr_piix4-poweroff.c_piix4_poweroff |
; ModuleID = 'AnghaBench/darknet/src/extr_local_layer.c_local_out_height.c'
source_filename = "AnghaBench/darknet/src/extr_local_layer.c_local_out_height.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i64, i32 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define dso_local i32 @local_out_height(ptr nocapture noundef readonly byval(%struct.TYPE_3__) align 8 %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 8, !tbaa !11
%5 = icmp eq i32 %4, 0
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%7 = load i64, ptr %6, align 8
%8 = trunc i64 %7 to i32
%9 = sub i32 0, %8
%10 = select i1 %5, i32 %9, i32 -1
%11 = add i32 %10, %2
%12 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = sdiv i32 %11, %13
%15 = add nsw i32 %14, 1
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/darknet/src/extr_local_layer.c_local_out_height.c'
source_filename = "AnghaBench/darknet/src/extr_local_layer.c_local_out_height.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 range(i32 -2147483647, -2147483648) i32 @local_out_height(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 16
%4 = load i32, ptr %3, align 8, !tbaa !12
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %1
%7 = getelementptr inbounds i8, ptr %0, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !13
%9 = trunc i64 %8 to i32
%10 = sub i32 %2, %9
br label %13
11: ; preds = %1
%12 = add nsw i32 %2, -1
br label %13
13: ; preds = %11, %6
%14 = phi i32 [ %12, %11 ], [ %10, %6 ]
%15 = getelementptr inbounds i8, ptr %0, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = sdiv i32 %14, %16
%18 = add nsw i32 %17, 1
ret i32 %18
}
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 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 16}
!13 = !{!7, !11, i64 8}
!14 = !{!7, !8, i64 4}
| darknet_src_extr_local_layer.c_local_out_height |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_add_widgets.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_add_widgets.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@wm8753_dapm_widgets = dso_local local_unnamed_addr global i32 0, align 4
@audio_map = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @wm8753_add_widgets], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @wm8753_add_widgets(ptr noundef %0) #0 {
%2 = load i32, ptr @wm8753_dapm_widgets, align 4, !tbaa !5
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = tail call i32 @snd_soc_dapm_new_controls(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @audio_map, align 4, !tbaa !5
%6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2
%7 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @snd_soc_dapm_new_widgets(ptr noundef %0) #2
ret i32 0
}
declare i32 @snd_soc_dapm_new_controls(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_add_routes(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_new_widgets(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_add_widgets.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_add_widgets.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@wm8753_dapm_widgets = common local_unnamed_addr global i32 0, align 4
@audio_map = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @wm8753_add_widgets], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @wm8753_add_widgets(ptr noundef %0) #0 {
%2 = load i32, ptr @wm8753_dapm_widgets, align 4, !tbaa !6
%3 = tail call i32 @ARRAY_SIZE(i32 noundef %2) #2
%4 = tail call i32 @snd_soc_dapm_new_controls(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = load i32, ptr @audio_map, align 4, !tbaa !6
%6 = tail call i32 @ARRAY_SIZE(i32 noundef %5) #2
%7 = tail call i32 @snd_soc_dapm_add_routes(ptr noundef %0, i32 noundef %5, i32 noundef %6) #2
%8 = tail call i32 @snd_soc_dapm_new_widgets(ptr noundef %0) #2
ret i32 0
}
declare i32 @snd_soc_dapm_new_controls(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ARRAY_SIZE(i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_add_routes(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @snd_soc_dapm_new_widgets(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_sound_soc_codecs_extr_wm8753.c_wm8753_add_widgets |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.ttm_placement = type { i64, i64 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ttm_bo_check_placement(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !5
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds %struct.ttm_placement, ptr %1, i64 0, i32 1
%6 = load i64, ptr %5, align 8, !tbaa !10
%7 = icmp eq i64 %6, 0
%8 = select i1 %4, i1 %7, i1 false
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = load i64, ptr %0, align 8, !tbaa !11
%11 = sub nsw i64 %6, %3
%12 = icmp sgt i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %2, %9
%15 = phi i32 [ %13, %9 ], [ 0, %2 ]
%16 = tail call i32 @BUG_ON(i32 noundef %15) #2
ret i32 0
}
declare i32 @BUG_ON(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 = !{!"ttm_placement", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !7, i64 0}
!12 = !{!"ttm_buffer_object", !13, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/ttm/extr_ttm_bo.c_ttm_bo_check_placement.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @ttm_bo_check_placement(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = load i64, ptr %1, align 8, !tbaa !6
%4 = icmp eq i64 %3, 0
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i64, ptr %5, align 8, !tbaa !11
%7 = icmp eq i64 %6, 0
%8 = select i1 %4, i1 %7, i1 false
br i1 %8, label %14, label %9
9: ; preds = %2
%10 = load i64, ptr %0, align 8, !tbaa !12
%11 = sub nsw i64 %6, %3
%12 = icmp sgt i64 %10, %11
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %2, %9
%15 = phi i32 [ %13, %9 ], [ 0, %2 ]
%16 = tail call i32 @BUG_ON(i32 noundef %15) #2
ret i32 0
}
declare i32 @BUG_ON(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 = !{!"ttm_placement", !8, i64 0, !8, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !8, i64 0}
!13 = !{!"ttm_buffer_object", !14, i64 0}
!14 = !{!"TYPE_2__", !8, i64 0}
| fastsocket_kernel_drivers_gpu_drm_ttm_extr_ttm_bo.c_ttm_bo_check_placement |
; ModuleID = 'AnghaBench/freebsd/usr.bin/localedef/extr_ctype.c_add_ctype_range.c'
source_filename = "AnghaBench/freebsd/usr.bin/localedef/extr_ctype.c_add_ctype_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"
@last_ctype = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [39 x i8] c"malformed character range (%u ... %u))\00", align 1
@INTERR = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @add_ctype_range(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @last_ctype, align 8, !tbaa !5
%3 = icmp sgt i64 %2, %0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = icmp slt i64 %2, %0
br i1 %5, label %8, label %16
6: ; preds = %1
%7 = tail call i32 @errf(ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %0) #2
br label %17
8: ; preds = %4, %13
%9 = phi i64 [ %10, %13 ], [ %2, %4 ]
%10 = add nsw i64 %9, 1
%11 = tail call ptr @get_ctype(i64 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = tail call i32 @add_ctype_impl(ptr noundef nonnull %11) #2
%15 = icmp eq i64 %10, %0
br i1 %15, label %16, label %8, !llvm.loop !9
16: ; preds = %13, %4
store i64 %0, ptr @last_ctype, align 8, !tbaa !5
br label %17
17: ; preds = %8, %16, %6
ret void
}
declare i32 @errf(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @get_ctype(i64 noundef) local_unnamed_addr #1
declare i32 @add_ctype_impl(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/localedef/extr_ctype.c_add_ctype_range.c'
source_filename = "AnghaBench/freebsd/usr.bin/localedef/extr_ctype.c_add_ctype_range.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@last_ctype = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [39 x i8] c"malformed character range (%u ... %u))\00", align 1
@INTERR = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @add_ctype_range(i64 noundef %0) local_unnamed_addr #0 {
%2 = load i64, ptr @last_ctype, align 8, !tbaa !6
%3 = icmp sgt i64 %2, %0
br i1 %3, label %6, label %4
4: ; preds = %1
%5 = icmp slt i64 %2, %0
br i1 %5, label %8, label %16
6: ; preds = %1
%7 = tail call i32 @errf(ptr noundef nonnull @.str, i64 noundef %2, i64 noundef %0) #2
br label %17
8: ; preds = %4, %13
%9 = phi i64 [ %10, %13 ], [ %2, %4 ]
%10 = add nsw i64 %9, 1
%11 = tail call ptr @get_ctype(i64 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = tail call i32 @add_ctype_impl(ptr noundef nonnull %11) #2
%15 = icmp eq i64 %10, %0
br i1 %15, label %16, label %8, !llvm.loop !10
16: ; preds = %13, %4
store i64 %0, ptr @last_ctype, align 8, !tbaa !6
br label %17
17: ; preds = %8, %16, %6
ret void
}
declare i32 @errf(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1
declare ptr @get_ctype(i64 noundef) local_unnamed_addr #1
declare i32 @add_ctype_impl(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.bin_localedef_extr_ctype.c_add_ctype_range |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_au1100fb.c_au1100fb_fb_blank.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_au1100fb.c_au1100fb_fb_blank.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32 }
@.str = private unnamed_addr constant [15 x i8] c"fb_blank %d %p\00", align 1
@LCD_CONTROL_GO = dso_local local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL = dso_local local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL_BL = dso_local local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL_VDD = dso_local local_unnamed_addr global i32 0, align 4
@drv_info = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @au1100fb_fb_blank], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @au1100fb_fb_blank(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_au1100fb_device(ptr noundef %1) #2
%4 = tail call i32 @print_dbg(ptr noundef nonnull @.str, i32 noundef %0, ptr noundef %1) #2
switch i32 %0, label %18 [
i32 130, label %5
i32 128, label %10
i32 131, label %10
i32 129, label %10
]
5: ; preds = %2
%6 = load i32, ptr @LCD_CONTROL_GO, align 4, !tbaa !5
%7 = load ptr, ptr %3, align 8, !tbaa !9
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = or i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !12
br label %16
10: ; preds = %2, %2, %2
%11 = load i32, ptr @LCD_CONTROL_GO, align 4, !tbaa !5
%12 = xor i32 %11, -1
%13 = load ptr, ptr %3, align 8, !tbaa !9
%14 = load i32, ptr %13, align 4, !tbaa !12
%15 = and i32 %14, %12
store i32 %15, ptr %13, align 4, !tbaa !12
br label %16
16: ; preds = %5, %10
%17 = tail call i32 (...) @au_sync() #2
br label %18
18: ; preds = %16, %2
ret i32 0
}
declare ptr @to_au1100fb_device(ptr noundef) local_unnamed_addr #1
declare i32 @print_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @au_sync(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"au1100fb_device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_au1100fb.c_au1100fb_fb_blank.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_au1100fb.c_au1100fb_fb_blank.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { i32 }
@.str = private unnamed_addr constant [15 x i8] c"fb_blank %d %p\00", align 1
@LCD_CONTROL_GO = common local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL = common local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL_BL = common local_unnamed_addr global i32 0, align 4
@PB1100_G_CONTROL_VDD = common local_unnamed_addr global i32 0, align 4
@drv_info = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @au1100fb_fb_blank], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @au1100fb_fb_blank(i32 noundef %0, ptr noundef %1) #0 {
%3 = tail call ptr @to_au1100fb_device(ptr noundef %1) #2
%4 = tail call i32 @print_dbg(ptr noundef nonnull @.str, i32 noundef %0, ptr noundef %1) #2
switch i32 %0, label %18 [
i32 130, label %5
i32 128, label %10
i32 131, label %10
i32 129, label %10
]
5: ; preds = %2
%6 = load i32, ptr @LCD_CONTROL_GO, align 4, !tbaa !6
%7 = load ptr, ptr %3, align 8, !tbaa !10
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = or i32 %8, %6
store i32 %9, ptr %7, align 4, !tbaa !13
br label %16
10: ; preds = %2, %2, %2
%11 = load i32, ptr @LCD_CONTROL_GO, align 4, !tbaa !6
%12 = xor i32 %11, -1
%13 = load ptr, ptr %3, align 8, !tbaa !10
%14 = load i32, ptr %13, align 4, !tbaa !13
%15 = and i32 %14, %12
store i32 %15, ptr %13, align 4, !tbaa !13
br label %16
16: ; preds = %5, %10
%17 = tail call i32 @au_sync() #2
br label %18
18: ; preds = %16, %2
ret i32 0
}
declare ptr @to_au1100fb_device(ptr noundef) local_unnamed_addr #1
declare i32 @print_dbg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @au_sync(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"au1100fb_device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_3__", !7, i64 0}
| fastsocket_kernel_drivers_video_extr_au1100fb.c_au1100fb_fb_blank |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov9650.c___ov965x_try_frame_size.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov9650.c___ov965x_try_frame_size.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.v4l2_mbus_framefmt = type { i64, i64 }
%struct.ov965x_framesize = type { i64, i64 }
@ov965x_framesizes = dso_local local_unnamed_addr global ptr null, align 8
@UINT_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__ov965x_try_frame_size], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__ov965x_try_frame_size(ptr nocapture noundef %0, ptr noundef writeonly %1) #0 {
%3 = load ptr, ptr @ov965x_framesizes, align 8, !tbaa !5
%4 = tail call i32 @ARRAY_SIZE(ptr noundef %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %30, label %6
6: ; preds = %2
%7 = load i32, ptr @UINT_MAX, align 4, !tbaa !9
%8 = getelementptr inbounds %struct.v4l2_mbus_framefmt, ptr %0, i64 0, i32 1
br label %9
9: ; preds = %6, %9
%10 = phi ptr [ %3, %6 ], [ %28, %9 ]
%11 = phi i32 [ %7, %6 ], [ %27, %9 ]
%12 = phi i32 [ %4, %6 ], [ %14, %9 ]
%13 = phi ptr [ null, %6 ], [ %26, %9 ]
%14 = add nsw i32 %12, -1
%15 = getelementptr inbounds %struct.ov965x_framesize, ptr %10, i64 0, i32 1
%16 = load i64, ptr %15, align 8, !tbaa !11
%17 = load i64, ptr %8, align 8, !tbaa !14
%18 = sub nsw i64 %16, %17
%19 = tail call i32 @abs(i64 noundef %18) #3
%20 = load i64, ptr %10, align 8, !tbaa !16
%21 = load i64, ptr %0, align 8, !tbaa !17
%22 = sub nsw i64 %20, %21
%23 = tail call i32 @abs(i64 noundef %22) #3
%24 = add nsw i32 %23, %19
%25 = icmp ult i32 %24, %11
%26 = select i1 %25, ptr %10, ptr %13
%27 = tail call i32 @llvm.umin.i32(i32 %24, i32 %11)
%28 = getelementptr inbounds %struct.ov965x_framesize, ptr %10, i64 1
%29 = icmp eq i32 %14, 0
br i1 %29, label %30, label %9, !llvm.loop !18
30: ; preds = %9, %2
%31 = phi ptr [ null, %2 ], [ %26, %9 ]
%32 = icmp eq ptr %31, null
%33 = load ptr, ptr @ov965x_framesizes, align 8
%34 = select i1 %32, ptr %33, ptr %31
%35 = load <2 x i64>, ptr %34, align 8, !tbaa !20
store <2 x i64> %35, ptr %0, align 8, !tbaa !20
%36 = icmp eq ptr %1, null
br i1 %36, label %38, label %37
37: ; preds = %30
store ptr %34, ptr %1, align 8, !tbaa !5
br label %38
38: ; preds = %37, %30
ret void
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @abs(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"ov965x_framesize", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"v4l2_mbus_framefmt", !13, i64 0, !13, i64 8}
!16 = !{!12, !13, i64 0}
!17 = !{!15, !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!13, !13, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov9650.c___ov965x_try_frame_size.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov9650.c___ov965x_try_frame_size.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ov965x_framesizes = common local_unnamed_addr global ptr null, align 8
@UINT_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__ov965x_try_frame_size], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__ov965x_try_frame_size(ptr nocapture noundef %0, ptr noundef writeonly %1) #0 {
%3 = load ptr, ptr @ov965x_framesizes, align 8, !tbaa !6
%4 = tail call i32 @ARRAY_SIZE(ptr noundef %3) #3
%5 = icmp eq i32 %4, 0
br i1 %5, label %30, label %6
6: ; preds = %2
%7 = load i32, ptr @UINT_MAX, align 4, !tbaa !10
%8 = getelementptr inbounds i8, ptr %0, i64 8
br label %9
9: ; preds = %6, %9
%10 = phi ptr [ %3, %6 ], [ %28, %9 ]
%11 = phi i32 [ %7, %6 ], [ %27, %9 ]
%12 = phi i32 [ %4, %6 ], [ %14, %9 ]
%13 = phi ptr [ null, %6 ], [ %26, %9 ]
%14 = add nsw i32 %12, -1
%15 = getelementptr inbounds i8, ptr %10, i64 8
%16 = load i64, ptr %15, align 8, !tbaa !12
%17 = load i64, ptr %8, align 8, !tbaa !15
%18 = sub nsw i64 %16, %17
%19 = tail call i32 @abs(i64 noundef %18) #3
%20 = load i64, ptr %10, align 8, !tbaa !17
%21 = load i64, ptr %0, align 8, !tbaa !18
%22 = sub nsw i64 %20, %21
%23 = tail call i32 @abs(i64 noundef %22) #3
%24 = add nsw i32 %23, %19
%25 = icmp ult i32 %24, %11
%26 = select i1 %25, ptr %10, ptr %13
%27 = tail call i32 @llvm.umin.i32(i32 %24, i32 %11)
%28 = getelementptr inbounds i8, ptr %10, i64 16
%29 = icmp eq i32 %14, 0
br i1 %29, label %30, label %9, !llvm.loop !19
30: ; preds = %9, %2
%31 = phi ptr [ null, %2 ], [ %26, %9 ]
%32 = icmp eq ptr %31, null
%33 = load ptr, ptr @ov965x_framesizes, align 8
%34 = select i1 %32, ptr %33, ptr %31
%35 = load <2 x i64>, ptr %34, align 8, !tbaa !21
store <2 x i64> %35, ptr %0, align 8, !tbaa !21
%36 = icmp eq ptr %1, null
br i1 %36, label %38, label %37
37: ; preds = %30
store ptr %34, ptr %1, align 8, !tbaa !6
br label %38
38: ; preds = %37, %30
ret void
}
declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1
declare i32 @abs(i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.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, !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, !14, i64 8}
!13 = !{!"ov965x_framesize", !14, i64 0, !14, i64 8}
!14 = !{!"long", !8, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"v4l2_mbus_framefmt", !14, i64 0, !14, i64 8}
!17 = !{!13, !14, i64 0}
!18 = !{!16, !14, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!14, !14, i64 0}
| linux_drivers_media_i2c_extr_ov9650.c___ov965x_try_frame_size |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_sm501fb.c_chan_to_field.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_sm501fb.c_chan_to_field.c"
target datalayout = "e-m:e-p270:32:32-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.fb_bitfield = type { i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @chan_to_field], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @chan_to_field(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = and i32 %0, 65535
%4 = load i32, ptr %1, align 4, !tbaa !5
%5 = sub nsw i32 16, %4
%6 = lshr i32 %3, %5
%7 = getelementptr inbounds %struct.fb_bitfield, ptr %1, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !10
%9 = shl i32 %6, %8
ret i32 %9
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"fb_bitfield", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_sm501fb.c_chan_to_field.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_sm501fb.c_chan_to_field.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 @chan_to_field], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @chan_to_field(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = and i32 %0, 65535
%4 = load i32, ptr %1, align 4, !tbaa !6
%5 = sub nsw i32 16, %4
%6 = lshr i32 %3, %5
%7 = getelementptr inbounds i8, ptr %1, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !11
%9 = shl i32 %6, %8
ret i32 %9
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"fb_bitfield", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
| fastsocket_kernel_drivers_video_extr_sm501fb.c_chan_to_field |
; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_cfg.c_adf_cfg_dev_remove.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_cfg.c_adf_cfg_dev_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"
%struct.adf_cfg_device_data = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local void @adf_cfg_dev_remove(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = icmp eq ptr %2, null
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = getelementptr inbounds %struct.adf_cfg_device_data, ptr %2, i64 0, i32 1
%6 = tail call i32 @down_write(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds %struct.adf_cfg_device_data, ptr %2, i64 0, i32 2
%8 = tail call i32 @adf_cfg_section_del_all(ptr noundef nonnull %7) #2
%9 = tail call i32 @up_write(ptr noundef nonnull %5) #2
%10 = load i32, ptr %2, align 4, !tbaa !10
%11 = tail call i32 @debugfs_remove(i32 noundef %10) #2
%12 = tail call i32 @kfree(ptr noundef nonnull %2) #2
store ptr null, ptr %0, align 8, !tbaa !5
br label %13
13: ; preds = %1, %4
ret void
}
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @adf_cfg_section_del_all(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"adf_accel_dev", !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 = !{!"adf_cfg_device_data", !12, i64 0, !12, i64 4, !12, i64 8}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_cfg.c_adf_cfg_dev_remove.c'
source_filename = "AnghaBench/linux/drivers/crypto/qat/qat_common/extr_adf_cfg.c_adf_cfg_dev_remove.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 @adf_cfg_dev_remove(ptr nocapture noundef %0) local_unnamed_addr #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = icmp eq ptr %2, null
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %2, i64 4
%6 = tail call i32 @down_write(ptr noundef nonnull %5) #2
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = tail call i32 @adf_cfg_section_del_all(ptr noundef nonnull %7) #2
%9 = tail call i32 @up_write(ptr noundef nonnull %5) #2
%10 = load i32, ptr %2, align 4, !tbaa !11
%11 = tail call i32 @debugfs_remove(i32 noundef %10) #2
%12 = tail call i32 @kfree(ptr noundef nonnull %2) #2
store ptr null, ptr %0, align 8, !tbaa !6
br label %13
13: ; preds = %1, %4
ret void
}
declare i32 @down_write(ptr noundef) local_unnamed_addr #1
declare i32 @adf_cfg_section_del_all(ptr noundef) local_unnamed_addr #1
declare i32 @up_write(ptr noundef) local_unnamed_addr #1
declare i32 @debugfs_remove(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"adf_accel_dev", !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 = !{!"adf_cfg_device_data", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !9, i64 0}
| linux_drivers_crypto_qat_qat_common_extr_adf_cfg.c_adf_cfg_dev_remove |
; ModuleID = 'AnghaBench/php-src/ext/dba/libcdb/extr_cdb.c_cdb_findnext.c'
source_filename = "AnghaBench/php-src/ext/dba/libcdb/extr_cdb.c_cdb_findnext.c"
target datalayout = "e-m:e-p270:32:32-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.cdb = type { i32, i32, i32, i32, i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @cdb_findnext(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [8 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr %0, align 4, !tbaa !5
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !10
br label %36
12: ; preds = %3
%13 = tail call i32 @cdb_hash(ptr noundef %1, i32 noundef %2) #3
%14 = shl i32 %13, 3
%15 = and i32 %14, 2040
%16 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %15) #3
%17 = icmp eq i32 %16, -1
br i1 %17, label %92, label %18
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %4, i64 4
%20 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 1
%21 = call i32 @uint32_unpack(ptr noundef nonnull %19, ptr noundef nonnull %20) #3
%22 = load i32, ptr %20, align 4, !tbaa !10
%23 = icmp eq i32 %22, 0
br i1 %23, label %92, label %24
24: ; preds = %18
%25 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 2
%26 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %25) #3
%27 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 3
store i32 %13, ptr %27, align 4, !tbaa !11
%28 = ashr i32 %13, 8
%29 = load i32, ptr %20, align 4, !tbaa !10
%30 = srem i32 %28, %29
%31 = shl nsw i32 %30, 3
store i32 %31, ptr %6, align 4, !tbaa !12
%32 = load i32, ptr %25, align 4, !tbaa !13
%33 = add nsw i32 %32, %31
%34 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 4
store i32 %33, ptr %34, align 4, !tbaa !14
%35 = load i32, ptr %0, align 4, !tbaa !5
br label %36
36: ; preds = %9, %24
%37 = phi i32 [ %29, %24 ], [ %11, %9 ]
%38 = phi i32 [ %35, %24 ], [ %7, %9 ]
%39 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 1
%40 = icmp slt i32 %38, %37
br i1 %40, label %41, label %92
41: ; preds = %36
%42 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 4
%43 = getelementptr inbounds i8, ptr %4, i64 4
%44 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 2
%45 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 3
br label %46
46: ; preds = %41, %88
%47 = load i32, ptr %42, align 4, !tbaa !14
%48 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %47) #3
%49 = icmp eq i32 %48, -1
br i1 %49, label %92, label %50
50: ; preds = %46
%51 = call i32 @uint32_unpack(ptr noundef nonnull %43, ptr noundef nonnull %5) #3
%52 = load i32, ptr %5, align 4, !tbaa !12
%53 = icmp eq i32 %52, 0
br i1 %53, label %92, label %54
54: ; preds = %50
%55 = load i32, ptr %0, align 4, !tbaa !5
%56 = add nsw i32 %55, 1
store i32 %56, ptr %0, align 4, !tbaa !5
%57 = load i32, ptr %42, align 4, !tbaa !14
%58 = add nsw i32 %57, 8
%59 = load i32, ptr %44, align 4, !tbaa !13
%60 = load i32, ptr %39, align 4, !tbaa !10
%61 = shl i32 %60, 3
%62 = add nsw i32 %61, %59
%63 = icmp eq i32 %58, %62
%64 = select i1 %63, i32 %59, i32 %58
store i32 %64, ptr %42, align 4
%65 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%66 = load i32, ptr %6, align 4, !tbaa !12
%67 = load i32, ptr %45, align 4, !tbaa !11
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %88
69: ; preds = %54
%70 = load i32, ptr %5, align 4, !tbaa !12
%71 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %70) #3
%72 = icmp eq i32 %71, -1
br i1 %72, label %92, label %73
73: ; preds = %69
%74 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%75 = load i32, ptr %6, align 4, !tbaa !12
%76 = icmp eq i32 %75, %2
br i1 %76, label %77, label %88
77: ; preds = %73
%78 = load i32, ptr %5, align 4, !tbaa !12
%79 = add nsw i32 %78, 8
%80 = call i32 @cdb_match(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %79) #3
switch i32 %80, label %88 [
i32 -1, label %92
i32 1, label %81
]
81: ; preds = %77
%82 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 5
%83 = call i32 @uint32_unpack(ptr noundef nonnull %43, ptr noundef nonnull %82) #3
%84 = load i32, ptr %5, align 4, !tbaa !12
%85 = add i32 %2, 8
%86 = add i32 %85, %84
%87 = getelementptr inbounds %struct.cdb, ptr %0, i64 0, i32 6
store i32 %86, ptr %87, align 4, !tbaa !15
br label %92
88: ; preds = %73, %77, %54
%89 = load i32, ptr %0, align 4, !tbaa !5
%90 = load i32, ptr %39, align 4, !tbaa !10
%91 = icmp slt i32 %89, %90
br i1 %91, label %46, label %92, !llvm.loop !16
92: ; preds = %46, %50, %69, %77, %88, %36, %18, %12, %81
%93 = phi i32 [ 1, %81 ], [ -1, %12 ], [ 0, %18 ], [ 0, %36 ], [ -1, %46 ], [ 0, %50 ], [ -1, %69 ], [ %80, %77 ], [ 0, %88 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %93
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cdb_hash(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cdb_read(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uint32_unpack(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cdb_match(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"cdb", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 12}
!12 = !{!7, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 24}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/php-src/ext/dba/libcdb/extr_cdb.c_cdb_findnext.c'
source_filename = "AnghaBench/php-src/ext/dba/libcdb/extr_cdb.c_cdb_findnext.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 2) i32 @cdb_findnext(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = alloca [8 x i8], align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
%7 = load i32, ptr %0, align 4, !tbaa !6
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !11
br label %36
12: ; preds = %3
%13 = tail call i32 @cdb_hash(ptr noundef %1, i32 noundef %2) #3
%14 = shl i32 %13, 3
%15 = and i32 %14, 2040
%16 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %15) #3
%17 = icmp eq i32 %16, -1
br i1 %17, label %92, label %18
18: ; preds = %12
%19 = getelementptr inbounds i8, ptr %4, i64 4
%20 = getelementptr inbounds i8, ptr %0, i64 4
%21 = call i32 @uint32_unpack(ptr noundef nonnull %19, ptr noundef nonnull %20) #3
%22 = load i32, ptr %20, align 4, !tbaa !11
%23 = icmp eq i32 %22, 0
br i1 %23, label %92, label %24
24: ; preds = %18
%25 = getelementptr inbounds i8, ptr %0, i64 8
%26 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %25) #3
%27 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %13, ptr %27, align 4, !tbaa !12
%28 = ashr i32 %13, 8
%29 = load i32, ptr %20, align 4, !tbaa !11
%30 = srem i32 %28, %29
%31 = shl nsw i32 %30, 3
store i32 %31, ptr %6, align 4, !tbaa !13
%32 = load i32, ptr %25, align 4, !tbaa !14
%33 = add nsw i32 %32, %31
%34 = getelementptr inbounds i8, ptr %0, i64 16
store i32 %33, ptr %34, align 4, !tbaa !15
%35 = load i32, ptr %0, align 4, !tbaa !6
br label %36
36: ; preds = %9, %24
%37 = phi i32 [ %29, %24 ], [ %11, %9 ]
%38 = phi i32 [ %35, %24 ], [ %7, %9 ]
%39 = getelementptr inbounds i8, ptr %0, i64 4
%40 = icmp slt i32 %38, %37
br i1 %40, label %41, label %92
41: ; preds = %36
%42 = getelementptr inbounds i8, ptr %0, i64 16
%43 = getelementptr inbounds i8, ptr %4, i64 4
%44 = getelementptr inbounds i8, ptr %0, i64 8
%45 = getelementptr inbounds i8, ptr %0, i64 12
br label %46
46: ; preds = %41, %88
%47 = load i32, ptr %42, align 4, !tbaa !15
%48 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %47) #3
%49 = icmp eq i32 %48, -1
br i1 %49, label %92, label %50
50: ; preds = %46
%51 = call i32 @uint32_unpack(ptr noundef nonnull %43, ptr noundef nonnull %5) #3
%52 = load i32, ptr %5, align 4, !tbaa !13
%53 = icmp eq i32 %52, 0
br i1 %53, label %92, label %54
54: ; preds = %50
%55 = load i32, ptr %0, align 4, !tbaa !6
%56 = add nsw i32 %55, 1
store i32 %56, ptr %0, align 4, !tbaa !6
%57 = load i32, ptr %42, align 4, !tbaa !15
%58 = add nsw i32 %57, 8
%59 = load i32, ptr %44, align 4, !tbaa !14
%60 = load i32, ptr %39, align 4, !tbaa !11
%61 = shl i32 %60, 3
%62 = add nsw i32 %61, %59
%63 = icmp eq i32 %58, %62
%64 = select i1 %63, i32 %59, i32 %58
store i32 %64, ptr %42, align 4
%65 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%66 = load i32, ptr %6, align 4, !tbaa !13
%67 = load i32, ptr %45, align 4, !tbaa !12
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %88
69: ; preds = %54
%70 = load i32, ptr %5, align 4, !tbaa !13
%71 = call i32 @cdb_read(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef 8, i32 noundef %70) #3
%72 = icmp eq i32 %71, -1
br i1 %72, label %92, label %73
73: ; preds = %69
%74 = call i32 @uint32_unpack(ptr noundef nonnull %4, ptr noundef nonnull %6) #3
%75 = load i32, ptr %6, align 4, !tbaa !13
%76 = icmp eq i32 %75, %2
br i1 %76, label %77, label %88
77: ; preds = %73
%78 = load i32, ptr %5, align 4, !tbaa !13
%79 = add nsw i32 %78, 8
%80 = call i32 @cdb_match(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %2, i32 noundef %79) #3
switch i32 %80, label %88 [
i32 -1, label %92
i32 1, label %81
]
81: ; preds = %77
%82 = getelementptr inbounds i8, ptr %0, i64 20
%83 = call i32 @uint32_unpack(ptr noundef nonnull %43, ptr noundef nonnull %82) #3
%84 = load i32, ptr %5, align 4, !tbaa !13
%85 = add i32 %2, 8
%86 = add i32 %85, %84
%87 = getelementptr inbounds i8, ptr %0, i64 24
store i32 %86, ptr %87, align 4, !tbaa !16
br label %92
88: ; preds = %73, %77, %54
%89 = load i32, ptr %0, align 4, !tbaa !6
%90 = load i32, ptr %39, align 4, !tbaa !11
%91 = icmp slt i32 %89, %90
br i1 %91, label %46, label %92, !llvm.loop !17
92: ; preds = %46, %50, %69, %77, %88, %36, %18, %12, %81
%93 = phi i32 [ 1, %81 ], [ -1, %12 ], [ 0, %18 ], [ 0, %36 ], [ -1, %46 ], [ 0, %50 ], [ -1, %69 ], [ %80, %77 ], [ 0, %88 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %93
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cdb_hash(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @cdb_read(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @uint32_unpack(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cdb_match(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"cdb", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 12}
!13 = !{!8, !8, i64 0}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !8, i64 16}
!16 = !{!7, !8, i64 24}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| php-src_ext_dba_libcdb_extr_cdb.c_cdb_findnext |
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-designware.h_dw_pcie_writew_dbi.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-designware.h_dw_pcie_writew_dbi.c"
target datalayout = "e-m:e-p270:32:32-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 @dw_pcie_writew_dbi], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @dw_pcie_writew_dbi(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @dw_pcie_write_dbi(ptr noundef %0, i32 noundef %1, i32 noundef 2, i32 noundef %2) #2
ret void
}
declare i32 @dw_pcie_write_dbi(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-designware.h_dw_pcie_writew_dbi.c'
source_filename = "AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-designware.h_dw_pcie_writew_dbi.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 @dw_pcie_writew_dbi], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @dw_pcie_writew_dbi(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @dw_pcie_write_dbi(ptr noundef %0, i32 noundef %1, i32 noundef 2, i32 noundef %2) #2
ret void
}
declare i32 @dw_pcie_write_dbi(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_pci_controller_dwc_extr_pcie-designware.h_dw_pcie_writew_dbi |
; ModuleID = 'AnghaBench/freebsd/lib/libutil/extr_login_cap.c_arrayize.c'
source_filename = "AnghaBench/freebsd/lib/libutil/extr_login_cap.c_arrayize.c"
target datalayout = "e-m:e-p270:32:32-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 @arrayize], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @arrayize(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !5
%5 = icmp eq i8 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %3, %6
%7 = phi i32 [ %16, %6 ], [ 0, %3 ]
%8 = phi ptr [ %15, %6 ], [ %0, %3 ]
%9 = tail call i32 @strcspn(ptr noundef nonnull %8, ptr noundef %1) #2
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1, !tbaa !5
%13 = icmp ne i8 %12, 0
%14 = zext i1 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = add nuw nsw i32 %7, 1
%17 = load i8, ptr %15, align 1, !tbaa !5
%18 = icmp eq i8 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !8
19: ; preds = %6, %3
%20 = phi i32 [ 0, %3 ], [ %16, %6 ]
%21 = tail call ptr @allocstr(ptr noundef nonnull %0) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %52, label %23
23: ; preds = %19
%24 = add nuw nsw i32 %20, 1
%25 = tail call ptr @allocarray(i32 noundef %24) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %30, label %27
27: ; preds = %23
%28 = load i8, ptr %21, align 1, !tbaa !5
%29 = icmp eq i8 %28, 0
br i1 %29, label %48, label %32
30: ; preds = %23
%31 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %52
32: ; preds = %27, %42
%33 = phi i64 [ %36, %42 ], [ 0, %27 ]
%34 = phi ptr [ %43, %42 ], [ %21, %27 ]
%35 = tail call i32 @strcspn(ptr noundef nonnull %34, ptr noundef %1) #2
%36 = add nuw i64 %33, 1
%37 = getelementptr inbounds ptr, ptr %25, i64 %33
store ptr %34, ptr %37, align 8, !tbaa !10
%38 = sext i32 %35 to i64
%39 = getelementptr inbounds i8, ptr %34, i64 %38
%40 = load i8, ptr %39, align 1, !tbaa !5
%41 = icmp eq i8 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %32
%43 = getelementptr inbounds i8, ptr %39, i64 1
store i8 0, ptr %39, align 1, !tbaa !5
%44 = load i8, ptr %43, align 1, !tbaa !5
%45 = icmp eq i8 %44, 0
br i1 %45, label %46, label %32, !llvm.loop !12
46: ; preds = %32, %42
%47 = trunc i64 %36 to i32
br label %48
48: ; preds = %46, %27
%49 = phi i32 [ 0, %27 ], [ %47, %46 ]
%50 = zext nneg i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %25, i64 %50
store ptr null, ptr %51, align 8, !tbaa !10
br label %52
52: ; preds = %30, %48, %19
%53 = phi ptr [ null, %30 ], [ %25, %48 ], [ null, %19 ]
%54 = phi i32 [ %24, %30 ], [ %49, %48 ], [ %20, %19 ]
%55 = icmp eq ptr %2, null
br i1 %55, label %57, label %56
56: ; preds = %52
store i32 %54, ptr %2, align 4, !tbaa !13
br label %57
57: ; preds = %56, %52
ret ptr %53
}
declare i32 @strcspn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @allocstr(ptr noundef) local_unnamed_addr #1
declare ptr @allocarray(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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = distinct !{!12, !9}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !6, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/lib/libutil/extr_login_cap.c_arrayize.c'
source_filename = "AnghaBench/freebsd/lib/libutil/extr_login_cap.c_arrayize.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 @arrayize], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @arrayize(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) #0 {
%4 = load i8, ptr %0, align 1, !tbaa !6
%5 = icmp eq i8 %4, 0
br i1 %5, label %19, label %6
6: ; preds = %3, %6
%7 = phi i32 [ %16, %6 ], [ 0, %3 ]
%8 = phi ptr [ %15, %6 ], [ %0, %3 ]
%9 = tail call i32 @strcspn(ptr noundef nonnull %8, ptr noundef %1) #2
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1, !tbaa !6
%13 = icmp ne i8 %12, 0
%14 = zext i1 %13 to i64
%15 = getelementptr inbounds i8, ptr %11, i64 %14
%16 = add nuw nsw i32 %7, 1
%17 = load i8, ptr %15, align 1, !tbaa !6
%18 = icmp eq i8 %17, 0
br i1 %18, label %19, label %6, !llvm.loop !9
19: ; preds = %6, %3
%20 = phi i32 [ 0, %3 ], [ %16, %6 ]
%21 = tail call ptr @allocstr(ptr noundef nonnull %0) #2
%22 = icmp eq ptr %21, null
br i1 %22, label %52, label %23
23: ; preds = %19
%24 = add nuw nsw i32 %20, 1
%25 = tail call ptr @allocarray(i32 noundef %24) #2
%26 = icmp eq ptr %25, null
br i1 %26, label %30, label %27
27: ; preds = %23
%28 = load i8, ptr %21, align 1, !tbaa !6
%29 = icmp eq i8 %28, 0
br i1 %29, label %48, label %32
30: ; preds = %23
%31 = tail call i32 @free(ptr noundef nonnull %0) #2
br label %52
32: ; preds = %27, %42
%33 = phi i64 [ %36, %42 ], [ 0, %27 ]
%34 = phi ptr [ %43, %42 ], [ %21, %27 ]
%35 = tail call i32 @strcspn(ptr noundef nonnull %34, ptr noundef %1) #2
%36 = add nuw nsw i64 %33, 1
%37 = getelementptr inbounds ptr, ptr %25, i64 %33
store ptr %34, ptr %37, align 8, !tbaa !11
%38 = sext i32 %35 to i64
%39 = getelementptr inbounds i8, ptr %34, i64 %38
%40 = load i8, ptr %39, align 1, !tbaa !6
%41 = icmp eq i8 %40, 0
br i1 %41, label %46, label %42
42: ; preds = %32
%43 = getelementptr inbounds i8, ptr %39, i64 1
store i8 0, ptr %39, align 1, !tbaa !6
%44 = load i8, ptr %43, align 1, !tbaa !6
%45 = icmp eq i8 %44, 0
br i1 %45, label %46, label %32, !llvm.loop !13
46: ; preds = %32, %42
%47 = trunc nuw i64 %36 to i32
br label %48
48: ; preds = %46, %27
%49 = phi i32 [ 0, %27 ], [ %47, %46 ]
%50 = zext nneg i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %25, i64 %50
store ptr null, ptr %51, align 8, !tbaa !11
br label %52
52: ; preds = %30, %48, %19
%53 = phi ptr [ null, %30 ], [ %25, %48 ], [ null, %19 ]
%54 = phi i32 [ %24, %30 ], [ %49, %48 ], [ %20, %19 ]
%55 = icmp eq ptr %2, null
br i1 %55, label %57, label %56
56: ; preds = %52
store i32 %54, ptr %2, align 4, !tbaa !14
br label %57
57: ; preds = %56, %52
ret ptr %53
}
declare i32 @strcspn(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @allocstr(ptr noundef) local_unnamed_addr #1
declare ptr @allocarray(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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
| freebsd_lib_libutil_extr_login_cap.c_arrayize |
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_full_monthname.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_full_monthname.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local ptr @_WLocale_full_monthname(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @_Locale_full_monthname(ptr noundef %0, i32 noundef %1) #2
%6 = tail call ptr @_ToWChar(i32 noundef %5, ptr noundef %2, i64 noundef %3) #2
ret ptr %6
}
declare ptr @_ToWChar(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @_Locale_full_monthname(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/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_full_monthname.c'
source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_full_monthname.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @_WLocale_full_monthname(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
%5 = tail call i32 @_Locale_full_monthname(ptr noundef %0, i32 noundef %1) #2
%6 = tail call ptr @_ToWChar(i32 noundef %5, ptr noundef %2, i64 noundef %3) #2
ret ptr %6
}
declare ptr @_ToWChar(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @_Locale_full_monthname(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)"}
| reactos_sdk_lib_3rdparty_stlport_src_c_locale_glibc_extr_c_locale_glibc2.c__WLocale_full_monthname |
; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_io-pgtable-arm-v7s.c___arm_v7s_map.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_io-pgtable-arm-v7s.c___arm_v7s_map.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@selftest_running = dso_local local_unnamed_addr global i32 0, align 4
@EEXIST = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__arm_v7s_map], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__arm_v7s_map(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = tail call i64 @ARM_V7S_LVL_SHIFT(i32 noundef %5) #2
%9 = lshr i64 %3, %8
%10 = trunc i64 %9 to i32
%11 = tail call i32 @ARM_V7S_LVL_IDX(i64 noundef %1, i32 noundef %5) #2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %6, i64 %12
%14 = icmp eq i32 %10, 0
br i1 %14, label %20, label %15
15: ; preds = %69, %7
%16 = phi i32 [ %5, %7 ], [ %70, %69 ]
%17 = phi i32 [ %10, %7 ], [ %74, %69 ]
%18 = phi ptr [ %13, %7 ], [ %77, %69 ]
%19 = tail call i32 @arm_v7s_init_pte(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %4, i32 noundef %16, i32 noundef %17, ptr noundef %18) #2
br label %79
20: ; preds = %7, %69
%21 = phi ptr [ %77, %69 ], [ %13, %7 ]
%22 = phi i32 [ %70, %69 ], [ %5, %7 ]
%23 = icmp eq i32 %22, 2
%24 = zext i1 %23 to i32
%25 = tail call i64 @WARN_ON(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %20
%28 = load i32, ptr @EINVAL, align 4, !tbaa !5
%29 = sub nsw i32 0, %28
br label %79
30: ; preds = %20
%31 = load i64, ptr %21, align 8, !tbaa !9
%32 = tail call i64 @READ_ONCE(i64 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %47
34: ; preds = %30
%35 = add nsw i32 %22, 1
%36 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !5
%37 = tail call ptr @__arm_v7s_alloc_table(i32 noundef %35, i32 noundef %36, ptr noundef %0) #2
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%41 = sub nsw i32 0, %40
br label %79
42: ; preds = %34
%43 = tail call i64 @arm_v7s_install_table(ptr noundef nonnull %37, ptr noundef nonnull %21, i32 noundef 0, ptr noundef %0) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %42
%46 = tail call i32 @__arm_v7s_free_table(ptr noundef nonnull %37, i32 noundef %35, ptr noundef %0) #2
br label %49
47: ; preds = %30
%48 = tail call i32 @__arm_v7s_pte_sync(ptr noundef nonnull %21, i32 noundef 1, ptr noundef %0) #2
br label %49
49: ; preds = %45, %47
%50 = phi i64 [ %32, %47 ], [ %43, %45 ]
%51 = tail call i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef %50, i32 noundef %22) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %49
%54 = add nsw i32 %22, 1
br label %58
55: ; preds = %42
%56 = tail call i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef 0, i32 noundef %22) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %69, label %58
58: ; preds = %53, %55
%59 = phi i32 [ %54, %53 ], [ %35, %55 ]
%60 = phi i64 [ %50, %53 ], [ 0, %55 ]
%61 = tail call ptr @iopte_deref(i64 noundef %60, i32 noundef %22, ptr noundef %0) #2
br label %69
62: ; preds = %49
%63 = load i32, ptr @selftest_running, align 4, !tbaa !5
%64 = icmp eq i32 %63, 0
%65 = zext i1 %64 to i32
%66 = tail call i64 @WARN_ON(i32 noundef %65) #2
%67 = load i32, ptr @EEXIST, align 4, !tbaa !5
%68 = sub nsw i32 0, %67
br label %79
69: ; preds = %55, %58
%70 = phi i32 [ %35, %55 ], [ %59, %58 ]
%71 = phi ptr [ %37, %55 ], [ %61, %58 ]
%72 = tail call i64 @ARM_V7S_LVL_SHIFT(i32 noundef %70) #2
%73 = lshr i64 %3, %72
%74 = trunc i64 %73 to i32
%75 = tail call i32 @ARM_V7S_LVL_IDX(i64 noundef %1, i32 noundef %70) #2
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i64, ptr %71, i64 %76
%78 = icmp eq i32 %74, 0
br i1 %78, label %20, label %15
79: ; preds = %62, %39, %27, %15
%80 = phi i32 [ %19, %15 ], [ %29, %27 ], [ %68, %62 ], [ %41, %39 ]
ret i32 %80
}
declare i64 @ARM_V7S_LVL_SHIFT(i32 noundef) local_unnamed_addr #1
declare i32 @ARM_V7S_LVL_IDX(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arm_v7s_init_pte(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i64 @READ_ONCE(i64 noundef) local_unnamed_addr #1
declare ptr @__arm_v7s_alloc_table(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @arm_v7s_install_table(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__arm_v7s_free_table(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__arm_v7s_pte_sync(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @iopte_deref(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iommu/extr_io-pgtable-arm-v7s.c___arm_v7s_map.c'
source_filename = "AnghaBench/linux/drivers/iommu/extr_io-pgtable-arm-v7s.c___arm_v7s_map.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EINVAL = common local_unnamed_addr global i32 0, align 4
@GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@selftest_running = common local_unnamed_addr global i32 0, align 4
@EEXIST = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__arm_v7s_map], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__arm_v7s_map(ptr noundef %0, i64 noundef %1, i32 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = tail call i64 @ARM_V7S_LVL_SHIFT(i32 noundef %5) #2
%9 = lshr i64 %3, %8
%10 = trunc i64 %9 to i32
%11 = tail call i32 @ARM_V7S_LVL_IDX(i64 noundef %1, i32 noundef %5) #2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %6, i64 %12
%14 = icmp eq i32 %10, 0
br i1 %14, label %20, label %15
15: ; preds = %69, %7
%16 = phi i32 [ %5, %7 ], [ %70, %69 ]
%17 = phi i32 [ %10, %7 ], [ %74, %69 ]
%18 = phi ptr [ %13, %7 ], [ %77, %69 ]
%19 = tail call i32 @arm_v7s_init_pte(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %4, i32 noundef %16, i32 noundef %17, ptr noundef %18) #2
br label %79
20: ; preds = %7, %69
%21 = phi ptr [ %77, %69 ], [ %13, %7 ]
%22 = phi i32 [ %70, %69 ], [ %5, %7 ]
%23 = icmp eq i32 %22, 2
%24 = zext i1 %23 to i32
%25 = tail call i64 @WARN_ON(i32 noundef %24) #2
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %20
%28 = load i32, ptr @EINVAL, align 4, !tbaa !6
%29 = sub nsw i32 0, %28
br label %79
30: ; preds = %20
%31 = load i64, ptr %21, align 8, !tbaa !10
%32 = tail call i64 @READ_ONCE(i64 noundef %31) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %47
34: ; preds = %30
%35 = add nsw i32 %22, 1
%36 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !6
%37 = tail call ptr @__arm_v7s_alloc_table(i32 noundef %35, i32 noundef %36, ptr noundef %0) #2
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%41 = sub nsw i32 0, %40
br label %79
42: ; preds = %34
%43 = tail call i64 @arm_v7s_install_table(ptr noundef nonnull %37, ptr noundef nonnull %21, i32 noundef 0, ptr noundef %0) #2
%44 = icmp eq i64 %43, 0
br i1 %44, label %55, label %45
45: ; preds = %42
%46 = tail call i32 @__arm_v7s_free_table(ptr noundef nonnull %37, i32 noundef %35, ptr noundef %0) #2
br label %49
47: ; preds = %30
%48 = tail call i32 @__arm_v7s_pte_sync(ptr noundef nonnull %21, i32 noundef 1, ptr noundef %0) #2
br label %49
49: ; preds = %45, %47
%50 = phi i64 [ %32, %47 ], [ %43, %45 ]
%51 = tail call i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef %50, i32 noundef %22) #2
%52 = icmp eq i64 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %49
%54 = add nsw i32 %22, 1
br label %58
55: ; preds = %42
%56 = tail call i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef 0, i32 noundef %22) #2
%57 = icmp eq i64 %56, 0
br i1 %57, label %69, label %58
58: ; preds = %53, %55
%59 = phi i32 [ %54, %53 ], [ %35, %55 ]
%60 = phi i64 [ %50, %53 ], [ 0, %55 ]
%61 = tail call ptr @iopte_deref(i64 noundef %60, i32 noundef %22, ptr noundef %0) #2
br label %69
62: ; preds = %49
%63 = load i32, ptr @selftest_running, align 4, !tbaa !6
%64 = icmp eq i32 %63, 0
%65 = zext i1 %64 to i32
%66 = tail call i64 @WARN_ON(i32 noundef %65) #2
%67 = load i32, ptr @EEXIST, align 4, !tbaa !6
%68 = sub nsw i32 0, %67
br label %79
69: ; preds = %55, %58
%70 = phi i32 [ %35, %55 ], [ %59, %58 ]
%71 = phi ptr [ %37, %55 ], [ %61, %58 ]
%72 = tail call i64 @ARM_V7S_LVL_SHIFT(i32 noundef %70) #2
%73 = lshr i64 %3, %72
%74 = trunc i64 %73 to i32
%75 = tail call i32 @ARM_V7S_LVL_IDX(i64 noundef %1, i32 noundef %70) #2
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i64, ptr %71, i64 %76
%78 = icmp eq i32 %74, 0
br i1 %78, label %20, label %15
79: ; preds = %62, %39, %27, %15
%80 = phi i32 [ %19, %15 ], [ %29, %27 ], [ %68, %62 ], [ %41, %39 ]
ret i32 %80
}
declare i64 @ARM_V7S_LVL_SHIFT(i32 noundef) local_unnamed_addr #1
declare i32 @ARM_V7S_LVL_IDX(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @arm_v7s_init_pte(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1
declare i64 @READ_ONCE(i64 noundef) local_unnamed_addr #1
declare ptr @__arm_v7s_alloc_table(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @arm_v7s_install_table(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__arm_v7s_free_table(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @__arm_v7s_pte_sync(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ARM_V7S_PTE_IS_TABLE(i64 noundef, i32 noundef) local_unnamed_addr #1
declare ptr @iopte_deref(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
| linux_drivers_iommu_extr_io-pgtable-arm-v7s.c___arm_v7s_map |
; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_tda19988.c_tda19988_init_encoder.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_tda19988.c_tda19988_init_encoder.c"
target datalayout = "e-m:e-p270:32:32-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.videomode = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
@VID_HSKEW = dso_local local_unnamed_addr global i32 0, align 4
@VID_INTERLACE = dso_local local_unnamed_addr global i32 0, align 4
@TDA_TBG_CNTRL_1 = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_DWIN_DIS = dso_local local_unnamed_addr global i32 0, align 4
@TDA_HDCP_TX33 = dso_local local_unnamed_addr global i32 0, align 4
@HDCP_TX33_HDMI = dso_local local_unnamed_addr global i32 0, align 4
@TDA_ENC_CNTRL = dso_local local_unnamed_addr global i32 0, align 4
@ENC_CNTRL_DVI_MODE = dso_local local_unnamed_addr global i32 0, align 4
@TDA_HVF_CNTRL_0 = dso_local local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_0_INTPOL_BYPASS = dso_local local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_0_PREFIL_NONE = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_5 = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_4 = dso_local local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_4_BLANKIT_NDE = dso_local local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_4_BLC_NONE = dso_local local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_3 = dso_local local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_3_SRL_CCIR = dso_local local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_1 = dso_local local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_1_SRL_MAN_IP = dso_local local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_3_SRL_DE = dso_local local_unnamed_addr global i32 0, align 4
@TDA_SERIALIZER = dso_local local_unnamed_addr global i32 0, align 4
@TDA_HVF_CNTRL_1 = dso_local local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_1_VQR_FULL = dso_local local_unnamed_addr global i32 0, align 4
@TDA_RPT_CNTRL = dso_local local_unnamed_addr global i32 0, align 4
@TDA_SEL_CLK = dso_local local_unnamed_addr global i32 0, align 4
@SEL_CLK_SEL_CLK1 = dso_local local_unnamed_addr global i32 0, align 4
@SEL_CLK_ENA_SC_CLK = dso_local local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_2 = dso_local local_unnamed_addr global i32 0, align 4
@TDA_MAT_CONTRL = dso_local local_unnamed_addr global i32 0, align 4
@MAT_CONTRL_MAT_BP = dso_local local_unnamed_addr global i32 0, align 4
@TDA_ANA_GENERAL = dso_local local_unnamed_addr global i32 0, align 4
@TDA_TBG_CNTRL_0 = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_0_SYNC_MTHD = dso_local local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_SYNC_HS = dso_local local_unnamed_addr global i32 0, align 4
@VID_NHSYNC = dso_local local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_H_TGL = dso_local local_unnamed_addr global i32 0, align 4
@VID_NVSYNC = dso_local local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_V_TGL = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_3 = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_TGL_EN = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_H_TGL = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_V_TGL = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VIDFORMAT = dso_local local_unnamed_addr global i32 0, align 4
@TDA_REFPIX_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_REFLINE_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_NPIX_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_NLINE_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_STRT_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_STRT_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_END_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_END_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_STRT_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_STRT_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_END_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_END_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_HS_PIX_START_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_HS_PIX_STOP_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VWIN_START_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VWIN_END_1_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VWIN_START_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_VWIN_END_2_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_DE_START_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA_DE_STOP_MSB = dso_local local_unnamed_addr global i32 0, align 4
@TDA19988 = dso_local local_unnamed_addr global i64 0, align 8
@TDA_ENABLE_SPACE = dso_local local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_0_SYNC_ONCE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @tda19988_init_encoder], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tda19988_init_encoder(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 1
%5 = load i32, ptr %4, align 4, !tbaa !10
%6 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 3
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = sub nsw i32 %7, %9
%11 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 4
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = sub nsw i32 %12, %9
%14 = sub nsw i32 %3, %9
%15 = add nsw i32 %13, 3
%16 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 5
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = load i32, ptr @VID_HSKEW, align 4, !tbaa !15
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %2
%22 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 6
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = add nsw i32 %23, %15
br label %25
25: ; preds = %21, %2
%26 = phi i32 [ %24, %21 ], [ %15, %2 ]
%27 = load i32, ptr @VID_INTERLACE, align 4, !tbaa !15
%28 = and i32 %27, %17
%29 = icmp eq i32 %28, 0
%30 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 7
%31 = load i32, ptr %30, align 4, !tbaa !17
br i1 %29, label %32, label %45
32: ; preds = %25
%33 = add nsw i32 %31, 1
%34 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 8
%35 = load i32, ptr %34, align 4, !tbaa !18
%36 = sub i32 %33, %35
%37 = xor i32 %35, -1
%38 = add i32 %5, %37
%39 = add i32 %5, -1
%40 = sub nsw i32 %31, %35
%41 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 9
%42 = load i32, ptr %41, align 4, !tbaa !19
%43 = sub i32 %42, %31
%44 = add i32 %43, %40
br label %67
45: ; preds = %25
%46 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 8
%47 = load i32, ptr %46, align 4, !tbaa !18
%48 = sub nsw i32 %31, %47
%49 = sdiv i32 %48, 2
%50 = add nsw i32 %49, 1
%51 = sub nsw i32 %5, %47
%52 = sdiv i32 %51, 2
%53 = sdiv i32 %47, 2
%54 = add nsw i32 %52, %53
%55 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 9
%56 = load i32, ptr %55, align 4, !tbaa !19
%57 = sub nsw i32 %56, %31
%58 = sdiv i32 %57, 2
%59 = add nsw i32 %58, %49
%60 = sdiv i32 %5, 2
%61 = add nsw i32 %52, %60
%62 = add nsw i32 %61, %53
%63 = sdiv i32 %3, 2
%64 = add nsw i32 %13, %63
%65 = add nsw i32 %49, %60
%66 = add nsw i32 %65, %58
br label %67
67: ; preds = %45, %32
%68 = phi i32 [ %40, %32 ], [ %49, %45 ]
%69 = phi i32 [ %44, %32 ], [ %59, %45 ]
%70 = phi i32 [ 0, %32 ], [ %64, %45 ]
%71 = phi i32 [ 0, %32 ], [ %65, %45 ]
%72 = phi i32 [ 0, %32 ], [ %66, %45 ]
%73 = phi i32 [ %38, %32 ], [ %52, %45 ]
%74 = phi i32 [ %39, %32 ], [ %54, %45 ]
%75 = phi i32 [ 0, %32 ], [ %61, %45 ]
%76 = phi i32 [ 0, %32 ], [ %62, %45 ]
%77 = phi i32 [ %36, %32 ], [ %50, %45 ]
%78 = getelementptr inbounds %struct.videomode, ptr %1, i64 0, i32 10
%79 = load i32, ptr %78, align 4, !tbaa !20
%80 = sdiv i32 148500, %79
%81 = icmp eq i32 %80, 0
%82 = tail call i32 @llvm.smin.i32(i32 %80, i32 4)
%83 = add nsw i32 %82, -1
%84 = select i1 %81, i32 0, i32 %83
%85 = load i32, ptr @TDA_TBG_CNTRL_1, align 4, !tbaa !15
%86 = load i32, ptr @TBG_CNTRL_1_DWIN_DIS, align 4, !tbaa !15
%87 = tail call i32 @tda19988_reg_set(ptr noundef %0, i32 noundef %85, i32 noundef %86) #3
%88 = load i32, ptr @TDA_HDCP_TX33, align 4, !tbaa !15
%89 = load i32, ptr @HDCP_TX33_HDMI, align 4, !tbaa !15
%90 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %88, i32 noundef %89) #3
%91 = load i32, ptr @TDA_ENC_CNTRL, align 4, !tbaa !15
%92 = load i32, ptr @ENC_CNTRL_DVI_MODE, align 4, !tbaa !15
%93 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %91, i32 noundef %92) #3
%94 = load i32, ptr @TDA_HVF_CNTRL_0, align 4, !tbaa !15
%95 = load i32, ptr @HVF_CNTRL_0_INTPOL_BYPASS, align 4, !tbaa !15
%96 = load i32, ptr @HVF_CNTRL_0_PREFIL_NONE, align 4, !tbaa !15
%97 = or i32 %96, %95
%98 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %94, i32 noundef %97) #3
%99 = load i32, ptr @TDA_VIP_CNTRL_5, align 4, !tbaa !15
%100 = tail call i32 @VIP_CNTRL_5_SP_CNT(i32 noundef 0) #3
%101 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %99, i32 noundef %100) #3
%102 = load i32, ptr @TDA_VIP_CNTRL_4, align 4, !tbaa !15
%103 = load i32, ptr @VIP_CNTRL_4_BLANKIT_NDE, align 4, !tbaa !15
%104 = load i32, ptr @VIP_CNTRL_4_BLC_NONE, align 4, !tbaa !15
%105 = or i32 %104, %103
%106 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %102, i32 noundef %105) #3
%107 = load i32, ptr @TDA_PLL_SERIAL_3, align 4, !tbaa !15
%108 = load i32, ptr @PLL_SERIAL_3_SRL_CCIR, align 4, !tbaa !15
%109 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %107, i32 noundef %108) #3
%110 = load i32, ptr @TDA_PLL_SERIAL_1, align 4, !tbaa !15
%111 = load i32, ptr @PLL_SERIAL_1_SRL_MAN_IP, align 4, !tbaa !15
%112 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %110, i32 noundef %111) #3
%113 = load i32, ptr @TDA_PLL_SERIAL_3, align 4, !tbaa !15
%114 = load i32, ptr @PLL_SERIAL_3_SRL_DE, align 4, !tbaa !15
%115 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %113, i32 noundef %114) #3
%116 = load i32, ptr @TDA_SERIALIZER, align 4, !tbaa !15
%117 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %116, i32 noundef 0) #3
%118 = load i32, ptr @TDA_HVF_CNTRL_1, align 4, !tbaa !15
%119 = load i32, ptr @HVF_CNTRL_1_VQR_FULL, align 4, !tbaa !15
%120 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %118, i32 noundef %119) #3
%121 = load i32, ptr @TDA_RPT_CNTRL, align 4, !tbaa !15
%122 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %121, i32 noundef 0) #3
%123 = load i32, ptr @TDA_SEL_CLK, align 4, !tbaa !15
%124 = tail call i32 @SEL_CLK_SEL_VRF_CLK(i32 noundef 0) #3
%125 = load i32, ptr @SEL_CLK_SEL_CLK1, align 4, !tbaa !15
%126 = or i32 %125, %124
%127 = load i32, ptr @SEL_CLK_ENA_SC_CLK, align 4, !tbaa !15
%128 = or i32 %126, %127
%129 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %123, i32 noundef %128) #3
%130 = load i32, ptr @TDA_PLL_SERIAL_2, align 4, !tbaa !15
%131 = tail call i32 @PLL_SERIAL_2_SRL_NOSC(i32 noundef %84) #3
%132 = tail call i32 @PLL_SERIAL_2_SRL_PR(i32 noundef 0) #3
%133 = or i32 %132, %131
%134 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %130, i32 noundef %133) #3
%135 = load i32, ptr @TDA_MAT_CONTRL, align 4, !tbaa !15
%136 = load i32, ptr @MAT_CONTRL_MAT_BP, align 4, !tbaa !15
%137 = tail call i32 @tda19988_reg_set(ptr noundef %0, i32 noundef %135, i32 noundef %136) #3
%138 = load i32, ptr @TDA_ANA_GENERAL, align 4, !tbaa !15
%139 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %138, i32 noundef 9) #3
%140 = load i32, ptr @TDA_TBG_CNTRL_0, align 4, !tbaa !15
%141 = load i32, ptr @TBG_CNTRL_0_SYNC_MTHD, align 4, !tbaa !15
%142 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %140, i32 noundef %141) #3
%143 = load i32, ptr @VIP_CNTRL_3_SYNC_HS, align 4, !tbaa !15
%144 = load i32, ptr %16, align 4, !tbaa !14
%145 = load i32, ptr @VID_NHSYNC, align 4, !tbaa !15
%146 = and i32 %145, %144
%147 = icmp eq i32 %146, 0
%148 = load i32, ptr @VIP_CNTRL_3_H_TGL, align 4
%149 = select i1 %147, i32 0, i32 %148
%150 = or i32 %149, %143
%151 = load i32, ptr @VID_NVSYNC, align 4, !tbaa !15
%152 = and i32 %151, %144
%153 = icmp eq i32 %152, 0
%154 = load i32, ptr @VIP_CNTRL_3_V_TGL, align 4
%155 = select i1 %153, i32 0, i32 %154
%156 = or i32 %150, %155
%157 = load i32, ptr @TDA_VIP_CNTRL_3, align 4, !tbaa !15
%158 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %157, i32 noundef %156) #3
%159 = load i32, ptr @TBG_CNTRL_1_TGL_EN, align 4, !tbaa !15
%160 = load i32, ptr %16, align 4, !tbaa !14
%161 = load i32, ptr @VID_NHSYNC, align 4, !tbaa !15
%162 = and i32 %161, %160
%163 = icmp eq i32 %162, 0
%164 = load i32, ptr @TBG_CNTRL_1_H_TGL, align 4
%165 = select i1 %163, i32 0, i32 %164
%166 = or i32 %165, %159
%167 = load i32, ptr @VID_NVSYNC, align 4, !tbaa !15
%168 = and i32 %167, %160
%169 = icmp eq i32 %168, 0
%170 = load i32, ptr @TBG_CNTRL_1_V_TGL, align 4
%171 = select i1 %169, i32 0, i32 %170
%172 = or i32 %166, %171
%173 = load i32, ptr @TDA_TBG_CNTRL_1, align 4, !tbaa !15
%174 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %173, i32 noundef %172) #3
%175 = load i32, ptr @TDA_VIDFORMAT, align 4, !tbaa !15
%176 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %175, i32 noundef 0) #3
%177 = load i32, ptr @TDA_REFPIX_MSB, align 4, !tbaa !15
%178 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %177, i32 noundef %26) #3
%179 = load i32, ptr @TDA_REFLINE_MSB, align 4, !tbaa !15
%180 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %179, i32 noundef %77) #3
%181 = load i32, ptr @TDA_NPIX_MSB, align 4, !tbaa !15
%182 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %181, i32 noundef %3) #3
%183 = load i32, ptr @TDA_NLINE_MSB, align 4, !tbaa !15
%184 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %183, i32 noundef %5) #3
%185 = load i32, ptr @TDA_VS_LINE_STRT_1_MSB, align 4, !tbaa !15
%186 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %185, i32 noundef %68) #3
%187 = load i32, ptr @TDA_VS_PIX_STRT_1_MSB, align 4, !tbaa !15
%188 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %187, i32 noundef %13) #3
%189 = load i32, ptr @TDA_VS_LINE_END_1_MSB, align 4, !tbaa !15
%190 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %189, i32 noundef %69) #3
%191 = load i32, ptr @TDA_VS_PIX_END_1_MSB, align 4, !tbaa !15
%192 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %191, i32 noundef %13) #3
%193 = load i32, ptr @TDA_VS_LINE_STRT_2_MSB, align 4, !tbaa !15
%194 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %193, i32 noundef %71) #3
%195 = load i32, ptr @TDA_VS_PIX_STRT_2_MSB, align 4, !tbaa !15
%196 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %195, i32 noundef %70) #3
%197 = load i32, ptr @TDA_VS_LINE_END_2_MSB, align 4, !tbaa !15
%198 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %197, i32 noundef %72) #3
%199 = load i32, ptr @TDA_VS_PIX_END_2_MSB, align 4, !tbaa !15
%200 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %199, i32 noundef %70) #3
%201 = load i32, ptr @TDA_HS_PIX_START_MSB, align 4, !tbaa !15
%202 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %201, i32 noundef %13) #3
%203 = load i32, ptr @TDA_HS_PIX_STOP_MSB, align 4, !tbaa !15
%204 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %203, i32 noundef %10) #3
%205 = load i32, ptr @TDA_VWIN_START_1_MSB, align 4, !tbaa !15
%206 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %205, i32 noundef %73) #3
%207 = load i32, ptr @TDA_VWIN_END_1_MSB, align 4, !tbaa !15
%208 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %207, i32 noundef %74) #3
%209 = load i32, ptr @TDA_VWIN_START_2_MSB, align 4, !tbaa !15
%210 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %209, i32 noundef %75) #3
%211 = load i32, ptr @TDA_VWIN_END_2_MSB, align 4, !tbaa !15
%212 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %211, i32 noundef %76) #3
%213 = load i32, ptr @TDA_DE_START_MSB, align 4, !tbaa !15
%214 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %213, i32 noundef %14) #3
%215 = load i32, ptr @TDA_DE_STOP_MSB, align 4, !tbaa !15
%216 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %215, i32 noundef %3) #3
%217 = load i64, ptr %0, align 8, !tbaa !21
%218 = load i64, ptr @TDA19988, align 8, !tbaa !24
%219 = icmp eq i64 %217, %218
br i1 %219, label %220, label %223
220: ; preds = %67
%221 = load i32, ptr @TDA_ENABLE_SPACE, align 4, !tbaa !15
%222 = tail call i32 @tda19988_reg_write(ptr noundef nonnull %0, i32 noundef %221, i32 noundef 0) #3
br label %223
223: ; preds = %220, %67
%224 = load i32, ptr @TDA_TBG_CNTRL_0, align 4, !tbaa !15
%225 = load i32, ptr @TBG_CNTRL_0_SYNC_ONCE, align 4, !tbaa !15
%226 = tail call i32 @tda19988_reg_clear(ptr noundef nonnull %0, i32 noundef %224, i32 noundef %225) #3
ret void
}
declare i32 @tda19988_reg_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_clear(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VIP_CNTRL_5_SP_CNT(i32 noundef) local_unnamed_addr #1
declare i32 @SEL_CLK_SEL_VRF_CLK(i32 noundef) local_unnamed_addr #1
declare i32 @PLL_SERIAL_2_SRL_NOSC(i32 noundef) local_unnamed_addr #1
declare i32 @PLL_SERIAL_2_SRL_PR(i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_write2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.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 = !{!"videomode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 20}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 28}
!18 = !{!6, !7, i64 32}
!19 = !{!6, !7, i64 36}
!20 = !{!6, !7, i64 40}
!21 = !{!22, !23, i64 0}
!22 = !{!"tda19988_softc", !23, i64 0}
!23 = !{!"long", !8, i64 0}
!24 = !{!23, !23, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/arm/ti/am335x/extr_tda19988.c_tda19988_init_encoder.c'
source_filename = "AnghaBench/freebsd/sys/arm/ti/am335x/extr_tda19988.c_tda19988_init_encoder.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@VID_HSKEW = common local_unnamed_addr global i32 0, align 4
@VID_INTERLACE = common local_unnamed_addr global i32 0, align 4
@TDA_TBG_CNTRL_1 = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_DWIN_DIS = common local_unnamed_addr global i32 0, align 4
@TDA_HDCP_TX33 = common local_unnamed_addr global i32 0, align 4
@HDCP_TX33_HDMI = common local_unnamed_addr global i32 0, align 4
@TDA_ENC_CNTRL = common local_unnamed_addr global i32 0, align 4
@ENC_CNTRL_DVI_MODE = common local_unnamed_addr global i32 0, align 4
@TDA_HVF_CNTRL_0 = common local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_0_INTPOL_BYPASS = common local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_0_PREFIL_NONE = common local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_5 = common local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_4 = common local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_4_BLANKIT_NDE = common local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_4_BLC_NONE = common local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_3 = common local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_3_SRL_CCIR = common local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_1 = common local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_1_SRL_MAN_IP = common local_unnamed_addr global i32 0, align 4
@PLL_SERIAL_3_SRL_DE = common local_unnamed_addr global i32 0, align 4
@TDA_SERIALIZER = common local_unnamed_addr global i32 0, align 4
@TDA_HVF_CNTRL_1 = common local_unnamed_addr global i32 0, align 4
@HVF_CNTRL_1_VQR_FULL = common local_unnamed_addr global i32 0, align 4
@TDA_RPT_CNTRL = common local_unnamed_addr global i32 0, align 4
@TDA_SEL_CLK = common local_unnamed_addr global i32 0, align 4
@SEL_CLK_SEL_CLK1 = common local_unnamed_addr global i32 0, align 4
@SEL_CLK_ENA_SC_CLK = common local_unnamed_addr global i32 0, align 4
@TDA_PLL_SERIAL_2 = common local_unnamed_addr global i32 0, align 4
@TDA_MAT_CONTRL = common local_unnamed_addr global i32 0, align 4
@MAT_CONTRL_MAT_BP = common local_unnamed_addr global i32 0, align 4
@TDA_ANA_GENERAL = common local_unnamed_addr global i32 0, align 4
@TDA_TBG_CNTRL_0 = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_0_SYNC_MTHD = common local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_SYNC_HS = common local_unnamed_addr global i32 0, align 4
@VID_NHSYNC = common local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_H_TGL = common local_unnamed_addr global i32 0, align 4
@VID_NVSYNC = common local_unnamed_addr global i32 0, align 4
@VIP_CNTRL_3_V_TGL = common local_unnamed_addr global i32 0, align 4
@TDA_VIP_CNTRL_3 = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_TGL_EN = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_H_TGL = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_1_V_TGL = common local_unnamed_addr global i32 0, align 4
@TDA_VIDFORMAT = common local_unnamed_addr global i32 0, align 4
@TDA_REFPIX_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_REFLINE_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_NPIX_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_NLINE_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_STRT_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_STRT_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_END_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_END_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_STRT_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_STRT_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_LINE_END_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VS_PIX_END_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_HS_PIX_START_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_HS_PIX_STOP_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VWIN_START_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VWIN_END_1_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VWIN_START_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_VWIN_END_2_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_DE_START_MSB = common local_unnamed_addr global i32 0, align 4
@TDA_DE_STOP_MSB = common local_unnamed_addr global i32 0, align 4
@TDA19988 = common local_unnamed_addr global i64 0, align 8
@TDA_ENABLE_SPACE = common local_unnamed_addr global i32 0, align 4
@TBG_CNTRL_0_SYNC_ONCE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @tda19988_init_encoder], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tda19988_init_encoder(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 4
%5 = load i32, ptr %4, align 4, !tbaa !11
%6 = getelementptr inbounds i8, ptr %1, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !12
%8 = getelementptr inbounds i8, ptr %1, i64 12
%9 = load i32, ptr %8, align 4, !tbaa !13
%10 = sub nsw i32 %7, %9
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = sub nsw i32 %12, %9
%14 = sub nsw i32 %3, %9
%15 = add nsw i32 %13, 3
%16 = getelementptr inbounds i8, ptr %1, i64 20
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = load i32, ptr @VID_HSKEW, align 4, !tbaa !16
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %2
%22 = getelementptr inbounds i8, ptr %1, i64 24
%23 = load i32, ptr %22, align 4, !tbaa !17
%24 = add nsw i32 %23, %15
br label %25
25: ; preds = %21, %2
%26 = phi i32 [ %24, %21 ], [ %15, %2 ]
%27 = load i32, ptr @VID_INTERLACE, align 4, !tbaa !16
%28 = and i32 %27, %17
%29 = icmp eq i32 %28, 0
%30 = getelementptr inbounds i8, ptr %1, i64 28
%31 = load i32, ptr %30, align 4, !tbaa !18
br i1 %29, label %32, label %45
32: ; preds = %25
%33 = add nsw i32 %31, 1
%34 = getelementptr inbounds i8, ptr %1, i64 32
%35 = load i32, ptr %34, align 4, !tbaa !19
%36 = sub i32 %33, %35
%37 = xor i32 %35, -1
%38 = add i32 %5, %37
%39 = add i32 %5, -1
%40 = sub nsw i32 %31, %35
%41 = getelementptr inbounds i8, ptr %1, i64 36
%42 = load i32, ptr %41, align 4, !tbaa !20
%43 = sub i32 %42, %31
%44 = add i32 %43, %40
br label %67
45: ; preds = %25
%46 = getelementptr inbounds i8, ptr %1, i64 32
%47 = load i32, ptr %46, align 4, !tbaa !19
%48 = sub nsw i32 %31, %47
%49 = sdiv i32 %48, 2
%50 = add nsw i32 %49, 1
%51 = sub nsw i32 %5, %47
%52 = sdiv i32 %51, 2
%53 = sdiv i32 %47, 2
%54 = add nsw i32 %52, %53
%55 = getelementptr inbounds i8, ptr %1, i64 36
%56 = load i32, ptr %55, align 4, !tbaa !20
%57 = sub nsw i32 %56, %31
%58 = sdiv i32 %57, 2
%59 = add nsw i32 %58, %49
%60 = sdiv i32 %5, 2
%61 = add nsw i32 %52, %60
%62 = add nsw i32 %61, %53
%63 = sdiv i32 %3, 2
%64 = add nsw i32 %13, %63
%65 = add nsw i32 %49, %60
%66 = add nsw i32 %65, %58
br label %67
67: ; preds = %45, %32
%68 = phi i32 [ %40, %32 ], [ %49, %45 ]
%69 = phi i32 [ %44, %32 ], [ %59, %45 ]
%70 = phi i32 [ 0, %32 ], [ %64, %45 ]
%71 = phi i32 [ 0, %32 ], [ %65, %45 ]
%72 = phi i32 [ 0, %32 ], [ %66, %45 ]
%73 = phi i32 [ %38, %32 ], [ %52, %45 ]
%74 = phi i32 [ %39, %32 ], [ %54, %45 ]
%75 = phi i32 [ 0, %32 ], [ %61, %45 ]
%76 = phi i32 [ 0, %32 ], [ %62, %45 ]
%77 = phi i32 [ %36, %32 ], [ %50, %45 ]
%78 = getelementptr inbounds i8, ptr %1, i64 40
%79 = load i32, ptr %78, align 4, !tbaa !21
%80 = sdiv i32 148500, %79
%81 = icmp eq i32 %80, 0
%82 = tail call i32 @llvm.smin.i32(i32 %80, i32 4)
%83 = add nsw i32 %82, -1
%84 = select i1 %81, i32 0, i32 %83
%85 = load i32, ptr @TDA_TBG_CNTRL_1, align 4, !tbaa !16
%86 = load i32, ptr @TBG_CNTRL_1_DWIN_DIS, align 4, !tbaa !16
%87 = tail call i32 @tda19988_reg_set(ptr noundef %0, i32 noundef %85, i32 noundef %86) #3
%88 = load i32, ptr @TDA_HDCP_TX33, align 4, !tbaa !16
%89 = load i32, ptr @HDCP_TX33_HDMI, align 4, !tbaa !16
%90 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %88, i32 noundef %89) #3
%91 = load i32, ptr @TDA_ENC_CNTRL, align 4, !tbaa !16
%92 = load i32, ptr @ENC_CNTRL_DVI_MODE, align 4, !tbaa !16
%93 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %91, i32 noundef %92) #3
%94 = load i32, ptr @TDA_HVF_CNTRL_0, align 4, !tbaa !16
%95 = load i32, ptr @HVF_CNTRL_0_INTPOL_BYPASS, align 4, !tbaa !16
%96 = load i32, ptr @HVF_CNTRL_0_PREFIL_NONE, align 4, !tbaa !16
%97 = or i32 %96, %95
%98 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %94, i32 noundef %97) #3
%99 = load i32, ptr @TDA_VIP_CNTRL_5, align 4, !tbaa !16
%100 = tail call i32 @VIP_CNTRL_5_SP_CNT(i32 noundef 0) #3
%101 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %99, i32 noundef %100) #3
%102 = load i32, ptr @TDA_VIP_CNTRL_4, align 4, !tbaa !16
%103 = load i32, ptr @VIP_CNTRL_4_BLANKIT_NDE, align 4, !tbaa !16
%104 = load i32, ptr @VIP_CNTRL_4_BLC_NONE, align 4, !tbaa !16
%105 = or i32 %104, %103
%106 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %102, i32 noundef %105) #3
%107 = load i32, ptr @TDA_PLL_SERIAL_3, align 4, !tbaa !16
%108 = load i32, ptr @PLL_SERIAL_3_SRL_CCIR, align 4, !tbaa !16
%109 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %107, i32 noundef %108) #3
%110 = load i32, ptr @TDA_PLL_SERIAL_1, align 4, !tbaa !16
%111 = load i32, ptr @PLL_SERIAL_1_SRL_MAN_IP, align 4, !tbaa !16
%112 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %110, i32 noundef %111) #3
%113 = load i32, ptr @TDA_PLL_SERIAL_3, align 4, !tbaa !16
%114 = load i32, ptr @PLL_SERIAL_3_SRL_DE, align 4, !tbaa !16
%115 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %113, i32 noundef %114) #3
%116 = load i32, ptr @TDA_SERIALIZER, align 4, !tbaa !16
%117 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %116, i32 noundef 0) #3
%118 = load i32, ptr @TDA_HVF_CNTRL_1, align 4, !tbaa !16
%119 = load i32, ptr @HVF_CNTRL_1_VQR_FULL, align 4, !tbaa !16
%120 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %118, i32 noundef %119) #3
%121 = load i32, ptr @TDA_RPT_CNTRL, align 4, !tbaa !16
%122 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %121, i32 noundef 0) #3
%123 = load i32, ptr @TDA_SEL_CLK, align 4, !tbaa !16
%124 = tail call i32 @SEL_CLK_SEL_VRF_CLK(i32 noundef 0) #3
%125 = load i32, ptr @SEL_CLK_SEL_CLK1, align 4, !tbaa !16
%126 = or i32 %125, %124
%127 = load i32, ptr @SEL_CLK_ENA_SC_CLK, align 4, !tbaa !16
%128 = or i32 %126, %127
%129 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %123, i32 noundef %128) #3
%130 = load i32, ptr @TDA_PLL_SERIAL_2, align 4, !tbaa !16
%131 = tail call i32 @PLL_SERIAL_2_SRL_NOSC(i32 noundef %84) #3
%132 = tail call i32 @PLL_SERIAL_2_SRL_PR(i32 noundef 0) #3
%133 = or i32 %132, %131
%134 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %130, i32 noundef %133) #3
%135 = load i32, ptr @TDA_MAT_CONTRL, align 4, !tbaa !16
%136 = load i32, ptr @MAT_CONTRL_MAT_BP, align 4, !tbaa !16
%137 = tail call i32 @tda19988_reg_set(ptr noundef %0, i32 noundef %135, i32 noundef %136) #3
%138 = load i32, ptr @TDA_ANA_GENERAL, align 4, !tbaa !16
%139 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %138, i32 noundef 9) #3
%140 = load i32, ptr @TDA_TBG_CNTRL_0, align 4, !tbaa !16
%141 = load i32, ptr @TBG_CNTRL_0_SYNC_MTHD, align 4, !tbaa !16
%142 = tail call i32 @tda19988_reg_clear(ptr noundef %0, i32 noundef %140, i32 noundef %141) #3
%143 = load i32, ptr @VIP_CNTRL_3_SYNC_HS, align 4, !tbaa !16
%144 = load i32, ptr %16, align 4, !tbaa !15
%145 = load i32, ptr @VID_NHSYNC, align 4, !tbaa !16
%146 = and i32 %145, %144
%147 = icmp eq i32 %146, 0
%148 = load i32, ptr @VIP_CNTRL_3_H_TGL, align 4
%149 = select i1 %147, i32 0, i32 %148
%150 = or i32 %149, %143
%151 = load i32, ptr @VID_NVSYNC, align 4, !tbaa !16
%152 = and i32 %151, %144
%153 = icmp eq i32 %152, 0
%154 = load i32, ptr @VIP_CNTRL_3_V_TGL, align 4
%155 = select i1 %153, i32 0, i32 %154
%156 = or i32 %150, %155
%157 = load i32, ptr @TDA_VIP_CNTRL_3, align 4, !tbaa !16
%158 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %157, i32 noundef %156) #3
%159 = load i32, ptr @TBG_CNTRL_1_TGL_EN, align 4, !tbaa !16
%160 = load i32, ptr %16, align 4, !tbaa !15
%161 = load i32, ptr @VID_NHSYNC, align 4, !tbaa !16
%162 = and i32 %161, %160
%163 = icmp eq i32 %162, 0
%164 = load i32, ptr @TBG_CNTRL_1_H_TGL, align 4
%165 = select i1 %163, i32 0, i32 %164
%166 = or i32 %165, %159
%167 = load i32, ptr @VID_NVSYNC, align 4, !tbaa !16
%168 = and i32 %167, %160
%169 = icmp eq i32 %168, 0
%170 = load i32, ptr @TBG_CNTRL_1_V_TGL, align 4
%171 = select i1 %169, i32 0, i32 %170
%172 = or i32 %166, %171
%173 = load i32, ptr @TDA_TBG_CNTRL_1, align 4, !tbaa !16
%174 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %173, i32 noundef %172) #3
%175 = load i32, ptr @TDA_VIDFORMAT, align 4, !tbaa !16
%176 = tail call i32 @tda19988_reg_write(ptr noundef %0, i32 noundef %175, i32 noundef 0) #3
%177 = load i32, ptr @TDA_REFPIX_MSB, align 4, !tbaa !16
%178 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %177, i32 noundef %26) #3
%179 = load i32, ptr @TDA_REFLINE_MSB, align 4, !tbaa !16
%180 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %179, i32 noundef %77) #3
%181 = load i32, ptr @TDA_NPIX_MSB, align 4, !tbaa !16
%182 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %181, i32 noundef %3) #3
%183 = load i32, ptr @TDA_NLINE_MSB, align 4, !tbaa !16
%184 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %183, i32 noundef %5) #3
%185 = load i32, ptr @TDA_VS_LINE_STRT_1_MSB, align 4, !tbaa !16
%186 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %185, i32 noundef %68) #3
%187 = load i32, ptr @TDA_VS_PIX_STRT_1_MSB, align 4, !tbaa !16
%188 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %187, i32 noundef %13) #3
%189 = load i32, ptr @TDA_VS_LINE_END_1_MSB, align 4, !tbaa !16
%190 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %189, i32 noundef %69) #3
%191 = load i32, ptr @TDA_VS_PIX_END_1_MSB, align 4, !tbaa !16
%192 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %191, i32 noundef %13) #3
%193 = load i32, ptr @TDA_VS_LINE_STRT_2_MSB, align 4, !tbaa !16
%194 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %193, i32 noundef %71) #3
%195 = load i32, ptr @TDA_VS_PIX_STRT_2_MSB, align 4, !tbaa !16
%196 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %195, i32 noundef %70) #3
%197 = load i32, ptr @TDA_VS_LINE_END_2_MSB, align 4, !tbaa !16
%198 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %197, i32 noundef %72) #3
%199 = load i32, ptr @TDA_VS_PIX_END_2_MSB, align 4, !tbaa !16
%200 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %199, i32 noundef %70) #3
%201 = load i32, ptr @TDA_HS_PIX_START_MSB, align 4, !tbaa !16
%202 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %201, i32 noundef %13) #3
%203 = load i32, ptr @TDA_HS_PIX_STOP_MSB, align 4, !tbaa !16
%204 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %203, i32 noundef %10) #3
%205 = load i32, ptr @TDA_VWIN_START_1_MSB, align 4, !tbaa !16
%206 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %205, i32 noundef %73) #3
%207 = load i32, ptr @TDA_VWIN_END_1_MSB, align 4, !tbaa !16
%208 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %207, i32 noundef %74) #3
%209 = load i32, ptr @TDA_VWIN_START_2_MSB, align 4, !tbaa !16
%210 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %209, i32 noundef %75) #3
%211 = load i32, ptr @TDA_VWIN_END_2_MSB, align 4, !tbaa !16
%212 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %211, i32 noundef %76) #3
%213 = load i32, ptr @TDA_DE_START_MSB, align 4, !tbaa !16
%214 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %213, i32 noundef %14) #3
%215 = load i32, ptr @TDA_DE_STOP_MSB, align 4, !tbaa !16
%216 = tail call i32 @tda19988_reg_write2(ptr noundef %0, i32 noundef %215, i32 noundef %3) #3
%217 = load i64, ptr %0, align 8, !tbaa !22
%218 = load i64, ptr @TDA19988, align 8, !tbaa !25
%219 = icmp eq i64 %217, %218
br i1 %219, label %220, label %223
220: ; preds = %67
%221 = load i32, ptr @TDA_ENABLE_SPACE, align 4, !tbaa !16
%222 = tail call i32 @tda19988_reg_write(ptr noundef nonnull %0, i32 noundef %221, i32 noundef 0) #3
br label %223
223: ; preds = %220, %67
%224 = load i32, ptr @TDA_TBG_CNTRL_0, align 4, !tbaa !16
%225 = load i32, ptr @TBG_CNTRL_0_SYNC_ONCE, align 4, !tbaa !16
%226 = tail call i32 @tda19988_reg_clear(ptr noundef nonnull %0, i32 noundef %224, i32 noundef %225) #3
ret void
}
declare i32 @tda19988_reg_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_clear(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VIP_CNTRL_5_SP_CNT(i32 noundef) local_unnamed_addr #1
declare i32 @SEL_CLK_SEL_VRF_CLK(i32 noundef) local_unnamed_addr #1
declare i32 @PLL_SERIAL_2_SRL_NOSC(i32 noundef) local_unnamed_addr #1
declare i32 @PLL_SERIAL_2_SRL_PR(i32 noundef) local_unnamed_addr #1
declare i32 @tda19988_reg_write2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.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 = !{!"videomode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
!13 = !{!7, !8, i64 12}
!14 = !{!7, !8, i64 16}
!15 = !{!7, !8, i64 20}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !8, i64 24}
!18 = !{!7, !8, i64 28}
!19 = !{!7, !8, i64 32}
!20 = !{!7, !8, i64 36}
!21 = !{!7, !8, i64 40}
!22 = !{!23, !24, i64 0}
!23 = !{!"tda19988_softc", !24, i64 0}
!24 = !{!"long", !9, i64 0}
!25 = !{!24, !24, i64 0}
| freebsd_sys_arm_ti_am335x_extr_tda19988.c_tda19988_init_encoder |
; ModuleID = 'AnghaBench/linux/fs/proc/extr_internal.h_proc_tty_init.c'
source_filename = "AnghaBench/linux/fs/proc/extr_internal.h_proc_tty_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @proc_tty_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @proc_tty_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/fs/proc/extr_internal.h_proc_tty_init.c'
source_filename = "AnghaBench/linux/fs/proc/extr_internal.h_proc_tty_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 @proc_tty_init], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @proc_tty_init() #0 {
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_fs_proc_extr_internal.h_proc_tty_init |
; ModuleID = 'AnghaBench/jemalloc/src/extr_log.c_log_var_extract_segment.c'
source_filename = "AnghaBench/jemalloc/src/extr_log.c_log_var_extract_segment.c"
target datalayout = "e-m:e-p270:32:32-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 @log_var_extract_segment], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable
define internal noundef ptr @log_var_extract_segment(ptr noundef readonly %0) #0 {
br label %2
2: ; preds = %5, %1
%3 = phi ptr [ %0, %1 ], [ %6, %5 ]
%4 = load i8, ptr %3, align 1, !tbaa !5
switch i8 %4, label %5 [
i8 0, label %7
i8 124, label %7
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !8
7: ; preds = %2, %2
ret ptr %3
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/jemalloc/src/extr_log.c_log_var_extract_segment.c'
source_filename = "AnghaBench/jemalloc/src/extr_log.c_log_var_extract_segment.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 @log_var_extract_segment], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync)
define internal noundef ptr @log_var_extract_segment(ptr noundef readonly %0) #0 {
br label %2
2: ; preds = %5, %1
%3 = phi ptr [ %0, %1 ], [ %6, %5 ]
%4 = load i8, ptr %3, align 1, !tbaa !6
switch i8 %4, label %5 [
i8 0, label %7
i8 124, label %7
]
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %3, i64 1
br label %2, !llvm.loop !9
7: ; preds = %2, %2
ret ptr %3
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| jemalloc_src_extr_log.c_log_var_extract_segment |
; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_daio_mgr_put_ctrl_blk.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_daio_mgr_put_ctrl_blk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @daio_mgr_put_ctrl_blk], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @daio_mgr_put_ctrl_blk(ptr noundef %0) #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret i32 0
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_daio_mgr_put_ctrl_blk.c'
source_filename = "AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_daio_mgr_put_ctrl_blk.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @daio_mgr_put_ctrl_blk], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @daio_mgr_put_ctrl_blk(ptr noundef %0) #0 {
%2 = tail call i32 @kfree(ptr noundef %0) #2
ret i32 0
}
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_sound_pci_ctxfi_extr_cthw20k1.c_daio_mgr_put_ctrl_blk |
; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_listview.c_LISTVIEW_InvalidateList.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_listview.c_LISTVIEW_InvalidateList.c"
target datalayout = "e-m:e-p270:32:32-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 @LISTVIEW_InvalidateList], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @LISTVIEW_InvalidateList(ptr noundef %0) #0 {
%2 = tail call i32 @LISTVIEW_InvalidateRect(ptr noundef %0, ptr noundef null) #2
ret void
}
declare i32 @LISTVIEW_InvalidateRect(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/comctl32/extr_listview.c_LISTVIEW_InvalidateList.c'
source_filename = "AnghaBench/reactos/dll/win32/comctl32/extr_listview.c_LISTVIEW_InvalidateList.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 @LISTVIEW_InvalidateList], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @LISTVIEW_InvalidateList(ptr noundef %0) #0 {
%2 = tail call i32 @LISTVIEW_InvalidateRect(ptr noundef %0, ptr noundef null) #2
ret void
}
declare i32 @LISTVIEW_InvalidateRect(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_dll_win32_comctl32_extr_listview.c_LISTVIEW_InvalidateList |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.