IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_txn_base_root.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_txn_base_root.c"
target datalayout = "e-m:e-p270:32:32-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 @svn_fs_fs__dag_txn_base_root(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i32 @svn_fs_fs__get_txn_ids(ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3
%8 = call i32 @SVN_ERR(i32 noundef %7) #3
%9 = load ptr, ptr %5, align 8, !tbaa !5
%10 = call ptr @svn_fs_fs__dag_get_node(ptr noundef %0, ptr noundef %1, ptr noundef %9, ptr noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %10
}
; 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_fs_fs__get_txn_ids(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fs_fs__dag_get_node(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_txn_base_root.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_txn_base_root.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 @svn_fs_fs__dag_txn_base_root(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
%7 = call i32 @svn_fs_fs__get_txn_ids(ptr noundef nonnull %6, ptr noundef nonnull %5, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3
%8 = call i32 @SVN_ERR(i32 noundef %7) #3
%9 = load ptr, ptr %5, align 8, !tbaa !6
%10 = call ptr @svn_fs_fs__dag_get_node(ptr noundef %0, ptr noundef %1, ptr noundef %9, ptr noundef %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %10
}
; 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_fs_fs__get_txn_ids(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_fs_fs__dag_get_node(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_contrib_subversion_subversion_libsvn_fs_fs_extr_dag.c_svn_fs_fs__dag_txn_base_root |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_ethtool.c_ixgbe_get_rxnfc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_ethtool.c_ixgbe_get_rxnfc.c"
target datalayout = "e-m:e-p270:32:32-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.ixgbe_adapter = type { i32, i32 }
%struct.ethtool_rxnfc = type { i32, i32, i32 }
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ixgbe_get_rxnfc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ixgbe_get_rxnfc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !5
%6 = sub nsw i32 0, %5
%7 = load i32, ptr %1, align 4, !tbaa !9
switch i32 %7, label %21 [
i32 128, label %8
i32 131, label %12
i32 130, label %15
i32 132, label %17
i32 129, label %19
]
8: ; preds = %3
%9 = getelementptr inbounds %struct.ixgbe_adapter, ptr %4, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !11
%11 = getelementptr inbounds %struct.ethtool_rxnfc, ptr %1, i64 0, i32 2
store i32 %10, ptr %11, align 4, !tbaa !13
br label %21
12: ; preds = %3
%13 = load i32, ptr %4, align 4, !tbaa !14
%14 = getelementptr inbounds %struct.ethtool_rxnfc, ptr %1, i64 0, i32 1
store i32 %13, ptr %14, align 4, !tbaa !15
br label %21
15: ; preds = %3
%16 = tail call i32 @ixgbe_get_ethtool_fdir_entry(ptr noundef %4, ptr noundef nonnull %1) #2
br label %21
17: ; preds = %3
%18 = tail call i32 @ixgbe_get_ethtool_fdir_all(ptr noundef %4, ptr noundef nonnull %1, ptr noundef %2) #2
br label %21
19: ; preds = %3
%20 = tail call i32 @ixgbe_get_rss_hash_opts(ptr noundef %4, ptr noundef nonnull %1) #2
br label %21
21: ; preds = %3, %19, %17, %15, %12, %8
%22 = phi i32 [ %6, %3 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ 0, %12 ], [ 0, %8 ]
ret i32 %22
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_ethtool_fdir_entry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_ethtool_fdir_all(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_rss_hash_opts(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 0}
!10 = !{!"ethtool_rxnfc", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!12, !6, i64 4}
!12 = !{!"ixgbe_adapter", !6, i64 0, !6, i64 4}
!13 = !{!10, !6, i64 8}
!14 = !{!12, !6, i64 0}
!15 = !{!10, !6, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_ethtool.c_ixgbe_get_rxnfc.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_ethtool.c_ixgbe_get_rxnfc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ixgbe_get_rxnfc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ixgbe_get_rxnfc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %0) #2
%5 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !6
%6 = sub nsw i32 0, %5
%7 = load i32, ptr %1, align 4, !tbaa !10
switch i32 %7, label %21 [
i32 128, label %8
i32 131, label %12
i32 130, label %15
i32 132, label %17
i32 129, label %19
]
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %4, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !12
%11 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %10, ptr %11, align 4, !tbaa !14
br label %21
12: ; preds = %3
%13 = load i32, ptr %4, align 4, !tbaa !15
%14 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %13, ptr %14, align 4, !tbaa !16
br label %21
15: ; preds = %3
%16 = tail call i32 @ixgbe_get_ethtool_fdir_entry(ptr noundef %4, ptr noundef nonnull %1) #2
br label %21
17: ; preds = %3
%18 = tail call i32 @ixgbe_get_ethtool_fdir_all(ptr noundef %4, ptr noundef nonnull %1, ptr noundef %2) #2
br label %21
19: ; preds = %3
%20 = tail call i32 @ixgbe_get_rss_hash_opts(ptr noundef %4, ptr noundef nonnull %1) #2
br label %21
21: ; preds = %3, %19, %17, %15, %12, %8
%22 = phi i32 [ %6, %3 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ 0, %12 ], [ 0, %8 ]
ret i32 %22
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_ethtool_fdir_entry(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_ethtool_fdir_all(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @ixgbe_get_rss_hash_opts(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 0}
!11 = !{!"ethtool_rxnfc", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!13, !7, i64 4}
!13 = !{!"ixgbe_adapter", !7, i64 0, !7, i64 4}
!14 = !{!11, !7, i64 8}
!15 = !{!13, !7, i64 0}
!16 = !{!11, !7, i64 4}
| linux_drivers_net_ethernet_intel_ixgbe_extr_ixgbe_ethtool.c_ixgbe_get_rxnfc |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_wrapper.h_beat_shutdown_logical_partition.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_wrapper.h_beat_shutdown_logical_partition.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@HV_shutdown_logical_partition = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @beat_shutdown_logical_partition], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @beat_shutdown_logical_partition(i32 noundef %0) #0 {
%2 = load i32, ptr @HV_shutdown_logical_partition, align 4, !tbaa !5
%3 = tail call i32 @beat_hcall_norets(i32 noundef %2, i32 noundef %0) #2
ret void
}
declare i32 @beat_hcall_norets(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_wrapper.h_beat_shutdown_logical_partition.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/cell/extr_beat_wrapper.h_beat_shutdown_logical_partition.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HV_shutdown_logical_partition = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @beat_shutdown_logical_partition], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @beat_shutdown_logical_partition(i32 noundef %0) #0 {
%2 = load i32, ptr @HV_shutdown_logical_partition, align 4, !tbaa !6
%3 = tail call i32 @beat_hcall_norets(i32 noundef %2, i32 noundef %0) #2
ret void
}
declare i32 @beat_hcall_norets(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_powerpc_platforms_cell_extr_beat_wrapper.h_beat_shutdown_logical_partition |
; ModuleID = 'AnghaBench/freebsd/usr.bin/truss/extr_syscalls.c_print_sysctl_oid.c'
source_filename = "AnghaBench/freebsd/usr.bin/truss/extr_syscalls.c_print_sysctl_oid.c"
target datalayout = "e-m:e-p270:32:32-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 [4 x i8] c".%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_sysctl_oid], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_sysctl_oid(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %14
5: ; preds = %3
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %12, %7 ]
%9 = getelementptr inbounds i32, ptr %1, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !5
%11 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = add nuw nsw i64 %8, 1
%13 = icmp eq i64 %12, %6
br i1 %13, label %14, label %7, !llvm.loop !9
14: ; preds = %7, %3
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/truss/extr_syscalls.c_print_sysctl_oid.c'
source_filename = "AnghaBench/freebsd/usr.bin/truss/extr_syscalls.c_print_sysctl_oid.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 [4 x i8] c".%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_sysctl_oid], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_sysctl_oid(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 {
%4 = icmp sgt i32 %2, 0
br i1 %4, label %5, label %14
5: ; preds = %3
%6 = zext nneg i32 %2 to i64
br label %7
7: ; preds = %5, %7
%8 = phi i64 [ 0, %5 ], [ %12, %7 ]
%9 = getelementptr inbounds i32, ptr %1, i64 %8
%10 = load i32, ptr %9, align 4, !tbaa !6
%11 = tail call i32 @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %10) #2
%12 = add nuw nsw i64 %8, 1
%13 = icmp eq i64 %12, %6
br i1 %13, label %14, label %7, !llvm.loop !10
14: ; preds = %7, %3
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_usr.bin_truss_extr_syscalls.c_print_sysctl_oid |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_hw_perf_cache_event.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_hw_perf_cache_event.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ppmu = dso_local local_unnamed_addr global ptr null, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@PERF_COUNT_HW_CACHE_MAX = dso_local local_unnamed_addr global i64 0, align 8
@PERF_COUNT_HW_CACHE_OP_MAX = dso_local local_unnamed_addr global i64 0, align 8
@PERF_COUNT_HW_CACHE_RESULT_MAX = dso_local local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @hw_perf_cache_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal i32 @hw_perf_cache_event(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr @ppmu, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !9
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %44
9: ; preds = %2
%10 = and i32 %0, 255
%11 = zext nneg i32 %10 to i64
%12 = lshr i32 %0, 8
%13 = and i32 %12, 255
%14 = zext nneg i32 %13 to i64
%15 = lshr i32 %0, 16
%16 = and i32 %15, 255
%17 = zext nneg i32 %16 to i64
%18 = load i64, ptr @PERF_COUNT_HW_CACHE_MAX, align 8, !tbaa !13
%19 = icmp ugt i64 %18, %11
%20 = load i64, ptr @PERF_COUNT_HW_CACHE_OP_MAX, align 8
%21 = icmp ugt i64 %20, %14
%22 = select i1 %19, i1 %21, i1 false
%23 = load i64, ptr @PERF_COUNT_HW_CACHE_RESULT_MAX, align 8
%24 = icmp ugt i64 %23, %17
%25 = select i1 %22, i1 %24, i1 false
br i1 %25, label %29, label %26
26: ; preds = %9
%27 = load i32, ptr @EINVAL, align 4, !tbaa !11
%28 = sub nsw i32 0, %27
br label %44
29: ; preds = %9
%30 = load ptr, ptr %4, align 8, !tbaa !5
%31 = getelementptr inbounds ptr, ptr %30, i64 %11
%32 = load ptr, ptr %31, align 8, !tbaa !5
%33 = getelementptr inbounds ptr, ptr %32, i64 %14
%34 = load ptr, ptr %33, align 8, !tbaa !5
%35 = getelementptr inbounds i32, ptr %34, i64 %17
%36 = load i32, ptr %35, align 4, !tbaa !11
switch i32 %36, label %43 [
i32 0, label %37
i32 -1, label %40
]
37: ; preds = %29
%38 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !11
%39 = sub nsw i32 0, %38
br label %44
40: ; preds = %29
%41 = load i32, ptr @EINVAL, align 4, !tbaa !11
%42 = sub nsw i32 0, %41
br label %44
43: ; preds = %29
store i32 %36, ptr %1, align 4, !tbaa !11
br label %44
44: ; preds = %43, %40, %37, %26, %6
%45 = phi i32 [ %28, %26 ], [ %39, %37 ], [ %42, %40 ], [ 0, %43 ], [ %8, %6 ]
ret i32 %45
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_hw_perf_cache_event.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/kernel/extr_perf_event_fsl_emb.c_hw_perf_cache_event.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ppmu = common local_unnamed_addr global ptr null, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@PERF_COUNT_HW_CACHE_MAX = common local_unnamed_addr global i64 0, align 8
@PERF_COUNT_HW_CACHE_OP_MAX = common local_unnamed_addr global i64 0, align 8
@PERF_COUNT_HW_CACHE_RESULT_MAX = common local_unnamed_addr global i64 0, align 8
@EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @hw_perf_cache_event], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @hw_perf_cache_event(i32 noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr @ppmu, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !12
%8 = sub nsw i32 0, %7
br label %44
9: ; preds = %2
%10 = and i32 %0, 255
%11 = zext nneg i32 %10 to i64
%12 = lshr i32 %0, 8
%13 = and i32 %12, 255
%14 = zext nneg i32 %13 to i64
%15 = lshr i32 %0, 16
%16 = and i32 %15, 255
%17 = zext nneg i32 %16 to i64
%18 = load i64, ptr @PERF_COUNT_HW_CACHE_MAX, align 8, !tbaa !14
%19 = icmp ugt i64 %18, %11
%20 = load i64, ptr @PERF_COUNT_HW_CACHE_OP_MAX, align 8
%21 = icmp ugt i64 %20, %14
%22 = select i1 %19, i1 %21, i1 false
%23 = load i64, ptr @PERF_COUNT_HW_CACHE_RESULT_MAX, align 8
%24 = icmp ugt i64 %23, %17
%25 = select i1 %22, i1 %24, i1 false
br i1 %25, label %29, label %26
26: ; preds = %9
%27 = load i32, ptr @EINVAL, align 4, !tbaa !12
%28 = sub nsw i32 0, %27
br label %44
29: ; preds = %9
%30 = load ptr, ptr %4, align 8, !tbaa !6
%31 = getelementptr inbounds ptr, ptr %30, i64 %11
%32 = load ptr, ptr %31, align 8, !tbaa !6
%33 = getelementptr inbounds ptr, ptr %32, i64 %14
%34 = load ptr, ptr %33, align 8, !tbaa !6
%35 = getelementptr inbounds i32, ptr %34, i64 %17
%36 = load i32, ptr %35, align 4, !tbaa !12
switch i32 %36, label %43 [
i32 0, label %37
i32 -1, label %40
]
37: ; preds = %29
%38 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12
%39 = sub nsw i32 0, %38
br label %44
40: ; preds = %29
%41 = load i32, ptr @EINVAL, align 4, !tbaa !12
%42 = sub nsw i32 0, %41
br label %44
43: ; preds = %29
store i32 %36, ptr %1, align 4, !tbaa !12
br label %44
44: ; preds = %43, %40, %37, %26, %6
%45 = phi i32 [ %28, %26 ], [ %39, %37 ], [ %42, %40 ], [ 0, %43 ], [ %8, %6 ]
ret i32 %45
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
| fastsocket_kernel_arch_powerpc_kernel_extr_perf_event_fsl_emb.c_hw_perf_cache_event |
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ncp.c_ncp_LayersUnfinished.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ncp.c_ncp_LayersUnfinished.c"
target datalayout = "e-m:e-p270:32:32-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.ncp = type { %struct.TYPE_8__, %struct.TYPE_6__ }
%struct.TYPE_8__ = type { %struct.TYPE_7__ }
%struct.TYPE_7__ = type { i64 }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
@ST_CLOSED = dso_local local_unnamed_addr global i64 0, align 8
@ST_STARTING = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define dso_local i32 @ncp_LayersUnfinished(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.ncp, ptr %0, i64 0, i32 1
%3 = load i64, ptr %2, align 8, !tbaa !5
%4 = load i64, ptr @ST_CLOSED, align 8, !tbaa !14
%5 = icmp sgt i64 %3, %4
%6 = load i64, ptr @ST_STARTING, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
%9 = zext i1 %8 to i32
%10 = load i64, ptr %0, align 8, !tbaa !15
%11 = icmp sgt i64 %10, %4
%12 = icmp eq i64 %10, %6
%13 = select i1 %11, i1 true, i1 %12
%14 = select i1 %8, i32 2, i32 1
%15 = select i1 %13, i32 %14, i32 %9
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !9, i64 8}
!6 = !{!"ncp", !7, i64 0, !12, i64 8}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"TYPE_7__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_6__", !13, i64 0}
!13 = !{!"TYPE_5__", !9, i64 0}
!14 = !{!9, !9, i64 0}
!15 = !{!6, !9, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_ncp.c_ncp_LayersUnfinished.c'
source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_ncp.c_ncp_LayersUnfinished.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ST_CLOSED = common local_unnamed_addr global i64 0, align 8
@ST_STARTING = common local_unnamed_addr global i64 0, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define range(i32 0, 3) i32 @ncp_LayersUnfinished(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load i64, ptr %2, align 8, !tbaa !6
%4 = load i64, ptr @ST_CLOSED, align 8, !tbaa !15
%5 = icmp sgt i64 %3, %4
%6 = load i64, ptr @ST_STARTING, align 8
%7 = icmp eq i64 %3, %6
%8 = select i1 %5, i1 true, i1 %7
%9 = zext i1 %8 to i32
%10 = load i64, ptr %0, align 8, !tbaa !16
%11 = icmp sgt i64 %10, %4
%12 = icmp eq i64 %10, %6
%13 = select i1 %11, i1 true, i1 %12
%14 = select i1 %8, i32 2, i32 1
%15 = select i1 %13, i32 %14, i32 %9
ret i32 %15
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !10, i64 8}
!7 = !{!"ncp", !8, i64 0, !13, i64 8}
!8 = !{!"TYPE_8__", !9, i64 0}
!9 = !{!"TYPE_7__", !10, i64 0}
!10 = !{!"long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C/C++ TBAA"}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"TYPE_5__", !10, i64 0}
!15 = !{!10, !10, i64 0}
!16 = !{!7, !10, i64 0}
| freebsd_usr.sbin_ppp_extr_ncp.c_ncp_LayersUnfinished |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c___qed_iov_pf_update_tun_param.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c___qed_iov_pf_update_tun_param.c"
target datalayout = "e-m:e-p270:32:32-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.vfpf_update_tunn_param_tlv = type { i32, i32 }
%struct.qed_tunn_update_type = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @__qed_iov_pf_update_tun_param], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @__qed_iov_pf_update_tun_param(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = tail call i32 @BIT(i32 noundef %2) #2
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %4
store i32 1, ptr %1, align 4, !tbaa !10
%10 = getelementptr inbounds %struct.vfpf_update_tunn_param_tlv, ptr %0, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = tail call i32 @BIT(i32 noundef %2) #2
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = getelementptr inbounds %struct.qed_tunn_update_type, ptr %1, i64 0, i32 1
store i32 1, ptr %16, align 4, !tbaa !13
br label %17
17: ; preds = %9, %15, %4
%18 = getelementptr inbounds %struct.qed_tunn_update_type, ptr %1, i64 0, i32 2
store i32 %3, ptr %18, align 4, !tbaa !14
ret void
}
declare i32 @BIT(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 = !{!"vfpf_update_tunn_param_tlv", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"qed_tunn_update_type", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!11, !7, i64 4}
!14 = !{!11, !7, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c___qed_iov_pf_update_tun_param.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c___qed_iov_pf_update_tun_param.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 @__qed_iov_pf_update_tun_param], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @__qed_iov_pf_update_tun_param(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = tail call i32 @BIT(i32 noundef %2) #2
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
br i1 %8, label %17, label %9
9: ; preds = %4
store i32 1, ptr %1, align 4, !tbaa !11
%10 = getelementptr inbounds i8, ptr %0, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !13
%12 = tail call i32 @BIT(i32 noundef %2) #2
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %9
%16 = getelementptr inbounds i8, ptr %1, i64 4
store i32 1, ptr %16, align 4, !tbaa !14
br label %17
17: ; preds = %9, %15, %4
%18 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %3, ptr %18, align 4, !tbaa !15
ret void
}
declare i32 @BIT(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 = !{!"vfpf_update_tunn_param_tlv", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"qed_tunn_update_type", !8, i64 0, !8, i64 4, !8, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!12, !8, i64 4}
!15 = !{!12, !8, i64 8}
| linux_drivers_net_ethernet_qlogic_qed_extr_qed_sriov.c___qed_iov_pf_update_tun_param |
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-socket/src/extr_socket.c_mrb_basicsocket_set_is_socket.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-socket/src/extr_socket.c_mrb_basicsocket_set_is_socket.c"
target datalayout = "e-m:e-p270:32:32-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"b\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mrb_basicsocket_set_is_socket], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mrb_basicsocket_set_is_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = call i64 @DATA_PTR(i32 noundef %1) #3
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr %3, align 4, !tbaa !5
br i1 %6, label %10, label %8
8: ; preds = %2
%9 = inttoptr i64 %5 to ptr
store i32 %7, ptr %9, align 4, !tbaa !9
br label %10
10: ; preds = %8, %2
%11 = call i32 @mrb_bool_value(i32 noundef %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @DATA_PTR(i32 noundef) local_unnamed_addr #2
declare i32 @mrb_bool_value(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"mrb_io", !6, i64 0}
| ; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-socket/src/extr_socket.c_mrb_basicsocket_set_is_socket.c'
source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-socket/src/extr_socket.c_mrb_basicsocket_set_is_socket.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"b\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mrb_basicsocket_set_is_socket], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mrb_basicsocket_set_is_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%5 = call i64 @DATA_PTR(i32 noundef %1) #3
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr %3, align 4, !tbaa !6
br i1 %6, label %10, label %8
8: ; preds = %2
%9 = inttoptr i64 %5 to ptr
store i32 %7, ptr %9, align 4, !tbaa !10
br label %10
10: ; preds = %8, %2
%11 = call i32 @mrb_bool_value(i32 noundef %7) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
ret i32 %11
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @DATA_PTR(i32 noundef) local_unnamed_addr #2
declare i32 @mrb_bool_value(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"mrb_io", !7, i64 0}
| h2o_deps_mruby_mrbgems_mruby-socket_src_extr_socket.c_mrb_basicsocket_set_is_socket |
; ModuleID = 'AnghaBench/linux/crypto/extr_algif_hash.c_hash_setkey.c'
source_filename = "AnghaBench/linux/crypto/extr_algif_hash.c_hash_setkey.c"
target datalayout = "e-m:e-p270:32:32-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 @hash_setkey], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @hash_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @crypto_ahash_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @crypto_ahash_setkey(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/crypto/extr_algif_hash.c_hash_setkey.c'
source_filename = "AnghaBench/linux/crypto/extr_algif_hash.c_hash_setkey.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 @hash_setkey], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @hash_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @crypto_ahash_setkey(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @crypto_ahash_setkey(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_crypto_extr_algif_hash.c_hash_setkey |
; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_playlist_label_display_mode_left.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_playlist_label_display_mode_left.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@LABEL_DISPLAY_MODE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@LABEL_DISPLAY_MODE_KEEP_REGION_AND_DISC_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @playlist_label_display_mode_left], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @playlist_label_display_mode_left(i32 %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call ptr (...) @playlist_get_cached() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %3
%7 = tail call i32 @playlist_get_label_display_mode(ptr noundef nonnull %4) #2
%8 = load i32, ptr @LABEL_DISPLAY_MODE_DEFAULT, align 4, !tbaa !5
%9 = icmp eq i32 %7, %8
%10 = add nsw i32 %7, -1
%11 = icmp eq i32 %2, 0
%12 = load i32, ptr @LABEL_DISPLAY_MODE_KEEP_REGION_AND_DISC_INDEX, align 4
%13 = select i1 %11, i32 %7, i32 %12
%14 = select i1 %9, i32 %13, i32 %10
%15 = tail call i32 @playlist_set_label_display_mode(ptr noundef nonnull %4, i32 noundef %14) #2
%16 = tail call i32 @playlist_write_file(ptr noundef nonnull %4) #2
br label %17
17: ; preds = %3, %6
%18 = phi i32 [ 0, %6 ], [ -1, %3 ]
ret i32 %18
}
declare ptr @playlist_get_cached(...) local_unnamed_addr #1
declare i32 @playlist_get_label_display_mode(ptr noundef) local_unnamed_addr #1
declare i32 @playlist_set_label_display_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @playlist_write_file(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_playlist_label_display_mode_left.c'
source_filename = "AnghaBench/RetroArch/menu/cbs/extr_menu_cbs_left.c_playlist_label_display_mode_left.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LABEL_DISPLAY_MODE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@LABEL_DISPLAY_MODE_KEEP_REGION_AND_DISC_INDEX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @playlist_label_display_mode_left], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -1, 1) i32 @playlist_label_display_mode_left(i32 %0, ptr nocapture readnone %1, i32 noundef %2) #0 {
%4 = tail call ptr @playlist_get_cached() #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %3
%7 = tail call i32 @playlist_get_label_display_mode(ptr noundef nonnull %4) #2
%8 = load i32, ptr @LABEL_DISPLAY_MODE_DEFAULT, align 4, !tbaa !6
%9 = icmp eq i32 %7, %8
%10 = add nsw i32 %7, -1
%11 = icmp eq i32 %2, 0
%12 = load i32, ptr @LABEL_DISPLAY_MODE_KEEP_REGION_AND_DISC_INDEX, align 4
%13 = select i1 %11, i32 %7, i32 %12
%14 = select i1 %9, i32 %13, i32 %10
%15 = tail call i32 @playlist_set_label_display_mode(ptr noundef nonnull %4, i32 noundef %14) #2
%16 = tail call i32 @playlist_write_file(ptr noundef nonnull %4) #2
br label %17
17: ; preds = %3, %6
%18 = phi i32 [ 0, %6 ], [ -1, %3 ]
ret i32 %18
}
declare ptr @playlist_get_cached(...) local_unnamed_addr #1
declare i32 @playlist_get_label_display_mode(ptr noundef) local_unnamed_addr #1
declare i32 @playlist_set_label_display_mode(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @playlist_write_file(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| RetroArch_menu_cbs_extr_menu_cbs_left.c_playlist_label_display_mode_left |
; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_put.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_put.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@dlm_domain_lock = dso_local global i32 0, align 4
@dlm_ctxt_release = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @dlm_put(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_domain_lock) #2
%3 = load i32, ptr @dlm_ctxt_release, align 4, !tbaa !5
%4 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_domain_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_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"}
| ; ModuleID = 'AnghaBench/linux/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_put.c'
source_filename = "AnghaBench/linux/fs/ocfs2/dlm/extr_dlmdomain.c_dlm_put.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@dlm_domain_lock = common global i32 0, align 4
@dlm_ctxt_release = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @dlm_put(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @spin_lock(ptr noundef nonnull @dlm_domain_lock) #2
%3 = load i32, ptr @dlm_ctxt_release, align 4, !tbaa !6
%4 = tail call i32 @kref_put(ptr noundef %0, i32 noundef %3) #2
%5 = tail call i32 @spin_unlock(ptr noundef nonnull @dlm_domain_lock) #2
ret void
}
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @spin_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"}
| linux_fs_ocfs2_dlm_extr_dlmdomain.c_dlm_put |
; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_getvar_direct.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_getvar_direct.c"
target datalayout = "e-m:e-p270:32:32-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 @bhnd_nvram_data_getvar_direct(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = tail call i32 %7(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #1
ret i32 %8
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_getvar_direct.c'
source_filename = "AnghaBench/freebsd/sys/dev/bhnd/nvram/extr_bhnd_nvram_data.c_bhnd_nvram_data_getvar_direct.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 @bhnd_nvram_data_getvar_direct(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #0 {
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = tail call i32 %7(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #1
ret i32 %8
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_dev_bhnd_nvram_extr_bhnd_nvram_data.c_bhnd_nvram_data_getvar_direct |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-imx/extr_tzic.c_tzic_enable_wake.c'
source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_tzic.c_tzic_enable_wake.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@tzic_base = dso_local local_unnamed_addr global i64 0, align 8
@TZIC_DSMINT = dso_local local_unnamed_addr global i64 0, align 8
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @tzic_enable_wake() local_unnamed_addr #0 {
%1 = load i64, ptr @tzic_base, align 8, !tbaa !5
%2 = load i64, ptr @TZIC_DSMINT, align 8, !tbaa !5
%3 = add nsw i64 %2, %1
%4 = tail call i32 @imx_writel(i32 noundef 1, i64 noundef %3) #2
%5 = load i64, ptr @tzic_base, align 8, !tbaa !5
%6 = load i64, ptr @TZIC_DSMINT, align 8, !tbaa !5
%7 = add nsw i64 %6, %5
%8 = tail call i32 @imx_readl(i64 noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %0
%14 = load i64, ptr @tzic_base, align 8, !tbaa !5
%15 = tail call i64 @TZIC_ENSET0(i32 noundef 0) #2
%16 = add nsw i64 %15, %14
%17 = tail call i32 @imx_readl(i64 noundef %16) #2
%18 = load i64, ptr @tzic_base, align 8, !tbaa !5
%19 = tail call i64 @TZIC_WAKEUP0(i32 noundef 0) #2
%20 = add nsw i64 %19, %18
%21 = tail call i32 @imx_writel(i32 noundef %17, i64 noundef %20) #2
%22 = load i64, ptr @tzic_base, align 8, !tbaa !5
%23 = tail call i64 @TZIC_ENSET0(i32 noundef 1) #2
%24 = add nsw i64 %23, %22
%25 = tail call i32 @imx_readl(i64 noundef %24) #2
%26 = load i64, ptr @tzic_base, align 8, !tbaa !5
%27 = tail call i64 @TZIC_WAKEUP0(i32 noundef 1) #2
%28 = add nsw i64 %27, %26
%29 = tail call i32 @imx_writel(i32 noundef %25, i64 noundef %28) #2
%30 = load i64, ptr @tzic_base, align 8, !tbaa !5
%31 = tail call i64 @TZIC_ENSET0(i32 noundef 2) #2
%32 = add nsw i64 %31, %30
%33 = tail call i32 @imx_readl(i64 noundef %32) #2
%34 = load i64, ptr @tzic_base, align 8, !tbaa !5
%35 = tail call i64 @TZIC_WAKEUP0(i32 noundef 2) #2
%36 = add nsw i64 %35, %34
%37 = tail call i32 @imx_writel(i32 noundef %33, i64 noundef %36) #2
%38 = load i64, ptr @tzic_base, align 8, !tbaa !5
%39 = tail call i64 @TZIC_ENSET0(i32 noundef 3) #2
%40 = add nsw i64 %39, %38
%41 = tail call i32 @imx_readl(i64 noundef %40) #2
%42 = load i64, ptr @tzic_base, align 8, !tbaa !5
%43 = tail call i64 @TZIC_WAKEUP0(i32 noundef 3) #2
%44 = add nsw i64 %43, %42
%45 = tail call i32 @imx_writel(i32 noundef %41, i64 noundef %44) #2
br label %49
46: ; preds = %0
%47 = load i32, ptr @EAGAIN, align 4, !tbaa !9
%48 = sub nsw i32 0, %47
br label %49
49: ; preds = %13, %46
%50 = phi i32 [ %48, %46 ], [ 0, %13 ]
ret i32 %50
}
declare i32 @imx_writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @imx_readl(i64 noundef) local_unnamed_addr #1
declare i64 @TZIC_ENSET0(i32 noundef) local_unnamed_addr #1
declare i64 @TZIC_WAKEUP0(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-imx/extr_tzic.c_tzic_enable_wake.c'
source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_tzic.c_tzic_enable_wake.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@tzic_base = common local_unnamed_addr global i64 0, align 8
@TZIC_DSMINT = common local_unnamed_addr global i64 0, align 8
@EAGAIN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @tzic_enable_wake() local_unnamed_addr #0 {
%1 = load i64, ptr @tzic_base, align 8, !tbaa !6
%2 = load i64, ptr @TZIC_DSMINT, align 8, !tbaa !6
%3 = add nsw i64 %2, %1
%4 = tail call i32 @imx_writel(i32 noundef 1, i64 noundef %3) #2
%5 = load i64, ptr @tzic_base, align 8, !tbaa !6
%6 = load i64, ptr @TZIC_DSMINT, align 8, !tbaa !6
%7 = add nsw i64 %6, %5
%8 = tail call i32 @imx_readl(i64 noundef %7) #2
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = tail call i64 @unlikely(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %46
13: ; preds = %0
%14 = load i64, ptr @tzic_base, align 8, !tbaa !6
%15 = tail call i64 @TZIC_ENSET0(i32 noundef 0) #2
%16 = add nsw i64 %15, %14
%17 = tail call i32 @imx_readl(i64 noundef %16) #2
%18 = load i64, ptr @tzic_base, align 8, !tbaa !6
%19 = tail call i64 @TZIC_WAKEUP0(i32 noundef 0) #2
%20 = add nsw i64 %19, %18
%21 = tail call i32 @imx_writel(i32 noundef %17, i64 noundef %20) #2
%22 = load i64, ptr @tzic_base, align 8, !tbaa !6
%23 = tail call i64 @TZIC_ENSET0(i32 noundef 1) #2
%24 = add nsw i64 %23, %22
%25 = tail call i32 @imx_readl(i64 noundef %24) #2
%26 = load i64, ptr @tzic_base, align 8, !tbaa !6
%27 = tail call i64 @TZIC_WAKEUP0(i32 noundef 1) #2
%28 = add nsw i64 %27, %26
%29 = tail call i32 @imx_writel(i32 noundef %25, i64 noundef %28) #2
%30 = load i64, ptr @tzic_base, align 8, !tbaa !6
%31 = tail call i64 @TZIC_ENSET0(i32 noundef 2) #2
%32 = add nsw i64 %31, %30
%33 = tail call i32 @imx_readl(i64 noundef %32) #2
%34 = load i64, ptr @tzic_base, align 8, !tbaa !6
%35 = tail call i64 @TZIC_WAKEUP0(i32 noundef 2) #2
%36 = add nsw i64 %35, %34
%37 = tail call i32 @imx_writel(i32 noundef %33, i64 noundef %36) #2
%38 = load i64, ptr @tzic_base, align 8, !tbaa !6
%39 = tail call i64 @TZIC_ENSET0(i32 noundef 3) #2
%40 = add nsw i64 %39, %38
%41 = tail call i32 @imx_readl(i64 noundef %40) #2
%42 = load i64, ptr @tzic_base, align 8, !tbaa !6
%43 = tail call i64 @TZIC_WAKEUP0(i32 noundef 3) #2
%44 = add nsw i64 %43, %42
%45 = tail call i32 @imx_writel(i32 noundef %41, i64 noundef %44) #2
br label %49
46: ; preds = %0
%47 = load i32, ptr @EAGAIN, align 4, !tbaa !10
%48 = sub nsw i32 0, %47
br label %49
49: ; preds = %13, %46
%50 = phi i32 [ %48, %46 ], [ 0, %13 ]
ret i32 %50
}
declare i32 @imx_writel(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @imx_readl(i64 noundef) local_unnamed_addr #1
declare i64 @TZIC_ENSET0(i32 noundef) local_unnamed_addr #1
declare i64 @TZIC_WAKEUP0(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_arch_arm_mach-imx_extr_tzic.c_tzic_enable_wake |
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-engine.c_complete_long_query.c'
source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-engine.c_complete_long_query.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CLOCK_MONOTONIC = dso_local local_unnamed_addr global i32 0, align 4
@last_long_query_utime = dso_local local_unnamed_addr global ptr null, align 8
@long_query_buff_ptr = dso_local local_unnamed_addr global i64 0, align 8
@last_long_query_time = dso_local local_unnamed_addr global ptr null, align 8
@tot_long_queries_time = dso_local local_unnamed_addr global i32 0, align 4
@last_long_query_found = dso_local local_unnamed_addr global ptr null, align 8
@verbosity = dso_local local_unnamed_addr global i64 0, align 8
@log_long_queries = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [18 x i8] c"%.6lf %d (%d) %s\0A\00", align 1
@last_long_query_buff = dso_local local_unnamed_addr global ptr null, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @complete_long_query], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @complete_long_query(ptr noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !5
%4 = tail call i64 @get_utime(i32 noundef %3) #2
%5 = load ptr, ptr @last_long_query_utime, align 8, !tbaa !9
%6 = load i64, ptr @long_query_buff_ptr, align 8, !tbaa !11
%7 = getelementptr inbounds i64, ptr %5, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = sub nsw i64 %4, %8
%10 = load ptr, ptr @last_long_query_time, align 8, !tbaa !9
%11 = getelementptr inbounds i64, ptr %10, i64 %6
store i64 %9, ptr %11, align 8, !tbaa !11
%12 = load i64, ptr @long_query_buff_ptr, align 8, !tbaa !11
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !11
%15 = load i32, ptr @tot_long_queries_time, align 4, !tbaa !5
%16 = trunc i64 %14 to i32
%17 = add i32 %15, %16
store i32 %17, ptr @tot_long_queries_time, align 4, !tbaa !5
%18 = load ptr, ptr @last_long_query_found, align 8, !tbaa !9
%19 = getelementptr inbounds i32, ptr %18, i64 %12
store i32 %1, ptr %19, align 4, !tbaa !5
%20 = load i64, ptr @verbosity, align 8, !tbaa !11
%21 = icmp sgt i64 %20, 0
%22 = load i64, ptr @log_long_queries, align 8
%23 = icmp ne i64 %22, 0
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %35
25: ; preds = %2
%26 = icmp eq ptr %0, null
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = load i32, ptr %0, align 4, !tbaa !13
br label %29
29: ; preds = %25, %27
%30 = phi i32 [ %28, %27 ], [ -1, %25 ]
%31 = load ptr, ptr @last_long_query_buff, align 8, !tbaa !9
%32 = getelementptr inbounds i32, ptr %31, i64 %12
%33 = load i32, ptr %32, align 4, !tbaa !5
%34 = tail call i32 @kprintf(ptr noundef nonnull @.str, i64 noundef %14, i32 noundef %30, i32 noundef %1, i32 noundef %33) #2
br label %35
35: ; preds = %2, %29
ret void
}
declare i64 @get_utime(i32 noundef) local_unnamed_addr #1
declare i32 @kprintf(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"connection", !6, i64 0}
| ; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_targ-engine.c_complete_long_query.c'
source_filename = "AnghaBench/kphp-kdb/targ/extr_targ-engine.c_complete_long_query.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CLOCK_MONOTONIC = common local_unnamed_addr global i32 0, align 4
@last_long_query_utime = common local_unnamed_addr global ptr null, align 8
@long_query_buff_ptr = common local_unnamed_addr global i64 0, align 8
@last_long_query_time = common local_unnamed_addr global ptr null, align 8
@tot_long_queries_time = common local_unnamed_addr global i32 0, align 4
@last_long_query_found = common local_unnamed_addr global ptr null, align 8
@verbosity = common local_unnamed_addr global i64 0, align 8
@log_long_queries = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [18 x i8] c"%.6lf %d (%d) %s\0A\00", align 1
@last_long_query_buff = common local_unnamed_addr global ptr null, align 8
@llvm.used = appending global [1 x ptr] [ptr @complete_long_query], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @complete_long_query(ptr noundef readonly %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !6
%4 = tail call i64 @get_utime(i32 noundef %3) #2
%5 = load ptr, ptr @last_long_query_utime, align 8, !tbaa !10
%6 = load i64, ptr @long_query_buff_ptr, align 8, !tbaa !12
%7 = getelementptr inbounds i64, ptr %5, i64 %6
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = sub nsw i64 %4, %8
%10 = load ptr, ptr @last_long_query_time, align 8, !tbaa !10
%11 = getelementptr inbounds i64, ptr %10, i64 %6
store i64 %9, ptr %11, align 8, !tbaa !12
%12 = load i64, ptr @long_query_buff_ptr, align 8, !tbaa !12
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8, !tbaa !12
%15 = load i32, ptr @tot_long_queries_time, align 4, !tbaa !6
%16 = trunc i64 %14 to i32
%17 = add i32 %15, %16
store i32 %17, ptr @tot_long_queries_time, align 4, !tbaa !6
%18 = load ptr, ptr @last_long_query_found, align 8, !tbaa !10
%19 = getelementptr inbounds i32, ptr %18, i64 %12
store i32 %1, ptr %19, align 4, !tbaa !6
%20 = load i64, ptr @verbosity, align 8, !tbaa !12
%21 = icmp sgt i64 %20, 0
%22 = load i64, ptr @log_long_queries, align 8
%23 = icmp ne i64 %22, 0
%24 = select i1 %21, i1 true, i1 %23
br i1 %24, label %25, label %35
25: ; preds = %2
%26 = icmp eq ptr %0, null
br i1 %26, label %29, label %27
27: ; preds = %25
%28 = load i32, ptr %0, align 4, !tbaa !14
br label %29
29: ; preds = %25, %27
%30 = phi i32 [ %28, %27 ], [ -1, %25 ]
%31 = load ptr, ptr @last_long_query_buff, align 8, !tbaa !10
%32 = getelementptr inbounds i32, ptr %31, i64 %12
%33 = load i32, ptr %32, align 4, !tbaa !6
%34 = tail call i32 @kprintf(ptr noundef nonnull @.str, i64 noundef %14, i32 noundef %30, i32 noundef %1, i32 noundef %33) #2
br label %35
35: ; preds = %2, %29
ret void
}
declare i64 @get_utime(i32 noundef) local_unnamed_addr #1
declare i32 @kprintf(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"connection", !7, i64 0}
| kphp-kdb_targ_extr_targ-engine.c_complete_long_query |
; ModuleID = 'AnghaBench/vim.js/src/extr_os_win32.c_executable_exists.c'
source_filename = "AnghaBench/vim.js/src/extr_os_win32.c_executable_exists.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@_MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@ERROR_CALL_NOT_IMPLEMENTED = dso_local local_unnamed_addr global i64 0, align 8
@FILE_ATTRIBUTE_DIRECTORY = dso_local local_unnamed_addr global i32 0, align 4
@enc_codepage = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @executable_exists], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @executable_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @_MAX_PATH, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = tail call ptr @llvm.stacksave.p0()
%6 = alloca i8, i64 %4, align 16
%7 = load i32, ptr @_MAX_PATH, align 4, !tbaa !5
%8 = call i64 @SearchPath(ptr noundef null, ptr noundef %0, ptr noundef null, i32 noundef %7, ptr noundef nonnull %6, ptr noundef nonnull %2) #4
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %1
%11 = call i64 @mch_isdir(ptr noundef nonnull %6) #4
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, ptr @TRUE, ptr @FALSE
br label %14
14: ; preds = %10, %1
%15 = phi ptr [ @FALSE, %1 ], [ %13, %10 ]
%16 = load i32, ptr %15, align 4, !tbaa !5
call void @llvm.stackrestore.p0(ptr %5)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %16
}
; 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 i64 @SearchPath(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @mch_isdir(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/vim.js/src/extr_os_win32.c_executable_exists.c'
source_filename = "AnghaBench/vim.js/src/extr_os_win32.c_executable_exists.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@_MAX_PATH = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i32 0, align 4
@ERROR_CALL_NOT_IMPLEMENTED = common local_unnamed_addr global i64 0, align 8
@FILE_ATTRIBUTE_DIRECTORY = common local_unnamed_addr global i32 0, align 4
@enc_codepage = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @executable_exists], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @executable_exists(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = load i32, ptr @_MAX_PATH, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = tail call ptr @llvm.stacksave.p0()
%6 = alloca i8, i64 %4, align 1
%7 = load i32, ptr @_MAX_PATH, align 4, !tbaa !6
%8 = call i64 @SearchPath(ptr noundef null, ptr noundef %0, ptr noundef null, i32 noundef %7, ptr noundef nonnull %6, ptr noundef nonnull %2) #4
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %1
%11 = call i64 @mch_isdir(ptr noundef nonnull %6) #4
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, ptr @TRUE, ptr @FALSE
br label %14
14: ; preds = %10, %1
%15 = phi ptr [ @FALSE, %1 ], [ %13, %10 ]
%16 = load i32, ptr %15, align 4, !tbaa !6
call void @llvm.stackrestore.p0(ptr %5)
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i32 %16
}
; 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 i64 @SearchPath(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3
declare i64 @mch_isdir(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| vim.js_src_extr_os_win32.c_executable_exists |
; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest3.c_testDeleteDatasourceRange.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest3.c_testDeleteDatasourceRange.c"
target datalayout = "e-m:e-p270:32:32-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 @testDeleteDatasourceRange(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %13
7: ; preds = %5, %7
%8 = phi i32 [ %11, %7 ], [ 0, %5 ]
%9 = add nsw i32 %8, %2
%10 = tail call i32 @testDeleteDatasource(ptr noundef %0, ptr noundef %1, i32 noundef %9, ptr noundef %4) #2
%11 = add nuw nsw i32 %8, 1
%12 = icmp eq i32 %11, %3
br i1 %12, label %13, label %7, !llvm.loop !5
13: ; preds = %7, %5
ret void
}
declare i32 @testDeleteDatasource(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest3.c_testDeleteDatasourceRange.c'
source_filename = "AnghaBench/sqlcipher/ext/lsm1/lsm-test/extr_lsmtest3.c_testDeleteDatasourceRange.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 @testDeleteDatasourceRange(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = icmp sgt i32 %3, 0
br i1 %6, label %7, label %13
7: ; preds = %5, %7
%8 = phi i32 [ %11, %7 ], [ 0, %5 ]
%9 = add nsw i32 %8, %2
%10 = tail call i32 @testDeleteDatasource(ptr noundef %0, ptr noundef %1, i32 noundef %9, ptr noundef %4) #2
%11 = add nuw nsw i32 %8, 1
%12 = icmp eq i32 %11, %3
br i1 %12, label %13, label %7, !llvm.loop !6
13: ; preds = %7, %5
ret void
}
declare i32 @testDeleteDatasource(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| sqlcipher_ext_lsm1_lsm-test_extr_lsmtest3.c_testDeleteDatasourceRange |
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image.c_same_different_offset.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image.c_same_different_offset.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.image_fixture = type { ptr, i32, ptr, ptr }
%struct.TYPE_4__ = type { i32, i64, i32 }
%struct.TYPE_3__ = type { i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @same_different_offset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @same_different_offset(ptr noundef %0) #0 {
%2 = alloca [2 x i32], align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 876173328588, ptr %2, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds %struct.image_fixture, ptr %0, i64 0, i32 2
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @ifix_add_section(ptr noundef %0, i32 noundef %7) #3
%9 = tail call i32 @ptu_int_gt(i32 noundef %8, i32 noundef 0) #3
%10 = load ptr, ptr %4, align 8, !tbaa !5
%11 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = add nsw i64 %12, 16
%14 = sext i32 %8 to i64
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %14, i32 1
store i64 %13, ptr %15, align 8, !tbaa !14
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %14
%17 = load i32, ptr %16, align 8, !tbaa !15
%18 = load i32, ptr %10, align 8, !tbaa !15
%19 = tail call i32 @ptu_uint_eq(i32 noundef %17, i32 noundef %18) #3
%20 = getelementptr inbounds %struct.image_fixture, ptr %0, i64 0, i32 3
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %14
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %1
%26 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %14, i32 1
%27 = load ptr, ptr %26, align 8, !tbaa !19
br label %28
28: ; preds = %25, %28
%29 = phi i64 [ 0, %25 ], [ %33, %28 ]
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4, !tbaa !20
%32 = add nsw i32 %31, 16
store i32 %32, ptr %30, align 4, !tbaa !20
%33 = add nuw nsw i64 %29, 1
%34 = load i32, ptr %22, align 8, !tbaa !17
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %33, %35
br i1 %36, label %28, label %37, !llvm.loop !21
37: ; preds = %28, %1
%38 = getelementptr inbounds %struct.image_fixture, ptr %0, i64 0, i32 1
%39 = load ptr, ptr %4, align 8, !tbaa !5
%40 = load ptr, ptr %0, align 8, !tbaa !23
%41 = tail call i32 @pt_image_add(ptr noundef nonnull %38, ptr noundef %39, ptr noundef %40, i32 noundef 4096, i32 noundef 0) #3
%42 = tail call i32 @ptu_int_eq(i32 noundef %41, i32 noundef 0) #3
%43 = load ptr, ptr %4, align 8, !tbaa !5
%44 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %14
%45 = load ptr, ptr %0, align 8, !tbaa !23
%46 = tail call i32 @pt_image_add(ptr noundef nonnull %38, ptr noundef %44, ptr noundef %45, i32 noundef 4096, i32 noundef 0) #3
%47 = tail call i32 @ptu_int_eq(i32 noundef %46, i32 noundef 0) #3
store i32 -1, ptr %3, align 4, !tbaa !20
%48 = load ptr, ptr %0, align 8, !tbaa !23
%49 = call i32 @pt_image_read(ptr noundef nonnull %38, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1, ptr noundef %48, i32 noundef 4096) #3
%50 = call i32 @ptu_int_eq(i32 noundef %49, i32 noundef 1) #3
%51 = load i32, ptr %3, align 4, !tbaa !20
%52 = call i32 @ptu_int_eq(i32 noundef %51, i32 noundef 0) #3
%53 = load i32, ptr %2, align 8, !tbaa !20
%54 = call i32 @ptu_uint_eq(i32 noundef %53, i32 noundef 16) #3
%55 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%56 = load i32, ptr %55, align 4, !tbaa !20
%57 = call i32 @ptu_uint_eq(i32 noundef %56, i32 noundef 204) #3
store i32 -1, ptr %3, align 4, !tbaa !20
%58 = load ptr, ptr %0, align 8, !tbaa !23
%59 = call i32 @pt_image_read(ptr noundef nonnull %38, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1, ptr noundef %58, i32 noundef 4111) #3
%60 = call i32 @ptu_int_eq(i32 noundef %59, i32 noundef 1) #3
%61 = load i32, ptr %3, align 4, !tbaa !20
%62 = call i32 @ptu_int_eq(i32 noundef %61, i32 noundef 0) #3
%63 = load i32, ptr %2, align 8, !tbaa !20
%64 = call i32 @ptu_uint_eq(i32 noundef %63, i32 noundef 31) #3
%65 = load i32, ptr %55, align 4, !tbaa !20
%66 = call i32 @ptu_uint_eq(i32 noundef %65, i32 noundef 204) #3
%67 = call i32 (...) @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ifix_add_section(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_int_gt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_uint_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pt_image_add(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pt_image_read(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) 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 16}
!6 = !{!"image_fixture", !7, i64 0, !10, 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 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"TYPE_4__", !10, i64 0, !13, i64 8, !10, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !10, i64 0}
!16 = !{!6, !7, i64 24}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_3__", !10, i64 0, !7, i64 8}
!19 = !{!18, !7, i64 8}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image.c_same_different_offset.c'
source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-image.c_same_different_offset.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, i64, i32 }
%struct.TYPE_3__ = type { i32, ptr }
@llvm.used = appending global [1 x ptr] [ptr @same_different_offset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @same_different_offset(ptr noundef %0) #0 {
%2 = alloca [2 x i32], align 8
%3 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
store i64 876173328588, ptr %2, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %5, i64 16
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @ifix_add_section(ptr noundef %0, i32 noundef %7) #3
%9 = tail call i32 @ptu_int_gt(i32 noundef %8, i32 noundef 0) #3
%10 = load ptr, ptr %4, align 8, !tbaa !6
%11 = getelementptr inbounds i8, ptr %10, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !15
%13 = add nsw i64 %12, 16
%14 = sext i32 %8 to i64
%15 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %14, i32 1
store i64 %13, ptr %15, align 8, !tbaa !15
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %10, i64 %14
%17 = load i32, ptr %16, align 8, !tbaa !16
%18 = load i32, ptr %10, align 8, !tbaa !16
%19 = tail call i32 @ptu_uint_eq(i32 noundef %17, i32 noundef %18) #3
%20 = getelementptr inbounds i8, ptr %0, i64 24
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = getelementptr inbounds %struct.TYPE_3__, ptr %21, i64 %14
%23 = load i32, ptr %22, align 8, !tbaa !18
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %37
25: ; preds = %1
%26 = getelementptr inbounds i8, ptr %22, i64 8
%27 = load ptr, ptr %26, align 8, !tbaa !20
br label %28
28: ; preds = %25, %28
%29 = phi i64 [ 0, %25 ], [ %33, %28 ]
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4, !tbaa !21
%32 = add nsw i32 %31, 16
store i32 %32, ptr %30, align 4, !tbaa !21
%33 = add nuw nsw i64 %29, 1
%34 = load i32, ptr %22, align 8, !tbaa !18
%35 = sext i32 %34 to i64
%36 = icmp slt i64 %33, %35
br i1 %36, label %28, label %37, !llvm.loop !22
37: ; preds = %28, %1
%38 = getelementptr inbounds i8, ptr %0, i64 8
%39 = load ptr, ptr %4, align 8, !tbaa !6
%40 = load ptr, ptr %0, align 8, !tbaa !24
%41 = tail call i32 @pt_image_add(ptr noundef nonnull %38, ptr noundef %39, ptr noundef %40, i32 noundef 4096, i32 noundef 0) #3
%42 = tail call i32 @ptu_int_eq(i32 noundef %41, i32 noundef 0) #3
%43 = load ptr, ptr %4, align 8, !tbaa !6
%44 = getelementptr inbounds %struct.TYPE_4__, ptr %43, i64 %14
%45 = load ptr, ptr %0, align 8, !tbaa !24
%46 = tail call i32 @pt_image_add(ptr noundef nonnull %38, ptr noundef %44, ptr noundef %45, i32 noundef 4096, i32 noundef 0) #3
%47 = tail call i32 @ptu_int_eq(i32 noundef %46, i32 noundef 0) #3
store i32 -1, ptr %3, align 4, !tbaa !21
%48 = load ptr, ptr %0, align 8, !tbaa !24
%49 = call i32 @pt_image_read(ptr noundef nonnull %38, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1, ptr noundef %48, i32 noundef 4096) #3
%50 = call i32 @ptu_int_eq(i32 noundef %49, i32 noundef 1) #3
%51 = load i32, ptr %3, align 4, !tbaa !21
%52 = call i32 @ptu_int_eq(i32 noundef %51, i32 noundef 0) #3
%53 = load i32, ptr %2, align 8, !tbaa !21
%54 = call i32 @ptu_uint_eq(i32 noundef %53, i32 noundef 16) #3
%55 = getelementptr inbounds i8, ptr %2, i64 4
%56 = load i32, ptr %55, align 4, !tbaa !21
%57 = call i32 @ptu_uint_eq(i32 noundef %56, i32 noundef 204) #3
store i32 -1, ptr %3, align 4, !tbaa !21
%58 = load ptr, ptr %0, align 8, !tbaa !24
%59 = call i32 @pt_image_read(ptr noundef nonnull %38, ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 1, ptr noundef %58, i32 noundef 4111) #3
%60 = call i32 @ptu_int_eq(i32 noundef %59, i32 noundef 1) #3
%61 = load i32, ptr %3, align 4, !tbaa !21
%62 = call i32 @ptu_int_eq(i32 noundef %61, i32 noundef 0) #3
%63 = load i32, ptr %2, align 8, !tbaa !21
%64 = call i32 @ptu_uint_eq(i32 noundef %63, i32 noundef 31) #3
%65 = load i32, ptr %55, align 4, !tbaa !21
%66 = call i32 @ptu_uint_eq(i32 noundef %65, i32 noundef 204) #3
%67 = call i32 @ptu_passed() #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
ret i32 %67
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @ifix_add_section(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_int_gt(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_uint_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pt_image_add(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_int_eq(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pt_image_read(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ptu_passed(...) 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 16}
!7 = !{!"image_fixture", !8, i64 0, !11, 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 = !{!"int", !9, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"TYPE_4__", !11, i64 0, !14, i64 8, !11, i64 16}
!14 = !{!"long", !9, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !11, i64 0}
!17 = !{!7, !8, i64 24}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_3__", !11, i64 0, !8, i64 8}
!20 = !{!19, !8, i64 8}
!21 = !{!11, !11, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!7, !8, i64 0}
| freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-image.c_same_different_offset |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_ethtool.c_qede_get_channels.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_ethtool.c_qede_get_channels.c"
target datalayout = "e-m:e-p270:32:32-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.ethtool_channels = type { i64, i64, i64, ptr, ptr, ptr }
%struct.qede_dev = type { i64, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @qede_get_channels], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @qede_get_channels(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.ethtool_channels, ptr %1, i64 0, i32 5
store ptr %4, ptr %5, align 8, !tbaa !5
%6 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%7 = getelementptr inbounds %struct.ethtool_channels, ptr %1, i64 0, i32 4
store ptr %6, ptr %7, align 8, !tbaa !11
%8 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%9 = getelementptr inbounds %struct.ethtool_channels, ptr %1, i64 0, i32 3
store ptr %8, ptr %9, align 8, !tbaa !12
%10 = tail call i64 @QEDE_QUEUE_CNT(ptr noundef %3) #2
%11 = getelementptr inbounds %struct.qede_dev, ptr %3, i64 0, i32 1
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = load i64, ptr %3, align 8, !tbaa !15
%14 = add i64 %12, %13
%15 = sub i64 %10, %14
%16 = getelementptr inbounds %struct.ethtool_channels, ptr %1, i64 0, i32 2
store i64 %15, ptr %16, align 8, !tbaa !16
%17 = getelementptr inbounds %struct.ethtool_channels, ptr %1, i64 0, i32 1
store i64 %12, ptr %17, align 8, !tbaa !17
store i64 %13, ptr %1, align 8, !tbaa !18
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @QEDE_MAX_RSS_CNT(ptr noundef) local_unnamed_addr #1
declare i64 @QEDE_QUEUE_CNT(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 = !{!"ethtool_channels", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!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 32}
!12 = !{!6, !10, i64 24}
!13 = !{!14, !7, i64 8}
!14 = !{!"qede_dev", !7, i64 0, !7, i64 8}
!15 = !{!14, !7, i64 0}
!16 = !{!6, !7, i64 16}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_ethtool.c_qede_get_channels.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_ethtool.c_qede_get_channels.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 @qede_get_channels], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @qede_get_channels(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #2
%4 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %1, i64 40
store ptr %4, ptr %5, align 8, !tbaa !6
%6 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%7 = getelementptr inbounds i8, ptr %1, i64 32
store ptr %6, ptr %7, align 8, !tbaa !12
%8 = tail call ptr @QEDE_MAX_RSS_CNT(ptr noundef %3) #2
%9 = getelementptr inbounds i8, ptr %1, i64 24
store ptr %8, ptr %9, align 8, !tbaa !13
%10 = tail call i64 @QEDE_QUEUE_CNT(ptr noundef %3) #2
%11 = getelementptr inbounds i8, ptr %3, i64 8
%12 = load i64, ptr %11, align 8, !tbaa !14
%13 = load i64, ptr %3, align 8, !tbaa !16
%14 = add i64 %12, %13
%15 = sub i64 %10, %14
%16 = getelementptr inbounds i8, ptr %1, i64 16
store i64 %15, ptr %16, align 8, !tbaa !17
%17 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %12, ptr %17, align 8, !tbaa !18
store i64 %13, ptr %1, align 8, !tbaa !19
ret void
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare ptr @QEDE_MAX_RSS_CNT(ptr noundef) local_unnamed_addr #1
declare i64 @QEDE_QUEUE_CNT(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 = !{!"ethtool_channels", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!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 32}
!13 = !{!7, !11, i64 24}
!14 = !{!15, !8, i64 8}
!15 = !{!"qede_dev", !8, i64 0, !8, i64 8}
!16 = !{!15, !8, i64 0}
!17 = !{!7, !8, i64 16}
!18 = !{!7, !8, i64 8}
!19 = !{!7, !8, i64 0}
| linux_drivers_net_ethernet_qlogic_qede_extr_qede_ethtool.c_qede_get_channels |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_cmn.c_bnx2x_calc_num_queues.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_cmn.c_bnx2x_calc_num_queues.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@bnx2x_num_queues = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_calc_num_queues], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bnx2x_calc_num_queues(ptr noundef %0) #0 {
%2 = load i64, ptr @bnx2x_num_queues, align 8, !tbaa !5
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 (...) @netif_get_num_default_rss_queues() #2
%6 = zext i32 %5 to i64
br label %7
7: ; preds = %1, %4
%8 = phi i64 [ %6, %4 ], [ %2, %1 ]
%9 = trunc i64 %8 to i32
%10 = tail call i64 (...) @is_kdump_kernel() #2
%11 = icmp eq i64 %10, 0
%12 = select i1 %11, i32 %9, i32 1
%13 = tail call i32 @BNX2X_MAX_QUEUES(ptr noundef %0) #2
%14 = tail call i32 @clamp(i32 noundef %12, i32 noundef 1, i32 noundef %13) #2
ret i32 %14
}
declare i32 @netif_get_num_default_rss_queues(...) local_unnamed_addr #1
declare i64 @is_kdump_kernel(...) local_unnamed_addr #1
declare i32 @clamp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BNX2X_MAX_QUEUES(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_cmn.c_bnx2x_calc_num_queues.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_cmn.c_bnx2x_calc_num_queues.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@bnx2x_num_queues = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @bnx2x_calc_num_queues], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bnx2x_calc_num_queues(ptr noundef %0) #0 {
%2 = load i64, ptr @bnx2x_num_queues, align 8, !tbaa !6
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = tail call i32 @netif_get_num_default_rss_queues() #2
%6 = zext i32 %5 to i64
br label %7
7: ; preds = %1, %4
%8 = phi i64 [ %6, %4 ], [ %2, %1 ]
%9 = trunc i64 %8 to i32
%10 = tail call i64 @is_kdump_kernel() #2
%11 = icmp eq i64 %10, 0
%12 = select i1 %11, i32 %9, i32 1
%13 = tail call i32 @BNX2X_MAX_QUEUES(ptr noundef %0) #2
%14 = tail call i32 @clamp(i32 noundef %12, i32 noundef 1, i32 noundef %13) #2
ret i32 %14
}
declare i32 @netif_get_num_default_rss_queues(...) local_unnamed_addr #1
declare i64 @is_kdump_kernel(...) local_unnamed_addr #1
declare i32 @clamp(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @BNX2X_MAX_QUEUES(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_cmn.c_bnx2x_calc_num_queues |
; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_XLogNeedsFlush.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_XLogNeedsFlush.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64 }
%struct.TYPE_6__ = type { i64, i32 }
%struct.TYPE_4__ = type { i32, %struct.TYPE_5__ }
@minRecoveryPoint = dso_local local_unnamed_addr global i64 0, align 8
@InRecovery = dso_local local_unnamed_addr global i64 0, align 8
@updateMinRecoveryPoint = dso_local local_unnamed_addr global i32 0, align 4
@ControlFileLock = dso_local local_unnamed_addr global i32 0, align 4
@LW_SHARED = dso_local local_unnamed_addr global i32 0, align 4
@ControlFile = dso_local local_unnamed_addr global ptr null, align 8
@minRecoveryPointTLI = dso_local local_unnamed_addr global i32 0, align 4
@LogwrtResult = dso_local local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@XLogCtl = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @XLogNeedsFlush(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 (...) @RecoveryInProgress() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %42, label %4
4: ; preds = %1
%5 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !5
%6 = tail call i64 @XLogRecPtrIsInvalid(i64 noundef %5) #2
%7 = icmp ne i64 %6, 0
%8 = load i64, ptr @InRecovery, align 8
%9 = icmp ne i64 %8, 0
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %12
11: ; preds = %4
store i32 0, ptr @updateMinRecoveryPoint, align 4, !tbaa !9
br label %54
12: ; preds = %4
%13 = load i32, ptr @updateMinRecoveryPoint, align 4
%14 = icmp ne i32 %13, 0
%15 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !5
%16 = icmp slt i64 %15, %0
%17 = select i1 %16, i1 %14, i1 false
br i1 %17, label %18, label %54
18: ; preds = %12
%19 = load i32, ptr @ControlFileLock, align 4, !tbaa !9
%20 = load i32, ptr @LW_SHARED, align 4, !tbaa !9
%21 = tail call i32 @LWLockConditionalAcquire(i32 noundef %19, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %54, label %23
23: ; preds = %18
%24 = load ptr, ptr @ControlFile, align 8, !tbaa !11
%25 = load i64, ptr %24, align 8, !tbaa !13
store i64 %25, ptr @minRecoveryPoint, align 8, !tbaa !5
%26 = getelementptr inbounds %struct.TYPE_6__, ptr %24, i64 0, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !15
store i32 %27, ptr @minRecoveryPointTLI, align 4, !tbaa !9
%28 = load i32, ptr @ControlFileLock, align 4, !tbaa !9
%29 = tail call i32 @LWLockRelease(i32 noundef %28) #2
%30 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !5
%31 = tail call i64 @XLogRecPtrIsInvalid(i64 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %23
%34 = load i32, ptr @updateMinRecoveryPoint, align 4
%35 = icmp ne i32 %34, 0
br label %37
36: ; preds = %23
store i32 0, ptr @updateMinRecoveryPoint, align 4, !tbaa !9
br label %37
37: ; preds = %33, %36
%38 = phi i1 [ %35, %33 ], [ false, %36 ]
%39 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !5
%40 = icmp slt i64 %39, %0
%41 = select i1 %40, i1 %38, i1 false
br label %54
42: ; preds = %1
%43 = load i64, ptr @LogwrtResult, align 8, !tbaa !16
%44 = icmp slt i64 %43, %0
br i1 %44, label %45, label %54
45: ; preds = %42
%46 = load ptr, ptr @XLogCtl, align 8, !tbaa !11
%47 = tail call i32 @SpinLockAcquire(ptr noundef %46) #2
%48 = load ptr, ptr @XLogCtl, align 8, !tbaa !11
%49 = getelementptr inbounds %struct.TYPE_4__, ptr %48, i64 0, i32 1
%50 = load i64, ptr %49, align 8, !tbaa !5
store i64 %50, ptr @LogwrtResult, align 8, !tbaa !5
%51 = tail call i32 @SpinLockRelease(ptr noundef %48) #2
%52 = load i64, ptr @LogwrtResult, align 8, !tbaa !16
%53 = icmp slt i64 %52, %0
br label %54
54: ; preds = %11, %45, %42, %37, %18, %12
%55 = phi i1 [ false, %12 ], [ true, %18 ], [ %41, %37 ], [ false, %42 ], [ %53, %45 ], [ false, %11 ]
%56 = zext i1 %55 to i32
ret i32 %56
}
declare i64 @RecoveryInProgress(...) local_unnamed_addr #1
declare i64 @XLogRecPtrIsInvalid(i64 noundef) local_unnamed_addr #1
declare i32 @LWLockConditionalAcquire(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWLockRelease(i32 noundef) local_unnamed_addr #1
declare i32 @SpinLockAcquire(ptr noundef) local_unnamed_addr #1
declare i32 @SpinLockRelease(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, !6, i64 0}
!14 = !{!"TYPE_6__", !6, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"TYPE_5__", !6, i64 0}
| ; ModuleID = 'AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_XLogNeedsFlush.c'
source_filename = "AnghaBench/postgres/src/backend/access/transam/extr_xlog.c_XLogNeedsFlush.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_5__ = type { i64 }
@minRecoveryPoint = common local_unnamed_addr global i64 0, align 8
@InRecovery = common local_unnamed_addr global i64 0, align 8
@updateMinRecoveryPoint = common local_unnamed_addr global i32 0, align 4
@ControlFileLock = common local_unnamed_addr global i32 0, align 4
@LW_SHARED = common local_unnamed_addr global i32 0, align 4
@ControlFile = common local_unnamed_addr global ptr null, align 8
@minRecoveryPointTLI = common local_unnamed_addr global i32 0, align 4
@LogwrtResult = common local_unnamed_addr global %struct.TYPE_5__ zeroinitializer, align 8
@XLogCtl = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @XLogNeedsFlush(i64 noundef %0) local_unnamed_addr #0 {
%2 = tail call i64 @RecoveryInProgress() #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %42, label %4
4: ; preds = %1
%5 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !6
%6 = tail call i64 @XLogRecPtrIsInvalid(i64 noundef %5) #2
%7 = icmp ne i64 %6, 0
%8 = load i64, ptr @InRecovery, align 8
%9 = icmp ne i64 %8, 0
%10 = select i1 %7, i1 %9, i1 false
br i1 %10, label %11, label %12
11: ; preds = %4
store i32 0, ptr @updateMinRecoveryPoint, align 4, !tbaa !10
br label %54
12: ; preds = %4
%13 = load i32, ptr @updateMinRecoveryPoint, align 4
%14 = icmp ne i32 %13, 0
%15 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !6
%16 = icmp slt i64 %15, %0
%17 = select i1 %16, i1 %14, i1 false
br i1 %17, label %18, label %54
18: ; preds = %12
%19 = load i32, ptr @ControlFileLock, align 4, !tbaa !10
%20 = load i32, ptr @LW_SHARED, align 4, !tbaa !10
%21 = tail call i32 @LWLockConditionalAcquire(i32 noundef %19, i32 noundef %20) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %54, label %23
23: ; preds = %18
%24 = load ptr, ptr @ControlFile, align 8, !tbaa !12
%25 = load i64, ptr %24, align 8, !tbaa !14
store i64 %25, ptr @minRecoveryPoint, align 8, !tbaa !6
%26 = getelementptr inbounds i8, ptr %24, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !16
store i32 %27, ptr @minRecoveryPointTLI, align 4, !tbaa !10
%28 = load i32, ptr @ControlFileLock, align 4, !tbaa !10
%29 = tail call i32 @LWLockRelease(i32 noundef %28) #2
%30 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !6
%31 = tail call i64 @XLogRecPtrIsInvalid(i64 noundef %30) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %23
%34 = load i32, ptr @updateMinRecoveryPoint, align 4
%35 = icmp ne i32 %34, 0
br label %37
36: ; preds = %23
store i32 0, ptr @updateMinRecoveryPoint, align 4, !tbaa !10
br label %37
37: ; preds = %33, %36
%38 = phi i1 [ %35, %33 ], [ false, %36 ]
%39 = load i64, ptr @minRecoveryPoint, align 8, !tbaa !6
%40 = icmp slt i64 %39, %0
%41 = select i1 %40, i1 %38, i1 false
br label %54
42: ; preds = %1
%43 = load i64, ptr @LogwrtResult, align 8, !tbaa !17
%44 = icmp slt i64 %43, %0
br i1 %44, label %45, label %54
45: ; preds = %42
%46 = load ptr, ptr @XLogCtl, align 8, !tbaa !12
%47 = tail call i32 @SpinLockAcquire(ptr noundef %46) #2
%48 = load ptr, ptr @XLogCtl, align 8, !tbaa !12
%49 = getelementptr inbounds i8, ptr %48, i64 8
%50 = load i64, ptr %49, align 8, !tbaa !6
store i64 %50, ptr @LogwrtResult, align 8, !tbaa !6
%51 = tail call i32 @SpinLockRelease(ptr noundef %48) #2
%52 = load i64, ptr @LogwrtResult, align 8, !tbaa !17
%53 = icmp slt i64 %52, %0
br label %54
54: ; preds = %11, %45, %42, %37, %18, %12
%55 = phi i1 [ false, %12 ], [ true, %18 ], [ %41, %37 ], [ false, %42 ], [ %53, %45 ], [ false, %11 ]
%56 = zext i1 %55 to i32
ret i32 %56
}
declare i64 @RecoveryInProgress(...) local_unnamed_addr #1
declare i64 @XLogRecPtrIsInvalid(i64 noundef) local_unnamed_addr #1
declare i32 @LWLockConditionalAcquire(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @LWLockRelease(i32 noundef) local_unnamed_addr #1
declare i32 @SpinLockAcquire(ptr noundef) local_unnamed_addr #1
declare i32 @SpinLockRelease(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, !7, i64 0}
!15 = !{!"TYPE_6__", !7, i64 0, !11, i64 8}
!16 = !{!15, !11, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_5__", !7, i64 0}
| postgres_src_backend_access_transam_extr_xlog.c_XLogNeedsFlush |
; ModuleID = 'AnghaBench/git/extr_pack-objects.h_oe_set_delta_sibling.c'
source_filename = "AnghaBench/git/extr_pack-objects.h_oe_set_delta_sibling.c"
target datalayout = "e-m:e-p270:32:32-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 @oe_set_delta_sibling], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal void @oe_set_delta_sibling(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %2, null
br i1 %4, label %13, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !5
%7 = ptrtoint ptr %2 to i64
%8 = ptrtoint ptr %6 to i64
%9 = sub i64 %7, %8
%10 = lshr exact i64 %9, 2
%11 = trunc i64 %10 to i32
%12 = add i32 %11, 1
br label %13
13: ; preds = %3, %5
%14 = phi i32 [ %12, %5 ], [ 0, %3 ]
store i32 %14, ptr %1, align 4, !tbaa !10
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"packing_data", !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 = !{!"object_entry", !12, i64 0}
!12 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/git/extr_pack-objects.h_oe_set_delta_sibling.c'
source_filename = "AnghaBench/git/extr_pack-objects.h_oe_set_delta_sibling.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 @oe_set_delta_sibling], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal void @oe_set_delta_sibling(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %2, null
br i1 %4, label %13, label %5
5: ; preds = %3
%6 = load ptr, ptr %0, align 8, !tbaa !6
%7 = ptrtoint ptr %2 to i64
%8 = ptrtoint ptr %6 to i64
%9 = sub i64 %7, %8
%10 = lshr exact i64 %9, 2
%11 = trunc i64 %10 to i32
%12 = add i32 %11, 1
br label %13
13: ; preds = %3, %5
%14 = phi i32 [ %12, %5 ], [ 0, %3 ]
store i32 %14, ptr %1, align 4, !tbaa !11
ret void
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"packing_data", !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 = !{!"object_entry", !13, i64 0}
!13 = !{!"int", !9, i64 0}
| git_extr_pack-objects.h_oe_set_delta_sibling |
; ModuleID = 'AnghaBench/lab/engine/code/qcommon/extr_cvar.c_Cvar_Unset_f.c'
source_filename = "AnghaBench/lab/engine/code/qcommon/extr_cvar.c_Cvar_Unset_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i32, i32 }
@.str = private unnamed_addr constant [21 x i8] c"Usage: %s <varname>\0A\00", align 1
@CVAR_USER_CREATED = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Error: %s: Variable %s is not user created.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @Cvar_Unset_f() local_unnamed_addr #0 {
%1 = tail call i32 (...) @Cmd_Argc() #2
%2 = icmp eq i32 %1, 2
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @Cmd_Argv(i32 noundef 0) #2
%5 = tail call i32 (ptr, i32, ...) @Com_Printf(ptr noundef nonnull @.str, i32 noundef %4) #2
br label %22
6: ; preds = %0
%7 = tail call i32 @Cmd_Argv(i32 noundef 1) #2
%8 = tail call ptr @Cvar_FindVar(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %22, label %10
10: ; preds = %6
%11 = load i32, ptr %8, align 4, !tbaa !5
%12 = load i32, ptr @CVAR_USER_CREATED, align 4, !tbaa !10
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %10
%16 = tail call i32 @Cvar_Unset(ptr noundef nonnull %8) #2
br label %22
17: ; preds = %10
%18 = tail call i32 @Cmd_Argv(i32 noundef 0) #2
%19 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i64 0, i32 1
%20 = load i32, ptr %19, align 4, !tbaa !11
%21 = tail call i32 (ptr, i32, ...) @Com_Printf(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %20) #2
br label %22
22: ; preds = %15, %17, %6, %3
ret void
}
declare i32 @Cmd_Argc(...) local_unnamed_addr #1
declare i32 @Com_Printf(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @Cmd_Argv(i32 noundef) local_unnamed_addr #1
declare ptr @Cvar_FindVar(i32 noundef) local_unnamed_addr #1
declare i32 @Cvar_Unset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/lab/engine/code/qcommon/extr_cvar.c_Cvar_Unset_f.c'
source_filename = "AnghaBench/lab/engine/code/qcommon/extr_cvar.c_Cvar_Unset_f.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 [21 x i8] c"Usage: %s <varname>\0A\00", align 1
@CVAR_USER_CREATED = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"Error: %s: Variable %s is not user created.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @Cvar_Unset_f() local_unnamed_addr #0 {
%1 = tail call i32 @Cmd_Argc() #2
%2 = icmp eq i32 %1, 2
br i1 %2, label %6, label %3
3: ; preds = %0
%4 = tail call i32 @Cmd_Argv(i32 noundef 0) #2
%5 = tail call i32 (ptr, i32, ...) @Com_Printf(ptr noundef nonnull @.str, i32 noundef %4) #2
br label %22
6: ; preds = %0
%7 = tail call i32 @Cmd_Argv(i32 noundef 1) #2
%8 = tail call ptr @Cvar_FindVar(i32 noundef %7) #2
%9 = icmp eq ptr %8, null
br i1 %9, label %22, label %10
10: ; preds = %6
%11 = load i32, ptr %8, align 4, !tbaa !6
%12 = load i32, ptr @CVAR_USER_CREATED, align 4, !tbaa !11
%13 = and i32 %12, %11
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %10
%16 = tail call i32 @Cvar_Unset(ptr noundef nonnull %8) #2
br label %22
17: ; preds = %10
%18 = tail call i32 @Cmd_Argv(i32 noundef 0) #2
%19 = getelementptr inbounds i8, ptr %8, i64 4
%20 = load i32, ptr %19, align 4, !tbaa !12
%21 = tail call i32 (ptr, i32, ...) @Com_Printf(ptr noundef nonnull @.str.1, i32 noundef %18, i32 noundef %20) #2
br label %22
22: ; preds = %15, %17, %6, %3
ret void
}
declare i32 @Cmd_Argc(...) local_unnamed_addr #1
declare i32 @Com_Printf(ptr noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @Cmd_Argv(i32 noundef) local_unnamed_addr #1
declare ptr @Cvar_FindVar(i32 noundef) local_unnamed_addr #1
declare i32 @Cvar_Unset(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
| lab_engine_code_qcommon_extr_cvar.c_Cvar_Unset_f |
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_broadcom.c_brcm_fet_config_init.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_broadcom.c_brcm_fet_config_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"
@MII_BMCR = dso_local local_unnamed_addr global i32 0, align 4
@BMCR_RESET = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_INTREG = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_DUPLEX_EN = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_SPEED_EN = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_LINK_EN = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_BRCMTEST = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_BT_SRE = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AUXMODE4 = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AM4_LED_MASK = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AM4_LED_MODE1 = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_MISCCTRL = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_MC_FAME = dso_local local_unnamed_addr global i32 0, align 4
@PHY_BRCM_AUTO_PWRDWN_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AUXSTAT2 = dso_local local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AS2_APDE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @brcm_fet_config_init], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @brcm_fet_config_init(ptr noundef %0) #0 {
%2 = load i32, ptr @MII_BMCR, align 4, !tbaa !5
%3 = load i32, ptr @BMCR_RESET, align 4, !tbaa !5
%4 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %66, label %6
6: ; preds = %1
%7 = load i32, ptr @MII_BRCM_FET_INTREG, align 4, !tbaa !5
%8 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %7) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %66, label %10
10: ; preds = %6
%11 = load i32, ptr @MII_BRCM_FET_IR_DUPLEX_EN, align 4, !tbaa !5
%12 = load i32, ptr @MII_BRCM_FET_IR_SPEED_EN, align 4, !tbaa !5
%13 = or i32 %12, %11
%14 = load i32, ptr @MII_BRCM_FET_IR_LINK_EN, align 4, !tbaa !5
%15 = or i32 %13, %14
%16 = load i32, ptr @MII_BRCM_FET_IR_ENABLE, align 4, !tbaa !5
%17 = or i32 %15, %16
%18 = load i32, ptr @MII_BRCM_FET_IR_MASK, align 4, !tbaa !5
%19 = or i32 %17, %18
%20 = load i32, ptr @MII_BRCM_FET_INTREG, align 4, !tbaa !5
%21 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %20, i32 noundef %19) #2
%22 = icmp slt i32 %21, 0
br i1 %22, label %66, label %23
23: ; preds = %10
%24 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !5
%25 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %24) #2
%26 = icmp slt i32 %25, 0
br i1 %26, label %66, label %27
27: ; preds = %23
%28 = load i32, ptr @MII_BRCM_FET_BT_SRE, align 4, !tbaa !5
%29 = or i32 %28, %25
%30 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !5
%31 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %30, i32 noundef %29) #2
%32 = icmp slt i32 %31, 0
br i1 %32, label %66, label %33
33: ; preds = %27
%34 = load i32, ptr @MII_BRCM_FET_SHDW_AUXMODE4, align 4, !tbaa !5
%35 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %34) #2
%36 = icmp slt i32 %35, 0
br i1 %36, label %60, label %37
37: ; preds = %33
%38 = load i32, ptr @MII_BRCM_FET_SHDW_AM4_LED_MASK, align 4, !tbaa !5
%39 = xor i32 %38, -1
%40 = and i32 %35, %39
%41 = load i32, ptr @MII_BRCM_FET_SHDW_AM4_LED_MODE1, align 4, !tbaa !5
%42 = or i32 %40, %41
%43 = load i32, ptr @MII_BRCM_FET_SHDW_AUXMODE4, align 4, !tbaa !5
%44 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %43, i32 noundef %42) #2
%45 = icmp slt i32 %44, 0
br i1 %45, label %60, label %46
46: ; preds = %37
%47 = load i32, ptr @MII_BRCM_FET_SHDW_MISCCTRL, align 4, !tbaa !5
%48 = load i32, ptr @MII_BRCM_FET_SHDW_MC_FAME, align 4, !tbaa !5
%49 = tail call i32 @brcm_phy_setbits(ptr noundef %0, i32 noundef %47, i32 noundef %48) #2
%50 = icmp slt i32 %49, 0
br i1 %50, label %60, label %51
51: ; preds = %46
%52 = load i32, ptr %0, align 4, !tbaa !9
%53 = load i32, ptr @PHY_BRCM_AUTO_PWRDWN_ENABLE, align 4, !tbaa !5
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %60, label %56
56: ; preds = %51
%57 = load i32, ptr @MII_BRCM_FET_SHDW_AUXSTAT2, align 4, !tbaa !5
%58 = load i32, ptr @MII_BRCM_FET_SHDW_AS2_APDE, align 4, !tbaa !5
%59 = tail call i32 @brcm_phy_setbits(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2
br label %60
60: ; preds = %33, %51, %56, %46, %37
%61 = phi i32 [ %44, %37 ], [ %49, %46 ], [ %59, %56 ], [ %49, %51 ], [ %35, %33 ]
%62 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !5
%63 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %62, i32 noundef %25) #2
%64 = icmp eq i32 %61, 0
%65 = select i1 %64, i32 %63, i32 %61
br label %66
66: ; preds = %27, %23, %10, %6, %1, %60
%67 = phi i32 [ %65, %60 ], [ %4, %1 ], [ %8, %6 ], [ %21, %10 ], [ %25, %23 ], [ %31, %27 ]
ret i32 %67
}
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
declare i32 @brcm_phy_setbits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"phy_device", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_broadcom.c_brcm_fet_config_init.c'
source_filename = "AnghaBench/linux/drivers/net/phy/extr_broadcom.c_brcm_fet_config_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MII_BMCR = common local_unnamed_addr global i32 0, align 4
@BMCR_RESET = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_INTREG = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_DUPLEX_EN = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_SPEED_EN = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_LINK_EN = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_ENABLE = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_IR_MASK = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_BRCMTEST = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_BT_SRE = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AUXMODE4 = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AM4_LED_MASK = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AM4_LED_MODE1 = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_MISCCTRL = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_MC_FAME = common local_unnamed_addr global i32 0, align 4
@PHY_BRCM_AUTO_PWRDWN_ENABLE = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AUXSTAT2 = common local_unnamed_addr global i32 0, align 4
@MII_BRCM_FET_SHDW_AS2_APDE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @brcm_fet_config_init], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @brcm_fet_config_init(ptr noundef %0) #0 {
%2 = load i32, ptr @MII_BMCR, align 4, !tbaa !6
%3 = load i32, ptr @BMCR_RESET, align 4, !tbaa !6
%4 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %66, label %6
6: ; preds = %1
%7 = load i32, ptr @MII_BRCM_FET_INTREG, align 4, !tbaa !6
%8 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %7) #2
%9 = icmp slt i32 %8, 0
br i1 %9, label %66, label %10
10: ; preds = %6
%11 = load i32, ptr @MII_BRCM_FET_IR_DUPLEX_EN, align 4, !tbaa !6
%12 = load i32, ptr @MII_BRCM_FET_IR_SPEED_EN, align 4, !tbaa !6
%13 = or i32 %12, %11
%14 = load i32, ptr @MII_BRCM_FET_IR_LINK_EN, align 4, !tbaa !6
%15 = or i32 %13, %14
%16 = load i32, ptr @MII_BRCM_FET_IR_ENABLE, align 4, !tbaa !6
%17 = or i32 %15, %16
%18 = load i32, ptr @MII_BRCM_FET_IR_MASK, align 4, !tbaa !6
%19 = or i32 %17, %18
%20 = load i32, ptr @MII_BRCM_FET_INTREG, align 4, !tbaa !6
%21 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %20, i32 noundef %19) #2
%22 = icmp slt i32 %21, 0
br i1 %22, label %66, label %23
23: ; preds = %10
%24 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !6
%25 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %24) #2
%26 = icmp slt i32 %25, 0
br i1 %26, label %66, label %27
27: ; preds = %23
%28 = load i32, ptr @MII_BRCM_FET_BT_SRE, align 4, !tbaa !6
%29 = or i32 %28, %25
%30 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !6
%31 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %30, i32 noundef %29) #2
%32 = icmp slt i32 %31, 0
br i1 %32, label %66, label %33
33: ; preds = %27
%34 = load i32, ptr @MII_BRCM_FET_SHDW_AUXMODE4, align 4, !tbaa !6
%35 = tail call i32 @phy_read(ptr noundef %0, i32 noundef %34) #2
%36 = icmp slt i32 %35, 0
br i1 %36, label %60, label %37
37: ; preds = %33
%38 = load i32, ptr @MII_BRCM_FET_SHDW_AM4_LED_MASK, align 4, !tbaa !6
%39 = xor i32 %38, -1
%40 = and i32 %35, %39
%41 = load i32, ptr @MII_BRCM_FET_SHDW_AM4_LED_MODE1, align 4, !tbaa !6
%42 = or i32 %40, %41
%43 = load i32, ptr @MII_BRCM_FET_SHDW_AUXMODE4, align 4, !tbaa !6
%44 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %43, i32 noundef %42) #2
%45 = icmp slt i32 %44, 0
br i1 %45, label %60, label %46
46: ; preds = %37
%47 = load i32, ptr @MII_BRCM_FET_SHDW_MISCCTRL, align 4, !tbaa !6
%48 = load i32, ptr @MII_BRCM_FET_SHDW_MC_FAME, align 4, !tbaa !6
%49 = tail call i32 @brcm_phy_setbits(ptr noundef %0, i32 noundef %47, i32 noundef %48) #2
%50 = icmp slt i32 %49, 0
br i1 %50, label %60, label %51
51: ; preds = %46
%52 = load i32, ptr %0, align 4, !tbaa !10
%53 = load i32, ptr @PHY_BRCM_AUTO_PWRDWN_ENABLE, align 4, !tbaa !6
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
br i1 %55, label %60, label %56
56: ; preds = %51
%57 = load i32, ptr @MII_BRCM_FET_SHDW_AUXSTAT2, align 4, !tbaa !6
%58 = load i32, ptr @MII_BRCM_FET_SHDW_AS2_APDE, align 4, !tbaa !6
%59 = tail call i32 @brcm_phy_setbits(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %58) #2
br label %60
60: ; preds = %33, %51, %56, %46, %37
%61 = phi i32 [ %44, %37 ], [ %49, %46 ], [ %59, %56 ], [ %49, %51 ], [ %35, %33 ]
%62 = load i32, ptr @MII_BRCM_FET_BRCMTEST, align 4, !tbaa !6
%63 = tail call i32 @phy_write(ptr noundef %0, i32 noundef %62, i32 noundef %25) #2
%64 = icmp eq i32 %61, 0
%65 = select i1 %64, i32 %63, i32 %61
br label %66
66: ; preds = %27, %23, %10, %6, %1, %60
%67 = phi i32 [ %65, %60 ], [ %4, %1 ], [ %8, %6 ], [ %21, %10 ], [ %25, %23 ], [ %31, %27 ]
ret i32 %67
}
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
declare i32 @brcm_phy_setbits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"phy_device", !7, i64 0}
| linux_drivers_net_phy_extr_broadcom.c_brcm_fet_config_init |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_lbs_mesh_stop.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_lbs_mesh_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"
@CMD_ACT_MESH_CONFIG_STOP = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lbs_mesh_stop], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @lbs_mesh_stop(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load i32, ptr @CMD_ACT_MESH_CONFIG_STOP, align 4, !tbaa !10
%4 = tail call i32 @lbs_mesh_get_channel(ptr noundef %2) #2
%5 = tail call i32 @lbs_mesh_config(ptr noundef %2, i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @spin_lock_irq(ptr noundef %2) #2
%7 = tail call i32 @netif_stop_queue(ptr noundef nonnull %0) #2
%8 = tail call i32 @netif_carrier_off(ptr noundef nonnull %0) #2
%9 = tail call i32 @spin_unlock_irq(ptr noundef %2) #2
%10 = tail call i32 @lbs_update_mcast(ptr noundef %2) #2
%11 = tail call i32 @lbs_iface_active(ptr noundef %2) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = tail call i32 @lbs_stop_iface(ptr noundef %2) #2
br label %15
15: ; preds = %13, %1
ret i32 0
}
declare i32 @lbs_mesh_config(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lbs_mesh_get_channel(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_update_mcast(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_iface_active(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_stop_iface(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 = !{!"net_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_lbs_mesh_stop.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_mesh.c_lbs_mesh_stop.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CMD_ACT_MESH_CONFIG_STOP = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lbs_mesh_stop], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @lbs_mesh_stop(ptr noundef %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load i32, ptr @CMD_ACT_MESH_CONFIG_STOP, align 4, !tbaa !11
%4 = tail call i32 @lbs_mesh_get_channel(ptr noundef %2) #2
%5 = tail call i32 @lbs_mesh_config(ptr noundef %2, i32 noundef %3, i32 noundef %4) #2
%6 = tail call i32 @spin_lock_irq(ptr noundef %2) #2
%7 = tail call i32 @netif_stop_queue(ptr noundef nonnull %0) #2
%8 = tail call i32 @netif_carrier_off(ptr noundef nonnull %0) #2
%9 = tail call i32 @spin_unlock_irq(ptr noundef %2) #2
%10 = tail call i32 @lbs_update_mcast(ptr noundef %2) #2
%11 = tail call i32 @lbs_iface_active(ptr noundef %2) #2
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %1
%14 = tail call i32 @lbs_stop_iface(ptr noundef %2) #2
br label %15
15: ; preds = %13, %1
ret i32 0
}
declare i32 @lbs_mesh_config(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @lbs_mesh_get_channel(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @netif_stop_queue(ptr noundef) local_unnamed_addr #1
declare i32 @netif_carrier_off(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_update_mcast(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_iface_active(ptr noundef) local_unnamed_addr #1
declare i32 @lbs_stop_iface(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 = !{!"net_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| linux_drivers_net_wireless_marvell_libertas_extr_mesh.c_lbs_mesh_stop |
; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_set_setup_payload.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_set_setup_payload.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, ptr }
@udd_g_ctrlreq = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @udd_set_setup_payload(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
store ptr %0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @udd_g_ctrlreq, i64 0, i32 1), align 8, !tbaa !5
store i32 %1, ptr @udd_g_ctrlreq, align 8, !tbaa !11
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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, !10, i64 8}
!6 = !{!"TYPE_2__", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_set_setup_payload.c'
source_filename = "AnghaBench/qmk_firmware/tmk_core/protocol/arm_atsam/usb/extr_usb_device_udd.c_udd_set_setup_payload.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_2__ = type { i32, ptr }
@udd_g_ctrlreq = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync)
define void @udd_set_setup_payload(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
store ptr %0, ptr getelementptr inbounds (i8, ptr @udd_g_ctrlreq, i64 8), align 8, !tbaa !6
store i32 %1, ptr @udd_g_ctrlreq, align 8, !tbaa !12
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, 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, !11, i64 8}
!7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
| qmk_firmware_tmk_core_protocol_arm_atsam_usb_extr_usb_device_udd.c_udd_set_setup_payload |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_display.c_nv50_crtc_set_color_vibrance.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_display.c_nv50_crtc_set_color_vibrance.c"
target datalayout = "e-m:e-p270:32:32-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.nouveau_crtc = type { i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@NVD0_DISP_MAST_CLASS = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @nv50_crtc_set_color_vibrance], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @nv50_crtc_set_color_vibrance(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.nouveau_crtc, ptr %0, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @nv50_mast(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = getelementptr inbounds %struct.nouveau_crtc, ptr %0, i64 0, i32 1
%8 = load i32, ptr %7, align 4, !tbaa !12
%9 = tail call ptr @evo_wait(ptr noundef %5, i32 noundef 16) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %41, label %11
11: ; preds = %2
%12 = mul nsw i32 %8, 2047
%13 = sdiv i32 %12, 100
%14 = icmp sgt i32 %6, 0
%15 = select i1 %14, i32 50, i32 0
%16 = mul nsw i32 %6, 2047
%17 = add nsw i32 %15, %16
%18 = sdiv i32 %17, 100
%19 = tail call i64 @nv50_vers(ptr noundef %5) #2
%20 = load i64, ptr @NVD0_DISP_MAST_CLASS, align 8, !tbaa !13
%21 = icmp slt i64 %19, %20
%22 = getelementptr inbounds %struct.nouveau_crtc, ptr %0, i64 0, i32 2
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = shl i32 %13, 20
%25 = shl i32 %18, 8
%26 = and i32 %25, 1048320
%27 = or disjoint i32 %26, %24
%28 = mul nsw i32 %23, 768
%29 = add nsw i32 %28, 1176
%30 = shl nsw i32 %23, 10
%31 = add nsw i32 %30, 2216
%32 = select i1 %21, i32 %31, i32 %29
%33 = tail call i32 @evo_mthd(ptr noundef nonnull %9, i32 noundef %32, i32 noundef 1) #2
%34 = tail call i32 @evo_data(ptr noundef nonnull %9, i32 noundef %27) #2
%35 = icmp eq i32 %1, 0
br i1 %35, label %39, label %36
36: ; preds = %11
%37 = tail call i32 @evo_mthd(ptr noundef nonnull %9, i32 noundef 128, i32 noundef 1) #2
%38 = tail call i32 @evo_data(ptr noundef nonnull %9, i32 noundef 0) #2
br label %39
39: ; preds = %36, %11
%40 = tail call i32 @evo_kick(ptr noundef nonnull %9, ptr noundef %5) #2
br label %41
41: ; preds = %39, %2
ret i32 0
}
declare ptr @nv50_mast(i32 noundef) local_unnamed_addr #1
declare ptr @evo_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nv50_vers(ptr noundef) local_unnamed_addr #1
declare i32 @evo_mthd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @evo_data(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @evo_kick(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 12}
!6 = !{!"nouveau_crtc", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_2__", !7, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_display.c_nv50_crtc_set_color_vibrance.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/extr_nv50_display.c_nv50_crtc_set_color_vibrance.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NVD0_DISP_MAST_CLASS = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @nv50_crtc_set_color_vibrance], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @nv50_crtc_set_color_vibrance(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 12
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @nv50_mast(i32 noundef %4) #2
%6 = load i32, ptr %0, align 4, !tbaa !12
%7 = getelementptr inbounds i8, ptr %0, i64 4
%8 = load i32, ptr %7, align 4, !tbaa !13
%9 = tail call ptr @evo_wait(ptr noundef %5, i32 noundef 16) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %41, label %11
11: ; preds = %2
%12 = mul nsw i32 %8, 2047
%13 = sdiv i32 %12, 100
%14 = icmp sgt i32 %6, 0
%15 = select i1 %14, i32 50, i32 0
%16 = mul nsw i32 %6, 2047
%17 = add nsw i32 %15, %16
%18 = sdiv i32 %17, 100
%19 = tail call i64 @nv50_vers(ptr noundef %5) #2
%20 = load i64, ptr @NVD0_DISP_MAST_CLASS, align 8, !tbaa !14
%21 = icmp slt i64 %19, %20
%22 = getelementptr inbounds i8, ptr %0, i64 8
%23 = load i32, ptr %22, align 4, !tbaa !16
%24 = shl i32 %13, 20
%25 = shl i32 %18, 8
%26 = and i32 %25, 1048320
%27 = or disjoint i32 %26, %24
%28 = mul nsw i32 %23, 768
%29 = add nsw i32 %28, 1176
%30 = shl nsw i32 %23, 10
%31 = add nsw i32 %30, 2216
%32 = select i1 %21, i32 %31, i32 %29
%33 = tail call i32 @evo_mthd(ptr noundef nonnull %9, i32 noundef %32, i32 noundef 1) #2
%34 = tail call i32 @evo_data(ptr noundef nonnull %9, i32 noundef %27) #2
%35 = icmp eq i32 %1, 0
br i1 %35, label %39, label %36
36: ; preds = %11
%37 = tail call i32 @evo_mthd(ptr noundef nonnull %9, i32 noundef 128, i32 noundef 1) #2
%38 = tail call i32 @evo_data(ptr noundef nonnull %9, i32 noundef 0) #2
br label %39
39: ; preds = %36, %11
%40 = tail call i32 @evo_kick(ptr noundef nonnull %9, ptr noundef %5) #2
br label %41
41: ; preds = %39, %2
ret i32 0
}
declare ptr @nv50_mast(i32 noundef) local_unnamed_addr #1
declare ptr @evo_wait(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @nv50_vers(ptr noundef) local_unnamed_addr #1
declare i32 @evo_mthd(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @evo_data(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @evo_kick(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 12}
!7 = !{!"nouveau_crtc", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_2__", !8, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!7, !8, i64 4}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!7, !8, i64 8}
| fastsocket_kernel_drivers_gpu_drm_nouveau_extr_nv50_display.c_nv50_crtc_set_color_vibrance |
; ModuleID = 'AnghaBench/linux/fs/hfsplus/extr_catalog.c_hfsplus_cat_build_key.c'
source_filename = "AnghaBench/linux/fs/hfsplus/extr_catalog.c_hfsplus_cat_build_key.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { %struct.TYPE_7__, i32 }
%struct.TYPE_7__ = type { i32 }
%struct.qstr = type { i32, i32 }
@HFSPLUS_MAX_STRLEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @hfsplus_cat_build_key(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = tail call i32 @cpu_to_be32(i32 noundef %2) #2
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%7 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1, i32 1
store i32 %5, ptr %7, align 4, !tbaa !5
%8 = load i32, ptr @HFSPLUS_MAX_STRLEN, align 4, !tbaa !12
%9 = getelementptr inbounds %struct.qstr, ptr %3, i64 0, i32 1
%10 = load i32, ptr %9, align 4, !tbaa !13
%11 = load i32, ptr %3, align 4, !tbaa !15
%12 = tail call i32 @hfsplus_asc2uni(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %8, i32 noundef %10, i32 noundef %11) #2
%13 = lshr i32 %12, 31
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %4
%17 = load i32, ptr %6, align 4, !tbaa !16
%18 = tail call i32 @be16_to_cpu(i32 noundef %17) #2
%19 = shl nsw i32 %18, 1
%20 = add nsw i32 %19, 6
%21 = tail call i32 @cpu_to_be16(i32 noundef %20) #2
store i32 %21, ptr %1, align 4, !tbaa !17
br label %22
22: ; preds = %4, %16
%23 = phi i32 [ 0, %16 ], [ %12, %4 ]
ret i32 %23
}
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @hfsplus_asc2uni(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"TYPE_6__", !7, i64 0, !10, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_5__", !11, i64 0, !7, i64 4}
!11 = !{!"TYPE_7__", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 4}
!14 = !{!"qstr", !7, i64 0, !7, i64 4}
!15 = !{!14, !7, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/hfsplus/extr_catalog.c_hfsplus_cat_build_key.c'
source_filename = "AnghaBench/linux/fs/hfsplus/extr_catalog.c_hfsplus_cat_build_key.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@HFSPLUS_MAX_STRLEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @hfsplus_cat_build_key(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
%5 = tail call i32 @cpu_to_be32(i32 noundef %2) #2
%6 = getelementptr inbounds i8, ptr %1, i64 4
%7 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %5, ptr %7, align 4, !tbaa !6
%8 = load i32, ptr @HFSPLUS_MAX_STRLEN, align 4, !tbaa !13
%9 = getelementptr inbounds i8, ptr %3, i64 4
%10 = load i32, ptr %9, align 4, !tbaa !14
%11 = load i32, ptr %3, align 4, !tbaa !16
%12 = tail call i32 @hfsplus_asc2uni(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %8, i32 noundef %10, i32 noundef %11) #2
%13 = lshr i32 %12, 31
%14 = tail call i64 @unlikely(i32 noundef %13) #2
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %22
16: ; preds = %4
%17 = load i32, ptr %6, align 4, !tbaa !17
%18 = tail call i32 @be16_to_cpu(i32 noundef %17) #2
%19 = shl nsw i32 %18, 1
%20 = add nsw i32 %19, 6
%21 = tail call i32 @cpu_to_be16(i32 noundef %20) #2
store i32 %21, ptr %1, align 4, !tbaa !18
br label %22
22: ; preds = %4, %16
%23 = phi i32 [ 0, %16 ], [ %12, %4 ]
ret i32 %23
}
declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1
declare i32 @hfsplus_asc2uni(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @unlikely(i32 noundef) local_unnamed_addr #1
declare i32 @be16_to_cpu(i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_be16(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"TYPE_6__", !8, i64 0, !11, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_5__", !12, i64 0, !8, i64 4}
!12 = !{!"TYPE_7__", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{!15, !8, i64 4}
!15 = !{!"qstr", !8, i64 0, !8, i64 4}
!16 = !{!15, !8, i64 0}
!17 = !{!7, !8, i64 4}
!18 = !{!7, !8, i64 0}
| linux_fs_hfsplus_extr_catalog.c_hfsplus_cat_build_key |
; ModuleID = 'AnghaBench/postgres/src/backend/postmaster/extr_postmaster.c_BackgroundWorkerUnblockSignals.c'
source_filename = "AnghaBench/postgres/src/backend/postmaster/extr_postmaster.c_BackgroundWorkerUnblockSignals.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UnBlockSig = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @BackgroundWorkerUnblockSignals() local_unnamed_addr #0 {
%1 = tail call i32 @PG_SETMASK(ptr noundef nonnull @UnBlockSig) #2
ret void
}
declare i32 @PG_SETMASK(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/postgres/src/backend/postmaster/extr_postmaster.c_BackgroundWorkerUnblockSignals.c'
source_filename = "AnghaBench/postgres/src/backend/postmaster/extr_postmaster.c_BackgroundWorkerUnblockSignals.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UnBlockSig = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @BackgroundWorkerUnblockSignals() local_unnamed_addr #0 {
%1 = tail call i32 @PG_SETMASK(ptr noundef nonnull @UnBlockSig) #2
ret void
}
declare i32 @PG_SETMASK(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)"}
| postgres_src_backend_postmaster_extr_postmaster.c_BackgroundWorkerUnblockSignals |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_eepro.c_read_eeprom.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_eepro.c_read_eeprom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EE_READ_CMD = dso_local local_unnamed_addr global i32 0, align 4
@EECS = dso_local local_unnamed_addr global i16 0, align 2
@STATUS_REG = dso_local local_unnamed_addr global i16 0, align 2
@EEDI = dso_local local_unnamed_addr global i16 0, align 2
@EESK = dso_local local_unnamed_addr global i16 0, align 2
@EEDO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @read_eeprom], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @read_eeprom(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %2) #2
%5 = load i32, ptr %4, align 4, !tbaa !5
%6 = add nsw i32 %5, %0
%7 = trunc i32 %6 to i16
%8 = load i32, ptr @EE_READ_CMD, align 4, !tbaa !10
%9 = or i32 %8, %1
%10 = load i16, ptr @EECS, align 2, !tbaa !11
%11 = tail call i32 @eepro_sw2bank1(i32 noundef %0) #2
%12 = load i16, ptr @STATUS_REG, align 2, !tbaa !11
%13 = trunc i32 %0 to i16
%14 = add i16 %12, %13
%15 = tail call i32 @outb(i16 noundef signext 0, i16 noundef signext %14) #2
%16 = tail call i32 @eepro_sw2bank2(i32 noundef %0) #2
%17 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
br label %18
18: ; preds = %3, %18
%19 = phi i32 [ 8, %3 ], [ %33, %18 ]
%20 = shl nuw i32 1, %19
%21 = and i32 %20, %9
%22 = icmp eq i32 %21, 0
%23 = load i16, ptr @EEDI, align 2
%24 = select i1 %22, i16 0, i16 %23
%25 = or i16 %24, %10
%26 = tail call i32 @outb(i16 noundef signext %25, i16 noundef signext %7) #2
%27 = load i16, ptr @EESK, align 2, !tbaa !11
%28 = or i16 %25, %27
%29 = tail call i32 @outb(i16 noundef signext %28, i16 noundef signext %7) #2
%30 = tail call i32 (...) @eeprom_delay() #2
%31 = tail call i32 @outb(i16 noundef signext %25, i16 noundef signext %7) #2
%32 = tail call i32 (...) @eeprom_delay() #2
%33 = add nsw i32 %19, -1
%34 = icmp eq i32 %19, 0
br i1 %34, label %35, label %18, !llvm.loop !13
35: ; preds = %18
%36 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
br label %37
37: ; preds = %35, %37
%38 = phi i32 [ 16, %35 ], [ %53, %37 ]
%39 = phi i16 [ 0, %35 ], [ %50, %37 ]
%40 = load i16, ptr @EESK, align 2, !tbaa !11
%41 = or i16 %40, %10
%42 = tail call i32 @outb(i16 noundef signext %41, i16 noundef signext %7) #2
%43 = tail call i32 (...) @eeprom_delay() #2
%44 = shl i16 %39, 1
%45 = tail call i32 @inb(i16 noundef signext %7) #2
%46 = load i32, ptr @EEDO, align 4, !tbaa !10
%47 = and i32 %46, %45
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i16
%50 = or disjoint i16 %44, %49
%51 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
%52 = tail call i32 (...) @eeprom_delay() #2
%53 = add nsw i32 %38, -1
%54 = icmp ugt i32 %38, 1
br i1 %54, label %37, label %55, !llvm.loop !15
55: ; preds = %37
%56 = load i16, ptr @EECS, align 2, !tbaa !11
%57 = xor i16 %56, -1
%58 = and i16 %10, %57
%59 = load i16, ptr @EESK, align 2, !tbaa !11
%60 = or i16 %58, %59
%61 = tail call i32 @outb(i16 noundef signext %60, i16 noundef signext %7) #2
%62 = tail call i32 (...) @eeprom_delay() #2
%63 = tail call i32 @outb(i16 noundef signext %58, i16 noundef signext %7) #2
%64 = tail call i32 (...) @eeprom_delay() #2
%65 = tail call i32 @eepro_sw2bank0(i32 noundef %0) #2
%66 = zext i16 %50 to i32
ret i32 %66
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @eepro_sw2bank1(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i16 noundef signext, i16 noundef signext) local_unnamed_addr #1
declare i32 @eepro_sw2bank2(i32 noundef) local_unnamed_addr #1
declare i32 @eeprom_delay(...) local_unnamed_addr #1
declare i32 @inb(i16 noundef signext) local_unnamed_addr #1
declare i32 @eepro_sw2bank0(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 = !{!"eepro_local", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_eepro.c_read_eeprom.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_eepro.c_read_eeprom.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EE_READ_CMD = common local_unnamed_addr global i32 0, align 4
@EECS = common local_unnamed_addr global i16 0, align 2
@STATUS_REG = common local_unnamed_addr global i16 0, align 2
@EEDI = common local_unnamed_addr global i16 0, align 2
@EESK = common local_unnamed_addr global i16 0, align 2
@EEDO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @read_eeprom], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 65536) i32 @read_eeprom(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @netdev_priv(ptr noundef %2) #2
%5 = load i32, ptr %4, align 4, !tbaa !6
%6 = add nsw i32 %5, %0
%7 = trunc i32 %6 to i16
%8 = load i32, ptr @EE_READ_CMD, align 4, !tbaa !11
%9 = or i32 %8, %1
%10 = load i16, ptr @EECS, align 2, !tbaa !12
%11 = tail call i32 @eepro_sw2bank1(i32 noundef %0) #2
%12 = load i16, ptr @STATUS_REG, align 2, !tbaa !12
%13 = trunc i32 %0 to i16
%14 = add i16 %12, %13
%15 = tail call i32 @outb(i16 noundef signext 0, i16 noundef signext %14) #2
%16 = tail call i32 @eepro_sw2bank2(i32 noundef %0) #2
%17 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
br label %18
18: ; preds = %3, %18
%19 = phi i32 [ 8, %3 ], [ %33, %18 ]
%20 = shl nuw i32 1, %19
%21 = and i32 %20, %9
%22 = icmp eq i32 %21, 0
%23 = load i16, ptr @EEDI, align 2
%24 = select i1 %22, i16 0, i16 %23
%25 = or i16 %24, %10
%26 = tail call i32 @outb(i16 noundef signext %25, i16 noundef signext %7) #2
%27 = load i16, ptr @EESK, align 2, !tbaa !12
%28 = or i16 %25, %27
%29 = tail call i32 @outb(i16 noundef signext %28, i16 noundef signext %7) #2
%30 = tail call i32 @eeprom_delay() #2
%31 = tail call i32 @outb(i16 noundef signext %25, i16 noundef signext %7) #2
%32 = tail call i32 @eeprom_delay() #2
%33 = add nsw i32 %19, -1
%34 = icmp eq i32 %19, 0
br i1 %34, label %35, label %18, !llvm.loop !14
35: ; preds = %18
%36 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
br label %37
37: ; preds = %35, %37
%38 = phi i32 [ 16, %35 ], [ %53, %37 ]
%39 = phi i16 [ 0, %35 ], [ %50, %37 ]
%40 = load i16, ptr @EESK, align 2, !tbaa !12
%41 = or i16 %40, %10
%42 = tail call i32 @outb(i16 noundef signext %41, i16 noundef signext %7) #2
%43 = tail call i32 @eeprom_delay() #2
%44 = shl i16 %39, 1
%45 = tail call i32 @inb(i16 noundef signext %7) #2
%46 = load i32, ptr @EEDO, align 4, !tbaa !11
%47 = and i32 %46, %45
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i16
%50 = or disjoint i16 %44, %49
%51 = tail call i32 @outb(i16 noundef signext %10, i16 noundef signext %7) #2
%52 = tail call i32 @eeprom_delay() #2
%53 = add nsw i32 %38, -1
%54 = icmp ugt i32 %38, 1
br i1 %54, label %37, label %55, !llvm.loop !16
55: ; preds = %37
%56 = load i16, ptr @EECS, align 2, !tbaa !12
%57 = xor i16 %56, -1
%58 = and i16 %10, %57
%59 = load i16, ptr @EESK, align 2, !tbaa !12
%60 = or i16 %58, %59
%61 = tail call i32 @outb(i16 noundef signext %60, i16 noundef signext %7) #2
%62 = tail call i32 @eeprom_delay() #2
%63 = tail call i32 @outb(i16 noundef signext %58, i16 noundef signext %7) #2
%64 = tail call i32 @eeprom_delay() #2
%65 = tail call i32 @eepro_sw2bank0(i32 noundef %0) #2
%66 = zext i16 %50 to i32
ret i32 %66
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i32 @eepro_sw2bank1(i32 noundef) local_unnamed_addr #1
declare i32 @outb(i16 noundef signext, i16 noundef signext) local_unnamed_addr #1
declare i32 @eepro_sw2bank2(i32 noundef) local_unnamed_addr #1
declare i32 @eeprom_delay(...) local_unnamed_addr #1
declare i32 @inb(i16 noundef signext) local_unnamed_addr #1
declare i32 @eepro_sw2bank0(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 = !{!"eepro_local", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"short", !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
| fastsocket_kernel_drivers_net_extr_eepro.c_read_eeprom |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_setup.c_iSeries_process_Condor_mainstore_vpd.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_setup.c_iSeries_process_Condor_mainstore_vpd.c"
target datalayout = "e-m:e-p270:32:32-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.IoHriMainStoreSegment4 = type { i64, i64 }
%struct.MemoryBlock = type { i64, i32, i64, i32 }
@xMsVpd = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"Mainstore_VPD: Condor\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Main store hole: start chunk = %0lx, size = %0lx chunks\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @iSeries_process_Condor_mainstore_vpd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i64 @iSeries_process_Condor_mainstore_vpd(ptr nocapture noundef writeonly %0, i64 %1) #0 {
%3 = load i64, ptr @xMsVpd, align 8, !tbaa !5
%4 = inttoptr i64 %3 to ptr
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.IoHriMainStoreSegment4, ptr %4, i64 0, i32 1
%7 = load i64, ptr %6, align 8, !tbaa !11
%8 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str) #2
store i64 0, ptr %0, align 8, !tbaa !12
%9 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 0, i32 1
store i32 0, ptr %9, align 8, !tbaa !15
%10 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 0, i32 2
store i64 0, ptr %10, align 8, !tbaa !16
%11 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 0, i32 3
store i32 0, ptr %11, align 8, !tbaa !17
%12 = icmp eq i64 %7, %5
br i1 %12, label %27, label %13
13: ; preds = %2
%14 = sub i64 %7, %5
%15 = and i64 %5, 4503599627370495
%16 = tail call i64 @addr_to_chunk(i64 noundef %15) #2
%17 = tail call i64 @addr_to_chunk(i64 noundef %14) #2
%18 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i64 noundef %16, i64 noundef %17) #2
%19 = trunc i64 %16 to i32
store i32 %19, ptr %9, align 8, !tbaa !15
store i32 %19, ptr %11, align 8, !tbaa !17
%20 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 1
store i64 %16, ptr %20, align 8, !tbaa !12
%21 = trunc i64 %17 to i32
%22 = sub i32 0, %21
%23 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 1, i32 1
store i32 %22, ptr %23, align 8, !tbaa !15
%24 = add i64 %17, %16
%25 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 1, i32 2
store i64 %24, ptr %25, align 8, !tbaa !16
%26 = getelementptr inbounds %struct.MemoryBlock, ptr %0, i64 1, i32 3
store i32 0, ptr %26, align 8, !tbaa !17
br label %27
27: ; preds = %13, %2
%28 = phi i64 [ 2, %13 ], [ 1, %2 ]
ret i64 %28
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
declare i64 @addr_to_chunk(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"IoHriMainStoreSegment4", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !6, i64 0}
!13 = !{!"MemoryBlock", !6, i64 0, !14, i64 8, !6, i64 16, !14, i64 24}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!13, !6, i64 16}
!17 = !{!13, !14, i64 24}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_setup.c_iSeries_process_Condor_mainstore_vpd.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/iseries/extr_setup.c_iSeries_process_Condor_mainstore_vpd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@xMsVpd = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"Mainstore_VPD: Condor\0A\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Main store hole: start chunk = %0lx, size = %0lx chunks\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @iSeries_process_Condor_mainstore_vpd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i64 1, 3) i64 @iSeries_process_Condor_mainstore_vpd(ptr nocapture noundef writeonly %0, i64 %1) #0 {
%3 = load i64, ptr @xMsVpd, align 8, !tbaa !6
%4 = inttoptr i64 %3 to ptr
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds i8, ptr %4, i64 8
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str) #2
store i64 0, ptr %0, align 8, !tbaa !13
%9 = getelementptr inbounds i8, ptr %0, i64 8
store i32 0, ptr %9, align 8, !tbaa !16
%10 = getelementptr inbounds i8, ptr %0, i64 16
store i64 0, ptr %10, align 8, !tbaa !17
%11 = getelementptr inbounds i8, ptr %0, i64 24
store i32 0, ptr %11, align 8, !tbaa !18
%12 = icmp eq i64 %7, %5
br i1 %12, label %27, label %13
13: ; preds = %2
%14 = sub i64 %7, %5
%15 = and i64 %5, 4503599627370495
%16 = tail call i64 @addr_to_chunk(i64 noundef %15) #2
%17 = tail call i64 @addr_to_chunk(i64 noundef %14) #2
%18 = tail call i32 (ptr, ...) @printk(ptr noundef nonnull @.str.1, i64 noundef %16, i64 noundef %17) #2
%19 = trunc i64 %16 to i32
store i32 %19, ptr %9, align 8, !tbaa !16
store i32 %19, ptr %11, align 8, !tbaa !18
%20 = getelementptr inbounds i8, ptr %0, i64 32
store i64 %16, ptr %20, align 8, !tbaa !13
%21 = trunc i64 %17 to i32
%22 = sub i32 0, %21
%23 = getelementptr inbounds i8, ptr %0, i64 40
store i32 %22, ptr %23, align 8, !tbaa !16
%24 = add i64 %17, %16
%25 = getelementptr inbounds i8, ptr %0, i64 48
store i64 %24, ptr %25, align 8, !tbaa !17
%26 = getelementptr inbounds i8, ptr %0, i64 56
store i32 0, ptr %26, align 8, !tbaa !18
br label %27
27: ; preds = %13, %2
%28 = phi i64 [ 2, %13 ], [ 1, %2 ]
ret i64 %28
}
declare i32 @printk(ptr noundef, ...) local_unnamed_addr #1
declare i64 @addr_to_chunk(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"IoHriMainStoreSegment4", !7, i64 0, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!14, !7, i64 0}
!14 = !{!"MemoryBlock", !7, i64 0, !15, i64 8, !7, i64 16, !15, i64 24}
!15 = !{!"int", !8, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !7, i64 16}
!18 = !{!14, !15, i64 24}
| fastsocket_kernel_arch_powerpc_platforms_iseries_extr_setup.c_iSeries_process_Condor_mainstore_vpd |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/mach-at32ap/extr_clock.c_clk_set_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/mach-at32ap/extr_clock.c_clk_set_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"
@ENOSYS = dso_local local_unnamed_addr global i32 0, align 4
@clk_lock = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @clk_set_rate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOSYS, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
br label %15
8: ; preds = %2
%9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @clk_lock, i64 noundef undef) #3
%10 = load ptr, ptr %0, align 8, !tbaa !5
%11 = tail call i64 %10(ptr noundef nonnull %0, i64 noundef %1, i32 noundef 1) #3
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clk_lock, i64 noundef undef) #3
%13 = tail call i64 @llvm.smin.i64(i64 %11, i64 0)
%14 = trunc i64 %13 to i32
br label %15
15: ; preds = %8, %5
%16 = phi i32 [ %14, %8 ], [ %7, %5 ]
ret i32 %16
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"clk", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/avr32/mach-at32ap/extr_clock.c_clk_set_rate.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/avr32/mach-at32ap/extr_clock.c_clk_set_rate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOSYS = common local_unnamed_addr global i32 0, align 4
@clk_lock = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @clk_set_rate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @ENOSYS, align 4, !tbaa !11
%7 = sub nsw i32 0, %6
br label %15
8: ; preds = %2
%9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull @clk_lock, i64 noundef undef) #3
%10 = load ptr, ptr %0, align 8, !tbaa !6
%11 = tail call i64 %10(ptr noundef nonnull %0, i64 noundef %1, i32 noundef 1) #3
%12 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @clk_lock, i64 noundef undef) #3
%13 = tail call i64 @llvm.smin.i64(i64 %11, i64 0)
%14 = trunc i64 %13 to i32
br label %15
15: ; preds = %8, %5
%16 = phi i32 [ %14, %8 ], [ %7, %5 ]
ret i32 %16
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"clk", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
| fastsocket_kernel_arch_avr32_mach-at32ap_extr_clock.c_clk_set_rate |
; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_mpu3050-core.c_mpu3050_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_mpu3050-core.c_mpu3050_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.mpu3050 = type { i32, i32 }
@IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_WAKE_THREAD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mpu3050_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mpu3050_irq_handler(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @iio_trigger_get_drvdata(ptr noundef %1) #2
%4 = tail call ptr @iio_priv(ptr noundef %3) #2
%5 = getelementptr inbounds %struct.mpu3050, ptr %4, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !5
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 @iio_get_time_ns(ptr noundef %3) #2
store i32 %9, ptr %4, align 4, !tbaa !10
br label %10
10: ; preds = %2, %8
%11 = phi ptr [ @IRQ_WAKE_THREAD, %8 ], [ @IRQ_NONE, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !11
ret i32 %12
}
declare ptr @iio_trigger_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @iio_get_time_ns(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"mpu3050", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_mpu3050-core.c_mpu3050_irq_handler.c'
source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_mpu3050-core.c_mpu3050_irq_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_NONE = common local_unnamed_addr global i32 0, align 4
@IRQ_WAKE_THREAD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @mpu3050_irq_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mpu3050_irq_handler(i32 %0, ptr noundef %1) #0 {
%3 = tail call ptr @iio_trigger_get_drvdata(ptr noundef %1) #2
%4 = tail call ptr @iio_priv(ptr noundef %3) #2
%5 = getelementptr inbounds i8, ptr %4, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !6
%7 = icmp eq i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = tail call i32 @iio_get_time_ns(ptr noundef %3) #2
store i32 %9, ptr %4, align 4, !tbaa !11
br label %10
10: ; preds = %2, %8
%11 = phi ptr [ @IRQ_WAKE_THREAD, %8 ], [ @IRQ_NONE, %2 ]
%12 = load i32, ptr %11, align 4, !tbaa !12
ret i32 %12
}
declare ptr @iio_trigger_get_drvdata(ptr noundef) local_unnamed_addr #1
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @iio_get_time_ns(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"mpu3050", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
| linux_drivers_iio_gyro_extr_mpu3050-core.c_mpu3050_irq_handler |
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-armada-3700.c_spireg_read.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-armada-3700.c_spireg_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @spireg_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @spireg_read(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl(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 = !{!"a3700_spi", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-armada-3700.c_spireg_read.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-armada-3700.c_spireg_read.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 @spireg_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @spireg_read(ptr nocapture noundef readonly %0, i64 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add nsw i64 %3, %1
%5 = tail call i64 @readl(i64 noundef %4) #2
ret i64 %5
}
declare i64 @readl(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 = !{!"a3700_spi", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_spi_extr_spi-armada-3700.c_spireg_read |
; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_hints-data.c_set_user_object_rating.c'
source_filename = "AnghaBench/kphp-kdb/hints/extr_hints-data.c_set_user_object_rating.c"
target datalayout = "e-m:e-p270:32:32-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.lev_hints_set_user_object_rating = type { i32, i32, i32, i32 }
@LEV_HINTS_SET_USER_OBJECT_RATING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @set_user_object_rating(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.lev_hints_set_user_object_rating, ptr %0, i64 0, i32 3
%3 = load i32, ptr %2, align 4, !tbaa !5
%4 = tail call ptr @conv_user_id(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !10
%8 = load i32, ptr @LEV_HINTS_SET_USER_OBJECT_RATING, align 4, !tbaa !11
%9 = sub nsw i32 %7, %8
%10 = ashr i32 %9, 8
%11 = and i32 %7, 255
%12 = getelementptr inbounds %struct.lev_hints_set_user_object_rating, ptr %0, i64 0, i32 2
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = getelementptr inbounds %struct.lev_hints_set_user_object_rating, ptr %0, i64 0, i32 1
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = tail call i32 @user_set_object_rating(ptr noundef nonnull %4, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %10) #2
br label %17
17: ; preds = %1, %6
%18 = phi i32 [ %16, %6 ], [ 0, %1 ]
ret i32 %18
}
declare ptr @conv_user_id(i32 noundef) local_unnamed_addr #1
declare i32 @user_set_object_rating(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 12}
!6 = !{!"lev_hints_set_user_object_rating", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/kphp-kdb/hints/extr_hints-data.c_set_user_object_rating.c'
source_filename = "AnghaBench/kphp-kdb/hints/extr_hints-data.c_set_user_object_rating.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@LEV_HINTS_SET_USER_OBJECT_RATING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @set_user_object_rating(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 12
%3 = load i32, ptr %2, align 4, !tbaa !6
%4 = tail call ptr @conv_user_id(i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load i32, ptr %0, align 4, !tbaa !11
%8 = load i32, ptr @LEV_HINTS_SET_USER_OBJECT_RATING, align 4, !tbaa !12
%9 = sub nsw i32 %7, %8
%10 = ashr i32 %9, 8
%11 = and i32 %7, 255
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load i32, ptr %12, align 4, !tbaa !13
%14 = getelementptr inbounds i8, ptr %0, i64 4
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = tail call i32 @user_set_object_rating(ptr noundef nonnull %4, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %10) #2
br label %17
17: ; preds = %1, %6
%18 = phi i32 [ %16, %6 ], [ 0, %1 ]
ret i32 %18
}
declare ptr @conv_user_id(i32 noundef) local_unnamed_addr #1
declare i32 @user_set_object_rating(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 12}
!7 = !{!"lev_hints_set_user_object_rating", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 4}
| kphp-kdb_hints_extr_hints-data.c_set_user_object_rating |
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_NtApphelpCacheControl.c_RunApphelpCacheControlTests.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_NtApphelpCacheControl.c_RunApphelpCacheControlTests.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_8__ = type { i32 }
%struct.TYPE_9__ = type { ptr, %struct.TYPE_8__ }
@MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"RtlDosPathNameToNtPathName_U\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"NtApphelpCacheControl expects a different structure layout\0A\00", align 1
@ApphelpCacheServiceLookup = dso_local local_unnamed_addr global i32 0, align 4
@STATUS_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@STATUS_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @RunApphelpCacheControlTests], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @RunApphelpCacheControlTests(i32 noundef %0) #0 {
%2 = alloca %struct.TYPE_8__, align 4
%3 = alloca %struct.TYPE_9__, align 8
%4 = load i32, ptr @MAX_PATH, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i32, i64 %5, align 16
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%7 = call i32 @GetModuleFileNameW(ptr noundef null, ptr noundef nonnull %6, i32 noundef %4) #3
%8 = call i64 @RtlDosPathNameToNtPathName_U(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef null, ptr noundef null) #3
%9 = load i64, ptr @TRUE, align 8, !tbaa !9
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @ok(i32 noundef %11, ptr noundef nonnull @.str) #3
%13 = call i32 @InitEnv(ptr noundef nonnull %2) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %1
%16 = call i32 @skip(ptr noundef nonnull @.str.1) #3
br label %89
17: ; preds = %1
%18 = call i32 @CheckValidation(ptr noundef nonnull %2) #3
%19 = load i64, ptr @TRUE, align 8, !tbaa !9
%20 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%21 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%23 = call i32 @ok_ntstatus(i32 noundef %21, i32 noundef %22) #3
%24 = load i64, ptr @FALSE, align 8, !tbaa !9
%25 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%26 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %24, i32 noundef %25) #3
%27 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%28 = call i32 @ok_ntstatus(i32 noundef %26, i32 noundef %27) #3
%29 = load i64, ptr @FALSE, align 8, !tbaa !9
%30 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %29) #3
%31 = load i64, ptr @FALSE, align 8, !tbaa !9
%32 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%33 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %31, i32 noundef %32) #3
%34 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5
%35 = call i32 @ok_ntstatus(i32 noundef %33, i32 noundef %34) #3
%36 = load i64, ptr @TRUE, align 8, !tbaa !9
%37 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%38 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %36, i32 noundef %37) #3
%39 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%40 = call i32 @ok_ntstatus(i32 noundef %38, i32 noundef %39) #3
%41 = load i64, ptr @FALSE, align 8, !tbaa !9
%42 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%43 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %41, i32 noundef %42) #3
%44 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%45 = call i32 @ok_ntstatus(i32 noundef %43, i32 noundef %44) #3
%46 = load i64, ptr @TRUE, align 8, !tbaa !9
%47 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %46) #3
%48 = load i64, ptr @TRUE, align 8, !tbaa !9
%49 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%50 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %48, i32 noundef %49) #3
%51 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5
%52 = call i32 @ok_ntstatus(i32 noundef %50, i32 noundef %51) #3
%53 = load i64, ptr @FALSE, align 8, !tbaa !9
%54 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%55 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %53, i32 noundef %54) #3
%56 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5
%57 = call i32 @ok_ntstatus(i32 noundef %55, i32 noundef %56) #3
%58 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1
%59 = load i32, ptr %2, align 4, !tbaa !5
store i32 %59, ptr %58, align 8, !tbaa !5
store ptr null, ptr %3, align 8, !tbaa !11
%60 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%61 = call i32 @pNtApphelpCacheControl(i32 noundef %60, ptr noundef nonnull %3) #3
%62 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%63 = call i32 @ok_ntstatus(i32 noundef %61, i32 noundef %62) #3
%64 = load i64, ptr @TRUE, align 8, !tbaa !9
%65 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %64) #3
%66 = load i64, ptr @TRUE, align 8, !tbaa !9
%67 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%68 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %66, i32 noundef %67) #3
%69 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5
%70 = call i32 @ok_ntstatus(i32 noundef %68, i32 noundef %69) #3
store ptr inttoptr (i64 1 to ptr), ptr %3, align 8, !tbaa !11
%71 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%72 = call i32 @pNtApphelpCacheControl(i32 noundef %71, ptr noundef nonnull %3) #3
%73 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%74 = call i32 @ok_ntstatus(i32 noundef %72, i32 noundef %73) #3
%75 = load i64, ptr @TRUE, align 8, !tbaa !9
%76 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %75) #3
%77 = load i64, ptr @TRUE, align 8, !tbaa !9
%78 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%79 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %77, i32 noundef %78) #3
%80 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !5
%81 = call i32 @ok_ntstatus(i32 noundef %79, i32 noundef %80) #3
store ptr inttoptr (i64 2147483648 to ptr), ptr %3, align 8, !tbaa !11
%82 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !5
%83 = call i32 @pNtApphelpCacheControl(i32 noundef %82, ptr noundef nonnull %3) #3
%84 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !5
%85 = call i32 @ok_ntstatus(i32 noundef %83, i32 noundef %84) #3
%86 = call i32 (...) @RtlGetProcessHeap() #3
%87 = load i32, ptr %2, align 4, !tbaa !15
%88 = call i32 @RtlFreeHeap(i32 noundef %86, i32 noundef 0, i32 noundef %87) #3
br label %89
89: ; preds = %17, %15
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, 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 @GetModuleFileNameW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @RtlDosPathNameToNtPathName_U(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InitEnv(ptr noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @CheckValidation(ptr noundef) local_unnamed_addr #2
declare i32 @CallCacheControl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok_ntstatus(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RequestAddition(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @pNtApphelpCacheControl(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlFreeHeap(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RtlGetProcessHeap(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"TYPE_9__", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"TYPE_8__", !6, i64 0}
!15 = !{!14, !6, i64 0}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_NtApphelpCacheControl.c_RunApphelpCacheControlTests.c'
source_filename = "AnghaBench/reactos/modules/rostests/apitests/ntdll/extr_NtApphelpCacheControl.c_RunApphelpCacheControlTests.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 }
%struct.TYPE_9__ = type { ptr, %struct.TYPE_8__ }
@MAX_PATH = common local_unnamed_addr global i32 0, align 4
@TRUE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"RtlDosPathNameToNtPathName_U\0A\00", align 1
@.str.1 = private unnamed_addr constant [60 x i8] c"NtApphelpCacheControl expects a different structure layout\0A\00", align 1
@ApphelpCacheServiceLookup = common local_unnamed_addr global i32 0, align 4
@STATUS_NOT_FOUND = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i64 0, align 8
@STATUS_SUCCESS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @RunApphelpCacheControlTests], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @RunApphelpCacheControlTests(i32 noundef %0) #0 {
%2 = alloca %struct.TYPE_8__, align 4
%3 = alloca %struct.TYPE_9__, align 8
%4 = load i32, ptr @MAX_PATH, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i32, i64 %5, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%7 = call i32 @GetModuleFileNameW(ptr noundef null, ptr noundef nonnull %6, i32 noundef %4) #3
%8 = call i64 @RtlDosPathNameToNtPathName_U(ptr noundef nonnull %6, ptr noundef nonnull %2, ptr noundef null, ptr noundef null) #3
%9 = load i64, ptr @TRUE, align 8, !tbaa !10
%10 = icmp eq i64 %8, %9
%11 = zext i1 %10 to i32
%12 = call i32 @ok(i32 noundef %11, ptr noundef nonnull @.str) #3
%13 = call i32 @InitEnv(ptr noundef nonnull %2) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %1
%16 = call i32 @skip(ptr noundef nonnull @.str.1) #3
br label %89
17: ; preds = %1
%18 = call i32 @CheckValidation(ptr noundef nonnull %2) #3
%19 = load i64, ptr @TRUE, align 8, !tbaa !10
%20 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%21 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %19, i32 noundef %20) #3
%22 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%23 = call i32 @ok_ntstatus(i32 noundef %21, i32 noundef %22) #3
%24 = load i64, ptr @FALSE, align 8, !tbaa !10
%25 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%26 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %24, i32 noundef %25) #3
%27 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%28 = call i32 @ok_ntstatus(i32 noundef %26, i32 noundef %27) #3
%29 = load i64, ptr @FALSE, align 8, !tbaa !10
%30 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %29) #3
%31 = load i64, ptr @FALSE, align 8, !tbaa !10
%32 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%33 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %31, i32 noundef %32) #3
%34 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6
%35 = call i32 @ok_ntstatus(i32 noundef %33, i32 noundef %34) #3
%36 = load i64, ptr @TRUE, align 8, !tbaa !10
%37 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%38 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %36, i32 noundef %37) #3
%39 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%40 = call i32 @ok_ntstatus(i32 noundef %38, i32 noundef %39) #3
%41 = load i64, ptr @FALSE, align 8, !tbaa !10
%42 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%43 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %41, i32 noundef %42) #3
%44 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%45 = call i32 @ok_ntstatus(i32 noundef %43, i32 noundef %44) #3
%46 = load i64, ptr @TRUE, align 8, !tbaa !10
%47 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %46) #3
%48 = load i64, ptr @TRUE, align 8, !tbaa !10
%49 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%50 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %48, i32 noundef %49) #3
%51 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6
%52 = call i32 @ok_ntstatus(i32 noundef %50, i32 noundef %51) #3
%53 = load i64, ptr @FALSE, align 8, !tbaa !10
%54 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%55 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %53, i32 noundef %54) #3
%56 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6
%57 = call i32 @ok_ntstatus(i32 noundef %55, i32 noundef %56) #3
%58 = getelementptr inbounds i8, ptr %3, i64 8
%59 = load i32, ptr %2, align 4, !tbaa !6
store i32 %59, ptr %58, align 8, !tbaa !6
store ptr null, ptr %3, align 8, !tbaa !12
%60 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%61 = call i32 @pNtApphelpCacheControl(i32 noundef %60, ptr noundef nonnull %3) #3
%62 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%63 = call i32 @ok_ntstatus(i32 noundef %61, i32 noundef %62) #3
%64 = load i64, ptr @TRUE, align 8, !tbaa !10
%65 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %64) #3
%66 = load i64, ptr @TRUE, align 8, !tbaa !10
%67 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%68 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %66, i32 noundef %67) #3
%69 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6
%70 = call i32 @ok_ntstatus(i32 noundef %68, i32 noundef %69) #3
store ptr inttoptr (i64 1 to ptr), ptr %3, align 8, !tbaa !12
%71 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%72 = call i32 @pNtApphelpCacheControl(i32 noundef %71, ptr noundef nonnull %3) #3
%73 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%74 = call i32 @ok_ntstatus(i32 noundef %72, i32 noundef %73) #3
%75 = load i64, ptr @TRUE, align 8, !tbaa !10
%76 = call i32 @RequestAddition(i32 noundef %0, i64 noundef %75) #3
%77 = load i64, ptr @TRUE, align 8, !tbaa !10
%78 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%79 = call i32 @CallCacheControl(ptr noundef nonnull %2, i64 noundef %77, i32 noundef %78) #3
%80 = load i32, ptr @STATUS_SUCCESS, align 4, !tbaa !6
%81 = call i32 @ok_ntstatus(i32 noundef %79, i32 noundef %80) #3
store ptr inttoptr (i64 2147483648 to ptr), ptr %3, align 8, !tbaa !12
%82 = load i32, ptr @ApphelpCacheServiceLookup, align 4, !tbaa !6
%83 = call i32 @pNtApphelpCacheControl(i32 noundef %82, ptr noundef nonnull %3) #3
%84 = load i32, ptr @STATUS_NOT_FOUND, align 4, !tbaa !6
%85 = call i32 @ok_ntstatus(i32 noundef %83, i32 noundef %84) #3
%86 = call i32 @RtlGetProcessHeap() #3
%87 = load i32, ptr %2, align 4, !tbaa !16
%88 = call i32 @RtlFreeHeap(i32 noundef %86, i32 noundef 0, i32 noundef %87) #3
br label %89
89: ; preds = %17, %15
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, 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 @GetModuleFileNameW(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @RtlDosPathNameToNtPathName_U(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ok(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @InitEnv(ptr noundef) local_unnamed_addr #2
declare i32 @skip(ptr noundef) local_unnamed_addr #2
declare i32 @CheckValidation(ptr noundef) local_unnamed_addr #2
declare i32 @CallCacheControl(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ok_ntstatus(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RequestAddition(i32 noundef, i64 noundef) local_unnamed_addr #2
declare i32 @pNtApphelpCacheControl(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RtlFreeHeap(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @RtlGetProcessHeap(...) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_9__", !14, i64 0, !15, i64 8}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"TYPE_8__", !7, i64 0}
!16 = !{!15, !7, i64 0}
| reactos_modules_rostests_apitests_ntdll_extr_NtApphelpCacheControl.c_RunApphelpCacheControlTests |
; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_st-asc.c_asc_txfifo_is_half_empty.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_st-asc.c_asc_txfifo_is_half_empty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ASC_STA = dso_local local_unnamed_addr global i32 0, align 4
@ASC_STA_THE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @asc_txfifo_is_half_empty], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @asc_txfifo_is_half_empty(ptr noundef %0) #0 {
%2 = load i32, ptr @ASC_STA, align 4, !tbaa !5
%3 = tail call i32 @asc_in(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @ASC_STA_THE, align 4, !tbaa !5
%5 = and i32 %4, %3
ret i32 %5
}
declare i32 @asc_in(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/tty/serial/extr_st-asc.c_asc_txfifo_is_half_empty.c'
source_filename = "AnghaBench/linux/drivers/tty/serial/extr_st-asc.c_asc_txfifo_is_half_empty.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ASC_STA = common local_unnamed_addr global i32 0, align 4
@ASC_STA_THE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @asc_txfifo_is_half_empty], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @asc_txfifo_is_half_empty(ptr noundef %0) #0 {
%2 = load i32, ptr @ASC_STA, align 4, !tbaa !6
%3 = tail call i32 @asc_in(ptr noundef %0, i32 noundef %2) #2
%4 = load i32, ptr @ASC_STA_THE, align 4, !tbaa !6
%5 = and i32 %4, %3
ret i32 %5
}
declare i32 @asc_in(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_tty_serial_extr_st-asc.c_asc_txfifo_is_half_empty |
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_deinit_static_resources.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_deinit_static_resources.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_14__ = type { %struct.TYPE_13__, ptr, %struct.TYPE_11__, i32, %struct.TYPE_10__, %struct.TYPE_9__ }
%struct.TYPE_13__ = type { ptr }
%struct.TYPE_11__ = type { i32, i32 }
%struct.TYPE_10__ = type { %struct.TYPE_15__ }
%struct.TYPE_15__ = type { i64 }
%struct.TYPE_9__ = type { i32 }
@VULKAN_MAX_SWAPCHAIN_IMAGES = dso_local local_unnamed_addr global i32 0, align 4
@VK_NULL_HANDLE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @vulkan_deinit_static_resources], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @vulkan_deinit_static_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1
%3 = load ptr, ptr %2, align 8, !tbaa !5
%4 = load i32, ptr %3, align 4, !tbaa !17
%5 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 5
%6 = load i32, ptr %5, align 8, !tbaa !19
%7 = tail call i32 @vkDestroyPipelineCache(i32 noundef %4, i32 noundef %6, ptr noundef null) #2
%8 = load ptr, ptr %2, align 8, !tbaa !5
%9 = load i32, ptr %8, align 4, !tbaa !17
%10 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 4
%11 = tail call i32 @vulkan_destroy_texture(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !5
%13 = load i32, ptr %12, align 4, !tbaa !17
%14 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 3
%15 = load i32, ptr %14, align 8, !tbaa !20
%16 = tail call i32 @vkDestroyCommandPool(i32 noundef %13, i32 noundef %15, ptr noundef null) #2
%17 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2
%18 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2, i32 1
%19 = load i32, ptr %18, align 4, !tbaa !21
%20 = tail call i32 @free(i32 noundef %19) #2
%21 = load i32, ptr %17, align 8, !tbaa !22
%22 = tail call i32 @free(i32 noundef %21) #2
%23 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !23
%24 = icmp eq i32 %23, 0
br i1 %24, label %47, label %25
25: ; preds = %1
%26 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !24
br label %27
27: ; preds = %25, %41
%28 = phi i32 [ %23, %25 ], [ %42, %41 ]
%29 = phi i64 [ %26, %25 ], [ %43, %41 ]
%30 = phi i64 [ 0, %25 ], [ %44, %41 ]
%31 = load ptr, ptr %0, align 8, !tbaa !25
%32 = getelementptr inbounds %struct.TYPE_15__, ptr %31, i64 %30
%33 = load i64, ptr %32, align 8, !tbaa !26
%34 = icmp eq i64 %33, %29
br i1 %34, label %41, label %35
35: ; preds = %27
%36 = load ptr, ptr %2, align 8, !tbaa !5
%37 = load i32, ptr %36, align 4, !tbaa !17
%38 = tail call i32 @vulkan_destroy_texture(i32 noundef %37, ptr noundef nonnull %32) #2
%39 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !24
%40 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !23
br label %41
41: ; preds = %27, %35
%42 = phi i32 [ %28, %27 ], [ %40, %35 ]
%43 = phi i64 [ %29, %27 ], [ %39, %35 ]
%44 = add nuw nsw i64 %30, 1
%45 = zext i32 %42 to i64
%46 = icmp ult i64 %44, %45
br i1 %46, label %27, label %47, !llvm.loop !27
47: ; preds = %41, %1
ret void
}
declare i32 @vkDestroyPipelineCache(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vulkan_destroy_texture(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vkDestroyCommandPool(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"TYPE_14__", !7, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !13, i64 32, !16, i64 40}
!7 = !{!"TYPE_13__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_11__", !12, i64 0, !12, i64 4}
!12 = !{!"int", !9, i64 0}
!13 = !{!"TYPE_10__", !14, i64 0}
!14 = !{!"TYPE_15__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!"TYPE_9__", !12, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_12__", !12, i64 0}
!19 = !{!6, !12, i64 40}
!20 = !{!6, !12, i64 24}
!21 = !{!6, !12, i64 20}
!22 = !{!6, !12, i64 16}
!23 = !{!12, !12, i64 0}
!24 = !{!15, !15, i64 0}
!25 = !{!6, !8, i64 0}
!26 = !{!14, !15, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_deinit_static_resources.c'
source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_vulkan.c_vulkan_deinit_static_resources.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_15__ = type { i64 }
@VULKAN_MAX_SWAPCHAIN_IMAGES = common local_unnamed_addr global i32 0, align 4
@VK_NULL_HANDLE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @vulkan_deinit_static_resources], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @vulkan_deinit_static_resources(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !tbaa !6
%4 = load i32, ptr %3, align 4, !tbaa !18
%5 = getelementptr inbounds i8, ptr %0, i64 40
%6 = load i32, ptr %5, align 8, !tbaa !20
%7 = tail call i32 @vkDestroyPipelineCache(i32 noundef %4, i32 noundef %6, ptr noundef null) #2
%8 = load ptr, ptr %2, align 8, !tbaa !6
%9 = load i32, ptr %8, align 4, !tbaa !18
%10 = getelementptr inbounds i8, ptr %0, i64 32
%11 = tail call i32 @vulkan_destroy_texture(i32 noundef %9, ptr noundef nonnull %10) #2
%12 = load ptr, ptr %2, align 8, !tbaa !6
%13 = load i32, ptr %12, align 4, !tbaa !18
%14 = getelementptr inbounds i8, ptr %0, i64 24
%15 = load i32, ptr %14, align 8, !tbaa !21
%16 = tail call i32 @vkDestroyCommandPool(i32 noundef %13, i32 noundef %15, ptr noundef null) #2
%17 = getelementptr inbounds i8, ptr %0, i64 16
%18 = getelementptr inbounds i8, ptr %0, i64 20
%19 = load i32, ptr %18, align 4, !tbaa !22
%20 = tail call i32 @free(i32 noundef %19) #2
%21 = load i32, ptr %17, align 8, !tbaa !23
%22 = tail call i32 @free(i32 noundef %21) #2
%23 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !24
%24 = icmp eq i32 %23, 0
br i1 %24, label %47, label %25
25: ; preds = %1
%26 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !25
br label %27
27: ; preds = %25, %41
%28 = phi i32 [ %23, %25 ], [ %42, %41 ]
%29 = phi i64 [ %26, %25 ], [ %43, %41 ]
%30 = phi i64 [ 0, %25 ], [ %44, %41 ]
%31 = load ptr, ptr %0, align 8, !tbaa !26
%32 = getelementptr inbounds %struct.TYPE_15__, ptr %31, i64 %30
%33 = load i64, ptr %32, align 8, !tbaa !27
%34 = icmp eq i64 %33, %29
br i1 %34, label %41, label %35
35: ; preds = %27
%36 = load ptr, ptr %2, align 8, !tbaa !6
%37 = load i32, ptr %36, align 4, !tbaa !18
%38 = tail call i32 @vulkan_destroy_texture(i32 noundef %37, ptr noundef nonnull %32) #2
%39 = load i64, ptr @VK_NULL_HANDLE, align 8, !tbaa !25
%40 = load i32, ptr @VULKAN_MAX_SWAPCHAIN_IMAGES, align 4, !tbaa !24
br label %41
41: ; preds = %27, %35
%42 = phi i32 [ %28, %27 ], [ %40, %35 ]
%43 = phi i64 [ %29, %27 ], [ %39, %35 ]
%44 = add nuw nsw i64 %30, 1
%45 = zext i32 %42 to i64
%46 = icmp ult i64 %44, %45
br i1 %46, label %27, label %47, !llvm.loop !28
47: ; preds = %41, %1
ret void
}
declare i32 @vkDestroyPipelineCache(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vulkan_destroy_texture(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vkDestroyCommandPool(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @free(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 8}
!7 = !{!"TYPE_14__", !8, i64 0, !9, i64 8, !12, i64 16, !13, i64 24, !14, i64 32, !17, i64 40}
!8 = !{!"TYPE_13__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"TYPE_11__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !10, i64 0}
!14 = !{!"TYPE_10__", !15, i64 0}
!15 = !{!"TYPE_15__", !16, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!"TYPE_9__", !13, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_12__", !13, i64 0}
!20 = !{!7, !13, i64 40}
!21 = !{!7, !13, i64 24}
!22 = !{!7, !13, i64 20}
!23 = !{!7, !13, i64 16}
!24 = !{!13, !13, i64 0}
!25 = !{!16, !16, i64 0}
!26 = !{!7, !9, i64 0}
!27 = !{!15, !16, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
| RetroArch_gfx_drivers_extr_vulkan.c_vulkan_deinit_static_resources |
; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_protectdata.c_valid_protect_data.c'
source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_protectdata.c_valid_protect_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.protect_data_t = type { i32, i32, i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64, i64 }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"called\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"count0 != 0x0001 !\0A\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"null0 != 0x0000 !\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"null1 != 0x0000 !\0A\00", align 1
@crypt_magic_str = dso_local local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"info0 magic value not matched !\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"unrecognized CryptProtectData block\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @valid_protect_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @valid_protect_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @TRUE, align 4, !tbaa !5
%3 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2
%4 = load i32, ptr %0, align 8, !tbaa !9
%5 = icmp eq i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2
%8 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %9
9: ; preds = %6, %1
%10 = phi i32 [ %8, %6 ], [ %2, %1 ]
%11 = getelementptr inbounds %struct.protect_data_t, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 4, !tbaa !13
%13 = icmp eq i32 %12, 1
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2
%16 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %17
17: ; preds = %14, %9
%18 = phi i32 [ %16, %14 ], [ %10, %9 ]
%19 = getelementptr inbounds %struct.protect_data_t, ptr %0, i64 0, i32 2
%20 = load i32, ptr %19, align 8, !tbaa !14
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2
%24 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %25
25: ; preds = %22, %17
%26 = phi i32 [ %24, %22 ], [ %18, %17 ]
%27 = getelementptr inbounds %struct.protect_data_t, ptr %0, i64 0, i32 3
%28 = load i32, ptr %27, align 4, !tbaa !15
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = tail call i32 @ERR(ptr noundef nonnull @.str.3) #2
%32 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %33
33: ; preds = %30, %25
%34 = phi i32 [ %32, %30 ], [ %26, %25 ]
%35 = getelementptr inbounds %struct.protect_data_t, ptr %0, i64 0, i32 4
%36 = load i64, ptr %35, align 8, !tbaa !16
%37 = load i32, ptr @crypt_magic_str, align 4, !tbaa !5
%38 = tail call i64 @strlen(i32 noundef %37) #2
%39 = add nsw i64 %38, 1
%40 = icmp eq i64 %36, %39
br i1 %40, label %41, label %48
41: ; preds = %33
%42 = getelementptr inbounds %struct.protect_data_t, ptr %0, i64 0, i32 4, i32 1
%43 = load i64, ptr %42, align 8, !tbaa !17
%44 = trunc i64 %43 to i32
%45 = load i32, ptr @crypt_magic_str, align 4, !tbaa !5
%46 = tail call i64 @strcmp(i32 noundef %44, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %41, %33
%49 = tail call i32 @ERR(ptr noundef nonnull @.str.4) #2
%50 = load i32, ptr @FALSE, align 4, !tbaa !5
br label %51
51: ; preds = %48, %41
%52 = phi i32 [ %50, %48 ], [ %34, %41 ]
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = tail call i32 @ERR(ptr noundef nonnull @.str.5) #2
br label %56
56: ; preds = %54, %51
ret i32 %52
}
declare i32 @TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"protect_data_t", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"TYPE_2__", !12, i64 0, !12, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !6, i64 4}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !6, i64 12}
!16 = !{!10, !12, i64 16}
!17 = !{!10, !12, i64 24}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/crypt32/extr_protectdata.c_valid_protect_data.c'
source_filename = "AnghaBench/reactos/dll/win32/crypt32/extr_protectdata.c_valid_protect_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"called\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"count0 != 0x0001 !\0A\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"null0 != 0x0000 !\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"null1 != 0x0000 !\0A\00", align 1
@crypt_magic_str = common local_unnamed_addr global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"info0 magic value not matched !\0A\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"unrecognized CryptProtectData block\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @valid_protect_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @valid_protect_data(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @TRUE, align 4, !tbaa !6
%3 = tail call i32 @TRACE(ptr noundef nonnull @.str) #2
%4 = load i32, ptr %0, align 8, !tbaa !10
%5 = icmp eq i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2
%8 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %9
9: ; preds = %6, %1
%10 = phi i32 [ %8, %6 ], [ %2, %1 ]
%11 = getelementptr inbounds i8, ptr %0, i64 4
%12 = load i32, ptr %11, align 4, !tbaa !14
%13 = icmp eq i32 %12, 1
br i1 %13, label %17, label %14
14: ; preds = %9
%15 = tail call i32 @ERR(ptr noundef nonnull @.str.1) #2
%16 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %17
17: ; preds = %14, %9
%18 = phi i32 [ %16, %14 ], [ %10, %9 ]
%19 = getelementptr inbounds i8, ptr %0, i64 8
%20 = load i32, ptr %19, align 8, !tbaa !15
%21 = icmp eq i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = tail call i32 @ERR(ptr noundef nonnull @.str.2) #2
%24 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %25
25: ; preds = %22, %17
%26 = phi i32 [ %24, %22 ], [ %18, %17 ]
%27 = getelementptr inbounds i8, ptr %0, i64 12
%28 = load i32, ptr %27, align 4, !tbaa !16
%29 = icmp eq i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %25
%31 = tail call i32 @ERR(ptr noundef nonnull @.str.3) #2
%32 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %33
33: ; preds = %30, %25
%34 = phi i32 [ %32, %30 ], [ %26, %25 ]
%35 = getelementptr inbounds i8, ptr %0, i64 16
%36 = load i64, ptr %35, align 8, !tbaa !17
%37 = load i32, ptr @crypt_magic_str, align 4, !tbaa !6
%38 = tail call i64 @strlen(i32 noundef %37) #2
%39 = add nsw i64 %38, 1
%40 = icmp eq i64 %36, %39
br i1 %40, label %41, label %48
41: ; preds = %33
%42 = getelementptr inbounds i8, ptr %0, i64 24
%43 = load i64, ptr %42, align 8, !tbaa !18
%44 = trunc i64 %43 to i32
%45 = load i32, ptr @crypt_magic_str, align 4, !tbaa !6
%46 = tail call i64 @strcmp(i32 noundef %44, i32 noundef %45) #2
%47 = icmp eq i64 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %41, %33
%49 = tail call i32 @ERR(ptr noundef nonnull @.str.4) #2
%50 = load i32, ptr @FALSE, align 4, !tbaa !6
br label %51
51: ; preds = %48, %41
%52 = phi i32 [ %50, %48 ], [ %34, %41 ]
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = tail call i32 @ERR(ptr noundef nonnull @.str.5) #2
br label %56
56: ; preds = %54, %51
ret i32 %52
}
declare i32 @TRACE(ptr noundef) local_unnamed_addr #1
declare i32 @ERR(ptr noundef) local_unnamed_addr #1
declare i64 @strlen(i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"protect_data_t", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16}
!12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8}
!13 = !{!"long", !8, i64 0}
!14 = !{!11, !7, i64 4}
!15 = !{!11, !7, i64 8}
!16 = !{!11, !7, i64 12}
!17 = !{!11, !13, i64 16}
!18 = !{!11, !13, i64 24}
| reactos_dll_win32_crypt32_extr_protectdata.c_valid_protect_data |
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_scb_busaddr_print.c'
source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_scb_busaddr_print.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"SCB_BUSADDR\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @ahd_scb_busaddr_print(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ahd_print_register(ptr noundef null, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef 424, i32 noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @ahd_print_register(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_scb_busaddr_print.c'
source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_scb_busaddr_print.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"SCB_BUSADDR\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @ahd_scb_busaddr_print(i32 noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = tail call i32 @ahd_print_register(ptr noundef null, i32 noundef 0, ptr noundef nonnull @.str, i32 noundef 424, i32 noundef %0, ptr noundef %1, i32 noundef %2) #2
ret i32 %4
}
declare i32 @ahd_print_register(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| freebsd_sys_dev_aic7xxx_extr_aic79xx_reg_print.c_ahd_scb_busaddr_print |
; ModuleID = 'AnghaBench/libgit2/tests/object/tree/extr_frompath.c_assert_tree_from_path.c'
source_filename = "AnghaBench/libgit2/tests/object/tree/extr_frompath.c_assert_tree_from_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @assert_tree_from_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @assert_tree_from_path(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @git_tree_entry_bypath(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3
%6 = call i32 @cl_git_pass(i32 noundef %5) #3
%7 = load ptr, ptr %4, align 8, !tbaa !5
%8 = call i32 @git_tree_entry_name(ptr noundef %7) #3
%9 = call i32 @cl_assert_equal_s(i32 noundef %8, ptr noundef %2) #3
%10 = load ptr, ptr %4, align 8, !tbaa !5
%11 = call i32 @git_tree_entry_free(ptr noundef %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_bypath(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_s(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_name(ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/libgit2/tests/object/tree/extr_frompath.c_assert_tree_from_path.c'
source_filename = "AnghaBench/libgit2/tests/object/tree/extr_frompath.c_assert_tree_from_path.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 @assert_tree_from_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @assert_tree_from_path(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
%5 = call i32 @git_tree_entry_bypath(ptr noundef nonnull %4, ptr noundef %0, ptr noundef %1) #3
%6 = call i32 @cl_git_pass(i32 noundef %5) #3
%7 = load ptr, ptr %4, align 8, !tbaa !6
%8 = call i32 @git_tree_entry_name(ptr noundef %7) #3
%9 = call i32 @cl_assert_equal_s(i32 noundef %8, ptr noundef %2) #3
%10 = load ptr, ptr %4, align 8, !tbaa !6
%11 = call i32 @git_tree_entry_free(ptr noundef %10) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_bypath(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @cl_assert_equal_s(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_name(ptr noundef) local_unnamed_addr #2
declare i32 @git_tree_entry_free(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| libgit2_tests_object_tree_extr_frompath.c_assert_tree_from_path |
; ModuleID = 'AnghaBench/RetroArch/ctr/extr_gpu_old.c_GPU_DepthMap.c'
source_filename = "AnghaBench/RetroArch/ctr/extr_gpu_old.c_GPU_DepthMap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GPUREG_DEPTHMAP_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@GPUREG_DEPTHMAP_SCALE = dso_local local_unnamed_addr global i32 0, align 4
@GPUREG_DEPTHMAP_OFFSET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @GPU_DepthMap(float noundef %0, float noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GPUREG_DEPTHMAP_ENABLE, align 4, !tbaa !5
%4 = tail call i32 @GPUCMD_AddWrite(i32 noundef %3, i32 noundef 1) #2
%5 = load i32, ptr @GPUREG_DEPTHMAP_SCALE, align 4, !tbaa !5
%6 = tail call i32 @f32tof24(float noundef %0) #2
%7 = tail call i32 @GPUCMD_AddWrite(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @GPUREG_DEPTHMAP_OFFSET, align 4, !tbaa !5
%9 = tail call i32 @f32tof24(float noundef %1) #2
%10 = tail call i32 @GPUCMD_AddWrite(i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @GPUCMD_AddWrite(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @f32tof24(float noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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/ctr/extr_gpu_old.c_GPU_DepthMap.c'
source_filename = "AnghaBench/RetroArch/ctr/extr_gpu_old.c_GPU_DepthMap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GPUREG_DEPTHMAP_ENABLE = common local_unnamed_addr global i32 0, align 4
@GPUREG_DEPTHMAP_SCALE = common local_unnamed_addr global i32 0, align 4
@GPUREG_DEPTHMAP_OFFSET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @GPU_DepthMap(float noundef %0, float noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @GPUREG_DEPTHMAP_ENABLE, align 4, !tbaa !6
%4 = tail call i32 @GPUCMD_AddWrite(i32 noundef %3, i32 noundef 1) #2
%5 = load i32, ptr @GPUREG_DEPTHMAP_SCALE, align 4, !tbaa !6
%6 = tail call i32 @f32tof24(float noundef %0) #2
%7 = tail call i32 @GPUCMD_AddWrite(i32 noundef %5, i32 noundef %6) #2
%8 = load i32, ptr @GPUREG_DEPTHMAP_OFFSET, align 4, !tbaa !6
%9 = tail call i32 @f32tof24(float noundef %1) #2
%10 = tail call i32 @GPUCMD_AddWrite(i32 noundef %8, i32 noundef %9) #2
ret void
}
declare i32 @GPUCMD_AddWrite(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @f32tof24(float noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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_ctr_extr_gpu_old.c_GPU_DepthMap |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arc/gnu/extr_arcompact-dis.c_core_reg_name.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/arc/gnu/extr_arcompact-dis.c_core_reg_name.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.arcDisState = type { ptr, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @core_reg_name], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @core_reg_name(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = getelementptr inbounds %struct.arcDisState, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = tail call ptr %3(i32 noundef %7, i32 noundef %1) #1
br label %9
9: ; preds = %2, %5
%10 = phi ptr [ %8, %5 ], [ null, %2 ]
ret ptr %10
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"arcDisState", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/arc/gnu/extr_arcompact-dis.c_core_reg_name.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/arc/gnu/extr_arcompact-dis.c_core_reg_name.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 @core_reg_name], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @core_reg_name(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %9, label %5
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call ptr %3(i32 noundef %7, i32 noundef %1) #1
br label %9
9: ; preds = %2, %5
%10 = phi ptr [ %8, %5 ], [ null, %2 ]
ret ptr %10
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"arcDisState", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
| radare2_libr_asm_arch_arc_gnu_extr_arcompact-dis.c_core_reg_name |
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_verbs.h_full_flow_psn.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_verbs.h_full_flow_psn.c"
target datalayout = "e-m:e-p270:32:32-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 @full_flow_psn], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @full_flow_psn(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @__full_flow_psn(ptr noundef %0, i32 noundef %1) #2
ret i32 %3
}
declare i32 @__full_flow_psn(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_verbs.h_full_flow_psn.c'
source_filename = "AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_verbs.h_full_flow_psn.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 @full_flow_psn], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @full_flow_psn(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @__full_flow_psn(ptr noundef %0, i32 noundef %1) #2
ret i32 %3
}
declare i32 @__full_flow_psn(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_infiniband_hw_hfi1_extr_verbs.h_full_flow_psn |
; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_calc_listh.c'
source_filename = "AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_calc_listh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i64 }
@SLINES = dso_local local_unnamed_addr global i32 0, align 4
@dialog_vars = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @dlg_calc_listh(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SLINES, align 4, !tbaa !5
%5 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @dialog_vars, i64 0, i32 1), align 8, !tbaa !9
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @dialog_vars, align 8
%8 = select i1 %6, i32 0, i32 %7
%9 = load i32, ptr %0, align 4, !tbaa !5
%10 = add i32 %9, %8
%11 = sub i32 %4, %10
%12 = icmp sgt i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %3
%14 = load i32, ptr %1, align 4, !tbaa !5
br label %19
15: ; preds = %3
%16 = icmp sgt i32 %11, %2
br i1 %16, label %17, label %18
17: ; preds = %15
store i32 %2, ptr %1, align 4, !tbaa !5
br label %19
18: ; preds = %15
store i32 %11, ptr %1, align 4, !tbaa !5
br label %19
19: ; preds = %13, %17, %18
%20 = phi i32 [ %14, %13 ], [ %2, %17 ], [ %11, %18 ]
%21 = load i32, ptr %0, align 4, !tbaa !5
%22 = add nsw i32 %21, %20
store i32 %22, ptr %0, align 4, !tbaa !5
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"TYPE_2__", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_calc_listh.c'
source_filename = "AnghaBench/freebsd/contrib/dialog/extr_util.c_dlg_calc_listh.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, i64 }
@SLINES = common local_unnamed_addr global i32 0, align 4
@dialog_vars = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define void @dlg_calc_listh(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @SLINES, align 4, !tbaa !6
%5 = load i64, ptr getelementptr inbounds (i8, ptr @dialog_vars, i64 8), align 8, !tbaa !10
%6 = icmp eq i64 %5, 0
%7 = load i32, ptr @dialog_vars, align 8
%8 = select i1 %6, i32 0, i32 %7
%9 = load i32, ptr %0, align 4, !tbaa !6
%10 = add i32 %9, %8
%11 = sub i32 %4, %10
%12 = icmp sgt i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %3
%14 = load i32, ptr %1, align 4, !tbaa !6
br label %19
15: ; preds = %3
%16 = icmp sgt i32 %11, %2
br i1 %16, label %17, label %18
17: ; preds = %15
store i32 %2, ptr %1, align 4, !tbaa !6
br label %19
18: ; preds = %15
store i32 %11, ptr %1, align 4, !tbaa !6
br label %19
19: ; preds = %13, %17, %18
%20 = phi i32 [ %14, %13 ], [ %2, %17 ], [ %11, %18 ]
%21 = load i32, ptr %0, align 4, !tbaa !6
%22 = add nsw i32 %21, %20
store i32 %22, ptr %0, align 4, !tbaa !6
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 8}
!11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
| freebsd_contrib_dialog_extr_util.c_dlg_calc_listh |
; ModuleID = 'AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-buildid-list.c_filename__fprintf_build_id.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-buildid-list.c_filename__fprintf_build_id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BUILD_ID_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @filename__fprintf_build_id], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @filename__fprintf_build_id(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @BUILD_ID_SIZE, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 16
%6 = shl nsw i32 %3, 1
%7 = or disjoint i32 %6, 1
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 16
%10 = shl nuw nsw i64 %4, 2
%11 = trunc i64 %10 to i32
%12 = call i32 @filename__read_build_id(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %11) #2
%13 = sext i32 %12 to i64
%14 = icmp eq i64 %10, %13
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @build_id__sprintf(ptr noundef nonnull %5, i32 noundef %11, ptr noundef nonnull %9) #2
%17 = call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %9) #2
br label %18
18: ; preds = %2, %15
%19 = phi i32 [ %17, %15 ], [ 0, %2 ]
ret i32 %19
}
declare i32 @filename__read_build_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @build_id__sprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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)"}
!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/tools/perf/extr_builtin-buildid-list.c_filename__fprintf_build_id.c'
source_filename = "AnghaBench/fastsocket/kernel/tools/perf/extr_builtin-buildid-list.c_filename__fprintf_build_id.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUILD_ID_SIZE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @filename__fprintf_build_id], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @filename__fprintf_build_id(ptr noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @BUILD_ID_SIZE, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i32, i64 %4, align 4
%6 = shl nsw i32 %3, 1
%7 = or disjoint i32 %6, 1
%8 = zext i32 %7 to i64
%9 = alloca i8, i64 %8, align 1
%10 = shl nuw nsw i64 %4, 2
%11 = trunc i64 %10 to i32
%12 = call i32 @filename__read_build_id(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %11) #2
%13 = sext i32 %12 to i64
%14 = icmp eq i64 %10, %13
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @build_id__sprintf(ptr noundef nonnull %5, i32 noundef %11, ptr noundef nonnull %9) #2
%17 = call i32 @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull %9) #2
br label %18
18: ; preds = %2, %15
%19 = phi i32 [ %17, %15 ], [ 0, %2 ]
ret i32 %19
}
declare i32 @filename__read_build_id(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @build_id__sprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
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)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_tools_perf_extr_builtin-buildid-list.c_filename__fprintf_build_id |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lcn.c_b43_phy_lcn_op_switch_channel.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lcn.c_b43_phy_lcn_op_switch_channel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NL80211_BAND_2GHZ = dso_local local_unnamed_addr global i64 0, align 8
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @b43_phy_lcn_op_switch_channel], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @b43_phy_lcn_op_switch_channel(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load ptr, ptr %4, align 8, !tbaa !12
%6 = tail call i32 @cfg80211_get_chandef_type(ptr noundef nonnull %4) #2
%7 = load ptr, ptr %0, align 8, !tbaa !5
%8 = tail call i64 @b43_current_band(ptr noundef %7) #2
%9 = load i64, ptr @NL80211_BAND_2GHZ, align 8, !tbaa !16
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = add i32 %1, -15
%13 = icmp ult i32 %12, -14
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr @EINVAL, align 4, !tbaa !18
%16 = sub nsw i32 0, %15
br label %22
17: ; preds = %2
%18 = load i32, ptr @EINVAL, align 4, !tbaa !18
%19 = sub nsw i32 0, %18
br label %22
20: ; preds = %11
%21 = tail call i32 @b43_phy_lcn_set_channel(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %6) #2
br label %22
22: ; preds = %20, %17, %14
%23 = phi i32 [ %16, %14 ], [ %21, %20 ], [ %19, %17 ]
ret i32 %23
}
declare i32 @cfg80211_get_chandef_type(ptr noundef) local_unnamed_addr #1
declare i64 @b43_current_band(ptr noundef) local_unnamed_addr #1
declare i32 @b43_phy_lcn_set_channel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"b43_wldev", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_8__", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_6__", !14, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"TYPE_7__", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lcn.c_b43_phy_lcn_op_switch_channel.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_lcn.c_b43_phy_lcn_op_switch_channel.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NL80211_BAND_2GHZ = common local_unnamed_addr global i64 0, align 8
@EINVAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @b43_phy_lcn_op_switch_channel], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @b43_phy_lcn_op_switch_channel(ptr noundef %0, i32 noundef %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load ptr, ptr %4, align 8, !tbaa !13
%6 = tail call i32 @cfg80211_get_chandef_type(ptr noundef nonnull %4) #2
%7 = load ptr, ptr %0, align 8, !tbaa !6
%8 = tail call i64 @b43_current_band(ptr noundef %7) #2
%9 = load i64, ptr @NL80211_BAND_2GHZ, align 8, !tbaa !17
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %2
%12 = add i32 %1, -15
%13 = icmp ult i32 %12, -14
br i1 %13, label %14, label %20
14: ; preds = %11
%15 = load i32, ptr @EINVAL, align 4, !tbaa !19
%16 = sub nsw i32 0, %15
br label %22
17: ; preds = %2
%18 = load i32, ptr @EINVAL, align 4, !tbaa !19
%19 = sub nsw i32 0, %18
br label %22
20: ; preds = %11
%21 = tail call i32 @b43_phy_lcn_set_channel(ptr noundef nonnull %0, ptr noundef %5, i32 noundef %6) #2
br label %22
22: ; preds = %20, %17, %14
%23 = phi i32 [ %16, %14 ], [ %21, %20 ], [ %19, %17 ]
ret i32 %23
}
declare i32 @cfg80211_get_chandef_type(ptr noundef) local_unnamed_addr #1
declare i64 @b43_current_band(ptr noundef) local_unnamed_addr #1
declare i32 @b43_phy_lcn_set_channel(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"b43_wldev", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_8__", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"TYPE_6__", !15, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_7__", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !9, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !9, i64 0}
| linux_drivers_net_wireless_broadcom_b43_extr_phy_lcn.c_b43_phy_lcn_op_switch_channel |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pcm/extr_channel.c_chn_getptr.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pcm/extr_channel.c_chn_getptr.c"
target datalayout = "e-m:e-p270:32:32-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.pcm_channel = type { i32, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @chn_getptr(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @CHN_LOCKASSERT(ptr noundef %0) #2
%3 = tail call i64 @CHN_STARTED(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = getelementptr inbounds %struct.pcm_channel, ptr %0, i64 0, i32 2
%7 = load i32, ptr %6, align 4, !tbaa !5
%8 = getelementptr inbounds %struct.pcm_channel, ptr %0, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = tail call i32 @CHANNEL_GETPTR(i32 noundef %7, i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
%12 = phi i32 [ %10, %5 ], [ 0, %1 ]
%13 = load i32, ptr %0, align 4, !tbaa !11
%14 = tail call i32 @sndbuf_getalign(i32 noundef %13) #2
%15 = srem i32 %12, %14
%16 = sub nsw i32 %12, %15
ret i32 %16
}
declare i32 @CHN_LOCKASSERT(ptr noundef) local_unnamed_addr #1
declare i64 @CHN_STARTED(ptr noundef) local_unnamed_addr #1
declare i32 @CHANNEL_GETPTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sndbuf_getalign(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"pcm_channel", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pcm/extr_channel.c_chn_getptr.c'
source_filename = "AnghaBench/freebsd/sys/dev/sound/pcm/extr_channel.c_chn_getptr.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 @chn_getptr(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @CHN_LOCKASSERT(ptr noundef %0) #2
%3 = tail call i64 @CHN_STARTED(ptr noundef %0) #2
%4 = icmp eq i64 %3, 0
br i1 %4, label %11, label %5
5: ; preds = %1
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %0, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @CHANNEL_GETPTR(i32 noundef %7, i32 noundef %9) #2
br label %11
11: ; preds = %1, %5
%12 = phi i32 [ %10, %5 ], [ 0, %1 ]
%13 = load i32, ptr %0, align 4, !tbaa !12
%14 = tail call i32 @sndbuf_getalign(i32 noundef %13) #2
%15 = srem i32 %12, %14
%16 = sub nsw i32 %12, %15
ret i32 %16
}
declare i32 @CHN_LOCKASSERT(ptr noundef) local_unnamed_addr #1
declare i64 @CHN_STARTED(ptr noundef) local_unnamed_addr #1
declare i32 @CHANNEL_GETPTR(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sndbuf_getalign(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"pcm_channel", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 0}
| freebsd_sys_dev_sound_pcm_extr_channel.c_chn_getptr |
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-mf.c_mf_probe.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-mf.c_mf_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hid_device = type { i32, i32 }
@.str = private unnamed_addr constant [32 x i8] c"Mayflash HID hardware probe...\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"HID parse failed.\0A\00", align 1
@HID_CONNECT_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@HID_CONNECT_FF = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"HID hw start failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Force feedback init failed.\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @mf_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mf_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.hid_device, ptr %0, i64 0, i32 1
%4 = tail call i32 @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = load i32, ptr %0, align 4, !tbaa !10
%7 = or i32 %6, %5
store i32 %7, ptr %0, align 4, !tbaa !10
%8 = tail call i32 @hid_parse(ptr noundef nonnull %0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %27
12: ; preds = %2
%13 = load i32, ptr @HID_CONNECT_DEFAULT, align 4, !tbaa !12
%14 = load i32, ptr @HID_CONNECT_FF, align 4, !tbaa !12
%15 = xor i32 %14, -1
%16 = and i32 %13, %15
%17 = tail call i32 @hid_hw_start(ptr noundef nonnull %0, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %12
%20 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
br label %27
21: ; preds = %12
%22 = tail call i32 @mf_init(ptr noundef nonnull %0) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2
%26 = tail call i32 @hid_hw_stop(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %21, %24, %19, %10
%28 = phi i32 [ %8, %10 ], [ %17, %19 ], [ %22, %24 ], [ 0, %21 ]
ret i32 %28
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hid_parse(ptr noundef) local_unnamed_addr #1
declare i32 @hid_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mf_init(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_stop(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 = !{!"hid_device_id", !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 = !{!"hid_device", !7, i64 0, !7, i64 4}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-mf.c_mf_probe.c'
source_filename = "AnghaBench/linux/drivers/hid/extr_hid-mf.c_mf_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [32 x i8] c"Mayflash HID hardware probe...\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"HID parse failed.\0A\00", align 1
@HID_CONNECT_DEFAULT = common local_unnamed_addr global i32 0, align 4
@HID_CONNECT_FF = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"HID hw start failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Force feedback init failed.\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @mf_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mf_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @dev_dbg(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = load i32, ptr %0, align 4, !tbaa !11
%7 = or i32 %6, %5
store i32 %7, ptr %0, align 4, !tbaa !11
%8 = tail call i32 @hid_parse(ptr noundef nonnull %0) #2
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
br label %27
12: ; preds = %2
%13 = load i32, ptr @HID_CONNECT_DEFAULT, align 4, !tbaa !13
%14 = load i32, ptr @HID_CONNECT_FF, align 4, !tbaa !13
%15 = xor i32 %14, -1
%16 = and i32 %13, %15
%17 = tail call i32 @hid_hw_start(ptr noundef nonnull %0, i32 noundef %16) #2
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %12
%20 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
br label %27
21: ; preds = %12
%22 = tail call i32 @mf_init(ptr noundef nonnull %0) #2
%23 = icmp eq i32 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = tail call i32 @hid_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2
%26 = tail call i32 @hid_hw_stop(ptr noundef nonnull %0) #2
br label %27
27: ; preds = %21, %24, %19, %10
%28 = phi i32 [ %8, %10 ], [ %17, %19 ], [ %22, %24 ], [ 0, %21 ]
ret i32 %28
}
declare i32 @dev_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hid_parse(ptr noundef) local_unnamed_addr #1
declare i32 @hid_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_start(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mf_init(ptr noundef) local_unnamed_addr #1
declare i32 @hid_hw_stop(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 = !{!"hid_device_id", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"hid_device", !8, i64 0, !8, i64 4}
!13 = !{!8, !8, i64 0}
| linux_drivers_hid_extr_hid-mf.c_mf_probe |
; ModuleID = 'AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_get_mc_index.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_get_mc_index.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RTL8367B_NUM_PORTS = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@RTL8367B_VLAN_PVID_CTRL_MASK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @rtl8367b_get_mc_index], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @rtl8367b_get_mc_index(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @RTL8367B_NUM_PORTS, align 4, !tbaa !5
%6 = icmp sgt i32 %5, %1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !5
%9 = sub nsw i32 0, %8
br label %18
10: ; preds = %3
%11 = tail call i32 @RTL8367B_VLAN_PVID_CTRL_REG(i32 noundef %1) #3
%12 = call i32 @REG_RD(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %4, align 4, !tbaa !5
%14 = call i32 @RTL8367B_VLAN_PVID_CTRL_SHIFT(i32 noundef %1) #3
%15 = ashr i32 %13, %14
%16 = load i32, ptr @RTL8367B_VLAN_PVID_CTRL_MASK, align 4, !tbaa !5
%17 = and i32 %15, %16
store i32 %17, ptr %2, align 4, !tbaa !5
br label %18
18: ; preds = %10, %7
%19 = phi i32 [ %9, %7 ], [ 0, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @REG_RD(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RTL8367B_VLAN_PVID_CTRL_REG(i32 noundef) local_unnamed_addr #2
declare i32 @RTL8367B_VLAN_PVID_CTRL_SHIFT(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/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_get_mc_index.c'
source_filename = "AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_rtl8367b.c_rtl8367b_get_mc_index.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTL8367B_NUM_PORTS = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@RTL8367B_VLAN_PVID_CTRL_MASK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @rtl8367b_get_mc_index], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @rtl8367b_get_mc_index(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = load i32, ptr @RTL8367B_NUM_PORTS, align 4, !tbaa !6
%6 = icmp sgt i32 %5, %1
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !6
%9 = sub nsw i32 0, %8
br label %18
10: ; preds = %3
%11 = tail call i32 @RTL8367B_VLAN_PVID_CTRL_REG(i32 noundef %1) #3
%12 = call i32 @REG_RD(ptr noundef %0, i32 noundef %11, ptr noundef nonnull %4) #3
%13 = load i32, ptr %4, align 4, !tbaa !6
%14 = call i32 @RTL8367B_VLAN_PVID_CTRL_SHIFT(i32 noundef %1) #3
%15 = ashr i32 %13, %14
%16 = load i32, ptr @RTL8367B_VLAN_PVID_CTRL_MASK, align 4, !tbaa !6
%17 = and i32 %15, %16
store i32 %17, ptr %2, align 4, !tbaa !6
br label %18
18: ; preds = %10, %7
%19 = phi i32 [ %9, %7 ], [ 0, %10 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %19
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @REG_RD(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @RTL8367B_VLAN_PVID_CTRL_REG(i32 noundef) local_unnamed_addr #2
declare i32 @RTL8367B_VLAN_PVID_CTRL_SHIFT(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"}
| openwrt_target_linux_generic_files_drivers_net_phy_extr_rtl8367b.c_rtl8367b_get_mc_index |
; ModuleID = 'AnghaBench/Atlas/src/extr_lua-env.c_luaL_checkself.c'
source_filename = "AnghaBench/Atlas/src/extr_lua-env.c_luaL_checkself.c"
target datalayout = "e-m:e-p270:32:32-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 @luaL_checkself(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef 1) #2
ret ptr %2
}
declare ptr @lua_touserdata(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/Atlas/src/extr_lua-env.c_luaL_checkself.c'
source_filename = "AnghaBench/Atlas/src/extr_lua-env.c_luaL_checkself.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 @luaL_checkself(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call ptr @lua_touserdata(ptr noundef %0, i32 noundef 1) #2
ret ptr %2
}
declare ptr @lua_touserdata(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)"}
| Atlas_src_extr_lua-env.c_luaL_checkself |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_mca_drv.c_is_mca_global.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_mca_drv.c_is_mca_global.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { i64, i64, i64, i64 }
%struct.TYPE_5__ = type { i32, i64, i64 }
@MCA_IS_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4
@MCA_IS_LOCAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_mca_global], section "llvm.metadata"
@switch.table.is_mca_global = private unnamed_addr constant [4 x ptr] [ptr @MCA_IS_LOCAL, ptr @MCA_IS_GLOBAL, ptr @MCA_IS_GLOBAL, ptr @MCA_IS_GLOBAL], align 8
; Function Attrs: nounwind uwtable
define internal i32 @is_mca_global(ptr noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i64 @peidx_psp(ptr noundef %0) #2
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %2, align 4, !tbaa !5
switch i32 %6, label %8 [
i32 -1, label %40
i32 0, label %7
]
7: ; preds = %3
br label %40
8: ; preds = %3
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 3
%10 = load i64, ptr %9, align 8, !tbaa !10
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %40
12: ; preds = %8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 2
%14 = load i64, ptr %13, align 8, !tbaa !13
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %40
16: ; preds = %12
%17 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i64 0, i32 1
%18 = load i64, ptr %17, align 8, !tbaa !14
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %40
20: ; preds = %16
%21 = load i64, ptr %5, align 8, !tbaa !15
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %20
%24 = icmp eq ptr %1, null
br i1 %24, label %40, label %25
25: ; preds = %23
%26 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 2
%27 = load i64, ptr %26, align 8, !tbaa !16
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %25
%30 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 1
%31 = load i64, ptr %30, align 8, !tbaa !18
%32 = icmp eq i64 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %29
%34 = load i32, ptr %1, align 8, !tbaa !19
%35 = icmp ult i32 %34, 4
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = zext nneg i32 %34 to i64
%38 = getelementptr inbounds [4 x ptr], ptr @switch.table.is_mca_global, i64 0, i64 %37
%39 = load ptr, ptr %38, align 8
br label %40
40: ; preds = %29, %33, %36, %23, %25, %8, %12, %16, %20, %3, %7
%41 = phi ptr [ @MCA_IS_LOCAL, %7 ], [ @MCA_IS_GLOBAL, %3 ], [ @MCA_IS_LOCAL, %20 ], [ @MCA_IS_LOCAL, %16 ], [ @MCA_IS_LOCAL, %12 ], [ @MCA_IS_LOCAL, %8 ], [ @MCA_IS_GLOBAL, %25 ], [ @MCA_IS_GLOBAL, %23 ], [ %39, %36 ], [ @MCA_IS_GLOBAL, %33 ], [ @MCA_IS_GLOBAL, %29 ]
%42 = load i32, ptr %41, align 4, !tbaa !20
ret i32 %42
}
declare i64 @peidx_psp(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 = !{!"ia64_sal_os_state", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 24}
!11 = !{!"TYPE_4__", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 16}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 0}
!16 = !{!17, !12, i64 16}
!17 = !{!"TYPE_5__", !7, i64 0, !12, i64 8, !12, i64 16}
!18 = !{!17, !12, i64 8}
!19 = !{!17, !7, i64 0}
!20 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_mca_drv.c_is_mca_global.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/ia64/kernel/extr_mca_drv.c_is_mca_global.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MCA_IS_GLOBAL = common local_unnamed_addr global i32 0, align 4
@MCA_IS_LOCAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @is_mca_global], section "llvm.metadata"
@switch.table.is_mca_global = private unnamed_addr constant [4 x ptr] [ptr @MCA_IS_LOCAL, ptr @MCA_IS_GLOBAL, ptr @MCA_IS_GLOBAL, ptr @MCA_IS_GLOBAL], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @is_mca_global(ptr noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = tail call i64 @peidx_psp(ptr noundef %0) #2
%5 = inttoptr i64 %4 to ptr
%6 = load i32, ptr %2, align 4, !tbaa !6
switch i32 %6, label %8 [
i32 -1, label %40
i32 0, label %7
]
7: ; preds = %3
br label %40
8: ; preds = %3
%9 = getelementptr inbounds i8, ptr %5, i64 24
%10 = load i64, ptr %9, align 8, !tbaa !11
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %40
12: ; preds = %8
%13 = getelementptr inbounds i8, ptr %5, i64 16
%14 = load i64, ptr %13, align 8, !tbaa !14
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %40
16: ; preds = %12
%17 = getelementptr inbounds i8, ptr %5, i64 8
%18 = load i64, ptr %17, align 8, !tbaa !15
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %40
20: ; preds = %16
%21 = load i64, ptr %5, align 8, !tbaa !16
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %20
%24 = icmp eq ptr %1, null
br i1 %24, label %40, label %25
25: ; preds = %23
%26 = getelementptr inbounds i8, ptr %1, i64 16
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %25
%30 = getelementptr inbounds i8, ptr %1, i64 8
%31 = load i64, ptr %30, align 8, !tbaa !19
%32 = icmp eq i64 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %29
%34 = load i32, ptr %1, align 8, !tbaa !20
%35 = icmp ult i32 %34, 4
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = zext nneg i32 %34 to i64
%38 = getelementptr inbounds [4 x ptr], ptr @switch.table.is_mca_global, i64 0, i64 %37
%39 = load ptr, ptr %38, align 8
br label %40
40: ; preds = %29, %33, %36, %23, %25, %8, %12, %16, %20, %3, %7
%41 = phi ptr [ @MCA_IS_LOCAL, %7 ], [ @MCA_IS_GLOBAL, %3 ], [ @MCA_IS_LOCAL, %20 ], [ @MCA_IS_LOCAL, %16 ], [ @MCA_IS_LOCAL, %12 ], [ @MCA_IS_LOCAL, %8 ], [ @MCA_IS_GLOBAL, %25 ], [ @MCA_IS_GLOBAL, %23 ], [ %39, %36 ], [ @MCA_IS_GLOBAL, %33 ], [ @MCA_IS_GLOBAL, %29 ]
%42 = load i32, ptr %41, align 4, !tbaa !21
ret i32 %42
}
declare i64 @peidx_psp(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 = !{!"ia64_sal_os_state", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 24}
!12 = !{!"TYPE_4__", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"long", !9, i64 0}
!14 = !{!12, !13, i64 16}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 0}
!17 = !{!18, !13, i64 16}
!18 = !{!"TYPE_5__", !8, i64 0, !13, i64 8, !13, i64 16}
!19 = !{!18, !13, i64 8}
!20 = !{!18, !8, i64 0}
!21 = !{!8, !8, i64 0}
| fastsocket_kernel_arch_ia64_kernel_extr_mca_drv.c_is_mca_global |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_copied_from.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_copied_from.c"
target datalayout = "e-m:e-p270:32:32-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 @svn_fs_copied_from(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load ptr, ptr %2, align 8, !tbaa !5
%7 = load ptr, ptr %6, align 8, !tbaa !10
%8 = tail call i32 %7(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef %4) #2
%9 = tail call ptr @svn_error_trace(i32 noundef %8) #2
ret ptr %9
}
declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_5__", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_copied_from.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs/extr_fs-loader.c_svn_fs_copied_from.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 @svn_fs_copied_from(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = load ptr, ptr %2, align 8, !tbaa !6
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = tail call i32 %7(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef %4) #2
%9 = tail call ptr @svn_error_trace(i32 noundef %8) #2
ret ptr %9
}
declare ptr @svn_error_trace(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
| freebsd_contrib_subversion_subversion_libsvn_fs_extr_fs-loader.c_svn_fs_copied_from |
; ModuleID = 'AnghaBench/exploitdb/exploits/unix/remote/extr_19645.c_resolve.c'
source_filename = "AnghaBench/exploitdb/exploits/unix/remote/extr_19645.c_resolve.c"
target datalayout = "e-m:e-p270:32:32-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.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
%struct.hostent = type { i32, i32 }
@.str = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i64 @resolve(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call i64 @inet_addr(ptr noundef %0) #4
%4 = icmp eq i64 %3, -1
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i64 @inet_addr(ptr noundef %0) #4
br label %21
7: ; preds = %1
%8 = tail call ptr @gethostbyname(ptr noundef %0) #4
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %7
%11 = ptrtoint ptr %2 to i64
%12 = trunc i64 %11 to i32
%13 = getelementptr inbounds %struct.hostent, ptr %8, i64 0, i32 1
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = load i32, ptr %8, align 4, !tbaa !10
%16 = call i32 @memcpy(i32 noundef %12, i32 noundef %14, i32 noundef %15) #4
%17 = load i64, ptr %2, align 8, !tbaa !11
br label %21
18: ; preds = %7
%19 = tail call i32 @perror(ptr noundef nonnull @.str) #4
%20 = tail call i32 @exit(i32 noundef 0) #5
unreachable
21: ; preds = %10, %5
%22 = phi i64 [ %6, %5 ], [ %17, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i64 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @inet_addr(ptr noundef) local_unnamed_addr #2
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-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 4}
!6 = !{!"hostent", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 0}
!11 = !{!12, !14, i64 0}
!12 = !{!"sockaddr_in", !13, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/exploitdb/exploits/unix/remote/extr_19645.c_resolve.c'
source_filename = "AnghaBench/exploitdb/exploits/unix/remote/extr_19645.c_resolve.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.sockaddr_in = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
@.str = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i64 @resolve(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca %struct.sockaddr_in, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
%3 = tail call i64 @inet_addr(ptr noundef %0) #4
%4 = icmp eq i64 %3, -1
br i1 %4, label %7, label %5
5: ; preds = %1
%6 = tail call i64 @inet_addr(ptr noundef %0) #4
br label %21
7: ; preds = %1
%8 = tail call ptr @gethostbyname(ptr noundef %0) #4
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %7
%11 = ptrtoint ptr %2 to i64
%12 = trunc i64 %11 to i32
%13 = getelementptr inbounds i8, ptr %8, i64 4
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = load i32, ptr %8, align 4, !tbaa !11
%16 = call i32 @memcpy(i32 noundef %12, i32 noundef %14, i32 noundef %15) #4
%17 = load i64, ptr %2, align 8, !tbaa !12
br label %21
18: ; preds = %7
%19 = tail call i32 @perror(ptr noundef nonnull @.str) #4
%20 = tail call i32 @exit(i32 noundef 0) #5
unreachable
21: ; preds = %10, %5
%22 = phi i64 [ %6, %5 ], [ %17, %10 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
ret i64 %22
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @inet_addr(ptr noundef) local_unnamed_addr #2
declare ptr @gethostbyname(ptr noundef) local_unnamed_addr #2
declare i32 @memcpy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @perror(ptr noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+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 4}
!7 = !{!"hostent", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 0}
!12 = !{!13, !15, i64 0}
!13 = !{!"sockaddr_in", !14, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !9, i64 0}
| exploitdb_exploits_unix_remote_extr_19645.c_resolve |
; ModuleID = 'AnghaBench/freebsd/sys/dev/xilinx/extr_if_xae.c_xae_write_maddr.c'
source_filename = "AnghaBench/freebsd/sys/dev/xilinx/extr_if_xae.c_xae_write_maddr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@XAE_MULTICAST_TABLE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@XAE_FFC = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xae_write_maddr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @xae_write_maddr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @XAE_MULTICAST_TABLE_SIZE, align 4, !tbaa !5
%5 = icmp sgt i32 %4, %2
br i1 %5, label %6, label %37
6: ; preds = %3
%7 = tail call ptr @LLADDR(ptr noundef %1) #2
%8 = load i32, ptr @XAE_FFC, align 4, !tbaa !5
%9 = tail call i32 @READ4(ptr noundef %0, i32 noundef %8) #2
%10 = and i32 %9, -256
%11 = or i32 %10, %2
%12 = load i32, ptr @XAE_FFC, align 4, !tbaa !5
%13 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %12, i32 noundef %11) #2
%14 = load i32, ptr %7, align 4, !tbaa !5
%15 = getelementptr inbounds i32, ptr %7, i64 1
%16 = load i32, ptr %15, align 4, !tbaa !5
%17 = shl i32 %16, 8
%18 = or i32 %17, %14
%19 = getelementptr inbounds i32, ptr %7, i64 2
%20 = load i32, ptr %19, align 4, !tbaa !5
%21 = shl i32 %20, 16
%22 = or i32 %18, %21
%23 = getelementptr inbounds i32, ptr %7, i64 3
%24 = load i32, ptr %23, align 4, !tbaa !5
%25 = shl i32 %24, 24
%26 = or i32 %22, %25
%27 = tail call i32 @XAE_FFV(i32 noundef 0) #2
%28 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %27, i32 noundef %26) #2
%29 = getelementptr inbounds i32, ptr %7, i64 4
%30 = load i32, ptr %29, align 4, !tbaa !5
%31 = getelementptr inbounds i32, ptr %7, i64 5
%32 = load i32, ptr %31, align 4, !tbaa !5
%33 = shl i32 %32, 8
%34 = or i32 %33, %30
%35 = tail call i32 @XAE_FFV(i32 noundef 1) #2
%36 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %35, i32 noundef %34) #2
br label %37
37: ; preds = %3, %6
ret i32 1
}
declare ptr @LLADDR(ptr noundef) local_unnamed_addr #1
declare i32 @READ4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WRITE4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XAE_FFV(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/xilinx/extr_if_xae.c_xae_write_maddr.c'
source_filename = "AnghaBench/freebsd/sys/dev/xilinx/extr_if_xae.c_xae_write_maddr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@XAE_MULTICAST_TABLE_SIZE = common local_unnamed_addr global i32 0, align 4
@XAE_FFC = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xae_write_maddr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @xae_write_maddr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @XAE_MULTICAST_TABLE_SIZE, align 4, !tbaa !6
%5 = icmp sgt i32 %4, %2
br i1 %5, label %6, label %37
6: ; preds = %3
%7 = tail call ptr @LLADDR(ptr noundef %1) #2
%8 = load i32, ptr @XAE_FFC, align 4, !tbaa !6
%9 = tail call i32 @READ4(ptr noundef %0, i32 noundef %8) #2
%10 = and i32 %9, -256
%11 = or i32 %10, %2
%12 = load i32, ptr @XAE_FFC, align 4, !tbaa !6
%13 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %12, i32 noundef %11) #2
%14 = load i32, ptr %7, align 4, !tbaa !6
%15 = getelementptr inbounds i8, ptr %7, i64 4
%16 = load i32, ptr %15, align 4, !tbaa !6
%17 = shl i32 %16, 8
%18 = or i32 %17, %14
%19 = getelementptr inbounds i8, ptr %7, i64 8
%20 = load i32, ptr %19, align 4, !tbaa !6
%21 = shl i32 %20, 16
%22 = or i32 %18, %21
%23 = getelementptr inbounds i8, ptr %7, i64 12
%24 = load i32, ptr %23, align 4, !tbaa !6
%25 = shl i32 %24, 24
%26 = or i32 %22, %25
%27 = tail call i32 @XAE_FFV(i32 noundef 0) #2
%28 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %27, i32 noundef %26) #2
%29 = getelementptr inbounds i8, ptr %7, i64 16
%30 = load i32, ptr %29, align 4, !tbaa !6
%31 = getelementptr inbounds i8, ptr %7, i64 20
%32 = load i32, ptr %31, align 4, !tbaa !6
%33 = shl i32 %32, 8
%34 = or i32 %33, %30
%35 = tail call i32 @XAE_FFV(i32 noundef 1) #2
%36 = tail call i32 @WRITE4(ptr noundef %0, i32 noundef %35, i32 noundef %34) #2
br label %37
37: ; preds = %3, %6
ret i32 1
}
declare ptr @LLADDR(ptr noundef) local_unnamed_addr #1
declare i32 @READ4(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WRITE4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @XAE_FFV(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_xilinx_extr_if_xae.c_xae_write_maddr |
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov6650.c_ov6650_set_fmt.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov6650.c_ov6650_set_fmt.c"
target datalayout = "e-m:e-p270:32:32-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_subdev_format = type { i64, i64, %struct.v4l2_mbus_framefmt }
%struct.v4l2_mbus_framefmt = type { i32, i32, i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@W_CIF = dso_local local_unnamed_addr global i32 0, align 4
@H_CIF = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_FIELD_NONE = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_COLORSPACE_JPEG = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_COLORSPACE_SRGB = dso_local local_unnamed_addr global i32 0, align 4
@V4L2_SUBDEV_FORMAT_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ov6650_set_fmt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ov6650_set_fmt(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2
%5 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #3
%6 = tail call ptr @to_ov6650(ptr noundef %5) #3
%7 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr @EINVAL, align 4, !tbaa !12
%12 = sub nsw i32 0, %11
br label %41
13: ; preds = %3
%14 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2, i32 4
%15 = load i32, ptr %14, align 4, !tbaa !13
%16 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2, i32 3
%17 = load i32, ptr %16, align 4, !tbaa !14
%18 = tail call i64 @is_unscaled_ok(i32 noundef %15, i32 noundef %17, ptr noundef %6) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %13
%21 = load i32, ptr @W_CIF, align 4, !tbaa !12
%22 = load i32, ptr @H_CIF, align 4, !tbaa !12
%23 = tail call i32 @v4l_bound_align_image(ptr noundef nonnull %14, i32 noundef 2, i32 noundef %21, i32 noundef 1, ptr noundef nonnull %16, i32 noundef 2, i32 noundef %22, i32 noundef 1, i32 noundef 0) #3
br label %24
24: ; preds = %20, %13
%25 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !12
%26 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2, i32 2
store i32 %25, ptr %26, align 4, !tbaa !15
%27 = load i32, ptr %4, align 4, !tbaa !16
switch i32 %27, label %29 [
i32 131, label %28
i32 130, label %31
i32 128, label %31
i32 129, label %31
i32 132, label %31
i32 133, label %31
i32 134, label %30
]
28: ; preds = %24
store i32 130, ptr %4, align 4, !tbaa !16
br label %31
29: ; preds = %24
store i32 134, ptr %4, align 4, !tbaa !16
br label %30
30: ; preds = %24, %29
br label %31
31: ; preds = %28, %24, %24, %24, %24, %24, %30
%32 = phi ptr [ @V4L2_COLORSPACE_SRGB, %30 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %28 ]
%33 = load i32, ptr %32, align 4, !tbaa !12
%34 = getelementptr inbounds %struct.v4l2_subdev_format, ptr %2, i64 0, i32 2, i32 1
store i32 %33, ptr %34, align 4, !tbaa !17
%35 = load i64, ptr %2, align 8, !tbaa !18
%36 = load i64, ptr @V4L2_SUBDEV_FORMAT_ACTIVE, align 8, !tbaa !19
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = tail call i32 @ov6650_s_fmt(ptr noundef %0, ptr noundef nonnull %4) #3
br label %41
40: ; preds = %31
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %1, ptr noundef nonnull align 4 dereferenceable(20) %4, i64 20, i1 false), !tbaa.struct !20
br label %41
41: ; preds = %40, %38, %10
%42 = phi i32 [ %12, %10 ], [ %39, %38 ], [ 0, %40 ]
ret i32 %42
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare ptr @to_ov6650(ptr noundef) local_unnamed_addr #1
declare i64 @is_unscaled_ok(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l_bound_align_image(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ov6650_s_fmt(ptr noundef, 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
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="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 8}
!6 = !{!"v4l2_subdev_format", !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 = !{!"v4l2_mbus_framefmt", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 16}
!14 = !{!10, !11, i64 12}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 0}
!17 = !{!10, !11, i64 4}
!18 = !{!6, !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12, i64 16, i64 4, !12}
| ; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov6650.c_ov6650_set_fmt.c'
source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov6650.c_ov6650_set_fmt.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
@W_CIF = common local_unnamed_addr global i32 0, align 4
@H_CIF = common local_unnamed_addr global i32 0, align 4
@V4L2_FIELD_NONE = common local_unnamed_addr global i32 0, align 4
@V4L2_COLORSPACE_JPEG = common local_unnamed_addr global i32 0, align 4
@V4L2_COLORSPACE_SRGB = common local_unnamed_addr global i32 0, align 4
@V4L2_SUBDEV_FORMAT_ACTIVE = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ov6650_set_fmt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ov6650_set_fmt(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %2, i64 16
%5 = tail call ptr @v4l2_get_subdevdata(ptr noundef %0) #3
%6 = tail call ptr @to_ov6650(ptr noundef %5) #3
%7 = getelementptr inbounds i8, ptr %2, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i32, ptr @EINVAL, align 4, !tbaa !13
%12 = sub nsw i32 0, %11
br label %41
13: ; preds = %3
%14 = getelementptr inbounds i8, ptr %2, i64 32
%15 = load i32, ptr %14, align 4, !tbaa !14
%16 = getelementptr inbounds i8, ptr %2, i64 28
%17 = load i32, ptr %16, align 4, !tbaa !15
%18 = tail call i64 @is_unscaled_ok(i32 noundef %15, i32 noundef %17, ptr noundef %6) #3
%19 = icmp eq i64 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %13
%21 = load i32, ptr @W_CIF, align 4, !tbaa !13
%22 = load i32, ptr @H_CIF, align 4, !tbaa !13
%23 = tail call i32 @v4l_bound_align_image(ptr noundef nonnull %14, i32 noundef 2, i32 noundef %21, i32 noundef 1, ptr noundef nonnull %16, i32 noundef 2, i32 noundef %22, i32 noundef 1, i32 noundef 0) #3
br label %24
24: ; preds = %20, %13
%25 = load i32, ptr @V4L2_FIELD_NONE, align 4, !tbaa !13
%26 = getelementptr inbounds i8, ptr %2, i64 24
store i32 %25, ptr %26, align 4, !tbaa !16
%27 = load i32, ptr %4, align 4, !tbaa !17
switch i32 %27, label %29 [
i32 131, label %28
i32 130, label %31
i32 128, label %31
i32 129, label %31
i32 132, label %31
i32 133, label %31
i32 134, label %30
]
28: ; preds = %24
store i32 130, ptr %4, align 4, !tbaa !17
br label %31
29: ; preds = %24
store i32 134, ptr %4, align 4, !tbaa !17
br label %30
30: ; preds = %24, %29
br label %31
31: ; preds = %28, %24, %24, %24, %24, %24, %30
%32 = phi ptr [ @V4L2_COLORSPACE_SRGB, %30 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %24 ], [ @V4L2_COLORSPACE_JPEG, %28 ]
%33 = load i32, ptr %32, align 4, !tbaa !13
%34 = getelementptr inbounds i8, ptr %2, i64 20
store i32 %33, ptr %34, align 4, !tbaa !18
%35 = load i64, ptr %2, align 8, !tbaa !19
%36 = load i64, ptr @V4L2_SUBDEV_FORMAT_ACTIVE, align 8, !tbaa !20
%37 = icmp eq i64 %35, %36
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = tail call i32 @ov6650_s_fmt(ptr noundef %0, ptr noundef nonnull %4) #3
br label %41
40: ; preds = %31
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %1, ptr noundef nonnull align 4 dereferenceable(20) %4, i64 20, i1 false), !tbaa.struct !21
br label %41
41: ; preds = %40, %38, %10
%42 = phi i32 [ %12, %10 ], [ %39, %38 ], [ 0, %40 ]
ret i32 %42
}
declare ptr @v4l2_get_subdevdata(ptr noundef) local_unnamed_addr #1
declare ptr @to_ov6650(ptr noundef) local_unnamed_addr #1
declare i64 @is_unscaled_ok(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @v4l_bound_align_image(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ov6650_s_fmt(ptr noundef, 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
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 8}
!7 = !{!"v4l2_subdev_format", !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 = !{!"v4l2_mbus_framefmt", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 16}
!15 = !{!11, !12, i64 12}
!16 = !{!11, !12, i64 8}
!17 = !{!11, !12, i64 0}
!18 = !{!11, !12, i64 4}
!19 = !{!7, !8, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 12, i64 4, !13, i64 16, i64 4, !13}
| linux_drivers_media_i2c_extr_ov6650.c_ov6650_set_fmt |
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_check_cmdcmpltqueues.c'
source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_check_cmdcmpltqueues.c"
target datalayout = "e-m:e-p270:32:32-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.ahd_softc = type { i32, i64, i32, i64, ptr, i32, %struct.TYPE_5__, i32, ptr }
%struct.TYPE_5__ = type { i32 }
%struct.TYPE_4__ = type { i64 }
@BUS_DMASYNC_POSTREAD = dso_local local_unnamed_addr global i32 0, align 4
@AHD_RUN_QOUTFIFO = dso_local local_unnamed_addr global i32 0, align 4
@AHD_RUN_TQINFIFO = dso_local local_unnamed_addr global i32 0, align 4
@AHD_TARGETROLE = dso_local local_unnamed_addr global i32 0, align 4
@AHD_TQINFIFO_BLOCKED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ahd_check_cmdcmpltqueues], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ahd_check_cmdcmpltqueues(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 7
%3 = load i32, ptr %2, align 8, !tbaa !5
%4 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 6
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = load i32, ptr %0, align 8, !tbaa !14
%7 = shl i32 %6, 3
%8 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !15
%9 = tail call i32 @ahd_dmamap_sync(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef 8, i32 noundef %8) #2
%10 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 8
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = load i32, ptr %0, align 8, !tbaa !14
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !17
%16 = getelementptr inbounds %struct.ahd_softc, ptr %0, i64 0, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !19
%18 = icmp eq i64 %15, %17
%19 = load i32, ptr @AHD_RUN_QOUTFIFO, align 4
%20 = select i1 %18, i32 %19, i32 0
ret i32 %20
}
declare i32 @ahd_dmamap_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"ahd_softc", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !11, i64 32, !7, i64 40, !12, i64 44, !7, i64 48, !11, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"TYPE_5__", !7, i64 0}
!13 = !{!6, !7, i64 44}
!14 = !{!6, !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !11, i64 56}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_4__", !10, i64 0}
!19 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_check_cmdcmpltqueues.c'
source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_check_cmdcmpltqueues.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 { i64 }
@BUS_DMASYNC_POSTREAD = common local_unnamed_addr global i32 0, align 4
@AHD_RUN_QOUTFIFO = common local_unnamed_addr global i32 0, align 4
@AHD_RUN_TQINFIFO = common local_unnamed_addr global i32 0, align 4
@AHD_TARGETROLE = common local_unnamed_addr global i32 0, align 4
@AHD_TQINFIFO_BLOCKED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ahd_check_cmdcmpltqueues], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ahd_check_cmdcmpltqueues(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 48
%3 = load i32, ptr %2, align 8, !tbaa !6
%4 = getelementptr inbounds i8, ptr %0, i64 44
%5 = load i32, ptr %4, align 4, !tbaa !14
%6 = load i32, ptr %0, align 8, !tbaa !15
%7 = shl i32 %6, 3
%8 = load i32, ptr @BUS_DMASYNC_POSTREAD, align 4, !tbaa !16
%9 = tail call i32 @ahd_dmamap_sync(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %5, i32 noundef %7, i32 noundef 8, i32 noundef %8) #2
%10 = getelementptr inbounds i8, ptr %0, i64 56
%11 = load ptr, ptr %10, align 8, !tbaa !17
%12 = load i32, ptr %0, align 8, !tbaa !15
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i64 %13
%15 = load i64, ptr %14, align 8, !tbaa !18
%16 = getelementptr inbounds i8, ptr %0, i64 8
%17 = load i64, ptr %16, align 8, !tbaa !20
%18 = icmp eq i64 %15, %17
%19 = load i32, ptr @AHD_RUN_QOUTFIFO, align 4
%20 = select i1 %18, i32 %19, i32 0
ret i32 %20
}
declare i32 @ahd_dmamap_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 48}
!7 = !{!"ahd_softc", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !12, i64 32, !8, i64 40, !13, i64 44, !8, i64 48, !12, i64 56}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"TYPE_5__", !8, i64 0}
!14 = !{!7, !8, i64 44}
!15 = !{!7, !8, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!7, !12, i64 56}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_4__", !11, i64 0}
!20 = !{!7, !11, i64 8}
| linux_drivers_scsi_aic7xxx_extr_aic79xx_core.c_ahd_check_cmdcmpltqueues |
; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_freeCStream.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_freeCStream.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr, ptr, ptr, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i64 @ZSTD_freeCStream(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %18, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 4
%5 = load i32, ptr %4, align 8, !tbaa !5
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3
%7 = load ptr, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @ZSTD_freeCCtx(ptr noundef %7) #2
store ptr null, ptr %6, align 8, !tbaa !11
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = tail call i32 @ZSTD_freeCDict(ptr noundef %10) #2
store ptr null, ptr %9, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = tail call i32 @ZSTD_free(ptr noundef %13, i32 noundef %5) #2
store ptr null, ptr %12, align 8, !tbaa !13
%15 = load ptr, ptr %0, align 8, !tbaa !14
%16 = tail call i32 @ZSTD_free(ptr noundef %15, i32 noundef %5) #2
store ptr null, ptr %0, align 8, !tbaa !14
%17 = tail call i32 @ZSTD_free(ptr noundef nonnull %0, i32 noundef %5) #2
br label %18
18: ; preds = %1, %3
ret i64 0
}
declare i32 @ZSTD_freeCCtx(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_freeCDict(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 24}
!12 = !{!6, !7, i64 16}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_freeCStream.c'
source_filename = "AnghaBench/zstd/contrib/linux-kernel/lib/zstd/extr_compress.c_ZSTD_freeCStream.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 i64 @ZSTD_freeCStream(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %18, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 32
%5 = load i32, ptr %4, align 8, !tbaa !6
%6 = getelementptr inbounds i8, ptr %0, i64 24
%7 = load ptr, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @ZSTD_freeCCtx(ptr noundef %7) #2
store ptr null, ptr %6, align 8, !tbaa !12
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = tail call i32 @ZSTD_freeCDict(ptr noundef %10) #2
store ptr null, ptr %9, align 8, !tbaa !13
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !14
%14 = tail call i32 @ZSTD_free(ptr noundef %13, i32 noundef %5) #2
store ptr null, ptr %12, align 8, !tbaa !14
%15 = load ptr, ptr %0, align 8, !tbaa !15
%16 = tail call i32 @ZSTD_free(ptr noundef %15, i32 noundef %5) #2
store ptr null, ptr %0, align 8, !tbaa !15
%17 = tail call i32 @ZSTD_free(ptr noundef nonnull %0, i32 noundef %5) #2
br label %18
18: ; preds = %1, %3
ret i64 0
}
declare i32 @ZSTD_freeCCtx(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_freeCDict(ptr noundef) local_unnamed_addr #1
declare i32 @ZSTD_free(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 32}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 24}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !8, i64 8}
!15 = !{!7, !8, i64 0}
| zstd_contrib_linux-kernel_lib_zstd_extr_compress.c_ZSTD_freeCStream |
; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_prm33xx.c_am33xx_pwrdm_set_logic_retst.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_prm33xx.c_am33xx_pwrdm_set_logic_retst.c"
target datalayout = "e-m:e-p270:32:32-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.powerdomain = type { i32, i32, i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @am33xx_pwrdm_set_logic_retst], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @am33xx_pwrdm_set_logic_retst(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds %struct.powerdomain, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %16
9: ; preds = %2
%10 = tail call i32 @__ffs(i32 noundef %4) #2
%11 = shl i32 %1, %10
%12 = getelementptr inbounds %struct.powerdomain, ptr %0, i64 0, i32 1
%13 = load i32, ptr %12, align 4, !tbaa !11
%14 = load i32, ptr %0, align 4, !tbaa !12
%15 = tail call i32 @am33xx_prm_rmw_reg_bits(i32 noundef %4, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %9, %6
%17 = phi i32 [ 0, %9 ], [ %8, %6 ]
ret i32 %17
}
declare i32 @am33xx_prm_rmw_reg_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__ffs(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"powerdomain", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/arch/arm/mach-omap2/extr_prm33xx.c_am33xx_pwrdm_set_logic_retst.c'
source_filename = "AnghaBench/linux/arch/arm/mach-omap2/extr_prm33xx.c_am33xx_pwrdm_set_logic_retst.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 @am33xx_pwrdm_set_logic_retst], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @am33xx_pwrdm_set_logic_retst(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @EINVAL, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %16
9: ; preds = %2
%10 = tail call i32 @__ffs(i32 noundef %4) #2
%11 = shl i32 %1, %10
%12 = getelementptr inbounds i8, ptr %0, i64 4
%13 = load i32, ptr %12, align 4, !tbaa !12
%14 = load i32, ptr %0, align 4, !tbaa !13
%15 = tail call i32 @am33xx_prm_rmw_reg_bits(i32 noundef %4, i32 noundef %11, i32 noundef %13, i32 noundef %14) #2
br label %16
16: ; preds = %9, %6
%17 = phi i32 [ 0, %9 ], [ %8, %6 ]
ret i32 %17
}
declare i32 @am33xx_prm_rmw_reg_bits(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @__ffs(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"powerdomain", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 0}
| linux_arch_arm_mach-omap2_extr_prm33xx.c_am33xx_pwrdm_set_logic_retst |
; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_pjdlog.c_pjdlog_fini.c'
source_filename = "AnghaBench/freebsd/sbin/hastd/extr_pjdlog.c_pjdlog_fini.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@pjdlog_initialized = dso_local local_unnamed_addr global i64 0, align 8
@PJDLOG_INITIALIZED = dso_local local_unnamed_addr global i64 0, align 8
@errno = dso_local local_unnamed_addr global i32 0, align 4
@pjdlog_mode = dso_local local_unnamed_addr global i64 0, align 8
@PJDLOG_MODE_SYSLOG = dso_local local_unnamed_addr global i64 0, align 8
@PJDLOG_NOT_INITIALIZED = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @pjdlog_fini() local_unnamed_addr #0 {
%1 = load i64, ptr @pjdlog_initialized, align 8, !tbaa !5
%2 = load i64, ptr @PJDLOG_INITIALIZED, align 8, !tbaa !5
%3 = icmp eq i64 %1, %2
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i32, ptr @errno, align 4, !tbaa !9
%7 = load i64, ptr @pjdlog_mode, align 8, !tbaa !5
%8 = load i64, ptr @PJDLOG_MODE_SYSLOG, align 8, !tbaa !5
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = tail call i32 (...) @closelog() #2
br label %12
12: ; preds = %10, %0
%13 = load i64, ptr @PJDLOG_NOT_INITIALIZED, align 8, !tbaa !5
store i64 %13, ptr @pjdlog_initialized, align 8, !tbaa !5
store i32 %6, ptr @errno, align 4, !tbaa !9
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @closelog(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sbin/hastd/extr_pjdlog.c_pjdlog_fini.c'
source_filename = "AnghaBench/freebsd/sbin/hastd/extr_pjdlog.c_pjdlog_fini.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@pjdlog_initialized = common local_unnamed_addr global i64 0, align 8
@PJDLOG_INITIALIZED = common local_unnamed_addr global i64 0, align 8
@errno = common local_unnamed_addr global i32 0, align 4
@pjdlog_mode = common local_unnamed_addr global i64 0, align 8
@PJDLOG_MODE_SYSLOG = common local_unnamed_addr global i64 0, align 8
@PJDLOG_NOT_INITIALIZED = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @pjdlog_fini() local_unnamed_addr #0 {
%1 = load i64, ptr @pjdlog_initialized, align 8, !tbaa !6
%2 = load i64, ptr @PJDLOG_INITIALIZED, align 8, !tbaa !6
%3 = icmp eq i64 %1, %2
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 noundef %4) #2
%6 = load i32, ptr @errno, align 4, !tbaa !10
%7 = load i64, ptr @pjdlog_mode, align 8, !tbaa !6
%8 = load i64, ptr @PJDLOG_MODE_SYSLOG, align 8, !tbaa !6
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = tail call i32 @closelog() #2
br label %12
12: ; preds = %10, %0
%13 = load i64, ptr @PJDLOG_NOT_INITIALIZED, align 8, !tbaa !6
store i64 %13, ptr @pjdlog_initialized, align 8, !tbaa !6
store i32 %6, ptr @errno, align 4, !tbaa !10
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @closelog(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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}
| freebsd_sbin_hastd_extr_pjdlog.c_pjdlog_fini |
; ModuleID = 'AnghaBench/linux/drivers/bluetooth/extr_bluecard_cs.c_bluecard_write.c'
source_filename = "AnghaBench/linux/drivers/bluetooth/extr_bluecard_cs.c_bluecard_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @bluecard_write], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @bluecard_write(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = tail call i32 @llvm.smin.i32(i32 %3, i32 15)
%6 = add i32 %1, %0
%7 = tail call i32 @outb_p(i32 noundef %5, i32 noundef %6) #3
%8 = icmp sgt i32 %3, 0
br i1 %8, label %9, label %21
9: ; preds = %4
%10 = add i32 %6, 1
%11 = zext nneg i32 %5 to i64
br label %12
12: ; preds = %9, %12
%13 = phi i64 [ 0, %9 ], [ %19, %12 ]
%14 = getelementptr inbounds i32, ptr %2, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !5
%16 = trunc i64 %13 to i32
%17 = add i32 %10, %16
%18 = tail call i32 @outb_p(i32 noundef %15, i32 noundef %17) #3
%19 = add nuw nsw i64 %13, 1
%20 = icmp eq i64 %19, %11
br i1 %20, label %21, label %12, !llvm.loop !9
21: ; preds = %12, %4
ret i32 %5
}
declare i32 @outb_p(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, !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/drivers/bluetooth/extr_bluecard_cs.c_bluecard_write.c'
source_filename = "AnghaBench/linux/drivers/bluetooth/extr_bluecard_cs.c_bluecard_write.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @bluecard_write], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef i32 @bluecard_write(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) #0 {
%5 = tail call i32 @llvm.smin.i32(i32 %3, i32 15)
%6 = add i32 %1, %0
%7 = tail call i32 @outb_p(i32 noundef %5, i32 noundef %6) #3
%8 = icmp sgt i32 %3, 0
br i1 %8, label %9, label %21
9: ; preds = %4
%10 = add i32 %6, 1
%11 = zext nneg i32 %5 to i64
br label %12
12: ; preds = %9, %12
%13 = phi i64 [ 0, %9 ], [ %19, %12 ]
%14 = getelementptr inbounds i32, ptr %2, i64 %13
%15 = load i32, ptr %14, align 4, !tbaa !6
%16 = trunc nuw nsw i64 %13 to i32
%17 = add i32 %10, %16
%18 = tail call i32 @outb_p(i32 noundef %15, i32 noundef %17) #3
%19 = add nuw nsw i64 %13, 1
%20 = icmp eq i64 %19, %11
br i1 %20, label %21, label %12, !llvm.loop !10
21: ; preds = %12, %4
ret i32 %5
}
declare i32 @outb_p(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, !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_drivers_bluetooth_extr_bluecard_cs.c_bluecard_write |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_lcd.c_lcd_device_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_lcd.c_lcd_device_release.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @lcd_device_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @lcd_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_lcd_device(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_lcd_device(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_lcd.c_lcd_device_release.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/backlight/extr_lcd.c_lcd_device_release.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 @lcd_device_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @lcd_device_release(ptr noundef %0) #0 {
%2 = tail call ptr @to_lcd_device(ptr noundef %0) #2
%3 = tail call i32 @kfree(ptr noundef %2) #2
ret void
}
declare ptr @to_lcd_device(ptr noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_video_backlight_extr_lcd.c_lcd_device_release |
; ModuleID = 'AnghaBench/reactos/dll/win32/setupapi/extr_parser.c_PARSER_get_dest_dir.c'
source_filename = "AnghaBench/reactos/dll/win32/setupapi/extr_parser.c_PARSER_get_dest_dir.c"
target datalayout = "e-m:e-p270:32:32-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 @PARSER_get_dest_dir(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @SetupGetIntField(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %2) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %47, label %7
7: ; preds = %1
%8 = load i32, ptr %0, align 4, !tbaa !5
%9 = load i32, ptr %2, align 4, !tbaa !10
%10 = call ptr @get_dirid_subst(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %3) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %47, label %12
12: ; preds = %7
%13 = call i32 @SetupGetStringFieldW(ptr noundef nonnull %0, i32 noundef 2, ptr noundef null, i32 noundef 0, ptr noundef nonnull %4) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
store i32 0, ptr %4, align 4, !tbaa !10
br label %16
16: ; preds = %15, %12
%17 = call i32 (...) @GetProcessHeap() #3
%18 = load i32, ptr %3, align 4, !tbaa !10
%19 = load i32, ptr %4, align 4, !tbaa !10
%20 = add i32 %18, 1
%21 = add i32 %20, %19
%22 = call ptr @HeapAlloc(i32 noundef %17, i32 noundef 0, i32 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %47, label %24
24: ; preds = %16
%25 = load i32, ptr %3, align 4, !tbaa !10
%26 = call i32 @memcpy(ptr noundef nonnull %22, ptr noundef nonnull %10, i32 noundef %25) #3
%27 = load i32, ptr %3, align 4, !tbaa !10
%28 = zext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %22, i64 %28
%30 = load i32, ptr %4, align 4, !tbaa !10
%31 = icmp eq i32 %30, 0
%32 = icmp eq i32 %27, 0
%33 = select i1 %31, i1 true, i1 %32
br i1 %33, label %41, label %34
34: ; preds = %24
%35 = getelementptr inbounds i8, ptr %29, i64 -1
%36 = load i8, ptr %35, align 1, !tbaa !11
%37 = icmp eq i8 %36, 92
br i1 %37, label %41, label %38
38: ; preds = %34
%39 = getelementptr inbounds i8, ptr %29, i64 1
store i8 92, ptr %29, align 1, !tbaa !11
%40 = load i32, ptr %4, align 4, !tbaa !10
br label %41
41: ; preds = %38, %34, %24
%42 = phi i32 [ %40, %38 ], [ %30, %34 ], [ %30, %24 ]
%43 = phi ptr [ %39, %38 ], [ %29, %34 ], [ %29, %24 ]
%44 = call i32 @SetupGetStringFieldW(ptr noundef nonnull %0, i32 noundef 2, ptr noundef %43, i32 noundef %42, ptr noundef null) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i8 0, ptr %43, align 1, !tbaa !11
br label %47
47: ; preds = %41, %46, %16, %7, %1
%48 = phi ptr [ null, %1 ], [ null, %7 ], [ null, %16 ], [ %22, %46 ], [ %22, %41 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr %48
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SetupGetIntField(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_dirid_subst(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupGetStringFieldW(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetProcessHeap(...) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!7, !7, i64 0}
!11 = !{!8, !8, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/setupapi/extr_parser.c_PARSER_get_dest_dir.c'
source_filename = "AnghaBench/reactos/dll/win32/setupapi/extr_parser.c_PARSER_get_dest_dir.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 @PARSER_get_dest_dir(ptr noundef %0) local_unnamed_addr #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%5 = call i32 @SetupGetIntField(ptr noundef %0, i32 noundef 1, ptr noundef nonnull %2) #3
%6 = icmp eq i32 %5, 0
br i1 %6, label %47, label %7
7: ; preds = %1
%8 = load i32, ptr %0, align 4, !tbaa !6
%9 = load i32, ptr %2, align 4, !tbaa !11
%10 = call ptr @get_dirid_subst(i32 noundef %8, i32 noundef %9, ptr noundef nonnull %3) #3
%11 = icmp eq ptr %10, null
br i1 %11, label %47, label %12
12: ; preds = %7
%13 = call i32 @SetupGetStringFieldW(ptr noundef nonnull %0, i32 noundef 2, ptr noundef null, i32 noundef 0, ptr noundef nonnull %4) #3
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12
store i32 0, ptr %4, align 4, !tbaa !11
br label %16
16: ; preds = %15, %12
%17 = call i32 @GetProcessHeap() #3
%18 = load i32, ptr %3, align 4, !tbaa !11
%19 = load i32, ptr %4, align 4, !tbaa !11
%20 = add i32 %18, 1
%21 = add i32 %20, %19
%22 = call ptr @HeapAlloc(i32 noundef %17, i32 noundef 0, i32 noundef %21) #3
%23 = icmp eq ptr %22, null
br i1 %23, label %47, label %24
24: ; preds = %16
%25 = load i32, ptr %3, align 4, !tbaa !11
%26 = call i32 @memcpy(ptr noundef nonnull %22, ptr noundef nonnull %10, i32 noundef %25) #3
%27 = load i32, ptr %3, align 4, !tbaa !11
%28 = zext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %22, i64 %28
%30 = load i32, ptr %4, align 4, !tbaa !11
%31 = icmp eq i32 %30, 0
%32 = icmp eq i32 %27, 0
%33 = select i1 %31, i1 true, i1 %32
br i1 %33, label %41, label %34
34: ; preds = %24
%35 = getelementptr inbounds i8, ptr %29, i64 -1
%36 = load i8, ptr %35, align 1, !tbaa !12
%37 = icmp eq i8 %36, 92
br i1 %37, label %41, label %38
38: ; preds = %34
%39 = getelementptr inbounds i8, ptr %29, i64 1
store i8 92, ptr %29, align 1, !tbaa !12
%40 = load i32, ptr %4, align 4, !tbaa !11
br label %41
41: ; preds = %38, %34, %24
%42 = phi i32 [ %40, %38 ], [ %30, %34 ], [ %30, %24 ]
%43 = phi ptr [ %39, %38 ], [ %29, %34 ], [ %29, %24 ]
%44 = call i32 @SetupGetStringFieldW(ptr noundef nonnull %0, i32 noundef 2, ptr noundef %43, i32 noundef %42, ptr noundef null) #3
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %41
store i8 0, ptr %43, align 1, !tbaa !12
br label %47
47: ; preds = %41, %46, %16, %7, %1
%48 = phi ptr [ null, %1 ], [ null, %7 ], [ null, %16 ], [ %22, %46 ], [ %22, %41 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret ptr %48
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @SetupGetIntField(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @get_dirid_subst(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @SetupGetStringFieldW(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @HeapAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @GetProcessHeap(...) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!8, !8, i64 0}
!12 = !{!9, !9, i64 0}
| reactos_dll_win32_setupapi_extr_parser.c_PARSER_get_dest_dir |
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity.c_UnityPrintMask.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity.c_UnityPrintMask.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UNITY_INT_WIDTH = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @UnityPrintMask(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @UNITY_INT_WIDTH, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %22
5: ; preds = %2
%6 = add nsw i32 %3, -1
%7 = shl nuw i32 1, %6
br label %8
8: ; preds = %5, %8
%9 = phi i32 [ %19, %8 ], [ 0, %5 ]
%10 = phi i32 [ %18, %8 ], [ %7, %5 ]
%11 = and i32 %10, %0
%12 = icmp eq i32 %11, 0
%13 = and i32 %10, %1
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i8 48, i8 49
%16 = select i1 %12, i8 88, i8 %15
%17 = tail call i32 @UNITY_OUTPUT_CHAR(i8 noundef signext %16) #2
%18 = ashr i32 %10, 1
%19 = add nuw nsw i32 %9, 1
%20 = load i32, ptr @UNITY_INT_WIDTH, align 4, !tbaa !5
%21 = icmp slt i32 %19, %20
br i1 %21, label %8, label %22, !llvm.loop !9
22: ; preds = %8, %2
ret void
}
declare i32 @UNITY_OUTPUT_CHAR(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity.c_UnityPrintMask.c'
source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/unity/extr_unity.c_UnityPrintMask.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UNITY_INT_WIDTH = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @UnityPrintMask(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @UNITY_INT_WIDTH, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %22
5: ; preds = %2
%6 = add nsw i32 %3, -1
%7 = shl nuw i32 1, %6
br label %8
8: ; preds = %5, %8
%9 = phi i32 [ %19, %8 ], [ 0, %5 ]
%10 = phi i32 [ %18, %8 ], [ %7, %5 ]
%11 = and i32 %10, %0
%12 = icmp eq i32 %11, 0
%13 = and i32 %10, %1
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i8 48, i8 49
%16 = select i1 %12, i8 88, i8 %15
%17 = tail call i32 @UNITY_OUTPUT_CHAR(i8 noundef signext %16) #2
%18 = ashr i32 %10, 1
%19 = add nuw nsw i32 %9, 1
%20 = load i32, ptr @UNITY_INT_WIDTH, align 4, !tbaa !6
%21 = icmp slt i32 %19, %20
br i1 %21, label %8, label %22, !llvm.loop !10
22: ; preds = %8, %2
ret void
}
declare i32 @UNITY_OUTPUT_CHAR(i8 noundef signext) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_ntp_sntp_unity_extr_unity.c_UnityPrintMask |
; ModuleID = 'AnghaBench/freebsd/sys/dev/sdhci/extr_sdhci_acpi.c_sdhci_acpi_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/sdhci/extr_sdhci_acpi.c_sdhci_acpi_probe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENXIO = dso_local local_unnamed_addr global i32 0, align 4
@BUS_PROBE_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sdhci_acpi_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @sdhci_acpi_probe(i32 noundef %0) #0 {
%2 = tail call ptr @sdhci_acpi_find_device(i32 noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !5
%6 = tail call i32 @device_set_desc(i32 noundef %0, i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi ptr [ @BUS_PROBE_DEFAULT, %4 ], [ @ENXIO, %1 ]
%9 = load i32, ptr %8, align 4, !tbaa !10
ret i32 %9
}
declare ptr @sdhci_acpi_find_device(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(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 = !{!"sdhci_acpi_device", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/dev/sdhci/extr_sdhci_acpi.c_sdhci_acpi_probe.c'
source_filename = "AnghaBench/freebsd/sys/dev/sdhci/extr_sdhci_acpi.c_sdhci_acpi_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENXIO = common local_unnamed_addr global i32 0, align 4
@BUS_PROBE_DEFAULT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sdhci_acpi_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @sdhci_acpi_probe(i32 noundef %0) #0 {
%2 = tail call ptr @sdhci_acpi_find_device(i32 noundef %0) #2
%3 = icmp eq ptr %2, null
br i1 %3, label %7, label %4
4: ; preds = %1
%5 = load i32, ptr %2, align 4, !tbaa !6
%6 = tail call i32 @device_set_desc(i32 noundef %0, i32 noundef %5) #2
br label %7
7: ; preds = %1, %4
%8 = phi ptr [ @BUS_PROBE_DEFAULT, %4 ], [ @ENXIO, %1 ]
%9 = load i32, ptr %8, align 4, !tbaa !11
ret i32 %9
}
declare ptr @sdhci_acpi_find_device(i32 noundef) local_unnamed_addr #1
declare i32 @device_set_desc(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 = !{!"sdhci_acpi_device", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| freebsd_sys_dev_sdhci_extr_sdhci_acpi.c_sdhci_acpi_probe |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_mac80211.c_iwl_set_mode.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_mac80211.c_iwl_set_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_set_mode], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @iwl_set_mode(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @iwl_connection_init_rx_config(ptr noundef %0, ptr noundef %1) #2
%4 = tail call i32 @iwlagn_set_rxon_chain(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @iwlagn_commit_rxon(ptr noundef %0, ptr noundef %1) #2
ret i32 %5
}
declare i32 @iwl_connection_init_rx_config(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwlagn_set_rxon_chain(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwlagn_commit_rxon(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_mac80211.c_iwl_set_mode.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/dvm/extr_mac80211.c_iwl_set_mode.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 @iwl_set_mode], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @iwl_set_mode(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @iwl_connection_init_rx_config(ptr noundef %0, ptr noundef %1) #2
%4 = tail call i32 @iwlagn_set_rxon_chain(ptr noundef %0, ptr noundef %1) #2
%5 = tail call i32 @iwlagn_commit_rxon(ptr noundef %0, ptr noundef %1) #2
ret i32 %5
}
declare i32 @iwl_connection_init_rx_config(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwlagn_set_rxon_chain(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @iwlagn_commit_rxon(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_drivers_net_wireless_intel_iwlwifi_dvm_extr_mac80211.c_iwl_set_mode |
; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-bcm2835.c_bcm2835_spi_transfer_one.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-bcm2835.c_bcm2835_spi_transfer_one.c"
target datalayout = "e-m:e-p270:32:32-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.bcm2835_spi = type { i64, i64, i64, i32, i32, ptr }
%struct.spi_device = type { i64, i32 }
%struct.spi_transfer = type { i64, i64, i64, i32 }
@BCM2835_SPI_CLK = dso_local local_unnamed_addr global i32 0, align 4
@SPI_3WIRE = dso_local local_unnamed_addr global i32 0, align 4
@BCM2835_SPI_CS_REN = dso_local local_unnamed_addr global i32 0, align 4
@polling_limit_us = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bcm2835_spi_transfer_one], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bcm2835_spi_transfer_one(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @spi_controller_get_devdata(ptr noundef %0) #2
%5 = getelementptr inbounds %struct.bcm2835_spi, ptr %4, i64 0, i32 5
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = load i64, ptr %1, align 8, !tbaa !12
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !14
%10 = load i64, ptr %2, align 8, !tbaa !15
%11 = getelementptr inbounds %struct.bcm2835_spi, ptr %4, i64 0, i32 4
%12 = load i32, ptr %11, align 4, !tbaa !17
%13 = tail call i64 @clk_get_rate(i32 noundef %12) #2
%14 = lshr i64 %13, 1
%15 = icmp ult i64 %10, %14
br i1 %15, label %16, label %24
16: ; preds = %3
%17 = icmp eq i64 %10, 0
br i1 %17, label %27, label %18
18: ; preds = %16
%19 = tail call i64 @DIV_ROUND_UP(i64 noundef %13, i64 noundef %10) #2
%20 = and i64 %19, 1
%21 = add i64 %20, %19
%22 = add i64 %21, -65536
%23 = icmp ult i64 %22, -65535
br i1 %23, label %27, label %24
24: ; preds = %18, %3
%25 = phi i64 [ 2, %3 ], [ %21, %18 ]
%26 = udiv i64 %13, %25
br label %29
27: ; preds = %18, %16
%28 = lshr i64 %13, 16
br label %29
29: ; preds = %27, %24
%30 = phi i64 [ %25, %24 ], [ 0, %27 ]
%31 = phi i64 [ %26, %24 ], [ %28, %27 ]
%32 = load i32, ptr @BCM2835_SPI_CLK, align 4, !tbaa !14
%33 = tail call i32 @bcm2835_wr(ptr noundef nonnull %4, i32 noundef %32, i64 noundef %30) #2
%34 = getelementptr inbounds %struct.spi_device, ptr %1, i64 0, i32 1
%35 = load i32, ptr %34, align 8, !tbaa !18
%36 = load i32, ptr @SPI_3WIRE, align 4, !tbaa !14
%37 = and i32 %36, %35
%38 = icmp eq i32 %37, 0
%39 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 2
%40 = load i64, ptr %39, align 8, !tbaa !19
br i1 %38, label %46, label %41
41: ; preds = %29
%42 = icmp eq i64 %40, 0
br i1 %42, label %46, label %43
43: ; preds = %41
%44 = load i32, ptr @BCM2835_SPI_CS_REN, align 4, !tbaa !14
%45 = or i32 %44, %9
br label %46
46: ; preds = %29, %43, %41
%47 = phi i64 [ %40, %43 ], [ 0, %41 ], [ %40, %29 ]
%48 = phi i32 [ %45, %43 ], [ %9, %41 ], [ %9, %29 ]
%49 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 3
%50 = load i32, ptr %49, align 8, !tbaa !20
%51 = getelementptr inbounds %struct.bcm2835_spi, ptr %4, i64 0, i32 3
store i32 %50, ptr %51, align 8, !tbaa !21
%52 = getelementptr inbounds %struct.bcm2835_spi, ptr %4, i64 0, i32 2
store i64 %47, ptr %52, align 8, !tbaa !22
%53 = getelementptr inbounds %struct.spi_transfer, ptr %2, i64 0, i32 1
%54 = load i64, ptr %53, align 8, !tbaa !23
store i64 %54, ptr %4, align 8, !tbaa !24
%55 = getelementptr inbounds %struct.bcm2835_spi, ptr %4, i64 0, i32 1
store i64 %54, ptr %55, align 8, !tbaa !25
%56 = load i32, ptr @polling_limit_us, align 4, !tbaa !14
%57 = icmp eq i32 %56, 0
br i1 %57, label %64, label %58
58: ; preds = %46
%59 = sdiv i32 9000000, %56
%60 = icmp eq i32 %59, 0
br i1 %60, label %64, label %61
61: ; preds = %58
%62 = sext i32 %59 to i64
%63 = udiv i64 %31, %62
br label %64
64: ; preds = %46, %58, %61
%65 = phi i64 [ %63, %61 ], [ 1, %58 ], [ 1, %46 ]
%66 = icmp ult i64 %54, %65
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = tail call i32 @bcm2835_spi_transfer_one_poll(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48) #2
br label %79
69: ; preds = %64
%70 = load i64, ptr %0, align 8, !tbaa !26
%71 = icmp eq i64 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %69
%73 = tail call i64 @bcm2835_spi_can_dma(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %77, label %75
75: ; preds = %72
%76 = tail call i32 @bcm2835_spi_transfer_one_dma(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48) #2
br label %79
77: ; preds = %72, %69
%78 = tail call i32 @bcm2835_spi_transfer_one_irq(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48, i32 noundef 1) #2
br label %79
79: ; preds = %77, %75, %67
%80 = phi i32 [ %68, %67 ], [ %76, %75 ], [ %78, %77 ]
ret i32 %80
}
declare ptr @spi_controller_get_devdata(ptr noundef) local_unnamed_addr #1
declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i64 @DIV_ROUND_UP(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bcm2835_wr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_poll(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @bcm2835_spi_can_dma(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_dma(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_irq(ptr noundef, 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, !11, i64 32}
!6 = !{!"bcm2835_spi", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"spi_device", !7, i64 0, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"spi_transfer", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!17 = !{!6, !10, i64 28}
!18 = !{!13, !10, i64 8}
!19 = !{!16, !7, i64 16}
!20 = !{!16, !10, i64 24}
!21 = !{!6, !10, i64 24}
!22 = !{!6, !7, i64 16}
!23 = !{!16, !7, i64 8}
!24 = !{!6, !7, i64 0}
!25 = !{!6, !7, i64 8}
!26 = !{!27, !7, i64 0}
!27 = !{!"spi_controller", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/spi/extr_spi-bcm2835.c_bcm2835_spi_transfer_one.c'
source_filename = "AnghaBench/linux/drivers/spi/extr_spi-bcm2835.c_bcm2835_spi_transfer_one.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BCM2835_SPI_CLK = common local_unnamed_addr global i32 0, align 4
@SPI_3WIRE = common local_unnamed_addr global i32 0, align 4
@BCM2835_SPI_CS_REN = common local_unnamed_addr global i32 0, align 4
@polling_limit_us = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bcm2835_spi_transfer_one], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bcm2835_spi_transfer_one(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = tail call ptr @spi_controller_get_devdata(ptr noundef %0) #2
%5 = getelementptr inbounds i8, ptr %4, i64 32
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = load i64, ptr %1, align 8, !tbaa !13
%8 = getelementptr inbounds i32, ptr %6, i64 %7
%9 = load i32, ptr %8, align 4, !tbaa !15
%10 = load i64, ptr %2, align 8, !tbaa !16
%11 = getelementptr inbounds i8, ptr %4, i64 28
%12 = load i32, ptr %11, align 4, !tbaa !18
%13 = tail call i64 @clk_get_rate(i32 noundef %12) #2
%14 = lshr i64 %13, 1
%15 = icmp ult i64 %10, %14
br i1 %15, label %16, label %24
16: ; preds = %3
%17 = icmp eq i64 %10, 0
br i1 %17, label %27, label %18
18: ; preds = %16
%19 = tail call i64 @DIV_ROUND_UP(i64 noundef %13, i64 noundef %10) #2
%20 = and i64 %19, 1
%21 = add i64 %20, %19
%22 = add i64 %21, -65536
%23 = icmp ult i64 %22, -65535
br i1 %23, label %27, label %24
24: ; preds = %18, %3
%25 = phi i64 [ 2, %3 ], [ %21, %18 ]
%26 = udiv i64 %13, %25
br label %29
27: ; preds = %18, %16
%28 = lshr i64 %13, 16
br label %29
29: ; preds = %27, %24
%30 = phi i64 [ %25, %24 ], [ 0, %27 ]
%31 = phi i64 [ %26, %24 ], [ %28, %27 ]
%32 = load i32, ptr @BCM2835_SPI_CLK, align 4, !tbaa !15
%33 = tail call i32 @bcm2835_wr(ptr noundef nonnull %4, i32 noundef %32, i64 noundef %30) #2
%34 = getelementptr inbounds i8, ptr %1, i64 8
%35 = load i32, ptr %34, align 8, !tbaa !19
%36 = load i32, ptr @SPI_3WIRE, align 4, !tbaa !15
%37 = and i32 %36, %35
%38 = icmp eq i32 %37, 0
%39 = getelementptr inbounds i8, ptr %2, i64 16
%40 = load i64, ptr %39, align 8, !tbaa !20
br i1 %38, label %46, label %41
41: ; preds = %29
%42 = icmp eq i64 %40, 0
br i1 %42, label %46, label %43
43: ; preds = %41
%44 = load i32, ptr @BCM2835_SPI_CS_REN, align 4, !tbaa !15
%45 = or i32 %44, %9
br label %46
46: ; preds = %29, %43, %41
%47 = phi i64 [ %40, %43 ], [ 0, %41 ], [ %40, %29 ]
%48 = phi i32 [ %45, %43 ], [ %9, %41 ], [ %9, %29 ]
%49 = getelementptr inbounds i8, ptr %2, i64 24
%50 = load i32, ptr %49, align 8, !tbaa !21
%51 = getelementptr inbounds i8, ptr %4, i64 24
store i32 %50, ptr %51, align 8, !tbaa !22
%52 = getelementptr inbounds i8, ptr %4, i64 16
store i64 %47, ptr %52, align 8, !tbaa !23
%53 = getelementptr inbounds i8, ptr %2, i64 8
%54 = load i64, ptr %53, align 8, !tbaa !24
store i64 %54, ptr %4, align 8, !tbaa !25
%55 = getelementptr inbounds i8, ptr %4, i64 8
store i64 %54, ptr %55, align 8, !tbaa !26
%56 = load i32, ptr @polling_limit_us, align 4, !tbaa !15
%57 = icmp eq i32 %56, 0
br i1 %57, label %64, label %58
58: ; preds = %46
%59 = sdiv i32 9000000, %56
%60 = icmp eq i32 %59, 0
br i1 %60, label %64, label %61
61: ; preds = %58
%62 = sext i32 %59 to i64
%63 = udiv i64 %31, %62
br label %64
64: ; preds = %46, %58, %61
%65 = phi i64 [ %63, %61 ], [ 1, %58 ], [ 1, %46 ]
%66 = icmp ult i64 %54, %65
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = tail call i32 @bcm2835_spi_transfer_one_poll(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48) #2
br label %79
69: ; preds = %64
%70 = load i64, ptr %0, align 8, !tbaa !27
%71 = icmp eq i64 %70, 0
br i1 %71, label %77, label %72
72: ; preds = %69
%73 = tail call i64 @bcm2835_spi_can_dma(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2) #2
%74 = icmp eq i64 %73, 0
br i1 %74, label %77, label %75
75: ; preds = %72
%76 = tail call i32 @bcm2835_spi_transfer_one_dma(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48) #2
br label %79
77: ; preds = %72, %69
%78 = tail call i32 @bcm2835_spi_transfer_one_irq(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef %48, i32 noundef 1) #2
br label %79
79: ; preds = %77, %75, %67
%80 = phi i32 [ %68, %67 ], [ %76, %75 ], [ %78, %77 ]
ret i32 %80
}
declare ptr @spi_controller_get_devdata(ptr noundef) local_unnamed_addr #1
declare i64 @clk_get_rate(i32 noundef) local_unnamed_addr #1
declare i64 @DIV_ROUND_UP(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bcm2835_wr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_poll(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @bcm2835_spi_can_dma(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_dma(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @bcm2835_spi_transfer_one_irq(ptr noundef, 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, !12, i64 32}
!7 = !{!"bcm2835_spi", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24, !11, i64 28, !12, i64 32}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"spi_device", !8, i64 0, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !8, i64 0}
!17 = !{!"spi_transfer", !8, i64 0, !8, i64 8, !8, i64 16, !11, i64 24}
!18 = !{!7, !11, i64 28}
!19 = !{!14, !11, i64 8}
!20 = !{!17, !8, i64 16}
!21 = !{!17, !11, i64 24}
!22 = !{!7, !11, i64 24}
!23 = !{!7, !8, i64 16}
!24 = !{!17, !8, i64 8}
!25 = !{!7, !8, i64 0}
!26 = !{!7, !8, i64 8}
!27 = !{!28, !8, i64 0}
!28 = !{!"spi_controller", !8, i64 0}
| linux_drivers_spi_extr_spi-bcm2835.c_bcm2835_spi_transfer_one |
; ModuleID = 'AnghaBench/reactos/dll/win32/wininet/extr_http.c_chunked_destroy.c'
source_filename = "AnghaBench/reactos/dll/win32/wininet/extr_http.c_chunked_destroy.c"
target datalayout = "e-m:e-p270:32:32-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 @chunked_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @chunked_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @heap_free(ptr noundef %0) #2
ret void
}
declare i32 @heap_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/wininet/extr_http.c_chunked_destroy.c'
source_filename = "AnghaBench/reactos/dll/win32/wininet/extr_http.c_chunked_destroy.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 @chunked_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @chunked_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @heap_free(ptr noundef %0) #2
ret void
}
declare i32 @heap_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| reactos_dll_win32_wininet_extr_http.c_chunked_destroy |
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_dell-smbios.h_exit_dell_smbios_wmi.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios.h_exit_dell_smbios_wmi.c"
target datalayout = "e-m:e-p270:32:32-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 @exit_dell_smbios_wmi], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @exit_dell_smbios_wmi() #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/drivers/platform/x86/extr_dell-smbios.h_exit_dell_smbios_wmi.c'
source_filename = "AnghaBench/linux/drivers/platform/x86/extr_dell-smbios.h_exit_dell_smbios_wmi.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 @exit_dell_smbios_wmi], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @exit_dell_smbios_wmi() #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_drivers_platform_x86_extr_dell-smbios.h_exit_dell_smbios_wmi |
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_connector-analog-tv.c_tvc_disconnect.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_connector-analog-tv.c_tvc_disconnect.c"
target datalayout = "e-m:e-p270:32:32-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.panel_drv_data = type { i32, ptr }
@.str = private unnamed_addr constant [12 x i8] c"disconnect\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @tvc_disconnect], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @tvc_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @to_panel_data(ptr noundef %0) #2
%3 = getelementptr inbounds %struct.panel_drv_data, ptr %2, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load i32, ptr %2, align 8, !tbaa !11
%6 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = tail call i32 @omapdss_device_is_connected(ptr noundef %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %1
%10 = load ptr, ptr %4, align 8, !tbaa !12
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call i32 %11(ptr noundef nonnull %4, ptr noundef %0) #2
br label %13
13: ; preds = %1, %9
ret void
}
declare ptr @to_panel_data(ptr noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @omapdss_device_is_connected(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"panel_drv_data", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"omap_dss_device", !14, i64 0}
!14 = !{!"TYPE_4__", !10, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_3__", !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_connector-analog-tv.c_tvc_disconnect.c'
source_filename = "AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/displays/extr_connector-analog-tv.c_tvc_disconnect.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [12 x i8] c"disconnect\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @tvc_disconnect], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @tvc_disconnect(ptr noundef %0) #0 {
%2 = tail call ptr @to_panel_data(ptr noundef %0) #2
%3 = getelementptr inbounds i8, ptr %2, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load i32, ptr %2, align 8, !tbaa !12
%6 = tail call i32 @dev_dbg(i32 noundef %5, ptr noundef nonnull @.str) #2
%7 = tail call i32 @omapdss_device_is_connected(ptr noundef %0) #2
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %1
%10 = load ptr, ptr %4, align 8, !tbaa !13
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = tail call i32 %11(ptr noundef nonnull %4, ptr noundef %0) #2
br label %13
13: ; preds = %1, %9
ret void
}
declare ptr @to_panel_data(ptr noundef) local_unnamed_addr #1
declare i32 @dev_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @omapdss_device_is_connected(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"panel_drv_data", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"omap_dss_device", !15, i64 0}
!15 = !{!"TYPE_4__", !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_3__", !11, i64 0}
| linux_drivers_video_fbdev_omap2_omapfb_displays_extr_connector-analog-tv.c_tvc_disconnect |
; ModuleID = 'AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_parser_get.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_parser_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"
@PARSER_META = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @lua_ucl_parser_get], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @lua_ucl_parser_get(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @PARSER_META, align 4, !tbaa !5
%4 = tail call i64 @luaL_checkudata(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !9
ret ptr %6
}
declare i64 @luaL_checkudata(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_parser_get.c'
source_filename = "AnghaBench/freebsd/contrib/libucl/lua/extr_lua_ucl.c_lua_ucl_parser_get.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PARSER_META = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @lua_ucl_parser_get], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @lua_ucl_parser_get(ptr noundef %0, i32 noundef %1) #0 {
%3 = load i32, ptr @PARSER_META, align 4, !tbaa !6
%4 = tail call i64 @luaL_checkudata(ptr noundef %0, i32 noundef %1, i32 noundef %3) #2
%5 = inttoptr i64 %4 to ptr
%6 = load ptr, ptr %5, align 8, !tbaa !10
ret ptr %6
}
declare i64 @luaL_checkudata(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| freebsd_contrib_libucl_lua_extr_lua_ucl.c_lua_ucl_parser_get |
; ModuleID = 'AnghaBench/micropython/ports/cc3200/fatfs/src/drivers/extr_sd_diskio.c_sd_disk_write.c'
source_filename = "AnghaBench/micropython/ports/cc3200/fatfs/src/drivers/extr_sd_diskio.c_sd_disk_write.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i32, i64, i64, i32 }
@RES_ERROR = dso_local local_unnamed_addr global i32 0, align 4
@sd_disk_info = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@STA_NOINIT = dso_local local_unnamed_addr global i32 0, align 4
@RES_NOTRDY = dso_local local_unnamed_addr global i32 0, align 4
@CARD_CAP_CLASS_SDSC = dso_local local_unnamed_addr global i64 0, align 8
@SD_SECTOR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@SDHOST_BASE = dso_local local_unnamed_addr global i32 0, align 4
@CMD_WRITE_SINGLE_BLK = dso_local local_unnamed_addr global i32 0, align 4
@SDHOST_INT_TC = dso_local local_unnamed_addr global i32 0, align 4
@RES_OK = dso_local local_unnamed_addr global i32 0, align 4
@CARD_TYPE_SDCARD = dso_local local_unnamed_addr global i64 0, align 8
@CMD_APP_CMD = dso_local local_unnamed_addr global i32 0, align 4
@CMD_SET_BLK_CNT = dso_local local_unnamed_addr global i32 0, align 4
@CMD_WRITE_MULTI_BLK = dso_local local_unnamed_addr global i32 0, align 4
@CMD_STOP_TRANS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @sd_disk_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @RES_ERROR, align 4, !tbaa !5
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %97
6: ; preds = %3
%7 = load i32, ptr @sd_disk_info, align 8, !tbaa !9
%8 = load i32, ptr @STA_NOINIT, align 4, !tbaa !5
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %6
%12 = load i32, ptr @RES_NOTRDY, align 4, !tbaa !5
br label %97
13: ; preds = %6
%14 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @sd_disk_info, i64 0, i32 1), align 8, !tbaa !12
%15 = load i64, ptr @CARD_CAP_CLASS_SDSC, align 8, !tbaa !13
%16 = icmp eq i64 %14, %15
%17 = load i32, ptr @SD_SECTOR_SIZE, align 4
%18 = select i1 %16, i32 %17, i32 1
%19 = mul nsw i32 %18, %1
%20 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%21 = tail call i32 @MAP_SDHostBlockCountSet(i32 noundef %20, i32 noundef %2) #2
%22 = load i32, ptr @SD_SECTOR_SIZE, align 4, !tbaa !5
%23 = mul nsw i32 %22, %2
%24 = sdiv i32 %23, 4
%25 = sext i32 %24 to i64
%26 = icmp eq i32 %2, 1
br i1 %26, label %27, label %52
27: ; preds = %13
%28 = load i32, ptr @CMD_WRITE_SINGLE_BLK, align 4, !tbaa !5
%29 = tail call i64 @CardSendCmd(i32 noundef %28, i32 noundef %19) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %97
31: ; preds = %27
%32 = add i32 %23, 3
%33 = icmp ult i32 %32, 7
br i1 %33, label %43, label %34
34: ; preds = %31, %34
%35 = phi i64 [ %37, %34 ], [ %25, %31 ]
%36 = phi ptr [ %41, %34 ], [ %0, %31 ]
%37 = add i64 %35, -1
%38 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%39 = load i64, ptr %36, align 8, !tbaa !13
%40 = tail call i32 @MAP_SDHostDataWrite(i32 noundef %38, i64 noundef %39) #2
%41 = getelementptr inbounds i32, ptr %36, i64 4
%42 = icmp eq i64 %37, 0
br i1 %42, label %43, label %34, !llvm.loop !14
43: ; preds = %34, %31
br label %44
44: ; preds = %43, %44
%45 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%46 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %45) #2
%47 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !5
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %44, label %50, !llvm.loop !16
50: ; preds = %44
%51 = load i32, ptr @RES_OK, align 4, !tbaa !5
br label %97
52: ; preds = %13
%53 = load i64, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @sd_disk_info, i64 0, i32 2), align 8, !tbaa !17
%54 = load i64, ptr @CARD_TYPE_SDCARD, align 8, !tbaa !13
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %63
56: ; preds = %52
%57 = load i32, ptr @CMD_APP_CMD, align 4, !tbaa !5
%58 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @sd_disk_info, i64 0, i32 3), align 8, !tbaa !18
%59 = shl i32 %58, 16
%60 = tail call i64 @CardSendCmd(i32 noundef %57, i32 noundef %59) #2
%61 = load i32, ptr @CMD_SET_BLK_CNT, align 4, !tbaa !5
%62 = tail call i64 @CardSendCmd(i32 noundef %61, i32 noundef %2) #2
br label %63
63: ; preds = %56, %52
%64 = load i32, ptr @CMD_WRITE_MULTI_BLK, align 4, !tbaa !5
%65 = tail call i64 @CardSendCmd(i32 noundef %64, i32 noundef %19) #2
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %97
67: ; preds = %63
%68 = add i32 %23, 3
%69 = icmp ult i32 %68, 7
br i1 %69, label %79, label %70
70: ; preds = %67, %70
%71 = phi i64 [ %73, %70 ], [ %25, %67 ]
%72 = phi ptr [ %77, %70 ], [ %0, %67 ]
%73 = add i64 %71, -1
%74 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%75 = load i64, ptr %72, align 8, !tbaa !13
%76 = tail call i32 @MAP_SDHostDataWrite(i32 noundef %74, i64 noundef %75) #2
%77 = getelementptr inbounds i32, ptr %72, i64 4
%78 = icmp eq i64 %73, 0
br i1 %78, label %79, label %70, !llvm.loop !19
79: ; preds = %70, %67
br label %80
80: ; preds = %79, %80
%81 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%82 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %81) #2
%83 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !5
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %80, label %86, !llvm.loop !20
86: ; preds = %80
%87 = load i32, ptr @CMD_STOP_TRANS, align 4, !tbaa !5
%88 = tail call i64 @CardSendCmd(i32 noundef %87, i32 noundef 0) #2
br label %89
89: ; preds = %89, %86
%90 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !5
%91 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %90) #2
%92 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !5
%93 = and i32 %92, %91
%94 = icmp eq i32 %93, 0
br i1 %94, label %89, label %95, !llvm.loop !21
95: ; preds = %89
%96 = load i32, ptr @RES_OK, align 4, !tbaa !5
br label %97
97: ; preds = %3, %63, %95, %27, %50, %11
%98 = phi i32 [ %12, %11 ], [ %51, %50 ], [ %4, %27 ], [ %96, %95 ], [ %4, %63 ], [ %4, %3 ]
ret i32 %98
}
declare i32 @MAP_SDHostBlockCountSet(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CardSendCmd(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAP_SDHostDataWrite(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @MAP_SDHostIntStatus(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"TYPE_2__", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{!10, !11, i64 16}
!18 = !{!10, !6, i64 24}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
| ; ModuleID = 'AnghaBench/micropython/ports/cc3200/fatfs/src/drivers/extr_sd_diskio.c_sd_disk_write.c'
source_filename = "AnghaBench/micropython/ports/cc3200/fatfs/src/drivers/extr_sd_diskio.c_sd_disk_write.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, i64, i64, i32 }
@RES_ERROR = common local_unnamed_addr global i32 0, align 4
@sd_disk_info = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8
@STA_NOINIT = common local_unnamed_addr global i32 0, align 4
@RES_NOTRDY = common local_unnamed_addr global i32 0, align 4
@CARD_CAP_CLASS_SDSC = common local_unnamed_addr global i64 0, align 8
@SD_SECTOR_SIZE = common local_unnamed_addr global i32 0, align 4
@SDHOST_BASE = common local_unnamed_addr global i32 0, align 4
@CMD_WRITE_SINGLE_BLK = common local_unnamed_addr global i32 0, align 4
@SDHOST_INT_TC = common local_unnamed_addr global i32 0, align 4
@RES_OK = common local_unnamed_addr global i32 0, align 4
@CARD_TYPE_SDCARD = common local_unnamed_addr global i64 0, align 8
@CMD_APP_CMD = common local_unnamed_addr global i32 0, align 4
@CMD_SET_BLK_CNT = common local_unnamed_addr global i32 0, align 4
@CMD_WRITE_MULTI_BLK = common local_unnamed_addr global i32 0, align 4
@CMD_STOP_TRANS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @sd_disk_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @RES_ERROR, align 4, !tbaa !6
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %97
6: ; preds = %3
%7 = load i32, ptr @sd_disk_info, align 8, !tbaa !10
%8 = load i32, ptr @STA_NOINIT, align 4, !tbaa !6
%9 = and i32 %8, %7
%10 = icmp eq i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %6
%12 = load i32, ptr @RES_NOTRDY, align 4, !tbaa !6
br label %97
13: ; preds = %6
%14 = load i64, ptr getelementptr inbounds (i8, ptr @sd_disk_info, i64 8), align 8, !tbaa !13
%15 = load i64, ptr @CARD_CAP_CLASS_SDSC, align 8, !tbaa !14
%16 = icmp eq i64 %14, %15
%17 = load i32, ptr @SD_SECTOR_SIZE, align 4
%18 = select i1 %16, i32 %17, i32 1
%19 = mul nsw i32 %18, %1
%20 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%21 = tail call i32 @MAP_SDHostBlockCountSet(i32 noundef %20, i32 noundef %2) #2
%22 = load i32, ptr @SD_SECTOR_SIZE, align 4, !tbaa !6
%23 = mul nsw i32 %22, %2
%24 = sdiv i32 %23, 4
%25 = sext i32 %24 to i64
%26 = icmp eq i32 %2, 1
br i1 %26, label %27, label %52
27: ; preds = %13
%28 = load i32, ptr @CMD_WRITE_SINGLE_BLK, align 4, !tbaa !6
%29 = tail call i64 @CardSendCmd(i32 noundef %28, i32 noundef %19) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %97
31: ; preds = %27
%32 = add i32 %23, 3
%33 = icmp ult i32 %32, 7
br i1 %33, label %43, label %34
34: ; preds = %31, %34
%35 = phi i64 [ %37, %34 ], [ %25, %31 ]
%36 = phi ptr [ %41, %34 ], [ %0, %31 ]
%37 = add i64 %35, -1
%38 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%39 = load i64, ptr %36, align 8, !tbaa !14
%40 = tail call i32 @MAP_SDHostDataWrite(i32 noundef %38, i64 noundef %39) #2
%41 = getelementptr inbounds i8, ptr %36, i64 16
%42 = icmp eq i64 %37, 0
br i1 %42, label %43, label %34, !llvm.loop !15
43: ; preds = %34, %31
br label %44
44: ; preds = %43, %44
%45 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%46 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %45) #2
%47 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !6
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
br i1 %49, label %44, label %50, !llvm.loop !17
50: ; preds = %44
%51 = load i32, ptr @RES_OK, align 4, !tbaa !6
br label %97
52: ; preds = %13
%53 = load i64, ptr getelementptr inbounds (i8, ptr @sd_disk_info, i64 16), align 8, !tbaa !18
%54 = load i64, ptr @CARD_TYPE_SDCARD, align 8, !tbaa !14
%55 = icmp eq i64 %53, %54
br i1 %55, label %56, label %63
56: ; preds = %52
%57 = load i32, ptr @CMD_APP_CMD, align 4, !tbaa !6
%58 = load i32, ptr getelementptr inbounds (i8, ptr @sd_disk_info, i64 24), align 8, !tbaa !19
%59 = shl i32 %58, 16
%60 = tail call i64 @CardSendCmd(i32 noundef %57, i32 noundef %59) #2
%61 = load i32, ptr @CMD_SET_BLK_CNT, align 4, !tbaa !6
%62 = tail call i64 @CardSendCmd(i32 noundef %61, i32 noundef %2) #2
br label %63
63: ; preds = %56, %52
%64 = load i32, ptr @CMD_WRITE_MULTI_BLK, align 4, !tbaa !6
%65 = tail call i64 @CardSendCmd(i32 noundef %64, i32 noundef %19) #2
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %97
67: ; preds = %63
%68 = add i32 %23, 3
%69 = icmp ult i32 %68, 7
br i1 %69, label %79, label %70
70: ; preds = %67, %70
%71 = phi i64 [ %73, %70 ], [ %25, %67 ]
%72 = phi ptr [ %77, %70 ], [ %0, %67 ]
%73 = add i64 %71, -1
%74 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%75 = load i64, ptr %72, align 8, !tbaa !14
%76 = tail call i32 @MAP_SDHostDataWrite(i32 noundef %74, i64 noundef %75) #2
%77 = getelementptr inbounds i8, ptr %72, i64 16
%78 = icmp eq i64 %73, 0
br i1 %78, label %79, label %70, !llvm.loop !20
79: ; preds = %70, %67
br label %80
80: ; preds = %79, %80
%81 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%82 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %81) #2
%83 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !6
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %80, label %86, !llvm.loop !21
86: ; preds = %80
%87 = load i32, ptr @CMD_STOP_TRANS, align 4, !tbaa !6
%88 = tail call i64 @CardSendCmd(i32 noundef %87, i32 noundef 0) #2
br label %89
89: ; preds = %89, %86
%90 = load i32, ptr @SDHOST_BASE, align 4, !tbaa !6
%91 = tail call i32 @MAP_SDHostIntStatus(i32 noundef %90) #2
%92 = load i32, ptr @SDHOST_INT_TC, align 4, !tbaa !6
%93 = and i32 %92, %91
%94 = icmp eq i32 %93, 0
br i1 %94, label %89, label %95, !llvm.loop !22
95: ; preds = %89
%96 = load i32, ptr @RES_OK, align 4, !tbaa !6
br label %97
97: ; preds = %3, %63, %95, %27, %50, %11
%98 = phi i32 [ %12, %11 ], [ %51, %50 ], [ %4, %27 ], [ %96, %95 ], [ %4, %63 ], [ %4, %3 ]
ret i32 %98
}
declare i32 @MAP_SDHostBlockCountSet(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @CardSendCmd(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @MAP_SDHostDataWrite(i32 noundef, i64 noundef) local_unnamed_addr #1
declare i32 @MAP_SDHostIntStatus(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!12, !12, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!11, !12, i64 16}
!19 = !{!11, !7, i64 24}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
| micropython_ports_cc3200_fatfs_src_drivers_extr_sd_diskio.c_sd_disk_write |
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_result_value.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_result_value.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @sqlite3_result_value(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = load ptr, ptr %3, align 8, !tbaa !10
%5 = load i32, ptr %4, align 4, !tbaa !12
%6 = tail call i32 @sqlite3_mutex_held(i32 noundef %5) #2
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !5
%9 = tail call i32 @sqlite3VdbeMemCopy(ptr noundef %8, ptr noundef %1) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeMemCopy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_7__", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_5__", !14, i64 0}
!14 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_result_value.c'
source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqlite3_result_value.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 @sqlite3_result_value(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = load ptr, ptr %3, align 8, !tbaa !11
%5 = load i32, ptr %4, align 4, !tbaa !13
%6 = tail call i32 @sqlite3_mutex_held(i32 noundef %5) #2
%7 = tail call i32 @assert(i32 noundef %6) #2
%8 = load ptr, ptr %0, align 8, !tbaa !6
%9 = tail call i32 @sqlite3VdbeMemCopy(ptr noundef %8, ptr noundef %1) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3_mutex_held(i32 noundef) local_unnamed_addr #1
declare i32 @sqlite3VdbeMemCopy(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_7__", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"int", !9, i64 0}
| freebsd_contrib_sqlite3_extr_sqlite3.c_sqlite3_result_value |
; ModuleID = 'AnghaBench/linux/fs/nfs/flexfilelayout/extr_flexfilelayoutdev.c_ff_read_layout_has_available_ds.c'
source_filename = "AnghaBench/linux/fs/nfs/flexfilelayout/extr_flexfilelayoutdev.c_ff_read_layout_has_available_ds.c"
target datalayout = "e-m:e-p270:32:32-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 @ff_read_layout_has_available_ds], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @ff_read_layout_has_available_ds(ptr noundef %0) #0 {
%2 = tail call i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef %0) #2
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %22
4: ; preds = %1, %18
%5 = phi i64 [ %19, %18 ], [ 0, %1 ]
%6 = tail call ptr @FF_LAYOUT_COMP(ptr noundef %0, i64 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %18, label %8
8: ; preds = %4
%9 = load ptr, ptr %6, align 8, !tbaa !5
%10 = icmp eq ptr %9, null
br i1 %10, label %22, label %11
11: ; preds = %8
%12 = tail call i64 @IS_ERR(ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %6, align 8, !tbaa !5
%16 = tail call i32 @nfs4_test_deviceid_unavailable(ptr noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %4, %14, %11
%19 = add nuw nsw i64 %5, 1
%20 = tail call i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef %0) #2
%21 = icmp slt i64 %19, %20
br i1 %21, label %4, label %22, !llvm.loop !10
22: ; preds = %8, %14, %18, %1
%23 = phi i32 [ 0, %1 ], [ 0, %18 ], [ 1, %14 ], [ 1, %8 ]
ret i32 %23
}
declare i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef) local_unnamed_addr #1
declare ptr @FF_LAYOUT_COMP(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_test_deviceid_unavailable(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 = !{!"nfs4_ff_layout_mirror", !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"}
| ; ModuleID = 'AnghaBench/linux/fs/nfs/flexfilelayout/extr_flexfilelayoutdev.c_ff_read_layout_has_available_ds.c'
source_filename = "AnghaBench/linux/fs/nfs/flexfilelayout/extr_flexfilelayoutdev.c_ff_read_layout_has_available_ds.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 @ff_read_layout_has_available_ds], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @ff_read_layout_has_available_ds(ptr noundef %0) #0 {
%2 = tail call i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef %0) #2
%3 = icmp sgt i64 %2, 0
br i1 %3, label %4, label %22
4: ; preds = %1, %18
%5 = phi i64 [ %19, %18 ], [ 0, %1 ]
%6 = tail call ptr @FF_LAYOUT_COMP(ptr noundef %0, i64 noundef %5) #2
%7 = icmp eq ptr %6, null
br i1 %7, label %18, label %8
8: ; preds = %4
%9 = load ptr, ptr %6, align 8, !tbaa !6
%10 = icmp eq ptr %9, null
br i1 %10, label %22, label %11
11: ; preds = %8
%12 = tail call i64 @IS_ERR(ptr noundef nonnull %9) #2
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %6, align 8, !tbaa !6
%16 = tail call i32 @nfs4_test_deviceid_unavailable(ptr noundef %15) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %4, %14, %11
%19 = add nuw nsw i64 %5, 1
%20 = tail call i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef %0) #2
%21 = icmp slt i64 %19, %20
br i1 %21, label %4, label %22, !llvm.loop !11
22: ; preds = %8, %14, %18, %1
%23 = phi i32 [ 0, %1 ], [ 0, %18 ], [ 1, %14 ], [ 1, %8 ]
ret i32 %23
}
declare i64 @FF_LAYOUT_MIRROR_COUNT(ptr noundef) local_unnamed_addr #1
declare ptr @FF_LAYOUT_COMP(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1
declare i32 @nfs4_test_deviceid_unavailable(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 = !{!"nfs4_ff_layout_mirror", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| linux_fs_nfs_flexfilelayout_extr_flexfilelayoutdev.c_ff_read_layout_has_available_ds |
; ModuleID = 'AnghaBench/linux/samples/bpf/extr_xdp_router_ipv4_user.c_int_exit.c'
source_filename = "AnghaBench/linux/samples/bpf/extr_xdp_router_ipv4_user.c_int_exit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@total_ifindex = dso_local local_unnamed_addr global i32 0, align 4
@ifindex_list = dso_local local_unnamed_addr global ptr null, align 8
@flags = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"bpf_get_link_xdp_id on iface %d failed\0A\00", align 1
@prog_id_list = dso_local local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [37 x i8] c"couldn't find a prog id on iface %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"program on iface %d changed, not removing\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @int_exit], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @int_exit(i32 %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
store i64 0, ptr %2, align 8, !tbaa !5
%3 = load i32, ptr @total_ifindex, align 4, !tbaa !9
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %45
5: ; preds = %1, %40
%6 = phi i64 [ %41, %40 ], [ 0, %1 ]
%7 = load ptr, ptr @ifindex_list, align 8, !tbaa !11
%8 = getelementptr inbounds i32, ptr %7, i64 %6
%9 = load i32, ptr %8, align 4, !tbaa !9
%10 = load i32, ptr @flags, align 4, !tbaa !9
%11 = call i64 @bpf_get_link_xdp_id(i32 noundef %9, ptr noundef nonnull %2, i32 noundef %10) #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %5
%14 = load ptr, ptr @ifindex_list, align 8, !tbaa !11
%15 = getelementptr inbounds i32, ptr %14, i64 %6
%16 = load i32, ptr %15, align 4, !tbaa !9
%17 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %16) #4
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %5
%20 = load ptr, ptr @prog_id_list, align 8, !tbaa !11
%21 = getelementptr inbounds i64, ptr %20, i64 %6
%22 = load i64, ptr %21, align 8, !tbaa !5
%23 = load i64, ptr %2, align 8, !tbaa !5
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %19
%26 = load ptr, ptr @ifindex_list, align 8, !tbaa !11
%27 = getelementptr inbounds i32, ptr %26, i64 %6
%28 = load i32, ptr %27, align 4, !tbaa !9
%29 = load i32, ptr @flags, align 4, !tbaa !9
%30 = call i32 @bpf_set_link_xdp_fd(i32 noundef %28, i32 noundef -1, i32 noundef %29) #4
br label %40
31: ; preds = %19
%32 = icmp eq i64 %23, 0
%33 = load ptr, ptr @ifindex_list, align 8, !tbaa !11
%34 = getelementptr inbounds i32, ptr %33, i64 %6
%35 = load i32, ptr %34, align 4, !tbaa !9
br i1 %32, label %36, label %38
36: ; preds = %31
%37 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %35) #4
br label %40
38: ; preds = %31
%39 = call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %35) #4
br label %40
40: ; preds = %36, %38, %25
store i64 0, ptr %2, align 8, !tbaa !5
%41 = add nuw nsw i64 %6, 1
%42 = load i32, ptr @total_ifindex, align 4, !tbaa !9
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %5, label %45, !llvm.loop !13
45: ; preds = %40, %1
%46 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @bpf_get_link_xdp_id(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @bpf_set_link_xdp_fd(i32 noundef, i32 noundef, 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 = { 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 = { 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, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/samples/bpf/extr_xdp_router_ipv4_user.c_int_exit.c'
source_filename = "AnghaBench/linux/samples/bpf/extr_xdp_router_ipv4_user.c_int_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@total_ifindex = common local_unnamed_addr global i32 0, align 4
@ifindex_list = common local_unnamed_addr global ptr null, align 8
@flags = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [40 x i8] c"bpf_get_link_xdp_id on iface %d failed\0A\00", align 1
@prog_id_list = common local_unnamed_addr global ptr null, align 8
@.str.1 = private unnamed_addr constant [37 x i8] c"couldn't find a prog id on iface %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"program on iface %d changed, not removing\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @int_exit], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @int_exit(i32 %0) #0 {
%2 = alloca i64, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
store i64 0, ptr %2, align 8, !tbaa !6
%3 = load i32, ptr @total_ifindex, align 4, !tbaa !10
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %45
5: ; preds = %1, %40
%6 = phi i64 [ %41, %40 ], [ 0, %1 ]
%7 = load ptr, ptr @ifindex_list, align 8, !tbaa !12
%8 = getelementptr inbounds i32, ptr %7, i64 %6
%9 = load i32, ptr %8, align 4, !tbaa !10
%10 = load i32, ptr @flags, align 4, !tbaa !10
%11 = call i64 @bpf_get_link_xdp_id(i32 noundef %9, ptr noundef nonnull %2, i32 noundef %10) #4
%12 = icmp eq i64 %11, 0
br i1 %12, label %19, label %13
13: ; preds = %5
%14 = load ptr, ptr @ifindex_list, align 8, !tbaa !12
%15 = getelementptr inbounds i32, ptr %14, i64 %6
%16 = load i32, ptr %15, align 4, !tbaa !10
%17 = call i32 @printf(ptr noundef nonnull @.str, i32 noundef %16) #4
%18 = call i32 @exit(i32 noundef 1) #5
unreachable
19: ; preds = %5
%20 = load ptr, ptr @prog_id_list, align 8, !tbaa !12
%21 = getelementptr inbounds i64, ptr %20, i64 %6
%22 = load i64, ptr %21, align 8, !tbaa !6
%23 = load i64, ptr %2, align 8, !tbaa !6
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %31
25: ; preds = %19
%26 = load ptr, ptr @ifindex_list, align 8, !tbaa !12
%27 = getelementptr inbounds i32, ptr %26, i64 %6
%28 = load i32, ptr %27, align 4, !tbaa !10
%29 = load i32, ptr @flags, align 4, !tbaa !10
%30 = call i32 @bpf_set_link_xdp_fd(i32 noundef %28, i32 noundef -1, i32 noundef %29) #4
br label %40
31: ; preds = %19
%32 = icmp eq i64 %23, 0
%33 = load ptr, ptr @ifindex_list, align 8, !tbaa !12
%34 = getelementptr inbounds i32, ptr %33, i64 %6
%35 = load i32, ptr %34, align 4, !tbaa !10
br i1 %32, label %36, label %38
36: ; preds = %31
%37 = call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %35) #4
br label %40
38: ; preds = %31
%39 = call i32 @printf(ptr noundef nonnull @.str.2, i32 noundef %35) #4
br label %40
40: ; preds = %36, %38, %25
store i64 0, ptr %2, align 8, !tbaa !6
%41 = add nuw nsw i64 %6, 1
%42 = load i32, ptr @total_ifindex, align 4, !tbaa !10
%43 = sext i32 %42 to i64
%44 = icmp slt i64 %41, %43
br i1 %44, label %5, label %45, !llvm.loop !14
45: ; preds = %40, %1
%46 = call i32 @exit(i32 noundef 0) #5
unreachable
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @bpf_get_link_xdp_id(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #3
declare i32 @bpf_set_link_xdp_fd(i32 noundef, i32 noundef, 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 = { 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 = { 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, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_samples_bpf_extr_xdp_router_ipv4_user.c_int_exit |
; ModuleID = 'AnghaBench/macvim/src/extr_misc1.c_preserve_exit.c'
source_filename = "AnghaBench/macvim/src/extr_misc1.c_preserve_exit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_7__ = type { %struct.TYPE_6__, ptr }
%struct.TYPE_6__ = type { ptr }
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@really_exiting = dso_local local_unnamed_addr global i32 0, align 4
@IObuff = dso_local local_unnamed_addr global i32 0, align 4
@firstbuf = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Vim: preserving files...\0A\00", align 1
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"Vim: Finished.\0A\00", align 1
; Function Attrs: nounwind uwtable
define dso_local void @preserve_exit() local_unnamed_addr #0 {
%1 = tail call i32 (...) @prepare_to_exit() #2
%2 = load i32, ptr @TRUE, align 4, !tbaa !5
store i32 %2, ptr @really_exiting, align 4, !tbaa !5
%3 = load i32, ptr @IObuff, align 4, !tbaa !5
%4 = tail call i32 @out_str(i32 noundef %3) #2
%5 = tail call i32 (...) @screen_start() #2
%6 = tail call i32 (...) @out_flush() #2
%7 = tail call i32 (...) @ml_close_notmod() #2
%8 = load ptr, ptr @firstbuf, align 8, !tbaa !9
%9 = icmp eq ptr %8, null
br i1 %9, label %27, label %10
10: ; preds = %0, %23
%11 = phi ptr [ %25, %23 ], [ %8, %0 ]
%12 = load ptr, ptr %11, align 8, !tbaa !11
%13 = icmp eq ptr %12, null
br i1 %13, label %23, label %14
14: ; preds = %10
%15 = load ptr, ptr %12, align 8, !tbaa !14
%16 = icmp eq ptr %15, null
br i1 %16, label %23, label %17
17: ; preds = %14
%18 = tail call i32 @OUT_STR(ptr noundef nonnull @.str) #2
%19 = tail call i32 (...) @screen_start() #2
%20 = tail call i32 (...) @out_flush() #2
%21 = load i32, ptr @FALSE, align 4, !tbaa !5
%22 = tail call i32 @ml_sync_all(i32 noundef %21, i32 noundef %21) #2
br label %27
23: ; preds = %10, %14
%24 = getelementptr inbounds %struct.TYPE_7__, ptr %11, i64 0, i32 1
%25 = load ptr, ptr %24, align 8, !tbaa !9
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %10, !llvm.loop !16
27: ; preds = %23, %0, %17
%28 = load i32, ptr @FALSE, align 4, !tbaa !5
%29 = tail call i32 @ml_close_all(i32 noundef %28) #2
%30 = tail call i32 @OUT_STR(ptr noundef nonnull @.str.1) #2
%31 = tail call i32 @getout(i32 noundef 1) #2
ret void
}
declare i32 @prepare_to_exit(...) local_unnamed_addr #1
declare i32 @out_str(i32 noundef) local_unnamed_addr #1
declare i32 @screen_start(...) local_unnamed_addr #1
declare i32 @out_flush(...) local_unnamed_addr #1
declare i32 @ml_close_notmod(...) local_unnamed_addr #1
declare i32 @OUT_STR(ptr noundef) local_unnamed_addr #1
declare i32 @ml_sync_all(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ml_close_all(i32 noundef) local_unnamed_addr #1
declare i32 @getout(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 0}
!12 = !{!"TYPE_7__", !13, i64 0, !10, i64 8}
!13 = !{!"TYPE_6__", !10, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"TYPE_5__", !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/macvim/src/extr_misc1.c_preserve_exit.c'
source_filename = "AnghaBench/macvim/src/extr_misc1.c_preserve_exit.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TRUE = common local_unnamed_addr global i32 0, align 4
@really_exiting = common local_unnamed_addr global i32 0, align 4
@IObuff = common local_unnamed_addr global i32 0, align 4
@firstbuf = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [26 x i8] c"Vim: preserving files...\0A\00", align 1
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"Vim: Finished.\0A\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define void @preserve_exit() local_unnamed_addr #0 {
%1 = tail call i32 @prepare_to_exit() #2
%2 = load i32, ptr @TRUE, align 4, !tbaa !6
store i32 %2, ptr @really_exiting, align 4, !tbaa !6
%3 = load i32, ptr @IObuff, align 4, !tbaa !6
%4 = tail call i32 @out_str(i32 noundef %3) #2
%5 = tail call i32 @screen_start() #2
%6 = tail call i32 @out_flush() #2
%7 = tail call i32 @ml_close_notmod() #2
%8 = load ptr, ptr @firstbuf, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %27, label %10
10: ; preds = %0, %23
%11 = phi ptr [ %25, %23 ], [ %8, %0 ]
%12 = load ptr, ptr %11, align 8, !tbaa !12
%13 = icmp eq ptr %12, null
br i1 %13, label %23, label %14
14: ; preds = %10
%15 = load ptr, ptr %12, align 8, !tbaa !15
%16 = icmp eq ptr %15, null
br i1 %16, label %23, label %17
17: ; preds = %14
%18 = tail call i32 @OUT_STR(ptr noundef nonnull @.str) #2
%19 = tail call i32 @screen_start() #2
%20 = tail call i32 @out_flush() #2
%21 = load i32, ptr @FALSE, align 4, !tbaa !6
%22 = tail call i32 @ml_sync_all(i32 noundef %21, i32 noundef %21) #2
br label %27
23: ; preds = %10, %14
%24 = getelementptr inbounds i8, ptr %11, i64 8
%25 = load ptr, ptr %24, align 8, !tbaa !10
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %10, !llvm.loop !17
27: ; preds = %23, %0, %17
%28 = load i32, ptr @FALSE, align 4, !tbaa !6
%29 = tail call i32 @ml_close_all(i32 noundef %28) #2
%30 = tail call i32 @OUT_STR(ptr noundef nonnull @.str.1) #2
%31 = tail call i32 @getout(i32 noundef 1) #2
ret void
}
declare i32 @prepare_to_exit(...) local_unnamed_addr #1
declare i32 @out_str(i32 noundef) local_unnamed_addr #1
declare i32 @screen_start(...) local_unnamed_addr #1
declare i32 @out_flush(...) local_unnamed_addr #1
declare i32 @ml_close_notmod(...) local_unnamed_addr #1
declare i32 @OUT_STR(ptr noundef) local_unnamed_addr #1
declare i32 @ml_sync_all(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ml_close_all(i32 noundef) local_unnamed_addr #1
declare i32 @getout(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 0}
!13 = !{!"TYPE_7__", !14, i64 0, !11, i64 8}
!14 = !{!"TYPE_6__", !11, i64 0}
!15 = !{!16, !11, i64 0}
!16 = !{!"TYPE_5__", !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| macvim_src_extr_misc1.c_preserve_exit |
; ModuleID = 'AnghaBench/linux/net/nfc/extr_core.c_nfc_tm_data_received.c'
source_filename = "AnghaBench/linux/net/nfc/extr_core.c_nfc_tm_data_received.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@ENOLINK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @nfc_tm_data_received(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = tail call i32 @kfree_skb(ptr noundef %1) #2
%7 = load i32, ptr @ENOLINK, align 4, !tbaa !10
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %2
%10 = tail call i32 @nfc_llcp_data_received(ptr noundef nonnull %0, ptr noundef %1) #2
br label %11
11: ; preds = %9, %5
%12 = phi i32 [ %8, %5 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @nfc_llcp_data_received(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 = !{!"nfc_dev", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/nfc/extr_core.c_nfc_tm_data_received.c'
source_filename = "AnghaBench/linux/net/nfc/extr_core.c_nfc_tm_data_received.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ENOLINK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @nfc_tm_data_received(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !6
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = tail call i32 @kfree_skb(ptr noundef %1) #2
%7 = load i32, ptr @ENOLINK, align 4, !tbaa !11
%8 = sub nsw i32 0, %7
br label %11
9: ; preds = %2
%10 = tail call i32 @nfc_llcp_data_received(ptr noundef nonnull %0, ptr noundef %1) #2
br label %11
11: ; preds = %9, %5
%12 = phi i32 [ %8, %5 ], [ %10, %9 ]
ret i32 %12
}
declare i32 @kfree_skb(ptr noundef) local_unnamed_addr #1
declare i32 @nfc_llcp_data_received(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 = !{!"nfc_dev", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
| linux_net_nfc_extr_core.c_nfc_tm_data_received |
; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_ssepfx.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_ssepfx.c"
target datalayout = "e-m:e-p270:32:32-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.ud = type { i32, i32, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @decode_ssepfx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @decode_ssepfx(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !5
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds %struct.ud, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !11
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ %6, %4 ], [ %2, %1 ]
%9 = and i32 %8, 15
%10 = add nuw nsw i32 %9, 1
%11 = lshr i32 %10, 1
%12 = getelementptr inbounds %struct.ud, ptr %0, i64 0, i32 2
%13 = load ptr, ptr %12, align 8, !tbaa !12
%14 = load ptr, ptr %13, align 8, !tbaa !13
%15 = zext nneg i32 %11 to i64
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !15
%18 = icmp eq i64 %17, 0
%19 = icmp eq i32 %9, 0
%20 = or i1 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %7
%22 = load i64, ptr %14, align 8, !tbaa !15
br label %32
23: ; preds = %7
%24 = zext nneg i32 %11 to i64
%25 = getelementptr inbounds i64, ptr %14, i64 %24
%26 = load i64, ptr %25, align 8, !tbaa !15
%27 = icmp eq i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %23
store i32 0, ptr %0, align 8, !tbaa !5
%29 = icmp eq i32 %8, 102
br i1 %29, label %30, label %32
30: ; preds = %28
%31 = getelementptr inbounds %struct.ud, ptr %0, i64 0, i32 1
store i32 0, ptr %31, align 4, !tbaa !11
br label %32
32: ; preds = %21, %28, %30, %23
%33 = phi i64 [ %22, %21 ], [ %26, %28 ], [ %26, %30 ], [ 0, %23 ]
%34 = tail call i32 @decode_ext(ptr noundef nonnull %0, i64 noundef %33) #2
ret i32 %34
}
declare i32 @decode_ext(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 = !{!"ud", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"TYPE_2__", !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
| ; ModuleID = 'AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_ssepfx.c'
source_filename = "AnghaBench/php-src/ext/opcache/jit/libudis86/extr_decode.c_decode_ssepfx.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @decode_ssepfx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @decode_ssepfx(ptr noundef %0) #0 {
%2 = load i32, ptr %0, align 8, !tbaa !6
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %7
4: ; preds = %1
%5 = getelementptr inbounds i8, ptr %0, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !12
br label %7
7: ; preds = %4, %1
%8 = phi i32 [ %6, %4 ], [ %2, %1 ]
%9 = and i32 %8, 15
%10 = add nuw nsw i32 %9, 1
%11 = lshr i32 %10, 1
%12 = getelementptr inbounds i8, ptr %0, i64 8
%13 = load ptr, ptr %12, align 8, !tbaa !13
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = zext nneg i32 %11 to i64
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8, !tbaa !16
%18 = icmp eq i64 %17, 0
%19 = icmp eq i32 %9, 0
%20 = or i1 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %7
%22 = load i64, ptr %14, align 8, !tbaa !16
br label %27
23: ; preds = %7
store i32 0, ptr %0, align 8, !tbaa !6
%24 = icmp eq i32 %8, 102
br i1 %24, label %25, label %27
25: ; preds = %23
%26 = getelementptr inbounds i8, ptr %0, i64 4
store i32 0, ptr %26, align 4, !tbaa !12
br label %27
27: ; preds = %21, %23, %25
%28 = phi i64 [ %22, %21 ], [ %17, %23 ], [ %17, %25 ]
%29 = tail call i32 @decode_ext(ptr noundef nonnull %0, i64 noundef %28) #2
ret i32 %29
}
declare i32 @decode_ext(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 = !{!"ud", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !11, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"TYPE_2__", !11, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !9, i64 0}
| php-src_ext_opcache_jit_libudis86_extr_decode.c_decode_ssepfx |
; ModuleID = 'AnghaBench/curl/lib/extr_ftp.c_ftp_state_quote.c'
source_filename = "AnghaBench/curl/lib/extr_ftp.c_ftp_state_quote.c"
target datalayout = "e-m:e-p270:32:32-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.connectdata = type { %struct.TYPE_5__, ptr }
%struct.TYPE_5__ = type { %struct.ftp_conn }
%struct.ftp_conn = type { i32, i32, i32, ptr, i32 }
%struct.Curl_easy = type { %struct.TYPE_6__, %struct.TYPE_4__ }
%struct.TYPE_6__ = type { i32, ptr, ptr, ptr }
%struct.TYPE_4__ = type { ptr }
%struct.curl_slist = type { ptr, ptr }
@CURLE_OK = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@TRUE = dso_local local_unnamed_addr global i32 0, align 4
@FTPTRANSFER_BODY = dso_local local_unnamed_addr global i32 0, align 4
@FTP_STOP = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"RETR %s\00", align 1
@FTP_RETR = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"SIZE %s\00", align 1
@FTP_RETR_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ftp_state_quote], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ftp_state_quote(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @CURLE_OK, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.connectdata, ptr %0, i64 0, i32 1
%6 = load ptr, ptr %5, align 8, !tbaa !9
%7 = getelementptr inbounds %struct.Curl_easy, ptr %6, i64 0, i32 1
%8 = load ptr, ptr %7, align 8, !tbaa !14
%9 = load i32, ptr @FALSE, align 4, !tbaa !5
switch i32 %2, label %10 [
i32 131, label %14
i32 129, label %12
i32 128, label %12
]
10: ; preds = %3
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 3
br label %16
12: ; preds = %3, %3
%13 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 2
br label %16
14: ; preds = %3
%15 = getelementptr inbounds %struct.TYPE_6__, ptr %6, i64 0, i32 1
br label %16
16: ; preds = %14, %12, %10
%17 = phi ptr [ %11, %10 ], [ %13, %12 ], [ %15, %14 ]
%18 = load ptr, ptr %17, align 8, !tbaa !18
%19 = icmp eq i32 %1, 0
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = load i32, ptr %0, align 8, !tbaa !19
%22 = add nsw i32 %21, 1
store i32 %22, ptr %0, align 8, !tbaa !19
%23 = icmp eq ptr %18, null
br i1 %23, label %51, label %26
24: ; preds = %16
store i32 0, ptr %0, align 8, !tbaa !19
%25 = icmp eq ptr %18, null
br i1 %25, label %51, label %38
26: ; preds = %20
%27 = icmp sgt i32 %21, -1
br i1 %27, label %28, label %38
28: ; preds = %26, %28
%29 = phi i32 [ %33, %28 ], [ 0, %26 ]
%30 = phi ptr [ %32, %28 ], [ %18, %26 ]
%31 = getelementptr inbounds %struct.curl_slist, ptr %30, i64 0, i32 1
%32 = load ptr, ptr %31, align 8, !tbaa !20
%33 = add nuw nsw i32 %29, 1
%34 = icmp slt i32 %29, %21
%35 = icmp ne ptr %32, null
%36 = select i1 %34, i1 %35, i1 false
br i1 %36, label %28, label %37, !llvm.loop !22
37: ; preds = %28
br i1 %35, label %38, label %51
38: ; preds = %24, %26, %37
%39 = phi ptr [ %32, %37 ], [ %18, %26 ], [ %18, %24 ]
%40 = load ptr, ptr %39, align 8, !tbaa !24
%41 = load i8, ptr %40, align 1, !tbaa !25
%42 = icmp eq i8 %41, 42
%43 = zext i1 %42 to i32
%44 = zext i1 %42 to i64
%45 = getelementptr inbounds i8, ptr %40, i64 %44
%46 = getelementptr inbounds %struct.ftp_conn, ptr %0, i64 0, i32 1
store i32 %43, ptr %46, align 4
%47 = getelementptr inbounds %struct.ftp_conn, ptr %0, i64 0, i32 4
%48 = tail call i32 @PPSENDF(ptr noundef nonnull %47, ptr noundef nonnull @.str, ptr noundef nonnull %45) #2
%49 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %2) #2
%50 = load i32, ptr @TRUE, align 4, !tbaa !5
br label %51
51: ; preds = %24, %37, %38, %20
%52 = phi i32 [ %9, %20 ], [ %50, %38 ], [ %9, %37 ], [ %9, %24 ]
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %89
54: ; preds = %51
switch i32 %2, label %55 [
i32 131, label %89
i32 129, label %57
i32 128, label %86
]
55: ; preds = %54
%56 = tail call i32 @ftp_state_cwd(ptr noundef nonnull %0) #2
br label %89
57: ; preds = %54
%58 = load i32, ptr %8, align 4, !tbaa !26
%59 = load i32, ptr @FTPTRANSFER_BODY, align 4, !tbaa !5
%60 = icmp eq i32 %58, %59
br i1 %60, label %64, label %61
61: ; preds = %57
%62 = load i32, ptr @FTP_STOP, align 4, !tbaa !5
%63 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %62) #2
br label %89
64: ; preds = %57
%65 = getelementptr inbounds %struct.ftp_conn, ptr %0, i64 0, i32 2
%66 = load i32, ptr %65, align 8, !tbaa !28
%67 = icmp eq i32 %66, -1
br i1 %67, label %72, label %68
68: ; preds = %64
%69 = tail call i32 @Curl_pgrsSetDownloadSize(ptr noundef %6, i32 noundef %66) #2
%70 = load i32, ptr %65, align 8, !tbaa !28
%71 = tail call i32 @ftp_state_retr(ptr noundef nonnull %0, i32 noundef %70) #2
br label %89
72: ; preds = %64
%73 = load i32, ptr %6, align 8, !tbaa !29
%74 = icmp eq i32 %73, 0
%75 = getelementptr inbounds %struct.ftp_conn, ptr %0, i64 0, i32 4
%76 = getelementptr inbounds %struct.ftp_conn, ptr %0, i64 0, i32 3
%77 = load ptr, ptr %76, align 8, !tbaa !30
br i1 %74, label %82, label %78
78: ; preds = %72
%79 = tail call i32 @PPSENDF(ptr noundef nonnull %75, ptr noundef nonnull @.str.1, ptr noundef %77) #2
%80 = load i32, ptr @FTP_RETR, align 4, !tbaa !5
%81 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %80) #2
br label %89
82: ; preds = %72
%83 = tail call i32 @PPSENDF(ptr noundef nonnull %75, ptr noundef nonnull @.str.2, ptr noundef %77) #2
%84 = load i32, ptr @FTP_RETR_SIZE, align 4, !tbaa !5
%85 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %84) #2
br label %89
86: ; preds = %54
%87 = load i32, ptr @FALSE, align 4, !tbaa !5
%88 = tail call i32 @ftp_state_ul_setup(ptr noundef nonnull %0, i32 noundef %87) #2
br label %89
89: ; preds = %54, %55, %86, %68, %82, %78, %61, %51
%90 = phi i32 [ %4, %51 ], [ %56, %55 ], [ %88, %86 ], [ %4, %61 ], [ %71, %68 ], [ %4, %78 ], [ %4, %82 ], [ %4, %54 ]
ret i32 %90
}
declare i32 @PPSENDF(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_cwd(ptr noundef) local_unnamed_addr #1
declare i32 @Curl_pgrsSetDownloadSize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_retr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_ul_setup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 32}
!10 = !{!"connectdata", !11, i64 0, !13, i64 32}
!11 = !{!"TYPE_5__", !12, i64 0}
!12 = !{!"ftp_conn", !6, i64 0, !6, i64 4, !6, i64 8, !13, i64 16, !6, i64 24}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !13, i64 32}
!15 = !{!"Curl_easy", !16, i64 0, !17, i64 32}
!16 = !{!"TYPE_6__", !6, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!17 = !{!"TYPE_4__", !13, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !6, i64 0}
!20 = !{!21, !13, i64 8}
!21 = !{!"curl_slist", !13, i64 0, !13, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!21, !13, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!27, !6, i64 0}
!27 = !{!"FTP", !6, i64 0}
!28 = !{!12, !6, i64 8}
!29 = !{!15, !6, i64 0}
!30 = !{!12, !13, i64 16}
| ; ModuleID = 'AnghaBench/curl/lib/extr_ftp.c_ftp_state_quote.c'
source_filename = "AnghaBench/curl/lib/extr_ftp.c_ftp_state_quote.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURLE_OK = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@TRUE = common local_unnamed_addr global i32 0, align 4
@FTPTRANSFER_BODY = common local_unnamed_addr global i32 0, align 4
@FTP_STOP = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [8 x i8] c"RETR %s\00", align 1
@FTP_RETR = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"SIZE %s\00", align 1
@FTP_RETR_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ftp_state_quote], section "llvm.metadata"
@switch.table.ftp_state_quote = private unnamed_addr constant [4 x i64] [i64 16, i64 16, i64 24, i64 8], align 8
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ftp_state_quote(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @CURLE_OK, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %0, i64 32
%6 = load ptr, ptr %5, align 8, !tbaa !10
%7 = getelementptr inbounds i8, ptr %6, i64 32
%8 = load ptr, ptr %7, align 8, !tbaa !15
%9 = load i32, ptr @FALSE, align 4, !tbaa !6
%10 = add i32 %2, -128
%11 = icmp ult i32 %10, 4
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = zext nneg i32 %10 to i64
%14 = getelementptr inbounds [4 x i64], ptr @switch.table.ftp_state_quote, i64 0, i64 %13
%15 = load i64, ptr %14, align 8
br label %16
16: ; preds = %12, %3
%17 = phi i64 [ 24, %3 ], [ %15, %12 ]
%18 = getelementptr inbounds i8, ptr %6, i64 %17
%19 = load ptr, ptr %18, align 8, !tbaa !19
%20 = icmp eq i32 %1, 0
br i1 %20, label %21, label %25
21: ; preds = %16
%22 = load i32, ptr %0, align 8, !tbaa !20
%23 = add nsw i32 %22, 1
store i32 %23, ptr %0, align 8, !tbaa !20
%24 = icmp eq ptr %19, null
br i1 %24, label %52, label %27
25: ; preds = %16
store i32 0, ptr %0, align 8, !tbaa !20
%26 = icmp eq ptr %19, null
br i1 %26, label %52, label %39
27: ; preds = %21
%28 = icmp sgt i32 %22, -1
br i1 %28, label %29, label %39
29: ; preds = %27, %29
%30 = phi i32 [ %34, %29 ], [ 0, %27 ]
%31 = phi ptr [ %33, %29 ], [ %19, %27 ]
%32 = getelementptr inbounds i8, ptr %31, i64 8
%33 = load ptr, ptr %32, align 8, !tbaa !21
%34 = add nuw nsw i32 %30, 1
%35 = icmp slt i32 %30, %22
%36 = icmp ne ptr %33, null
%37 = select i1 %35, i1 %36, i1 false
br i1 %37, label %29, label %38, !llvm.loop !23
38: ; preds = %29
br i1 %36, label %39, label %52
39: ; preds = %25, %27, %38
%40 = phi ptr [ %33, %38 ], [ %19, %27 ], [ %19, %25 ]
%41 = load ptr, ptr %40, align 8, !tbaa !25
%42 = load i8, ptr %41, align 1, !tbaa !26
%43 = icmp eq i8 %42, 42
%44 = zext i1 %43 to i32
%45 = zext i1 %43 to i64
%46 = getelementptr inbounds i8, ptr %41, i64 %45
%47 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %44, ptr %47, align 4
%48 = getelementptr inbounds i8, ptr %0, i64 24
%49 = tail call i32 @PPSENDF(ptr noundef nonnull %48, ptr noundef nonnull @.str, ptr noundef nonnull %46) #2
%50 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %2) #2
%51 = load i32, ptr @TRUE, align 4, !tbaa !6
br label %52
52: ; preds = %25, %38, %39, %21
%53 = phi i32 [ %9, %21 ], [ %51, %39 ], [ %9, %38 ], [ %9, %25 ]
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %90
55: ; preds = %52
switch i32 %2, label %56 [
i32 131, label %90
i32 129, label %58
i32 128, label %87
]
56: ; preds = %55
%57 = tail call i32 @ftp_state_cwd(ptr noundef nonnull %0) #2
br label %90
58: ; preds = %55
%59 = load i32, ptr %8, align 4, !tbaa !27
%60 = load i32, ptr @FTPTRANSFER_BODY, align 4, !tbaa !6
%61 = icmp eq i32 %59, %60
br i1 %61, label %65, label %62
62: ; preds = %58
%63 = load i32, ptr @FTP_STOP, align 4, !tbaa !6
%64 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %63) #2
br label %90
65: ; preds = %58
%66 = getelementptr inbounds i8, ptr %0, i64 8
%67 = load i32, ptr %66, align 8, !tbaa !29
%68 = icmp eq i32 %67, -1
br i1 %68, label %73, label %69
69: ; preds = %65
%70 = tail call i32 @Curl_pgrsSetDownloadSize(ptr noundef %6, i32 noundef %67) #2
%71 = load i32, ptr %66, align 8, !tbaa !29
%72 = tail call i32 @ftp_state_retr(ptr noundef nonnull %0, i32 noundef %71) #2
br label %90
73: ; preds = %65
%74 = load i32, ptr %6, align 8, !tbaa !30
%75 = icmp eq i32 %74, 0
%76 = getelementptr inbounds i8, ptr %0, i64 24
%77 = getelementptr inbounds i8, ptr %0, i64 16
%78 = load ptr, ptr %77, align 8, !tbaa !31
br i1 %75, label %83, label %79
79: ; preds = %73
%80 = tail call i32 @PPSENDF(ptr noundef nonnull %76, ptr noundef nonnull @.str.1, ptr noundef %78) #2
%81 = load i32, ptr @FTP_RETR, align 4, !tbaa !6
%82 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %81) #2
br label %90
83: ; preds = %73
%84 = tail call i32 @PPSENDF(ptr noundef nonnull %76, ptr noundef nonnull @.str.2, ptr noundef %78) #2
%85 = load i32, ptr @FTP_RETR_SIZE, align 4, !tbaa !6
%86 = tail call i32 @state(ptr noundef nonnull %0, i32 noundef %85) #2
br label %90
87: ; preds = %55
%88 = load i32, ptr @FALSE, align 4, !tbaa !6
%89 = tail call i32 @ftp_state_ul_setup(ptr noundef nonnull %0, i32 noundef %88) #2
br label %90
90: ; preds = %55, %56, %87, %69, %83, %79, %62, %52
%91 = phi i32 [ %4, %52 ], [ %57, %56 ], [ %89, %87 ], [ %4, %62 ], [ %72, %69 ], [ %4, %79 ], [ %4, %83 ], [ %4, %55 ]
ret i32 %91
}
declare i32 @PPSENDF(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @state(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_cwd(ptr noundef) local_unnamed_addr #1
declare i32 @Curl_pgrsSetDownloadSize(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_retr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ftp_state_ul_setup(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !14, i64 32}
!11 = !{!"connectdata", !12, i64 0, !14, i64 32}
!12 = !{!"TYPE_5__", !13, i64 0}
!13 = !{!"ftp_conn", !7, i64 0, !7, i64 4, !7, i64 8, !14, i64 16, !7, i64 24}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!16, !14, i64 32}
!16 = !{!"Curl_easy", !17, i64 0, !18, i64 32}
!17 = !{!"TYPE_6__", !7, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!18 = !{!"TYPE_4__", !14, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{!13, !7, i64 0}
!21 = !{!22, !14, i64 8}
!22 = !{!"curl_slist", !14, i64 0, !14, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!22, !14, i64 0}
!26 = !{!8, !8, i64 0}
!27 = !{!28, !7, i64 0}
!28 = !{!"FTP", !7, i64 0}
!29 = !{!13, !7, i64 8}
!30 = !{!16, !7, i64 0}
!31 = !{!13, !14, i64 16}
| curl_lib_extr_ftp.c_ftp_state_quote |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace.c_print_lat_help_header.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace.c_print_lat_help_header.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [367 x i8] c"# _------=> CPU# \0A# / _-----=> irqs-off \0A# | / _----=> need-resched \0A# || / _---=> hardirq/softirq \0A# ||| / _--=> preempt-depth \0A# |||| / delay \0A# cmd pid ||||| time | caller \0A# \\ / ||||| \\ | / \0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @print_lat_help_header], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @print_lat_help_header(ptr noundef %0) #0 {
%2 = tail call i32 @seq_puts(ptr noundef %0, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_trace.c_print_lat_help_header.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_trace.c_print_lat_help_header.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [367 x i8] c"# _------=> CPU# \0A# / _-----=> irqs-off \0A# | / _----=> need-resched \0A# || / _---=> hardirq/softirq \0A# ||| / _--=> preempt-depth \0A# |||| / delay \0A# cmd pid ||||| time | caller \0A# \\ / ||||| \\ | / \0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @print_lat_help_header], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @print_lat_help_header(ptr noundef %0) #0 {
%2 = tail call i32 @seq_puts(ptr noundef %0, ptr noundef nonnull @.str) #2
ret void
}
declare i32 @seq_puts(ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_kernel_trace_extr_trace.c_print_lat_help_header |
; ModuleID = 'AnghaBench/freebsd/contrib/apr-util/test/extr_testmemcache.c_test_memcache_incrdecr.c'
source_filename = "AnghaBench/freebsd/contrib/apr-util/test/extr_testmemcache.c_test_memcache_incrdecr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@p = dso_local local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [23 x i8] c"memcache create failed\00", align 1
@APR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8
@HOST = dso_local local_unnamed_addr global i32 0, align 4
@PORT = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"server create failed\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"server add failed\00", align 1
@prefix = dso_local local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"271\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"set failed\00", align 1
@TDATA_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"get failed\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"incr failed\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"decr failed\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"delete failed\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @test_memcache_incrdecr], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @test_memcache_incrdecr(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = load ptr, ptr @p, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%9 = call i64 @apr_memcache_create(ptr noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %3) #4
%10 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i32
%13 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12) #4
%14 = load i32, ptr @HOST, align 4, !tbaa !11
%15 = load i32, ptr @PORT, align 4, !tbaa !11
%16 = call i64 @apr_memcache_server_create(ptr noundef %8, i32 noundef %14, i32 noundef %15, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 60, ptr noundef nonnull %4) #4
%17 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%18 = icmp eq i64 %16, %17
%19 = zext i1 %18 to i32
%20 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %19) #4
%21 = load ptr, ptr %3, align 8, !tbaa !5
%22 = load ptr, ptr %4, align 8, !tbaa !5
%23 = call i64 @apr_memcache_add_server(ptr noundef %21, ptr noundef %22) #4
%24 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %26) #4
%28 = load ptr, ptr %3, align 8, !tbaa !5
%29 = load i32, ptr @prefix, align 4, !tbaa !11
%30 = call i64 @apr_memcache_set(ptr noundef %28, i32 noundef %29, ptr noundef nonnull @.str.3, i32 noundef 3, i32 noundef 0, i32 noundef 27) #4
%31 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%32 = icmp eq i64 %30, %31
%33 = zext i1 %32 to i32
%34 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %33) #4
%35 = load i32, ptr @TDATA_SIZE, align 4, !tbaa !11
%36 = icmp slt i32 %35, 1
br i1 %36, label %72, label %37
37: ; preds = %2, %37
%38 = phi i32 [ %69, %37 ], [ 1, %2 ]
%39 = load ptr, ptr %3, align 8, !tbaa !5
%40 = load i32, ptr @prefix, align 4, !tbaa !11
%41 = call i64 @apr_memcache_getp(ptr noundef %39, ptr noundef %8, i32 noundef %40, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4
%42 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%43 = icmp eq i64 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %44) #4
%46 = load ptr, ptr %6, align 8, !tbaa !5
%47 = call i32 @atoi(ptr nocapture noundef %46)
%48 = add nsw i32 %47, %38
%49 = load ptr, ptr %3, align 8, !tbaa !5
%50 = load i32, ptr @prefix, align 4, !tbaa !11
%51 = call i64 @apr_memcache_incr(ptr noundef %49, i32 noundef %50, i32 noundef %38, ptr noundef nonnull %5) #4
%52 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%53 = icmp eq i64 %51, %52
%54 = zext i1 %53 to i32
%55 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %54) #4
%56 = load i32, ptr %5, align 4, !tbaa !11
%57 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef %48, i32 noundef %56) #4
%58 = load ptr, ptr %3, align 8, !tbaa !5
%59 = load i32, ptr @prefix, align 4, !tbaa !11
%60 = call i64 @apr_memcache_decr(ptr noundef %58, i32 noundef %59, i32 noundef %38, ptr noundef nonnull %5) #4
%61 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%62 = icmp eq i64 %60, %61
%63 = zext i1 %62 to i32
%64 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %63) #4
%65 = load ptr, ptr %6, align 8, !tbaa !5
%66 = call i32 @atoi(ptr nocapture noundef %65)
%67 = load i32, ptr %5, align 4, !tbaa !11
%68 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef %66, i32 noundef %67) #4
%69 = add nuw nsw i32 %38, 1
%70 = load i32, ptr @TDATA_SIZE, align 4, !tbaa !11
%71 = icmp slt i32 %38, %70
br i1 %71, label %37, label %72, !llvm.loop !13
72: ; preds = %37, %2
%73 = load ptr, ptr %3, align 8, !tbaa !5
%74 = load i32, ptr @prefix, align 4, !tbaa !11
%75 = call i64 @apr_memcache_getp(ptr noundef %73, ptr noundef %8, i32 noundef %74, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4
%76 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%77 = icmp eq i64 %75, %76
%78 = zext i1 %77 to i32
%79 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %78) #4
%80 = load ptr, ptr %6, align 8, !tbaa !5
%81 = call i32 @atoi(ptr nocapture noundef %80)
%82 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef 271, i32 noundef %81) #4
%83 = load ptr, ptr %3, align 8, !tbaa !5
%84 = load i32, ptr @prefix, align 4, !tbaa !11
%85 = call i64 @apr_memcache_delete(ptr noundef %83, i32 noundef %84, i32 noundef 0) #4
%86 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !9
%87 = icmp eq i64 %85, %86
%88 = zext i1 %87 to i32
%89 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %88) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @apr_memcache_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ABTS_ASSERT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_server_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @apr_memcache_add_server(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @apr_memcache_set(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_getp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @apr_memcache_incr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ABTS_INT_EQUAL(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_decr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @apr_memcache_delete(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/apr-util/test/extr_testmemcache.c_test_memcache_incrdecr.c'
source_filename = "AnghaBench/freebsd/contrib/apr-util/test/extr_testmemcache.c_test_memcache_incrdecr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@p = common local_unnamed_addr global ptr null, align 8
@.str = private unnamed_addr constant [23 x i8] c"memcache create failed\00", align 1
@APR_SUCCESS = common local_unnamed_addr global i64 0, align 8
@HOST = common local_unnamed_addr global i32 0, align 4
@PORT = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"server create failed\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"server add failed\00", align 1
@prefix = common local_unnamed_addr global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"271\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"set failed\00", align 1
@TDATA_SIZE = common local_unnamed_addr global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"get failed\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"incr failed\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"decr failed\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"delete failed\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @test_memcache_incrdecr], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @test_memcache_incrdecr(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = load ptr, ptr @p, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
%9 = call i64 @apr_memcache_create(ptr noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %3) #4
%10 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%11 = icmp eq i64 %9, %10
%12 = zext i1 %11 to i32
%13 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %12) #4
%14 = load i32, ptr @HOST, align 4, !tbaa !12
%15 = load i32, ptr @PORT, align 4, !tbaa !12
%16 = call i64 @apr_memcache_server_create(ptr noundef %8, i32 noundef %14, i32 noundef %15, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 60, ptr noundef nonnull %4) #4
%17 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%18 = icmp eq i64 %16, %17
%19 = zext i1 %18 to i32
%20 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef %19) #4
%21 = load ptr, ptr %3, align 8, !tbaa !6
%22 = load ptr, ptr %4, align 8, !tbaa !6
%23 = call i64 @apr_memcache_add_server(ptr noundef %21, ptr noundef %22) #4
%24 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%25 = icmp eq i64 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef %26) #4
%28 = load ptr, ptr %3, align 8, !tbaa !6
%29 = load i32, ptr @prefix, align 4, !tbaa !12
%30 = call i64 @apr_memcache_set(ptr noundef %28, i32 noundef %29, ptr noundef nonnull @.str.3, i32 noundef 3, i32 noundef 0, i32 noundef 27) #4
%31 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%32 = icmp eq i64 %30, %31
%33 = zext i1 %32 to i32
%34 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.4, i32 noundef %33) #4
%35 = load i32, ptr @TDATA_SIZE, align 4, !tbaa !12
%36 = icmp slt i32 %35, 1
br i1 %36, label %72, label %37
37: ; preds = %2, %37
%38 = phi i32 [ %69, %37 ], [ 1, %2 ]
%39 = load ptr, ptr %3, align 8, !tbaa !6
%40 = load i32, ptr @prefix, align 4, !tbaa !12
%41 = call i64 @apr_memcache_getp(ptr noundef %39, ptr noundef %8, i32 noundef %40, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4
%42 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%43 = icmp eq i64 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %44) #4
%46 = load ptr, ptr %6, align 8, !tbaa !6
%47 = call i32 @atoi(ptr nocapture noundef %46)
%48 = add nsw i32 %47, %38
%49 = load ptr, ptr %3, align 8, !tbaa !6
%50 = load i32, ptr @prefix, align 4, !tbaa !12
%51 = call i64 @apr_memcache_incr(ptr noundef %49, i32 noundef %50, i32 noundef %38, ptr noundef nonnull %5) #4
%52 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%53 = icmp eq i64 %51, %52
%54 = zext i1 %53 to i32
%55 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %54) #4
%56 = load i32, ptr %5, align 4, !tbaa !12
%57 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef %48, i32 noundef %56) #4
%58 = load ptr, ptr %3, align 8, !tbaa !6
%59 = load i32, ptr @prefix, align 4, !tbaa !12
%60 = call i64 @apr_memcache_decr(ptr noundef %58, i32 noundef %59, i32 noundef %38, ptr noundef nonnull %5) #4
%61 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%62 = icmp eq i64 %60, %61
%63 = zext i1 %62 to i32
%64 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.7, i32 noundef %63) #4
%65 = load ptr, ptr %6, align 8, !tbaa !6
%66 = call i32 @atoi(ptr nocapture noundef %65)
%67 = load i32, ptr %5, align 4, !tbaa !12
%68 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef %66, i32 noundef %67) #4
%69 = add nuw nsw i32 %38, 1
%70 = load i32, ptr @TDATA_SIZE, align 4, !tbaa !12
%71 = icmp slt i32 %38, %70
br i1 %71, label %37, label %72, !llvm.loop !14
72: ; preds = %37, %2
%73 = load ptr, ptr %3, align 8, !tbaa !6
%74 = load i32, ptr @prefix, align 4, !tbaa !12
%75 = call i64 @apr_memcache_getp(ptr noundef %73, ptr noundef %8, i32 noundef %74, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef null) #4
%76 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%77 = icmp eq i64 %75, %76
%78 = zext i1 %77 to i32
%79 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.5, i32 noundef %78) #4
%80 = load ptr, ptr %6, align 8, !tbaa !6
%81 = call i32 @atoi(ptr nocapture noundef %80)
%82 = call i32 @ABTS_INT_EQUAL(ptr noundef %0, i32 noundef 271, i32 noundef %81) #4
%83 = load ptr, ptr %3, align 8, !tbaa !6
%84 = load i32, ptr @prefix, align 4, !tbaa !12
%85 = call i64 @apr_memcache_delete(ptr noundef %83, i32 noundef %84, i32 noundef 0) #4
%86 = load i64, ptr @APR_SUCCESS, align 8, !tbaa !10
%87 = icmp eq i64 %85, %86
%88 = zext i1 %87 to i32
%89 = call i32 @ABTS_ASSERT(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %88) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @apr_memcache_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ABTS_ASSERT(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_server_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @apr_memcache_add_server(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i64 @apr_memcache_set(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_getp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #3
declare i64 @apr_memcache_incr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @ABTS_INT_EQUAL(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i64 @apr_memcache_decr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i64 @apr_memcache_delete(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_apr-util_test_extr_testmemcache.c_test_memcache_incrdecr |
; ModuleID = 'AnghaBench/curl/lib/extr_warnless.c_curlx_sltoui.c'
source_filename = "AnghaBench/curl/lib/extr_warnless.c_curlx_sltoui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CURL_MASK_UINT = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local i32 @curlx_sltoui(i64 noundef %0) local_unnamed_addr #0 {
%2 = icmp sgt i64 %0, -1
%3 = zext i1 %2 to i32
%4 = tail call i32 @DEBUGASSERT(i32 noundef %3) #2
%5 = load i64, ptr @CURL_MASK_UINT, align 8, !tbaa !5
%6 = and i64 %5, %0
%7 = trunc i64 %6 to i32
ret i32 %7
}
declare i32 @DEBUGASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/curl/lib/extr_warnless.c_curlx_sltoui.c'
source_filename = "AnghaBench/curl/lib/extr_warnless.c_curlx_sltoui.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CURL_MASK_UINT = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @curlx_sltoui(i64 noundef %0) local_unnamed_addr #0 {
%2 = icmp sgt i64 %0, -1
%3 = zext i1 %2 to i32
%4 = tail call i32 @DEBUGASSERT(i32 noundef %3) #2
%5 = load i64, ptr @CURL_MASK_UINT, align 8, !tbaa !6
%6 = and i64 %5, %0
%7 = trunc i64 %6 to i32
ret i32 %7
}
declare i32 @DEBUGASSERT(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| curl_lib_extr_warnless.c_curlx_sltoui |
; ModuleID = 'AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_bset_r.c'
source_filename = "AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_bset_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@M68K_INS_BSET = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_bset_r], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @d68000_bset_r(ptr noundef %0) #0 {
%2 = load i32, ptr @M68K_INS_BSET, align 4, !tbaa !5
%3 = tail call i32 @build_re_1(ptr noundef %0, i32 noundef %2, i32 noundef 1) #2
ret void
}
declare i32 @build_re_1(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/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_bset_r.c'
source_filename = "AnghaBench/capstone/arch/M68K/extr_M68KDisassembler.c_d68000_bset_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@M68K_INS_BSET = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @d68000_bset_r], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @d68000_bset_r(ptr noundef %0) #0 {
%2 = load i32, ptr @M68K_INS_BSET, align 4, !tbaa !6
%3 = tail call i32 @build_re_1(ptr noundef %0, i32 noundef %2, i32 noundef 1) #2
ret void
}
declare i32 @build_re_1(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"}
| capstone_arch_M68K_extr_M68KDisassembler.c_d68000_bset_r |
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_win32.c__tiffSeekProc.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_win32.c__tiffSeekProc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i64, i64, i32 }
@FILE_BEGIN = dso_local local_unnamed_addr global i32 0, align 4
@FILE_CURRENT = dso_local local_unnamed_addr global i32 0, align 4
@FILE_END = dso_local local_unnamed_addr global i32 0, align 4
@INVALID_SET_FILE_POINTER = dso_local local_unnamed_addr global i64 0, align 8
@NO_ERROR = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @_tiffSeekProc], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @_tiffSeekProc(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_2__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
%5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1
store i64 %1, ptr %5, align 8, !tbaa !5
%6 = icmp eq i32 %2, 130
%7 = icmp eq i32 %2, 129
%8 = load i32, ptr @FILE_END, align 4
%9 = load i32, ptr @FILE_CURRENT, align 4
%10 = load i32, ptr @FILE_BEGIN, align 4
%11 = select i1 %6, i32 %9, i32 %10
%12 = select i1 %7, i32 %8, i32 %11
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 2
%14 = call i64 @SetFilePointer(i32 noundef %0, i64 noundef undef, ptr noundef nonnull %13, i32 noundef %12) #3
store i64 %14, ptr %4, align 8, !tbaa !11
%15 = load i64, ptr @INVALID_SET_FILE_POINTER, align 8, !tbaa !12
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %3
%18 = call i64 (...) @GetLastError() #3
%19 = load i64, ptr @NO_ERROR, align 8, !tbaa !12
%20 = icmp eq i64 %18, %19
br i1 %20, label %22, label %21
21: ; preds = %17
store i64 0, ptr %5, align 8, !tbaa !5
br label %22
22: ; preds = %21, %17, %3
%23 = load i64, ptr %5, align 8, !tbaa !5
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
ret i64 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @SetFilePointer(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @GetLastError(...) 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 8}
!6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_win32.c__tiffSeekProc.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_win32.c__tiffSeekProc.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, i64, i32 }
@FILE_BEGIN = common local_unnamed_addr global i32 0, align 4
@FILE_CURRENT = common local_unnamed_addr global i32 0, align 4
@FILE_END = common local_unnamed_addr global i32 0, align 4
@INVALID_SET_FILE_POINTER = common local_unnamed_addr global i64 0, align 8
@NO_ERROR = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @_tiffSeekProc], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @_tiffSeekProc(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.TYPE_2__, align 8
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
%5 = getelementptr inbounds i8, ptr %4, i64 8
store i64 %1, ptr %5, align 8, !tbaa !6
%6 = icmp eq i32 %2, 130
%7 = icmp eq i32 %2, 129
%8 = load i32, ptr @FILE_END, align 4
%9 = load i32, ptr @FILE_CURRENT, align 4
%10 = load i32, ptr @FILE_BEGIN, align 4
%11 = select i1 %6, i32 %9, i32 %10
%12 = select i1 %7, i32 %8, i32 %11
%13 = getelementptr inbounds i8, ptr %4, i64 16
%14 = call i64 @SetFilePointer(i32 noundef %0, i64 noundef undef, ptr noundef nonnull %13, i32 noundef %12) #3
store i64 %14, ptr %4, align 8, !tbaa !12
%15 = load i64, ptr @INVALID_SET_FILE_POINTER, align 8, !tbaa !13
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %3
%18 = call i64 @GetLastError() #3
%19 = load i64, ptr @NO_ERROR, align 8, !tbaa !13
%20 = icmp eq i64 %18, %19
br i1 %20, label %22, label %21
21: ; preds = %17
store i64 0, ptr %5, align 8, !tbaa !6
br label %22
22: ; preds = %21, %17, %3
%23 = load i64, ptr %5, align 8, !tbaa !6
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
ret i64 %23
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @SetFilePointer(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @GetLastError(...) 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 8}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8, !11, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !8, i64 0}
!13 = !{!8, !8, i64 0}
| reactos_dll_3rdparty_libtiff_extr_tif_win32.c__tiffSeekProc |
; ModuleID = 'AnghaBench/linux/drivers/mtd/maps/extr_plat-ram.c_to_platram_info.c'
source_filename = "AnghaBench/linux/drivers/mtd/maps/extr_plat-ram.c_to_platram_info.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @to_platram_info], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @to_platram_info(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
ret ptr %2
}
declare ptr @platform_get_drvdata(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/linux/drivers/mtd/maps/extr_plat-ram.c_to_platram_info.c'
source_filename = "AnghaBench/linux/drivers/mtd/maps/extr_plat-ram.c_to_platram_info.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 @to_platram_info], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @to_platram_info(ptr noundef %0) #0 {
%2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2
ret ptr %2
}
declare ptr @platform_get_drvdata(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)"}
| linux_drivers_mtd_maps_extr_plat-ram.c_to_platram_info |
; ModuleID = 'AnghaBench/linux/crypto/extr_crypto_user_base.c_crypto_dump_report_done.c'
source_filename = "AnghaBench/linux/crypto/extr_crypto_user_base.c_crypto_dump_report_done.c"
target datalayout = "e-m:e-p270:32:32-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 @crypto_dump_report_done], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @crypto_dump_report_done(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/crypto/extr_crypto_user_base.c_crypto_dump_report_done.c'
source_filename = "AnghaBench/linux/crypto/extr_crypto_user_base.c_crypto_dump_report_done.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 @crypto_dump_report_done], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @crypto_dump_report_done(ptr nocapture readnone %0) #0 {
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| linux_crypto_extr_crypto_user_base.c_crypto_dump_report_done |
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_cmp.c_check_suite_b.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_cmp.c_check_suite_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@EVP_PKEY_EC = dso_local local_unnamed_addr global i64 0, align 8
@X509_V_ERR_SUITE_B_INVALID_ALGORITHM = dso_local local_unnamed_addr global i32 0, align 4
@NID_secp384r1 = dso_local local_unnamed_addr global i32 0, align 4
@NID_ecdsa_with_SHA384 = dso_local local_unnamed_addr global i32 0, align 4
@X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = dso_local local_unnamed_addr global i32 0, align 4
@X509_V_FLAG_SUITEB_192_LOS = dso_local local_unnamed_addr global i64 0, align 8
@X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = dso_local local_unnamed_addr global i32 0, align 4
@X509_V_FLAG_SUITEB_128_LOS_ONLY = dso_local local_unnamed_addr global i64 0, align 8
@NID_X9_62_prime256v1 = dso_local local_unnamed_addr global i32 0, align 4
@NID_ecdsa_with_SHA256 = dso_local local_unnamed_addr global i32 0, align 4
@X509_V_ERR_SUITE_B_INVALID_CURVE = dso_local local_unnamed_addr global i32 0, align 4
@X509_V_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @check_suite_b], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @check_suite_b(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %45, label %5
5: ; preds = %3
%6 = tail call i64 @EVP_PKEY_id(ptr noundef nonnull %0) #2
%7 = load i64, ptr @EVP_PKEY_EC, align 8, !tbaa !5
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %45
9: ; preds = %5
%10 = tail call i32 @EVP_PKEY_get0_EC_KEY(ptr noundef nonnull %0) #2
%11 = tail call ptr @EC_KEY_get0_group(i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %45, label %13
13: ; preds = %9
%14 = tail call i32 @EC_GROUP_get_curve_name(ptr noundef nonnull %11) #2
%15 = load i32, ptr @NID_secp384r1, align 4, !tbaa !9
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %13
%18 = icmp eq i32 %1, -1
%19 = load i32, ptr @NID_ecdsa_with_SHA384, align 4
%20 = icmp eq i32 %19, %1
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %22, label %45
22: ; preds = %17
%23 = load i64, ptr %2, align 8, !tbaa !5
%24 = load i64, ptr @X509_V_FLAG_SUITEB_192_LOS, align 8, !tbaa !5
%25 = and i64 %24, %23
%26 = icmp eq i64 %25, 0
br i1 %26, label %45, label %27
27: ; preds = %22
%28 = load i64, ptr @X509_V_FLAG_SUITEB_128_LOS_ONLY, align 8, !tbaa !5
%29 = xor i64 %28, -1
%30 = and i64 %23, %29
store i64 %30, ptr %2, align 8, !tbaa !5
br label %44
31: ; preds = %13
%32 = load i32, ptr @NID_X9_62_prime256v1, align 4, !tbaa !9
%33 = icmp eq i32 %14, %32
br i1 %33, label %34, label %45
34: ; preds = %31
%35 = icmp eq i32 %1, -1
%36 = load i32, ptr @NID_ecdsa_with_SHA256, align 4
%37 = icmp eq i32 %36, %1
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load i64, ptr %2, align 8, !tbaa !5
%41 = load i64, ptr @X509_V_FLAG_SUITEB_128_LOS_ONLY, align 8, !tbaa !5
%42 = and i64 %41, %40
%43 = icmp eq i64 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %39, %27
br label %45
45: ; preds = %3, %5, %31, %39, %34, %22, %17, %9, %44
%46 = phi ptr [ @X509_V_OK, %44 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %9 ], [ @X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM, %17 ], [ @X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED, %22 ], [ @X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM, %34 ], [ @X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED, %39 ], [ @X509_V_ERR_SUITE_B_INVALID_CURVE, %31 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %5 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %3 ]
%47 = load i32, ptr %46, align 4, !tbaa !9
ret i32 %47
}
declare i64 @EVP_PKEY_id(ptr noundef) local_unnamed_addr #1
declare ptr @EC_KEY_get0_group(i32 noundef) local_unnamed_addr #1
declare i32 @EVP_PKEY_get0_EC_KEY(ptr noundef) local_unnamed_addr #1
declare i32 @EC_GROUP_get_curve_name(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_cmp.c_check_suite_b.c'
source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/x509/extr_x509_cmp.c_check_suite_b.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@EVP_PKEY_EC = common local_unnamed_addr global i64 0, align 8
@X509_V_ERR_SUITE_B_INVALID_ALGORITHM = common local_unnamed_addr global i32 0, align 4
@NID_secp384r1 = common local_unnamed_addr global i32 0, align 4
@NID_ecdsa_with_SHA384 = common local_unnamed_addr global i32 0, align 4
@X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = common local_unnamed_addr global i32 0, align 4
@X509_V_FLAG_SUITEB_192_LOS = common local_unnamed_addr global i64 0, align 8
@X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = common local_unnamed_addr global i32 0, align 4
@X509_V_FLAG_SUITEB_128_LOS_ONLY = common local_unnamed_addr global i64 0, align 8
@NID_X9_62_prime256v1 = common local_unnamed_addr global i32 0, align 4
@NID_ecdsa_with_SHA256 = common local_unnamed_addr global i32 0, align 4
@X509_V_ERR_SUITE_B_INVALID_CURVE = common local_unnamed_addr global i32 0, align 4
@X509_V_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @check_suite_b], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @check_suite_b(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) #0 {
%4 = icmp eq ptr %0, null
br i1 %4, label %45, label %5
5: ; preds = %3
%6 = tail call i64 @EVP_PKEY_id(ptr noundef nonnull %0) #2
%7 = load i64, ptr @EVP_PKEY_EC, align 8, !tbaa !6
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %45
9: ; preds = %5
%10 = tail call i32 @EVP_PKEY_get0_EC_KEY(ptr noundef nonnull %0) #2
%11 = tail call ptr @EC_KEY_get0_group(i32 noundef %10) #2
%12 = icmp eq ptr %11, null
br i1 %12, label %45, label %13
13: ; preds = %9
%14 = tail call i32 @EC_GROUP_get_curve_name(ptr noundef nonnull %11) #2
%15 = load i32, ptr @NID_secp384r1, align 4, !tbaa !10
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %31
17: ; preds = %13
%18 = icmp eq i32 %1, -1
%19 = load i32, ptr @NID_ecdsa_with_SHA384, align 4
%20 = icmp eq i32 %19, %1
%21 = select i1 %18, i1 true, i1 %20
br i1 %21, label %22, label %45
22: ; preds = %17
%23 = load i64, ptr %2, align 8, !tbaa !6
%24 = load i64, ptr @X509_V_FLAG_SUITEB_192_LOS, align 8, !tbaa !6
%25 = and i64 %24, %23
%26 = icmp eq i64 %25, 0
br i1 %26, label %45, label %27
27: ; preds = %22
%28 = load i64, ptr @X509_V_FLAG_SUITEB_128_LOS_ONLY, align 8, !tbaa !6
%29 = xor i64 %28, -1
%30 = and i64 %23, %29
store i64 %30, ptr %2, align 8, !tbaa !6
br label %44
31: ; preds = %13
%32 = load i32, ptr @NID_X9_62_prime256v1, align 4, !tbaa !10
%33 = icmp eq i32 %14, %32
br i1 %33, label %34, label %45
34: ; preds = %31
%35 = icmp eq i32 %1, -1
%36 = load i32, ptr @NID_ecdsa_with_SHA256, align 4
%37 = icmp eq i32 %36, %1
%38 = select i1 %35, i1 true, i1 %37
br i1 %38, label %39, label %45
39: ; preds = %34
%40 = load i64, ptr %2, align 8, !tbaa !6
%41 = load i64, ptr @X509_V_FLAG_SUITEB_128_LOS_ONLY, align 8, !tbaa !6
%42 = and i64 %41, %40
%43 = icmp eq i64 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %39, %27
br label %45
45: ; preds = %3, %5, %31, %39, %34, %22, %17, %9, %44
%46 = phi ptr [ @X509_V_OK, %44 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %9 ], [ @X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM, %17 ], [ @X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED, %22 ], [ @X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM, %34 ], [ @X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED, %39 ], [ @X509_V_ERR_SUITE_B_INVALID_CURVE, %31 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %5 ], [ @X509_V_ERR_SUITE_B_INVALID_ALGORITHM, %3 ]
%47 = load i32, ptr %46, align 4, !tbaa !10
ret i32 %47
}
declare i64 @EVP_PKEY_id(ptr noundef) local_unnamed_addr #1
declare ptr @EC_KEY_get0_group(i32 noundef) local_unnamed_addr #1
declare i32 @EVP_PKEY_get0_EC_KEY(ptr noundef) local_unnamed_addr #1
declare i32 @EC_GROUP_get_curve_name(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}
| freebsd_crypto_openssl_crypto_x509_extr_x509_cmp.c_check_suite_b |
; ModuleID = 'AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_cleanup_int.c'
source_filename = "AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_cleanup_int.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@default_RAND_meth = dso_local local_unnamed_addr global ptr null, align 8
@rand_inited = dso_local local_unnamed_addr global i64 0, align 8
@rand_engine_lock = dso_local local_unnamed_addr global ptr null, align 8
@rand_meth_lock = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @rand_cleanup_int() local_unnamed_addr #0 {
%1 = load ptr, ptr @default_RAND_meth, align 8, !tbaa !5
%2 = load i64, ptr @rand_inited, align 8, !tbaa !9
%3 = icmp eq i64 %2, 0
br i1 %3, label %18, label %4
4: ; preds = %0
%5 = icmp eq ptr %1, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load ptr, ptr %1, align 8, !tbaa !11
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 (...) %7() #2
br label %11
11: ; preds = %9, %6, %4
%12 = tail call i32 @RAND_set_rand_method(ptr noundef null) #2
%13 = tail call i32 (...) @rand_pool_cleanup() #2
%14 = load ptr, ptr @rand_engine_lock, align 8, !tbaa !5
%15 = tail call i32 @CRYPTO_THREAD_lock_free(ptr noundef %14) #2
store ptr null, ptr @rand_engine_lock, align 8, !tbaa !5
%16 = load ptr, ptr @rand_meth_lock, align 8, !tbaa !5
%17 = tail call i32 @CRYPTO_THREAD_lock_free(ptr noundef %16) #2
store ptr null, ptr @rand_meth_lock, align 8, !tbaa !5
store i64 0, ptr @rand_inited, align 8, !tbaa !9
br label %18
18: ; preds = %0, %11
ret void
}
declare i32 @RAND_set_rand_method(ptr noundef) local_unnamed_addr #1
declare i32 @rand_pool_cleanup(...) local_unnamed_addr #1
declare i32 @CRYPTO_THREAD_lock_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_cleanup_int.c'
source_filename = "AnghaBench/openssl/crypto/rand/extr_rand_lib.c_rand_cleanup_int.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@default_RAND_meth = common local_unnamed_addr global ptr null, align 8
@rand_inited = common local_unnamed_addr global i64 0, align 8
@rand_engine_lock = common local_unnamed_addr global ptr null, align 8
@rand_meth_lock = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @rand_cleanup_int() local_unnamed_addr #0 {
%1 = load ptr, ptr @default_RAND_meth, align 8, !tbaa !6
%2 = load i64, ptr @rand_inited, align 8, !tbaa !10
%3 = icmp eq i64 %2, 0
br i1 %3, label %18, label %4
4: ; preds = %0
%5 = icmp eq ptr %1, null
br i1 %5, label %11, label %6
6: ; preds = %4
%7 = load ptr, ptr %1, align 8, !tbaa !12
%8 = icmp eq ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 %7() #2
br label %11
11: ; preds = %9, %6, %4
%12 = tail call i32 @RAND_set_rand_method(ptr noundef null) #2
%13 = tail call i32 @rand_pool_cleanup() #2
%14 = load ptr, ptr @rand_engine_lock, align 8, !tbaa !6
%15 = tail call i32 @CRYPTO_THREAD_lock_free(ptr noundef %14) #2
store ptr null, ptr @rand_engine_lock, align 8, !tbaa !6
%16 = load ptr, ptr @rand_meth_lock, align 8, !tbaa !6
%17 = tail call i32 @CRYPTO_THREAD_lock_free(ptr noundef %16) #2
store ptr null, ptr @rand_meth_lock, align 8, !tbaa !6
store i64 0, ptr @rand_inited, align 8, !tbaa !10
br label %18
18: ; preds = %0, %11
ret void
}
declare i32 @RAND_set_rand_method(ptr noundef) local_unnamed_addr #1
declare i32 @rand_pool_cleanup(...) local_unnamed_addr #1
declare i32 @CRYPTO_THREAD_lock_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_3__", !7, i64 0}
| openssl_crypto_rand_extr_rand_lib.c_rand_cleanup_int |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2x00dev.c_rt2x00lib_bc_buffer_iter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2x00dev.c_rt2x00lib_bc_buffer_iter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NL80211_IFTYPE_AP = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @rt2x00lib_bc_buffer_iter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @rt2x00lib_bc_buffer_iter(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !5
%5 = load i64, ptr @NL80211_IFTYPE_AP, align 8, !tbaa !10
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %18
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !11
%9 = tail call ptr @ieee80211_get_buffered_bc(i32 noundef %8, ptr noundef nonnull %2) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %18, label %11
11: ; preds = %7, %11
%12 = phi ptr [ %16, %11 ], [ %9, %7 ]
%13 = load i32, ptr %0, align 4, !tbaa !11
%14 = tail call i32 @rt2x00mac_tx(i32 noundef %13, ptr noundef null, ptr noundef nonnull %12) #2
%15 = load i32, ptr %0, align 4, !tbaa !11
%16 = tail call ptr @ieee80211_get_buffered_bc(i32 noundef %15, ptr noundef nonnull %2) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %11, !llvm.loop !14
18: ; preds = %11, %7, %3
ret void
}
declare ptr @ieee80211_get_buffered_bc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rt2x00mac_tx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ieee80211_vif", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"rt2x00_dev", !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2x00dev.c_rt2x00lib_bc_buffer_iter.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/rt2x00/extr_rt2x00dev.c_rt2x00lib_bc_buffer_iter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NL80211_IFTYPE_AP = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @rt2x00lib_bc_buffer_iter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @rt2x00lib_bc_buffer_iter(ptr nocapture noundef readonly %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !6
%5 = load i64, ptr @NL80211_IFTYPE_AP, align 8, !tbaa !11
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %18
7: ; preds = %3
%8 = load i32, ptr %0, align 4, !tbaa !12
%9 = tail call ptr @ieee80211_get_buffered_bc(i32 noundef %8, ptr noundef nonnull %2) #2
%10 = icmp eq ptr %9, null
br i1 %10, label %18, label %11
11: ; preds = %7, %11
%12 = phi ptr [ %16, %11 ], [ %9, %7 ]
%13 = load i32, ptr %0, align 4, !tbaa !12
%14 = tail call i32 @rt2x00mac_tx(i32 noundef %13, ptr noundef null, ptr noundef nonnull %12) #2
%15 = load i32, ptr %0, align 4, !tbaa !12
%16 = tail call ptr @ieee80211_get_buffered_bc(i32 noundef %15, ptr noundef nonnull %2) #2
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %11, !llvm.loop !15
18: ; preds = %11, %7, %3
ret void
}
declare ptr @ieee80211_get_buffered_bc(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @rt2x00mac_tx(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ieee80211_vif", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"rt2x00_dev", !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_net_wireless_rt2x00_extr_rt2x00dev.c_rt2x00lib_bc_buffer_iter |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd.c_ide_cdrom_prep_fs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd.c_ide_cdrom_prep_fs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.request = type { ptr, i32 }
@BLK_MAX_CDB = dso_local local_unnamed_addr global i32 0, align 4
@READ = dso_local local_unnamed_addr global i64 0, align 8
@GPCMD_READ_10 = dso_local local_unnamed_addr global i64 0, align 8
@GPCMD_WRITE_10 = dso_local local_unnamed_addr global i64 0, align 8
@BLKPREP_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ide_cdrom_prep_fs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ide_cdrom_prep_fs(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @queue_logical_block_size(ptr noundef %0) #2
%4 = tail call i64 @blk_rq_pos(ptr noundef %1) #2
%5 = tail call i32 @blk_rq_sectors(ptr noundef %1) #2
%6 = load ptr, ptr %1, align 8, !tbaa !5
%7 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !11
%8 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %7) #2
%9 = tail call i64 @rq_data_dir(ptr noundef nonnull %1) #2
%10 = load i64, ptr @READ, align 8, !tbaa !12
%11 = icmp eq i64 %9, %10
%12 = load ptr, ptr %1, align 8, !tbaa !5
%13 = load i64, ptr @GPCMD_READ_10, align 8
%14 = load i64, ptr @GPCMD_WRITE_10, align 8
%15 = select i1 %11, i64 %13, i64 %14
store i64 %15, ptr %12, align 8, !tbaa !12
%16 = ashr i32 %3, 9
%17 = sdiv i32 %5, %16
%18 = zext i32 %17 to i64
%19 = sext i32 %16 to i64
%20 = sdiv i64 %4, %19
%21 = lshr i64 %20, 24
%22 = and i64 %21, 255
%23 = getelementptr inbounds i64, ptr %12, i64 2
store i64 %22, ptr %23, align 8, !tbaa !12
%24 = lshr i64 %20, 16
%25 = and i64 %24, 255
%26 = getelementptr inbounds i64, ptr %12, i64 3
store i64 %25, ptr %26, align 8, !tbaa !12
%27 = lshr i64 %20, 8
%28 = and i64 %27, 255
%29 = getelementptr inbounds i64, ptr %12, i64 4
store i64 %28, ptr %29, align 8, !tbaa !12
%30 = and i64 %20, 255
%31 = getelementptr inbounds i64, ptr %12, i64 5
store i64 %30, ptr %31, align 8, !tbaa !12
%32 = lshr i64 %18, 8
%33 = and i64 %32, 255
%34 = getelementptr inbounds i64, ptr %12, i64 7
store i64 %33, ptr %34, align 8, !tbaa !12
%35 = and i64 %18, 255
%36 = getelementptr inbounds i64, ptr %12, i64 8
store i64 %35, ptr %36, align 8, !tbaa !12
%37 = getelementptr inbounds %struct.request, ptr %1, i64 0, i32 1
store i32 10, ptr %37, align 8, !tbaa !14
%38 = load i32, ptr @BLKPREP_OK, align 4, !tbaa !11
ret i32 %38
}
declare i32 @queue_logical_block_size(ptr noundef) local_unnamed_addr #1
declare i64 @blk_rq_pos(ptr noundef) local_unnamed_addr #1
declare i32 @blk_rq_sectors(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rq_data_dir(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 = !{!"request", !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 = !{!13, !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd.c_ide_cdrom_prep_fs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/ide/extr_ide-cd.c_ide_cdrom_prep_fs.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BLK_MAX_CDB = common local_unnamed_addr global i32 0, align 4
@READ = common local_unnamed_addr global i64 0, align 8
@GPCMD_READ_10 = common local_unnamed_addr global i64 0, align 8
@GPCMD_WRITE_10 = common local_unnamed_addr global i64 0, align 8
@BLKPREP_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ide_cdrom_prep_fs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ide_cdrom_prep_fs(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @queue_logical_block_size(ptr noundef %0) #2
%4 = tail call i64 @blk_rq_pos(ptr noundef %1) #2
%5 = tail call i32 @blk_rq_sectors(ptr noundef %1) #2
%6 = load ptr, ptr %1, align 8, !tbaa !6
%7 = load i32, ptr @BLK_MAX_CDB, align 4, !tbaa !12
%8 = tail call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef %7) #2
%9 = tail call i64 @rq_data_dir(ptr noundef nonnull %1) #2
%10 = load i64, ptr @READ, align 8, !tbaa !13
%11 = icmp eq i64 %9, %10
%12 = load ptr, ptr %1, align 8, !tbaa !6
%13 = load i64, ptr @GPCMD_READ_10, align 8
%14 = load i64, ptr @GPCMD_WRITE_10, align 8
%15 = select i1 %11, i64 %13, i64 %14
store i64 %15, ptr %12, align 8, !tbaa !13
%16 = ashr i32 %3, 9
%17 = sdiv i32 %5, %16
%18 = zext i32 %17 to i64
%19 = sext i32 %16 to i64
%20 = sdiv i64 %4, %19
%21 = getelementptr inbounds i8, ptr %12, i64 16
%22 = insertelement <2 x i64> poison, i64 %20, i64 0
%23 = shufflevector <2 x i64> %22, <2 x i64> poison, <2 x i32> zeroinitializer
%24 = lshr <2 x i64> %23, <i64 24, i64 16>
%25 = and <2 x i64> %24, <i64 255, i64 255>
store <2 x i64> %25, ptr %21, align 8, !tbaa !13
%26 = lshr i64 %20, 8
%27 = and i64 %26, 255
%28 = getelementptr inbounds i8, ptr %12, i64 32
store i64 %27, ptr %28, align 8, !tbaa !13
%29 = and i64 %20, 255
%30 = getelementptr inbounds i8, ptr %12, i64 40
store i64 %29, ptr %30, align 8, !tbaa !13
%31 = lshr i64 %18, 8
%32 = and i64 %31, 255
%33 = getelementptr inbounds i8, ptr %12, i64 56
store i64 %32, ptr %33, align 8, !tbaa !13
%34 = and i64 %18, 255
%35 = getelementptr inbounds i8, ptr %12, i64 64
store i64 %34, ptr %35, align 8, !tbaa !13
%36 = getelementptr inbounds i8, ptr %1, i64 8
store i32 10, ptr %36, align 8, !tbaa !15
%37 = load i32, ptr @BLKPREP_OK, align 4, !tbaa !12
ret i32 %37
}
declare i32 @queue_logical_block_size(ptr noundef) local_unnamed_addr #1
declare i64 @blk_rq_pos(ptr noundef) local_unnamed_addr #1
declare i32 @blk_rq_sectors(ptr noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @rq_data_dir(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 = !{!"request", !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 = !{!14, !14, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!7, !11, i64 8}
| fastsocket_kernel_drivers_ide_extr_ide-cd.c_ide_cdrom_prep_fs |
; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_local_ctrl_message__unpack.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_local_ctrl_message__unpack.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@local_ctrl_message__descriptor = dso_local global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @local_ctrl_message__unpack(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @protobuf_c_message_unpack(ptr noundef nonnull @local_ctrl_message__descriptor, ptr noundef %0, i64 noundef %1, ptr noundef %2) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @protobuf_c_message_unpack(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_local_ctrl_message__unpack.c'
source_filename = "AnghaBench/esp-idf/components/esp_local_ctrl/proto-c/extr_esp_local_ctrl.pb-c.c_local_ctrl_message__unpack.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@local_ctrl_message__descriptor = common global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @local_ctrl_message__unpack(ptr noundef %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call i64 @protobuf_c_message_unpack(ptr noundef nonnull @local_ctrl_message__descriptor, ptr noundef %0, i64 noundef %1, ptr noundef %2) #2
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @protobuf_c_message_unpack(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| esp-idf_components_esp_local_ctrl_proto-c_extr_esp_local_ctrl.pb-c.c_local_ctrl_message__unpack |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_w90p910_ts.c_w90p910_prepare_y_reading.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_w90p910_ts.c_w90p910_prepare_y_reading.c"
target datalayout = "e-m:e-p270:32:32-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.w90p910_ts = type { i32, i64 }
@ADC_TSC_Y = dso_local local_unnamed_addr global i64 0, align 8
@ADC_WAITTRIG = dso_local local_unnamed_addr global i64 0, align 8
@ADC_INT = dso_local local_unnamed_addr global i64 0, align 8
@WT_INT_EN = dso_local local_unnamed_addr global i64 0, align 8
@ADC_SEMIAUTO = dso_local local_unnamed_addr global i64 0, align 8
@ADC_INT_EN = dso_local local_unnamed_addr global i64 0, align 8
@ADC_CONV = dso_local local_unnamed_addr global i64 0, align 8
@TS_WAIT_Y_COORD = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @w90p910_prepare_y_reading], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @w90p910_prepare_y_reading(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @ADC_TSC_Y, align 8, !tbaa !5
%3 = getelementptr inbounds %struct.w90p910_ts, ptr %0, i64 0, i32 1
%4 = load i64, ptr %3, align 8, !tbaa !9
%5 = add nsw i64 %4, 4
%6 = tail call i32 @__raw_writel(i64 noundef %2, i64 noundef %5) #2
%7 = load i64, ptr %3, align 8, !tbaa !9
%8 = tail call i64 @__raw_readl(i64 noundef %7) #2
%9 = load i64, ptr @ADC_WAITTRIG, align 8, !tbaa !5
%10 = load i64, ptr @ADC_INT, align 8, !tbaa !5
%11 = or i64 %10, %9
%12 = load i64, ptr @WT_INT_EN, align 8, !tbaa !5
%13 = or i64 %11, %12
%14 = xor i64 %13, -1
%15 = and i64 %8, %14
%16 = load i64, ptr @ADC_SEMIAUTO, align 8, !tbaa !5
%17 = load i64, ptr @ADC_INT_EN, align 8, !tbaa !5
%18 = or i64 %17, %16
%19 = load i64, ptr @ADC_CONV, align 8, !tbaa !5
%20 = or i64 %18, %15
%21 = or i64 %20, %19
%22 = load i64, ptr %3, align 8, !tbaa !9
%23 = tail call i32 @__raw_writel(i64 noundef %21, i64 noundef %22) #2
%24 = load i32, ptr @TS_WAIT_Y_COORD, align 4, !tbaa !12
store i32 %24, ptr %0, align 8, !tbaa !13
ret void
}
declare i32 @__raw_writel(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @__raw_readl(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"w90p910_ts", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_w90p910_ts.c_w90p910_prepare_y_reading.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/input/touchscreen/extr_w90p910_ts.c_w90p910_prepare_y_reading.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@ADC_TSC_Y = common local_unnamed_addr global i64 0, align 8
@ADC_WAITTRIG = common local_unnamed_addr global i64 0, align 8
@ADC_INT = common local_unnamed_addr global i64 0, align 8
@WT_INT_EN = common local_unnamed_addr global i64 0, align 8
@ADC_SEMIAUTO = common local_unnamed_addr global i64 0, align 8
@ADC_INT_EN = common local_unnamed_addr global i64 0, align 8
@ADC_CONV = common local_unnamed_addr global i64 0, align 8
@TS_WAIT_Y_COORD = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @w90p910_prepare_y_reading], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @w90p910_prepare_y_reading(ptr nocapture noundef %0) #0 {
%2 = load i64, ptr @ADC_TSC_Y, align 8, !tbaa !6
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = load i64, ptr %3, align 8, !tbaa !10
%5 = add nsw i64 %4, 4
%6 = tail call i32 @__raw_writel(i64 noundef %2, i64 noundef %5) #2
%7 = load i64, ptr %3, align 8, !tbaa !10
%8 = tail call i64 @__raw_readl(i64 noundef %7) #2
%9 = load i64, ptr @ADC_WAITTRIG, align 8, !tbaa !6
%10 = load i64, ptr @ADC_INT, align 8, !tbaa !6
%11 = or i64 %10, %9
%12 = load i64, ptr @WT_INT_EN, align 8, !tbaa !6
%13 = or i64 %11, %12
%14 = xor i64 %13, -1
%15 = and i64 %8, %14
%16 = load i64, ptr @ADC_SEMIAUTO, align 8, !tbaa !6
%17 = load i64, ptr @ADC_INT_EN, align 8, !tbaa !6
%18 = or i64 %17, %16
%19 = load i64, ptr @ADC_CONV, align 8, !tbaa !6
%20 = or i64 %18, %15
%21 = or i64 %20, %19
%22 = load i64, ptr %3, align 8, !tbaa !10
%23 = tail call i32 @__raw_writel(i64 noundef %21, i64 noundef %22) #2
%24 = load i32, ptr @TS_WAIT_Y_COORD, align 4, !tbaa !13
store i32 %24, ptr %0, align 8, !tbaa !14
ret void
}
declare i32 @__raw_writel(i64 noundef, i64 noundef) local_unnamed_addr #1
declare i64 @__raw_readl(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"w90p910_ts", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !12, i64 0}
| fastsocket_kernel_drivers_input_touchscreen_extr_w90p910_ts.c_w90p910_prepare_y_reading |
; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_eeh-powernv.c_pnv_eeh_get_pe_addr.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_eeh-powernv.c_pnv_eeh_get_pe_addr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @pnv_eeh_get_pe_addr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @pnv_eeh_get_pe_addr(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"eeh_pe", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/arch/powerpc/platforms/powernv/extr_eeh-powernv.c_pnv_eeh_get_pe_addr.c'
source_filename = "AnghaBench/linux/arch/powerpc/platforms/powernv/extr_eeh-powernv.c_pnv_eeh_get_pe_addr.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 @pnv_eeh_get_pe_addr], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal i32 @pnv_eeh_get_pe_addr(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
ret i32 %2
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"eeh_pe", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_arch_powerpc_platforms_powernv_extr_eeh-powernv.c_pnv_eeh_get_pe_addr |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.h_bnx2x_vfpf_setup_q.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.h_bnx2x_vfpf_setup_q.c"
target datalayout = "e-m:e-p270:32:32-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 @bnx2x_vfpf_setup_q], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal noundef i32 @bnx2x_vfpf_setup_q(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
ret i32 0
}
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/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.h_bnx2x_vfpf_setup_q.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sriov.h_bnx2x_vfpf_setup_q.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 @bnx2x_vfpf_setup_q], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal noundef i32 @bnx2x_vfpf_setup_q(ptr nocapture readnone %0, ptr nocapture readnone %1, i32 %2) #0 {
ret i32 0
}
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_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_sriov.h_bnx2x_vfpf_setup_q |
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_get_vec3.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_get_vec3.c"
target datalayout = "e-m:e-p270:32:32-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.vec3 = type { float, float, float }
@.str = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"y\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"z\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_vec3], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @get_vec3(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %14, label %4
4: ; preds = %2
%5 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%6 = sitofp i64 %5 to float
store float %6, ptr %1, align 4, !tbaa !5
%7 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%8 = sitofp i64 %7 to float
%9 = getelementptr inbounds %struct.vec3, ptr %1, i64 0, i32 1
store float %8, ptr %9, align 4, !tbaa !10
%10 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%11 = sitofp i64 %10 to float
%12 = getelementptr inbounds %struct.vec3, ptr %1, i64 0, i32 2
store float %11, ptr %12, align 4, !tbaa !11
%13 = tail call i32 @obs_data_release(ptr noundef nonnull %0) #2
br label %14
14: ; preds = %2, %4
ret void
}
declare i64 @obs_data_get_double(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @obs_data_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"vec3", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_get_vec3.c'
source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_get_vec3.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"x\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"y\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"z\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_vec3], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @get_vec3(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = icmp eq ptr %0, null
br i1 %3, label %14, label %4
4: ; preds = %2
%5 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
%6 = sitofp i64 %5 to float
store float %6, ptr %1, align 4, !tbaa !6
%7 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #2
%8 = sitofp i64 %7 to float
%9 = getelementptr inbounds i8, ptr %1, i64 4
store float %8, ptr %9, align 4, !tbaa !11
%10 = tail call i64 @obs_data_get_double(ptr noundef nonnull %0, ptr noundef nonnull @.str.2) #2
%11 = sitofp i64 %10 to float
%12 = getelementptr inbounds i8, ptr %1, i64 8
store float %11, ptr %12, align 4, !tbaa !12
%13 = tail call i32 @obs_data_release(ptr noundef nonnull %0) #2
br label %14
14: ; preds = %2, %4
ret void
}
declare i64 @obs_data_get_double(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @obs_data_release(ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"vec3", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 4}
!12 = !{!7, !8, i64 8}
| obs-studio_libobs_extr_obs-data.c_get_vec3 |
; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dxof/extr_parsing.c_is_float.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dxof/extr_parsing.c_is_float.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i32, ptr, i64 }
@FALSE = dso_local local_unnamed_addr global i64 0, align 8
@TRUE = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Found float %s - %f\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @is_float], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @is_float(ptr nocapture noundef %0) #0 {
%2 = alloca [512 x i8], align 16
%3 = alloca float, align 4
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 8, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %59
6: ; preds = %1
%7 = load i64, ptr @FALSE, align 8, !tbaa !12
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !13
%10 = load i8, ptr %9, align 1, !tbaa !14
%11 = tail call i32 @is_separator(i8 noundef signext %10) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %59
13: ; preds = %6
%14 = icmp eq i8 %10, 45
%15 = add i8 %10, -48
%16 = icmp ult i8 %15, 10
%17 = or i1 %14, %16
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = icmp eq i64 %7, 0
%20 = icmp eq i8 %10, 46
%21 = and i1 %19, %20
br i1 %21, label %22, label %76
22: ; preds = %18, %13
%23 = load i64, ptr @TRUE, align 8
store i8 %10, ptr %2, align 16, !tbaa !14
%24 = load i32, ptr %0, align 8, !tbaa !5
%25 = icmp sgt i32 %24, 1
br i1 %25, label %26, label %59
26: ; preds = %22
%27 = icmp eq i8 %10, 46
%28 = select i1 %27, i64 %23, i64 %7
br label %29
29: ; preds = %26, %51
%30 = phi i64 [ %52, %51 ], [ 1, %26 ]
%31 = phi i64 [ %47, %51 ], [ %28, %26 ]
%32 = load ptr, ptr %8, align 8, !tbaa !13
%33 = getelementptr inbounds i8, ptr %32, i64 %30
%34 = load i8, ptr %33, align 1, !tbaa !14
%35 = tail call i32 @is_separator(i8 noundef signext %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %56
37: ; preds = %29
%38 = add i8 %34, -48
%39 = icmp ult i8 %38, 10
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = icmp eq i64 %31, 0
%42 = icmp eq i8 %34, 46
%43 = and i1 %41, %42
br i1 %43, label %44, label %76
44: ; preds = %40, %37
%45 = icmp eq i8 %34, 46
%46 = load i64, ptr @TRUE, align 8
%47 = select i1 %45, i64 %46, i64 %31
%48 = icmp ult i64 %30, 512
br i1 %48, label %49, label %51
49: ; preds = %44
%50 = getelementptr inbounds [512 x i8], ptr %2, i64 0, i64 %30
store i8 %34, ptr %50, align 1, !tbaa !14
br label %51
51: ; preds = %49, %44
%52 = add nuw nsw i64 %30, 1
%53 = load i32, ptr %0, align 8, !tbaa !5
%54 = sext i32 %53 to i64
%55 = icmp slt i64 %52, %54
br i1 %55, label %29, label %56, !llvm.loop !15
56: ; preds = %29, %51
%57 = phi i64 [ %52, %51 ], [ %30, %29 ]
%58 = trunc i64 %57 to i32
br label %59
59: ; preds = %6, %22, %56, %1
%60 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %22 ], [ %58, %56 ]
%61 = tail call i64 @min(i32 noundef %60, i32 noundef 511) #3
%62 = getelementptr inbounds [512 x i8], ptr %2, i64 0, i64 %61
store i8 0, ptr %62, align 1, !tbaa !14
%63 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%64 = load ptr, ptr %63, align 8, !tbaa !13
%65 = zext nneg i32 %60 to i64
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %63, align 8, !tbaa !13
%67 = load i32, ptr %0, align 8, !tbaa !5
%68 = sub nsw i32 %67, %60
store i32 %68, ptr %0, align 8, !tbaa !5
%69 = call i32 @sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%70 = load float, ptr %3, align 4, !tbaa !18
%71 = call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, float noundef %70) #3
%72 = load float, ptr %3, align 4, !tbaa !18
%73 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%74 = load i64, ptr %73, align 8, !tbaa !20
%75 = inttoptr i64 %74 to ptr
store float %72, ptr %75, align 4, !tbaa !18
br label %76
76: ; preds = %40, %18, %59
%77 = phi ptr [ @TRUE, %59 ], [ @FALSE, %18 ], [ @FALSE, %40 ]
%78 = load i64, ptr %77, align 8, !tbaa !12
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #3
ret i64 %78
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @is_separator(i8 noundef signext) local_unnamed_addr #2
declare i64 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, ptr noundef, float 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, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !10, i64 8}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16, !17}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.peeled.count", i32 1}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !8, i64 0}
!20 = !{!6, !11, i64 16}
| ; ModuleID = 'AnghaBench/reactos/dll/directx/wine/d3dxof/extr_parsing.c_is_float.c'
source_filename = "AnghaBench/reactos/dll/directx/wine/d3dxof/extr_parsing.c_is_float.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@FALSE = common local_unnamed_addr global i64 0, align 8
@TRUE = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Found float %s - %f\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @is_float], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @is_float(ptr nocapture noundef %0) #0 {
%2 = alloca [512 x i8], align 1
%3 = alloca float, align 4
call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
%4 = load i32, ptr %0, align 8, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %59
6: ; preds = %1
%7 = load i64, ptr @FALSE, align 8, !tbaa !13
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !14
%10 = load i8, ptr %9, align 1, !tbaa !15
%11 = tail call i32 @is_separator(i8 noundef signext %10) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %59
13: ; preds = %6
%14 = icmp eq i8 %10, 45
%15 = add i8 %10, -48
%16 = icmp ult i8 %15, 10
%17 = or i1 %14, %16
br i1 %17, label %22, label %18
18: ; preds = %13
%19 = icmp eq i64 %7, 0
%20 = icmp eq i8 %10, 46
%21 = and i1 %19, %20
br i1 %21, label %22, label %76
22: ; preds = %18, %13
%23 = load i64, ptr @TRUE, align 8
store i8 %10, ptr %2, align 1, !tbaa !15
%24 = load i32, ptr %0, align 8, !tbaa !6
%25 = icmp sgt i32 %24, 1
br i1 %25, label %26, label %59
26: ; preds = %22
%27 = icmp eq i8 %10, 46
%28 = select i1 %27, i64 %23, i64 %7
br label %29
29: ; preds = %26, %51
%30 = phi i64 [ %52, %51 ], [ 1, %26 ]
%31 = phi i64 [ %47, %51 ], [ %28, %26 ]
%32 = load ptr, ptr %8, align 8, !tbaa !14
%33 = getelementptr inbounds i8, ptr %32, i64 %30
%34 = load i8, ptr %33, align 1, !tbaa !15
%35 = tail call i32 @is_separator(i8 noundef signext %34) #3
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %56
37: ; preds = %29
%38 = add i8 %34, -48
%39 = icmp ult i8 %38, 10
br i1 %39, label %44, label %40
40: ; preds = %37
%41 = icmp eq i64 %31, 0
%42 = icmp eq i8 %34, 46
%43 = and i1 %41, %42
br i1 %43, label %44, label %76
44: ; preds = %40, %37
%45 = icmp eq i8 %34, 46
%46 = load i64, ptr @TRUE, align 8
%47 = select i1 %45, i64 %46, i64 %31
%48 = icmp ult i64 %30, 512
br i1 %48, label %49, label %51
49: ; preds = %44
%50 = getelementptr inbounds [512 x i8], ptr %2, i64 0, i64 %30
store i8 %34, ptr %50, align 1, !tbaa !15
br label %51
51: ; preds = %49, %44
%52 = add nuw nsw i64 %30, 1
%53 = load i32, ptr %0, align 8, !tbaa !6
%54 = sext i32 %53 to i64
%55 = icmp slt i64 %52, %54
br i1 %55, label %29, label %56, !llvm.loop !16
56: ; preds = %29, %51
%57 = phi i64 [ %52, %51 ], [ %30, %29 ]
%58 = trunc i64 %57 to i32
br label %59
59: ; preds = %6, %22, %56, %1
%60 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 1, %22 ], [ %58, %56 ]
%61 = tail call i64 @min(i32 noundef %60, i32 noundef 511) #3
%62 = getelementptr inbounds [512 x i8], ptr %2, i64 0, i64 %61
store i8 0, ptr %62, align 1, !tbaa !15
%63 = getelementptr inbounds i8, ptr %0, i64 8
%64 = load ptr, ptr %63, align 8, !tbaa !14
%65 = zext nneg i32 %60 to i64
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %63, align 8, !tbaa !14
%67 = load i32, ptr %0, align 8, !tbaa !6
%68 = sub nsw i32 %67, %60
store i32 %68, ptr %0, align 8, !tbaa !6
%69 = call i32 @sscanf(ptr noundef nonnull %2, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3
%70 = load float, ptr %3, align 4, !tbaa !19
%71 = call i32 @TRACE(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, float noundef %70) #3
%72 = load float, ptr %3, align 4, !tbaa !19
%73 = getelementptr inbounds i8, ptr %0, i64 16
%74 = load i64, ptr %73, align 8, !tbaa !21
%75 = inttoptr i64 %74 to ptr
store float %72, ptr %75, align 4, !tbaa !19
br label %76
76: ; preds = %40, %18, %59
%77 = phi ptr [ @TRUE, %59 ], [ @FALSE, %18 ], [ @FALSE, %40 ]
%78 = load i64, ptr %77, align 8, !tbaa !13
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #3
ret i64 %78
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @is_separator(i8 noundef signext) local_unnamed_addr #2
declare i64 @min(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @TRACE(ptr noundef, ptr noundef, float 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, !11, i64 8, !12, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!7, !11, i64 8}
!15 = !{!9, !9, i64 0}
!16 = distinct !{!16, !17, !18}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.peeled.count", i32 1}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !9, i64 0}
!21 = !{!7, !12, i64 16}
| reactos_dll_directx_wine_d3dxof_extr_parsing.c_is_float |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wl12xx_set_power_on.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wl12xx_set_power_on.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@WL1271_PRE_POWER_ON_SLEEP = dso_local local_unnamed_addr global i32 0, align 4
@WL1271_POWER_ON_SLEEP = dso_local local_unnamed_addr global i32 0, align 4
@PART_BOOT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wl12xx_set_power_on], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wl12xx_set_power_on(ptr noundef %0) #0 {
%2 = load i32, ptr @WL1271_PRE_POWER_ON_SLEEP, align 4, !tbaa !5
%3 = tail call i32 @msleep(i32 noundef %2) #2
%4 = tail call i32 @wl1271_power_on(ptr noundef %0) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %22, label %6
6: ; preds = %1
%7 = load i32, ptr @WL1271_POWER_ON_SLEEP, align 4, !tbaa !5
%8 = tail call i32 @msleep(i32 noundef %7) #2
%9 = tail call i32 @wl1271_io_reset(ptr noundef %0) #2
%10 = tail call i32 @wl1271_io_init(ptr noundef %0) #2
%11 = load ptr, ptr %0, align 8, !tbaa !9
%12 = load i64, ptr @PART_BOOT, align 8, !tbaa !12
%13 = getelementptr inbounds i32, ptr %11, i64 %12
%14 = tail call i32 @wlcore_set_partition(ptr noundef nonnull %0, ptr noundef %13) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %6
%17 = tail call i32 @wlcore_fw_wakeup(ptr noundef nonnull %0) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %16, %6
%20 = phi i32 [ %14, %6 ], [ %17, %16 ]
%21 = tail call i32 @wl1271_power_off(ptr noundef nonnull %0) #2
br label %22
22: ; preds = %1, %16, %19
%23 = phi i32 [ %20, %19 ], [ %4, %1 ], [ %17, %16 ]
ret i32 %23
}
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_power_on(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_io_reset(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_io_init(ptr noundef) local_unnamed_addr #1
declare i32 @wlcore_set_partition(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wlcore_fw_wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_power_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"wl1271", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wl12xx_set_power_on.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ti/wlcore/extr_main.c_wl12xx_set_power_on.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@WL1271_PRE_POWER_ON_SLEEP = common local_unnamed_addr global i32 0, align 4
@WL1271_POWER_ON_SLEEP = common local_unnamed_addr global i32 0, align 4
@PART_BOOT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @wl12xx_set_power_on], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wl12xx_set_power_on(ptr noundef %0) #0 {
%2 = load i32, ptr @WL1271_PRE_POWER_ON_SLEEP, align 4, !tbaa !6
%3 = tail call i32 @msleep(i32 noundef %2) #2
%4 = tail call i32 @wl1271_power_on(ptr noundef %0) #2
%5 = icmp slt i32 %4, 0
br i1 %5, label %22, label %6
6: ; preds = %1
%7 = load i32, ptr @WL1271_POWER_ON_SLEEP, align 4, !tbaa !6
%8 = tail call i32 @msleep(i32 noundef %7) #2
%9 = tail call i32 @wl1271_io_reset(ptr noundef %0) #2
%10 = tail call i32 @wl1271_io_init(ptr noundef %0) #2
%11 = load ptr, ptr %0, align 8, !tbaa !10
%12 = load i64, ptr @PART_BOOT, align 8, !tbaa !13
%13 = getelementptr inbounds i32, ptr %11, i64 %12
%14 = tail call i32 @wlcore_set_partition(ptr noundef nonnull %0, ptr noundef %13) #2
%15 = icmp slt i32 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %6
%17 = tail call i32 @wlcore_fw_wakeup(ptr noundef nonnull %0) #2
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %16, %6
%20 = phi i32 [ %14, %6 ], [ %17, %16 ]
%21 = tail call i32 @wl1271_power_off(ptr noundef nonnull %0) #2
br label %22
22: ; preds = %1, %16, %19
%23 = phi i32 [ %20, %19 ], [ %4, %1 ], [ %17, %16 ]
ret i32 %23
}
declare i32 @msleep(i32 noundef) local_unnamed_addr #1
declare i32 @wl1271_power_on(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_io_reset(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_io_init(ptr noundef) local_unnamed_addr #1
declare i32 @wlcore_set_partition(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wlcore_fw_wakeup(ptr noundef) local_unnamed_addr #1
declare i32 @wl1271_power_off(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"wl1271", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
| fastsocket_kernel_drivers_net_wireless_ti_wlcore_extr_main.c_wl12xx_set_power_on |
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_out_write_bytes_avail_show.c'
source_filename = "AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_out_write_bytes_avail_show.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.hv_ring_buffer_debug_info = type { i32 }
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @out_write_bytes_avail_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @out_write_bytes_avail_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca %struct.hv_ring_buffer_debug_info, align 4
%5 = tail call ptr @device_to_hv_device(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load ptr, ptr %5, align 8, !tbaa !5
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !10
%10 = sub nsw i32 0, %9
br label %17
11: ; preds = %3
%12 = call i32 @hv_ringbuffer_get_debuginfo(ptr noundef nonnull %6, ptr noundef nonnull %4) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr %4, align 4, !tbaa !12
%16 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %15) #3
br label %17
17: ; preds = %11, %14, %8
%18 = phi i32 [ %16, %14 ], [ %10, %8 ], [ %12, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_to_hv_device(ptr noundef) local_unnamed_addr #2
declare i32 @hv_ringbuffer_get_debuginfo(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"hv_device", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"hv_ring_buffer_debug_info", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_out_write_bytes_avail_show.c'
source_filename = "AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_out_write_bytes_avail_show.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.hv_ring_buffer_debug_info = type { i32 }
@ENODEV = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @out_write_bytes_avail_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @out_write_bytes_avail_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = alloca %struct.hv_ring_buffer_debug_info, align 4
%5 = tail call ptr @device_to_hv_device(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
%6 = load ptr, ptr %5, align 8, !tbaa !6
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %3
%9 = load i32, ptr @ENODEV, align 4, !tbaa !11
%10 = sub nsw i32 0, %9
br label %17
11: ; preds = %3
%12 = call i32 @hv_ringbuffer_get_debuginfo(ptr noundef nonnull %6, ptr noundef nonnull %4) #3
%13 = icmp slt i32 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load i32, ptr %4, align 4, !tbaa !13
%16 = call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %15) #3
br label %17
17: ; preds = %11, %14, %8
%18 = phi i32 [ %16, %14 ], [ %10, %8 ], [ %12, %11 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
ret i32 %18
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare ptr @device_to_hv_device(ptr noundef) local_unnamed_addr #2
declare i32 @hv_ringbuffer_get_debuginfo(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"hv_device", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"hv_ring_buffer_debug_info", !12, i64 0}
| linux_drivers_hv_extr_vmbus_drv.c_out_write_bytes_avail_show |
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unixDlOpen.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unixDlOpen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@RTLD_NOW = dso_local local_unnamed_addr global i32 0, align 4
@RTLD_GLOBAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @unixDlOpen], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @unixDlOpen(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
%4 = load i32, ptr @RTLD_NOW, align 4, !tbaa !5
%5 = load i32, ptr @RTLD_GLOBAL, align 4, !tbaa !5
%6 = or i32 %5, %4
%7 = tail call ptr @dlopen(ptr noundef %1, i32 noundef %6) #2
ret ptr %7
}
declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1
declare ptr @dlopen(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/mimikatz/modules/extr_sqlite3_omit.c_unixDlOpen.c'
source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_unixDlOpen.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RTLD_NOW = common local_unnamed_addr global i32 0, align 4
@RTLD_GLOBAL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @unixDlOpen], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @unixDlOpen(ptr noundef %0, ptr noundef %1) #0 {
%3 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2
%4 = load i32, ptr @RTLD_NOW, align 4, !tbaa !6
%5 = load i32, ptr @RTLD_GLOBAL, align 4, !tbaa !6
%6 = or i32 %5, %4
%7 = tail call ptr @dlopen(ptr noundef %1, i32 noundef %6) #2
ret ptr %7
}
declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1
declare ptr @dlopen(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"}
| mimikatz_modules_extr_sqlite3_omit.c_unixDlOpen |
; ModuleID = 'AnghaBench/h2o/lib/http2/extr_scheduler.c_queue_unset.c'
source_filename = "AnghaBench/h2o/lib/http2/extr_scheduler.c_queue_unset.c"
target datalayout = "e-m:e-p270:32:32-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 @queue_unset], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @queue_unset(ptr noundef %0) #0 {
%2 = tail call i32 @h2o_linklist_is_linked(ptr noundef %0) #2
%3 = tail call i32 @assert(i32 noundef %2) #2
%4 = tail call i32 @h2o_linklist_unlink(ptr noundef %0) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_is_linked(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_unlink(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/h2o/lib/http2/extr_scheduler.c_queue_unset.c'
source_filename = "AnghaBench/h2o/lib/http2/extr_scheduler.c_queue_unset.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 @queue_unset], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @queue_unset(ptr noundef %0) #0 {
%2 = tail call i32 @h2o_linklist_is_linked(ptr noundef %0) #2
%3 = tail call i32 @assert(i32 noundef %2) #2
%4 = tail call i32 @h2o_linklist_unlink(ptr noundef %0) #2
ret void
}
declare i32 @assert(i32 noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_is_linked(ptr noundef) local_unnamed_addr #1
declare i32 @h2o_linklist_unlink(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)"}
| h2o_lib_http2_extr_scheduler.c_queue_unset |
; ModuleID = 'AnghaBench/kphp-kdb/targ/extr_rpc-proxy-targ.c_sum_one_on_error.c'
source_filename = "AnghaBench/kphp-kdb/targ/extr_rpc-proxy-targ.c_sum_one_on_error.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CQ = dso_local local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind uwtable
define dso_local void @sum_one_on_error(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 (...) @tl_fetch_lookup_int() #2
%4 = tail call i64 @TL_IS_USER_ERROR(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = tail call i64 @merge_init_response(ptr noundef %0) #2
%8 = icmp sgt i64 %7, -1
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load ptr, ptr @CQ, align 8, !tbaa !5
%11 = load i32, ptr %10, align 4, !tbaa !9
%12 = tail call i32 @tl_store_header(i32 noundef %11) #2
%13 = tail call i32 (...) @tl_fetch_unread() #2
%14 = tail call i32 @tl_copy_through(i32 noundef %13, i32 noundef 1) #2
%15 = tail call i32 (...) @tl_store_end() #2
br label %16
16: ; preds = %9, %6
%17 = tail call i32 @merge_terminate_gather(ptr noundef %0) #2
br label %18
18: ; preds = %16, %2
ret void
}
declare i32 @tl_fetch_lookup_int(...) local_unnamed_addr #1
declare i64 @TL_IS_USER_ERROR(i32 noundef) local_unnamed_addr #1
declare i64 @merge_init_response(ptr noundef) local_unnamed_addr #1
declare i32 @tl_store_header(i32 noundef) local_unnamed_addr #1
declare i32 @tl_copy_through(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tl_fetch_unread(...) local_unnamed_addr #1
declare i32 @tl_store_end(...) local_unnamed_addr #1
declare i32 @merge_terminate_gather(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/kphp-kdb/targ/extr_rpc-proxy-targ.c_sum_one_on_error.c'
source_filename = "AnghaBench/kphp-kdb/targ/extr_rpc-proxy-targ.c_sum_one_on_error.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CQ = common local_unnamed_addr global ptr null, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @sum_one_on_error(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = tail call i32 @tl_fetch_lookup_int() #2
%4 = tail call i64 @TL_IS_USER_ERROR(i32 noundef %3) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %18, label %6
6: ; preds = %2
%7 = tail call i64 @merge_init_response(ptr noundef %0) #2
%8 = icmp sgt i64 %7, -1
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = load ptr, ptr @CQ, align 8, !tbaa !6
%11 = load i32, ptr %10, align 4, !tbaa !10
%12 = tail call i32 @tl_store_header(i32 noundef %11) #2
%13 = tail call i32 @tl_fetch_unread() #2
%14 = tail call i32 @tl_copy_through(i32 noundef %13, i32 noundef 1) #2
%15 = tail call i32 @tl_store_end() #2
br label %16
16: ; preds = %9, %6
%17 = tail call i32 @merge_terminate_gather(ptr noundef %0) #2
br label %18
18: ; preds = %16, %2
ret void
}
declare i32 @tl_fetch_lookup_int(...) local_unnamed_addr #1
declare i64 @TL_IS_USER_ERROR(i32 noundef) local_unnamed_addr #1
declare i64 @merge_init_response(ptr noundef) local_unnamed_addr #1
declare i32 @tl_store_header(i32 noundef) local_unnamed_addr #1
declare i32 @tl_copy_through(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @tl_fetch_unread(...) local_unnamed_addr #1
declare i32 @tl_store_end(...) local_unnamed_addr #1
declare i32 @merge_terminate_gather(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}
| kphp-kdb_targ_extr_rpc-proxy-targ.c_sum_one_on_error |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.