IR_x86 string | IR_arm string | filename string |
|---|---|---|
; ModuleID = 'AnghaBench/redis/src/extr_anet.c_anetSetBlock.c'
source_filename = "AnghaBench/redis/src/extr_anet.c_anetSetBlock.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@F_GETFL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"fcntl(F_GETFL): %s\00", align 1
@errno = dso_local local_unnamed_addr global i32 0, align 4
@ANET_ERR = dso_local local_unnamed_addr global i32 0, align 4
@O_NONBLOCK = dso_local local_unnamed_addr global i32 0, align 4
@F_SETFL = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"fcntl(F_SETFL,O_NONBLOCK): %s\00", align 1
@ANET_OK = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @anetSetBlock(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @F_GETFL, align 4, !tbaa !5
%5 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %1, i32 noundef %4) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = icmp eq i32 %2, 0
%9 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !5
%10 = or i32 %9, %5
%11 = xor i32 %9, -1
%12 = and i32 %5, %11
%13 = select i1 %8, i32 %12, i32 %10
%14 = load i32, ptr @F_SETFL, align 4, !tbaa !5
%15 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %1, i32 noundef %14, i32 noundef %13) #2
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %22
17: ; preds = %7, %3
%18 = phi ptr [ @.str, %3 ], [ @.str.1, %7 ]
%19 = load i32, ptr @errno, align 4, !tbaa !5
%20 = tail call i32 @strerror(i32 noundef %19) #2
%21 = tail call i32 @anetSetError(ptr noundef %0, ptr noundef nonnull %18, i32 noundef %20) #2
br label %22
22: ; preds = %17, %7
%23 = phi ptr [ @ANET_OK, %7 ], [ @ANET_ERR, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !5
ret i32 %24
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @anetSetError(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/redis/src/extr_anet.c_anetSetBlock.c'
source_filename = "AnghaBench/redis/src/extr_anet.c_anetSetBlock.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@F_GETFL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"fcntl(F_GETFL): %s\00", align 1
@errno = common local_unnamed_addr global i32 0, align 4
@ANET_ERR = common local_unnamed_addr global i32 0, align 4
@O_NONBLOCK = common local_unnamed_addr global i32 0, align 4
@F_SETFL = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"fcntl(F_SETFL,O_NONBLOCK): %s\00", align 1
@ANET_OK = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @anetSetBlock(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
%4 = load i32, ptr @F_GETFL, align 4, !tbaa !6
%5 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %1, i32 noundef %4) #2
%6 = icmp eq i32 %5, -1
br i1 %6, label %17, label %7
7: ; preds = %3
%8 = icmp eq i32 %2, 0
%9 = load i32, ptr @O_NONBLOCK, align 4, !tbaa !6
%10 = or i32 %9, %5
%11 = xor i32 %9, -1
%12 = and i32 %5, %11
%13 = select i1 %8, i32 %12, i32 %10
%14 = load i32, ptr @F_SETFL, align 4, !tbaa !6
%15 = tail call i32 (i32, i32, ...) @fcntl(i32 noundef %1, i32 noundef %14, i32 noundef %13) #2
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %22
17: ; preds = %7, %3
%18 = phi ptr [ @.str, %3 ], [ @.str.1, %7 ]
%19 = load i32, ptr @errno, align 4, !tbaa !6
%20 = tail call i32 @strerror(i32 noundef %19) #2
%21 = tail call i32 @anetSetError(ptr noundef %0, ptr noundef nonnull %18, i32 noundef %20) #2
br label %22
22: ; preds = %17, %7
%23 = phi ptr [ @ANET_OK, %7 ], [ @ANET_ERR, %17 ]
%24 = load i32, ptr %23, align 4, !tbaa !6
ret i32 %24
}
declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #1
declare i32 @anetSetError(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strerror(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| redis_src_extr_anet.c_anetSetBlock |
; ModuleID = 'AnghaBench/linux/mm/extr_kmemleak.c_get_object.c'
source_filename = "AnghaBench/linux/mm/extr_kmemleak.c_get_object.c"
target datalayout = "e-m:e-p270:32:32-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 @get_object], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @get_object(ptr noundef %0) #0 {
%2 = tail call i32 @atomic_inc_not_zero(ptr noundef %0) #2
ret i32 %2
}
declare i32 @atomic_inc_not_zero(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/mm/extr_kmemleak.c_get_object.c'
source_filename = "AnghaBench/linux/mm/extr_kmemleak.c_get_object.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @get_object], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @get_object(ptr noundef %0) #0 {
%2 = tail call i32 @atomic_inc_not_zero(ptr noundef %0) #2
ret i32 %2
}
declare i32 @atomic_inc_not_zero(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_mm_extr_kmemleak.c_get_object |
; ModuleID = 'AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0001.c_fixup_st_m28w320ct.c'
source_filename = "AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0001.c_fixup_st_m28w320ct.c"
target datalayout = "e-m:e-p270:32:32-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 @fixup_st_m28w320ct], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define internal void @fixup_st_m28w320ct(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !10
%4 = load ptr, ptr %3, align 8, !tbaa !12
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"mtd_info", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"map_info", !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"cfi_private", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0001.c_fixup_st_m28w320ct.c'
source_filename = "AnghaBench/linux/drivers/mtd/chips/extr_cfi_cmdset_0001.c_fixup_st_m28w320ct.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 @fixup_st_m28w320ct], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync)
define internal void @fixup_st_m28w320ct(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load ptr, ptr %3, align 8, !tbaa !13
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"mtd_info", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"map_info", !8, i64 0}
!13 = !{!14, !8, i64 0}
!14 = !{!"cfi_private", !8, i64 0}
| linux_drivers_mtd_chips_extr_cfi_cmdset_0001.c_fixup_st_m28w320ct |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_fsl_rio.c_fsl_rio_tx_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_fsl_rio.c_fsl_rio_tx_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.rio_mport = type { ptr, ptr }
%struct.TYPE_6__ = type { i32, i32 }
%struct.rio_priv = type { ptr, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i32 }
@RIO_MSG_OSR_TE = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"RIO: outbound message transmission error\0A\00", align 1
@RIO_MSG_OSR_QOI = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"RIO: outbound message queue overflow\0A\00", align 1
@RIO_MSG_OSR_EOMI = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @fsl_rio_tx_handler], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @fsl_rio_tx_handler(i32 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.rio_mport, ptr %1, i64 0, i32 1
%4 = load ptr, ptr %3, align 8, !tbaa !5
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = tail call i32 @in_be32(ptr noundef %5) #2
%7 = load i32, ptr @RIO_MSG_OSR_TE, align 4, !tbaa !14
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2
br label %35
12: ; preds = %2
%13 = load i32, ptr @RIO_MSG_OSR_QOI, align 4, !tbaa !14
%14 = and i32 %13, %6
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @pr_info(ptr noundef nonnull @.str.1) #2
br label %35
18: ; preds = %12
%19 = load i32, ptr @RIO_MSG_OSR_EOMI, align 4, !tbaa !14
%20 = and i32 %19, %6
%21 = icmp eq i32 %20, 0
br i1 %21, label %40, label %22
22: ; preds = %18
%23 = load ptr, ptr %4, align 8, !tbaa !10
%24 = getelementptr inbounds %struct.TYPE_6__, ptr %23, i64 0, i32 1
%25 = tail call i32 @in_be32(ptr noundef nonnull %24) #2
%26 = getelementptr inbounds %struct.rio_priv, ptr %4, i64 0, i32 1
%27 = load i32, ptr %26, align 8, !tbaa !15
%28 = sub nsw i32 %25, %27
%29 = ashr i32 %28, 5
%30 = load ptr, ptr %1, align 8, !tbaa !16
%31 = load ptr, ptr %30, align 8, !tbaa !17
%32 = getelementptr inbounds %struct.rio_priv, ptr %4, i64 0, i32 1, i32 1
%33 = load i32, ptr %32, align 4, !tbaa !19
%34 = tail call i32 %31(ptr noundef nonnull %1, i32 noundef %33, i32 noundef -1, i32 noundef %29) #2
br label %35
35: ; preds = %10, %16, %22
%36 = phi ptr [ @RIO_MSG_OSR_EOMI, %22 ], [ @RIO_MSG_OSR_QOI, %16 ], [ @RIO_MSG_OSR_TE, %10 ]
%37 = load ptr, ptr %4, align 8, !tbaa !10
%38 = load i32, ptr %36, align 4, !tbaa !14
%39 = tail call i32 @out_be32(ptr noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %35, %18
%41 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !14
ret i32 %41
}
declare i32 @in_be32(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef) local_unnamed_addr #1
declare i32 @out_be32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"rio_mport", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"rio_priv", !7, i64 0, !12, i64 8}
!12 = !{!"TYPE_5__", !13, i64 0, !13, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!11, !13, i64 8}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"TYPE_4__", !7, i64 0}
!19 = !{!11, !13, i64 12}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_fsl_rio.c_fsl_rio_tx_handler.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/extr_fsl_rio.c_fsl_rio_tx_handler.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RIO_MSG_OSR_TE = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [42 x i8] c"RIO: outbound message transmission error\0A\00", align 1
@RIO_MSG_OSR_QOI = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"RIO: outbound message queue overflow\0A\00", align 1
@RIO_MSG_OSR_EOMI = common local_unnamed_addr global i32 0, align 4
@IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @fsl_rio_tx_handler], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @fsl_rio_tx_handler(i32 %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !tbaa !6
%5 = load ptr, ptr %4, align 8, !tbaa !11
%6 = tail call i32 @in_be32(ptr noundef %5) #2
%7 = load i32, ptr @RIO_MSG_OSR_TE, align 4, !tbaa !15
%8 = and i32 %7, %6
%9 = icmp eq i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %2
%11 = tail call i32 @pr_info(ptr noundef nonnull @.str) #2
br label %35
12: ; preds = %2
%13 = load i32, ptr @RIO_MSG_OSR_QOI, align 4, !tbaa !15
%14 = and i32 %13, %6
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = tail call i32 @pr_info(ptr noundef nonnull @.str.1) #2
br label %35
18: ; preds = %12
%19 = load i32, ptr @RIO_MSG_OSR_EOMI, align 4, !tbaa !15
%20 = and i32 %19, %6
%21 = icmp eq i32 %20, 0
br i1 %21, label %40, label %22
22: ; preds = %18
%23 = load ptr, ptr %4, align 8, !tbaa !11
%24 = getelementptr inbounds i8, ptr %23, i64 4
%25 = tail call i32 @in_be32(ptr noundef nonnull %24) #2
%26 = getelementptr inbounds i8, ptr %4, i64 8
%27 = load i32, ptr %26, align 8, !tbaa !16
%28 = sub nsw i32 %25, %27
%29 = ashr i32 %28, 5
%30 = load ptr, ptr %1, align 8, !tbaa !17
%31 = load ptr, ptr %30, align 8, !tbaa !18
%32 = getelementptr inbounds i8, ptr %4, i64 12
%33 = load i32, ptr %32, align 4, !tbaa !20
%34 = tail call i32 %31(ptr noundef nonnull %1, i32 noundef %33, i32 noundef -1, i32 noundef %29) #2
br label %35
35: ; preds = %10, %16, %22
%36 = phi ptr [ @RIO_MSG_OSR_EOMI, %22 ], [ @RIO_MSG_OSR_QOI, %16 ], [ @RIO_MSG_OSR_TE, %10 ]
%37 = load ptr, ptr %4, align 8, !tbaa !11
%38 = load i32, ptr %36, align 4, !tbaa !15
%39 = tail call i32 @out_be32(ptr noundef %37, i32 noundef %38) #2
br label %40
40: ; preds = %35, %18
%41 = load i32, ptr @IRQ_HANDLED, align 4, !tbaa !15
ret i32 %41
}
declare i32 @in_be32(ptr noundef) local_unnamed_addr #1
declare i32 @pr_info(ptr noundef) local_unnamed_addr #1
declare i32 @out_be32(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 8}
!7 = !{!"rio_mport", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"rio_priv", !8, i64 0, !13, i64 8}
!13 = !{!"TYPE_5__", !14, i64 0, !14, i64 4}
!14 = !{!"int", !9, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 8}
!17 = !{!7, !8, i64 0}
!18 = !{!19, !8, i64 0}
!19 = !{!"TYPE_4__", !8, i64 0}
!20 = !{!12, !14, i64 12}
| fastsocket_kernel_arch_powerpc_sysdev_extr_fsl_rio.c_fsl_rio_tx_handler |
; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkiocache.c_ijkio_cache_seek.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkiocache.c_ijkio_cache_seek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_9__ = type { i64, i64, i32, i32, i64, i32, i32, i32, i64, i64, i32, ptr, i64 }
@ENOSYS = dso_local local_unnamed_addr global i32 0, align 4
@IJKAVSEEK_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@SEEK_CUR = dso_local local_unnamed_addr global i32 0, align 4
@SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@IJKAVERROR_EXIT = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ijkio_cache_seek], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @ijkio_cache_seek(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 11
%8 = load ptr, ptr %7, align 8, !tbaa !10
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load ptr, ptr %8, align 8, !tbaa !14
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10, %6, %3
%14 = load i32, ptr @ENOSYS, align 4, !tbaa !16
%15 = tail call i64 @IJKAVERROR(i32 noundef %14) #2
br label %81
16: ; preds = %10
%17 = load i32, ptr @IJKAVSEEK_SIZE, align 4, !tbaa !16
%18 = icmp eq i32 %17, %2
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = load i64, ptr %4, align 8, !tbaa !17
br label %81
21: ; preds = %16
%22 = load i32, ptr @SEEK_CUR, align 4, !tbaa !16
%23 = icmp eq i32 %22, %2
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1
%26 = load i64, ptr %25, align 8, !tbaa !18
%27 = add nsw i64 %26, %1
br label %34
28: ; preds = %21
%29 = load i32, ptr @SEEK_SET, align 4, !tbaa !16
%30 = icmp eq i32 %29, %2
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr @EINVAL, align 4, !tbaa !16
%33 = tail call i64 @IJKAVERROR(i32 noundef %32) #2
br label %81
34: ; preds = %28, %24
%35 = phi i64 [ %27, %24 ], [ %1, %28 ]
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr @EINVAL, align 4, !tbaa !16
%39 = tail call i64 @IJKAVERROR(i32 noundef %38) #2
br label %81
40: ; preds = %34
%41 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 12
%42 = load i64, ptr %41, align 8, !tbaa !19
%43 = icmp eq i64 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %40
%45 = load ptr, ptr %11, align 8, !tbaa !20
%46 = load i32, ptr @SEEK_SET, align 4, !tbaa !16
%47 = tail call i64 %45(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %46) #2
br label %81
48: ; preds = %40
%49 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 10
%50 = load i32, ptr %49, align 8, !tbaa !22
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1
store i64 %35, ptr %53, align 8, !tbaa !18
br label %81
54: ; preds = %48
%55 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 5
%56 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %55) #2
%57 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 2
store i32 1, ptr %57, align 8, !tbaa !23
%58 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 9
store i64 %35, ptr %58, align 8, !tbaa !24
%59 = load i32, ptr @SEEK_SET, align 4, !tbaa !16
%60 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 3
store i32 %59, ptr %60, align 4, !tbaa !25
%61 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 8
store i64 0, ptr %61, align 8, !tbaa !26
%62 = tail call i64 @ijkio_cache_check_interrupt(ptr noundef nonnull %0) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %54
%65 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 7
%66 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 6
br label %67
67: ; preds = %64, %72
%68 = load i64, ptr %61, align 8, !tbaa !26
%69 = icmp eq i64 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %67
%71 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 4
br label %77
72: ; preds = %67
%73 = tail call i32 @pthread_cond_signal(ptr noundef nonnull %65) #2
%74 = tail call i32 @pthread_cond_wait(ptr noundef nonnull %66, ptr noundef nonnull %55) #2
%75 = tail call i64 @ijkio_cache_check_interrupt(ptr noundef nonnull %0) #2
%76 = icmp eq i64 %75, 0
br i1 %76, label %67, label %77
77: ; preds = %72, %54, %70
%78 = phi ptr [ %71, %70 ], [ @IJKAVERROR_EXIT, %54 ], [ @IJKAVERROR_EXIT, %72 ]
%79 = load i64, ptr %78, align 8, !tbaa !27
%80 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %55) #2
br label %81
81: ; preds = %77, %52, %44, %37, %31, %19, %13
%82 = phi i64 [ %20, %19 ], [ %39, %37 ], [ %47, %44 ], [ %79, %77 ], [ %35, %52 ], [ %33, %31 ], [ %15, %13 ]
ret i64 %82
}
declare i64 @IJKAVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ijkio_cache_check_interrupt(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_8__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 72}
!11 = !{!"TYPE_9__", !12, i64 0, !12, i64 8, !13, i64 16, !13, i64 20, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !12, i64 48, !12, i64 56, !13, i64 64, !7, i64 72, !12, i64 80}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"TYPE_10__", !7, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!11, !12, i64 0}
!18 = !{!11, !12, i64 8}
!19 = !{!11, !12, i64 80}
!20 = !{!21, !7, i64 0}
!21 = !{!"TYPE_7__", !7, i64 0}
!22 = !{!11, !13, i64 64}
!23 = !{!11, !13, i64 16}
!24 = !{!11, !12, i64 56}
!25 = !{!11, !13, i64 20}
!26 = !{!11, !12, i64 48}
!27 = !{!12, !12, i64 0}
| ; ModuleID = 'AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkiocache.c_ijkio_cache_seek.c'
source_filename = "AnghaBench/ijkplayer/ijkmedia/ijkplayer/ijkavformat/extr_ijkiocache.c_ijkio_cache_seek.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
@IJKAVSEEK_SIZE = common local_unnamed_addr global i32 0, align 4
@SEEK_CUR = common local_unnamed_addr global i32 0, align 4
@SEEK_SET = common local_unnamed_addr global i32 0, align 4
@EINVAL = common local_unnamed_addr global i32 0, align 4
@IJKAVERROR_EXIT = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ijkio_cache_seek], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @ijkio_cache_seek(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
br i1 %5, label %13, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 72
%8 = load ptr, ptr %7, align 8, !tbaa !11
%9 = icmp eq ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = load ptr, ptr %8, align 8, !tbaa !15
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %10, %6, %3
%14 = load i32, ptr @ENOSYS, align 4, !tbaa !17
%15 = tail call i64 @IJKAVERROR(i32 noundef %14) #2
br label %81
16: ; preds = %10
%17 = load i32, ptr @IJKAVSEEK_SIZE, align 4, !tbaa !17
%18 = icmp eq i32 %17, %2
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = load i64, ptr %4, align 8, !tbaa !18
br label %81
21: ; preds = %16
%22 = load i32, ptr @SEEK_CUR, align 4, !tbaa !17
%23 = icmp eq i32 %22, %2
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = getelementptr inbounds i8, ptr %4, i64 8
%26 = load i64, ptr %25, align 8, !tbaa !19
%27 = add nsw i64 %26, %1
br label %34
28: ; preds = %21
%29 = load i32, ptr @SEEK_SET, align 4, !tbaa !17
%30 = icmp eq i32 %29, %2
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = load i32, ptr @EINVAL, align 4, !tbaa !17
%33 = tail call i64 @IJKAVERROR(i32 noundef %32) #2
br label %81
34: ; preds = %28, %24
%35 = phi i64 [ %27, %24 ], [ %1, %28 ]
%36 = icmp slt i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr @EINVAL, align 4, !tbaa !17
%39 = tail call i64 @IJKAVERROR(i32 noundef %38) #2
br label %81
40: ; preds = %34
%41 = getelementptr inbounds i8, ptr %4, i64 80
%42 = load i64, ptr %41, align 8, !tbaa !20
%43 = icmp eq i64 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %40
%45 = load ptr, ptr %11, align 8, !tbaa !21
%46 = load i32, ptr @SEEK_SET, align 4, !tbaa !17
%47 = tail call i64 %45(ptr noundef nonnull %8, i64 noundef %35, i32 noundef %46) #2
br label %81
48: ; preds = %40
%49 = getelementptr inbounds i8, ptr %4, i64 64
%50 = load i32, ptr %49, align 8, !tbaa !23
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = getelementptr inbounds i8, ptr %4, i64 8
store i64 %35, ptr %53, align 8, !tbaa !19
br label %81
54: ; preds = %48
%55 = getelementptr inbounds i8, ptr %4, i64 32
%56 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull %55) #2
%57 = getelementptr inbounds i8, ptr %4, i64 16
store i32 1, ptr %57, align 8, !tbaa !24
%58 = getelementptr inbounds i8, ptr %4, i64 56
store i64 %35, ptr %58, align 8, !tbaa !25
%59 = load i32, ptr @SEEK_SET, align 4, !tbaa !17
%60 = getelementptr inbounds i8, ptr %4, i64 20
store i32 %59, ptr %60, align 4, !tbaa !26
%61 = getelementptr inbounds i8, ptr %4, i64 48
store i64 0, ptr %61, align 8, !tbaa !27
%62 = tail call i64 @ijkio_cache_check_interrupt(ptr noundef nonnull %0) #2
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %54
%65 = getelementptr inbounds i8, ptr %4, i64 40
%66 = getelementptr inbounds i8, ptr %4, i64 36
br label %67
67: ; preds = %64, %72
%68 = load i64, ptr %61, align 8, !tbaa !27
%69 = icmp eq i64 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %67
%71 = getelementptr inbounds i8, ptr %4, i64 24
br label %77
72: ; preds = %67
%73 = tail call i32 @pthread_cond_signal(ptr noundef nonnull %65) #2
%74 = tail call i32 @pthread_cond_wait(ptr noundef nonnull %66, ptr noundef nonnull %55) #2
%75 = tail call i64 @ijkio_cache_check_interrupt(ptr noundef nonnull %0) #2
%76 = icmp eq i64 %75, 0
br i1 %76, label %67, label %77
77: ; preds = %72, %54, %70
%78 = phi ptr [ %71, %70 ], [ @IJKAVERROR_EXIT, %54 ], [ @IJKAVERROR_EXIT, %72 ]
%79 = load i64, ptr %78, align 8, !tbaa !28
%80 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull %55) #2
br label %81
81: ; preds = %77, %52, %44, %37, %31, %19, %13
%82 = phi i64 [ %20, %19 ], [ %39, %37 ], [ %47, %44 ], [ %79, %77 ], [ %35, %52 ], [ %33, %31 ], [ %15, %13 ]
ret i64 %82
}
declare i64 @IJKAVERROR(i32 noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @ijkio_cache_check_interrupt(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_signal(ptr noundef) local_unnamed_addr #1
declare i32 @pthread_cond_wait(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_8__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 72}
!12 = !{!"TYPE_9__", !13, i64 0, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !14, i64 32, !14, i64 36, !14, i64 40, !13, i64 48, !13, i64 56, !14, i64 64, !8, i64 72, !13, i64 80}
!13 = !{!"long", !9, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"TYPE_10__", !8, i64 0}
!17 = !{!14, !14, i64 0}
!18 = !{!12, !13, i64 0}
!19 = !{!12, !13, i64 8}
!20 = !{!12, !13, i64 80}
!21 = !{!22, !8, i64 0}
!22 = !{!"TYPE_7__", !8, i64 0}
!23 = !{!12, !14, i64 64}
!24 = !{!12, !14, i64 16}
!25 = !{!12, !13, i64 56}
!26 = !{!12, !14, i64 20}
!27 = !{!12, !13, i64 48}
!28 = !{!13, !13, i64 0}
| ijkplayer_ijkmedia_ijkplayer_ijkavformat_extr_ijkiocache.c_ijkio_cache_seek |
; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_bus.c_acpi_bus_get_private_data.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_bus.c_acpi_bus_get_private_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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@acpi_bus_private_data_handler = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"No context for object\0A\00", align 1
@ENODEV = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @acpi_bus_get_private_data(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !9
%7 = sub nsw i32 0, %6
br label %17
8: ; preds = %2
%9 = load i32, ptr @acpi_bus_private_data_handler, align 4, !tbaa !9
%10 = tail call i32 @acpi_get_data(i32 noundef %0, i32 noundef %9, ptr noundef nonnull %1) #2
%11 = tail call i64 @ACPI_FAILURE(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = tail call i32 @acpi_handle_debug(i32 noundef %0, ptr noundef nonnull @.str) #2
%15 = load i32, ptr @ENODEV, align 4, !tbaa !9
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %8, %13, %5
%18 = phi i32 [ %16, %13 ], [ %7, %5 ], [ 0, %8 ]
ret i32 %18
}
declare i32 @acpi_get_data(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #1
declare i32 @acpi_handle_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/acpi/extr_bus.c_acpi_bus_get_private_data.c'
source_filename = "AnghaBench/linux/drivers/acpi/extr_bus.c_acpi_bus_get_private_data.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
@acpi_bus_private_data_handler = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"No context for object\0A\00", align 1
@ENODEV = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -2147483647, -2147483648) i32 @acpi_bus_get_private_data(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load ptr, ptr %1, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = load i32, ptr @EINVAL, align 4, !tbaa !10
%7 = sub nsw i32 0, %6
br label %17
8: ; preds = %2
%9 = load i32, ptr @acpi_bus_private_data_handler, align 4, !tbaa !10
%10 = tail call i32 @acpi_get_data(i32 noundef %0, i32 noundef %9, ptr noundef nonnull %1) #2
%11 = tail call i64 @ACPI_FAILURE(i32 noundef %10) #2
%12 = icmp eq i64 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %8
%14 = tail call i32 @acpi_handle_debug(i32 noundef %0, ptr noundef nonnull @.str) #2
%15 = load i32, ptr @ENODEV, align 4, !tbaa !10
%16 = sub nsw i32 0, %15
br label %17
17: ; preds = %8, %13, %5
%18 = phi i32 [ %16, %13 ], [ %7, %5 ], [ 0, %8 ]
ret i32 %18
}
declare i32 @acpi_get_data(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @ACPI_FAILURE(i32 noundef) local_unnamed_addr #1
declare i32 @acpi_handle_debug(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
| linux_drivers_acpi_extr_bus.c_acpi_bus_get_private_data |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/savage/extr_savagefb.h_savage_out8.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/savage/extr_savagefb.h_savage_out8.c"
target datalayout = "e-m:e-p270:32:32-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 @savage_out8], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @savage_out8(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !5
%5 = add nsw i64 %4, %0
%6 = tail call i32 @writeb(i32 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"savagefb_par", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/savage/extr_savagefb.h_savage_out8.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/video/savage/extr_savagefb.h_savage_out8.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 @savage_out8], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @savage_out8(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %2, align 8, !tbaa !6
%5 = add nsw i64 %4, %0
%6 = tail call i32 @writeb(i32 noundef %1, i64 noundef %5) #2
ret void
}
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"savagefb_par", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_video_savage_extr_savagefb.h_savage_out8 |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_atcam.c_mlxsw_sp_acl_atcam_is_centry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_atcam.c_mlxsw_sp_acl_atcam_is_centry.c"
target datalayout = "e-m:e-p270:32:32-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 @mlxsw_sp_acl_atcam_is_centry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @mlxsw_sp_acl_atcam_is_centry(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = tail call i32 @mlxsw_sp_acl_erp_mask_is_ctcam(i32 noundef %2) #2
ret i32 %3
}
declare i32 @mlxsw_sp_acl_erp_mask_is_ctcam(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 = !{!"mlxsw_sp_acl_atcam_entry", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_atcam.c_mlxsw_sp_acl_atcam_is_centry.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl_atcam.c_mlxsw_sp_acl_atcam_is_centry.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 @mlxsw_sp_acl_atcam_is_centry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @mlxsw_sp_acl_atcam_is_centry(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = tail call i32 @mlxsw_sp_acl_erp_mask_is_ctcam(i32 noundef %2) #2
ret i32 %3
}
declare i32 @mlxsw_sp_acl_erp_mask_is_ctcam(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 = !{!"mlxsw_sp_acl_atcam_entry", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_mellanox_mlxsw_extr_spectrum_acl_atcam.c_mlxsw_sp_acl_atcam_is_centry |
; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ad7606_spi.c_ad7616_write_scale_sw.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ad7606_spi.c_ad7616_write_scale_sw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@AD7616_RANGE_CH_A_ADDR_OFF = dso_local local_unnamed_addr global i64 0, align 8
@AD7616_RANGE_CH_B_ADDR_OFF = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @ad7616_write_scale_sw], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ad7616_write_scale_sw(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iio_priv(ptr noundef %0) #2
%5 = ashr i32 %1, 1
%6 = tail call i32 @AD7616_RANGE_CH_ADDR(i32 noundef %5) #2
%7 = and i32 %1, 1
%8 = icmp eq i32 %7, 0
%9 = load i64, ptr @AD7616_RANGE_CH_A_ADDR_OFF, align 8
%10 = load i64, ptr @AD7616_RANGE_CH_B_ADDR_OFF, align 8
%11 = select i1 %8, i64 %9, i64 %10
%12 = trunc i64 %11 to i32
%13 = add i32 %6, %12
%14 = add nsw i32 %2, 1
%15 = and i32 %14, 3
%16 = tail call i32 @AD7616_RANGE_CH_MODE(i32 noundef %5, i32 noundef %15) #2
%17 = load ptr, ptr %4, align 8, !tbaa !5
%18 = load ptr, ptr %17, align 8, !tbaa !10
%19 = tail call i32 @AD7616_RANGE_CH_MSK(i32 noundef %5) #2
%20 = tail call i32 %18(ptr noundef nonnull %4, i32 noundef %13, i32 noundef %19, i32 noundef %16) #2
ret i32 %20
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_MODE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_MSK(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 = !{!"ad7606_state", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_2__", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/iio/adc/extr_ad7606_spi.c_ad7616_write_scale_sw.c'
source_filename = "AnghaBench/linux/drivers/iio/adc/extr_ad7606_spi.c_ad7616_write_scale_sw.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AD7616_RANGE_CH_A_ADDR_OFF = common local_unnamed_addr global i64 0, align 8
@AD7616_RANGE_CH_B_ADDR_OFF = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @ad7616_write_scale_sw], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ad7616_write_scale_sw(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @iio_priv(ptr noundef %0) #2
%5 = ashr i32 %1, 1
%6 = tail call i32 @AD7616_RANGE_CH_ADDR(i32 noundef %5) #2
%7 = and i32 %1, 1
%8 = icmp eq i32 %7, 0
%9 = load i64, ptr @AD7616_RANGE_CH_A_ADDR_OFF, align 8
%10 = load i64, ptr @AD7616_RANGE_CH_B_ADDR_OFF, align 8
%11 = select i1 %8, i64 %9, i64 %10
%12 = trunc i64 %11 to i32
%13 = add i32 %6, %12
%14 = add nsw i32 %2, 1
%15 = and i32 %14, 3
%16 = tail call i32 @AD7616_RANGE_CH_MODE(i32 noundef %5, i32 noundef %15) #2
%17 = load ptr, ptr %4, align 8, !tbaa !6
%18 = load ptr, ptr %17, align 8, !tbaa !11
%19 = tail call i32 @AD7616_RANGE_CH_MSK(i32 noundef %5) #2
%20 = tail call i32 %18(ptr noundef nonnull %4, i32 noundef %13, i32 noundef %19, i32 noundef %16) #2
ret i32 %20
}
declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_ADDR(i32 noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_MODE(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @AD7616_RANGE_CH_MSK(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 = !{!"ad7606_state", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_2__", !8, i64 0}
| linux_drivers_iio_adc_extr_ad7606_spi.c_ad7616_write_scale_sw |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_ilk_compute_wm_reg_maximums.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_ilk_compute_wm_reg_maximums.c"
target datalayout = "e-m:e-p270:32:32-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.ilk_wm_maximums = type { i32, i32, ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @ilk_compute_wm_reg_maximums], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ilk_compute_wm_reg_maximums(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @ilk_plane_wm_reg_max(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
%5 = getelementptr inbounds %struct.ilk_wm_maximums, ptr %2, i64 0, i32 3
store ptr %4, ptr %5, align 8, !tbaa !5
%6 = tail call ptr @ilk_plane_wm_reg_max(ptr noundef %0, i32 noundef %1, i32 noundef 1) #2
%7 = getelementptr inbounds %struct.ilk_wm_maximums, ptr %2, i64 0, i32 2
store ptr %6, ptr %7, align 8, !tbaa !11
%8 = tail call i32 @ilk_cursor_wm_reg_max(ptr noundef %0, i32 noundef %1) #2
%9 = getelementptr inbounds %struct.ilk_wm_maximums, ptr %2, i64 0, i32 1
store i32 %8, ptr %9, align 4, !tbaa !12
%10 = tail call i32 @ilk_fbc_wm_reg_max(ptr noundef %0) #2
store i32 %10, ptr %2, align 8, !tbaa !13
ret void
}
declare ptr @ilk_plane_wm_reg_max(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilk_cursor_wm_reg_max(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilk_fbc_wm_reg_max(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 16}
!6 = !{!"ilk_wm_maximums", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_ilk_compute_wm_reg_maximums.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/extr_intel_pm.c_ilk_compute_wm_reg_maximums.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 @ilk_compute_wm_reg_maximums], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ilk_compute_wm_reg_maximums(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 {
%4 = tail call ptr @ilk_plane_wm_reg_max(ptr noundef %0, i32 noundef %1, i32 noundef 0) #2
%5 = getelementptr inbounds i8, ptr %2, i64 16
store ptr %4, ptr %5, align 8, !tbaa !6
%6 = tail call ptr @ilk_plane_wm_reg_max(ptr noundef %0, i32 noundef %1, i32 noundef 1) #2
%7 = getelementptr inbounds i8, ptr %2, i64 8
store ptr %6, ptr %7, align 8, !tbaa !12
%8 = tail call i32 @ilk_cursor_wm_reg_max(ptr noundef %0, i32 noundef %1) #2
%9 = getelementptr inbounds i8, ptr %2, i64 4
store i32 %8, ptr %9, align 4, !tbaa !13
%10 = tail call i32 @ilk_fbc_wm_reg_max(ptr noundef %0) #2
store i32 %10, ptr %2, align 8, !tbaa !14
ret void
}
declare ptr @ilk_plane_wm_reg_max(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilk_cursor_wm_reg_max(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ilk_fbc_wm_reg_max(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 16}
!7 = !{!"ilk_wm_maximums", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 4}
!14 = !{!7, !8, i64 0}
| linux_drivers_gpu_drm_i915_extr_intel_pm.c_ilk_compute_wm_reg_maximums |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_set_framerate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_set_framerate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@MCHIP_HIC_S_RATE = dso_local local_unnamed_addr global i32 0, align 4
@meye = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @mchip_set_framerate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @mchip_set_framerate() #0 {
%1 = load i32, ptr @MCHIP_HIC_S_RATE, align 4, !tbaa !5
%2 = load i32, ptr @meye, align 4, !tbaa !9
%3 = tail call i32 @mchip_set(i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @mchip_set(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 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !6, i64 0}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_set_framerate.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/media/video/extr_meye.c_mchip_set_framerate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
@MCHIP_HIC_S_RATE = common local_unnamed_addr global i32 0, align 4
@meye = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4
@llvm.used = appending global [1 x ptr] [ptr @mchip_set_framerate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @mchip_set_framerate() #0 {
%1 = load i32, ptr @MCHIP_HIC_S_RATE, align 4, !tbaa !6
%2 = load i32, ptr @meye, align 4, !tbaa !10
%3 = tail call i32 @mchip_set(i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @mchip_set(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 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !7, i64 0}
| fastsocket_kernel_drivers_media_video_extr_meye.c_mchip_set_framerate |
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx4/extr_verbs.c_create_cq.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx4/extr_verbs.c_create_cq.c"
target datalayout = "e-m:e-p270:32:32-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.ibv_cq_init_attr_ex = type { i32, i32, i32, i32 }
%struct.mlx4_cq = type { i32, i32, i32, ptr, %struct.ibv_cq_ex, ptr, i32, i32, i64 }
%struct.ibv_cq_ex = type { i32 }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_COMP_MASK = dso_local local_unnamed_addr global i32 0, align 4
@ENOTSUP = dso_local local_unnamed_addr global i32 0, align 4
@IBV_CQ_INIT_ATTR_MASK_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_WC_FLAGS = dso_local local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_SLID = dso_local local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_SL = dso_local local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_COMPLETION_TIMESTAMP = dso_local local_unnamed_addr global i32 0, align 4
@PTHREAD_PROCESS_PRIVATE = dso_local local_unnamed_addr global i32 0, align 4
@MLX4_DB_TYPE_CQ = dso_local local_unnamed_addr global i32 0, align 4
@IBV_CREATE_CQ_ATTR_SINGLE_THREADED = dso_local local_unnamed_addr global i32 0, align 4
@MLX4_CQ_FLAGS_SINGLE_THREADED = dso_local local_unnamed_addr global i32 0, align 4
@MLX4_CQ_FLAGS_EXTENDED = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_cq], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @create_cq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @to_mctx(ptr noundef %0) #2
%5 = load i32, ptr %1, align 4, !tbaa !5
%6 = icmp sgt i32 %5, 4194303
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !10
store i32 %8, ptr @errno, align 4, !tbaa !10
br label %125
9: ; preds = %3
%10 = getelementptr inbounds %struct.ibv_cq_init_attr_ex, ptr %1, i64 0, i32 1
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = load i32, ptr @CREATE_CQ_SUPPORTED_COMP_MASK, align 4, !tbaa !10
%13 = xor i32 %12, -1
%14 = and i32 %11, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %9
%17 = load i32, ptr @ENOTSUP, align 4, !tbaa !10
store i32 %17, ptr @errno, align 4, !tbaa !10
br label %125
18: ; preds = %9
%19 = load i32, ptr @IBV_CQ_INIT_ATTR_MASK_FLAGS, align 4, !tbaa !10
%20 = and i32 %19, %11
%21 = icmp eq i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %18
%23 = getelementptr inbounds %struct.ibv_cq_init_attr_ex, ptr %1, i64 0, i32 2
%24 = load i32, ptr %23, align 4, !tbaa !12
%25 = load i32, ptr @CREATE_CQ_SUPPORTED_FLAGS, align 4, !tbaa !10
%26 = xor i32 %25, -1
%27 = and i32 %24, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %22
%30 = load i32, ptr @ENOTSUP, align 4, !tbaa !10
store i32 %30, ptr @errno, align 4, !tbaa !10
br label %125
31: ; preds = %22, %18
%32 = getelementptr inbounds %struct.ibv_cq_init_attr_ex, ptr %1, i64 0, i32 3
%33 = load i32, ptr %32, align 4, !tbaa !13
%34 = load i32, ptr @CREATE_CQ_SUPPORTED_WC_FLAGS, align 4, !tbaa !10
%35 = xor i32 %34, -1
%36 = and i32 %33, %35
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %125
38: ; preds = %31
%39 = load i32, ptr @IBV_WC_EX_WITH_SLID, align 4, !tbaa !10
%40 = load i32, ptr @IBV_WC_EX_WITH_SL, align 4, !tbaa !10
%41 = or i32 %40, %39
%42 = and i32 %41, %33
%43 = icmp eq i32 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %38
%45 = load i32, ptr @IBV_WC_EX_WITH_COMPLETION_TIMESTAMP, align 4, !tbaa !10
%46 = and i32 %45, %33
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %44
%49 = load i32, ptr @ENOTSUP, align 4, !tbaa !10
store i32 %49, ptr @errno, align 4, !tbaa !10
br label %125
50: ; preds = %44, %38
%51 = tail call ptr @malloc(i32 noundef 56) #2
%52 = icmp eq ptr %51, null
br i1 %52, label %125, label %53
53: ; preds = %50
%54 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 8
store i64 0, ptr %54, align 8, !tbaa !14
%55 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 7
%56 = load i32, ptr @PTHREAD_PROCESS_PRIVATE, align 4, !tbaa !10
%57 = tail call i64 @pthread_spin_init(ptr noundef nonnull %55, i32 noundef %56) #2
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %123
59: ; preds = %53
%60 = load i32, ptr %1, align 4, !tbaa !5
%61 = add nsw i32 %60, 1
%62 = tail call i32 @align_queue_size(i32 noundef %61) #2
store i32 %62, ptr %1, align 4, !tbaa !5
%63 = load i32, ptr %0, align 4, !tbaa !19
%64 = tail call i32 @to_mdev(i32 noundef %63) #2
%65 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 2
%66 = load i32, ptr %1, align 4, !tbaa !5
%67 = load i32, ptr %4, align 4, !tbaa !21
%68 = tail call i64 @mlx4_alloc_cq_buf(i32 noundef %64, ptr noundef nonnull %65, i32 noundef %66, i32 noundef %67) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %123
70: ; preds = %59
%71 = load i32, ptr %4, align 4, !tbaa !21
%72 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 6
store i32 %71, ptr %72, align 8, !tbaa !23
%73 = tail call ptr @to_mctx(ptr noundef nonnull %0) #2
%74 = load i32, ptr @MLX4_DB_TYPE_CQ, align 4, !tbaa !10
%75 = tail call ptr @mlx4_alloc_db(ptr noundef %73, i32 noundef %74) #2
%76 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 3
store ptr %75, ptr %76, align 8, !tbaa !24
%77 = icmp eq ptr %75, null
br i1 %77, label %121, label %78
78: ; preds = %70
%79 = getelementptr inbounds i64, ptr %75, i64 1
%80 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 5
store ptr %79, ptr %80, align 8, !tbaa !25
store i64 0, ptr %79, align 8, !tbaa !26
store i32 1, ptr %51, align 8, !tbaa !27
store i64 0, ptr %75, align 8, !tbaa !26
%81 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 1
store i32 %2, ptr %81, align 4, !tbaa !28
%82 = load i32, ptr %10, align 4, !tbaa !11
%83 = load i32, ptr @IBV_CQ_INIT_ATTR_MASK_FLAGS, align 4, !tbaa !10
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %95, label %86
86: ; preds = %78
%87 = getelementptr inbounds %struct.ibv_cq_init_attr_ex, ptr %1, i64 0, i32 2
%88 = load i32, ptr %87, align 4, !tbaa !12
%89 = load i32, ptr @IBV_CREATE_CQ_ATTR_SINGLE_THREADED, align 4, !tbaa !10
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %95, label %92
92: ; preds = %86
%93 = load i32, ptr @MLX4_CQ_FLAGS_SINGLE_THREADED, align 4, !tbaa !10
%94 = or i32 %93, %2
store i32 %94, ptr %81, align 4, !tbaa !28
br label %95
95: ; preds = %92, %86, %78
%96 = load i32, ptr %1, align 4, !tbaa !5
%97 = add nsw i32 %96, -1
store i32 %97, ptr %1, align 4, !tbaa !5
%98 = load i32, ptr @MLX4_CQ_FLAGS_EXTENDED, align 4, !tbaa !10
%99 = and i32 %98, %2
%100 = icmp eq i32 %99, 0
br i1 %100, label %103, label %101
101: ; preds = %95
%102 = tail call i32 @mlx4_cmd_create_cq_ex(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %51) #2
br label %105
103: ; preds = %95
%104 = tail call i32 @mlx4_cmd_create_cq(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %51) #2
br label %105
105: ; preds = %103, %101
%106 = phi i32 [ %102, %101 ], [ %104, %103 ]
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %116
108: ; preds = %105
%109 = load i32, ptr @MLX4_CQ_FLAGS_EXTENDED, align 4, !tbaa !10
%110 = and i32 %109, %2
%111 = icmp eq i32 %110, 0
br i1 %111, label %114, label %112
112: ; preds = %108
%113 = tail call i32 @mlx4_cq_fill_pfns(ptr noundef nonnull %51, ptr noundef nonnull %1) #2
br label %114
114: ; preds = %112, %108
%115 = getelementptr inbounds %struct.mlx4_cq, ptr %51, i64 0, i32 4
br label %125
116: ; preds = %105
%117 = tail call ptr @to_mctx(ptr noundef nonnull %0) #2
%118 = load i32, ptr @MLX4_DB_TYPE_CQ, align 4, !tbaa !10
%119 = load ptr, ptr %76, align 8, !tbaa !24
%120 = tail call i32 @mlx4_free_db(ptr noundef %117, i32 noundef %118, ptr noundef %119) #2
br label %121
121: ; preds = %70, %116
%122 = tail call i32 @mlx4_free_buf(ptr noundef nonnull %65) #2
br label %123
123: ; preds = %59, %53, %121
%124 = tail call i32 @free(ptr noundef nonnull %51) #2
br label %125
125: ; preds = %50, %31, %123, %114, %48, %29, %16, %7
%126 = phi ptr [ null, %7 ], [ null, %16 ], [ null, %29 ], [ null, %48 ], [ null, %123 ], [ %115, %114 ], [ null, %31 ], [ null, %50 ]
ret ptr %126
}
declare ptr @to_mctx(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @pthread_spin_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @align_queue_size(i32 noundef) local_unnamed_addr #1
declare i64 @mlx4_alloc_cq_buf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @to_mdev(i32 noundef) local_unnamed_addr #1
declare ptr @mlx4_alloc_db(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_cmd_create_cq_ex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_cmd_create_cq(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_cq_fill_pfns(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_free_db(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_free_buf(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ibv_cq_init_attr_ex", !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 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 12}
!14 = !{!15, !18, i64 48}
!15 = !{!"mlx4_cq", !7, i64 0, !7, i64 4, !7, i64 8, !16, i64 16, !17, i64 24, !16, i64 32, !7, i64 40, !7, i64 44, !18, i64 48}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"ibv_cq_ex", !7, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!20, !7, i64 0}
!20 = !{!"ibv_context", !7, i64 0}
!21 = !{!22, !7, i64 0}
!22 = !{!"mlx4_context", !7, i64 0}
!23 = !{!15, !7, i64 40}
!24 = !{!15, !16, i64 16}
!25 = !{!15, !16, i64 32}
!26 = !{!18, !18, i64 0}
!27 = !{!15, !7, i64 0}
!28 = !{!15, !7, i64 4}
| ; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libmlx4/extr_verbs.c_create_cq.c'
source_filename = "AnghaBench/freebsd/contrib/ofed/libmlx4/extr_verbs.c_create_cq.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
@errno = common local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_COMP_MASK = common local_unnamed_addr global i32 0, align 4
@ENOTSUP = common local_unnamed_addr global i32 0, align 4
@IBV_CQ_INIT_ATTR_MASK_FLAGS = common local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_FLAGS = common local_unnamed_addr global i32 0, align 4
@CREATE_CQ_SUPPORTED_WC_FLAGS = common local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_SLID = common local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_SL = common local_unnamed_addr global i32 0, align 4
@IBV_WC_EX_WITH_COMPLETION_TIMESTAMP = common local_unnamed_addr global i32 0, align 4
@PTHREAD_PROCESS_PRIVATE = common local_unnamed_addr global i32 0, align 4
@MLX4_DB_TYPE_CQ = common local_unnamed_addr global i32 0, align 4
@IBV_CREATE_CQ_ATTR_SINGLE_THREADED = common local_unnamed_addr global i32 0, align 4
@MLX4_CQ_FLAGS_SINGLE_THREADED = common local_unnamed_addr global i32 0, align 4
@MLX4_CQ_FLAGS_EXTENDED = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @create_cq], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @create_cq(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call ptr @to_mctx(ptr noundef %0) #2
%5 = load i32, ptr %1, align 4, !tbaa !6
%6 = icmp sgt i32 %5, 4194303
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = load i32, ptr @EINVAL, align 4, !tbaa !11
store i32 %8, ptr @errno, align 4, !tbaa !11
br label %125
9: ; preds = %3
%10 = getelementptr inbounds i8, ptr %1, i64 4
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = load i32, ptr @CREATE_CQ_SUPPORTED_COMP_MASK, align 4, !tbaa !11
%13 = xor i32 %12, -1
%14 = and i32 %11, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %9
%17 = load i32, ptr @ENOTSUP, align 4, !tbaa !11
store i32 %17, ptr @errno, align 4, !tbaa !11
br label %125
18: ; preds = %9
%19 = load i32, ptr @IBV_CQ_INIT_ATTR_MASK_FLAGS, align 4, !tbaa !11
%20 = and i32 %19, %11
%21 = icmp eq i32 %20, 0
br i1 %21, label %31, label %22
22: ; preds = %18
%23 = getelementptr inbounds i8, ptr %1, i64 8
%24 = load i32, ptr %23, align 4, !tbaa !13
%25 = load i32, ptr @CREATE_CQ_SUPPORTED_FLAGS, align 4, !tbaa !11
%26 = xor i32 %25, -1
%27 = and i32 %24, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %22
%30 = load i32, ptr @ENOTSUP, align 4, !tbaa !11
store i32 %30, ptr @errno, align 4, !tbaa !11
br label %125
31: ; preds = %22, %18
%32 = getelementptr inbounds i8, ptr %1, i64 12
%33 = load i32, ptr %32, align 4, !tbaa !14
%34 = load i32, ptr @CREATE_CQ_SUPPORTED_WC_FLAGS, align 4, !tbaa !11
%35 = xor i32 %34, -1
%36 = and i32 %33, %35
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %125
38: ; preds = %31
%39 = load i32, ptr @IBV_WC_EX_WITH_SLID, align 4, !tbaa !11
%40 = load i32, ptr @IBV_WC_EX_WITH_SL, align 4, !tbaa !11
%41 = or i32 %40, %39
%42 = and i32 %41, %33
%43 = icmp eq i32 %42, 0
br i1 %43, label %50, label %44
44: ; preds = %38
%45 = load i32, ptr @IBV_WC_EX_WITH_COMPLETION_TIMESTAMP, align 4, !tbaa !11
%46 = and i32 %45, %33
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %44
%49 = load i32, ptr @ENOTSUP, align 4, !tbaa !11
store i32 %49, ptr @errno, align 4, !tbaa !11
br label %125
50: ; preds = %44, %38
%51 = tail call ptr @malloc(i32 noundef 56) #2
%52 = icmp eq ptr %51, null
br i1 %52, label %125, label %53
53: ; preds = %50
%54 = getelementptr inbounds i8, ptr %51, i64 48
store i64 0, ptr %54, align 8, !tbaa !15
%55 = getelementptr inbounds i8, ptr %51, i64 44
%56 = load i32, ptr @PTHREAD_PROCESS_PRIVATE, align 4, !tbaa !11
%57 = tail call i64 @pthread_spin_init(ptr noundef nonnull %55, i32 noundef %56) #2
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %123
59: ; preds = %53
%60 = load i32, ptr %1, align 4, !tbaa !6
%61 = add nsw i32 %60, 1
%62 = tail call i32 @align_queue_size(i32 noundef %61) #2
store i32 %62, ptr %1, align 4, !tbaa !6
%63 = load i32, ptr %0, align 4, !tbaa !20
%64 = tail call i32 @to_mdev(i32 noundef %63) #2
%65 = getelementptr inbounds i8, ptr %51, i64 8
%66 = load i32, ptr %1, align 4, !tbaa !6
%67 = load i32, ptr %4, align 4, !tbaa !22
%68 = tail call i64 @mlx4_alloc_cq_buf(i32 noundef %64, ptr noundef nonnull %65, i32 noundef %66, i32 noundef %67) #2
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %123
70: ; preds = %59
%71 = load i32, ptr %4, align 4, !tbaa !22
%72 = getelementptr inbounds i8, ptr %51, i64 40
store i32 %71, ptr %72, align 8, !tbaa !24
%73 = tail call ptr @to_mctx(ptr noundef nonnull %0) #2
%74 = load i32, ptr @MLX4_DB_TYPE_CQ, align 4, !tbaa !11
%75 = tail call ptr @mlx4_alloc_db(ptr noundef %73, i32 noundef %74) #2
%76 = getelementptr inbounds i8, ptr %51, i64 16
store ptr %75, ptr %76, align 8, !tbaa !25
%77 = icmp eq ptr %75, null
br i1 %77, label %121, label %78
78: ; preds = %70
%79 = getelementptr inbounds i8, ptr %75, i64 8
%80 = getelementptr inbounds i8, ptr %51, i64 32
store ptr %79, ptr %80, align 8, !tbaa !26
store i32 1, ptr %51, align 8, !tbaa !27
store <2 x i64> zeroinitializer, ptr %75, align 8, !tbaa !28
%81 = getelementptr inbounds i8, ptr %51, i64 4
store i32 %2, ptr %81, align 4, !tbaa !29
%82 = load i32, ptr %10, align 4, !tbaa !12
%83 = load i32, ptr @IBV_CQ_INIT_ATTR_MASK_FLAGS, align 4, !tbaa !11
%84 = and i32 %83, %82
%85 = icmp eq i32 %84, 0
br i1 %85, label %95, label %86
86: ; preds = %78
%87 = getelementptr inbounds i8, ptr %1, i64 8
%88 = load i32, ptr %87, align 4, !tbaa !13
%89 = load i32, ptr @IBV_CREATE_CQ_ATTR_SINGLE_THREADED, align 4, !tbaa !11
%90 = and i32 %89, %88
%91 = icmp eq i32 %90, 0
br i1 %91, label %95, label %92
92: ; preds = %86
%93 = load i32, ptr @MLX4_CQ_FLAGS_SINGLE_THREADED, align 4, !tbaa !11
%94 = or i32 %93, %2
store i32 %94, ptr %81, align 4, !tbaa !29
br label %95
95: ; preds = %92, %86, %78
%96 = load i32, ptr %1, align 4, !tbaa !6
%97 = add nsw i32 %96, -1
store i32 %97, ptr %1, align 4, !tbaa !6
%98 = load i32, ptr @MLX4_CQ_FLAGS_EXTENDED, align 4, !tbaa !11
%99 = and i32 %98, %2
%100 = icmp eq i32 %99, 0
br i1 %100, label %103, label %101
101: ; preds = %95
%102 = tail call i32 @mlx4_cmd_create_cq_ex(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %51) #2
br label %105
103: ; preds = %95
%104 = tail call i32 @mlx4_cmd_create_cq(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %51) #2
br label %105
105: ; preds = %103, %101
%106 = phi i32 [ %102, %101 ], [ %104, %103 ]
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %116
108: ; preds = %105
%109 = load i32, ptr @MLX4_CQ_FLAGS_EXTENDED, align 4, !tbaa !11
%110 = and i32 %109, %2
%111 = icmp eq i32 %110, 0
br i1 %111, label %114, label %112
112: ; preds = %108
%113 = tail call i32 @mlx4_cq_fill_pfns(ptr noundef nonnull %51, ptr noundef nonnull %1) #2
br label %114
114: ; preds = %112, %108
%115 = getelementptr inbounds i8, ptr %51, i64 24
br label %125
116: ; preds = %105
%117 = tail call ptr @to_mctx(ptr noundef nonnull %0) #2
%118 = load i32, ptr @MLX4_DB_TYPE_CQ, align 4, !tbaa !11
%119 = load ptr, ptr %76, align 8, !tbaa !25
%120 = tail call i32 @mlx4_free_db(ptr noundef %117, i32 noundef %118, ptr noundef %119) #2
br label %121
121: ; preds = %70, %116
%122 = tail call i32 @mlx4_free_buf(ptr noundef nonnull %65) #2
br label %123
123: ; preds = %59, %53, %121
%124 = tail call i32 @free(ptr noundef nonnull %51) #2
br label %125
125: ; preds = %50, %31, %123, %114, %48, %29, %16, %7
%126 = phi ptr [ null, %7 ], [ null, %16 ], [ null, %29 ], [ null, %48 ], [ null, %123 ], [ %115, %114 ], [ null, %31 ], [ null, %50 ]
ret ptr %126
}
declare ptr @to_mctx(ptr noundef) local_unnamed_addr #1
declare ptr @malloc(i32 noundef) local_unnamed_addr #1
declare i64 @pthread_spin_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @align_queue_size(i32 noundef) local_unnamed_addr #1
declare i64 @mlx4_alloc_cq_buf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @to_mdev(i32 noundef) local_unnamed_addr #1
declare ptr @mlx4_alloc_db(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mlx4_cmd_create_cq_ex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_cmd_create_cq(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_cq_fill_pfns(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_free_db(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mlx4_free_buf(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ibv_cq_init_attr_ex", !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 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 4}
!13 = !{!7, !8, i64 8}
!14 = !{!7, !8, i64 12}
!15 = !{!16, !19, i64 48}
!16 = !{!"mlx4_cq", !8, i64 0, !8, i64 4, !8, i64 8, !17, i64 16, !18, i64 24, !17, i64 32, !8, i64 40, !8, i64 44, !19, i64 48}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"ibv_cq_ex", !8, i64 0}
!19 = !{!"long", !9, i64 0}
!20 = !{!21, !8, i64 0}
!21 = !{!"ibv_context", !8, i64 0}
!22 = !{!23, !8, i64 0}
!23 = !{!"mlx4_context", !8, i64 0}
!24 = !{!16, !8, i64 40}
!25 = !{!16, !17, i64 16}
!26 = !{!16, !17, i64 32}
!27 = !{!16, !8, i64 0}
!28 = !{!19, !19, i64 0}
!29 = !{!16, !8, i64 4}
| freebsd_contrib_ofed_libmlx4_extr_verbs.c_create_cq |
; ModuleID = 'AnghaBench/php-src/sapi/cli/extr_php_cli.c_sapi_cli_select.c'
source_filename = "AnghaBench/php-src/sapi/cli/extr_php_cli.c_sapi_cli_select.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.timeval = type { i64, i64 }
@default_socket_timeout = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @sapi_cli_select], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @sapi_cli_select(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3
%5 = call i32 @PHP_SAFE_FD_SET(i64 noundef %0, ptr noundef nonnull %2) #3
%6 = load i32, ptr @default_socket_timeout, align 4, !tbaa !5
%7 = call i64 @FG(i32 noundef %6) #3
store i64 %7, ptr %3, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.timeval, ptr %3, i64 0, i32 1
store i64 0, ptr %8, align 8, !tbaa !12
%9 = add nsw i64 %0, 1
%10 = call i32 @php_select(i64 noundef %9, ptr noundef null, ptr noundef nonnull %2, ptr noundef null, ptr noundef nonnull %3) #3
%11 = icmp ne i32 %10, -1
%12 = zext i1 %11 to i32
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 i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @PHP_SAFE_FD_SET(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FG(i32 noundef) local_unnamed_addr #2
declare i32 @php_select(i64 noundef, 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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"timeval", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/php-src/sapi/cli/extr_php_cli.c_sapi_cli_select.c'
source_filename = "AnghaBench/php-src/sapi/cli/extr_php_cli.c_sapi_cli_select.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.timeval = type { i64, i64 }
@default_socket_timeout = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @sapi_cli_select], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @sapi_cli_select(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = call i32 @FD_ZERO(ptr noundef nonnull %2) #3
%5 = call i32 @PHP_SAFE_FD_SET(i64 noundef %0, ptr noundef nonnull %2) #3
%6 = load i32, ptr @default_socket_timeout, align 4, !tbaa !6
%7 = call i64 @FG(i32 noundef %6) #3
store i64 %7, ptr %3, align 8, !tbaa !10
%8 = getelementptr inbounds i8, ptr %3, i64 8
store i64 0, ptr %8, align 8, !tbaa !13
%9 = add nsw i64 %0, 1
%10 = call i32 @php_select(i64 noundef %9, ptr noundef null, ptr noundef nonnull %2, ptr noundef null, ptr noundef nonnull %3) #3
%11 = icmp ne i32 %10, -1
%12 = zext i1 %11 to i32
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 i32 %12
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FD_ZERO(ptr noundef) local_unnamed_addr #2
declare i32 @PHP_SAFE_FD_SET(i64 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @FG(i32 noundef) local_unnamed_addr #2
declare i32 @php_select(i64 noundef, 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 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"timeval", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 8}
| php-src_sapi_cli_extr_php_cli.c_sapi_cli_select |
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_sodealloc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_sodealloc.c"
target datalayout = "e-m:e-p270:32:32-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.socket = type { i32, i32, i32, i32, ptr, i32 }
@SOF_ENABLE_MSGS = dso_local local_unnamed_addr global i32 0, align 4
@M_TEMP = dso_local local_unnamed_addr global i32 0, align 4
@so_gencnt = dso_local global i32 0, align 4
@SOF1_CACHED_IN_SOCK_LAYER = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @sodealloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 5
%3 = tail call i32 @kauth_cred_unref(ptr noundef nonnull %2) #2
%4 = tail call i32 @sflt_termsock(ptr noundef %0) #2
%5 = load i32, ptr %0, align 8, !tbaa !5
%6 = load i32, ptr @SOF_ENABLE_MSGS, align 4, !tbaa !11
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 4
%10 = load ptr, ptr %9, align 8, !tbaa !12
br i1 %8, label %11, label %14
11: ; preds = %1
%12 = icmp eq ptr %10, null
%13 = zext i1 %12 to i32
br label %17
14: ; preds = %1
%15 = load i32, ptr @M_TEMP, align 4, !tbaa !11
%16 = tail call i32 @FREE(ptr noundef %10, i32 noundef %15) #2
store ptr null, ptr %9, align 8, !tbaa !12
br label %17
17: ; preds = %11, %14
%18 = phi i32 [ %13, %11 ], [ 1, %14 ]
%19 = tail call i32 @VERIFY(i32 noundef %18) #2
%20 = tail call i32 @OSIncrementAtomic64(ptr noundef nonnull @so_gencnt) #2
%21 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 3
store i32 %20, ptr %21, align 4, !tbaa !13
%22 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 1
%23 = load i32, ptr %22, align 4, !tbaa !14
%24 = load i32, ptr @SOF1_CACHED_IN_SOCK_LAYER, align 4, !tbaa !11
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %17
%28 = tail call i32 @cached_sock_free(ptr noundef nonnull %0) #2
br label %33
29: ; preds = %17
%30 = getelementptr inbounds %struct.socket, ptr %0, i64 0, i32 2
%31 = load i32, ptr %30, align 8, !tbaa !15
%32 = tail call i32 @FREE_ZONE(ptr noundef nonnull %0, i32 noundef 32, i32 noundef %31) #2
br label %33
33: ; preds = %29, %27
ret void
}
declare i32 @kauth_cred_unref(ptr noundef) local_unnamed_addr #1
declare i32 @sflt_termsock(ptr noundef) local_unnamed_addr #1
declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1
declare i32 @OSIncrementAtomic64(ptr noundef) local_unnamed_addr #1
declare i32 @cached_sock_free(ptr noundef) local_unnamed_addr #1
declare i32 @FREE_ZONE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"socket", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !7, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !7, i64 8}
| ; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_sodealloc.c'
source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_uipc_socket.c_sodealloc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SOF_ENABLE_MSGS = common local_unnamed_addr global i32 0, align 4
@M_TEMP = common local_unnamed_addr global i32 0, align 4
@so_gencnt = common global i32 0, align 4
@SOF1_CACHED_IN_SOCK_LAYER = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @sodealloc(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 24
%3 = tail call i32 @kauth_cred_unref(ptr noundef nonnull %2) #2
%4 = tail call i32 @sflt_termsock(ptr noundef %0) #2
%5 = load i32, ptr %0, align 8, !tbaa !6
%6 = load i32, ptr @SOF_ENABLE_MSGS, align 4, !tbaa !12
%7 = and i32 %6, %5
%8 = icmp eq i32 %7, 0
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !13
br i1 %8, label %11, label %14
11: ; preds = %1
%12 = icmp eq ptr %10, null
%13 = zext i1 %12 to i32
br label %17
14: ; preds = %1
%15 = load i32, ptr @M_TEMP, align 4, !tbaa !12
%16 = tail call i32 @FREE(ptr noundef %10, i32 noundef %15) #2
store ptr null, ptr %9, align 8, !tbaa !13
br label %17
17: ; preds = %11, %14
%18 = phi i32 [ %13, %11 ], [ 1, %14 ]
%19 = tail call i32 @VERIFY(i32 noundef %18) #2
%20 = tail call i32 @OSIncrementAtomic64(ptr noundef nonnull @so_gencnt) #2
%21 = getelementptr inbounds i8, ptr %0, i64 12
store i32 %20, ptr %21, align 4, !tbaa !14
%22 = getelementptr inbounds i8, ptr %0, i64 4
%23 = load i32, ptr %22, align 4, !tbaa !15
%24 = load i32, ptr @SOF1_CACHED_IN_SOCK_LAYER, align 4, !tbaa !12
%25 = and i32 %24, %23
%26 = icmp eq i32 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %17
%28 = tail call i32 @cached_sock_free(ptr noundef nonnull %0) #2
br label %33
29: ; preds = %17
%30 = getelementptr inbounds i8, ptr %0, i64 8
%31 = load i32, ptr %30, align 8, !tbaa !16
%32 = tail call i32 @FREE_ZONE(ptr noundef nonnull %0, i32 noundef 32, i32 noundef %31) #2
br label %33
33: ; preds = %29, %27
ret void
}
declare i32 @kauth_cred_unref(ptr noundef) local_unnamed_addr #1
declare i32 @sflt_termsock(ptr noundef) local_unnamed_addr #1
declare i32 @FREE(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1
declare i32 @OSIncrementAtomic64(ptr noundef) local_unnamed_addr #1
declare i32 @cached_sock_free(ptr noundef) local_unnamed_addr #1
declare i32 @FREE_ZONE(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"socket", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !11, i64 16, !8, i64 24}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !8, i64 12}
!15 = !{!7, !8, i64 4}
!16 = !{!7, !8, i64 8}
| darwin-xnu_bsd_kern_extr_uipc_socket.c_sodealloc |
; ModuleID = 'AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_clear_stall_sub_locked.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_clear_stall_sub_locked.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UE_CONTROL = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_EP_INDEX_ENDP_INDEX_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@UE_DIR_IN = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX_DIR_IN = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX_DIR_OUT = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_EP_TYPE = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_EP_TYPE_ENABLE = dso_local local_unnamed_addr global i64 0, align 8
@SOTG_CTRL_FUNC = dso_local local_unnamed_addr global i32 0, align 4
@SOTG_CTRL_FUNC_CLBUF = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @saf1761_otg_clear_stall_sub_locked], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @saf1761_otg_clear_stall_sub_locked(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @UE_CONTROL, align 8, !tbaa !5
%6 = icmp eq i64 %5, %2
br i1 %6, label %29, label %7
7: ; preds = %4
%8 = load i32, ptr @SOTG_EP_INDEX, align 4, !tbaa !9
%9 = load i64, ptr @SOTG_EP_INDEX_ENDP_INDEX_SHIFT, align 8, !tbaa !5
%10 = shl i64 %1, %9
%11 = load i64, ptr @UE_DIR_IN, align 8, !tbaa !5
%12 = icmp eq i64 %11, %3
%13 = load i64, ptr @SOTG_EP_INDEX_DIR_IN, align 8
%14 = load i64, ptr @SOTG_EP_INDEX_DIR_OUT, align 8
%15 = select i1 %12, i64 %13, i64 %14
%16 = or i64 %15, %10
%17 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %8, i64 noundef %16) #2
%18 = load i32, ptr @SOTG_EP_TYPE, align 4, !tbaa !9
%19 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %18, i64 noundef 0) #2
%20 = load i32, ptr @SOTG_EP_TYPE, align 4, !tbaa !9
%21 = load i64, ptr @SOTG_EP_TYPE_ENABLE, align 8, !tbaa !5
%22 = or i64 %21, %2
%23 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %20, i64 noundef %22) #2
%24 = load i32, ptr @SOTG_CTRL_FUNC, align 4, !tbaa !9
%25 = load i64, ptr @SOTG_CTRL_FUNC_CLBUF, align 8, !tbaa !5
%26 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %24, i64 noundef %25) #2
%27 = load i32, ptr @SOTG_CTRL_FUNC, align 4, !tbaa !9
%28 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %27, i64 noundef 0) #2
br label %29
29: ; preds = %4, %7
ret void
}
declare i32 @SAF1761_WRITE_LE_4(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_clear_stall_sub_locked.c'
source_filename = "AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_clear_stall_sub_locked.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UE_CONTROL = common local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX = common local_unnamed_addr global i32 0, align 4
@SOTG_EP_INDEX_ENDP_INDEX_SHIFT = common local_unnamed_addr global i64 0, align 8
@UE_DIR_IN = common local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX_DIR_IN = common local_unnamed_addr global i64 0, align 8
@SOTG_EP_INDEX_DIR_OUT = common local_unnamed_addr global i64 0, align 8
@SOTG_EP_TYPE = common local_unnamed_addr global i32 0, align 4
@SOTG_EP_TYPE_ENABLE = common local_unnamed_addr global i64 0, align 8
@SOTG_CTRL_FUNC = common local_unnamed_addr global i32 0, align 4
@SOTG_CTRL_FUNC_CLBUF = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @saf1761_otg_clear_stall_sub_locked], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @saf1761_otg_clear_stall_sub_locked(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = load i64, ptr @UE_CONTROL, align 8, !tbaa !6
%6 = icmp eq i64 %5, %2
br i1 %6, label %29, label %7
7: ; preds = %4
%8 = load i32, ptr @SOTG_EP_INDEX, align 4, !tbaa !10
%9 = load i64, ptr @SOTG_EP_INDEX_ENDP_INDEX_SHIFT, align 8, !tbaa !6
%10 = shl i64 %1, %9
%11 = load i64, ptr @UE_DIR_IN, align 8, !tbaa !6
%12 = icmp eq i64 %11, %3
%13 = load i64, ptr @SOTG_EP_INDEX_DIR_IN, align 8
%14 = load i64, ptr @SOTG_EP_INDEX_DIR_OUT, align 8
%15 = select i1 %12, i64 %13, i64 %14
%16 = or i64 %15, %10
%17 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %8, i64 noundef %16) #2
%18 = load i32, ptr @SOTG_EP_TYPE, align 4, !tbaa !10
%19 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %18, i64 noundef 0) #2
%20 = load i32, ptr @SOTG_EP_TYPE, align 4, !tbaa !10
%21 = load i64, ptr @SOTG_EP_TYPE_ENABLE, align 8, !tbaa !6
%22 = or i64 %21, %2
%23 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %20, i64 noundef %22) #2
%24 = load i32, ptr @SOTG_CTRL_FUNC, align 4, !tbaa !10
%25 = load i64, ptr @SOTG_CTRL_FUNC_CLBUF, align 8, !tbaa !6
%26 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %24, i64 noundef %25) #2
%27 = load i32, ptr @SOTG_CTRL_FUNC, align 4, !tbaa !10
%28 = tail call i32 @SAF1761_WRITE_LE_4(ptr noundef %0, i32 noundef %27, i64 noundef 0) #2
br label %29
29: ; preds = %4, %7
ret void
}
declare i32 @SAF1761_WRITE_LE_4(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_sys_dev_usb_controller_extr_saf1761_otg.c_saf1761_otg_clear_stall_sub_locked |
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libxslt/extr_xslt.c_xsltFreeTemplateList.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_xslt.c_xsltFreeTemplateList.c"
target datalayout = "e-m:e-p270:32:32-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 @xsltFreeTemplateList], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xsltFreeTemplateList(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1, %3
%4 = phi ptr [ %5, %3 ], [ %0, %1 ]
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = tail call i32 @xsltFreeTemplate(ptr noundef nonnull %4) #2
%7 = icmp eq ptr %5, null
br i1 %7, label %8, label %3, !llvm.loop !10
8: ; preds = %3, %1
ret void
}
declare i32 @xsltFreeTemplate(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 = !{!"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/reactos/dll/3rdparty/libxslt/extr_xslt.c_xsltFreeTemplateList.c'
source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_xslt.c_xsltFreeTemplateList.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 @xsltFreeTemplateList], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xsltFreeTemplateList(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %8, label %3
3: ; preds = %1, %3
%4 = phi ptr [ %5, %3 ], [ %0, %1 ]
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = tail call i32 @xsltFreeTemplate(ptr noundef nonnull %4) #2
%7 = icmp eq ptr %5, null
br i1 %7, label %8, label %3, !llvm.loop !11
8: ; preds = %3, %1
ret void
}
declare i32 @xsltFreeTemplate(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 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| reactos_dll_3rdparty_libxslt_extr_xslt.c_xsltFreeTemplateList |
; ModuleID = 'AnghaBench/linux/kernel/trace/extr_tracing_map.c_destroy_sort_entry.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_tracing_map.c_destroy_sort_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tracing_map_sort_entry = type { i32, i64 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @destroy_sort_entry], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @destroy_sort_entry(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %12, label %3
3: ; preds = %1
%4 = getelementptr inbounds %struct.tracing_map_sort_entry, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 8, !tbaa !11
%9 = tail call i32 @tracing_map_elt_free(i32 noundef %8) #2
br label %10
10: ; preds = %7, %3
%11 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %1, %10
ret void
}
declare i32 @tracing_map_elt_free(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"tracing_map_sort_entry", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/kernel/trace/extr_tracing_map.c_destroy_sort_entry.c'
source_filename = "AnghaBench/linux/kernel/trace/extr_tracing_map.c_destroy_sort_entry.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 @destroy_sort_entry], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @destroy_sort_entry(ptr noundef %0) #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %12, label %3
3: ; preds = %1
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %3
%8 = load i32, ptr %0, align 8, !tbaa !12
%9 = tail call i32 @tracing_map_elt_free(i32 noundef %8) #2
br label %10
10: ; preds = %7, %3
%11 = tail call i32 @kfree(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %1, %10
ret void
}
declare i32 @tracing_map_elt_free(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"tracing_map_sort_entry", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !8, i64 0}
| linux_kernel_trace_extr_tracing_map.c_destroy_sort_entry |
; ModuleID = 'AnghaBench/freebsd/lib/libifconfig/extr_libifconfig.c_ifconfig_close.c'
source_filename = "AnghaBench/freebsd/lib/libifconfig/extr_libifconfig.c_ifconfig_close.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, i32 }
@AF_MAX = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @ifconfig_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AF_MAX, align 4, !tbaa !5
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %19, %1
%5 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%6 = load i32, ptr %5, align 8, !tbaa !9
%7 = tail call i32 @freeifaddrs(i32 noundef %6) #2
%8 = tail call i32 @free(ptr noundef %0) #2
ret void
9: ; preds = %1, %19
%10 = phi i32 [ %20, %19 ], [ %2, %1 ]
%11 = phi i64 [ %21, %19 ], [ 0, %1 ]
%12 = load ptr, ptr %0, align 8, !tbaa !12
%13 = getelementptr inbounds i32, ptr %12, i64 %11
%14 = load i32, ptr %13, align 4, !tbaa !5
%15 = icmp eq i32 %14, -1
br i1 %15, label %19, label %16
16: ; preds = %9
%17 = tail call i32 @close(i32 noundef %14) #2
%18 = load i32, ptr @AF_MAX, align 4, !tbaa !5
br label %19
19: ; preds = %9, %16
%20 = phi i32 [ %10, %9 ], [ %18, %16 ]
%21 = add nuw nsw i64 %11, 1
%22 = sext i32 %20 to i64
%23 = icmp slt i64 %11, %22
br i1 %23, label %9, label %4, !llvm.loop !13
}
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @freeifaddrs(i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"TYPE_4__", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/lib/libifconfig/extr_libifconfig.c_ifconfig_close.c'
source_filename = "AnghaBench/freebsd/lib/libifconfig/extr_libifconfig.c_ifconfig_close.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AF_MAX = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @ifconfig_close(ptr noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @AF_MAX, align 4, !tbaa !6
%3 = icmp slt i32 %2, 0
br i1 %3, label %4, label %9
4: ; preds = %19, %1
%5 = getelementptr inbounds i8, ptr %0, i64 8
%6 = load i32, ptr %5, align 8, !tbaa !10
%7 = tail call i32 @freeifaddrs(i32 noundef %6) #2
%8 = tail call i32 @free(ptr noundef %0) #2
ret void
9: ; preds = %1, %19
%10 = phi i32 [ %20, %19 ], [ %2, %1 ]
%11 = phi i64 [ %21, %19 ], [ 0, %1 ]
%12 = load ptr, ptr %0, align 8, !tbaa !13
%13 = getelementptr inbounds i32, ptr %12, i64 %11
%14 = load i32, ptr %13, align 4, !tbaa !6
%15 = icmp eq i32 %14, -1
br i1 %15, label %19, label %16
16: ; preds = %9
%17 = tail call i32 @close(i32 noundef %14) #2
%18 = load i32, ptr @AF_MAX, align 4, !tbaa !6
br label %19
19: ; preds = %9, %16
%20 = phi i32 [ %10, %9 ], [ %18, %16 ]
%21 = add nuw nsw i64 %11, 1
%22 = sext i32 %20 to i64
%23 = icmp slt i64 %11, %22
br i1 %23, label %9, label %4, !llvm.loop !14
}
declare i32 @close(i32 noundef) local_unnamed_addr #1
declare i32 @freeifaddrs(i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"TYPE_4__", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| freebsd_lib_libifconfig_extr_libifconfig.c_ifconfig_close |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpas_enable_mac_addr_randomization.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpas_enable_mac_addr_randomization.c"
target datalayout = "e-m:e-p270:32:32-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.wpa_supplicant = type { i64, i64 }
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"MAC_ADDR_RAND_SCAN invalid addr/mask combination\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"MAC_ADDR_RAND_SCAN cannot allow multicast address\00", align 1
@MAC_ADDR_RAND_SCAN = dso_local local_unnamed_addr global i32 0, align 4
@MAC_ADDR_RAND_SCHED_SCAN = dso_local local_unnamed_addr global i32 0, align 4
@MAC_ADDR_RAND_PNO = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @wpas_enable_mac_addr_randomization(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp ne ptr %3, null
%6 = icmp ne ptr %2, null
%7 = xor i1 %6, %5
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @MSG_INFO, align 4, !tbaa !5
%10 = tail call i32 @wpa_printf(i32 noundef %9, ptr noundef nonnull @.str) #2
br label %60
11: ; preds = %4
%12 = and i1 %6, %5
br i1 %12, label %13, label %24
13: ; preds = %11
%14 = load i32, ptr %3, align 4, !tbaa !5
%15 = and i32 %14, 1
%16 = icmp eq i32 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i32, ptr %2, align 4, !tbaa !5
%19 = and i32 %18, 1
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17, %13
%22 = load i32, ptr @MSG_INFO, align 4, !tbaa !5
%23 = tail call i32 @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str.1) #2
br label %60
24: ; preds = %17, %11
%25 = load i32, ptr @MAC_ADDR_RAND_SCAN, align 4, !tbaa !5
%26 = and i32 %25, %1
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %25, ptr noundef %2, ptr noundef %3) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %60
31: ; preds = %28, %24
%32 = load i32, ptr @MAC_ADDR_RAND_SCHED_SCAN, align 4, !tbaa !5
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
br i1 %34, label %47, label %35
35: ; preds = %31
%36 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %32, ptr noundef %2, ptr noundef %3) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %60
38: ; preds = %35
%39 = getelementptr inbounds %struct.wpa_supplicant, ptr %0, i64 0, i32 1
%40 = load i64, ptr %39, align 8, !tbaa !9
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %38
%43 = load i64, ptr %0, align 8, !tbaa !12
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = tail call i32 @wpas_scan_restart_sched_scan(ptr noundef nonnull %0) #2
br label %47
47: ; preds = %38, %42, %45, %31
%48 = load i32, ptr @MAC_ADDR_RAND_PNO, align 4, !tbaa !5
%49 = and i32 %48, %1
%50 = icmp eq i32 %49, 0
br i1 %50, label %60, label %51
51: ; preds = %47
%52 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %48, ptr noundef %2, ptr noundef %3) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = load i64, ptr %0, align 8, !tbaa !12
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = tail call i32 @wpas_stop_pno(ptr noundef nonnull %0) #2
%59 = tail call i32 @wpas_start_pno(ptr noundef nonnull %0) #2
br label %60
60: ; preds = %47, %57, %54, %51, %35, %28, %21, %8
%61 = phi i32 [ -1, %8 ], [ -1, %21 ], [ -1, %28 ], [ -1, %35 ], [ -1, %51 ], [ 0, %54 ], [ 0, %57 ], [ 0, %47 ]
ret i32 %61
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @wpas_mac_addr_rand_scan_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpas_scan_restart_sched_scan(ptr noundef) local_unnamed_addr #1
declare i32 @wpas_stop_pno(ptr noundef) local_unnamed_addr #1
declare i32 @wpas_start_pno(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 8}
!10 = !{!"wpa_supplicant", !11, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpas_enable_mac_addr_randomization.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpas_enable_mac_addr_randomization.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"MAC_ADDR_RAND_SCAN invalid addr/mask combination\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"MAC_ADDR_RAND_SCAN cannot allow multicast address\00", align 1
@MAC_ADDR_RAND_SCAN = common local_unnamed_addr global i32 0, align 4
@MAC_ADDR_RAND_SCHED_SCAN = common local_unnamed_addr global i32 0, align 4
@MAC_ADDR_RAND_PNO = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 -1, 1) i32 @wpas_enable_mac_addr_randomization(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
%5 = icmp ne ptr %3, null
%6 = icmp ne ptr %2, null
%7 = xor i1 %6, %5
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr @MSG_INFO, align 4, !tbaa !6
%10 = tail call i32 @wpa_printf(i32 noundef %9, ptr noundef nonnull @.str) #2
br label %60
11: ; preds = %4
%12 = and i1 %6, %5
br i1 %12, label %13, label %24
13: ; preds = %11
%14 = load i32, ptr %3, align 4, !tbaa !6
%15 = and i32 %14, 1
%16 = icmp eq i32 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i32, ptr %2, align 4, !tbaa !6
%19 = and i32 %18, 1
%20 = icmp eq i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %17, %13
%22 = load i32, ptr @MSG_INFO, align 4, !tbaa !6
%23 = tail call i32 @wpa_printf(i32 noundef %22, ptr noundef nonnull @.str.1) #2
br label %60
24: ; preds = %17, %11
%25 = load i32, ptr @MAC_ADDR_RAND_SCAN, align 4, !tbaa !6
%26 = and i32 %25, %1
%27 = icmp eq i32 %26, 0
br i1 %27, label %31, label %28
28: ; preds = %24
%29 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %25, ptr noundef %2, ptr noundef %3) #2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %60
31: ; preds = %28, %24
%32 = load i32, ptr @MAC_ADDR_RAND_SCHED_SCAN, align 4, !tbaa !6
%33 = and i32 %32, %1
%34 = icmp eq i32 %33, 0
br i1 %34, label %47, label %35
35: ; preds = %31
%36 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %32, ptr noundef %2, ptr noundef %3) #2
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %60
38: ; preds = %35
%39 = getelementptr inbounds i8, ptr %0, i64 8
%40 = load i64, ptr %39, align 8, !tbaa !10
%41 = icmp eq i64 %40, 0
br i1 %41, label %47, label %42
42: ; preds = %38
%43 = load i64, ptr %0, align 8, !tbaa !13
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = tail call i32 @wpas_scan_restart_sched_scan(ptr noundef nonnull %0) #2
br label %47
47: ; preds = %38, %42, %45, %31
%48 = load i32, ptr @MAC_ADDR_RAND_PNO, align 4, !tbaa !6
%49 = and i32 %48, %1
%50 = icmp eq i32 %49, 0
br i1 %50, label %60, label %51
51: ; preds = %47
%52 = tail call i64 @wpas_mac_addr_rand_scan_set(ptr noundef %0, i32 noundef %48, ptr noundef %2, ptr noundef %3) #2
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = load i64, ptr %0, align 8, !tbaa !13
%56 = icmp eq i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %54
%58 = tail call i32 @wpas_stop_pno(ptr noundef nonnull %0) #2
%59 = tail call i32 @wpas_start_pno(ptr noundef nonnull %0) #2
br label %60
60: ; preds = %47, %57, %54, %51, %35, %28, %21, %8
%61 = phi i32 [ -1, %8 ], [ -1, %21 ], [ -1, %28 ], [ -1, %35 ], [ -1, %51 ], [ 0, %54 ], [ 0, %57 ], [ 0, %47 ]
ret i32 %61
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @wpas_mac_addr_rand_scan_set(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @wpas_scan_restart_sched_scan(ptr noundef) local_unnamed_addr #1
declare i32 @wpas_stop_pno(ptr noundef) local_unnamed_addr #1
declare i32 @wpas_start_pno(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 8}
!11 = !{!"wpa_supplicant", !12, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!11, !12, i64 0}
| freebsd_contrib_wpa_wpa_supplicant_extr_wpa_supplicant.c_wpas_enable_mac_addr_randomization |
; ModuleID = 'AnghaBench/linux/fs/afs/extr_vl_probe.c_afs_send_vl_probes.c'
source_filename = "AnghaBench/linux/fs/afs/extr_vl_probe.c_afs_send_vl_probes.c"
target datalayout = "e-m:e-p270:32:32-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.afs_error = type { i32, i32 }
%struct.afs_vlserver_list = type { i32, ptr }
%struct.TYPE_2__ = type { ptr }
@AFS_VLSERVER_FL_PROBED = dso_local local_unnamed_addr global i32 0, align 4
@AFS_VLSERVER_FL_PROBING = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @afs_send_vl_probes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.afs_error, align 4
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store i32 0, ptr %4, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.afs_error, ptr %4, i64 0, i32 1
store i32 0, ptr %5, align 4, !tbaa !10
%6 = load i32, ptr %2, align 8, !tbaa !11
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %38
8: ; preds = %3
%9 = getelementptr inbounds %struct.afs_vlserver_list, ptr %2, i64 0, i32 1
br label %10
10: ; preds = %8, %28
%11 = phi i64 [ 0, %8 ], [ %30, %28 ]
%12 = phi i32 [ 0, %8 ], [ %29, %28 ]
%13 = load ptr, ptr %9, align 8, !tbaa !14
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i64 %11
%15 = load ptr, ptr %14, align 8, !tbaa !15
%16 = load i32, ptr @AFS_VLSERVER_FL_PROBED, align 4, !tbaa !17
%17 = call i64 @test_bit(i32 noundef %16, ptr noundef %15) #3
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %28
19: ; preds = %10
%20 = load i32, ptr @AFS_VLSERVER_FL_PROBING, align 4, !tbaa !17
%21 = call i32 @test_and_set_bit_lock(i32 noundef %20, ptr noundef %15) #3
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = trunc i64 %11 to i32
%25 = call i64 @afs_do_probe_vlserver(ptr noundef %0, ptr noundef %15, ptr noundef %1, i32 noundef %24, ptr noundef nonnull %4) #3
%26 = icmp eq i64 %25, 0
%27 = select i1 %26, i32 %12, i32 1
br label %28
28: ; preds = %23, %19, %10
%29 = phi i32 [ %12, %10 ], [ %12, %19 ], [ %27, %23 ]
%30 = add nuw nsw i64 %11, 1
%31 = load i32, ptr %2, align 8, !tbaa !11
%32 = sext i32 %31 to i64
%33 = icmp slt i64 %30, %32
br i1 %33, label %10, label %34, !llvm.loop !18
34: ; preds = %28
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %29, 0
%37 = select i1 %36, i32 %35, i32 0
br label %38
38: ; preds = %34, %3
%39 = phi i32 [ 0, %3 ], [ %37, %34 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %39
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @afs_do_probe_vlserver(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"afs_error", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !7, i64 0}
!12 = !{!"afs_vlserver_list", !7, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !13, i64 0}
!16 = !{!"TYPE_2__", !13, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/fs/afs/extr_vl_probe.c_afs_send_vl_probes.c'
source_filename = "AnghaBench/linux/fs/afs/extr_vl_probe.c_afs_send_vl_probes.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.afs_error = type { i32, i32 }
%struct.TYPE_2__ = type { ptr }
@AFS_VLSERVER_FL_PROBED = common local_unnamed_addr global i32 0, align 4
@AFS_VLSERVER_FL_PROBING = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @afs_send_vl_probes(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
%4 = alloca %struct.afs_error, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
store <2 x i32> zeroinitializer, ptr %4, align 8, !tbaa !6
%5 = load i32, ptr %2, align 8, !tbaa !10
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %37
7: ; preds = %3
%8 = getelementptr inbounds i8, ptr %2, i64 8
br label %9
9: ; preds = %7, %27
%10 = phi i64 [ 0, %7 ], [ %29, %27 ]
%11 = phi i32 [ 0, %7 ], [ %28, %27 ]
%12 = load ptr, ptr %8, align 8, !tbaa !13
%13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10
%14 = load ptr, ptr %13, align 8, !tbaa !14
%15 = load i32, ptr @AFS_VLSERVER_FL_PROBED, align 4, !tbaa !6
%16 = call i64 @test_bit(i32 noundef %15, ptr noundef %14) #3
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %9
%19 = load i32, ptr @AFS_VLSERVER_FL_PROBING, align 4, !tbaa !6
%20 = call i32 @test_and_set_bit_lock(i32 noundef %19, ptr noundef %14) #3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = trunc nuw nsw i64 %10 to i32
%24 = call i64 @afs_do_probe_vlserver(ptr noundef %0, ptr noundef %14, ptr noundef %1, i32 noundef %23, ptr noundef nonnull %4) #3
%25 = icmp eq i64 %24, 0
%26 = select i1 %25, i32 %11, i32 1
br label %27
27: ; preds = %22, %18, %9
%28 = phi i32 [ %11, %9 ], [ %11, %18 ], [ %26, %22 ]
%29 = add nuw nsw i64 %10, 1
%30 = load i32, ptr %2, align 8, !tbaa !10
%31 = sext i32 %30 to i64
%32 = icmp slt i64 %29, %31
br i1 %32, label %9, label %33, !llvm.loop !16
33: ; preds = %27
%34 = load i32, ptr %4, align 8
%35 = icmp eq i32 %28, 0
%36 = select i1 %35, i32 %34, i32 0
br label %37
37: ; preds = %33, %3
%38 = phi i32 [ 0, %3 ], [ %36, %33 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
ret i32 %38
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @test_and_set_bit_lock(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @afs_do_probe_vlserver(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"afs_vlserver_list", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 8}
!14 = !{!15, !12, i64 0}
!15 = !{!"TYPE_2__", !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| linux_fs_afs_extr_vl_probe.c_afs_send_vl_probes |
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pwm-fan.c___set_pwm.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_pwm-fan.c___set_pwm.c"
target datalayout = "e-m:e-p270:32:32-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.pwm_state = type { i32, i32 }
%struct.pwm_fan_ctx = type { i64, i32, ptr }
@MAX_PWM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @__set_pwm], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @__set_pwm(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.pwm_state, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%4 = getelementptr inbounds %struct.pwm_fan_ctx, ptr %0, i64 0, i32 1
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #3
%6 = load i64, ptr %0, align 8, !tbaa !5
%7 = icmp eq i64 %6, %1
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.pwm_fan_ctx, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = call i32 @pwm_init_state(ptr noundef %10, ptr noundef nonnull %3) #3
%12 = load ptr, ptr %9, align 8, !tbaa !12
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = add i64 %13, -1
%15 = mul i64 %14, %1
%16 = load i32, ptr @MAX_PWM, align 4, !tbaa !16
%17 = call i32 @DIV_ROUND_UP(i64 noundef %15, i32 noundef %16) #3
%18 = getelementptr inbounds %struct.pwm_state, ptr %3, i64 0, i32 1
store i32 %17, ptr %18, align 4, !tbaa !17
%19 = icmp ne i64 %1, 0
%20 = zext i1 %19 to i32
store i32 %20, ptr %3, align 8, !tbaa !19
%21 = load ptr, ptr %9, align 8, !tbaa !12
%22 = call i32 @pwm_apply_state(ptr noundef %21, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %8
store i64 %1, ptr %0, align 8, !tbaa !5
br label %25
25: ; preds = %8, %24, %2
%26 = phi i32 [ 0, %2 ], [ %22, %8 ], [ 0, %24 ]
%27 = call i32 @mutex_unlock(ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @pwm_init_state(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pwm_apply_state(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"pwm_fan_ctx", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 16}
!13 = !{!14, !7, i64 0}
!14 = !{!"TYPE_5__", !15, i64 0}
!15 = !{!"TYPE_4__", !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !10, i64 4}
!18 = !{!"pwm_state", !10, i64 0, !10, i64 4}
!19 = !{!18, !10, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pwm-fan.c___set_pwm.c'
source_filename = "AnghaBench/linux/drivers/hwmon/extr_pwm-fan.c___set_pwm.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.pwm_state = type { i32, i32 }
@MAX_PWM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @__set_pwm], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @__set_pwm(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca %struct.pwm_state, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
store i64 0, ptr %3, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = tail call i32 @mutex_lock(ptr noundef nonnull %4) #3
%6 = load i64, ptr %0, align 8, !tbaa !6
%7 = icmp eq i64 %6, %1
br i1 %7, label %25, label %8
8: ; preds = %2
%9 = getelementptr inbounds i8, ptr %0, i64 16
%10 = load ptr, ptr %9, align 8, !tbaa !13
%11 = call i32 @pwm_init_state(ptr noundef %10, ptr noundef nonnull %3) #3
%12 = load ptr, ptr %9, align 8, !tbaa !13
%13 = load i64, ptr %12, align 8, !tbaa !14
%14 = add i64 %13, -1
%15 = mul i64 %14, %1
%16 = load i32, ptr @MAX_PWM, align 4, !tbaa !17
%17 = call i32 @DIV_ROUND_UP(i64 noundef %15, i32 noundef %16) #3
%18 = getelementptr inbounds i8, ptr %3, i64 4
store i32 %17, ptr %18, align 4, !tbaa !18
%19 = icmp ne i64 %1, 0
%20 = zext i1 %19 to i32
store i32 %20, ptr %3, align 8, !tbaa !20
%21 = load ptr, ptr %9, align 8, !tbaa !13
%22 = call i32 @pwm_apply_state(ptr noundef %21, ptr noundef nonnull %3) #3
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %8
store i64 %1, ptr %0, align 8, !tbaa !6
br label %25
25: ; preds = %8, %24, %2
%26 = phi i32 [ 0, %2 ], [ %22, %8 ], [ 0, %24 ]
%27 = call i32 @mutex_unlock(ptr noundef nonnull %4) #3
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %26
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2
declare i32 @pwm_init_state(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @DIV_ROUND_UP(i64 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @pwm_apply_state(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"pwm_fan_ctx", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!7, !12, i64 16}
!14 = !{!15, !8, i64 0}
!15 = !{!"TYPE_5__", !16, i64 0}
!16 = !{!"TYPE_4__", !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 4}
!19 = !{!"pwm_state", !11, i64 0, !11, i64 4}
!20 = !{!19, !11, i64 0}
| linux_drivers_hwmon_extr_pwm-fan.c___set_pwm |
; ModuleID = 'AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_unmap.c'
source_filename = "AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_unmap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @bus_unmap(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @bs_unmap(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = load i32, ptr @errno, align 4
%5 = select i1 %3, i32 %4, i32 0
ret i32 %5
}
declare i32 @bs_unmap(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/tools/bus_space/C/extr_lang.c_bus_unmap.c'
source_filename = "AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_unmap.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @bus_unmap(i32 noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @bs_unmap(i32 noundef %0) #2
%3 = icmp eq i32 %2, 0
%4 = load i32, ptr @errno, align 4
%5 = select i1 %3, i32 %4, i32 0
ret i32 %5
}
declare i32 @bs_unmap(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_tools_bus_space_C_extr_lang.c_bus_unmap |
; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_yv12toyuy2_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_yv12toyuy2_c.c"
target datalayout = "e-m:e-p270:32:32-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 @yv12toyuy2_c], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @yv12toyuy2_c(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = tail call i32 @yuvPlanartoyuy2_c(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 2) #2
ret void
}
declare i32 @yuvPlanartoyuy2_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_yv12toyuy2_c.c'
source_filename = "AnghaBench/FFmpeg/libswscale/extr_rgb2rgb_template.c_yv12toyuy2_c.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 @yv12toyuy2_c], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @yv12toyuy2_c(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = tail call i32 @yuvPlanartoyuy2_c(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef 2) #2
ret void
}
declare i32 @yuvPlanartoyuy2_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| FFmpeg_libswscale_extr_rgb2rgb_template.c_yv12toyuy2_c |
; ModuleID = 'AnghaBench/linux/drivers/usb/misc/extr_usb4604.c_usb4604_i2c_probe.c'
source_filename = "AnghaBench/linux/drivers/usb/misc/extr_usb4604.c_usb4604_i2c_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"
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @usb4604_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @usb4604_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 8, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %12
9: ; preds = %2
%10 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %4) #2
store ptr %0, ptr %4, align 8, !tbaa !9
%11 = tail call i32 @usb4604_probe(ptr noundef nonnull %4) #2
br label %12
12: ; preds = %9, %6
%13 = phi i32 [ %11, %9 ], [ %8, %6 ]
ret i32 %13
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb4604_probe(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 = !{!"usb4604", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/usb/misc/extr_usb4604.c_usb4604_i2c_probe.c'
source_filename = "AnghaBench/linux/drivers/usb/misc/extr_usb4604.c_usb4604_i2c_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @usb4604_i2c_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @usb4604_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 8, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %12
9: ; preds = %2
%10 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %4) #2
store ptr %0, ptr %4, align 8, !tbaa !10
%11 = tail call i32 @usb4604_probe(ptr noundef nonnull %4) #2
br label %12
12: ; preds = %9, %6
%13 = phi i32 [ %11, %9 ], [ %8, %6 ]
ret i32 %13
}
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @usb4604_probe(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 = !{!"usb4604", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
| linux_drivers_usb_misc_extr_usb4604.c_usb4604_i2c_probe |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_get_txn_proplist.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_get_txn_proplist.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SVN_ERR_INCORRECT_PARAMS = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [71 x i8] c"Internal error: a null transaction id was passed to get_txn_proplist()\00", align 1
@SVN_HASH_TERMINATOR = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"malformed property list in transaction '%s'\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_txn_proplist], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_txn_proplist(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = icmp eq ptr %2, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = tail call i32 @svn_fs_fs__id_txn_used(ptr noundef nonnull %2) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7, %4
%11 = load i32, ptr @SVN_ERR_INCORRECT_PARAMS, align 4, !tbaa !5
%12 = tail call i32 @_(ptr noundef nonnull @.str) #3
%13 = tail call ptr @svn_error_create(i32 noundef %11, ptr noundef null, i32 noundef %12) #3
br label %29
14: ; preds = %7
%15 = tail call i32 @path_txn_props(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #3
%16 = call i32 @svn_stream_open_readonly(ptr noundef nonnull %5, i32 noundef %15, ptr noundef %3, ptr noundef %3) #3
%17 = call i32 @SVN_ERR(i32 noundef %16) #3
%18 = load ptr, ptr %5, align 8, !tbaa !9
%19 = load i32, ptr @SVN_HASH_TERMINATOR, align 4, !tbaa !5
%20 = call ptr @svn_hash_read2(ptr noundef %0, ptr noundef %18, i32 noundef %19, ptr noundef %3) #3
%21 = icmp eq ptr %20, null
%22 = load ptr, ptr %5, align 8, !tbaa !9
%23 = call ptr @svn_stream_close(ptr noundef %22) #3
br i1 %21, label %29, label %24
24: ; preds = %14
%25 = call ptr @svn_error_compose_create(ptr noundef nonnull %20, ptr noundef %23) #3
%26 = call i32 @_(ptr noundef nonnull @.str.1) #3
%27 = call i32 @path_txn_props(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #3
%28 = call ptr @svn_error_quick_wrapf(ptr noundef %25, i32 noundef %26, i32 noundef %27) #3
br label %29
29: ; preds = %14, %24, %10
%30 = phi ptr [ %28, %24 ], [ %13, %10 ], [ %23, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %30
}
; 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_fs_fs__id_txn_used(ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_stream_open_readonly(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @path_txn_props(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_hash_read2(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_compose_create(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_stream_close(ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_quick_wrapf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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/subversion/subversion/libsvn_fs_fs/extr_transaction.c_get_txn_proplist.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_transaction.c_get_txn_proplist.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SVN_ERR_INCORRECT_PARAMS = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [71 x i8] c"Internal error: a null transaction id was passed to get_txn_proplist()\00", align 1
@SVN_HASH_TERMINATOR = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [44 x i8] c"malformed property list in transaction '%s'\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @get_txn_proplist], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_txn_proplist(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
%6 = icmp eq ptr %2, null
br i1 %6, label %10, label %7
7: ; preds = %4
%8 = tail call i32 @svn_fs_fs__id_txn_used(ptr noundef nonnull %2) #3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7, %4
%11 = load i32, ptr @SVN_ERR_INCORRECT_PARAMS, align 4, !tbaa !6
%12 = tail call i32 @_(ptr noundef nonnull @.str) #3
%13 = tail call ptr @svn_error_create(i32 noundef %11, ptr noundef null, i32 noundef %12) #3
br label %29
14: ; preds = %7
%15 = tail call i32 @path_txn_props(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #3
%16 = call i32 @svn_stream_open_readonly(ptr noundef nonnull %5, i32 noundef %15, ptr noundef %3, ptr noundef %3) #3
%17 = call i32 @SVN_ERR(i32 noundef %16) #3
%18 = load ptr, ptr %5, align 8, !tbaa !10
%19 = load i32, ptr @SVN_HASH_TERMINATOR, align 4, !tbaa !6
%20 = call ptr @svn_hash_read2(ptr noundef %0, ptr noundef %18, i32 noundef %19, ptr noundef %3) #3
%21 = icmp eq ptr %20, null
%22 = load ptr, ptr %5, align 8, !tbaa !10
%23 = call ptr @svn_stream_close(ptr noundef %22) #3
br i1 %21, label %29, label %24
24: ; preds = %14
%25 = call ptr @svn_error_compose_create(ptr noundef nonnull %20, ptr noundef %23) #3
%26 = call i32 @_(ptr noundef nonnull @.str.1) #3
%27 = call i32 @path_txn_props(ptr noundef %1, ptr noundef nonnull %2, ptr noundef %3) #3
%28 = call ptr @svn_error_quick_wrapf(ptr noundef %25, i32 noundef %26, i32 noundef %27) #3
br label %29
29: ; preds = %14, %24, %10
%30 = phi ptr [ %28, %24 ], [ %13, %10 ], [ %23, %14 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
ret ptr %30
}
; 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_fs_fs__id_txn_used(ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @_(ptr noundef) local_unnamed_addr #2
declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2
declare i32 @svn_stream_open_readonly(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @path_txn_props(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_hash_read2(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_compose_create(ptr noundef, ptr noundef) local_unnamed_addr #2
declare ptr @svn_stream_close(ptr noundef) local_unnamed_addr #2
declare ptr @svn_error_quick_wrapf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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_subversion_subversion_libsvn_fs_fs_extr_transaction.c_get_txn_proplist |
; ModuleID = 'AnghaBench/linux/fs/ceph/extr_mds_client.c_request_close_session.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_mds_client.c_request_close_session.c"
target datalayout = "e-m:e-p270:32:32-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.ceph_mds_session = type { i32, i32, i32, i32 }
@.str = private unnamed_addr constant [47 x i8] c"request_close_session mds%d state %s seq %lld\0A\00", align 1
@CEPH_SESSION_REQUEST_CLOSE = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @request_close_session], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @request_close_session(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds %struct.ceph_mds_session, ptr %1, i64 0, i32 3
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.ceph_mds_session, ptr %1, i64 0, i32 2
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = tail call i32 @ceph_session_state_name(i32 noundef %6) #2
%8 = getelementptr inbounds %struct.ceph_mds_session, ptr %1, i64 0, i32 1
%9 = load i32, ptr %8, align 4, !tbaa !11
%10 = tail call i32 @dout(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %7, i32 noundef %9) #2
%11 = load i32, ptr @CEPH_SESSION_REQUEST_CLOSE, align 4, !tbaa !12
%12 = load i32, ptr %8, align 4, !tbaa !11
%13 = tail call ptr @create_session_msg(i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !12
%17 = sub nsw i32 0, %16
br label %20
18: ; preds = %2
%19 = tail call i32 @ceph_con_send(ptr noundef nonnull %1, ptr noundef nonnull %13) #2
br label %20
20: ; preds = %18, %15
%21 = phi i32 [ 1, %18 ], [ %17, %15 ]
ret i32 %21
}
declare i32 @dout(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ceph_session_state_name(i32 noundef) local_unnamed_addr #1
declare ptr @create_session_msg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ceph_con_send(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 = !{!"ceph_mds_session", !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 8}
!11 = !{!6, !7, i64 4}
!12 = !{!7, !7, i64 0}
| ; ModuleID = 'AnghaBench/linux/fs/ceph/extr_mds_client.c_request_close_session.c'
source_filename = "AnghaBench/linux/fs/ceph/extr_mds_client.c_request_close_session.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@.str = private unnamed_addr constant [47 x i8] c"request_close_session mds%d state %s seq %lld\0A\00", align 1
@CEPH_SESSION_REQUEST_CLOSE = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @request_close_session], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @request_close_session(ptr nocapture readnone %0, ptr noundef %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 12
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 8
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = tail call i32 @ceph_session_state_name(i32 noundef %6) #2
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = load i32, ptr %8, align 4, !tbaa !12
%10 = tail call i32 @dout(ptr noundef nonnull @.str, i32 noundef %4, i32 noundef %7, i32 noundef %9) #2
%11 = load i32, ptr @CEPH_SESSION_REQUEST_CLOSE, align 4, !tbaa !13
%12 = load i32, ptr %8, align 4, !tbaa !12
%13 = tail call ptr @create_session_msg(i32 noundef %11, i32 noundef %12) #2
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = load i32, ptr @ENOMEM, align 4, !tbaa !13
%17 = sub nsw i32 0, %16
br label %20
18: ; preds = %2
%19 = tail call i32 @ceph_con_send(ptr noundef nonnull %1, ptr noundef nonnull %13) #2
br label %20
20: ; preds = %18, %15
%21 = phi i32 [ 1, %18 ], [ %17, %15 ]
ret i32 %21
}
declare i32 @dout(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ceph_session_state_name(i32 noundef) local_unnamed_addr #1
declare ptr @create_session_msg(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @ceph_con_send(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 = !{!"ceph_mds_session", !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 8}
!12 = !{!7, !8, i64 4}
!13 = !{!8, !8, i64 0}
| linux_fs_ceph_extr_mds_client.c_request_close_session |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_hw.h_alx_write_mem8.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_hw.h_alx_write_mem8.c"
target datalayout = "e-m:e-p270:32:32-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 @alx_write_mem8], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @alx_write_mem8(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !5
%5 = add nsw i64 %4, %1
%6 = tail call i32 @writeb(i32 noundef %2, i64 noundef %5) #2
ret void
}
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"alx_hw", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_hw.h_alx_write_mem8.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/atheros/alx/extr_hw.h_alx_write_mem8.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 @alx_write_mem8], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @alx_write_mem8(ptr nocapture noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = load i64, ptr %0, align 8, !tbaa !6
%5 = add nsw i64 %4, %1
%6 = tail call i32 @writeb(i32 noundef %2, i64 noundef %5) #2
ret void
}
declare i32 @writeb(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"alx_hw", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_atheros_alx_extr_hw.h_alx_write_mem8 |
; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_save.c_get_serialized_data.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_save.c_get_serialized_data.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { i64, ptr }
@.str = private unnamed_addr constant [12 x i8] c"%s: %d %s.\0A\00", align 1
@MSG_STATE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@MSG_BYTES = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_serialized_data], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef ptr @get_serialized_data(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
%4 = icmp eq i64 %1, 0
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = tail call ptr @malloc(i64 noundef %1) #5
%7 = icmp eq ptr %6, null
br i1 %7, label %20, label %8
8: ; preds = %5
%9 = load i32, ptr @MSG_STATE_SIZE, align 4, !tbaa !5
%10 = tail call i32 @msg_hash_to_str(i32 noundef %9) #4
%11 = trunc i64 %1 to i32
%12 = load i32, ptr @MSG_BYTES, align 4, !tbaa !5
%13 = tail call i32 @msg_hash_to_str(i32 noundef %12) #4
%14 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %11, i32 noundef %13) #4
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1
store ptr %6, ptr %15, align 8, !tbaa !9
store i64 %1, ptr %3, align 8, !tbaa !13
%16 = call i32 @core_serialize(ptr noundef nonnull %3) #4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %8
%19 = call i32 @free(ptr noundef nonnull %6) #4
br label %20
20: ; preds = %8, %5, %2, %18
%21 = phi ptr [ null, %18 ], [ null, %2 ], [ null, %5 ], [ %6, %8 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
ret ptr %21
}
; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2
declare i32 @RARCH_LOG(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #3
declare i32 @core_serialize(ptr noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"TYPE_3__", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !11, i64 0}
| ; ModuleID = 'AnghaBench/RetroArch/griffin/extr_..taskstask_save.c_get_serialized_data.c'
source_filename = "AnghaBench/RetroArch/griffin/extr_..taskstask_save.c_get_serialized_data.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i64, ptr }
@.str = private unnamed_addr constant [12 x i8] c"%s: %d %s.\0A\00", align 1
@MSG_STATE_SIZE = common local_unnamed_addr global i32 0, align 4
@MSG_BYTES = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_serialized_data], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal noundef ptr @get_serialized_data(ptr nocapture readnone %0, i64 noundef %1) #0 {
%3 = alloca %struct.TYPE_3__, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
%4 = icmp eq i64 %1, 0
br i1 %4, label %20, label %5
5: ; preds = %2
%6 = tail call ptr @malloc(i64 noundef %1) #5
%7 = icmp eq ptr %6, null
br i1 %7, label %20, label %8
8: ; preds = %5
%9 = load i32, ptr @MSG_STATE_SIZE, align 4, !tbaa !6
%10 = tail call i32 @msg_hash_to_str(i32 noundef %9) #4
%11 = trunc i64 %1 to i32
%12 = load i32, ptr @MSG_BYTES, align 4, !tbaa !6
%13 = tail call i32 @msg_hash_to_str(i32 noundef %12) #4
%14 = tail call i32 @RARCH_LOG(ptr noundef nonnull @.str, i32 noundef %10, i32 noundef %11, i32 noundef %13) #4
%15 = getelementptr inbounds i8, ptr %3, i64 8
store ptr %6, ptr %15, align 8, !tbaa !10
store i64 %1, ptr %3, align 8, !tbaa !14
%16 = call i32 @core_serialize(ptr noundef nonnull %3) #4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %8
%19 = call i32 @free(ptr noundef nonnull %6) #4
br label %20
20: ; preds = %8, %5, %2, %18
%21 = phi ptr [ null, %18 ], [ null, %2 ], [ null, %5 ], [ %6, %8 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
ret ptr %21
}
; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2
declare i32 @RARCH_LOG(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3
declare i32 @msg_hash_to_str(i32 noundef) local_unnamed_addr #3
declare i32 @core_serialize(ptr noundef) local_unnamed_addr #3
declare i32 @free(ptr noundef) local_unnamed_addr #3
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #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 }
attributes #5 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 0}
| RetroArch_griffin_extr_..taskstask_save.c_get_serialized_data |
; ModuleID = 'AnghaBench/lede/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_set_ringparam.c'
source_filename = "AnghaBench/lede/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_set_ringparam.c"
target datalayout = "e-m:e-p270:32:32-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_ringparam = type { i64, i64, i32, i32 }
%struct.ag71xx = type { %struct.TYPE_5__, %struct.TYPE_4__ }
%struct.TYPE_5__ = type { ptr }
%struct.TYPE_4__ = type { ptr, i64 }
%struct.TYPE_6__ = type { ptr, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@AG71XX_TX_RING_SIZE_MAX = dso_local local_unnamed_addr global i32 0, align 4
@AG71XX_RX_RING_SIZE_MAX = dso_local local_unnamed_addr global i32 0, align 4
@AG71XX_TX_RING_DS_PER_PKT = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ag71xx_ethtool_set_ringparam], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @ag71xx_ethtool_set_ringparam(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #3
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %18
6: ; preds = %2
%7 = getelementptr inbounds %struct.ethtool_ringparam, ptr %1, i64 0, i32 1
%8 = load i64, ptr %7, align 8, !tbaa !11
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = getelementptr inbounds %struct.ethtool_ringparam, ptr %1, i64 0, i32 2
%12 = load i32, ptr %11, align 8, !tbaa !12
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %10
%15 = getelementptr inbounds %struct.ethtool_ringparam, ptr %1, i64 0, i32 3
%16 = load i32, ptr %15, align 4, !tbaa !13
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14, %10, %6, %2
%19 = load i32, ptr @EINVAL, align 4, !tbaa !14
%20 = sub nsw i32 0, %19
br label %50
21: ; preds = %14
%22 = load i32, ptr @AG71XX_TX_RING_SIZE_MAX, align 4, !tbaa !14
%23 = tail call i32 @llvm.umin.i32(i32 %16, i32 %22)
%24 = load i32, ptr @AG71XX_RX_RING_SIZE_MAX, align 4, !tbaa !14
%25 = tail call i32 @llvm.umin.i32(i32 %12, i32 %24)
%26 = tail call i64 @netif_running(ptr noundef %0) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %33, label %28
28: ; preds = %21
%29 = load ptr, ptr %0, align 8, !tbaa !15
%30 = load ptr, ptr %29, align 8, !tbaa !18
%31 = tail call i32 %30(ptr noundef nonnull %0) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %28, %21
%34 = getelementptr inbounds %struct.ag71xx, ptr %3, i64 0, i32 1
%35 = getelementptr inbounds %struct.ag71xx, ptr %3, i64 0, i32 1, i32 1
%36 = load i64, ptr %35, align 8, !tbaa !20
%37 = icmp eq i64 %36, 0
%38 = load i32, ptr @AG71XX_TX_RING_DS_PER_PKT, align 4
%39 = select i1 %37, i32 1, i32 %38
%40 = mul i32 %39, %23
%41 = tail call ptr @ag71xx_ring_size_order(i32 noundef %40) #3
store ptr %41, ptr %34, align 8, !tbaa !24
%42 = tail call ptr @ag71xx_ring_size_order(i32 noundef %25) #3
store ptr %42, ptr %3, align 8, !tbaa !25
%43 = tail call i64 @netif_running(ptr noundef %0) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %33
%46 = load ptr, ptr %0, align 8, !tbaa !15
%47 = getelementptr inbounds %struct.TYPE_6__, ptr %46, i64 0, i32 1
%48 = load ptr, ptr %47, align 8, !tbaa !26
%49 = tail call i32 %48(ptr noundef nonnull %0) #3
br label %50
50: ; preds = %33, %45, %28, %18
%51 = phi i32 [ %20, %18 ], [ %31, %28 ], [ %49, %45 ], [ 0, %33 ]
ret i32 %51
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @netif_running(ptr noundef) local_unnamed_addr #1
declare ptr @ag71xx_ring_size_order(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ethtool_ringparam", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20}
!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 8}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 20}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"net_device", !17, i64 0}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!19, !17, i64 0}
!19 = !{!"TYPE_6__", !17, i64 0, !17, i64 8}
!20 = !{!21, !7, i64 16}
!21 = !{!"ag71xx", !22, i64 0, !23, i64 8}
!22 = !{!"TYPE_5__", !17, i64 0}
!23 = !{!"TYPE_4__", !17, i64 0, !7, i64 8}
!24 = !{!21, !17, i64 8}
!25 = !{!21, !17, i64 0}
!26 = !{!19, !17, i64 8}
| ; ModuleID = 'AnghaBench/lede/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_set_ringparam.c'
source_filename = "AnghaBench/lede/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_ethtool.c_ag71xx_ethtool_set_ringparam.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
@AG71XX_TX_RING_SIZE_MAX = common local_unnamed_addr global i32 0, align 4
@AG71XX_RX_RING_SIZE_MAX = common local_unnamed_addr global i32 0, align 4
@AG71XX_TX_RING_DS_PER_PKT = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ag71xx_ethtool_set_ringparam], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @ag71xx_ethtool_set_ringparam(ptr noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = tail call ptr @netdev_priv(ptr noundef %0) #3
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %18
6: ; preds = %2
%7 = getelementptr inbounds i8, ptr %1, i64 8
%8 = load i64, ptr %7, align 8, !tbaa !12
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = icmp eq i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %10
%15 = getelementptr inbounds i8, ptr %1, i64 20
%16 = load i32, ptr %15, align 4, !tbaa !14
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14, %10, %6, %2
%19 = load i32, ptr @EINVAL, align 4, !tbaa !15
%20 = sub nsw i32 0, %19
br label %50
21: ; preds = %14
%22 = load i32, ptr @AG71XX_TX_RING_SIZE_MAX, align 4, !tbaa !15
%23 = tail call i32 @llvm.umin.i32(i32 %16, i32 %22)
%24 = load i32, ptr @AG71XX_RX_RING_SIZE_MAX, align 4, !tbaa !15
%25 = tail call i32 @llvm.umin.i32(i32 %12, i32 %24)
%26 = tail call i64 @netif_running(ptr noundef %0) #3
%27 = icmp eq i64 %26, 0
br i1 %27, label %33, label %28
28: ; preds = %21
%29 = load ptr, ptr %0, align 8, !tbaa !16
%30 = load ptr, ptr %29, align 8, !tbaa !19
%31 = tail call i32 %30(ptr noundef nonnull %0) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %28, %21
%34 = getelementptr inbounds i8, ptr %3, i64 8
%35 = getelementptr inbounds i8, ptr %3, i64 16
%36 = load i64, ptr %35, align 8, !tbaa !21
%37 = icmp eq i64 %36, 0
%38 = load i32, ptr @AG71XX_TX_RING_DS_PER_PKT, align 4
%39 = select i1 %37, i32 1, i32 %38
%40 = mul i32 %39, %23
%41 = tail call ptr @ag71xx_ring_size_order(i32 noundef %40) #3
store ptr %41, ptr %34, align 8, !tbaa !25
%42 = tail call ptr @ag71xx_ring_size_order(i32 noundef %25) #3
store ptr %42, ptr %3, align 8, !tbaa !26
%43 = tail call i64 @netif_running(ptr noundef %0) #3
%44 = icmp eq i64 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %33
%46 = load ptr, ptr %0, align 8, !tbaa !16
%47 = getelementptr inbounds i8, ptr %46, i64 8
%48 = load ptr, ptr %47, align 8, !tbaa !27
%49 = tail call i32 %48(ptr noundef nonnull %0) #3
br label %50
50: ; preds = %33, %45, %28, %18
%51 = phi i32 [ %20, %18 ], [ %31, %28 ], [ %49, %45 ], [ 0, %33 ]
ret i32 %51
}
declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1
declare i64 @netif_running(ptr noundef) local_unnamed_addr #1
declare ptr @ag71xx_ring_size_order(i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ethtool_ringparam", !8, i64 0, !8, i64 8, !11, i64 16, !11, i64 20}
!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 8}
!13 = !{!7, !11, i64 16}
!14 = !{!7, !11, i64 20}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"net_device", !18, i64 0}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!20, !18, i64 0}
!20 = !{!"TYPE_6__", !18, i64 0, !18, i64 8}
!21 = !{!22, !8, i64 16}
!22 = !{!"ag71xx", !23, i64 0, !24, i64 8}
!23 = !{!"TYPE_5__", !18, i64 0}
!24 = !{!"TYPE_4__", !18, i64 0, !8, i64 8}
!25 = !{!22, !18, i64 8}
!26 = !{!22, !18, i64 0}
!27 = !{!20, !18, i64 8}
| lede_target_linux_ath79_files_drivers_net_ethernet_atheros_ag71xx_extr_ag71xx_ethtool.c_ag71xx_ethtool_set_ringparam |
; ModuleID = 'AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_create_mod_app_status.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_create_mod_app_status.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@OP_MOD_APP_STATUS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @create_mod_app_status], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @create_mod_app_status(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = load i32, ptr @OP_MOD_APP_STATUS, align 4, !tbaa !5
%9 = tail call i32 @bt_mesh_model_msg_init(ptr noundef %0, i32 noundef %8) #2
%10 = tail call i32 @net_buf_simple_add_u8(ptr noundef %0, i32 noundef %5) #2
%11 = tail call i32 @net_buf_simple_add_le16(ptr noundef %0, i32 noundef %3) #2
%12 = tail call i32 @net_buf_simple_add_le16(ptr noundef %0, i32 noundef %4) #2
%13 = icmp eq i32 %2, 0
%14 = select i1 %13, i32 2, i32 4
%15 = tail call i32 @net_buf_simple_add(ptr noundef %0, i32 noundef %14) #2
%16 = tail call i32 @memcpy(i32 noundef %15, ptr noundef %6, i32 noundef %14) #2
ret void
}
declare i32 @bt_mesh_model_msg_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add_le16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add(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/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_create_mod_app_status.c'
source_filename = "AnghaBench/esp-idf/components/bt/esp_ble_mesh/mesh_core/extr_cfg_srv.c_create_mod_app_status.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@OP_MOD_APP_STATUS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @create_mod_app_status], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @create_mod_app_status(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = load i32, ptr @OP_MOD_APP_STATUS, align 4, !tbaa !6
%9 = tail call i32 @bt_mesh_model_msg_init(ptr noundef %0, i32 noundef %8) #2
%10 = tail call i32 @net_buf_simple_add_u8(ptr noundef %0, i32 noundef %5) #2
%11 = tail call i32 @net_buf_simple_add_le16(ptr noundef %0, i32 noundef %3) #2
%12 = tail call i32 @net_buf_simple_add_le16(ptr noundef %0, i32 noundef %4) #2
%13 = icmp eq i32 %2, 0
%14 = select i1 %13, i32 2, i32 4
%15 = tail call i32 @net_buf_simple_add(ptr noundef %0, i32 noundef %14) #2
%16 = tail call i32 @memcpy(i32 noundef %15, ptr noundef %6, i32 noundef %14) #2
ret void
}
declare i32 @bt_mesh_model_msg_init(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add_u8(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add_le16(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @net_buf_simple_add(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"}
| esp-idf_components_bt_esp_ble_mesh_mesh_core_extr_cfg_srv.c_create_mod_app_status |
; ModuleID = 'AnghaBench/vlc/compat/extr_gmtime_r.c_gmtime_r.c'
source_filename = "AnghaBench/vlc/compat/extr_gmtime_r.c_gmtime_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i64, i64, i32, i64 }
@gmtime_r.normal = internal unnamed_addr constant [12 x i16] [i16 31, i16 28, i16 31, i16 30, i16 31, i16 30, i16 31, i16 31, i16 30, i16 31, i16 30, i16 31], align 16
@gmtime_r.leap = internal unnamed_addr constant [12 x i16] [i16 31, i16 29, i16 31, i16 30, i16 31, i16 30, i16 31, i16 31, i16 30, i16 31, i16 30, i16 31], align 16
; Function Attrs: nounwind uwtable
define dso_local noundef ptr @gmtime_r(ptr nocapture noundef readonly %0, ptr noundef returned %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = add nsw i64 %3, 62167219200
%5 = tail call { i64, i32 } @lldiv(i64 noundef %4, i32 noundef 60) #2
%6 = extractvalue { i64, i32 } %5, 0
%7 = extractvalue { i64, i32 } %5, 1
%8 = load i64, ptr %0, align 8, !tbaa !5
%9 = icmp slt i64 %8, 0
%10 = add nsw i32 %7, 60
%11 = ashr i64 %8, 63
%12 = add nsw i64 %11, %6
%13 = select i1 %9, i32 %10, i32 %7
store i32 %13, ptr %1, align 8, !tbaa !9
%14 = tail call { i64, i32 } @lldiv(i64 noundef %12, i32 noundef 60) #2
%15 = extractvalue { i64, i32 } %14, 0
%16 = extractvalue { i64, i32 } %14, 1
%17 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 1
store i32 %16, ptr %17, align 4, !tbaa !12
%18 = tail call { i64, i32 } @lldiv(i64 noundef %15, i32 noundef 24) #2
%19 = extractvalue { i64, i32 } %18, 0
%20 = extractvalue { i64, i32 } %18, 1
%21 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 2
store i32 %20, ptr %21, align 8, !tbaa !13
%22 = add nsw i64 %19, 6
%23 = srem i64 %22, 7
%24 = trunc i64 %23 to i32
%25 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 3
store i32 %24, ptr %25, align 4, !tbaa !14
%26 = tail call { i64, i32 } @lldiv(i64 noundef %19, i32 noundef 146097) #2
%27 = extractvalue { i64, i32 } %26, 0
%28 = extractvalue { i64, i32 } %26, 1
%29 = trunc i64 %27 to i32
%30 = mul i32 %29, 400
%31 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 4
%32 = icmp sgt i32 %28, 36524
br i1 %32, label %33, label %47
33: ; preds = %2
%34 = add nsw i32 %28, -36525
%35 = add nsw i32 %30, 100
store i32 %35, ptr %31, align 8, !tbaa !15
%36 = zext nneg i32 %34 to i64
%37 = tail call { i64, i32 } @lldiv(i64 noundef %36, i32 noundef 36524) #2
%38 = extractvalue { i64, i32 } %37, 0
%39 = extractvalue { i64, i32 } %37, 1
%40 = load i32, ptr %31, align 8, !tbaa !15
%41 = trunc i64 %38 to i32
%42 = mul i32 %41, 100
%43 = add i32 %42, %40
%44 = icmp sgt i32 %39, 58
%45 = zext i1 %44 to i32
%46 = add nuw nsw i32 %39, %45
br label %47
47: ; preds = %33, %2
%48 = phi i32 [ %30, %2 ], [ %43, %33 ]
%49 = phi i32 [ %28, %2 ], [ %46, %33 ]
%50 = add nsw i32 %48, -1900
store i32 %50, ptr %31, align 8, !tbaa !15
%51 = sext i32 %49 to i64
%52 = tail call { i64, i32 } @lldiv(i64 noundef %51, i32 noundef 1461) #2
%53 = extractvalue { i64, i32 } %52, 0
%54 = extractvalue { i64, i32 } %52, 1
%55 = load i32, ptr %31, align 8, !tbaa !15
%56 = trunc i64 %53 to i32
%57 = shl i32 %56, 2
%58 = add i32 %57, %55
store i32 %58, ptr %31, align 8, !tbaa !15
%59 = icmp sgt i32 %54, 365
br i1 %59, label %60, label %70
60: ; preds = %47
%61 = add nsw i32 %54, -366
%62 = add nsw i32 %58, 1
store i32 %62, ptr %31, align 8, !tbaa !15
%63 = zext nneg i32 %61 to i64
%64 = tail call { i64, i32 } @lldiv(i64 noundef %63, i32 noundef 365) #2
%65 = extractvalue { i64, i32 } %64, 0
%66 = extractvalue { i64, i32 } %64, 1
%67 = load i32, ptr %31, align 8, !tbaa !15
%68 = trunc i64 %65 to i32
%69 = add i32 %67, %68
store i32 %69, ptr %31, align 8, !tbaa !15
br label %70
70: ; preds = %47, %60
%71 = phi ptr [ @gmtime_r.normal, %60 ], [ @gmtime_r.leap, %47 ]
%72 = phi i32 [ %66, %60 ], [ %54, %47 ]
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 5
store i64 %73, ptr %74, align 8, !tbaa !16
%75 = load i16, ptr %71, align 16, !tbaa !17
%76 = zext i16 %75 to i32
%77 = icmp slt i32 %72, %76
br i1 %77, label %88, label %78
78: ; preds = %70, %78
%79 = phi i32 [ %86, %78 ], [ %76, %70 ]
%80 = phi i32 [ %82, %78 ], [ %72, %70 ]
%81 = phi i64 [ %83, %78 ], [ 0, %70 ]
%82 = sub nsw i32 %80, %79
%83 = add i64 %81, 1
%84 = getelementptr inbounds i16, ptr %71, i64 %83
%85 = load i16, ptr %84, align 2, !tbaa !17
%86 = zext i16 %85 to i32
%87 = icmp slt i32 %82, %86
br i1 %87, label %88, label %78, !llvm.loop !19
88: ; preds = %78, %70
%89 = phi i64 [ 0, %70 ], [ %83, %78 ]
%90 = phi i32 [ %72, %70 ], [ %82, %78 ]
%91 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 6
store i64 %89, ptr %91, align 8, !tbaa !21
%92 = add nsw i32 %90, 1
%93 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 7
store i32 %92, ptr %93, align 8, !tbaa !22
%94 = getelementptr inbounds %struct.tm, ptr %1, i64 0, i32 8
store i64 0, ptr %94, align 8, !tbaa !23
ret ptr %1
}
declare { i64, i32 } @lldiv(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"tm", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !6, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !11, i64 12}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !6, i64 24}
!17 = !{!18, !18, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!10, !6, i64 32}
!22 = !{!10, !11, i64 40}
!23 = !{!10, !6, i64 48}
| ; ModuleID = 'AnghaBench/vlc/compat/extr_gmtime_r.c_gmtime_r.c'
source_filename = "AnghaBench/vlc/compat/extr_gmtime_r.c_gmtime_r.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@gmtime_r.normal = internal unnamed_addr constant [12 x i16] [i16 31, i16 28, i16 31, i16 30, i16 31, i16 30, i16 31, i16 31, i16 30, i16 31, i16 30, i16 31], align 2
@gmtime_r.leap = internal unnamed_addr constant [12 x i16] [i16 31, i16 29, i16 31, i16 30, i16 31, i16 30, i16 31, i16 31, i16 30, i16 31, i16 30, i16 31], align 2
; Function Attrs: nounwind ssp uwtable(sync)
define noundef ptr @gmtime_r(ptr nocapture noundef readonly %0, ptr noundef returned %1) local_unnamed_addr #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = add nsw i64 %3, 62167219200
%5 = tail call [2 x i64] @lldiv(i64 noundef %4, i32 noundef 60) #2
%6 = extractvalue [2 x i64] %5, 0
%7 = extractvalue [2 x i64] %5, 1
%8 = load i64, ptr %0, align 8, !tbaa !6
%9 = icmp slt i64 %8, 0
%10 = add i64 %7, 60
%11 = ashr i64 %8, 63
%12 = add nsw i64 %6, %11
%13 = select i1 %9, i64 %10, i64 %7
%14 = trunc i64 %13 to i32
store i32 %14, ptr %1, align 8, !tbaa !10
%15 = tail call [2 x i64] @lldiv(i64 noundef %12, i32 noundef 60) #2
%16 = extractvalue [2 x i64] %15, 0
%17 = extractvalue [2 x i64] %15, 1
%18 = trunc i64 %17 to i32
%19 = getelementptr inbounds i8, ptr %1, i64 4
store i32 %18, ptr %19, align 4, !tbaa !13
%20 = tail call [2 x i64] @lldiv(i64 noundef %16, i32 noundef 24) #2
%21 = extractvalue [2 x i64] %20, 0
%22 = extractvalue [2 x i64] %20, 1
%23 = trunc i64 %22 to i32
%24 = getelementptr inbounds i8, ptr %1, i64 8
store i32 %23, ptr %24, align 8, !tbaa !14
%25 = add nsw i64 %21, 6
%26 = srem i64 %25, 7
%27 = trunc nsw i64 %26 to i32
%28 = getelementptr inbounds i8, ptr %1, i64 12
store i32 %27, ptr %28, align 4, !tbaa !15
%29 = tail call [2 x i64] @lldiv(i64 noundef %21, i32 noundef 146097) #2
%30 = extractvalue [2 x i64] %29, 0
%31 = extractvalue [2 x i64] %29, 1
%32 = trunc i64 %30 to i32
%33 = mul i32 %32, 400
%34 = getelementptr inbounds i8, ptr %1, i64 16
%35 = trunc i64 %31 to i32
%36 = icmp sgt i32 %35, 36524
br i1 %36, label %37, label %53
37: ; preds = %2
%38 = add nsw i32 %33, 100
store i32 %38, ptr %34, align 8, !tbaa !16
%39 = shl i64 %31, 32
%40 = add nsw i64 %39, -156873680486400
%41 = ashr exact i64 %40, 32
%42 = tail call [2 x i64] @lldiv(i64 noundef %41, i32 noundef 36524) #2
%43 = extractvalue [2 x i64] %42, 0
%44 = extractvalue [2 x i64] %42, 1
%45 = load i32, ptr %34, align 8, !tbaa !16
%46 = trunc i64 %43 to i32
%47 = mul i32 %46, 100
%48 = add i32 %47, %45
%49 = trunc i64 %44 to i32
%50 = icmp sgt i32 %49, 58
%51 = zext i1 %50 to i64
%52 = add nuw nsw i64 %44, %51
br label %53
53: ; preds = %37, %2
%54 = phi i32 [ %33, %2 ], [ %48, %37 ]
%55 = phi i64 [ %31, %2 ], [ %52, %37 ]
%56 = add nsw i32 %54, -1900
store i32 %56, ptr %34, align 8, !tbaa !16
%57 = shl i64 %55, 32
%58 = ashr exact i64 %57, 32
%59 = tail call [2 x i64] @lldiv(i64 noundef %58, i32 noundef 1461) #2
%60 = extractvalue [2 x i64] %59, 0
%61 = extractvalue [2 x i64] %59, 1
%62 = load i32, ptr %34, align 8, !tbaa !16
%63 = trunc i64 %60 to i32
%64 = shl i32 %63, 2
%65 = add i32 %64, %62
store i32 %65, ptr %34, align 8, !tbaa !16
%66 = trunc i64 %61 to i32
%67 = icmp sgt i32 %66, 365
br i1 %67, label %68, label %80
68: ; preds = %53
%69 = add nsw i32 %65, 1
store i32 %69, ptr %34, align 8, !tbaa !16
%70 = shl i64 %61, 32
%71 = add nsw i64 %70, -1571958030336
%72 = ashr exact i64 %71, 32
%73 = tail call [2 x i64] @lldiv(i64 noundef %72, i32 noundef 365) #2
%74 = extractvalue [2 x i64] %73, 0
%75 = extractvalue [2 x i64] %73, 1
%76 = load i32, ptr %34, align 8, !tbaa !16
%77 = trunc i64 %74 to i32
%78 = add i32 %76, %77
store i32 %78, ptr %34, align 8, !tbaa !16
%79 = trunc i64 %75 to i32
br label %80
80: ; preds = %53, %68
%81 = phi i32 [ %66, %53 ], [ %79, %68 ]
%82 = phi ptr [ @gmtime_r.leap, %53 ], [ @gmtime_r.normal, %68 ]
%83 = phi i64 [ %61, %53 ], [ %75, %68 ]
%84 = shl i64 %83, 32
%85 = ashr exact i64 %84, 32
%86 = getelementptr inbounds i8, ptr %1, i64 24
store i64 %85, ptr %86, align 8, !tbaa !17
%87 = load i16, ptr %82, align 2, !tbaa !18
%88 = zext i16 %87 to i32
%89 = icmp slt i32 %81, %88
br i1 %89, label %100, label %90
90: ; preds = %80, %90
%91 = phi i32 [ %98, %90 ], [ %88, %80 ]
%92 = phi i32 [ %94, %90 ], [ %81, %80 ]
%93 = phi i64 [ %95, %90 ], [ 0, %80 ]
%94 = sub nsw i32 %92, %91
%95 = add i64 %93, 1
%96 = getelementptr inbounds i16, ptr %82, i64 %95
%97 = load i16, ptr %96, align 2, !tbaa !18
%98 = zext i16 %97 to i32
%99 = icmp slt i32 %94, %98
br i1 %99, label %100, label %90, !llvm.loop !20
100: ; preds = %90, %80
%101 = phi i64 [ 0, %80 ], [ %95, %90 ]
%102 = phi i32 [ %81, %80 ], [ %94, %90 ]
%103 = getelementptr inbounds i8, ptr %1, i64 32
store i64 %101, ptr %103, align 8, !tbaa !22
%104 = add nsw i32 %102, 1
%105 = getelementptr inbounds i8, ptr %1, i64 40
store i32 %104, ptr %105, align 8, !tbaa !23
%106 = getelementptr inbounds i8, ptr %1, i64 48
store i64 0, ptr %106, align 8, !tbaa !24
ret ptr %1
}
declare [2 x i64] @lldiv(i64 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"tm", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !7, i64 24, !7, i64 32, !12, i64 40, !7, i64 48}
!12 = !{!"int", !8, i64 0}
!13 = !{!11, !12, i64 4}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !12, i64 12}
!16 = !{!11, !12, i64 16}
!17 = !{!11, !7, i64 24}
!18 = !{!19, !19, i64 0}
!19 = !{!"short", !8, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!11, !7, i64 32}
!23 = !{!11, !12, i64 40}
!24 = !{!11, !7, i64 48}
| vlc_compat_extr_gmtime_r.c_gmtime_r |
; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_pname.c_uu_die_internal.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_pname.c_uu_die_internal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@errno = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @uu_die_internal], section "llvm.metadata"
; Function Attrs: noreturn nounwind uwtable
define internal void @uu_die_internal(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @errno, align 4, !tbaa !5
%5 = tail call i32 @uu_warn_internal(i32 noundef %4, ptr noundef %1, i32 noundef %2) #3
%6 = tail call i32 @exit(i32 noundef %0) #4
unreachable
}
declare i32 @uu_warn_internal(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_pname.c_uu_die_internal.c'
source_filename = "AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_pname.c_uu_die_internal.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@errno = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @uu_die_internal], section "llvm.metadata"
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define internal void @uu_die_internal(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = load i32, ptr @errno, align 4, !tbaa !6
%5 = tail call i32 @uu_warn_internal(i32 noundef %4, ptr noundef %1, i32 noundef %2) #3
%6 = tail call i32 @exit(i32 noundef %0) #4
unreachable
}
declare i32 @uu_warn_internal(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) local_unnamed_addr #2
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_cddl_contrib_opensolaris_lib_libuutil_common_extr_uu_pname.c_uu_die_internal |
; ModuleID = 'AnghaBench/linux/sound/soc/txx9/extr_txx9aclc.c_filter.c'
source_filename = "AnghaBench/linux/sound/soc/txx9/extr_txx9aclc.c_filter.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.txx9aclc_dmadata = type { i32, ptr }
%struct.TYPE_3__ = type { i64, i32 }
%struct.dma_chan = type { ptr, ptr }
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @filter], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal noundef i32 @filter(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = getelementptr inbounds %struct.txx9aclc_dmadata, ptr %1, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !9
%6 = getelementptr inbounds %struct.TYPE_3__, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = load i64, ptr %5, align 8, !tbaa !15
%9 = trunc i64 %8 to i32
%10 = tail call ptr @kasprintf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %9) #2
%11 = getelementptr inbounds %struct.dma_chan, ptr %0, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !16
%13 = load i32, ptr %12, align 4, !tbaa !18
%14 = tail call i32 @dev_name(i32 noundef %13) #2
%15 = tail call i64 @strcmp(i32 noundef %14, ptr noundef %10) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store ptr %1, ptr %0, align 8, !tbaa !20
br label %18
18: ; preds = %17, %2
%19 = phi i32 [ 1, %17 ], [ 0, %2 ]
%20 = tail call i32 @kfree(ptr noundef %10) #2
ret i32 %19
}
declare ptr @kasprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_name(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !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 = !{!"txx9aclc_dmadata", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !6, i64 8}
!13 = !{!"TYPE_3__", !14, i64 0, !6, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!17, !11, i64 8}
!17 = !{!"dma_chan", !11, i64 0, !11, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"TYPE_4__", !6, i64 0}
!20 = !{!17, !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/sound/soc/txx9/extr_txx9aclc.c_filter.c'
source_filename = "AnghaBench/linux/sound/soc/txx9/extr_txx9aclc.c_filter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s.%d\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @filter], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 0, 2) i32 @filter(ptr nocapture noundef %0, ptr noundef %1) #0 {
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = getelementptr inbounds i8, ptr %1, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !10
%6 = getelementptr inbounds i8, ptr %5, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !13
%8 = load i64, ptr %5, align 8, !tbaa !16
%9 = trunc i64 %8 to i32
%10 = tail call ptr @kasprintf(i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %7, i32 noundef %9) #2
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !17
%13 = load i32, ptr %12, align 4, !tbaa !19
%14 = tail call i32 @dev_name(i32 noundef %13) #2
%15 = tail call i64 @strcmp(i32 noundef %14, ptr noundef %10) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %2
store ptr %1, ptr %0, align 8, !tbaa !21
br label %18
18: ; preds = %17, %2
%19 = phi i32 [ 1, %17 ], [ 0, %2 ]
%20 = tail call i32 @kfree(ptr noundef %10) #2
ret i32 %19
}
declare ptr @kasprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_name(i32 noundef) local_unnamed_addr #1
declare i32 @kfree(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !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 = !{!"txx9aclc_dmadata", !7, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 8}
!14 = !{!"TYPE_3__", !15, i64 0, !7, i64 8}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !15, i64 0}
!17 = !{!18, !12, i64 8}
!18 = !{!"dma_chan", !12, i64 0, !12, i64 8}
!19 = !{!20, !7, i64 0}
!20 = !{!"TYPE_4__", !7, i64 0}
!21 = !{!18, !12, i64 0}
| linux_sound_soc_txx9_extr_txx9aclc.c_filter |
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/mach-common/extr_ints-priority.c_bfin_gpio_irq_type.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/mach-common/extr_ints-priority.c_bfin_gpio_irq_type.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@IRQ_TYPE_PROBE = dso_local local_unnamed_addr global i32 0, align 4
@gpio_enabled = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_RISING = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_FALLING = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_LEVEL_HIGH = dso_local local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_LEVEL_LOW = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"gpio-irq%d\00", align 1
@handle_edge_irq = dso_local local_unnamed_addr global i32 0, align 4
@handle_level_irq = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @bfin_gpio_irq_type], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @bfin_gpio_irq_type(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca [16 x i8], align 16
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = tail call i32 @irq_to_gpio(i32 noundef %0) #3
%5 = load i32, ptr @IRQ_TYPE_PROBE, align 4, !tbaa !5
%6 = icmp eq i32 %5, %1
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !5
%9 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%10 = or i32 %9, %8
br label %19
11: ; preds = %2
%12 = load i32, ptr @gpio_enabled, align 4, !tbaa !5
%13 = tail call i64 @test_bit(i32 noundef %4, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %82
15: ; preds = %11
%16 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !5
%17 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%18 = or i32 %17, %16
br label %19
19: ; preds = %7, %15
%20 = phi i32 [ %10, %7 ], [ %18, %15 ]
%21 = phi i32 [ %1, %7 ], [ %18, %15 ]
%22 = load i32, ptr @IRQ_TYPE_LEVEL_HIGH, align 4, !tbaa !5
%23 = or i32 %20, %22
%24 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !5
%25 = or i32 %23, %24
%26 = and i32 %25, %21
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %19
%29 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 16, ptr noundef nonnull @.str, i32 noundef %0) #3
%30 = call i32 @bfin_gpio_irq_request(i32 noundef %4, ptr noundef nonnull %3) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %82
32: ; preds = %28
%33 = load i32, ptr @gpio_enabled, align 4, !tbaa !5
%34 = call i64 @__test_and_set_bit(i32 noundef %4, i32 noundef %33) #3
%35 = icmp eq i64 %34, 0
br i1 %35, label %41, label %36
36: ; preds = %32
%37 = call i32 @bfin_gpio_irq_prepare(i32 noundef %4) #3
br label %41
38: ; preds = %19
%39 = load i32, ptr @gpio_enabled, align 4, !tbaa !5
%40 = tail call i32 @__clear_bit(i32 noundef %4, i32 noundef %39) #3
br label %82
41: ; preds = %32, %36
%42 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 0) #3
%43 = call i32 @set_gpio_dir(i32 noundef %4, i32 noundef 0) #3
%44 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !5
%45 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%46 = or i32 %45, %44
%47 = and i32 %46, %21
%48 = icmp eq i32 %47, %46
%49 = zext i1 %48 to i32
%50 = call i32 @set_gpio_both(i32 noundef %4, i32 noundef %49) #3
%51 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%52 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !5
%53 = or i32 %52, %51
%54 = and i32 %53, %21
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i32
%57 = call i32 @set_gpio_polar(i32 noundef %4, i32 noundef %56) #3
%58 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !5
%59 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%60 = or i32 %59, %58
%61 = and i32 %60, %21
%62 = icmp eq i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %41
%64 = call i32 @set_gpio_edge(i32 noundef %4, i32 noundef 1) #3
%65 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 1) #3
%66 = call i32 @set_gpio_data(i32 noundef %4, i32 noundef 0) #3
br label %70
67: ; preds = %41
%68 = call i32 @set_gpio_edge(i32 noundef %4, i32 noundef 0) #3
%69 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 1) #3
br label %70
70: ; preds = %67, %63
%71 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !5
%72 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !5
%73 = or i32 %72, %71
%74 = and i32 %73, %21
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %70
%77 = load i32, ptr @handle_edge_irq, align 4, !tbaa !5
%78 = call i32 @bfin_set_irq_handler(i32 noundef %0, i32 noundef %77) #3
br label %82
79: ; preds = %70
%80 = load i32, ptr @handle_level_irq, align 4, !tbaa !5
%81 = call i32 @bfin_set_irq_handler(i32 noundef %0, i32 noundef %80) #3
br label %82
82: ; preds = %76, %79, %28, %11, %38
%83 = phi i32 [ 0, %38 ], [ 0, %11 ], [ %30, %28 ], [ 0, %79 ], [ 0, %76 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %83
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @irq_to_gpio(i32 noundef) local_unnamed_addr #2
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_gpio_irq_request(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @__test_and_set_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_gpio_irq_prepare(i32 noundef) local_unnamed_addr #2
declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_inen(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_dir(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_both(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_polar(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_edge(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_set_irq_handler(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/arch/blackfin/mach-common/extr_ints-priority.c_bfin_gpio_irq_type.c'
source_filename = "AnghaBench/fastsocket/kernel/arch/blackfin/mach-common/extr_ints-priority.c_bfin_gpio_irq_type.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@IRQ_TYPE_PROBE = common local_unnamed_addr global i32 0, align 4
@gpio_enabled = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_RISING = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_EDGE_FALLING = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_LEVEL_HIGH = common local_unnamed_addr global i32 0, align 4
@IRQ_TYPE_LEVEL_LOW = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"gpio-irq%d\00", align 1
@handle_edge_irq = common local_unnamed_addr global i32 0, align 4
@handle_level_irq = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @bfin_gpio_irq_type], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @bfin_gpio_irq_type(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca [16 x i8], align 1
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
%4 = tail call i32 @irq_to_gpio(i32 noundef %0) #3
%5 = load i32, ptr @IRQ_TYPE_PROBE, align 4, !tbaa !6
%6 = icmp eq i32 %5, %1
br i1 %6, label %11, label %7
7: ; preds = %2
%8 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !6
%9 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%10 = or i32 %9, %8
br label %19
11: ; preds = %2
%12 = load i32, ptr @gpio_enabled, align 4, !tbaa !6
%13 = tail call i64 @test_bit(i32 noundef %4, i32 noundef %12) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %82
15: ; preds = %11
%16 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !6
%17 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%18 = or i32 %17, %16
br label %19
19: ; preds = %7, %15
%20 = phi i32 [ %10, %7 ], [ %18, %15 ]
%21 = phi i32 [ %1, %7 ], [ %18, %15 ]
%22 = load i32, ptr @IRQ_TYPE_LEVEL_HIGH, align 4, !tbaa !6
%23 = or i32 %20, %22
%24 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !6
%25 = or i32 %23, %24
%26 = and i32 %25, %21
%27 = icmp eq i32 %26, 0
br i1 %27, label %38, label %28
28: ; preds = %19
%29 = call i32 @snprintf(ptr noundef nonnull %3, i32 noundef 16, ptr noundef nonnull @.str, i32 noundef %0) #3
%30 = call i32 @bfin_gpio_irq_request(i32 noundef %4, ptr noundef nonnull %3) #3
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %82
32: ; preds = %28
%33 = load i32, ptr @gpio_enabled, align 4, !tbaa !6
%34 = call i64 @__test_and_set_bit(i32 noundef %4, i32 noundef %33) #3
%35 = icmp eq i64 %34, 0
br i1 %35, label %41, label %36
36: ; preds = %32
%37 = call i32 @bfin_gpio_irq_prepare(i32 noundef %4) #3
br label %41
38: ; preds = %19
%39 = load i32, ptr @gpio_enabled, align 4, !tbaa !6
%40 = tail call i32 @__clear_bit(i32 noundef %4, i32 noundef %39) #3
br label %82
41: ; preds = %32, %36
%42 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 0) #3
%43 = call i32 @set_gpio_dir(i32 noundef %4, i32 noundef 0) #3
%44 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !6
%45 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%46 = or i32 %45, %44
%47 = and i32 %46, %21
%48 = icmp eq i32 %47, %46
%49 = zext i1 %48 to i32
%50 = call i32 @set_gpio_both(i32 noundef %4, i32 noundef %49) #3
%51 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%52 = load i32, ptr @IRQ_TYPE_LEVEL_LOW, align 4, !tbaa !6
%53 = or i32 %52, %51
%54 = and i32 %53, %21
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i32
%57 = call i32 @set_gpio_polar(i32 noundef %4, i32 noundef %56) #3
%58 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !6
%59 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%60 = or i32 %59, %58
%61 = and i32 %60, %21
%62 = icmp eq i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %41
%64 = call i32 @set_gpio_edge(i32 noundef %4, i32 noundef 1) #3
%65 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 1) #3
%66 = call i32 @set_gpio_data(i32 noundef %4, i32 noundef 0) #3
br label %70
67: ; preds = %41
%68 = call i32 @set_gpio_edge(i32 noundef %4, i32 noundef 0) #3
%69 = call i32 @set_gpio_inen(i32 noundef %4, i32 noundef 1) #3
br label %70
70: ; preds = %67, %63
%71 = load i32, ptr @IRQ_TYPE_EDGE_RISING, align 4, !tbaa !6
%72 = load i32, ptr @IRQ_TYPE_EDGE_FALLING, align 4, !tbaa !6
%73 = or i32 %72, %71
%74 = and i32 %73, %21
%75 = icmp eq i32 %74, 0
br i1 %75, label %79, label %76
76: ; preds = %70
%77 = load i32, ptr @handle_edge_irq, align 4, !tbaa !6
%78 = call i32 @bfin_set_irq_handler(i32 noundef %0, i32 noundef %77) #3
br label %82
79: ; preds = %70
%80 = load i32, ptr @handle_level_irq, align 4, !tbaa !6
%81 = call i32 @bfin_set_irq_handler(i32 noundef %0, i32 noundef %80) #3
br label %82
82: ; preds = %76, %79, %28, %11, %38
%83 = phi i32 [ 0, %38 ], [ 0, %11 ], [ %30, %28 ], [ 0, %79 ], [ 0, %76 ]
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
ret i32 %83
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @irq_to_gpio(i32 noundef) local_unnamed_addr #2
declare i64 @test_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_gpio_irq_request(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i64 @__test_and_set_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_gpio_irq_prepare(i32 noundef) local_unnamed_addr #2
declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_inen(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_dir(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_both(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_polar(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_edge(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @set_gpio_data(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @bfin_set_irq_handler(i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_arch_blackfin_mach-common_extr_ints-priority.c_bfin_gpio_irq_type |
; ModuleID = 'AnghaBench/libgit2/tests/refs/extr_normalize.c_ensure_refname_normalized.c'
source_filename = "AnghaBench/libgit2/tests/refs/extr_normalize.c_ensure_refname_normalized.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@GIT_REFNAME_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ensure_refname_normalized], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @ensure_refname_normalized(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @GIT_REFNAME_MAX, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 16
%7 = call i32 @git_reference_normalize_name(ptr noundef nonnull %6, i32 noundef %4, ptr noundef %1, i32 noundef %0) #2
%8 = call i32 @cl_git_pass(i32 noundef %7) #2
%9 = call i32 @cl_assert_equal_s(ptr noundef %2, ptr noundef nonnull %6) #2
ret void
}
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_reference_normalize_name(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cl_assert_equal_s(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/libgit2/tests/refs/extr_normalize.c_ensure_refname_normalized.c'
source_filename = "AnghaBench/libgit2/tests/refs/extr_normalize.c_ensure_refname_normalized.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@GIT_REFNAME_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ensure_refname_normalized], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @ensure_refname_normalized(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = load i32, ptr @GIT_REFNAME_MAX, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5, align 1
%7 = call i32 @git_reference_normalize_name(ptr noundef nonnull %6, i32 noundef %4, ptr noundef %1, i32 noundef %0) #2
%8 = call i32 @cl_git_pass(i32 noundef %7) #2
%9 = call i32 @cl_assert_equal_s(ptr noundef %2, ptr noundef nonnull %6) #2
ret void
}
declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #1
declare i32 @git_reference_normalize_name(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cl_assert_equal_s(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"}
| libgit2_tests_refs_extr_normalize.c_ensure_refname_normalized |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_ich8lan.c_e1000_get_cfg_done_ich8lan.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_ich8lan.c_e1000_get_cfg_done_ich8lan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.e1000_hw = type { %struct.TYPE_3__, %struct.TYPE_4__ }
%struct.TYPE_3__ = type { i64 }
%struct.TYPE_4__ = type { i64 }
@e1000_ich10lan = dso_local local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"Auto Read Done did not complete\0A\00", align 1
@STATUS = dso_local local_unnamed_addr global i32 0, align 4
@E1000_STATUS_PHYRA = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"PHY Reset Asserted not set - needs delay\0A\00", align 1
@e1000_ich9lan = dso_local local_unnamed_addr global i64 0, align 8
@EECD = dso_local local_unnamed_addr global i32 0, align 4
@E1000_EECD_PRES = dso_local local_unnamed_addr global i32 0, align 4
@e1000_phy_igp_3 = dso_local local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"EEPROM not present\0A\00", align 1
@E1000_ERR_CONFIG = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @e1000_get_cfg_done_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @e1000_get_cfg_done_ich8lan(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !5
%3 = tail call i32 @e1000e_get_cfg_done_generic(ptr noundef %0) #3
%4 = getelementptr inbounds %struct.e1000_hw, ptr %0, i64 0, i32 1
%5 = load i64, ptr %4, align 8, !tbaa !9
%6 = load i64, ptr @e1000_ich10lan, align 8, !tbaa !14
%7 = icmp slt i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @e1000_lan_init_done_ich8lan(ptr noundef nonnull %0) #3
br label %15
10: ; preds = %1
%11 = tail call i32 @e1000e_get_auto_rd_done(ptr noundef nonnull %0) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @e_dbg(ptr noundef nonnull @.str) #3
br label %15
15: ; preds = %10, %13, %8
%16 = load i32, ptr @STATUS, align 4, !tbaa !5
%17 = tail call i32 @er32(i32 noundef %16) #3
%18 = load i32, ptr @E1000_STATUS_PHYRA, align 4, !tbaa !5
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %15
%22 = load i32, ptr @STATUS, align 4, !tbaa !5
%23 = xor i32 %18, -1
%24 = and i32 %17, %23
%25 = tail call i32 @ew32(i32 noundef %22, i32 noundef %24) #3
br label %28
26: ; preds = %15
%27 = tail call i32 @e_dbg(ptr noundef nonnull @.str.1) #3
br label %28
28: ; preds = %26, %21
%29 = load i64, ptr %4, align 8, !tbaa !9
%30 = load i64, ptr @e1000_ich9lan, align 8, !tbaa !14
%31 = icmp sgt i64 %29, %30
br i1 %31, label %44, label %32
32: ; preds = %28
%33 = load i32, ptr @EECD, align 4, !tbaa !5
%34 = tail call i32 @er32(i32 noundef %33) #3
%35 = load i32, ptr @E1000_EECD_PRES, align 4, !tbaa !5
%36 = and i32 %35, %34
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %32
%39 = load i64, ptr %0, align 8, !tbaa !15
%40 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !14
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %51
42: ; preds = %38
%43 = tail call i32 @e1000e_phy_init_script_igp3(ptr noundef nonnull %0) #3
br label %51
44: ; preds = %28
%45 = call i64 @e1000_valid_nvm_bank_detect_ich8lan(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %44
%48 = call i32 @e_dbg(ptr noundef nonnull @.str.2) #3
%49 = load i32, ptr @E1000_ERR_CONFIG, align 4, !tbaa !5
%50 = sub nsw i32 0, %49
br label %51
51: ; preds = %44, %47, %32, %38, %42
%52 = phi i32 [ 0, %32 ], [ 0, %42 ], [ 0, %38 ], [ %50, %47 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @e1000e_get_cfg_done_generic(ptr noundef) local_unnamed_addr #2
declare i32 @e1000_lan_init_done_ich8lan(ptr noundef) local_unnamed_addr #2
declare i32 @e1000e_get_auto_rd_done(ptr noundef) local_unnamed_addr #2
declare i32 @e_dbg(ptr noundef) local_unnamed_addr #2
declare i32 @er32(i32 noundef) local_unnamed_addr #2
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @e1000e_phy_init_script_igp3(ptr noundef) local_unnamed_addr #2
declare i64 @e1000_valid_nvm_bank_detect_ich8lan(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"e1000_hw", !11, i64 0, !13, i64 8}
!11 = !{!"TYPE_3__", !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"TYPE_4__", !12, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !12, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_ich8lan.c_e1000_get_cfg_done_ich8lan.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_ich8lan.c_e1000_get_cfg_done_ich8lan.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@e1000_ich10lan = common local_unnamed_addr global i64 0, align 8
@.str = private unnamed_addr constant [33 x i8] c"Auto Read Done did not complete\0A\00", align 1
@STATUS = common local_unnamed_addr global i32 0, align 4
@E1000_STATUS_PHYRA = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"PHY Reset Asserted not set - needs delay\0A\00", align 1
@e1000_ich9lan = common local_unnamed_addr global i64 0, align 8
@EECD = common local_unnamed_addr global i32 0, align 4
@E1000_EECD_PRES = common local_unnamed_addr global i32 0, align 4
@e1000_phy_igp_3 = common local_unnamed_addr global i64 0, align 8
@.str.2 = private unnamed_addr constant [20 x i8] c"EEPROM not present\0A\00", align 1
@E1000_ERR_CONFIG = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @e1000_get_cfg_done_ich8lan], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @e1000_get_cfg_done_ich8lan(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
store i32 0, ptr %2, align 4, !tbaa !6
%3 = tail call i32 @e1000e_get_cfg_done_generic(ptr noundef %0) #3
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load i64, ptr %4, align 8, !tbaa !10
%6 = load i64, ptr @e1000_ich10lan, align 8, !tbaa !15
%7 = icmp slt i64 %5, %6
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @e1000_lan_init_done_ich8lan(ptr noundef nonnull %0) #3
br label %15
10: ; preds = %1
%11 = tail call i32 @e1000e_get_auto_rd_done(ptr noundef nonnull %0) #3
%12 = icmp eq i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = tail call i32 @e_dbg(ptr noundef nonnull @.str) #3
br label %15
15: ; preds = %10, %13, %8
%16 = load i32, ptr @STATUS, align 4, !tbaa !6
%17 = tail call i32 @er32(i32 noundef %16) #3
%18 = load i32, ptr @E1000_STATUS_PHYRA, align 4, !tbaa !6
%19 = and i32 %18, %17
%20 = icmp eq i32 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %15
%22 = load i32, ptr @STATUS, align 4, !tbaa !6
%23 = xor i32 %18, -1
%24 = and i32 %17, %23
%25 = tail call i32 @ew32(i32 noundef %22, i32 noundef %24) #3
br label %28
26: ; preds = %15
%27 = tail call i32 @e_dbg(ptr noundef nonnull @.str.1) #3
br label %28
28: ; preds = %26, %21
%29 = load i64, ptr %4, align 8, !tbaa !10
%30 = load i64, ptr @e1000_ich9lan, align 8, !tbaa !15
%31 = icmp sgt i64 %29, %30
br i1 %31, label %44, label %32
32: ; preds = %28
%33 = load i32, ptr @EECD, align 4, !tbaa !6
%34 = tail call i32 @er32(i32 noundef %33) #3
%35 = load i32, ptr @E1000_EECD_PRES, align 4, !tbaa !6
%36 = and i32 %35, %34
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %32
%39 = load i64, ptr %0, align 8, !tbaa !16
%40 = load i64, ptr @e1000_phy_igp_3, align 8, !tbaa !15
%41 = icmp eq i64 %39, %40
br i1 %41, label %42, label %51
42: ; preds = %38
%43 = tail call i32 @e1000e_phy_init_script_igp3(ptr noundef nonnull %0) #3
br label %51
44: ; preds = %28
%45 = call i64 @e1000_valid_nvm_bank_detect_ich8lan(ptr noundef nonnull %0, ptr noundef nonnull %2) #3
%46 = icmp eq i64 %45, 0
br i1 %46, label %51, label %47
47: ; preds = %44
%48 = call i32 @e_dbg(ptr noundef nonnull @.str.2) #3
%49 = load i32, ptr @E1000_ERR_CONFIG, align 4, !tbaa !6
%50 = sub nsw i32 0, %49
br label %51
51: ; preds = %44, %47, %32, %38, %42
%52 = phi i32 [ 0, %32 ], [ 0, %42 ], [ 0, %38 ], [ %50, %47 ], [ 0, %44 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %52
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @e1000e_get_cfg_done_generic(ptr noundef) local_unnamed_addr #2
declare i32 @e1000_lan_init_done_ich8lan(ptr noundef) local_unnamed_addr #2
declare i32 @e1000e_get_auto_rd_done(ptr noundef) local_unnamed_addr #2
declare i32 @e_dbg(ptr noundef) local_unnamed_addr #2
declare i32 @er32(i32 noundef) local_unnamed_addr #2
declare i32 @ew32(i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @e1000e_phy_init_script_igp3(ptr noundef) local_unnamed_addr #2
declare i64 @e1000_valid_nvm_bank_detect_ich8lan(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 8}
!11 = !{!"e1000_hw", !12, i64 0, !14, i64 8}
!12 = !{!"TYPE_3__", !13, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"TYPE_4__", !13, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!11, !13, i64 0}
| linux_drivers_net_ethernet_intel_e1000e_extr_ich8lan.c_e1000_get_cfg_done_ich8lan |
; ModuleID = 'AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_stepping_show.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_stepping_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"
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @stepping_show], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @stepping_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %13
9: ; preds = %3
%10 = load ptr, ptr %4, align 8, !tbaa !9
%11 = load ptr, ptr %10, align 8, !tbaa !12
%12 = tail call i32 %11(ptr noundef nonnull %4, ptr noundef %2) #2
br label %13
13: ; preds = %9, %6
%14 = phi i32 [ %12, %9 ], [ %8, %6 ]
ret i32 %14
}
declare ptr @dev_get_drvdata(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 = !{!"cosm_device", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_2__", !11, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_stepping_show.c'
source_filename = "AnghaBench/linux/drivers/misc/mic/cosm/extr_cosm_sysfs.c_stepping_show.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 @stepping_show], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @stepping_show(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 {
%4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load i32, ptr @EINVAL, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %13
9: ; preds = %3
%10 = load ptr, ptr %4, align 8, !tbaa !10
%11 = load ptr, ptr %10, align 8, !tbaa !13
%12 = tail call i32 %11(ptr noundef nonnull %4, ptr noundef %2) #2
br label %13
13: ; preds = %9, %6
%14 = phi i32 [ %12, %9 ], [ %8, %6 ]
ret i32 %14
}
declare ptr @dev_get_drvdata(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 = !{!"cosm_device", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"TYPE_2__", !12, i64 0}
| linux_drivers_misc_mic_cosm_extr_cosm_sysfs.c_stepping_show |
; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_multicast.c_br_multicast_update_query_timer.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_multicast.c_br_multicast_update_query_timer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.bridge_mcast_other_query = type { i32, i64 }
@jiffies = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @br_multicast_update_query_timer], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @br_multicast_update_query_timer(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @timer_pending(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
%6 = load i64, ptr @jiffies, align 8, !tbaa !5
br i1 %5, label %7, label %10
7: ; preds = %3
%8 = add i64 %6, %2
%9 = getelementptr inbounds %struct.bridge_mcast_other_query, ptr %1, i64 0, i32 1
store i64 %8, ptr %9, align 8, !tbaa !9
br label %10
10: ; preds = %7, %3
%11 = load i64, ptr %0, align 8, !tbaa !12
%12 = add nsw i64 %11, %6
%13 = tail call i32 @mod_timer(ptr noundef %1, i64 noundef %12) #2
ret void
}
declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"bridge_mcast_other_query", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"net_bridge", !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/net/bridge/extr_br_multicast.c_br_multicast_update_query_timer.c'
source_filename = "AnghaBench/linux/net/bridge/extr_br_multicast.c_br_multicast_update_query_timer.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @br_multicast_update_query_timer], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @br_multicast_update_query_timer(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = tail call i32 @timer_pending(ptr noundef %1) #2
%5 = icmp eq i32 %4, 0
%6 = load i64, ptr @jiffies, align 8, !tbaa !6
br i1 %5, label %7, label %10
7: ; preds = %3
%8 = add i64 %6, %2
%9 = getelementptr inbounds i8, ptr %1, i64 8
store i64 %8, ptr %9, align 8, !tbaa !10
br label %10
10: ; preds = %7, %3
%11 = load i64, ptr %0, align 8, !tbaa !13
%12 = add nsw i64 %11, %6
%13 = tail call i32 @mod_timer(ptr noundef %1, i64 noundef %12) #2
ret void
}
declare i32 @timer_pending(ptr noundef) local_unnamed_addr #1
declare i32 @mod_timer(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"bridge_mcast_other_query", !12, i64 0, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"net_bridge", !7, i64 0}
| linux_net_bridge_extr_br_multicast.c_br_multicast_update_query_timer |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_dma.c_nextrxd.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_dma.c_nextrxd.c"
target datalayout = "e-m:e-p270:32:32-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 @nextrxd], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @nextrxd(ptr noundef %0, i64 noundef %1) #0 {
%3 = add nsw i64 %1, 1
%4 = tail call i64 @rxd(ptr noundef %0, i64 noundef %3) #2
ret i64 %4
}
declare i64 @rxd(ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_dma.c_nextrxd.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_dma.c_nextrxd.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 @nextrxd], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @nextrxd(ptr noundef %0, i64 noundef %1) #0 {
%3 = add nsw i64 %1, 1
%4 = tail call i64 @rxd(ptr noundef %0, i64 noundef %3) #2
ret i64 %4
}
declare i64 @rxd(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)"}
| linux_drivers_net_wireless_broadcom_brcm80211_brcmsmac_extr_dma.c_nextrxd |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dprtc.c_dprtc_open.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dprtc.c_dprtc_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@DPRTC_CMDID_OPEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @dprtc_open(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 {
%5 = load i32, ptr @DPRTC_CMDID_OPEN, align 4, !tbaa !5
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef 0) #2
%7 = tail call i32 @cpu_to_le32(i32 noundef %2) #2
unreachable
}
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dprtc.c_dprtc_open.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/freescale/dpaa2/extr_dprtc.c_dprtc_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@DPRTC_CMDID_OPEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: noreturn nounwind ssp uwtable(sync)
define noundef i32 @dprtc_open(ptr nocapture noundef readnone %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readnone %3) local_unnamed_addr #0 {
%5 = load i32, ptr @DPRTC_CMDID_OPEN, align 4, !tbaa !6
%6 = tail call i32 @mc_encode_cmd_header(i32 noundef %5, i32 noundef %1, i32 noundef 0) #2
%7 = tail call i32 @cpu_to_le32(i32 noundef %2) #2
unreachable
}
declare i32 @mc_encode_cmd_header(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1
attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_freescale_dpaa2_extr_dprtc.c_dprtc_open |
; ModuleID = 'AnghaBench/vlc/lib/extr_media_list_player.c_get_next_path.c'
source_filename = "AnghaBench/vlc/lib/extr_media_list_player.c_get_next_path.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_4__ = type { ptr, ptr }
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_next_path], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @get_next_path(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @assert_locked(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = icmp eq ptr %4, null
%6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%7 = load ptr, ptr %6, align 8, !tbaa !10
br i1 %5, label %8, label %13
8: ; preds = %2
%9 = tail call i32 @libvlc_media_list_count(ptr noundef %7) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %72, label %11
11: ; preds = %8
%12 = tail call ptr @libvlc_media_list_path_with_root_index(i32 noundef 0) #2
br label %72
13: ; preds = %2
%14 = tail call ptr @libvlc_media_list_sublist_at_path(ptr noundef %7, ptr noundef nonnull %4) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %23, label %16
16: ; preds = %13
%17 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %14) #2
%18 = tail call i32 @libvlc_media_list_release(ptr noundef nonnull %14) #2
%19 = icmp slt i32 %17, 1
br i1 %19, label %23, label %20
20: ; preds = %16
%21 = load ptr, ptr %0, align 8, !tbaa !5
%22 = tail call ptr @libvlc_media_list_path_copy_by_appending(ptr noundef %21, i32 noundef 0) #2
br label %72
23: ; preds = %16, %13
%24 = load ptr, ptr %6, align 8, !tbaa !10
%25 = load ptr, ptr %0, align 8, !tbaa !5
%26 = tail call ptr @libvlc_media_list_parentlist_at_path(ptr noundef %24, ptr noundef %25) #2
%27 = load ptr, ptr %0, align 8, !tbaa !5
%28 = tail call i32 @libvlc_media_list_path_depth(ptr noundef %27) #2
%29 = icmp sgt i32 %28, 0
%30 = icmp ne ptr %26, null
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %72
32: ; preds = %23
%33 = load ptr, ptr %0, align 8, !tbaa !5
%34 = tail call ptr @libvlc_media_list_path_copy(ptr noundef %33) #2
%35 = zext nneg i32 %28 to i64
%36 = getelementptr i32, ptr %34, i64 %35
%37 = getelementptr i32, ptr %36, i64 -1
%38 = load i32, ptr %37, align 4, !tbaa !11
%39 = add nsw i32 %38, 1
store i32 %39, ptr %37, align 4, !tbaa !11
%40 = getelementptr i32, ptr %34, i64 -1
%41 = getelementptr i32, ptr %34, i64 -2
%42 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %26) #2
%43 = icmp slt i32 %39, %42
br i1 %43, label %69, label %44
44: ; preds = %32
%45 = icmp ult i32 %28, 2
br i1 %45, label %48, label %56
46: ; preds = %56
%47 = icmp slt i64 %57, 3
br i1 %47, label %48, label %56, !llvm.loop !13
48: ; preds = %46, %44
%49 = phi ptr [ %26, %44 ], [ %64, %46 ]
%50 = icmp eq i32 %1, 0
br i1 %50, label %53, label %51
51: ; preds = %48
store i32 0, ptr %34, align 4, !tbaa !11
%52 = getelementptr inbounds i32, ptr %34, i64 1
store i32 -1, ptr %52, align 4, !tbaa !11
br label %69
53: ; preds = %48
%54 = tail call i32 @free(ptr noundef nonnull %34) #2
%55 = tail call i32 @libvlc_media_list_release(ptr noundef %49) #2
br label %72
56: ; preds = %44, %46
%57 = phi i64 [ %58, %46 ], [ %35, %44 ]
%58 = add nsw i64 %57, -1
%59 = getelementptr inbounds i32, ptr %34, i64 %58
store i32 -1, ptr %59, align 4, !tbaa !11
%60 = getelementptr i32, ptr %41, i64 %57
%61 = load i32, ptr %60, align 4, !tbaa !11
%62 = add nsw i32 %61, 1
store i32 %62, ptr %60, align 4, !tbaa !11
%63 = load ptr, ptr %6, align 8, !tbaa !10
%64 = tail call ptr @libvlc_media_list_parentlist_at_path(ptr noundef %63, ptr noundef nonnull %34) #2
%65 = getelementptr i32, ptr %40, i64 %58
%66 = load i32, ptr %65, align 4, !tbaa !11
%67 = tail call i32 @libvlc_media_list_count(ptr noundef %64) #2
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %46, !llvm.loop !13
69: ; preds = %56, %32, %51
%70 = phi ptr [ %49, %51 ], [ %26, %32 ], [ %64, %56 ]
%71 = tail call i32 @libvlc_media_list_release(ptr noundef %70) #2
br label %72
72: ; preds = %20, %53, %69, %23, %8, %11
%73 = phi ptr [ %22, %20 ], [ %12, %11 ], [ null, %8 ], [ %34, %69 ], [ null, %53 ], [ null, %23 ]
ret ptr %73
}
declare i32 @assert_locked(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_count(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_with_root_index(i32 noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_sublist_at_path(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_release(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_copy_by_appending(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_parentlist_at_path(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_path_depth(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_copy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/vlc/lib/extr_media_list_player.c_get_next_path.c'
source_filename = "AnghaBench/vlc/lib/extr_media_list_player.c_get_next_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 @get_next_path], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @get_next_path(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @assert_locked(ptr noundef %0) #2
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = icmp eq ptr %4, null
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load ptr, ptr %6, align 8, !tbaa !11
br i1 %5, label %8, label %13
8: ; preds = %2
%9 = tail call i32 @libvlc_media_list_count(ptr noundef %7) #2
%10 = icmp eq i32 %9, 0
br i1 %10, label %71, label %11
11: ; preds = %8
%12 = tail call ptr @libvlc_media_list_path_with_root_index(i32 noundef 0) #2
br label %71
13: ; preds = %2
%14 = tail call ptr @libvlc_media_list_sublist_at_path(ptr noundef %7, ptr noundef nonnull %4) #2
%15 = icmp eq ptr %14, null
br i1 %15, label %23, label %16
16: ; preds = %13
%17 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %14) #2
%18 = tail call i32 @libvlc_media_list_release(ptr noundef nonnull %14) #2
%19 = icmp slt i32 %17, 1
br i1 %19, label %23, label %20
20: ; preds = %16
%21 = load ptr, ptr %0, align 8, !tbaa !6
%22 = tail call ptr @libvlc_media_list_path_copy_by_appending(ptr noundef %21, i32 noundef 0) #2
br label %71
23: ; preds = %16, %13
%24 = load ptr, ptr %6, align 8, !tbaa !11
%25 = load ptr, ptr %0, align 8, !tbaa !6
%26 = tail call ptr @libvlc_media_list_parentlist_at_path(ptr noundef %24, ptr noundef %25) #2
%27 = load ptr, ptr %0, align 8, !tbaa !6
%28 = tail call i32 @libvlc_media_list_path_depth(ptr noundef %27) #2
%29 = icmp sgt i32 %28, 0
%30 = icmp ne ptr %26, null
%31 = select i1 %29, i1 %30, i1 false
br i1 %31, label %32, label %71
32: ; preds = %23
%33 = load ptr, ptr %0, align 8, !tbaa !6
%34 = tail call ptr @libvlc_media_list_path_copy(ptr noundef %33) #2
%35 = zext nneg i32 %28 to i64
%36 = getelementptr i32, ptr %34, i64 %35
%37 = getelementptr i8, ptr %36, i64 -4
%38 = load i32, ptr %37, align 4, !tbaa !12
%39 = add nsw i32 %38, 1
store i32 %39, ptr %37, align 4, !tbaa !12
%40 = getelementptr i8, ptr %34, i64 -4
%41 = getelementptr i8, ptr %34, i64 -8
%42 = tail call i32 @libvlc_media_list_count(ptr noundef nonnull %26) #2
%43 = icmp slt i32 %39, %42
br i1 %43, label %68, label %44
44: ; preds = %32
%45 = icmp ult i32 %28, 2
br i1 %45, label %48, label %55
46: ; preds = %55
%47 = icmp slt i64 %56, 3
br i1 %47, label %48, label %55, !llvm.loop !14
48: ; preds = %46, %44
%49 = phi ptr [ %26, %44 ], [ %63, %46 ]
%50 = icmp eq i32 %1, 0
br i1 %50, label %52, label %51
51: ; preds = %48
store <2 x i32> <i32 0, i32 -1>, ptr %34, align 4, !tbaa !12
br label %68
52: ; preds = %48
%53 = tail call i32 @free(ptr noundef nonnull %34) #2
%54 = tail call i32 @libvlc_media_list_release(ptr noundef %49) #2
br label %71
55: ; preds = %44, %46
%56 = phi i64 [ %57, %46 ], [ %35, %44 ]
%57 = add nsw i64 %56, -1
%58 = getelementptr inbounds i32, ptr %34, i64 %57
store i32 -1, ptr %58, align 4, !tbaa !12
%59 = getelementptr i32, ptr %41, i64 %56
%60 = load i32, ptr %59, align 4, !tbaa !12
%61 = add nsw i32 %60, 1
store i32 %61, ptr %59, align 4, !tbaa !12
%62 = load ptr, ptr %6, align 8, !tbaa !11
%63 = tail call ptr @libvlc_media_list_parentlist_at_path(ptr noundef %62, ptr noundef nonnull %34) #2
%64 = getelementptr i32, ptr %40, i64 %57
%65 = load i32, ptr %64, align 4, !tbaa !12
%66 = tail call i32 @libvlc_media_list_count(ptr noundef %63) #2
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %46, !llvm.loop !14
68: ; preds = %55, %32, %51
%69 = phi ptr [ %49, %51 ], [ %26, %32 ], [ %63, %55 ]
%70 = tail call i32 @libvlc_media_list_release(ptr noundef %69) #2
br label %71
71: ; preds = %20, %52, %68, %23, %8, %11
%72 = phi ptr [ %22, %20 ], [ %12, %11 ], [ null, %8 ], [ %34, %68 ], [ null, %52 ], [ null, %23 ]
ret ptr %72
}
declare i32 @assert_locked(ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_count(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_with_root_index(i32 noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_sublist_at_path(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_release(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_copy_by_appending(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_parentlist_at_path(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @libvlc_media_list_path_depth(ptr noundef) local_unnamed_addr #1
declare ptr @libvlc_media_list_path_copy(ptr noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!7, !8, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| vlc_lib_extr_media_list_player.c_get_next_path |
; ModuleID = 'AnghaBench/freebsd/bin/sh/extr_mystring.c_number.c'
source_filename = "AnghaBench/freebsd/bin/sh/extr_mystring.c_number.c"
target datalayout = "e-m:e-p270:32:32-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 [19 x i8] c"Illegal number: %s\00", align 1
; Function Attrs: nounwind uwtable
define dso_local i32 @number(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @is_number(ptr noundef %0) #3
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %6
6: ; preds = %4, %1
%7 = tail call i32 @atoi(ptr nocapture noundef %0)
ret i32 %7
}
declare i32 @is_number(ptr noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/freebsd/bin/sh/extr_mystring.c_number.c'
source_filename = "AnghaBench/freebsd/bin/sh/extr_mystring.c_number.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 [19 x i8] c"Illegal number: %s\00", align 1
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @number(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @is_number(ptr noundef %0) #3
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @error(ptr noundef nonnull @.str, ptr noundef %0) #3
br label %6
6: ; preds = %4, %1
%7 = tail call i32 @atoi(ptr nocapture noundef %0)
ret i32 %7
}
declare i32 @is_number(ptr noundef) local_unnamed_addr #1
declare i32 @error(ptr noundef, ptr noundef) local_unnamed_addr #1
; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @atoi(ptr nocapture noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{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_bin_sh_extr_mystring.c_number |
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_cik.c_cik_enable_gui_idle_interrupt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_cik.c_cik_enable_gui_idle_interrupt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@CP_INT_CNTL_RING0 = dso_local local_unnamed_addr global i32 0, align 4
@CNTX_BUSY_INT_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@CNTX_EMPTY_INT_ENABLE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @cik_enable_gui_idle_interrupt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @cik_enable_gui_idle_interrupt(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CP_INT_CNTL_RING0, align 4, !tbaa !5
%4 = tail call i32 @RREG32(i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @CNTX_BUSY_INT_ENABLE, align 4, !tbaa !5
%7 = load i32, ptr @CNTX_EMPTY_INT_ENABLE, align 4, !tbaa !5
br i1 %5, label %11, label %8
8: ; preds = %2
%9 = or i32 %6, %7
%10 = or i32 %9, %4
br label %15
11: ; preds = %2
%12 = or i32 %7, %6
%13 = xor i32 %12, -1
%14 = and i32 %4, %13
br label %15
15: ; preds = %11, %8
%16 = phi i32 [ %10, %8 ], [ %14, %11 ]
%17 = load i32, ptr @CP_INT_CNTL_RING0, align 4, !tbaa !5
%18 = tail call i32 @WREG32(i32 noundef %17, i32 noundef %16) #2
ret void
}
declare i32 @RREG32(i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_cik.c_cik_enable_gui_idle_interrupt.c'
source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_cik.c_cik_enable_gui_idle_interrupt.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@CP_INT_CNTL_RING0 = common local_unnamed_addr global i32 0, align 4
@CNTX_BUSY_INT_ENABLE = common local_unnamed_addr global i32 0, align 4
@CNTX_EMPTY_INT_ENABLE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @cik_enable_gui_idle_interrupt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @cik_enable_gui_idle_interrupt(ptr nocapture readnone %0, i32 noundef %1) #0 {
%3 = load i32, ptr @CP_INT_CNTL_RING0, align 4, !tbaa !6
%4 = tail call i32 @RREG32(i32 noundef %3) #2
%5 = icmp eq i32 %1, 0
%6 = load i32, ptr @CNTX_BUSY_INT_ENABLE, align 4, !tbaa !6
%7 = load i32, ptr @CNTX_EMPTY_INT_ENABLE, align 4, !tbaa !6
br i1 %5, label %11, label %8
8: ; preds = %2
%9 = or i32 %6, %7
%10 = or i32 %9, %4
br label %15
11: ; preds = %2
%12 = or i32 %7, %6
%13 = xor i32 %12, -1
%14 = and i32 %4, %13
br label %15
15: ; preds = %11, %8
%16 = phi i32 [ %10, %8 ], [ %14, %11 ]
%17 = load i32, ptr @CP_INT_CNTL_RING0, align 4, !tbaa !6
%18 = tail call i32 @WREG32(i32 noundef %17, i32 noundef %16) #2
ret void
}
declare i32 @RREG32(i32 noundef) local_unnamed_addr #1
declare i32 @WREG32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_gpu_drm_radeon_extr_cik.c_cik_enable_gui_idle_interrupt |
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_pmcraid.c_pmcraid_reset_bringdown.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_pmcraid.c_pmcraid_reset_bringdown.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SHUTDOWN_NORMAL = dso_local local_unnamed_addr global i32 0, align 4
@IOA_STATE_UNKNOWN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @pmcraid_reset_bringdown], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @pmcraid_reset_bringdown(ptr noundef %0) #0 {
%2 = load i32, ptr @SHUTDOWN_NORMAL, align 4, !tbaa !5
%3 = load i32, ptr @IOA_STATE_UNKNOWN, align 4, !tbaa !5
%4 = tail call i32 @pmcraid_reset_reload(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
ret i32 %4
}
declare i32 @pmcraid_reset_reload(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_pmcraid.c_pmcraid_reset_bringdown.c'
source_filename = "AnghaBench/linux/drivers/scsi/extr_pmcraid.c_pmcraid_reset_bringdown.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SHUTDOWN_NORMAL = common local_unnamed_addr global i32 0, align 4
@IOA_STATE_UNKNOWN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @pmcraid_reset_bringdown], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @pmcraid_reset_bringdown(ptr noundef %0) #0 {
%2 = load i32, ptr @SHUTDOWN_NORMAL, align 4, !tbaa !6
%3 = load i32, ptr @IOA_STATE_UNKNOWN, align 4, !tbaa !6
%4 = tail call i32 @pmcraid_reset_reload(ptr noundef %0, i32 noundef %2, i32 noundef %3) #2
ret i32 %4
}
declare i32 @pmcraid_reset_reload(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| linux_drivers_scsi_extr_pmcraid.c_pmcraid_reset_bringdown |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_init.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.lan743x_ptp = type { i32, i32, i64, i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @lan743x_ptp_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.lan743x_ptp, ptr %0, i64 0, i32 4
%3 = tail call i32 @mutex_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.lan743x_ptp, ptr %0, i64 0, i32 3
%5 = tail call i32 @spin_lock_init(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds %struct.lan743x_ptp, ptr %0, i64 0, i32 2
store i64 0, ptr %6, align 8, !tbaa !5
store i32 -1, ptr %0, align 8, !tbaa !11
%7 = getelementptr inbounds %struct.lan743x_ptp, ptr %0, i64 0, i32 1
store i32 -1, ptr %7, align 4, !tbaa !12
ret i32 0
}
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"lan743x_ptp", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_init.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/microchip/extr_lan743x_ptp.c_lan743x_ptp_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define noundef i32 @lan743x_ptp_init(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 20
%3 = tail call i32 @mutex_init(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = tail call i32 @spin_lock_init(ptr noundef nonnull %4) #2
%6 = getelementptr inbounds i8, ptr %0, i64 8
store i64 0, ptr %6, align 8, !tbaa !6
store <2 x i32> <i32 -1, i32 -1>, ptr %0, align 8, !tbaa !12
ret i32 0
}
declare i32 @mutex_init(ptr noundef) local_unnamed_addr #1
declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"lan743x_ptp", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!8, !8, i64 0}
| linux_drivers_net_ethernet_microchip_extr_lan743x_ptp.c_lan743x_ptp_init |
; ModuleID = 'AnghaBench/linux/drivers/rpmsg/extr_qcom_glink_native.c_qcom_glink_tx.c'
source_filename = "AnghaBench/linux/drivers/rpmsg/extr_qcom_glink_native.c_qcom_glink_tx.c"
target datalayout = "e-m:e-p270:32:32-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.qcom_glink = type { i32, i32, ptr }
@EINVAL = dso_local local_unnamed_addr global i32 0, align 4
@EAGAIN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @qcom_glink_tx], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @qcom_glink_tx(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = add i64 %4, %2
%8 = trunc i64 %7 to i32
%9 = getelementptr inbounds %struct.qcom_glink, ptr %0, i64 0, i32 2
%10 = load ptr, ptr %9, align 8, !tbaa !5
%11 = load i32, ptr %10, align 4, !tbaa !11
%12 = icmp ugt i32 %11, %8
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = load i32, ptr @EINVAL, align 4, !tbaa !13
%15 = sub nsw i32 0, %14
br label %41
16: ; preds = %6
%17 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2
%18 = tail call i32 @qcom_glink_tx_avail(ptr noundef nonnull %0) #2
%19 = icmp ult i32 %18, %8
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = icmp eq i32 %5, 0
br i1 %21, label %28, label %22
22: ; preds = %20, %22
%23 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%24 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 15000) #2
%25 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%26 = tail call i32 @qcom_glink_tx_avail(ptr noundef %0) #2
%27 = icmp ult i32 %26, %8
br i1 %27, label %22, label %31, !llvm.loop !14
28: ; preds = %20
%29 = load i32, ptr @EAGAIN, align 4, !tbaa !13
%30 = sub nsw i32 0, %29
br label %38
31: ; preds = %22, %16
%32 = tail call i32 @qcom_glink_tx_write(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
%33 = getelementptr inbounds %struct.qcom_glink, ptr %0, i64 0, i32 1
%34 = load i32, ptr %33, align 4, !tbaa !16
%35 = tail call i32 @mbox_send_message(i32 noundef %34, ptr noundef null) #2
%36 = load i32, ptr %33, align 4, !tbaa !16
%37 = tail call i32 @mbox_client_txdone(i32 noundef %36, i32 noundef 0) #2
br label %38
38: ; preds = %31, %28
%39 = phi i32 [ %30, %28 ], [ 0, %31 ]
%40 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %41
41: ; preds = %38, %13
%42 = phi i32 [ %15, %13 ], [ %39, %38 ]
ret i32 %42
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @qcom_glink_tx_avail(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qcom_glink_tx_write(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mbox_send_message(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mbox_client_txdone(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"qcom_glink", !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 = !{!12, !7, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !7, i64 4}
| ; ModuleID = 'AnghaBench/linux/drivers/rpmsg/extr_qcom_glink_native.c_qcom_glink_tx.c'
source_filename = "AnghaBench/linux/drivers/rpmsg/extr_qcom_glink_native.c_qcom_glink_tx.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
@EAGAIN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @qcom_glink_tx], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483647, -2147483648) i32 @qcom_glink_tx(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = add i64 %4, %2
%8 = trunc i64 %7 to i32
%9 = getelementptr inbounds i8, ptr %0, i64 8
%10 = load ptr, ptr %9, align 8, !tbaa !6
%11 = load i32, ptr %10, align 4, !tbaa !12
%12 = icmp ugt i32 %11, %8
br i1 %12, label %16, label %13
13: ; preds = %6
%14 = load i32, ptr @EINVAL, align 4, !tbaa !14
%15 = sub nsw i32 0, %14
br label %41
16: ; preds = %6
%17 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %0, i64 noundef undef) #2
%18 = tail call i32 @qcom_glink_tx_avail(ptr noundef nonnull %0) #2
%19 = icmp ult i32 %18, %8
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = icmp eq i32 %5, 0
br i1 %21, label %28, label %22
22: ; preds = %20, %22
%23 = tail call i32 @spin_unlock_irqrestore(ptr noundef %0, i64 noundef undef) #2
%24 = tail call i32 @usleep_range(i32 noundef 10000, i32 noundef 15000) #2
%25 = tail call i32 @spin_lock_irqsave(ptr noundef %0, i64 noundef undef) #2
%26 = tail call i32 @qcom_glink_tx_avail(ptr noundef %0) #2
%27 = icmp ult i32 %26, %8
br i1 %27, label %22, label %31, !llvm.loop !15
28: ; preds = %20
%29 = load i32, ptr @EAGAIN, align 4, !tbaa !14
%30 = sub nsw i32 0, %29
br label %38
31: ; preds = %22, %16
%32 = tail call i32 @qcom_glink_tx_write(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
%33 = getelementptr inbounds i8, ptr %0, i64 4
%34 = load i32, ptr %33, align 4, !tbaa !17
%35 = tail call i32 @mbox_send_message(i32 noundef %34, ptr noundef null) #2
%36 = load i32, ptr %33, align 4, !tbaa !17
%37 = tail call i32 @mbox_client_txdone(i32 noundef %36, i32 noundef 0) #2
br label %38
38: ; preds = %31, %28
%39 = phi i32 [ %30, %28 ], [ 0, %31 ]
%40 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %0, i64 noundef undef) #2
br label %41
41: ; preds = %38, %13
%42 = phi i32 [ %15, %13 ], [ %39, %38 ]
ret i32 %42
}
declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @qcom_glink_tx_avail(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @qcom_glink_tx_write(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @mbox_send_message(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @mbox_client_txdone(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"qcom_glink", !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 = !{!13, !8, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!7, !8, i64 4}
| linux_drivers_rpmsg_extr_qcom_glink_native.c_qcom_glink_tx |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usb_stream.c_loop_back.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usb_stream.c_loop_back.c"
target datalayout = "e-m:e-p270:32:32-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 @loop_back], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @loop_back(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usb_stream.c_loop_back.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/usb/usx2y/extr_usb_stream.c_loop_back.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 @loop_back], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @loop_back(ptr nocapture readnone %0) #0 {
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_sound_usb_usx2y_extr_usb_stream.c_loop_back |
; ModuleID = 'AnghaBench/linux/drivers/net/extr_veth.c_veth_forward_skb.c'
source_filename = "AnghaBench/linux/drivers/net/extr_veth.c_veth_forward_skb.c"
target datalayout = "e-m:e-p270:32:32-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 @veth_forward_skb], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @veth_forward_skb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @__dev_forward_skb(ptr noundef %0, ptr noundef %1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = icmp eq i32 %3, 0
br i1 %8, label %11, label %9
9: ; preds = %7
%10 = tail call i32 @veth_xdp_rx(ptr noundef %2, ptr noundef %1) #2
br label %13
11: ; preds = %7
%12 = tail call i32 @netif_rx(ptr noundef %1) #2
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
%15 = zext i32 %14 to i64
br label %16
16: ; preds = %4, %13
%17 = phi i64 [ %15, %13 ], [ %5, %4 ]
%18 = trunc i64 %17 to i32
ret i32 %18
}
declare i64 @__dev_forward_skb(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @veth_xdp_rx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_rx(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/extr_veth.c_veth_forward_skb.c'
source_filename = "AnghaBench/linux/drivers/net/extr_veth.c_veth_forward_skb.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 @veth_forward_skb], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @veth_forward_skb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = tail call i64 @__dev_forward_skb(ptr noundef %0, ptr noundef %1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = icmp eq i32 %3, 0
br i1 %8, label %11, label %9
9: ; preds = %7
%10 = tail call i32 @veth_xdp_rx(ptr noundef %2, ptr noundef %1) #2
br label %13
11: ; preds = %7
%12 = tail call i32 @netif_rx(ptr noundef %1) #2
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
%15 = zext i32 %14 to i64
br label %16
16: ; preds = %4, %13
%17 = phi i64 [ %15, %13 ], [ %5, %4 ]
%18 = trunc i64 %17 to i32
ret i32 %18
}
declare i64 @__dev_forward_skb(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @veth_xdp_rx(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @netif_rx(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_extr_veth.c_veth_forward_skb |
; ModuleID = 'AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_id_put.c'
source_filename = "AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_id_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"
@llvm.compiler.used = appending global [1 x ptr] [ptr @mem_cgroup_id_put], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal void @mem_cgroup_id_put(ptr noundef %0) #0 {
%2 = tail call i32 @mem_cgroup_id_put_many(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @mem_cgroup_id_put_many(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/mm/extr_memcontrol.c_mem_cgroup_id_put.c'
source_filename = "AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_id_put.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 @mem_cgroup_id_put], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal void @mem_cgroup_id_put(ptr noundef %0) #0 {
%2 = tail call i32 @mem_cgroup_id_put_many(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @mem_cgroup_id_put_many(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_mm_extr_memcontrol.c_mem_cgroup_id_put |
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_misc.c_linux_getpriority.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_misc.c_linux_getpriority.c"
target datalayout = "e-m:e-p270:32:32-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.getpriority_args = type { i32, i32 }
; Function Attrs: nounwind uwtable
define dso_local i32 @linux_getpriority(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.getpriority_args, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load <2 x i32>, ptr %1, align 4, !tbaa !5
store <2 x i32> %4, ptr %3, align 8, !tbaa !5
%5 = call i32 @sys_getpriority(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = load ptr, ptr %0, align 8, !tbaa !9
%7 = load i64, ptr %6, align 8, !tbaa !12
%8 = sub nsw i64 20, %7
store i64 %8, ptr %6, align 8, !tbaa !12
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sys_getpriority(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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"thread", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_misc.c_linux_getpriority.c'
source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_misc.c_linux_getpriority.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.getpriority_args = type { i32, i32 }
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @linux_getpriority(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
%3 = alloca %struct.getpriority_args, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%4 = load <2 x i32>, ptr %1, align 4, !tbaa !6
store <2 x i32> %4, ptr %3, align 8, !tbaa !6
%5 = call i32 @sys_getpriority(ptr noundef %0, ptr noundef nonnull %3) #3
%6 = load ptr, ptr %0, align 8, !tbaa !10
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = sub nsw i64 20, %7
store i64 %8, ptr %6, align 8, !tbaa !13
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %5
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @sys_getpriority(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 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"thread", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
| freebsd_sys_compat_linux_extr_linux_misc.c_linux_getpriority |
; ModuleID = 'AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_open.c'
source_filename = "AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_open.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UV_EEXIST = dso_local local_unnamed_addr global i32 0, align 4
@F_GETFL = dso_local local_unnamed_addr global i32 0, align 4
@errno = dso_local local_unnamed_addr global i64 0, align 8
@EINTR = dso_local local_unnamed_addr global i64 0, align 8
@O_ACCMODE = dso_local local_unnamed_addr global i32 0, align 4
@O_WRONLY = dso_local local_unnamed_addr global i32 0, align 4
@UV_HANDLE_READABLE = dso_local local_unnamed_addr global i32 0, align 4
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@UV_HANDLE_WRITABLE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local i32 @uv_pipe_open(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr %0, align 4, !tbaa !5
%4 = tail call i64 @uv__fd_exists(i32 noundef %3, i32 noundef %1) #2
%5 = icmp eq i64 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %2
%7 = load i32, ptr @UV_EEXIST, align 4, !tbaa !10
br label %35
8: ; preds = %2, %8
%9 = load i32, ptr @F_GETFL, align 4, !tbaa !10
%10 = tail call i32 @fcntl(i32 noundef %1, i32 noundef %9) #2
%11 = icmp eq i32 %10, -1
%12 = load i64, ptr @errno, align 8
%13 = load i64, ptr @EINTR, align 8
%14 = icmp eq i64 %12, %13
%15 = select i1 %11, i1 %14, i1 false
br i1 %15, label %8, label %16, !llvm.loop !11
16: ; preds = %8
br i1 %11, label %17, label %19
17: ; preds = %16
%18 = tail call i32 @UV__ERR(i64 noundef %12) #2
br label %35
19: ; preds = %16
%20 = tail call i32 @uv__nonblock(i32 noundef %1, i32 noundef 1) #2
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %35
22: ; preds = %19
%23 = load i32, ptr @O_ACCMODE, align 4, !tbaa !10
%24 = and i32 %23, %10
%25 = load i32, ptr @O_WRONLY, align 4, !tbaa !10
%26 = icmp eq i32 %24, %25
%27 = load i32, ptr @UV_HANDLE_READABLE, align 4
%28 = select i1 %26, i32 0, i32 %27
%29 = load i32, ptr @O_RDONLY, align 4, !tbaa !10
%30 = icmp eq i32 %24, %29
%31 = load i32, ptr @UV_HANDLE_WRITABLE, align 4
%32 = select i1 %30, i32 0, i32 %31
%33 = or i32 %32, %28
%34 = tail call i32 @uv__stream_open(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %33) #2
br label %35
35: ; preds = %19, %22, %17, %6
%36 = phi i32 [ %7, %6 ], [ %18, %17 ], [ %34, %22 ], [ %20, %19 ]
ret i32 %36
}
declare i64 @uv__fd_exists(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fcntl(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UV__ERR(i64 noundef) local_unnamed_addr #1
declare i32 @uv__nonblock(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uv__stream_open(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_open.c'
source_filename = "AnghaBench/libuv/src/unix/extr_pipe.c_uv_pipe_open.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UV_EEXIST = common local_unnamed_addr global i32 0, align 4
@F_GETFL = common local_unnamed_addr global i32 0, align 4
@errno = common local_unnamed_addr global i64 0, align 8
@EINTR = common local_unnamed_addr global i64 0, align 8
@O_ACCMODE = common local_unnamed_addr global i32 0, align 4
@O_WRONLY = common local_unnamed_addr global i32 0, align 4
@UV_HANDLE_READABLE = common local_unnamed_addr global i32 0, align 4
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@UV_HANDLE_WRITABLE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define i32 @uv_pipe_open(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 {
%3 = alloca i32, align 4
store i32 %1, ptr %3, align 4, !tbaa !6
%4 = load i32, ptr %0, align 4, !tbaa !10
%5 = tail call i64 @uv__fd_exists(i32 noundef %4, i32 noundef %1) #2
%6 = icmp eq i64 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %2
%8 = load i32, ptr @UV_EEXIST, align 4, !tbaa !6
br label %40
9: ; preds = %2, %9
%10 = load i32, ptr @F_GETFL, align 4, !tbaa !6
%11 = tail call i32 @fcntl(i32 noundef %1, i32 noundef %10) #2
%12 = icmp eq i32 %11, -1
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @EINTR, align 8
%15 = icmp eq i64 %13, %14
%16 = select i1 %12, i1 %15, i1 false
br i1 %16, label %9, label %17, !llvm.loop !12
17: ; preds = %9
br i1 %12, label %18, label %20
18: ; preds = %17
%19 = tail call i32 @UV__ERR(i64 noundef %13) #2
br label %40
20: ; preds = %17
%21 = tail call i32 @uv__nonblock(i32 noundef %1, i32 noundef 1) #2
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %40
23: ; preds = %20
%24 = call i32 @uv__stream_try_select(ptr noundef nonnull %0, ptr noundef nonnull %3) #2
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %40
26: ; preds = %23
%27 = load i32, ptr @O_ACCMODE, align 4, !tbaa !6
%28 = and i32 %27, %11
%29 = load i32, ptr @O_WRONLY, align 4, !tbaa !6
%30 = icmp eq i32 %28, %29
%31 = load i32, ptr @UV_HANDLE_READABLE, align 4
%32 = select i1 %30, i32 0, i32 %31
%33 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%34 = icmp eq i32 %28, %33
%35 = load i32, ptr @UV_HANDLE_WRITABLE, align 4
%36 = select i1 %34, i32 0, i32 %35
%37 = or i32 %36, %32
%38 = load i32, ptr %3, align 4, !tbaa !6
%39 = call i32 @uv__stream_open(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %37) #2
br label %40
40: ; preds = %23, %20, %26, %18, %7
%41 = phi i32 [ %8, %7 ], [ %19, %18 ], [ %39, %26 ], [ %21, %20 ], [ %24, %23 ]
ret i32 %41
}
declare i64 @uv__fd_exists(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @fcntl(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @UV__ERR(i64 noundef) local_unnamed_addr #1
declare i32 @uv__nonblock(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @uv__stream_try_select(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @uv__stream_open(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 = !{!"TYPE_3__", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
| libuv_src_unix_extr_pipe.c_uv_pipe_open |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_dtmf.c_dsp_dtmf_goertzel_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_dtmf.c_dsp_dtmf_goertzel_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_2__ = type { i8, i8, i64, i64 }
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @dsp_dtmf_goertzel_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
store i8 0, ptr %0, align 8, !tbaa !5
%2 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1
store i8 0, ptr %2, align 1, !tbaa !11
%3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"dsp", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0, !8, i64 1, !10, i64 8, !10, i64 16}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !8, i64 1}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_dtmf.c_dsp_dtmf_goertzel_init.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/isdn/mISDN/extr_dsp_dtmf.c_dsp_dtmf_goertzel_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @dsp_dtmf_goertzel_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 {
store i8 0, ptr %0, align 8, !tbaa !6
%2 = getelementptr inbounds i8, ptr %0, i64 1
store i8 0, ptr %2, align 1, !tbaa !12
%3 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"dsp", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0, !9, i64 1, !11, i64 8, !11, i64 16}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"long", !9, i64 0}
!12 = !{!7, !9, i64 1}
| fastsocket_kernel_drivers_isdn_mISDN_extr_dsp_dtmf.c_dsp_dtmf_goertzel_init |
; ModuleID = 'AnghaBench/linux/drivers/base/extr_devres.c_devm_pages_match.c'
source_filename = "AnghaBench/linux/drivers/base/extr_devres.c_devm_pages_match.c"
target datalayout = "e-m:e-p270:32:32-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 @devm_pages_match], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable
define internal i32 @devm_pages_match(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !5
%5 = load i64, ptr %2, align 8, !tbaa !5
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
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 = !{!"pages_devres", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/base/extr_devres.c_devm_pages_match.c'
source_filename = "AnghaBench/linux/drivers/base/extr_devres.c_devm_pages_match.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 @devm_pages_match], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync)
define internal range(i32 0, 2) i32 @devm_pages_match(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 {
%4 = load i64, ptr %1, align 8, !tbaa !6
%5 = load i64, ptr %2, align 8, !tbaa !6
%6 = icmp eq i64 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
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 = !{!"pages_devres", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_base_extr_devres.c_devm_pages_match |
; ModuleID = 'AnghaBench/linux/net/batman-adv/extr_network-coding.h_batadv_nc_mesh_free.c'
source_filename = "AnghaBench/linux/net/batman-adv/extr_network-coding.h_batadv_nc_mesh_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @batadv_nc_mesh_free], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal void @batadv_nc_mesh_free(ptr nocapture readnone %0) #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/net/batman-adv/extr_network-coding.h_batadv_nc_mesh_free.c'
source_filename = "AnghaBench/linux/net/batman-adv/extr_network-coding.h_batadv_nc_mesh_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@llvm.used = appending global [1 x ptr] [ptr @batadv_nc_mesh_free], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal void @batadv_nc_mesh_free(ptr nocapture readnone %0) #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_net_batman-adv_extr_network-coding.h_batadv_nc_mesh_free |
; ModuleID = 'AnghaBench/netdata/daemon/extr_daemon.c_sched_setscheduler_set.c'
source_filename = "AnghaBench/netdata/daemon/extr_daemon.c_sched_setscheduler_set.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @sched_setscheduler_set], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @sched_setscheduler_set() #0 {
%1 = tail call i32 (...) @process_nice_level() #2
ret void
}
declare i32 @process_nice_level(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/netdata/daemon/extr_daemon.c_sched_setscheduler_set.c'
source_filename = "AnghaBench/netdata/daemon/extr_daemon.c_sched_setscheduler_set.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 @sched_setscheduler_set], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @sched_setscheduler_set() #0 {
%1 = tail call i32 @process_nice_level() #2
ret void
}
declare i32 @process_nice_level(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| netdata_daemon_extr_daemon.c_sched_setscheduler_set |
; ModuleID = 'AnghaBench/freebsd/sys/arm/arm/extr_busdma_machdep-v6.c_exclusion_bounce.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_busdma_machdep-v6.c_exclusion_bounce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@BUS_DMA_EXCL_BOUNCE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @exclusion_bounce], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable
define internal i32 @exclusion_bounce(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = load i32, ptr @BUS_DMA_EXCL_BOUNCE, align 4, !tbaa !10
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !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/arm/arm/extr_busdma_machdep-v6.c_exclusion_bounce.c'
source_filename = "AnghaBench/freebsd/sys/arm/arm/extr_busdma_machdep-v6.c_exclusion_bounce.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@BUS_DMA_EXCL_BOUNCE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @exclusion_bounce], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync)
define internal i32 @exclusion_bounce(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = load i32, ptr @BUS_DMA_EXCL_BOUNCE, align 4, !tbaa !11
%4 = and i32 %3, %2
ret i32 %4
}
attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !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_arm_arm_extr_busdma_machdep-v6.c_exclusion_bounce |
; ModuleID = 'AnghaBench/torch7/lib/TH/extr_THAtomic.c_THAtomicIncrementRef.c'
source_filename = "AnghaBench/torch7/lib/TH/extr_THAtomic.c_THAtomicIncrementRef.c"
target datalayout = "e-m:e-p270:32:32-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 @THAtomicIncrementRef(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @THAtomicAdd(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @THAtomicAdd(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/torch7/lib/TH/extr_THAtomic.c_THAtomicIncrementRef.c'
source_filename = "AnghaBench/torch7/lib/TH/extr_THAtomic.c_THAtomicIncrementRef.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 @THAtomicIncrementRef(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @THAtomicAdd(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @THAtomicAdd(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)"}
| torch7_lib_TH_extr_THAtomic.c_THAtomicIncrementRef |
; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/vorbis/extr_floor1.c_floor1_encode.c'
source_filename = "AnghaBench/Cinder/src/oggvorbis/vorbis/extr_floor1.c_floor1_encode.c"
target datalayout = "e-m:e-p270:32:32-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 { i64, ptr, ptr, i32, i32, ptr, i32, i32, ptr }
%struct.TYPE_16__ = type { i32, i64, ptr }
%struct.TYPE_18__ = type { ptr, ptr, ptr }
%struct.TYPE_15__ = type { i32, ptr, i64, ptr, ptr, ptr, ptr, ptr }
%struct.TYPE_19__ = type { i32 }
@VIF_POSIT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local noundef i32 @floor1_encode(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca [8 x i32], align 16
%7 = alloca [8 x i32], align 16
%8 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 8
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load i64, ptr %2, align 8, !tbaa !12
%11 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !13
%13 = load ptr, ptr %12, align 8, !tbaa !15
%14 = load ptr, ptr %13, align 8, !tbaa !17
%15 = load i32, ptr @VIF_POSIT, align 4, !tbaa !19
%16 = add nsw i32 %15, 2
%17 = zext i32 %16 to i64
%18 = alloca i32, i64 %17, align 16
%19 = getelementptr inbounds %struct.TYPE_18__, ptr %14, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !20
%21 = getelementptr inbounds %struct.TYPE_18__, ptr %14, i64 0, i32 1
%22 = load ptr, ptr %21, align 8, !tbaa !22
%23 = icmp eq ptr %3, null
br i1 %23, label %370, label %24
24: ; preds = %5
%25 = icmp sgt i64 %10, 0
br i1 %25, label %30, label %26
26: ; preds = %24
%27 = getelementptr inbounds i32, ptr %18, i64 1
%28 = load <2 x i32>, ptr %3, align 4, !tbaa !19
store <2 x i32> %28, ptr %18, align 16, !tbaa !19
%29 = extractelement <2 x i32> %28, i64 0
br label %125
30: ; preds = %24, %46
%31 = phi i64 [ %50, %46 ], [ 0, %24 ]
%32 = getelementptr inbounds i32, ptr %3, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !19
%34 = and i32 %33, 32767
%35 = load i32, ptr %9, align 8, !tbaa !23
switch i32 %35, label %46 [
i32 1, label %36
i32 2, label %38
i32 3, label %40
i32 4, label %44
]
36: ; preds = %30
%37 = lshr i32 %34, 2
br label %46
38: ; preds = %30
%39 = lshr i32 %34, 3
br label %46
40: ; preds = %30
%41 = trunc i32 %34 to i16
%42 = udiv i16 %41, 12
%43 = zext nneg i16 %42 to i32
br label %46
44: ; preds = %30
%45 = lshr i32 %34, 4
br label %46
46: ; preds = %30, %44, %40, %38, %36
%47 = phi i32 [ %34, %30 ], [ %45, %44 ], [ %43, %40 ], [ %39, %38 ], [ %37, %36 ]
%48 = and i32 %33, 32768
%49 = or i32 %47, %48
store i32 %49, ptr %32, align 4, !tbaa !19
%50 = add nuw nsw i64 %31, 1
%51 = icmp eq i64 %50, %10
br i1 %51, label %52, label %30, !llvm.loop !25
52: ; preds = %46
%53 = getelementptr inbounds i32, ptr %18, i64 1
%54 = load <2 x i32>, ptr %3, align 4, !tbaa !19
store <2 x i32> %54, ptr %18, align 16, !tbaa !19
%55 = icmp sgt i64 %10, 2
%56 = extractelement <2 x i32> %54, i64 0
br i1 %55, label %57, label %125
57: ; preds = %52
%58 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 1
%59 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 2
%60 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 1
%61 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 3
br label %62
62: ; preds = %57, %122
%63 = phi i64 [ 2, %57 ], [ %123, %122 ]
%64 = load ptr, ptr %58, align 8, !tbaa !27
%65 = add nsw i64 %63, -2
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = load i32, ptr %66, align 4, !tbaa !19
%68 = load ptr, ptr %59, align 8, !tbaa !28
%69 = getelementptr inbounds i32, ptr %68, i64 %65
%70 = load i32, ptr %69, align 4, !tbaa !19
%71 = load ptr, ptr %60, align 8, !tbaa !29
%72 = sext i32 %67 to i64
%73 = getelementptr inbounds i32, ptr %71, i64 %72
%74 = load i32, ptr %73, align 4, !tbaa !19
%75 = sext i32 %70 to i64
%76 = getelementptr inbounds i32, ptr %71, i64 %75
%77 = load i32, ptr %76, align 4, !tbaa !19
%78 = getelementptr inbounds i32, ptr %3, i64 %72
%79 = load i32, ptr %78, align 4, !tbaa !19
%80 = getelementptr inbounds i32, ptr %3, i64 %75
%81 = load i32, ptr %80, align 4, !tbaa !19
%82 = getelementptr inbounds i32, ptr %71, i64 %63
%83 = load i32, ptr %82, align 4, !tbaa !19
%84 = tail call i32 @render_point(i32 noundef %74, i32 noundef %77, i32 noundef %79, i32 noundef %81, i32 noundef %83) #5
%85 = getelementptr inbounds i32, ptr %3, i64 %63
%86 = load i32, ptr %85, align 4, !tbaa !19
%87 = and i32 %86, 32768
%88 = icmp ne i32 %87, 0
%89 = icmp eq i32 %84, %86
%90 = select i1 %88, i1 true, i1 %89
br i1 %90, label %91, label %94
91: ; preds = %62
%92 = or i32 %84, 32768
store i32 %92, ptr %85, align 4, !tbaa !19
%93 = getelementptr inbounds i32, ptr %18, i64 %63
store i32 0, ptr %93, align 4, !tbaa !19
br label %122
94: ; preds = %62
%95 = load i32, ptr %61, align 8, !tbaa !30
%96 = sub nsw i32 %95, %84
%97 = tail call i32 @llvm.smin.i32(i32 %96, i32 %84)
%98 = sub nsw i32 %86, %84
%99 = icmp slt i32 %98, 0
br i1 %99, label %100, label %109
100: ; preds = %94
%101 = sub nsw i32 0, %97
%102 = icmp slt i32 %98, %101
br i1 %102, label %103, label %106
103: ; preds = %100
%104 = xor i32 %98, -1
%105 = add i32 %97, %104
br label %115
106: ; preds = %100
%107 = shl i32 %98, 1
%108 = xor i32 %107, -1
br label %115
109: ; preds = %94
%110 = icmp slt i32 %98, %97
br i1 %110, label %113, label %111
111: ; preds = %109
%112 = add nsw i32 %97, %98
br label %115
113: ; preds = %109
%114 = shl nuw i32 %98, 1
br label %115
115: ; preds = %111, %113, %103, %106
%116 = phi i32 [ %105, %103 ], [ %108, %106 ], [ %112, %111 ], [ %114, %113 ]
%117 = getelementptr inbounds i32, ptr %18, i64 %63
store i32 %116, ptr %117, align 4, !tbaa !19
%118 = load i32, ptr %78, align 4, !tbaa !19
%119 = and i32 %118, 32767
store i32 %119, ptr %78, align 4, !tbaa !19
%120 = load i32, ptr %80, align 4, !tbaa !19
%121 = and i32 %120, 32767
store i32 %121, ptr %80, align 4, !tbaa !19
br label %122
122: ; preds = %115, %91
%123 = add nuw nsw i64 %63, 1
%124 = icmp eq i64 %123, %10
br i1 %124, label %125, label %62, !llvm.loop !31
125: ; preds = %122, %26, %52
%126 = phi ptr [ %27, %26 ], [ %53, %52 ], [ %53, %122 ]
%127 = phi i32 [ %29, %26 ], [ %56, %52 ], [ %56, %122 ]
%128 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef 1, i32 noundef 1) #5
%129 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 7
%130 = load i32, ptr %129, align 4, !tbaa !32
%131 = add nsw i32 %130, 1
store i32 %131, ptr %129, align 4, !tbaa !32
%132 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 3
%133 = load i32, ptr %132, align 8, !tbaa !30
%134 = add nsw i32 %133, -1
%135 = tail call i32 @ilog(i32 noundef %134) #5
%136 = shl nsw i32 %135, 1
%137 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 4
%138 = load i32, ptr %137, align 4, !tbaa !33
%139 = add nsw i32 %138, %136
store i32 %139, ptr %137, align 4, !tbaa !33
%140 = load i32, ptr %132, align 8, !tbaa !30
%141 = add nsw i32 %140, -1
%142 = tail call i32 @ilog(i32 noundef %141) #5
%143 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef %127, i32 noundef %142) #5
%144 = load i32, ptr %126, align 4, !tbaa !19
%145 = load i32, ptr %132, align 8, !tbaa !30
%146 = add nsw i32 %145, -1
%147 = tail call i32 @ilog(i32 noundef %146) #5
%148 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef %144, i32 noundef %147) #5
%149 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 2
%150 = load i64, ptr %149, align 8, !tbaa !34
%151 = icmp sgt i64 %150, 0
br i1 %151, label %152, label %311
152: ; preds = %125
%153 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 3
%154 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 4
%155 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 5
%156 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 6
%157 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 7
%158 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 6
br label %159
159: ; preds = %152, %305
%160 = phi i64 [ 0, %152 ], [ %308, %305 ]
%161 = phi i64 [ 2, %152 ], [ %307, %305 ]
%162 = load ptr, ptr %153, align 8, !tbaa !35
%163 = getelementptr inbounds i32, ptr %162, i64 %160
%164 = load i32, ptr %163, align 4, !tbaa !19
%165 = load ptr, ptr %154, align 8, !tbaa !36
%166 = sext i32 %164 to i64
%167 = getelementptr inbounds i32, ptr %165, i64 %166
%168 = load i32, ptr %167, align 4, !tbaa !19
%169 = load ptr, ptr %155, align 8, !tbaa !37
%170 = getelementptr inbounds i32, ptr %169, i64 %166
%171 = load i32, ptr %170, align 4, !tbaa !19
%172 = shl nuw i32 1, %171
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %6, i8 0, i64 32, i1 false)
%173 = icmp eq i32 %171, 0
br i1 %173, label %274, label %174
174: ; preds = %159
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
%175 = icmp eq i32 %171, 31
br i1 %175, label %201, label %176
176: ; preds = %174
%177 = load ptr, ptr %156, align 8, !tbaa !38
%178 = getelementptr inbounds ptr, ptr %177, i64 %166
%179 = load ptr, ptr %178, align 8, !tbaa !39
%180 = tail call i32 @llvm.smax.i32(i32 %172, i32 1)
%181 = zext nneg i32 %180 to i64
%182 = and i64 %181, 1
%183 = icmp slt i32 %172, 2
br i1 %183, label %186, label %184
184: ; preds = %176
%185 = and i64 %181, 2147483646
br label %208
186: ; preds = %231, %176
%187 = phi i64 [ 0, %176 ], [ %234, %231 ]
%188 = icmp eq i64 %182, 0
br i1 %188, label %201, label %189
189: ; preds = %186
%190 = getelementptr inbounds i32, ptr %179, i64 %187
%191 = load i32, ptr %190, align 4, !tbaa !19
%192 = icmp slt i32 %191, 0
br i1 %192, label %198, label %193
193: ; preds = %189
%194 = zext nneg i32 %191 to i64
%195 = getelementptr inbounds ptr, ptr %20, i64 %194
%196 = load ptr, ptr %195, align 8, !tbaa !39
%197 = load i32, ptr %196, align 4, !tbaa !40
br label %198
198: ; preds = %193, %189
%199 = phi i32 [ %197, %193 ], [ 1, %189 ]
%200 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %187
store i32 %199, ptr %200, align 4
br label %201
201: ; preds = %198, %186, %174
%202 = icmp sgt i32 %168, 0
br i1 %202, label %203, label %263
203: ; preds = %201
%204 = getelementptr i32, ptr %18, i64 %161
%205 = tail call i32 @llvm.smax.i32(i32 %172, i32 1)
%206 = zext nneg i32 %168 to i64
%207 = zext nneg i32 %205 to i64
br label %237
208: ; preds = %231, %184
%209 = phi i64 [ 0, %184 ], [ %234, %231 ]
%210 = phi i64 [ 0, %184 ], [ %235, %231 ]
%211 = getelementptr inbounds i32, ptr %179, i64 %209
%212 = load i32, ptr %211, align 4, !tbaa !19
%213 = icmp slt i32 %212, 0
br i1 %213, label %219, label %214
214: ; preds = %208
%215 = zext nneg i32 %212 to i64
%216 = getelementptr inbounds ptr, ptr %20, i64 %215
%217 = load ptr, ptr %216, align 8, !tbaa !39
%218 = load i32, ptr %217, align 4, !tbaa !40
br label %219
219: ; preds = %208, %214
%220 = phi i32 [ %218, %214 ], [ 1, %208 ]
%221 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %209
store i32 %220, ptr %221, align 8
%222 = or disjoint i64 %209, 1
%223 = getelementptr inbounds i32, ptr %179, i64 %222
%224 = load i32, ptr %223, align 4, !tbaa !19
%225 = icmp slt i32 %224, 0
br i1 %225, label %231, label %226
226: ; preds = %219
%227 = zext nneg i32 %224 to i64
%228 = getelementptr inbounds ptr, ptr %20, i64 %227
%229 = load ptr, ptr %228, align 8, !tbaa !39
%230 = load i32, ptr %229, align 4, !tbaa !40
br label %231
231: ; preds = %226, %219
%232 = phi i32 [ %230, %226 ], [ 1, %219 ]
%233 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %222
store i32 %232, ptr %233, align 4
%234 = add nuw nsw i64 %209, 2
%235 = add i64 %210, 2
%236 = icmp eq i64 %235, %185
br i1 %236, label %186, label %208, !llvm.loop !42
237: ; preds = %203, %255
%238 = phi i64 [ 0, %203 ], [ %261, %255 ]
%239 = phi i32 [ 0, %203 ], [ %260, %255 ]
%240 = phi i32 [ 0, %203 ], [ %259, %255 ]
br i1 %175, label %255, label %241
241: ; preds = %237
%242 = getelementptr i32, ptr %204, i64 %238
%243 = load i32, ptr %242, align 4, !tbaa !19
br label %244
244: ; preds = %241, %252
%245 = phi i64 [ 0, %241 ], [ %253, %252 ]
%246 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %245
%247 = load i32, ptr %246, align 4, !tbaa !19
%248 = icmp slt i32 %243, %247
br i1 %248, label %249, label %252
249: ; preds = %244
%250 = trunc i64 %245 to i32
%251 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %238
store i32 %250, ptr %251, align 4, !tbaa !19
br label %255
252: ; preds = %244
%253 = add nuw nsw i64 %245, 1
%254 = icmp eq i64 %253, %207
br i1 %254, label %255, label %244, !llvm.loop !43
255: ; preds = %252, %237, %249
%256 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %238
%257 = load i32, ptr %256, align 4, !tbaa !19
%258 = shl i32 %257, %239
%259 = or i32 %258, %240
%260 = add nsw i32 %239, %171
%261 = add nuw nsw i64 %238, 1
%262 = icmp eq i64 %261, %206
br i1 %262, label %263, label %237, !llvm.loop !44
263: ; preds = %255, %201
%264 = phi i32 [ 0, %201 ], [ %259, %255 ]
%265 = load ptr, ptr %157, align 8, !tbaa !45
%266 = getelementptr inbounds i32, ptr %265, i64 %166
%267 = load i32, ptr %266, align 4, !tbaa !19
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds %struct.TYPE_19__, ptr %22, i64 %268
%270 = tail call i64 @vorbis_book_encode(ptr noundef %269, i32 noundef %264, ptr noundef %0) #5
%271 = load i32, ptr %158, align 8, !tbaa !46
%272 = trunc i64 %270 to i32
%273 = add i32 %271, %272
store i32 %273, ptr %158, align 8, !tbaa !46
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
br label %274
274: ; preds = %263, %159
%275 = icmp sgt i32 %168, 0
br i1 %275, label %276, label %305
276: ; preds = %274
%277 = getelementptr i32, ptr %18, i64 %161
%278 = zext nneg i32 %168 to i64
br label %279
279: ; preds = %276, %302
%280 = phi i64 [ 0, %276 ], [ %303, %302 ]
%281 = load ptr, ptr %156, align 8, !tbaa !38
%282 = getelementptr inbounds ptr, ptr %281, i64 %166
%283 = load ptr, ptr %282, align 8, !tbaa !39
%284 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %280
%285 = load i32, ptr %284, align 4, !tbaa !19
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds i32, ptr %283, i64 %286
%288 = load i32, ptr %287, align 4, !tbaa !19
%289 = icmp sgt i32 %288, -1
br i1 %289, label %290, label %302
290: ; preds = %279
%291 = getelementptr i32, ptr %277, i64 %280
%292 = load i32, ptr %291, align 4, !tbaa !19
%293 = zext nneg i32 %288 to i64
%294 = getelementptr inbounds %struct.TYPE_19__, ptr %22, i64 %293
%295 = load i32, ptr %294, align 4, !tbaa !47
%296 = icmp slt i32 %292, %295
br i1 %296, label %297, label %302
297: ; preds = %290
%298 = tail call i64 @vorbis_book_encode(ptr noundef nonnull %294, i32 noundef %292, ptr noundef %0) #5
%299 = load i32, ptr %137, align 4, !tbaa !33
%300 = trunc i64 %298 to i32
%301 = add i32 %299, %300
store i32 %301, ptr %137, align 4, !tbaa !33
br label %302
302: ; preds = %290, %297, %279
%303 = add nuw nsw i64 %280, 1
%304 = icmp eq i64 %303, %278
br i1 %304, label %305, label %279, !llvm.loop !49
305: ; preds = %302, %274
%306 = sext i32 %168 to i64
%307 = add nsw i64 %161, %306
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
%308 = add nuw nsw i64 %160, 1
%309 = load i64, ptr %149, align 8, !tbaa !34
%310 = icmp slt i64 %308, %309
br i1 %310, label %159, label %311, !llvm.loop !50
311: ; preds = %305, %125
%312 = load i32, ptr %3, align 4, !tbaa !19
%313 = load i32, ptr %9, align 8, !tbaa !23
%314 = mul nsw i32 %313, %312
%315 = load ptr, ptr %14, align 8, !tbaa !51
%316 = getelementptr inbounds %struct.TYPE_16__, ptr %1, i64 0, i32 1
%317 = load i64, ptr %316, align 8, !tbaa !52
%318 = getelementptr inbounds i32, ptr %315, i64 %317
%319 = load i32, ptr %318, align 4, !tbaa !19
%320 = sdiv i32 %319, 2
%321 = load i64, ptr %2, align 8, !tbaa !12
%322 = icmp sgt i64 %321, 1
br i1 %322, label %323, label %354
323: ; preds = %311
%324 = getelementptr inbounds %struct.TYPE_14__, ptr %2, i64 0, i32 5
%325 = getelementptr inbounds %struct.TYPE_15__, ptr %9, i64 0, i32 1
br label %326
326: ; preds = %323, %347
%327 = phi i64 [ %321, %323 ], [ %348, %347 ]
%328 = phi i32 [ %314, %323 ], [ %351, %347 ]
%329 = phi i32 [ 0, %323 ], [ %350, %347 ]
%330 = phi i32 [ 0, %323 ], [ %349, %347 ]
%331 = phi i64 [ 1, %323 ], [ %352, %347 ]
%332 = load ptr, ptr %324, align 8, !tbaa !53
%333 = getelementptr inbounds i32, ptr %332, i64 %331
%334 = load i32, ptr %333, align 4, !tbaa !19
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds i32, ptr %3, i64 %335
%337 = load i32, ptr %336, align 4, !tbaa !19
%338 = icmp ult i32 %337, 32768
br i1 %338, label %339, label %347
339: ; preds = %326
%340 = load i32, ptr %9, align 8, !tbaa !23
%341 = mul nsw i32 %340, %337
%342 = load ptr, ptr %325, align 8, !tbaa !29
%343 = getelementptr inbounds i32, ptr %342, i64 %335
%344 = load i32, ptr %343, align 4, !tbaa !19
%345 = tail call i32 @render_line0(i32 noundef %320, i32 noundef %329, i32 noundef %344, i32 noundef %328, i32 noundef %341, ptr noundef %4) #5
%346 = load i64, ptr %2, align 8, !tbaa !12
br label %347
347: ; preds = %339, %326
%348 = phi i64 [ %346, %339 ], [ %327, %326 ]
%349 = phi i32 [ %344, %339 ], [ %330, %326 ]
%350 = phi i32 [ %344, %339 ], [ %329, %326 ]
%351 = phi i32 [ %341, %339 ], [ %328, %326 ]
%352 = add nuw nsw i64 %331, 1
%353 = icmp slt i64 %352, %348
br i1 %353, label %326, label %354, !llvm.loop !54
354: ; preds = %347, %311
%355 = phi i32 [ 0, %311 ], [ %349, %347 ]
%356 = phi i32 [ %314, %311 ], [ %351, %347 ]
%357 = load i32, ptr %1, align 8, !tbaa !55
%358 = sdiv i32 %357, 2
%359 = icmp slt i32 %355, %358
br i1 %359, label %360, label %376
360: ; preds = %354
%361 = sext i32 %355 to i64
br label %362
362: ; preds = %360, %362
%363 = phi i64 [ %365, %362 ], [ %361, %360 ]
%364 = getelementptr inbounds i32, ptr %4, i64 %363
store i32 %356, ptr %364, align 4, !tbaa !19
%365 = add nsw i64 %363, 1
%366 = load i32, ptr %1, align 8, !tbaa !55
%367 = sdiv i32 %366, 2
%368 = sext i32 %367 to i64
%369 = icmp slt i64 %365, %368
br i1 %369, label %362, label %376, !llvm.loop !56
370: ; preds = %5
%371 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef 0, i32 noundef 1) #5
%372 = load i32, ptr %1, align 8, !tbaa !55
%373 = sdiv i32 %372, 2
%374 = shl i32 %373, 2
%375 = tail call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %374) #5
br label %376
376: ; preds = %362, %354, %370
%377 = phi i32 [ 0, %370 ], [ 1, %354 ], [ 1, %362 ]
ret i32 %377
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @render_point(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @oggpack_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ilog(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i64 @vorbis_book_encode(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @render_line0(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 48}
!6 = !{!"TYPE_14__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 28, !10, i64 32, !11, i64 40, !11, i64 44, !10, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"TYPE_16__", !11, i64 0, !7, i64 8, !10, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"TYPE_13__", !10, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"TYPE_12__", !10, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!21, !10, i64 16}
!21 = !{!"TYPE_18__", !10, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!21, !10, i64 8}
!23 = !{!24, !11, i64 0}
!24 = !{!"TYPE_15__", !11, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!6, !10, i64 8}
!28 = !{!6, !10, i64 16}
!29 = !{!24, !10, i64 8}
!30 = !{!6, !11, i64 24}
!31 = distinct !{!31, !26}
!32 = !{!6, !11, i64 44}
!33 = !{!6, !11, i64 28}
!34 = !{!24, !7, i64 16}
!35 = !{!24, !10, i64 24}
!36 = !{!24, !10, i64 32}
!37 = !{!24, !10, i64 40}
!38 = !{!24, !10, i64 48}
!39 = !{!10, !10, i64 0}
!40 = !{!41, !11, i64 0}
!41 = !{!"TYPE_17__", !11, i64 0}
!42 = distinct !{!42, !26}
!43 = distinct !{!43, !26}
!44 = distinct !{!44, !26}
!45 = !{!24, !10, i64 56}
!46 = !{!6, !11, i64 40}
!47 = !{!48, !11, i64 0}
!48 = !{!"TYPE_19__", !11, i64 0}
!49 = distinct !{!49, !26}
!50 = distinct !{!50, !26}
!51 = !{!21, !10, i64 0}
!52 = !{!14, !7, i64 8}
!53 = !{!6, !10, i64 32}
!54 = distinct !{!54, !26}
!55 = !{!14, !11, i64 0}
!56 = distinct !{!56, !26}
| ; ModuleID = 'AnghaBench/Cinder/src/oggvorbis/vorbis/extr_floor1.c_floor1_encode.c'
source_filename = "AnghaBench/Cinder/src/oggvorbis/vorbis/extr_floor1.c_floor1_encode.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_19__ = type { i32 }
@VIF_POSIT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define range(i32 0, 2) i32 @floor1_encode(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 {
%6 = alloca [8 x i32], align 4
%7 = alloca [8 x i32], align 4
%8 = getelementptr inbounds i8, ptr %2, i64 48
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load i64, ptr %2, align 8, !tbaa !13
%11 = getelementptr inbounds i8, ptr %1, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !14
%13 = load ptr, ptr %12, align 8, !tbaa !16
%14 = load ptr, ptr %13, align 8, !tbaa !18
%15 = load i32, ptr @VIF_POSIT, align 4, !tbaa !20
%16 = add nsw i32 %15, 2
%17 = zext i32 %16 to i64
%18 = alloca i32, i64 %17, align 8
%19 = getelementptr inbounds i8, ptr %14, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !21
%21 = getelementptr inbounds i8, ptr %14, i64 8
%22 = load ptr, ptr %21, align 8, !tbaa !23
%23 = icmp eq ptr %3, null
br i1 %23, label %337, label %24
24: ; preds = %5
%25 = icmp sgt i64 %10, 0
br i1 %25, label %30, label %26
26: ; preds = %24
%27 = getelementptr inbounds i8, ptr %18, i64 4
%28 = load <2 x i32>, ptr %3, align 4, !tbaa !20
store <2 x i32> %28, ptr %18, align 8, !tbaa !20
%29 = extractelement <2 x i32> %28, i64 0
br label %125
30: ; preds = %24, %46
%31 = phi i64 [ %50, %46 ], [ 0, %24 ]
%32 = getelementptr inbounds i32, ptr %3, i64 %31
%33 = load i32, ptr %32, align 4, !tbaa !20
%34 = and i32 %33, 32767
%35 = load i32, ptr %9, align 8, !tbaa !24
switch i32 %35, label %46 [
i32 1, label %36
i32 2, label %38
i32 3, label %40
i32 4, label %44
]
36: ; preds = %30
%37 = lshr i32 %34, 2
br label %46
38: ; preds = %30
%39 = lshr i32 %34, 3
br label %46
40: ; preds = %30
%41 = trunc nuw nsw i32 %34 to i16
%42 = udiv i16 %41, 12
%43 = zext nneg i16 %42 to i32
br label %46
44: ; preds = %30
%45 = lshr i32 %34, 4
br label %46
46: ; preds = %30, %44, %40, %38, %36
%47 = phi i32 [ %34, %30 ], [ %45, %44 ], [ %43, %40 ], [ %39, %38 ], [ %37, %36 ]
%48 = and i32 %33, 32768
%49 = or i32 %47, %48
store i32 %49, ptr %32, align 4, !tbaa !20
%50 = add nuw nsw i64 %31, 1
%51 = icmp eq i64 %50, %10
br i1 %51, label %52, label %30, !llvm.loop !26
52: ; preds = %46
%53 = getelementptr inbounds i8, ptr %18, i64 4
%54 = load <2 x i32>, ptr %3, align 4, !tbaa !20
store <2 x i32> %54, ptr %18, align 8, !tbaa !20
%55 = icmp sgt i64 %10, 2
%56 = extractelement <2 x i32> %54, i64 0
br i1 %55, label %57, label %125
57: ; preds = %52
%58 = getelementptr inbounds i8, ptr %2, i64 8
%59 = getelementptr inbounds i8, ptr %2, i64 16
%60 = getelementptr inbounds i8, ptr %9, i64 8
%61 = getelementptr inbounds i8, ptr %2, i64 24
br label %62
62: ; preds = %57, %122
%63 = phi i64 [ 2, %57 ], [ %123, %122 ]
%64 = load ptr, ptr %58, align 8, !tbaa !28
%65 = add nsw i64 %63, -2
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = load i32, ptr %66, align 4, !tbaa !20
%68 = load ptr, ptr %59, align 8, !tbaa !29
%69 = getelementptr inbounds i32, ptr %68, i64 %65
%70 = load i32, ptr %69, align 4, !tbaa !20
%71 = load ptr, ptr %60, align 8, !tbaa !30
%72 = sext i32 %67 to i64
%73 = getelementptr inbounds i32, ptr %71, i64 %72
%74 = load i32, ptr %73, align 4, !tbaa !20
%75 = sext i32 %70 to i64
%76 = getelementptr inbounds i32, ptr %71, i64 %75
%77 = load i32, ptr %76, align 4, !tbaa !20
%78 = getelementptr inbounds i32, ptr %3, i64 %72
%79 = load i32, ptr %78, align 4, !tbaa !20
%80 = getelementptr inbounds i32, ptr %3, i64 %75
%81 = load i32, ptr %80, align 4, !tbaa !20
%82 = getelementptr inbounds i32, ptr %71, i64 %63
%83 = load i32, ptr %82, align 4, !tbaa !20
%84 = tail call i32 @render_point(i32 noundef %74, i32 noundef %77, i32 noundef %79, i32 noundef %81, i32 noundef %83) #5
%85 = getelementptr inbounds i32, ptr %3, i64 %63
%86 = load i32, ptr %85, align 4, !tbaa !20
%87 = and i32 %86, 32768
%88 = icmp ne i32 %87, 0
%89 = icmp eq i32 %84, %86
%90 = select i1 %88, i1 true, i1 %89
br i1 %90, label %91, label %94
91: ; preds = %62
%92 = or i32 %84, 32768
store i32 %92, ptr %85, align 4, !tbaa !20
%93 = getelementptr inbounds i32, ptr %18, i64 %63
store i32 0, ptr %93, align 4, !tbaa !20
br label %122
94: ; preds = %62
%95 = load i32, ptr %61, align 8, !tbaa !31
%96 = sub nsw i32 %95, %84
%97 = tail call i32 @llvm.smin.i32(i32 %96, i32 %84)
%98 = sub nsw i32 %86, %84
%99 = icmp slt i32 %98, 0
br i1 %99, label %100, label %109
100: ; preds = %94
%101 = sub nsw i32 0, %97
%102 = icmp slt i32 %98, %101
br i1 %102, label %103, label %106
103: ; preds = %100
%104 = xor i32 %98, -1
%105 = add i32 %97, %104
br label %115
106: ; preds = %100
%107 = shl i32 %98, 1
%108 = xor i32 %107, -1
br label %115
109: ; preds = %94
%110 = icmp slt i32 %98, %97
br i1 %110, label %113, label %111
111: ; preds = %109
%112 = add nsw i32 %97, %98
br label %115
113: ; preds = %109
%114 = shl nuw i32 %98, 1
br label %115
115: ; preds = %111, %113, %103, %106
%116 = phi i32 [ %105, %103 ], [ %108, %106 ], [ %112, %111 ], [ %114, %113 ]
%117 = getelementptr inbounds i32, ptr %18, i64 %63
store i32 %116, ptr %117, align 4, !tbaa !20
%118 = load i32, ptr %78, align 4, !tbaa !20
%119 = and i32 %118, 32767
store i32 %119, ptr %78, align 4, !tbaa !20
%120 = load i32, ptr %80, align 4, !tbaa !20
%121 = and i32 %120, 32767
store i32 %121, ptr %80, align 4, !tbaa !20
br label %122
122: ; preds = %115, %91
%123 = add nuw nsw i64 %63, 1
%124 = icmp eq i64 %123, %10
br i1 %124, label %125, label %62, !llvm.loop !32
125: ; preds = %122, %26, %52
%126 = phi ptr [ %27, %26 ], [ %53, %52 ], [ %53, %122 ]
%127 = phi i32 [ %29, %26 ], [ %56, %52 ], [ %56, %122 ]
%128 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef 1, i32 noundef 1) #5
%129 = getelementptr inbounds i8, ptr %2, i64 44
%130 = load i32, ptr %129, align 4, !tbaa !33
%131 = add nsw i32 %130, 1
store i32 %131, ptr %129, align 4, !tbaa !33
%132 = getelementptr inbounds i8, ptr %2, i64 24
%133 = load i32, ptr %132, align 8, !tbaa !31
%134 = add nsw i32 %133, -1
%135 = tail call i32 @ilog(i32 noundef %134) #5
%136 = shl nsw i32 %135, 1
%137 = getelementptr inbounds i8, ptr %2, i64 28
%138 = load i32, ptr %137, align 4, !tbaa !34
%139 = add nsw i32 %138, %136
store i32 %139, ptr %137, align 4, !tbaa !34
%140 = load i32, ptr %132, align 8, !tbaa !31
%141 = add nsw i32 %140, -1
%142 = tail call i32 @ilog(i32 noundef %141) #5
%143 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef %127, i32 noundef %142) #5
%144 = load i32, ptr %126, align 4, !tbaa !20
%145 = load i32, ptr %132, align 8, !tbaa !31
%146 = add nsw i32 %145, -1
%147 = tail call i32 @ilog(i32 noundef %146) #5
%148 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef %144, i32 noundef %147) #5
%149 = getelementptr inbounds i8, ptr %9, i64 16
%150 = load i64, ptr %149, align 8, !tbaa !35
%151 = icmp sgt i64 %150, 0
br i1 %151, label %152, label %278
152: ; preds = %125
%153 = getelementptr inbounds i8, ptr %9, i64 24
%154 = getelementptr inbounds i8, ptr %9, i64 32
%155 = getelementptr inbounds i8, ptr %9, i64 40
%156 = getelementptr inbounds i8, ptr %9, i64 48
%157 = getelementptr inbounds i8, ptr %9, i64 56
%158 = getelementptr inbounds i8, ptr %2, i64 40
br label %159
159: ; preds = %152, %272
%160 = phi i64 [ 0, %152 ], [ %275, %272 ]
%161 = phi i64 [ 2, %152 ], [ %274, %272 ]
%162 = load ptr, ptr %153, align 8, !tbaa !36
%163 = getelementptr inbounds i32, ptr %162, i64 %160
%164 = load i32, ptr %163, align 4, !tbaa !20
%165 = load ptr, ptr %154, align 8, !tbaa !37
%166 = sext i32 %164 to i64
%167 = getelementptr inbounds i32, ptr %165, i64 %166
%168 = load i32, ptr %167, align 4, !tbaa !20
%169 = load ptr, ptr %155, align 8, !tbaa !38
%170 = getelementptr inbounds i32, ptr %169, i64 %166
%171 = load i32, ptr %170, align 4, !tbaa !20
%172 = shl nuw i32 1, %171
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %6, i8 0, i64 32, i1 false)
%173 = icmp eq i32 %171, 0
br i1 %173, label %241, label %174
174: ; preds = %159
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
%175 = icmp eq i32 %171, 31
br i1 %175, label %182, label %176
176: ; preds = %174
%177 = load ptr, ptr %156, align 8, !tbaa !39
%178 = getelementptr inbounds ptr, ptr %177, i64 %166
%179 = load ptr, ptr %178, align 8, !tbaa !40
%180 = tail call i32 @llvm.smax.i32(i32 %172, i32 1)
%181 = zext nneg i32 %180 to i64
br label %189
182: ; preds = %199, %174
%183 = icmp sgt i32 %168, 0
br i1 %183, label %184, label %230
184: ; preds = %182
%185 = getelementptr i32, ptr %18, i64 %161
%186 = tail call i32 @llvm.smax.i32(i32 %172, i32 1)
%187 = zext nneg i32 %168 to i64
%188 = zext nneg i32 %186 to i64
br label %204
189: ; preds = %176, %199
%190 = phi i64 [ 0, %176 ], [ %202, %199 ]
%191 = getelementptr inbounds i32, ptr %179, i64 %190
%192 = load i32, ptr %191, align 4, !tbaa !20
%193 = icmp slt i32 %192, 0
br i1 %193, label %199, label %194
194: ; preds = %189
%195 = zext nneg i32 %192 to i64
%196 = getelementptr inbounds ptr, ptr %20, i64 %195
%197 = load ptr, ptr %196, align 8, !tbaa !40
%198 = load i32, ptr %197, align 4, !tbaa !41
br label %199
199: ; preds = %189, %194
%200 = phi i32 [ %198, %194 ], [ 1, %189 ]
%201 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %190
store i32 %200, ptr %201, align 4
%202 = add nuw nsw i64 %190, 1
%203 = icmp eq i64 %202, %181
br i1 %203, label %182, label %189, !llvm.loop !43
204: ; preds = %184, %222
%205 = phi i64 [ 0, %184 ], [ %228, %222 ]
%206 = phi i32 [ 0, %184 ], [ %227, %222 ]
%207 = phi i32 [ 0, %184 ], [ %226, %222 ]
br i1 %175, label %222, label %208
208: ; preds = %204
%209 = getelementptr i32, ptr %185, i64 %205
%210 = load i32, ptr %209, align 4, !tbaa !20
br label %211
211: ; preds = %208, %219
%212 = phi i64 [ 0, %208 ], [ %220, %219 ]
%213 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %212
%214 = load i32, ptr %213, align 4, !tbaa !20
%215 = icmp slt i32 %210, %214
br i1 %215, label %216, label %219
216: ; preds = %211
%217 = trunc nuw nsw i64 %212 to i32
%218 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %205
store i32 %217, ptr %218, align 4, !tbaa !20
br label %222
219: ; preds = %211
%220 = add nuw nsw i64 %212, 1
%221 = icmp eq i64 %220, %188
br i1 %221, label %222, label %211, !llvm.loop !44
222: ; preds = %219, %204, %216
%223 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %205
%224 = load i32, ptr %223, align 4, !tbaa !20
%225 = shl i32 %224, %206
%226 = or i32 %225, %207
%227 = add nsw i32 %206, %171
%228 = add nuw nsw i64 %205, 1
%229 = icmp eq i64 %228, %187
br i1 %229, label %230, label %204, !llvm.loop !45
230: ; preds = %222, %182
%231 = phi i32 [ 0, %182 ], [ %226, %222 ]
%232 = load ptr, ptr %157, align 8, !tbaa !46
%233 = getelementptr inbounds i32, ptr %232, i64 %166
%234 = load i32, ptr %233, align 4, !tbaa !20
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds %struct.TYPE_19__, ptr %22, i64 %235
%237 = tail call i64 @vorbis_book_encode(ptr noundef %236, i32 noundef %231, ptr noundef %0) #5
%238 = load i32, ptr %158, align 8, !tbaa !47
%239 = trunc i64 %237 to i32
%240 = add i32 %238, %239
store i32 %240, ptr %158, align 8, !tbaa !47
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
br label %241
241: ; preds = %230, %159
%242 = icmp sgt i32 %168, 0
br i1 %242, label %243, label %272
243: ; preds = %241
%244 = getelementptr i32, ptr %18, i64 %161
%245 = zext nneg i32 %168 to i64
br label %246
246: ; preds = %243, %269
%247 = phi i64 [ 0, %243 ], [ %270, %269 ]
%248 = load ptr, ptr %156, align 8, !tbaa !39
%249 = getelementptr inbounds ptr, ptr %248, i64 %166
%250 = load ptr, ptr %249, align 8, !tbaa !40
%251 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %247
%252 = load i32, ptr %251, align 4, !tbaa !20
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds i32, ptr %250, i64 %253
%255 = load i32, ptr %254, align 4, !tbaa !20
%256 = icmp sgt i32 %255, -1
br i1 %256, label %257, label %269
257: ; preds = %246
%258 = getelementptr i32, ptr %244, i64 %247
%259 = load i32, ptr %258, align 4, !tbaa !20
%260 = zext nneg i32 %255 to i64
%261 = getelementptr inbounds %struct.TYPE_19__, ptr %22, i64 %260
%262 = load i32, ptr %261, align 4, !tbaa !48
%263 = icmp slt i32 %259, %262
br i1 %263, label %264, label %269
264: ; preds = %257
%265 = tail call i64 @vorbis_book_encode(ptr noundef nonnull %261, i32 noundef %259, ptr noundef %0) #5
%266 = load i32, ptr %137, align 4, !tbaa !34
%267 = trunc i64 %265 to i32
%268 = add i32 %266, %267
store i32 %268, ptr %137, align 4, !tbaa !34
br label %269
269: ; preds = %257, %264, %246
%270 = add nuw nsw i64 %247, 1
%271 = icmp eq i64 %270, %245
br i1 %271, label %272, label %246, !llvm.loop !50
272: ; preds = %269, %241
%273 = sext i32 %168 to i64
%274 = add nsw i64 %161, %273
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
%275 = add nuw nsw i64 %160, 1
%276 = load i64, ptr %149, align 8, !tbaa !35
%277 = icmp slt i64 %275, %276
br i1 %277, label %159, label %278, !llvm.loop !51
278: ; preds = %272, %125
%279 = load i32, ptr %3, align 4, !tbaa !20
%280 = load i32, ptr %9, align 8, !tbaa !24
%281 = mul nsw i32 %280, %279
%282 = load ptr, ptr %14, align 8, !tbaa !52
%283 = getelementptr inbounds i8, ptr %1, i64 8
%284 = load i64, ptr %283, align 8, !tbaa !53
%285 = getelementptr inbounds i32, ptr %282, i64 %284
%286 = load i32, ptr %285, align 4, !tbaa !20
%287 = sdiv i32 %286, 2
%288 = load i64, ptr %2, align 8, !tbaa !13
%289 = icmp sgt i64 %288, 1
br i1 %289, label %290, label %321
290: ; preds = %278
%291 = getelementptr inbounds i8, ptr %2, i64 32
%292 = getelementptr inbounds i8, ptr %9, i64 8
br label %293
293: ; preds = %290, %314
%294 = phi i64 [ %288, %290 ], [ %315, %314 ]
%295 = phi i32 [ %281, %290 ], [ %318, %314 ]
%296 = phi i32 [ 0, %290 ], [ %317, %314 ]
%297 = phi i32 [ 0, %290 ], [ %316, %314 ]
%298 = phi i64 [ 1, %290 ], [ %319, %314 ]
%299 = load ptr, ptr %291, align 8, !tbaa !54
%300 = getelementptr inbounds i32, ptr %299, i64 %298
%301 = load i32, ptr %300, align 4, !tbaa !20
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds i32, ptr %3, i64 %302
%304 = load i32, ptr %303, align 4, !tbaa !20
%305 = icmp ult i32 %304, 32768
br i1 %305, label %306, label %314
306: ; preds = %293
%307 = load i32, ptr %9, align 8, !tbaa !24
%308 = mul nsw i32 %307, %304
%309 = load ptr, ptr %292, align 8, !tbaa !30
%310 = getelementptr inbounds i32, ptr %309, i64 %302
%311 = load i32, ptr %310, align 4, !tbaa !20
%312 = tail call i32 @render_line0(i32 noundef %287, i32 noundef %296, i32 noundef %311, i32 noundef %295, i32 noundef %308, ptr noundef %4) #5
%313 = load i64, ptr %2, align 8, !tbaa !13
br label %314
314: ; preds = %306, %293
%315 = phi i64 [ %313, %306 ], [ %294, %293 ]
%316 = phi i32 [ %311, %306 ], [ %297, %293 ]
%317 = phi i32 [ %311, %306 ], [ %296, %293 ]
%318 = phi i32 [ %308, %306 ], [ %295, %293 ]
%319 = add nuw nsw i64 %298, 1
%320 = icmp slt i64 %319, %315
br i1 %320, label %293, label %321, !llvm.loop !55
321: ; preds = %314, %278
%322 = phi i32 [ 0, %278 ], [ %316, %314 ]
%323 = phi i32 [ %281, %278 ], [ %318, %314 ]
%324 = load i32, ptr %1, align 8, !tbaa !56
%325 = sdiv i32 %324, 2
%326 = icmp slt i32 %322, %325
br i1 %326, label %327, label %343
327: ; preds = %321
%328 = sext i32 %322 to i64
br label %329
329: ; preds = %327, %329
%330 = phi i64 [ %332, %329 ], [ %328, %327 ]
%331 = getelementptr inbounds i32, ptr %4, i64 %330
store i32 %323, ptr %331, align 4, !tbaa !20
%332 = add nsw i64 %330, 1
%333 = load i32, ptr %1, align 8, !tbaa !56
%334 = sdiv i32 %333, 2
%335 = sext i32 %334 to i64
%336 = icmp slt i64 %332, %335
br i1 %336, label %329, label %343, !llvm.loop !57
337: ; preds = %5
%338 = tail call i32 @oggpack_write(ptr noundef %0, i32 noundef 0, i32 noundef 1) #5
%339 = load i32, ptr %1, align 8, !tbaa !56
%340 = sdiv i32 %339, 2
%341 = shl i32 %340, 2
%342 = tail call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %341) #5
br label %343
343: ; preds = %329, %321, %337
%344 = phi i32 [ 0, %337 ], [ 1, %321 ], [ 1, %329 ]
ret i32 %344
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @render_point(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @oggpack_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @ilog(i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3
declare i64 @vorbis_book_encode(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @render_line0(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #4
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 48}
!7 = !{!"TYPE_14__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 28, !11, i64 32, !12, i64 40, !12, i64 44, !11, i64 48}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"int", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!15, !11, i64 16}
!15 = !{!"TYPE_16__", !12, i64 0, !8, i64 8, !11, i64 16}
!16 = !{!17, !11, i64 0}
!17 = !{!"TYPE_13__", !11, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"TYPE_12__", !11, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!22, !11, i64 16}
!22 = !{!"TYPE_18__", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!22, !11, i64 8}
!24 = !{!25, !12, i64 0}
!25 = !{!"TYPE_15__", !12, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!7, !11, i64 8}
!29 = !{!7, !11, i64 16}
!30 = !{!25, !11, i64 8}
!31 = !{!7, !12, i64 24}
!32 = distinct !{!32, !27}
!33 = !{!7, !12, i64 44}
!34 = !{!7, !12, i64 28}
!35 = !{!25, !8, i64 16}
!36 = !{!25, !11, i64 24}
!37 = !{!25, !11, i64 32}
!38 = !{!25, !11, i64 40}
!39 = !{!25, !11, i64 48}
!40 = !{!11, !11, i64 0}
!41 = !{!42, !12, i64 0}
!42 = !{!"TYPE_17__", !12, i64 0}
!43 = distinct !{!43, !27}
!44 = distinct !{!44, !27}
!45 = distinct !{!45, !27}
!46 = !{!25, !11, i64 56}
!47 = !{!7, !12, i64 40}
!48 = !{!49, !12, i64 0}
!49 = !{!"TYPE_19__", !12, i64 0}
!50 = distinct !{!50, !27}
!51 = distinct !{!51, !27}
!52 = !{!22, !11, i64 0}
!53 = !{!15, !8, i64 8}
!54 = !{!7, !11, i64 32}
!55 = distinct !{!55, !27}
!56 = !{!15, !12, i64 0}
!57 = distinct !{!57, !27}
| Cinder_src_oggvorbis_vorbis_extr_floor1.c_floor1_encode |
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_cmix_new_stereo.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_cmix_new_stereo.c"
target datalayout = "e-m:e-p270:32:32-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 [10 x i8] c"%s Switch\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s Volume\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ac97_cmix_new_stereo], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @snd_ac97_cmix_new_stereo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca [44 x i8], align 16
%8 = alloca i8, align 1
%9 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
%10 = tail call i32 @snd_ac97_valid_reg(ptr noundef %5, i32 noundef %2) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %30, label %12
12: ; preds = %6
%13 = tail call i64 @snd_ac97_try_bit(ptr noundef %5, i32 noundef %2, i32 noundef 15) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = call i32 @sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str, ptr noundef %1) #3
%17 = call i32 @snd_ac97_cmute_new_stereo(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %15, %12
%20 = call i32 @check_volume_resolution(ptr noundef %5, i32 noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %9) #3
%21 = load i8, ptr %8, align 1, !tbaa !5
%22 = icmp eq i8 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %19
%24 = call i32 @sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, ptr noundef %1) #3
%25 = load i8, ptr %8, align 1, !tbaa !5
%26 = load i8, ptr %9, align 1, !tbaa !5
%27 = call i32 @snd_ac97_cvol_new(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2, i8 noundef zeroext %25, i8 noundef zeroext %26, ptr noundef %5) #3
%28 = icmp slt i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %23, %19
br label %30
30: ; preds = %23, %15, %6, %29
%31 = phi i32 [ 0, %29 ], [ 0, %6 ], [ %17, %15 ], [ %27, %23 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snd_ac97_valid_reg(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @snd_ac97_try_bit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ac97_cmute_new_stereo(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_volume_resolution(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ac97_cvol_new(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_cmix_new_stereo.c'
source_filename = "AnghaBench/fastsocket/kernel/sound/pci/ac97/extr_ac97_codec.c_snd_ac97_cmix_new_stereo.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 [10 x i8] c"%s Switch\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s Volume\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @snd_ac97_cmix_new_stereo], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @snd_ac97_cmix_new_stereo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca [44 x i8], align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %7) #3
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #3
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
%10 = tail call i32 @snd_ac97_valid_reg(ptr noundef %5, i32 noundef %2) #3
%11 = icmp eq i32 %10, 0
br i1 %11, label %30, label %12
12: ; preds = %6
%13 = tail call i64 @snd_ac97_try_bit(ptr noundef %5, i32 noundef %2, i32 noundef 15) #3
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %12
%16 = call i32 @sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str, ptr noundef %1) #3
%17 = call i32 @snd_ac97_cmute_new_stereo(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #3
%18 = icmp slt i32 %17, 0
br i1 %18, label %30, label %19
19: ; preds = %15, %12
%20 = call i32 @check_volume_resolution(ptr noundef %5, i32 noundef %2, ptr noundef nonnull %8, ptr noundef nonnull %9) #3
%21 = load i8, ptr %8, align 1, !tbaa !6
%22 = icmp eq i8 %21, 0
br i1 %22, label %29, label %23
23: ; preds = %19
%24 = call i32 @sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.1, ptr noundef %1) #3
%25 = load i8, ptr %8, align 1, !tbaa !6
%26 = load i8, ptr %9, align 1, !tbaa !6
%27 = call i32 @snd_ac97_cvol_new(ptr noundef %0, ptr noundef nonnull %7, i32 noundef %2, i8 noundef zeroext %25, i8 noundef zeroext %26, ptr noundef %5) #3
%28 = icmp slt i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %23, %19
br label %30
30: ; preds = %23, %15, %6, %29
%31 = phi i32 [ 0, %29 ], [ 0, %6 ], [ %17, %15 ], [ %27, %23 ]
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #3
call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #3
ret i32 %31
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @snd_ac97_valid_reg(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i64 @snd_ac97_try_bit(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ac97_cmute_new_stereo(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @check_volume_resolution(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @snd_ac97_cvol_new(ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext, i8 noundef zeroext, 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 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_sound_pci_ac97_extr_ac97_codec.c_snd_ac97_cmix_new_stereo |
; ModuleID = 'AnghaBench/reactos/sdk/lib/skiplist/extr_skiplist.c_DeleteElementSkiplist.c'
source_filename = "AnghaBench/reactos/sdk/lib/skiplist/extr_skiplist.c_DeleteElementSkiplist.c"
target datalayout = "e-m:e-p270:32:32-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, ptr, i32, %struct.TYPE_5__, ptr }
%struct.TYPE_5__ = type { ptr, ptr, ptr }
@SKIPLIST_LEVELS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local ptr @DeleteElementSkiplist(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3
%4 = load i32, ptr @SKIPLIST_LEVELS, align 4, !tbaa !5
%5 = zext i32 %4 to i64
%6 = alloca ptr, i64 %5, align 16
%7 = load i32, ptr %0, align 8, !tbaa !9
%8 = icmp sgt i32 %7, -1
br i1 %8, label %9, label %59
9: ; preds = %2
%10 = zext nneg i32 %7 to i64
%11 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
br label %12
12: ; preds = %9, %53
%13 = phi i64 [ %10, %9 ], [ %57, %53 ]
%14 = phi ptr [ null, %9 ], [ %54, %53 ]
%15 = phi ptr [ %3, %9 ], [ %55, %53 ]
%16 = getelementptr inbounds %struct.TYPE_5__, ptr %15, i64 0, i32 1
%17 = load ptr, ptr %16, align 8, !tbaa !13
%18 = getelementptr inbounds ptr, ptr %17, i64 %13
%19 = load ptr, ptr %18, align 8, !tbaa !14
%20 = icmp eq ptr %19, null
%21 = icmp eq ptr %19, %14
%22 = select i1 %20, i1 true, i1 %21
br i1 %22, label %53, label %23
23: ; preds = %12
%24 = load ptr, ptr %11, align 8, !tbaa !15
%25 = getelementptr inbounds %struct.TYPE_5__, ptr %19, i64 0, i32 2
%26 = load ptr, ptr %25, align 8, !tbaa !16
%27 = tail call i64 %24(ptr noundef %26, ptr noundef %1) #1
%28 = icmp slt i64 %27, 0
br i1 %28, label %41, label %35
29: ; preds = %41
%30 = load ptr, ptr %11, align 8, !tbaa !15
%31 = getelementptr inbounds %struct.TYPE_5__, ptr %49, i64 0, i32 2
%32 = load ptr, ptr %31, align 8, !tbaa !16
%33 = tail call i64 %30(ptr noundef %32, ptr noundef %1) #1
%34 = icmp slt i64 %33, 0
br i1 %34, label %41, label %35, !llvm.loop !17
35: ; preds = %29, %23
%36 = phi ptr [ %16, %23 ], [ %46, %29 ]
%37 = phi ptr [ %15, %23 ], [ %45, %29 ]
%38 = load ptr, ptr %36, align 8, !tbaa !13
%39 = getelementptr inbounds ptr, ptr %38, i64 %13
%40 = load ptr, ptr %39, align 8, !tbaa !14
br label %53
41: ; preds = %23, %29
%42 = phi ptr [ %46, %29 ], [ %16, %23 ]
%43 = load ptr, ptr %42, align 8, !tbaa !13
%44 = getelementptr inbounds ptr, ptr %43, i64 %13
%45 = load ptr, ptr %44, align 8, !tbaa !14
%46 = getelementptr inbounds %struct.TYPE_5__, ptr %45, i64 0, i32 1
%47 = load ptr, ptr %46, align 8, !tbaa !13
%48 = getelementptr inbounds ptr, ptr %47, i64 %13
%49 = load ptr, ptr %48, align 8, !tbaa !14
%50 = icmp eq ptr %49, null
%51 = icmp eq ptr %49, %14
%52 = select i1 %50, i1 true, i1 %51
br i1 %52, label %53, label %29, !llvm.loop !17
53: ; preds = %41, %35, %12
%54 = phi ptr [ %19, %12 ], [ %40, %35 ], [ %49, %41 ]
%55 = phi ptr [ %15, %12 ], [ %37, %35 ], [ %45, %41 ]
%56 = getelementptr inbounds ptr, ptr %6, i64 %13
store ptr %55, ptr %56, align 8, !tbaa !14
%57 = add nsw i64 %13, -1
%58 = icmp sgt i64 %13, 0
br i1 %58, label %12, label %59, !llvm.loop !19
59: ; preds = %53, %2
%60 = phi ptr [ %3, %2 ], [ %55, %53 ]
%61 = getelementptr inbounds %struct.TYPE_5__, ptr %60, i64 0, i32 1
%62 = load ptr, ptr %61, align 8, !tbaa !13
%63 = load ptr, ptr %62, align 8, !tbaa !14
%64 = icmp eq ptr %63, null
br i1 %64, label %149, label %65
65: ; preds = %59
%66 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%67 = load ptr, ptr %66, align 8, !tbaa !15
%68 = getelementptr inbounds %struct.TYPE_5__, ptr %63, i64 0, i32 2
%69 = load ptr, ptr %68, align 8, !tbaa !16
%70 = tail call i64 %67(ptr noundef %69, ptr noundef %1) #1
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %149
72: ; preds = %65
%73 = load i32, ptr %0, align 8, !tbaa !9
%74 = icmp slt i32 %73, 0
br i1 %74, label %109, label %75
75: ; preds = %72
%76 = getelementptr inbounds %struct.TYPE_5__, ptr %63, i64 0, i32 1
%77 = load ptr, ptr %6, align 16, !tbaa !14
%78 = getelementptr inbounds %struct.TYPE_5__, ptr %77, i64 0, i32 1
%79 = load ptr, ptr %78, align 8, !tbaa !13
%80 = load ptr, ptr %79, align 8, !tbaa !14
%81 = icmp eq ptr %80, %63
br i1 %81, label %90, label %109
82: ; preds = %90
%83 = getelementptr inbounds ptr, ptr %6, i64 %105
%84 = load ptr, ptr %83, align 8, !tbaa !14
%85 = getelementptr inbounds %struct.TYPE_5__, ptr %84, i64 0, i32 1
%86 = load ptr, ptr %85, align 8, !tbaa !13
%87 = getelementptr inbounds ptr, ptr %86, i64 %105
%88 = load ptr, ptr %87, align 8, !tbaa !14
%89 = icmp eq ptr %88, %63
br i1 %89, label %90, label %109, !llvm.loop !20
90: ; preds = %75, %82
%91 = phi ptr [ %87, %82 ], [ %79, %75 ]
%92 = phi ptr [ %84, %82 ], [ %77, %75 ]
%93 = phi i64 [ %105, %82 ], [ 0, %75 ]
%94 = load ptr, ptr %63, align 8, !tbaa !21
%95 = getelementptr inbounds i32, ptr %94, i64 %93
%96 = load i32, ptr %95, align 4, !tbaa !5
%97 = add nsw i32 %96, -1
%98 = load ptr, ptr %92, align 8, !tbaa !21
%99 = getelementptr inbounds i32, ptr %98, i64 %93
%100 = load i32, ptr %99, align 4, !tbaa !5
%101 = add nsw i32 %97, %100
store i32 %101, ptr %99, align 4, !tbaa !5
%102 = load ptr, ptr %76, align 8, !tbaa !13
%103 = getelementptr inbounds ptr, ptr %102, i64 %93
%104 = load ptr, ptr %103, align 8, !tbaa !14
store ptr %104, ptr %91, align 8, !tbaa !14
%105 = add nuw nsw i64 %93, 1
%106 = load i32, ptr %0, align 8, !tbaa !9
%107 = sext i32 %106 to i64
%108 = icmp slt i64 %93, %107
br i1 %108, label %82, label %109, !llvm.loop !20
109: ; preds = %90, %82, %75, %72
%110 = phi i32 [ %73, %72 ], [ %73, %75 ], [ %106, %82 ], [ %106, %90 ]
%111 = phi i64 [ 0, %72 ], [ 0, %75 ], [ %105, %82 ], [ %105, %90 ]
%112 = sext i32 %110 to i64
%113 = icmp sgt i64 %111, %112
br i1 %113, label %126, label %114
114: ; preds = %109, %114
%115 = phi i64 [ %122, %114 ], [ %111, %109 ]
%116 = getelementptr inbounds ptr, ptr %6, i64 %115
%117 = load ptr, ptr %116, align 8, !tbaa !14
%118 = load ptr, ptr %117, align 8, !tbaa !21
%119 = getelementptr inbounds i32, ptr %118, i64 %115
%120 = load i32, ptr %119, align 4, !tbaa !5
%121 = add nsw i32 %120, -1
store i32 %121, ptr %119, align 4, !tbaa !5
%122 = add nuw nsw i64 %115, 1
%123 = load i32, ptr %0, align 8, !tbaa !9
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %115, %124
br i1 %125, label %114, label %126, !llvm.loop !22
126: ; preds = %114, %109
%127 = load ptr, ptr %68, align 8, !tbaa !16
%128 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4
%129 = load ptr, ptr %128, align 8, !tbaa !23
%130 = tail call i32 %129(ptr noundef nonnull %63) #1
%131 = load i32, ptr %0, align 8, !tbaa !9
%132 = icmp sgt i32 %131, 0
br i1 %132, label %133, label %145
133: ; preds = %126
%134 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 3, i32 1
%135 = load ptr, ptr %134, align 8, !tbaa !24
br label %136
136: ; preds = %133, %142
%137 = phi i32 [ %131, %133 ], [ %143, %142 ]
%138 = zext nneg i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %135, i64 %138
%140 = load ptr, ptr %139, align 8, !tbaa !14
%141 = icmp eq ptr %140, null
br i1 %141, label %142, label %145
142: ; preds = %136
%143 = add nsw i32 %137, -1
store i32 %143, ptr %0, align 8, !tbaa !9
%144 = icmp sgt i32 %137, 1
br i1 %144, label %136, label %145, !llvm.loop !25
145: ; preds = %136, %142, %126
%146 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 2
%147 = load i32, ptr %146, align 8, !tbaa !26
%148 = add nsw i32 %147, -1
store i32 %148, ptr %146, align 8, !tbaa !26
br label %149
149: ; preds = %59, %65, %145
%150 = phi ptr [ %127, %145 ], [ null, %65 ], [ null, %59 ]
ret ptr %150
}
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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, !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_6__", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !11, i64 48}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"TYPE_5__", !11, i64 0, !11, i64 8, !11, i64 16}
!13 = !{!12, !11, i64 8}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!12, !11, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!12, !11, i64 0}
!22 = distinct !{!22, !18}
!23 = !{!10, !11, i64 48}
!24 = !{!10, !11, i64 32}
!25 = distinct !{!25, !18}
!26 = !{!10, !6, i64 16}
| ; ModuleID = 'AnghaBench/reactos/sdk/lib/skiplist/extr_skiplist.c_DeleteElementSkiplist.c'
source_filename = "AnghaBench/reactos/sdk/lib/skiplist/extr_skiplist.c_DeleteElementSkiplist.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SKIPLIST_LEVELS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define ptr @DeleteElementSkiplist(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 24
%4 = load i32, ptr @SKIPLIST_LEVELS, align 4, !tbaa !6
%5 = zext i32 %4 to i64
%6 = alloca ptr, i64 %5, align 8
%7 = load i32, ptr %0, align 8, !tbaa !10
%8 = icmp sgt i32 %7, -1
br i1 %8, label %9, label %59
9: ; preds = %2
%10 = zext nneg i32 %7 to i64
%11 = getelementptr inbounds i8, ptr %0, i64 8
br label %12
12: ; preds = %9, %53
%13 = phi i64 [ %10, %9 ], [ %57, %53 ]
%14 = phi ptr [ null, %9 ], [ %54, %53 ]
%15 = phi ptr [ %3, %9 ], [ %55, %53 ]
%16 = getelementptr inbounds i8, ptr %15, i64 8
%17 = load ptr, ptr %16, align 8, !tbaa !14
%18 = getelementptr inbounds ptr, ptr %17, i64 %13
%19 = load ptr, ptr %18, align 8, !tbaa !15
%20 = icmp eq ptr %19, null
%21 = icmp eq ptr %19, %14
%22 = select i1 %20, i1 true, i1 %21
br i1 %22, label %53, label %23
23: ; preds = %12
%24 = load ptr, ptr %11, align 8, !tbaa !16
%25 = getelementptr inbounds i8, ptr %19, i64 16
%26 = load ptr, ptr %25, align 8, !tbaa !17
%27 = tail call i64 %24(ptr noundef %26, ptr noundef %1) #1
%28 = icmp slt i64 %27, 0
br i1 %28, label %41, label %35
29: ; preds = %41
%30 = load ptr, ptr %11, align 8, !tbaa !16
%31 = getelementptr inbounds i8, ptr %49, i64 16
%32 = load ptr, ptr %31, align 8, !tbaa !17
%33 = tail call i64 %30(ptr noundef %32, ptr noundef %1) #1
%34 = icmp slt i64 %33, 0
br i1 %34, label %41, label %35, !llvm.loop !18
35: ; preds = %29, %23
%36 = phi ptr [ %16, %23 ], [ %46, %29 ]
%37 = phi ptr [ %15, %23 ], [ %45, %29 ]
%38 = load ptr, ptr %36, align 8, !tbaa !14
%39 = getelementptr inbounds ptr, ptr %38, i64 %13
%40 = load ptr, ptr %39, align 8, !tbaa !15
br label %53
41: ; preds = %23, %29
%42 = phi ptr [ %46, %29 ], [ %16, %23 ]
%43 = load ptr, ptr %42, align 8, !tbaa !14
%44 = getelementptr inbounds ptr, ptr %43, i64 %13
%45 = load ptr, ptr %44, align 8, !tbaa !15
%46 = getelementptr inbounds i8, ptr %45, i64 8
%47 = load ptr, ptr %46, align 8, !tbaa !14
%48 = getelementptr inbounds ptr, ptr %47, i64 %13
%49 = load ptr, ptr %48, align 8, !tbaa !15
%50 = icmp eq ptr %49, null
%51 = icmp eq ptr %49, %14
%52 = select i1 %50, i1 true, i1 %51
br i1 %52, label %53, label %29, !llvm.loop !18
53: ; preds = %41, %35, %12
%54 = phi ptr [ %19, %12 ], [ %40, %35 ], [ %49, %41 ]
%55 = phi ptr [ %15, %12 ], [ %37, %35 ], [ %45, %41 ]
%56 = getelementptr inbounds ptr, ptr %6, i64 %13
store ptr %55, ptr %56, align 8, !tbaa !15
%57 = add nsw i64 %13, -1
%58 = icmp sgt i64 %13, 0
br i1 %58, label %12, label %59, !llvm.loop !20
59: ; preds = %53, %2
%60 = phi ptr [ %3, %2 ], [ %55, %53 ]
%61 = getelementptr inbounds i8, ptr %60, i64 8
%62 = load ptr, ptr %61, align 8, !tbaa !14
%63 = load ptr, ptr %62, align 8, !tbaa !15
%64 = icmp eq ptr %63, null
br i1 %64, label %149, label %65
65: ; preds = %59
%66 = getelementptr inbounds i8, ptr %0, i64 8
%67 = load ptr, ptr %66, align 8, !tbaa !16
%68 = getelementptr inbounds i8, ptr %63, i64 16
%69 = load ptr, ptr %68, align 8, !tbaa !17
%70 = tail call i64 %67(ptr noundef %69, ptr noundef %1) #1
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %149
72: ; preds = %65
%73 = load i32, ptr %0, align 8, !tbaa !10
%74 = icmp slt i32 %73, 0
br i1 %74, label %109, label %75
75: ; preds = %72
%76 = getelementptr inbounds i8, ptr %63, i64 8
%77 = load ptr, ptr %6, align 8, !tbaa !15
%78 = getelementptr inbounds i8, ptr %77, i64 8
%79 = load ptr, ptr %78, align 8, !tbaa !14
%80 = load ptr, ptr %79, align 8, !tbaa !15
%81 = icmp eq ptr %80, %63
br i1 %81, label %90, label %109
82: ; preds = %90
%83 = getelementptr inbounds ptr, ptr %6, i64 %105
%84 = load ptr, ptr %83, align 8, !tbaa !15
%85 = getelementptr inbounds i8, ptr %84, i64 8
%86 = load ptr, ptr %85, align 8, !tbaa !14
%87 = getelementptr inbounds ptr, ptr %86, i64 %105
%88 = load ptr, ptr %87, align 8, !tbaa !15
%89 = icmp eq ptr %88, %63
br i1 %89, label %90, label %109, !llvm.loop !21
90: ; preds = %75, %82
%91 = phi ptr [ %87, %82 ], [ %79, %75 ]
%92 = phi ptr [ %84, %82 ], [ %77, %75 ]
%93 = phi i64 [ %105, %82 ], [ 0, %75 ]
%94 = load ptr, ptr %63, align 8, !tbaa !22
%95 = getelementptr inbounds i32, ptr %94, i64 %93
%96 = load i32, ptr %95, align 4, !tbaa !6
%97 = add nsw i32 %96, -1
%98 = load ptr, ptr %92, align 8, !tbaa !22
%99 = getelementptr inbounds i32, ptr %98, i64 %93
%100 = load i32, ptr %99, align 4, !tbaa !6
%101 = add nsw i32 %97, %100
store i32 %101, ptr %99, align 4, !tbaa !6
%102 = load ptr, ptr %76, align 8, !tbaa !14
%103 = getelementptr inbounds ptr, ptr %102, i64 %93
%104 = load ptr, ptr %103, align 8, !tbaa !15
store ptr %104, ptr %91, align 8, !tbaa !15
%105 = add nuw nsw i64 %93, 1
%106 = load i32, ptr %0, align 8, !tbaa !10
%107 = sext i32 %106 to i64
%108 = icmp slt i64 %93, %107
br i1 %108, label %82, label %109, !llvm.loop !21
109: ; preds = %90, %82, %75, %72
%110 = phi i32 [ %73, %72 ], [ %73, %75 ], [ %106, %82 ], [ %106, %90 ]
%111 = phi i64 [ 0, %72 ], [ 0, %75 ], [ %105, %82 ], [ %105, %90 ]
%112 = sext i32 %110 to i64
%113 = icmp sgt i64 %111, %112
br i1 %113, label %126, label %114
114: ; preds = %109, %114
%115 = phi i64 [ %122, %114 ], [ %111, %109 ]
%116 = getelementptr inbounds ptr, ptr %6, i64 %115
%117 = load ptr, ptr %116, align 8, !tbaa !15
%118 = load ptr, ptr %117, align 8, !tbaa !22
%119 = getelementptr inbounds i32, ptr %118, i64 %115
%120 = load i32, ptr %119, align 4, !tbaa !6
%121 = add nsw i32 %120, -1
store i32 %121, ptr %119, align 4, !tbaa !6
%122 = add nuw nsw i64 %115, 1
%123 = load i32, ptr %0, align 8, !tbaa !10
%124 = sext i32 %123 to i64
%125 = icmp slt i64 %115, %124
br i1 %125, label %114, label %126, !llvm.loop !23
126: ; preds = %114, %109
%127 = load ptr, ptr %68, align 8, !tbaa !17
%128 = getelementptr inbounds i8, ptr %0, i64 48
%129 = load ptr, ptr %128, align 8, !tbaa !24
%130 = tail call i32 %129(ptr noundef nonnull %63) #1
%131 = load i32, ptr %0, align 8, !tbaa !10
%132 = icmp sgt i32 %131, 0
br i1 %132, label %133, label %145
133: ; preds = %126
%134 = getelementptr inbounds i8, ptr %0, i64 32
%135 = load ptr, ptr %134, align 8, !tbaa !25
br label %136
136: ; preds = %133, %142
%137 = phi i32 [ %131, %133 ], [ %143, %142 ]
%138 = zext nneg i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %135, i64 %138
%140 = load ptr, ptr %139, align 8, !tbaa !15
%141 = icmp eq ptr %140, null
br i1 %141, label %142, label %145
142: ; preds = %136
%143 = add nsw i32 %137, -1
store i32 %143, ptr %0, align 8, !tbaa !10
%144 = icmp sgt i32 %137, 1
br i1 %144, label %136, label %145, !llvm.loop !26
145: ; preds = %136, %142, %126
%146 = getelementptr inbounds i8, ptr %0, i64 16
%147 = load i32, ptr %146, align 8, !tbaa !27
%148 = add nsw i32 %147, -1
store i32 %148, ptr %146, align 8, !tbaa !27
br label %149
149: ; preds = %59, %65, %145
%150 = phi ptr [ %127, %145 ], [ null, %65 ], [ null, %59 ]
ret ptr %150
}
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"TYPE_6__", !7, i64 0, !12, i64 8, !7, i64 16, !13, i64 24, !12, i64 48}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"TYPE_5__", !12, i64 0, !12, i64 8, !12, i64 16}
!14 = !{!13, !12, i64 8}
!15 = !{!12, !12, i64 0}
!16 = !{!11, !12, i64 8}
!17 = !{!13, !12, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = !{!13, !12, i64 0}
!23 = distinct !{!23, !19}
!24 = !{!11, !12, i64 48}
!25 = !{!11, !12, i64 32}
!26 = distinct !{!26, !19}
!27 = !{!11, !7, i64 16}
| reactos_sdk_lib_skiplist_extr_skiplist.c_DeleteElementSkiplist |
; ModuleID = 'AnghaBench/linux/drivers/clk/actions/extr_owl-s900.c_s900_clk_probe.c'
source_filename = "AnghaBench/linux/drivers/clk/actions/extr_owl-s900.c_s900_clk_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.owl_clk_desc = type { i32, i32, i32, i32 }
%struct.TYPE_7__ = type { i32, ptr, i32 }
%struct.owl_reset = type { %struct.TYPE_7__, i32, i32 }
@s900_clk_desc = dso_local global %struct.owl_clk_desc zeroinitializer, align 4
@GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4
@ENOMEM = dso_local local_unnamed_addr global i32 0, align 4
@owl_reset_ops = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Failed to register reset controller\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @s900_clk_probe], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @s900_clk_probe(ptr noundef %0) #0 {
%2 = tail call i32 @owl_clk_regmap_init(ptr noundef %0, ptr noundef nonnull @s900_clk_desc) #2
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5
%4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 32, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !5
%8 = sub nsw i32 0, %7
br label %23
9: ; preds = %1
%10 = load i32, ptr %0, align 4, !tbaa !9
%11 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 2
store i32 %10, ptr %11, align 8, !tbaa !12
%12 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1
store ptr @owl_reset_ops, ptr %12, align 8, !tbaa !16
%13 = load i32, ptr getelementptr inbounds (%struct.owl_clk_desc, ptr @s900_clk_desc, i64 0, i32 3), align 4, !tbaa !17
store i32 %13, ptr %4, align 8, !tbaa !19
%14 = getelementptr inbounds %struct.owl_reset, ptr %4, i64 0, i32 1
%15 = load <2 x i32>, ptr getelementptr inbounds (%struct.owl_clk_desc, ptr @s900_clk_desc, i64 0, i32 1), align 4, !tbaa !5
store <2 x i32> %15, ptr %14, align 8, !tbaa !5
%16 = tail call i32 @devm_reset_controller_register(ptr noundef nonnull %0, ptr noundef nonnull %4) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %9
%19 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %20
20: ; preds = %18, %9
%21 = load i32, ptr @s900_clk_desc, align 4, !tbaa !20
%22 = tail call i32 @owl_clk_probe(ptr noundef nonnull %0, i32 noundef %21) #2
br label %23
23: ; preds = %20, %6
%24 = phi i32 [ %22, %20 ], [ %8, %6 ]
ret i32 %24
}
declare i32 @owl_clk_regmap_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_reset_controller_register(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @owl_clk_probe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"platform_device", !11, i64 0}
!11 = !{!"TYPE_6__", !6, i64 0}
!12 = !{!13, !6, i64 16}
!13 = !{!"owl_reset", !14, i64 0, !6, i64 24, !6, i64 28}
!14 = !{!"TYPE_7__", !6, i64 0, !15, i64 8, !6, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!13, !15, i64 8}
!17 = !{!18, !6, i64 12}
!18 = !{!"owl_clk_desc", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!19 = !{!13, !6, i64 0}
!20 = !{!18, !6, i64 0}
| ; ModuleID = 'AnghaBench/linux/drivers/clk/actions/extr_owl-s900.c_s900_clk_probe.c'
source_filename = "AnghaBench/linux/drivers/clk/actions/extr_owl-s900.c_s900_clk_probe.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.owl_clk_desc = type { i32, i32, i32, i32 }
@s900_clk_desc = common global %struct.owl_clk_desc zeroinitializer, align 4
@GFP_KERNEL = common local_unnamed_addr global i32 0, align 4
@ENOMEM = common local_unnamed_addr global i32 0, align 4
@owl_reset_ops = common global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Failed to register reset controller\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @s900_clk_probe], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @s900_clk_probe(ptr noundef %0) #0 {
%2 = tail call i32 @owl_clk_regmap_init(ptr noundef %0, ptr noundef nonnull @s900_clk_desc) #2
%3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6
%4 = tail call ptr @devm_kzalloc(ptr noundef %0, i32 noundef 32, i32 noundef %3) #2
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr @ENOMEM, align 4, !tbaa !6
%8 = sub nsw i32 0, %7
br label %23
9: ; preds = %1
%10 = load i32, ptr %0, align 4, !tbaa !10
%11 = getelementptr inbounds i8, ptr %4, i64 16
store i32 %10, ptr %11, align 8, !tbaa !13
%12 = getelementptr inbounds i8, ptr %4, i64 8
store ptr @owl_reset_ops, ptr %12, align 8, !tbaa !17
%13 = load i32, ptr getelementptr inbounds (i8, ptr @s900_clk_desc, i64 12), align 4, !tbaa !18
store i32 %13, ptr %4, align 8, !tbaa !20
%14 = getelementptr inbounds i8, ptr %4, i64 24
%15 = load <2 x i32>, ptr getelementptr inbounds (i8, ptr @s900_clk_desc, i64 4), align 4, !tbaa !6
store <2 x i32> %15, ptr %14, align 8, !tbaa !6
%16 = tail call i32 @devm_reset_controller_register(ptr noundef nonnull %0, ptr noundef nonnull %4) #2
%17 = icmp eq i32 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %9
%19 = tail call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str) #2
br label %20
20: ; preds = %18, %9
%21 = load i32, ptr @s900_clk_desc, align 4, !tbaa !21
%22 = tail call i32 @owl_clk_probe(ptr noundef nonnull %0, i32 noundef %21) #2
br label %23
23: ; preds = %20, %6
%24 = phi i32 [ %22, %20 ], [ %8, %6 ]
ret i32 %24
}
declare i32 @owl_clk_regmap_init(ptr noundef, ptr noundef) local_unnamed_addr #1
declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @devm_reset_controller_register(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @owl_clk_probe(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"platform_device", !12, i64 0}
!12 = !{!"TYPE_6__", !7, i64 0}
!13 = !{!14, !7, i64 16}
!14 = !{!"owl_reset", !15, i64 0, !7, i64 24, !7, i64 28}
!15 = !{!"TYPE_7__", !7, i64 0, !16, i64 8, !7, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!14, !16, i64 8}
!18 = !{!19, !7, i64 12}
!19 = !{!"owl_clk_desc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!20 = !{!14, !7, i64 0}
!21 = !{!19, !7, i64 0}
| linux_drivers_clk_actions_extr_owl-s900.c_s900_clk_probe |
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_gpsk.c_eap_gpsk_validate_id_server.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_gpsk.c_eap_gpsk_validate_id_server.c"
target datalayout = "e-m:e-p270:32:32-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.eap_gpsk_data = type { i64, ptr }
@MSG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"EAP-GPSK: Message too short for length(ID_Server)\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"EAP-GPSK: Message too short for ID_Server\00", align 1
@MSG_INFO = dso_local local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [62 x i8] c"EAP-GPSK: ID_Server did not match with the one used in GPSK-1\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"EAP-GPSK: ID_Server in GPSK-1\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"EAP-GPSK: ID_Server in GPSK-3\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @eap_gpsk_validate_id_server], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @eap_gpsk_validate_id_server(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %45, label %5
5: ; preds = %3
%6 = ptrtoint ptr %2 to i64
%7 = ptrtoint ptr %1 to i64
%8 = sub i64 %6, %7
%9 = icmp slt i64 %8, 8
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%12 = tail call i32 @wpa_printf(i32 noundef %11, ptr noundef nonnull @.str) #2
br label %45
13: ; preds = %5
%14 = tail call i64 @WPA_GET_BE16(ptr noundef nonnull %1) #2
%15 = getelementptr inbounds i32, ptr %1, i64 2
%16 = ptrtoint ptr %15 to i64
%17 = sub i64 %6, %16
%18 = ashr exact i64 %17, 2
%19 = shl i64 %14, 32
%20 = ashr exact i64 %19, 32
%21 = icmp slt i64 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%24 = tail call i32 @wpa_printf(i32 noundef %23, ptr noundef nonnull @.str.1) #2
br label %45
25: ; preds = %13
%26 = load i64, ptr %0, align 8, !tbaa !9
%27 = icmp eq i64 %14, %26
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = getelementptr inbounds %struct.eap_gpsk_data, ptr %0, i64 0, i32 1
%30 = load ptr, ptr %29, align 8, !tbaa !13
%31 = tail call i64 @os_memcmp(ptr noundef nonnull %15, ptr noundef %30, i64 noundef %14) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %43, label %33
33: ; preds = %28, %25
%34 = load i32, ptr @MSG_INFO, align 4, !tbaa !5
%35 = tail call i32 @wpa_printf(i32 noundef %34, ptr noundef nonnull @.str.2) #2
%36 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%37 = getelementptr inbounds %struct.eap_gpsk_data, ptr %0, i64 0, i32 1
%38 = load ptr, ptr %37, align 8, !tbaa !13
%39 = load i64, ptr %0, align 8, !tbaa !9
%40 = tail call i32 @wpa_hexdump_ascii(i32 noundef %36, ptr noundef nonnull @.str.3, ptr noundef %38, i64 noundef %39) #2
%41 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !5
%42 = tail call i32 @wpa_hexdump_ascii(i32 noundef %41, ptr noundef nonnull @.str.4, ptr noundef nonnull %15, i64 noundef %14) #2
br label %45
43: ; preds = %28
%44 = getelementptr inbounds i32, ptr %15, i64 %14
br label %45
45: ; preds = %3, %43, %33, %22, %10
%46 = phi ptr [ null, %10 ], [ null, %22 ], [ null, %33 ], [ %44, %43 ], [ null, %3 ]
ret ptr %46
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WPA_GET_BE16(ptr noundef) local_unnamed_addr #1
declare i64 @os_memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"eap_gpsk_data", !11, i64 0, !12, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !12, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_gpsk.c_eap_gpsk_validate_id_server.c'
source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_gpsk.c_eap_gpsk_validate_id_server.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MSG_DEBUG = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [50 x i8] c"EAP-GPSK: Message too short for length(ID_Server)\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"EAP-GPSK: Message too short for ID_Server\00", align 1
@MSG_INFO = common local_unnamed_addr global i32 0, align 4
@.str.2 = private unnamed_addr constant [62 x i8] c"EAP-GPSK: ID_Server did not match with the one used in GPSK-1\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"EAP-GPSK: ID_Server in GPSK-1\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"EAP-GPSK: ID_Server in GPSK-3\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @eap_gpsk_validate_id_server], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @eap_gpsk_validate_id_server(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = icmp eq ptr %1, null
br i1 %4, label %45, label %5
5: ; preds = %3
%6 = ptrtoint ptr %2 to i64
%7 = ptrtoint ptr %1 to i64
%8 = sub i64 %6, %7
%9 = icmp slt i64 %8, 5
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%12 = tail call i32 @wpa_printf(i32 noundef %11, ptr noundef nonnull @.str) #2
br label %45
13: ; preds = %5
%14 = tail call i64 @WPA_GET_BE16(ptr noundef nonnull %1) #2
%15 = getelementptr inbounds i8, ptr %1, i64 8
%16 = ptrtoint ptr %15 to i64
%17 = sub i64 %6, %16
%18 = ashr exact i64 %17, 2
%19 = shl i64 %14, 32
%20 = ashr exact i64 %19, 32
%21 = icmp slt i64 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %13
%23 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%24 = tail call i32 @wpa_printf(i32 noundef %23, ptr noundef nonnull @.str.1) #2
br label %45
25: ; preds = %13
%26 = load i64, ptr %0, align 8, !tbaa !10
%27 = icmp eq i64 %14, %26
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = getelementptr inbounds i8, ptr %0, i64 8
%30 = load ptr, ptr %29, align 8, !tbaa !14
%31 = tail call i64 @os_memcmp(ptr noundef nonnull %15, ptr noundef %30, i64 noundef %14) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %43, label %33
33: ; preds = %28, %25
%34 = load i32, ptr @MSG_INFO, align 4, !tbaa !6
%35 = tail call i32 @wpa_printf(i32 noundef %34, ptr noundef nonnull @.str.2) #2
%36 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%37 = getelementptr inbounds i8, ptr %0, i64 8
%38 = load ptr, ptr %37, align 8, !tbaa !14
%39 = load i64, ptr %0, align 8, !tbaa !10
%40 = tail call i32 @wpa_hexdump_ascii(i32 noundef %36, ptr noundef nonnull @.str.3, ptr noundef %38, i64 noundef %39) #2
%41 = load i32, ptr @MSG_DEBUG, align 4, !tbaa !6
%42 = tail call i32 @wpa_hexdump_ascii(i32 noundef %41, ptr noundef nonnull @.str.4, ptr noundef nonnull %15, i64 noundef %14) #2
br label %45
43: ; preds = %28
%44 = getelementptr inbounds i32, ptr %15, i64 %14
br label %45
45: ; preds = %3, %43, %33, %22, %10
%46 = phi ptr [ null, %10 ], [ null, %22 ], [ null, %33 ], [ %44, %43 ], [ null, %3 ]
ret ptr %46
}
declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @WPA_GET_BE16(ptr noundef) local_unnamed_addr #1
declare i64 @os_memcmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
declare i32 @wpa_hexdump_ascii(i32 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"eap_gpsk_data", !12, i64 0, !13, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !13, i64 8}
| freebsd_contrib_wpa_src_eap_peer_extr_eap_gpsk.c_eap_gpsk_validate_id_server |
; ModuleID = 'AnghaBench/darwin-xnu/osfmk/i386/extr_rtclock.c_machine_delay_until.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_rtclock.c_machine_delay_until.c"
target datalayout = "e-m:e-p270:32:32-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 @machine_delay_until(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 (...) @mach_absolute_time() #2
%4 = icmp slt i64 %3, %1
br i1 %4, label %5, label %9
5: ; preds = %2, %5
%6 = tail call i32 (...) @cpu_pause() #2
%7 = tail call i64 (...) @mach_absolute_time() #2
%8 = icmp slt i64 %7, %1
br i1 %8, label %5, label %9, !llvm.loop !5
9: ; preds = %5, %2
ret void
}
declare i64 @mach_absolute_time(...) local_unnamed_addr #1
declare i32 @cpu_pause(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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/darwin-xnu/osfmk/i386/extr_rtclock.c_machine_delay_until.c'
source_filename = "AnghaBench/darwin-xnu/osfmk/i386/extr_rtclock.c_machine_delay_until.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 @machine_delay_until(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = tail call i64 @mach_absolute_time() #2
%4 = icmp slt i64 %3, %1
br i1 %4, label %5, label %9
5: ; preds = %2, %5
%6 = tail call i32 @cpu_pause() #2
%7 = tail call i64 @mach_absolute_time() #2
%8 = icmp slt i64 %7, %1
br i1 %8, label %5, label %9, !llvm.loop !6
9: ; preds = %5, %2
ret void
}
declare i64 @mach_absolute_time(...) local_unnamed_addr #1
declare i32 @cpu_pause(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 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"}
| darwin-xnu_osfmk_i386_extr_rtclock.c_machine_delay_until |
; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_ixp4xx_hss.c_queue_get_desc.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_ixp4xx_hss.c_queue_get_desc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.desc = type { i32 }
@TX_DESCS = dso_local local_unnamed_addr global i32 0, align 4
@RX_DESCS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @queue_get_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal i32 @queue_get_desc(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @qmgr_get_entry(i32 noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %32, label %6
6: ; preds = %3
%7 = and i32 %4, 31
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = icmp eq i32 %2, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = tail call i32 @tx_desc_phys(ptr noundef %1, i32 noundef 0) #2
%12 = tail call ptr @tx_desc_ptr(ptr noundef %1, i32 noundef 0) #2
br label %16
13: ; preds = %6
%14 = tail call i32 @rx_desc_phys(ptr noundef %1, i32 noundef 0) #2
%15 = tail call ptr @rx_desc_ptr(ptr noundef %1, i32 noundef 0) #2
br label %16
16: ; preds = %13, %10
%17 = phi i32 [ %11, %10 ], [ %14, %13 ]
%18 = phi ptr [ %12, %10 ], [ %15, %13 ]
%19 = sub nsw i32 %4, %17
%20 = ashr i32 %19, 2
%21 = load i32, ptr @TX_DESCS, align 4
%22 = load i32, ptr @RX_DESCS, align 4
%23 = select i1 %9, i32 %22, i32 %21
%24 = icmp sge i32 %20, %23
%25 = zext i1 %24 to i32
%26 = tail call i32 @BUG_ON(i32 noundef %25) #2
%27 = sext i32 %20 to i64
%28 = getelementptr inbounds %struct.desc, ptr %18, i64 %27
%29 = tail call i32 @debug_desc(i32 noundef %4, ptr noundef %28) #2
%30 = load i32, ptr %28, align 4, !tbaa !5
%31 = tail call i32 @BUG_ON(i32 noundef %30) #2
br label %32
32: ; preds = %3, %16
%33 = phi i32 [ %20, %16 ], [ -1, %3 ]
ret i32 %33
}
declare i32 @qmgr_get_entry(i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @tx_desc_phys(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rx_desc_phys(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @tx_desc_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @rx_desc_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debug_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"desc", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wan/extr_ixp4xx_hss.c_queue_get_desc.c'
source_filename = "AnghaBench/linux/drivers/net/wan/extr_ixp4xx_hss.c_queue_get_desc.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.desc = type { i32 }
@TX_DESCS = common local_unnamed_addr global i32 0, align 4
@RX_DESCS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @queue_get_desc], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal i32 @queue_get_desc(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = tail call i32 @qmgr_get_entry(i32 noundef %0) #2
%5 = icmp eq i32 %4, 0
br i1 %5, label %32, label %6
6: ; preds = %3
%7 = and i32 %4, 31
%8 = tail call i32 @BUG_ON(i32 noundef %7) #2
%9 = icmp eq i32 %2, 0
br i1 %9, label %13, label %10
10: ; preds = %6
%11 = tail call i32 @tx_desc_phys(ptr noundef %1, i32 noundef 0) #2
%12 = tail call ptr @tx_desc_ptr(ptr noundef %1, i32 noundef 0) #2
br label %16
13: ; preds = %6
%14 = tail call i32 @rx_desc_phys(ptr noundef %1, i32 noundef 0) #2
%15 = tail call ptr @rx_desc_ptr(ptr noundef %1, i32 noundef 0) #2
br label %16
16: ; preds = %13, %10
%17 = phi i32 [ %11, %10 ], [ %14, %13 ]
%18 = phi ptr [ %12, %10 ], [ %15, %13 ]
%19 = sub nsw i32 %4, %17
%20 = ashr i32 %19, 2
%21 = load i32, ptr @TX_DESCS, align 4
%22 = load i32, ptr @RX_DESCS, align 4
%23 = select i1 %9, i32 %22, i32 %21
%24 = icmp sge i32 %20, %23
%25 = zext i1 %24 to i32
%26 = tail call i32 @BUG_ON(i32 noundef %25) #2
%27 = sext i32 %20 to i64
%28 = getelementptr inbounds %struct.desc, ptr %18, i64 %27
%29 = tail call i32 @debug_desc(i32 noundef %4, ptr noundef %28) #2
%30 = load i32, ptr %28, align 4, !tbaa !6
%31 = tail call i32 @BUG_ON(i32 noundef %30) #2
br label %32
32: ; preds = %3, %16
%33 = phi i32 [ %20, %16 ], [ -1, %3 ]
ret i32 %33
}
declare i32 @qmgr_get_entry(i32 noundef) local_unnamed_addr #1
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1
declare i32 @tx_desc_phys(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @rx_desc_phys(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @tx_desc_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare ptr @rx_desc_ptr(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @debug_desc(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"desc", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wan_extr_ixp4xx_hss.c_queue_get_desc |
; ModuleID = 'AnghaBench/linux/block/extr_blk-wbt.c_wb_recent_wait.c'
source_filename = "AnghaBench/linux/block/extr_blk-wbt.c_wb_recent_wait.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@jiffies = dso_local local_unnamed_addr global i32 0, align 4
@HZ = dso_local local_unnamed_addr global i64 0, align 8
@llvm.compiler.used = appending global [1 x ptr] [ptr @wb_recent_wait], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @wb_recent_wait(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !5
%3 = load ptr, ptr %2, align 8, !tbaa !11
%4 = load i32, ptr @jiffies, align 4, !tbaa !13
%5 = load i64, ptr %3, align 8, !tbaa !15
%6 = load i64, ptr @HZ, align 8, !tbaa !18
%7 = add nsw i64 %6, %5
%8 = tail call i32 @time_before(i32 noundef %4, i64 noundef %7) #2
ret i32 %8
}
declare i32 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"rq_wb", !7, i64 0}
!7 = !{!"TYPE_6__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"TYPE_5__", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !9, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"bdi_writeback", !17, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!17, !17, i64 0}
| ; ModuleID = 'AnghaBench/linux/block/extr_blk-wbt.c_wb_recent_wait.c'
source_filename = "AnghaBench/linux/block/extr_blk-wbt.c_wb_recent_wait.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@jiffies = common local_unnamed_addr global i32 0, align 4
@HZ = common local_unnamed_addr global i64 0, align 8
@llvm.used = appending global [1 x ptr] [ptr @wb_recent_wait], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @wb_recent_wait(ptr nocapture noundef readonly %0) #0 {
%2 = load ptr, ptr %0, align 8, !tbaa !6
%3 = load ptr, ptr %2, align 8, !tbaa !12
%4 = load i32, ptr @jiffies, align 4, !tbaa !14
%5 = load i64, ptr %3, align 8, !tbaa !16
%6 = load i64, ptr @HZ, align 8, !tbaa !19
%7 = add nsw i64 %6, %5
%8 = tail call i32 @time_before(i32 noundef %4, i64 noundef %7) #2
ret i32 %8
}
declare i32 @time_before(i32 noundef, i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"rq_wb", !8, i64 0}
!8 = !{!"TYPE_6__", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !9, i64 0}
!13 = !{!"TYPE_5__", !9, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !10, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"bdi_writeback", !18, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!18, !18, i64 0}
| linux_block_extr_blk-wbt.c_wb_recent_wait |
; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_dim2.c_get_active_channels.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_dim2.c_get_active_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.TYPE_2__ = type { %struct.dim_channel, i64 }
%struct.dim_channel = type { i32 }
@DMA_CHANNELS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @get_active_channels], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define internal noundef ptr @get_active_channels(ptr nocapture noundef readonly %0, ptr noundef returned writeonly %1) #0 {
%3 = load i32, ptr @DMA_CHANNELS, align 4, !tbaa !5
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %59
5: ; preds = %2
%6 = zext nneg i32 %3 to i64
%7 = and i64 %6, 1
%8 = icmp eq i32 %3, 1
br i1 %8, label %41, label %9
9: ; preds = %5
%10 = and i64 %6, 2147483646
br label %11
11: ; preds = %36, %9
%12 = phi i64 [ 0, %9 ], [ %38, %36 ]
%13 = phi i32 [ 0, %9 ], [ %37, %36 ]
%14 = phi i64 [ 0, %9 ], [ %39, %36 ]
%15 = load ptr, ptr %0, align 8, !tbaa !9
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %12, i32 1
%17 = load i64, ptr %16, align 8, !tbaa !12
%18 = icmp eq i64 %17, 0
br i1 %18, label %24, label %19
19: ; preds = %11
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i64 %12
%21 = add nsw i32 %13, 1
%22 = sext i32 %13 to i64
%23 = getelementptr inbounds ptr, ptr %1, i64 %22
store ptr %20, ptr %23, align 8, !tbaa !16
br label %24
24: ; preds = %11, %19
%25 = phi i32 [ %21, %19 ], [ %13, %11 ]
%26 = or disjoint i64 %12, 1
%27 = load ptr, ptr %0, align 8, !tbaa !9
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 %26, i32 1
%29 = load i64, ptr %28, align 8, !tbaa !12
%30 = icmp eq i64 %29, 0
br i1 %30, label %36, label %31
31: ; preds = %24
%32 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i64 %26
%33 = add nsw i32 %25, 1
%34 = sext i32 %25 to i64
%35 = getelementptr inbounds ptr, ptr %1, i64 %34
store ptr %32, ptr %35, align 8, !tbaa !16
br label %36
36: ; preds = %31, %24
%37 = phi i32 [ %33, %31 ], [ %25, %24 ]
%38 = add nuw nsw i64 %12, 2
%39 = add i64 %14, 2
%40 = icmp eq i64 %39, %10
br i1 %40, label %41, label %11, !llvm.loop !17
41: ; preds = %36, %5
%42 = phi i32 [ undef, %5 ], [ %37, %36 ]
%43 = phi i64 [ 0, %5 ], [ %38, %36 ]
%44 = phi i32 [ 0, %5 ], [ %37, %36 ]
%45 = icmp eq i64 %7, 0
br i1 %45, label %56, label %46
46: ; preds = %41
%47 = load ptr, ptr %0, align 8, !tbaa !9
%48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i64 %43, i32 1
%49 = load i64, ptr %48, align 8, !tbaa !12
%50 = icmp eq i64 %49, 0
br i1 %50, label %56, label %51
51: ; preds = %46
%52 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i64 %43
%53 = add nsw i32 %44, 1
%54 = sext i32 %44 to i64
%55 = getelementptr inbounds ptr, ptr %1, i64 %54
store ptr %52, ptr %55, align 8, !tbaa !16
br label %56
56: ; preds = %46, %51, %41
%57 = phi i32 [ %42, %41 ], [ %53, %51 ], [ %44, %46 ]
%58 = sext i32 %57 to i64
br label %59
59: ; preds = %56, %2
%60 = phi i64 [ 0, %2 ], [ %58, %56 ]
%61 = getelementptr inbounds ptr, ptr %1, i64 %60
store ptr null, ptr %61, align 8, !tbaa !16
ret ptr %1
}
attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 = !{!"dim2_hdm", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !15, i64 8}
!13 = !{!"TYPE_2__", !14, i64 0, !15, i64 8}
!14 = !{!"dim_channel", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/staging/most/dim2/extr_dim2.c_get_active_channels.c'
source_filename = "AnghaBench/linux/drivers/staging/most/dim2/extr_dim2.c_get_active_channels.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 { %struct.dim_channel, i64 }
%struct.dim_channel = type { i32 }
@DMA_CHANNELS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @get_active_channels], section "llvm.metadata"
; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync)
define internal noundef ptr @get_active_channels(ptr nocapture noundef readonly %0, ptr noundef returned writeonly %1) #0 {
%3 = load i32, ptr @DMA_CHANNELS, align 4, !tbaa !6
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %25
5: ; preds = %2
%6 = zext nneg i32 %3 to i64
br label %7
7: ; preds = %5, %19
%8 = phi i64 [ 0, %5 ], [ %21, %19 ]
%9 = phi i32 [ 0, %5 ], [ %20, %19 ]
%10 = load ptr, ptr %0, align 8, !tbaa !10
%11 = getelementptr inbounds %struct.TYPE_2__, ptr %10, i64 %8
%12 = getelementptr inbounds i8, ptr %11, i64 8
%13 = load i64, ptr %12, align 8, !tbaa !13
%14 = icmp eq i64 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %7
%16 = add nsw i32 %9, 1
%17 = sext i32 %9 to i64
%18 = getelementptr inbounds ptr, ptr %1, i64 %17
store ptr %11, ptr %18, align 8, !tbaa !17
br label %19
19: ; preds = %7, %15
%20 = phi i32 [ %16, %15 ], [ %9, %7 ]
%21 = add nuw nsw i64 %8, 1
%22 = icmp eq i64 %21, %6
br i1 %22, label %23, label %7, !llvm.loop !18
23: ; preds = %19
%24 = sext i32 %20 to i64
br label %25
25: ; preds = %23, %2
%26 = phi i64 [ 0, %2 ], [ %24, %23 ]
%27 = getelementptr inbounds ptr, ptr %1, i64 %26
store ptr null, ptr %27, align 8, !tbaa !17
ret ptr %1
}
attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 = !{!"dim2_hdm", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !16, i64 8}
!14 = !{!"TYPE_2__", !15, i64 0, !16, i64 8}
!15 = !{!"dim_channel", !7, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!12, !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
| linux_drivers_staging_most_dim2_extr_dim2.c_get_active_channels |
; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_store_current_palette.c'
source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_store_current_palette.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { ptr, i32 }
%struct.TYPE_5__ = type { i32, ptr }
@.str = private unnamed_addr constant [30 x i8] c"no current stream for palette\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @store_current_palette], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @store_current_palette(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !5
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1
%7 = load i32, ptr %6, align 8, !tbaa !11
%8 = tail call i32 @store_log(ptr noundef nonnull %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef 1) #2
br label %13
9: ; preds = %2
%10 = load i32, ptr %3, align 8, !tbaa !12
store i32 %10, ptr %1, align 4, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1
%12 = load ptr, ptr %11, align 8, !tbaa !15
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ null, %5 ], [ %12, %9 ]
ret ptr %14
}
declare i32 @store_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_6__", !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}
!12 = !{!13, !10, i64 0}
!13 = !{!"TYPE_5__", !10, i64 0, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!13, !7, i64 8}
| ; ModuleID = 'AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_store_current_palette.c'
source_filename = "AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_store_current_palette.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 [30 x i8] c"no current stream for palette\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @store_current_palette], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @store_current_palette(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = load ptr, ptr %0, align 8, !tbaa !6
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %2
%6 = getelementptr inbounds i8, ptr %0, i64 8
%7 = load i32, ptr %6, align 8, !tbaa !12
%8 = tail call i32 @store_log(ptr noundef nonnull %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef 1) #2
br label %13
9: ; preds = %2
%10 = load i32, ptr %3, align 8, !tbaa !13
store i32 %10, ptr %1, align 4, !tbaa !15
%11 = getelementptr inbounds i8, ptr %3, i64 8
%12 = load ptr, ptr %11, align 8, !tbaa !16
br label %13
13: ; preds = %9, %5
%14 = phi ptr [ null, %5 ], [ %12, %9 ]
ret ptr %14
}
declare i32 @store_log(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_6__", !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}
!13 = !{!14, !11, i64 0}
!14 = !{!"TYPE_5__", !11, i64 0, !8, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!14, !8, i64 8}
| Provenance_Cores_Mupen64Plus_png_contrib_libtests_extr_pngvalid.c_store_current_palette |
; ModuleID = 'AnghaBench/linux/fs/autofs/extr_waitq.c_autofs_getpath.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_waitq.c_autofs_getpath.c"
target datalayout = "e-m:e-p270:32:32-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.autofs_sb_info = type { i32, ptr }
%struct.TYPE_4__ = type { i32, i32 }
%struct.dentry = type { %struct.TYPE_4__, ptr }
@rename_lock = dso_local global i32 0, align 4
@NAME_MAX = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @autofs_getpath], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @autofs_getpath(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds %struct.autofs_sb_info, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = icmp eq ptr %6, %1
%8 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i64 0, i32 1
%9 = getelementptr inbounds %struct.dentry, ptr %1, i64 0, i32 1
br label %10
10: ; preds = %34, %3
%11 = tail call i32 @read_seqbegin(ptr noundef nonnull @rename_lock) #2
%12 = tail call i32 (...) @rcu_read_lock() #2
%13 = tail call i32 @spin_lock(ptr noundef %0) #2
br i1 %7, label %29, label %14
14: ; preds = %10, %14
%15 = phi i32 [ %19, %14 ], [ 0, %10 ]
%16 = phi ptr [ %21, %14 ], [ %1, %10 ]
%17 = load i32, ptr %16, align 8, !tbaa !13
%18 = add i32 %15, 1
%19 = add i32 %18, %17
%20 = getelementptr inbounds %struct.dentry, ptr %16, i64 0, i32 1
%21 = load ptr, ptr %20, align 8, !tbaa !16
%22 = icmp eq ptr %21, %6
br i1 %22, label %23, label %14, !llvm.loop !17
23: ; preds = %14
%24 = icmp eq i32 %19, 0
br i1 %24, label %29, label %25
25: ; preds = %23
%26 = add i32 %15, %17
%27 = load i32, ptr @NAME_MAX, align 4, !tbaa !19
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %10, %25, %23
%30 = tail call i32 @spin_unlock(ptr noundef %0) #2
%31 = tail call i32 (...) @rcu_read_unlock() #2
%32 = tail call i64 @read_seqretry(ptr noundef nonnull @rename_lock, i32 noundef %11) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %65, label %34
34: ; preds = %29, %60
br label %10
35: ; preds = %25
%36 = sext i32 %26 to i64
%37 = getelementptr inbounds i8, ptr %2, i64 %36
store i8 0, ptr %37, align 1, !tbaa !20
%38 = load i32, ptr %1, align 8, !tbaa !13
%39 = sext i32 %38 to i64
%40 = sub nsw i64 0, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i32, ptr %8, align 4, !tbaa !21
%43 = tail call i32 @strncpy(ptr noundef nonnull %41, i32 noundef %42, i32 noundef %38) #2
%44 = load ptr, ptr %9, align 8, !tbaa !16
%45 = icmp eq ptr %44, %6
br i1 %45, label %60, label %46
46: ; preds = %35, %46
%47 = phi ptr [ %58, %46 ], [ %44, %35 ]
%48 = phi ptr [ %53, %46 ], [ %41, %35 ]
%49 = getelementptr inbounds i8, ptr %48, i64 -1
store i8 47, ptr %49, align 1, !tbaa !20
%50 = load i32, ptr %47, align 8, !tbaa !13
%51 = sext i32 %50 to i64
%52 = sub nsw i64 0, %51
%53 = getelementptr inbounds i8, ptr %49, i64 %52
%54 = getelementptr inbounds %struct.TYPE_4__, ptr %47, i64 0, i32 1
%55 = load i32, ptr %54, align 4, !tbaa !21
%56 = tail call i32 @strncpy(ptr noundef nonnull %53, i32 noundef %55, i32 noundef %50) #2
%57 = getelementptr inbounds %struct.dentry, ptr %47, i64 0, i32 1
%58 = load ptr, ptr %57, align 8, !tbaa !16
%59 = icmp eq ptr %58, %6
br i1 %59, label %60, label %46, !llvm.loop !22
60: ; preds = %46, %35
%61 = tail call i32 @spin_unlock(ptr noundef %0) #2
%62 = tail call i32 (...) @rcu_read_unlock() #2
%63 = tail call i64 @read_seqretry(ptr noundef nonnull @rename_lock, i32 noundef %11) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %34
65: ; preds = %60, %29
%66 = phi i32 [ 0, %29 ], [ %26, %60 ]
ret i32 %66
}
declare i32 @read_seqbegin(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i64 @read_seqretry(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(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, !10, i64 8}
!6 = !{!"autofs_sb_info", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"dentry", !15, i64 0, !10, i64 8}
!15 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!16 = !{!14, !10, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !7, i64 0}
!20 = !{!8, !8, i64 0}
!21 = !{!14, !7, i64 4}
!22 = distinct !{!22, !18}
| ; ModuleID = 'AnghaBench/linux/fs/autofs/extr_waitq.c_autofs_getpath.c'
source_filename = "AnghaBench/linux/fs/autofs/extr_waitq.c_autofs_getpath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@rename_lock = common global i32 0, align 4
@NAME_MAX = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @autofs_getpath], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 2147483647) i32 @autofs_getpath(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2) #0 {
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = icmp eq ptr %6, %1
%8 = getelementptr inbounds i8, ptr %1, i64 4
%9 = getelementptr inbounds i8, ptr %1, i64 8
br label %10
10: ; preds = %34, %3
%11 = tail call i32 @read_seqbegin(ptr noundef nonnull @rename_lock) #2
%12 = tail call i32 @rcu_read_lock() #2
%13 = tail call i32 @spin_lock(ptr noundef %0) #2
br i1 %7, label %29, label %14
14: ; preds = %10, %14
%15 = phi i32 [ %19, %14 ], [ 0, %10 ]
%16 = phi ptr [ %21, %14 ], [ %1, %10 ]
%17 = load i32, ptr %16, align 8, !tbaa !14
%18 = add i32 %15, 1
%19 = add i32 %18, %17
%20 = getelementptr inbounds i8, ptr %16, i64 8
%21 = load ptr, ptr %20, align 8, !tbaa !17
%22 = icmp eq ptr %21, %6
br i1 %22, label %23, label %14, !llvm.loop !18
23: ; preds = %14
%24 = icmp eq i32 %19, 0
br i1 %24, label %29, label %25
25: ; preds = %23
%26 = add i32 %15, %17
%27 = load i32, ptr @NAME_MAX, align 4, !tbaa !20
%28 = icmp sgt i32 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %10, %25, %23
%30 = tail call i32 @spin_unlock(ptr noundef %0) #2
%31 = tail call i32 @rcu_read_unlock() #2
%32 = tail call i64 @read_seqretry(ptr noundef nonnull @rename_lock, i32 noundef %11) #2
%33 = icmp eq i64 %32, 0
br i1 %33, label %65, label %34
34: ; preds = %29, %60
br label %10
35: ; preds = %25
%36 = sext i32 %26 to i64
%37 = getelementptr inbounds i8, ptr %2, i64 %36
store i8 0, ptr %37, align 1, !tbaa !21
%38 = load i32, ptr %1, align 8, !tbaa !14
%39 = sext i32 %38 to i64
%40 = sub nsw i64 0, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i32, ptr %8, align 4, !tbaa !22
%43 = tail call i32 @strncpy(ptr noundef nonnull %41, i32 noundef %42, i32 noundef %38) #2
%44 = load ptr, ptr %9, align 8, !tbaa !17
%45 = icmp eq ptr %44, %6
br i1 %45, label %60, label %46
46: ; preds = %35, %46
%47 = phi ptr [ %58, %46 ], [ %44, %35 ]
%48 = phi ptr [ %53, %46 ], [ %41, %35 ]
%49 = getelementptr inbounds i8, ptr %48, i64 -1
store i8 47, ptr %49, align 1, !tbaa !21
%50 = load i32, ptr %47, align 8, !tbaa !14
%51 = sext i32 %50 to i64
%52 = sub nsw i64 0, %51
%53 = getelementptr inbounds i8, ptr %49, i64 %52
%54 = getelementptr inbounds i8, ptr %47, i64 4
%55 = load i32, ptr %54, align 4, !tbaa !22
%56 = tail call i32 @strncpy(ptr noundef nonnull %53, i32 noundef %55, i32 noundef %50) #2
%57 = getelementptr inbounds i8, ptr %47, i64 8
%58 = load ptr, ptr %57, align 8, !tbaa !17
%59 = icmp eq ptr %58, %6
br i1 %59, label %60, label %46, !llvm.loop !23
60: ; preds = %46, %35
%61 = tail call i32 @spin_unlock(ptr noundef %0) #2
%62 = tail call i32 @rcu_read_unlock() #2
%63 = tail call i64 @read_seqretry(ptr noundef nonnull @rename_lock, i32 noundef %11) #2
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %34
65: ; preds = %60, %29
%66 = phi i32 [ 0, %29 ], [ %26, %60 ]
ret i32 %66
}
declare i32 @read_seqbegin(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_lock(...) local_unnamed_addr #1
declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1
declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1
declare i32 @rcu_read_unlock(...) local_unnamed_addr #1
declare i64 @read_seqretry(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @strncpy(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, !11, i64 8}
!7 = !{!"autofs_sb_info", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"dentry", !16, i64 0, !11, i64 8}
!16 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!17 = !{!15, !11, i64 8}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!8, !8, i64 0}
!21 = !{!9, !9, i64 0}
!22 = !{!15, !8, i64 4}
!23 = distinct !{!23, !19}
| linux_fs_autofs_extr_waitq.c_autofs_getpath |
; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-manager.c_manager_connect_genl.c'
source_filename = "AnghaBench/systemd/src/network/extr_networkd-manager.c_manager_connect_genl.c"
target datalayout = "e-m:e-p270:32:32-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 }
@RCVBUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @manager_connect_genl], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @manager_connect_genl(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1
%4 = tail call i32 @sd_genl_socket_open(ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %1
%7 = load i32, ptr %3, align 4, !tbaa !5
%8 = load i32, ptr @RCVBUF_SIZE, align 4, !tbaa !10
%9 = tail call i32 @sd_netlink_inc_rcvbuf(i32 noundef %7, i32 noundef %8) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4, !tbaa !5
%13 = load i32, ptr %0, align 4, !tbaa !11
%14 = tail call i32 @sd_netlink_attach_event(i32 noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = tail call i32 @llvm.smin.i32(i32 %14, i32 0)
br label %16
16: ; preds = %11, %6, %1
%17 = phi i32 [ %4, %1 ], [ %9, %6 ], [ %15, %11 ]
ret i32 %17
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_genl_socket_open(ptr noundef) local_unnamed_addr #1
declare i32 @sd_netlink_inc_rcvbuf(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_netlink_attach_event(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/systemd/src/network/extr_networkd-manager.c_manager_connect_genl.c'
source_filename = "AnghaBench/systemd/src/network/extr_networkd-manager.c_manager_connect_genl.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@RCVBUF_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @manager_connect_genl], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal range(i32 -2147483648, 1) i32 @manager_connect_genl(ptr noundef %0) #0 {
%2 = tail call i32 @assert(ptr noundef %0) #3
%3 = getelementptr inbounds i8, ptr %0, i64 4
%4 = tail call i32 @sd_genl_socket_open(ptr noundef nonnull %3) #3
%5 = icmp slt i32 %4, 0
br i1 %5, label %16, label %6
6: ; preds = %1
%7 = load i32, ptr %3, align 4, !tbaa !6
%8 = load i32, ptr @RCVBUF_SIZE, align 4, !tbaa !11
%9 = tail call i32 @sd_netlink_inc_rcvbuf(i32 noundef %7, i32 noundef %8) #3
%10 = icmp slt i32 %9, 0
br i1 %10, label %16, label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4, !tbaa !6
%13 = load i32, ptr %0, align 4, !tbaa !12
%14 = tail call i32 @sd_netlink_attach_event(i32 noundef %12, i32 noundef %13, i32 noundef 0) #3
%15 = tail call i32 @llvm.smin.i32(i32 %14, i32 0)
br label %16
16: ; preds = %11, %6, %1
%17 = phi i32 [ %4, %1 ], [ %9, %6 ], [ %15, %11 ]
ret i32 %17
}
declare i32 @assert(ptr noundef) local_unnamed_addr #1
declare i32 @sd_genl_socket_open(ptr noundef) local_unnamed_addr #1
declare i32 @sd_netlink_inc_rcvbuf(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sd_netlink_attach_event(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 4}
!7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!8, !8, i64 0}
!12 = !{!7, !8, i64 0}
| systemd_src_network_extr_networkd-manager.c_manager_connect_genl |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_enc28j60_phy_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_enc28j60_phy_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"
@MIREGADR = dso_local local_unnamed_addr global i32 0, align 4
@MICMD = dso_local local_unnamed_addr global i32 0, align 4
@MICMD_MIIRD = dso_local local_unnamed_addr global i32 0, align 4
@MIRDL = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @enc28j60_phy_read], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @enc28j60_phy_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = load i32, ptr @MIREGADR, align 4, !tbaa !5
%5 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2
%6 = load i32, ptr @MICMD, align 4, !tbaa !5
%7 = load i32, ptr @MICMD_MIIRD, align 4, !tbaa !5
%8 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = tail call i32 @wait_phy_ready(ptr noundef %0) #2
%10 = load i32, ptr @MICMD, align 4, !tbaa !5
%11 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @MIRDL, align 4, !tbaa !5
%13 = tail call i32 @nolock_regw_read(ptr noundef %0, i32 noundef %12) #2
%14 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %13
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nolock_regb_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_phy_ready(ptr noundef) local_unnamed_addr #1
declare i32 @nolock_regw_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_enc28j60_phy_read.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/extr_enc28j60.c_enc28j60_phy_read.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MIREGADR = common local_unnamed_addr global i32 0, align 4
@MICMD = common local_unnamed_addr global i32 0, align 4
@MICMD_MIIRD = common local_unnamed_addr global i32 0, align 4
@MIRDL = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @enc28j60_phy_read], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @enc28j60_phy_read(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @mutex_lock(ptr noundef %0) #2
%4 = load i32, ptr @MIREGADR, align 4, !tbaa !6
%5 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %4, i32 noundef %1) #2
%6 = load i32, ptr @MICMD, align 4, !tbaa !6
%7 = load i32, ptr @MICMD_MIIRD, align 4, !tbaa !6
%8 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %6, i32 noundef %7) #2
%9 = tail call i32 @wait_phy_ready(ptr noundef %0) #2
%10 = load i32, ptr @MICMD, align 4, !tbaa !6
%11 = tail call i32 @nolock_regb_write(ptr noundef %0, i32 noundef %10, i32 noundef 0) #2
%12 = load i32, ptr @MIRDL, align 4, !tbaa !6
%13 = tail call i32 @nolock_regw_read(ptr noundef %0, i32 noundef %12) #2
%14 = tail call i32 @mutex_unlock(ptr noundef %0) #2
ret i32 %13
}
declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1
declare i32 @nolock_regb_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @wait_phy_ready(ptr noundef) local_unnamed_addr #1
declare i32 @nolock_regw_read(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_extr_enc28j60.c_enc28j60_phy_read |
; ModuleID = 'AnghaBench/freebsd/usr.bin/dc/extr_inout.c_src_setstring.c'
source_filename = "AnghaBench/freebsd/usr.bin/dc/extr_inout.c_src_setstring.c"
target datalayout = "e-m:e-p270:32:32-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.source = type { ptr, %struct.TYPE_4__ }
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64, ptr }
@string_vtable = dso_local global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable
define dso_local void @src_setstring(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds %struct.source, ptr %0, i64 0, i32 1
%4 = getelementptr inbounds %struct.source, ptr %0, i64 0, i32 1, i32 0, i32 1
store ptr %1, ptr %4, align 8, !tbaa !5
store i64 0, ptr %3, align 8, !tbaa !13
store ptr @string_vtable, ptr %0, align 8, !tbaa !14
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 16}
!6 = !{!"source", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_4__", !11, i64 0}
!11 = !{!"TYPE_3__", !12, i64 0, !7, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !12, i64 8}
!14 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/freebsd/usr.bin/dc/extr_inout.c_src_setstring.c'
source_filename = "AnghaBench/freebsd/usr.bin/dc/extr_inout.c_src_setstring.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@string_vtable = common global i32 0, align 4
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync)
define void @src_setstring(ptr nocapture noundef writeonly %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = getelementptr inbounds i8, ptr %0, i64 8
%4 = getelementptr inbounds i8, ptr %0, i64 16
store ptr %1, ptr %4, align 8, !tbaa !6
store i64 0, ptr %3, align 8, !tbaa !14
store ptr @string_vtable, ptr %0, align 8, !tbaa !15
ret void
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 16}
!7 = !{!"source", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_4__", !12, i64 0}
!12 = !{!"TYPE_3__", !13, i64 0, !8, i64 8}
!13 = !{!"long", !9, i64 0}
!14 = !{!7, !13, i64 8}
!15 = !{!7, !8, i64 0}
| freebsd_usr.bin_dc_extr_inout.c_src_setstring |
; ModuleID = 'AnghaBench/linux/net/sched/extr_sch_qfq.c_qfq_round_down.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_qfq.c_qfq_round_down.c"
target datalayout = "e-m:e-p270:32:32-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 @qfq_round_down], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define internal i64 @qfq_round_down(i64 noundef %0, i32 noundef %1) #0 {
%3 = zext nneg i32 %1 to i64
%4 = shl nsw i64 -1, %3
%5 = and i64 %4, %0
ret i64 %5
}
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/net/sched/extr_sch_qfq.c_qfq_round_down.c'
source_filename = "AnghaBench/linux/net/sched/extr_sch_qfq.c_qfq_round_down.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 @qfq_round_down], section "llvm.metadata"
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync)
define internal i64 @qfq_round_down(i64 noundef %0, i32 noundef %1) #0 {
%3 = zext nneg i32 %1 to i64
%4 = shl nsw i64 -1, %3
%5 = and i64 %4, %0
ret i64 %5
}
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_net_sched_extr_sch_qfq.c_qfq_round_down |
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ufs/extr_dir.c_ufs_next_entry.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ufs/extr_dir.c_ufs_next_entry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @ufs_next_entry], section "llvm.metadata"
; Function Attrs: inlinehint nounwind uwtable
define internal ptr @ufs_next_entry(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !5
%4 = tail call i32 @fs16_to_cpu(ptr noundef %0, i32 noundef %3) #2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %1, i64 %5
ret ptr %6
}
declare i32 @fs16_to_cpu(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"ufs_dir_entry", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ufs/extr_dir.c_ufs_next_entry.c'
source_filename = "AnghaBench/fastsocket/kernel/fs/ufs/extr_dir.c_ufs_next_entry.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 @ufs_next_entry], section "llvm.metadata"
; Function Attrs: inlinehint nounwind ssp uwtable(sync)
define internal ptr @ufs_next_entry(ptr noundef %0, ptr noundef readonly %1) #0 {
%3 = load i32, ptr %1, align 4, !tbaa !6
%4 = tail call i32 @fs16_to_cpu(ptr noundef %0, i32 noundef %3) #2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds i8, ptr %1, i64 %5
ret ptr %6
}
declare i32 @fs16_to_cpu(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"ufs_dir_entry", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_fs_ufs_extr_dir.c_ufs_next_entry |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_82571.c_e1000_acquire_nvm_82571.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_82571.c_e1000_acquire_nvm_82571.c"
target datalayout = "e-m:e-p270:32:32-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 @e1000_acquire_nvm_82571], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i64 @e1000_acquire_nvm_82571(ptr noundef %0) #0 {
%2 = tail call i64 @e1000_get_hw_semaphore_82571(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %1
%5 = load i32, ptr %0, align 4, !tbaa !5
%6 = icmp eq i32 %5, 128
br i1 %6, label %12, label %7
7: ; preds = %4
%8 = tail call i64 @e1000e_acquire_nvm(ptr noundef nonnull %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @e1000_put_hw_semaphore_82571(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %4, %7, %10, %1
%13 = phi i64 [ %2, %1 ], [ %8, %10 ], [ 0, %7 ], [ 0, %4 ]
ret i64 %13
}
declare i64 @e1000_get_hw_semaphore_82571(ptr noundef) local_unnamed_addr #1
declare i64 @e1000e_acquire_nvm(ptr noundef) local_unnamed_addr #1
declare i32 @e1000_put_hw_semaphore_82571(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !8, i64 0}
!6 = !{!"e1000_hw", !7, i64 0}
!7 = !{!"TYPE_2__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_82571.c_e1000_acquire_nvm_82571.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/e1000e/extr_82571.c_e1000_acquire_nvm_82571.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 @e1000_acquire_nvm_82571], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i64 @e1000_acquire_nvm_82571(ptr noundef %0) #0 {
%2 = tail call i64 @e1000_get_hw_semaphore_82571(ptr noundef %0) #2
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %12
4: ; preds = %1
%5 = load i32, ptr %0, align 4, !tbaa !6
%6 = icmp eq i32 %5, 128
br i1 %6, label %12, label %7
7: ; preds = %4
%8 = tail call i64 @e1000e_acquire_nvm(ptr noundef nonnull %0) #2
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @e1000_put_hw_semaphore_82571(ptr noundef nonnull %0) #2
br label %12
12: ; preds = %4, %7, %10, %1
%13 = phi i64 [ %2, %1 ], [ %8, %10 ], [ 0, %7 ], [ 0, %4 ]
ret i64 %13
}
declare i64 @e1000_get_hw_semaphore_82571(ptr noundef) local_unnamed_addr #1
declare i64 @e1000e_acquire_nvm(ptr noundef) local_unnamed_addr #1
declare i32 @e1000_put_hw_semaphore_82571(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !9, i64 0}
!7 = !{!"e1000_hw", !8, i64 0}
!8 = !{!"TYPE_2__", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_ethernet_intel_e1000e_extr_82571.c_e1000_acquire_nvm_82571 |
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_namespaces.c_nsinfo__mountns_enter.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_namespaces.c_nsinfo__mountns_enter.c"
target datalayout = "e-m:e-p270:32:32-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.nscookie = type { i32, i32, ptr }
%struct.nsinfo = type { ptr, i32 }
@PATH_MAX = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/proc/self/ns/mnt\00", align 1
@O_RDONLY = dso_local local_unnamed_addr global i32 0, align 4
@CLONE_NEWNS = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @nsinfo__mountns_enter(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = icmp eq ptr %1, null
br i1 %6, label %45, label %7
7: ; preds = %2
store i32 -1, ptr %1, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.nscookie, ptr %1, i64 0, i32 1
store i32 -1, ptr %8, align 4, !tbaa !12
%9 = icmp eq ptr %0, null
br i1 %9, label %45, label %10
10: ; preds = %7
%11 = getelementptr inbounds %struct.nsinfo, ptr %0, i64 0, i32 1
%12 = load i32, ptr %11, align 8, !tbaa !13
%13 = icmp eq i32 %12, 0
br i1 %13, label %45, label %14
14: ; preds = %10
%15 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%16 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %15, ptr noundef nonnull @.str) #2
%17 = load i32, ptr @PATH_MAX, align 4, !tbaa !5
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %45
19: ; preds = %14
%20 = call ptr (...) @get_current_dir_name() #2
%21 = icmp eq ptr %20, null
br i1 %21, label %45, label %22
22: ; preds = %19
%23 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%24 = call i32 @open(ptr noundef nonnull %5, i32 noundef %23) #2
%25 = icmp slt i32 %24, 0
br i1 %25, label %37, label %26
26: ; preds = %22
%27 = load ptr, ptr %0, align 8, !tbaa !15
%28 = load i32, ptr @O_RDONLY, align 4, !tbaa !5
%29 = call i32 @open(ptr noundef %27, i32 noundef %28) #2
%30 = icmp slt i32 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %26
%32 = load i32, ptr @CLONE_NEWNS, align 4, !tbaa !5
%33 = call i64 @setns(i32 noundef %29, i32 noundef %32) #2
%34 = icmp slt i64 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = getelementptr inbounds %struct.nscookie, ptr %1, i64 0, i32 2
store ptr %20, ptr %36, align 8, !tbaa !16
store i32 %24, ptr %1, align 8, !tbaa !9
store i32 %29, ptr %8, align 4, !tbaa !12
br label %45
37: ; preds = %22
%38 = call i32 @free(ptr noundef nonnull %20) #2
br label %45
39: ; preds = %26, %31
%40 = call i32 @free(ptr noundef nonnull %20) #2
%41 = call i32 @close(i32 noundef %24) #2
%42 = icmp sgt i32 %29, -1
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 @close(i32 noundef %29) #2
br label %45
45: ; preds = %37, %39, %43, %19, %14, %7, %10, %2, %35
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @get_current_dir_name(...) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @setns(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @close(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 = !{!"nscookie", !6, i64 0, !6, i64 4, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!14, !6, i64 8}
!14 = !{!"nsinfo", !11, i64 0, !6, i64 8}
!15 = !{!14, !11, i64 0}
!16 = !{!10, !11, i64 8}
| ; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_namespaces.c_nsinfo__mountns_enter.c'
source_filename = "AnghaBench/linux/tools/perf/util/extr_namespaces.c_nsinfo__mountns_enter.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@PATH_MAX = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/proc/self/ns/mnt\00", align 1
@O_RDONLY = common local_unnamed_addr global i32 0, align 4
@CLONE_NEWNS = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @nsinfo__mountns_enter(ptr noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
%3 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 1
%6 = icmp eq ptr %1, null
br i1 %6, label %45, label %7
7: ; preds = %2
%8 = getelementptr inbounds i8, ptr %1, i64 4
store <2 x i32> <i32 -1, i32 -1>, ptr %1, align 8, !tbaa !6
%9 = icmp eq ptr %0, null
br i1 %9, label %45, label %10
10: ; preds = %7
%11 = getelementptr inbounds i8, ptr %0, i64 8
%12 = load i32, ptr %11, align 8, !tbaa !10
%13 = icmp eq i32 %12, 0
br i1 %13, label %45, label %14
14: ; preds = %10
%15 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%16 = call i32 @snprintf(ptr noundef nonnull %5, i32 noundef %15, ptr noundef nonnull @.str) #2
%17 = load i32, ptr @PATH_MAX, align 4, !tbaa !6
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %45
19: ; preds = %14
%20 = call ptr @get_current_dir_name() #2
%21 = icmp eq ptr %20, null
br i1 %21, label %45, label %22
22: ; preds = %19
%23 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%24 = call i32 @open(ptr noundef nonnull %5, i32 noundef %23) #2
%25 = icmp slt i32 %24, 0
br i1 %25, label %37, label %26
26: ; preds = %22
%27 = load ptr, ptr %0, align 8, !tbaa !13
%28 = load i32, ptr @O_RDONLY, align 4, !tbaa !6
%29 = call i32 @open(ptr noundef %27, i32 noundef %28) #2
%30 = icmp slt i32 %29, 0
br i1 %30, label %39, label %31
31: ; preds = %26
%32 = load i32, ptr @CLONE_NEWNS, align 4, !tbaa !6
%33 = call i64 @setns(i32 noundef %29, i32 noundef %32) #2
%34 = icmp slt i64 %33, 0
br i1 %34, label %39, label %35
35: ; preds = %31
%36 = getelementptr inbounds i8, ptr %1, i64 8
store ptr %20, ptr %36, align 8, !tbaa !14
store i32 %24, ptr %1, align 8, !tbaa !16
store i32 %29, ptr %8, align 4, !tbaa !17
br label %45
37: ; preds = %22
%38 = call i32 @free(ptr noundef nonnull %20) #2
br label %45
39: ; preds = %26, %31
%40 = call i32 @free(ptr noundef nonnull %20) #2
%41 = call i32 @close(i32 noundef %24) #2
%42 = icmp sgt i32 %29, -1
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i32 @close(i32 noundef %29) #2
br label %45
45: ; preds = %37, %39, %43, %19, %14, %7, %10, %2, %35
ret void
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare ptr @get_current_dir_name(...) local_unnamed_addr #1
declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #1
declare i64 @setns(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @free(ptr noundef) local_unnamed_addr #1
declare i32 @close(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"nsinfo", !12, i64 0, !7, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!11, !12, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"nscookie", !7, i64 0, !7, i64 4, !12, i64 8}
!16 = !{!15, !7, i64 0}
!17 = !{!15, !7, i64 4}
| linux_tools_perf_util_extr_namespaces.c_nsinfo__mountns_enter |
; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_json.c_parse_json_string.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_json.c_parse_json_string.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"unterminated string\0A\00", align 1
@E_FAIL = dso_local local_unnamed_addr global i32 0, align 4
@E_OUTOFMEMORY = dso_local local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"unescape failed\0A\00", align 1
@S_OK = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @parse_json_string], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @parse_json_string(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !5
%5 = getelementptr inbounds i8, ptr %4, i64 1
store ptr %5, ptr %0, align 8, !tbaa !5
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
br label %6
6: ; preds = %18, %2
%7 = phi i64 [ 1, %2 ], [ %19, %18 ]
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = load i8, ptr %8, align 1, !tbaa !10
switch i8 %9, label %10 [
i8 0, label %20
i8 34, label %22
]
10: ; preds = %6
%11 = add nsw i64 %7, 1
%12 = getelementptr inbounds i8, ptr %4, i64 %11
store ptr %12, ptr %0, align 8, !tbaa !5
%13 = load i8, ptr %8, align 1, !tbaa !10
%14 = icmp eq i8 %13, 92
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = add nsw i64 %7, 2
%17 = getelementptr inbounds i8, ptr %4, i64 %16
store ptr %17, ptr %0, align 8, !tbaa !5
br label %18
18: ; preds = %15, %10
%19 = phi i64 [ %16, %15 ], [ %11, %10 ]
br label %6, !llvm.loop !11
20: ; preds = %6
%21 = tail call i32 @FIXME(ptr noundef nonnull @.str) #3
br label %41
22: ; preds = %6
%23 = add nsw i64 %7, -1
store i64 %23, ptr %3, align 8, !tbaa !13
%24 = tail call ptr @heap_alloc(i64 noundef %7) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %41, label %26
26: ; preds = %22
%27 = icmp eq i64 %7, 1
br i1 %27, label %30, label %28
28: ; preds = %26
%29 = tail call i32 @memcpy(ptr noundef nonnull %24, ptr noundef nonnull %5, i64 noundef %23) #3
br label %30
30: ; preds = %28, %26
%31 = call i32 @unescape(ptr noundef nonnull %24, ptr noundef nonnull %3) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = call i32 @FIXME(ptr noundef nonnull @.str.1) #3
%35 = call i32 @heap_free(ptr noundef nonnull %24) #3
br label %41
36: ; preds = %30
%37 = load i64, ptr %3, align 8, !tbaa !13
%38 = getelementptr inbounds i8, ptr %24, i64 %37
store i8 0, ptr %38, align 1, !tbaa !10
%39 = load ptr, ptr %0, align 8, !tbaa !5
%40 = getelementptr inbounds i8, ptr %39, i64 1
store ptr %40, ptr %0, align 8, !tbaa !5
store ptr %24, ptr %1, align 8, !tbaa !15
br label %41
41: ; preds = %22, %36, %33, %20
%42 = phi ptr [ @S_OK, %36 ], [ @E_FAIL, %33 ], [ @E_FAIL, %20 ], [ @E_OUTOFMEMORY, %22 ]
%43 = load i32, ptr %42, align 4, !tbaa !16
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FIXME(ptr noundef) local_unnamed_addr #2
declare ptr @heap_alloc(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @unescape(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @heap_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, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
| ; ModuleID = 'AnghaBench/reactos/dll/win32/jscript/extr_json.c_parse_json_string.c'
source_filename = "AnghaBench/reactos/dll/win32/jscript/extr_json.c_parse_json_string.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"unterminated string\0A\00", align 1
@E_FAIL = common local_unnamed_addr global i32 0, align 4
@E_OUTOFMEMORY = common local_unnamed_addr global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"unescape failed\0A\00", align 1
@S_OK = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @parse_json_string], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @parse_json_string(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) #0 {
%3 = alloca i64, align 8
%4 = load ptr, ptr %0, align 8, !tbaa !6
%5 = getelementptr inbounds i8, ptr %4, i64 1
store ptr %5, ptr %0, align 8, !tbaa !6
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
br label %6
6: ; preds = %18, %2
%7 = phi i64 [ 1, %2 ], [ %19, %18 ]
%8 = getelementptr inbounds i8, ptr %4, i64 %7
%9 = load i8, ptr %8, align 1, !tbaa !11
switch i8 %9, label %10 [
i8 0, label %20
i8 34, label %22
]
10: ; preds = %6
%11 = add nsw i64 %7, 1
%12 = getelementptr inbounds i8, ptr %4, i64 %11
store ptr %12, ptr %0, align 8, !tbaa !6
%13 = load i8, ptr %8, align 1, !tbaa !11
%14 = icmp eq i8 %13, 92
br i1 %14, label %15, label %18
15: ; preds = %10
%16 = add nsw i64 %7, 2
%17 = getelementptr inbounds i8, ptr %4, i64 %16
store ptr %17, ptr %0, align 8, !tbaa !6
br label %18
18: ; preds = %15, %10
%19 = phi i64 [ %16, %15 ], [ %11, %10 ]
br label %6, !llvm.loop !12
20: ; preds = %6
%21 = tail call i32 @FIXME(ptr noundef nonnull @.str) #3
br label %41
22: ; preds = %6
%23 = add nsw i64 %7, -1
store i64 %23, ptr %3, align 8, !tbaa !14
%24 = tail call ptr @heap_alloc(i64 noundef %7) #3
%25 = icmp eq ptr %24, null
br i1 %25, label %41, label %26
26: ; preds = %22
%27 = icmp eq i64 %7, 1
br i1 %27, label %30, label %28
28: ; preds = %26
%29 = tail call i32 @memcpy(ptr noundef nonnull %24, ptr noundef nonnull %5, i64 noundef %23) #3
br label %30
30: ; preds = %28, %26
%31 = call i32 @unescape(ptr noundef nonnull %24, ptr noundef nonnull %3) #3
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = call i32 @FIXME(ptr noundef nonnull @.str.1) #3
%35 = call i32 @heap_free(ptr noundef nonnull %24) #3
br label %41
36: ; preds = %30
%37 = load i64, ptr %3, align 8, !tbaa !14
%38 = getelementptr inbounds i8, ptr %24, i64 %37
store i8 0, ptr %38, align 1, !tbaa !11
%39 = load ptr, ptr %0, align 8, !tbaa !6
%40 = getelementptr inbounds i8, ptr %39, i64 1
store ptr %40, ptr %0, align 8, !tbaa !6
store ptr %24, ptr %1, align 8, !tbaa !16
br label %41
41: ; preds = %22, %36, %33, %20
%42 = phi ptr [ @S_OK, %36 ], [ @E_FAIL, %33 ], [ @E_FAIL, %20 ], [ @E_OUTOFMEMORY, %22 ]
%43 = load i32, ptr %42, align 4, !tbaa !17
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %43
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @FIXME(ptr noundef) local_unnamed_addr #2
declare ptr @heap_alloc(i64 noundef) local_unnamed_addr #2
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @unescape(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @heap_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, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!9, !9, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !9, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !9, i64 0}
| reactos_dll_win32_jscript_extr_json.c_parse_json_string |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_stex.c_stex_slave_destroy.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_stex.c_stex_slave_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 @stex_slave_destroy], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @stex_slave_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @scsi_deactivate_tcq(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @scsi_deactivate_tcq(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_stex.c_stex_slave_destroy.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_stex.c_stex_slave_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 @stex_slave_destroy], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @stex_slave_destroy(ptr noundef %0) #0 {
%2 = tail call i32 @scsi_deactivate_tcq(ptr noundef %0, i32 noundef 1) #2
ret void
}
declare i32 @scsi_deactivate_tcq(ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| fastsocket_kernel_drivers_scsi_extr_stex.c_stex_slave_destroy |
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_fetch_register.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_fetch_register.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@NUM_REGS = dso_local local_unnamed_addr global i32 0, align 4
@MAX_REGISTER_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@ARM_PC_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@RDP_CPU_READWRITE_MASK_PC = dso_local local_unnamed_addr global i32 0, align 4
@ARM_PS_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@RDP_CPU_READWRITE_MASK_CPSR = dso_local local_unnamed_addr global i32 0, align 4
@ARM_FPS_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@RDP_FPU_READWRITE_MASK_FPS = dso_local local_unnamed_addr global i32 0, align 4
@ARM_F0_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@ARM_F7_REGNUM = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Help me with fetch reg %d\0A\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @remote_rdp_fetch_register], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @remote_rdp_fetch_register(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, -1
br i1 %2, label %3, label %11
3: ; preds = %1
%4 = load i32, ptr @NUM_REGS, align 4, !tbaa !5
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %52
6: ; preds = %3, %6
%7 = phi i32 [ %8, %6 ], [ 0, %3 ]
tail call void @remote_rdp_fetch_register(i32 noundef %7)
%8 = add nuw nsw i32 %7, 1
%9 = load i32, ptr @NUM_REGS, align 4, !tbaa !5
%10 = icmp slt i32 %8, %9
br i1 %10, label %6, label %52, !llvm.loop !9
11: ; preds = %1
%12 = load i32, ptr @MAX_REGISTER_SIZE, align 4, !tbaa !5
%13 = zext i32 %12 to i64
%14 = tail call ptr @llvm.stacksave.p0()
%15 = alloca i8, i64 %13, align 16
%16 = icmp slt i32 %0, 15
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = shl nuw nsw i32 1, %0
%19 = call i32 @rdp_fetch_one_register(i32 noundef %18, ptr noundef nonnull %15) #3
br label %50
20: ; preds = %11
%21 = load i32, ptr @ARM_PC_REGNUM, align 4, !tbaa !5
%22 = icmp eq i32 %21, %0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @RDP_CPU_READWRITE_MASK_PC, align 4, !tbaa !5
%25 = call i32 @rdp_fetch_one_register(i32 noundef %24, ptr noundef nonnull %15) #3
br label %50
26: ; preds = %20
%27 = load i32, ptr @ARM_PS_REGNUM, align 4, !tbaa !5
%28 = icmp eq i32 %27, %0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr @RDP_CPU_READWRITE_MASK_CPSR, align 4, !tbaa !5
%31 = call i32 @rdp_fetch_one_register(i32 noundef %30, ptr noundef nonnull %15) #3
br label %50
32: ; preds = %26
%33 = load i32, ptr @ARM_FPS_REGNUM, align 4, !tbaa !5
%34 = icmp eq i32 %33, %0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr @RDP_FPU_READWRITE_MASK_FPS, align 4, !tbaa !5
%37 = call i32 @rdp_fetch_one_fpu_register(i32 noundef %36, ptr noundef nonnull %15) #3
br label %50
38: ; preds = %32
%39 = load i32, ptr @ARM_F0_REGNUM, align 4, !tbaa !5
%40 = icmp sgt i32 %39, %0
%41 = load i32, ptr @ARM_F7_REGNUM, align 4
%42 = icmp slt i32 %41, %0
%43 = select i1 %40, i1 true, i1 %42
br i1 %43, label %48, label %44
44: ; preds = %38
%45 = sub nsw i32 %0, %39
%46 = shl nuw i32 1, %45
%47 = call i32 @rdp_fetch_one_fpu_register(i32 noundef %46, ptr noundef nonnull %15) #3
br label %50
48: ; preds = %38
%49 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #3
br label %50
50: ; preds = %23, %35, %48, %44, %29, %17
%51 = call i32 @supply_register(i32 noundef %0, ptr noundef nonnull %15) #3
call void @llvm.stackrestore.p0(ptr %14)
br label %52
52: ; preds = %6, %3, %50
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1
declare i32 @rdp_fetch_one_register(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdp_fetch_one_fpu_register(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @supply_register(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_fetch_register.c'
source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-rdp.c_remote_rdp_fetch_register.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@NUM_REGS = common local_unnamed_addr global i32 0, align 4
@MAX_REGISTER_SIZE = common local_unnamed_addr global i32 0, align 4
@ARM_PC_REGNUM = common local_unnamed_addr global i32 0, align 4
@RDP_CPU_READWRITE_MASK_PC = common local_unnamed_addr global i32 0, align 4
@ARM_PS_REGNUM = common local_unnamed_addr global i32 0, align 4
@RDP_CPU_READWRITE_MASK_CPSR = common local_unnamed_addr global i32 0, align 4
@ARM_FPS_REGNUM = common local_unnamed_addr global i32 0, align 4
@RDP_FPU_READWRITE_MASK_FPS = common local_unnamed_addr global i32 0, align 4
@ARM_F0_REGNUM = common local_unnamed_addr global i32 0, align 4
@ARM_F7_REGNUM = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Help me with fetch reg %d\0A\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @remote_rdp_fetch_register], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @remote_rdp_fetch_register(i32 noundef %0) #0 {
%2 = icmp eq i32 %0, -1
br i1 %2, label %3, label %11
3: ; preds = %1
%4 = load i32, ptr @NUM_REGS, align 4, !tbaa !6
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %52
6: ; preds = %3, %6
%7 = phi i32 [ %8, %6 ], [ 0, %3 ]
tail call void @remote_rdp_fetch_register(i32 noundef %7)
%8 = add nuw nsw i32 %7, 1
%9 = load i32, ptr @NUM_REGS, align 4, !tbaa !6
%10 = icmp slt i32 %8, %9
br i1 %10, label %6, label %52, !llvm.loop !10
11: ; preds = %1
%12 = load i32, ptr @MAX_REGISTER_SIZE, align 4, !tbaa !6
%13 = zext i32 %12 to i64
%14 = tail call ptr @llvm.stacksave.p0()
%15 = alloca i8, i64 %13, align 1
%16 = icmp slt i32 %0, 15
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = shl nuw nsw i32 1, %0
%19 = call i32 @rdp_fetch_one_register(i32 noundef %18, ptr noundef nonnull %15) #3
br label %50
20: ; preds = %11
%21 = load i32, ptr @ARM_PC_REGNUM, align 4, !tbaa !6
%22 = icmp eq i32 %21, %0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr @RDP_CPU_READWRITE_MASK_PC, align 4, !tbaa !6
%25 = call i32 @rdp_fetch_one_register(i32 noundef %24, ptr noundef nonnull %15) #3
br label %50
26: ; preds = %20
%27 = load i32, ptr @ARM_PS_REGNUM, align 4, !tbaa !6
%28 = icmp eq i32 %27, %0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr @RDP_CPU_READWRITE_MASK_CPSR, align 4, !tbaa !6
%31 = call i32 @rdp_fetch_one_register(i32 noundef %30, ptr noundef nonnull %15) #3
br label %50
32: ; preds = %26
%33 = load i32, ptr @ARM_FPS_REGNUM, align 4, !tbaa !6
%34 = icmp eq i32 %33, %0
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr @RDP_FPU_READWRITE_MASK_FPS, align 4, !tbaa !6
%37 = call i32 @rdp_fetch_one_fpu_register(i32 noundef %36, ptr noundef nonnull %15) #3
br label %50
38: ; preds = %32
%39 = load i32, ptr @ARM_F0_REGNUM, align 4, !tbaa !6
%40 = icmp sgt i32 %39, %0
%41 = load i32, ptr @ARM_F7_REGNUM, align 4
%42 = icmp slt i32 %41, %0
%43 = select i1 %40, i1 true, i1 %42
br i1 %43, label %48, label %44
44: ; preds = %38
%45 = sub nsw i32 %0, %39
%46 = shl nuw i32 1, %45
%47 = call i32 @rdp_fetch_one_fpu_register(i32 noundef %46, ptr noundef nonnull %15) #3
br label %50
48: ; preds = %38
%49 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %0) #3
br label %50
50: ; preds = %23, %35, %48, %44, %29, %17
%51 = call i32 @supply_register(i32 noundef %0, ptr noundef nonnull %15) #3
call void @llvm.stackrestore.p0(ptr %14)
br label %52
52: ; preds = %6, %3, %50
ret void
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1
declare i32 @rdp_fetch_one_register(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @rdp_fetch_one_fpu_register(i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @supply_register(i32 noundef, ptr noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| freebsd_contrib_gdb_gdb_extr_remote-rdp.c_remote_rdp_fetch_register |
; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v01.c_FSE_read16.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v01.c_FSE_read16.c"
target datalayout = "e-m:e-p270:32:32-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 @FSE_read16], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @FSE_read16(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef %0, i32 noundef 4) #3
%4 = load i32, ptr %2, align 4, !tbaa !5
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %4
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v01.c_FSE_read16.c'
source_filename = "AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v01.c_FSE_read16.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 @FSE_read16], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @FSE_read16(ptr noundef %0) #0 {
%2 = alloca i32, align 4
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
%3 = call i32 @memcpy(ptr noundef nonnull %2, ptr noundef %0, i32 noundef 4) #3
%4 = load i32, ptr %2, align 4, !tbaa !6
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
ret i32 %4
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
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, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| freebsd_sys_contrib_zstd_lib_legacy_extr_zstd_v01.c_FSE_read16 |
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Operand_simm12b_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Operand_simm12b_encode.c"
target datalayout = "e-m:e-p270:32:32-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 @Operand_simm12b_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define internal noundef i32 @Operand_simm12b_encode(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !5
%3 = and i32 %2, 4095
store i32 %3, ptr %0, align 4, !tbaa !5
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Operand_simm12b_encode.c'
source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Operand_simm12b_encode.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 @Operand_simm12b_encode], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync)
define internal noundef i32 @Operand_simm12b_encode(ptr nocapture noundef %0) #0 {
%2 = load i32, ptr %0, align 4, !tbaa !6
%3 = and i32 %2, 4095
store i32 %3, ptr %0, align 4, !tbaa !6
ret i32 0
}
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Operand_simm12b_encode |
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/extr_trx.c_rtl8192cu_endpoint_mapping.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/extr_trx.c_rtl8192cu_endpoint_mapping.c"
target datalayout = "e-m:e-p270:32:32-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 @rtl8192cu_endpoint_mapping(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtl_priv(ptr noundef %0) #2
%3 = tail call ptr @rtl_hal(i32 noundef %2) #2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call i32 @IS_NORMAL_CHIP(i32 noundef %4) #2
%6 = tail call i64 @likely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @configvernoutep(ptr noundef %0) #2
br label %12
10: ; preds = %1
%11 = tail call i32 @configvertoutep(ptr noundef %0) #2
br label %12
12: ; preds = %10, %8
%13 = phi i32 [ %9, %8 ], [ %11, %10 ]
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = tail call i32 @_out_ep_mapping(ptr noundef %0) #2
br label %17
17: ; preds = %15, %12
%18 = phi i32 [ %13, %12 ], [ %16, %15 ]
ret i32 %18
}
declare ptr @rtl_hal(i32 noundef) local_unnamed_addr #1
declare i32 @rtl_priv(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @IS_NORMAL_CHIP(i32 noundef) local_unnamed_addr #1
declare i32 @configvernoutep(ptr noundef) local_unnamed_addr #1
declare i32 @configvertoutep(ptr noundef) local_unnamed_addr #1
declare i32 @_out_ep_mapping(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 = !{!"rtl_hal", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/extr_trx.c_rtl8192cu_endpoint_mapping.c'
source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/extr_trx.c_rtl8192cu_endpoint_mapping.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 @rtl8192cu_endpoint_mapping(ptr noundef %0) local_unnamed_addr #0 {
%2 = tail call i32 @rtl_priv(ptr noundef %0) #2
%3 = tail call ptr @rtl_hal(i32 noundef %2) #2
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call i32 @IS_NORMAL_CHIP(i32 noundef %4) #2
%6 = tail call i64 @likely(i32 noundef %5) #2
%7 = icmp eq i64 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = tail call i32 @configvernoutep(ptr noundef %0) #2
br label %12
10: ; preds = %1
%11 = tail call i32 @configvertoutep(ptr noundef %0) #2
br label %12
12: ; preds = %10, %8
%13 = phi i32 [ %9, %8 ], [ %11, %10 ]
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = tail call i32 @_out_ep_mapping(ptr noundef %0) #2
br label %17
17: ; preds = %15, %12
%18 = phi i32 [ %13, %12 ], [ %16, %15 ]
ret i32 %18
}
declare ptr @rtl_hal(i32 noundef) local_unnamed_addr #1
declare i32 @rtl_priv(ptr noundef) local_unnamed_addr #1
declare i64 @likely(i32 noundef) local_unnamed_addr #1
declare i32 @IS_NORMAL_CHIP(i32 noundef) local_unnamed_addr #1
declare i32 @configvernoutep(ptr noundef) local_unnamed_addr #1
declare i32 @configvertoutep(ptr noundef) local_unnamed_addr #1
declare i32 @_out_ep_mapping(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 = !{!"rtl_hal", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| linux_drivers_net_wireless_realtek_rtlwifi_rtl8192cu_extr_trx.c_rtl8192cu_endpoint_mapping |
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_wifi_monitor.c_packet_frame_subhex.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_wifi_monitor.c_packet_frame_subhex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@SNIFFER_BUF2_BUF_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @packet_frame_subhex], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @packet_frame_subhex(ptr noundef %0) #0 {
%2 = load i32, ptr @SNIFFER_BUF2_BUF_SIZE, align 4, !tbaa !5
%3 = tail call i32 @packet_subhex(ptr noundef %0, i32 noundef 4, i32 noundef %2) #2
ret i32 %3
}
declare i32 @packet_subhex(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/nodemcu-firmware/app/modules/extr_wifi_monitor.c_packet_frame_subhex.c'
source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_wifi_monitor.c_packet_frame_subhex.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SNIFFER_BUF2_BUF_SIZE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @packet_frame_subhex], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @packet_frame_subhex(ptr noundef %0) #0 {
%2 = load i32, ptr @SNIFFER_BUF2_BUF_SIZE, align 4, !tbaa !6
%3 = tail call i32 @packet_subhex(ptr noundef %0, i32 noundef 4, i32 noundef %2) #2
ret i32 %3
}
declare i32 @packet_subhex(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"}
| nodemcu-firmware_app_modules_extr_wifi_monitor.c_packet_frame_subhex |
; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_Cmd_ExecuteText.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_Cmd_ExecuteText.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@UI_CMD_EXECUTETEXT = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @trap_Cmd_ExecuteText(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @UI_CMD_EXECUTETEXT, align 4, !tbaa !5
%4 = tail call i32 @syscall(i32 noundef %3, i32 noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_Cmd_ExecuteText.c'
source_filename = "AnghaBench/Quake-III-Arena/code/ui/extr_ui_syscalls.c_trap_Cmd_ExecuteText.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@UI_CMD_EXECUTETEXT = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @trap_Cmd_ExecuteText(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @UI_CMD_EXECUTETEXT, align 4, !tbaa !6
%4 = tail call i32 @syscall(i32 noundef %3, i32 noundef %0, ptr noundef %1) #2
ret void
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| Quake-III-Arena_code_ui_extr_ui_syscalls.c_trap_Cmd_ExecuteText |
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mscms/extr_profile.c_MSCMS_basenameW.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/mscms/extr_profile.c_MSCMS_basenameW.c"
target datalayout = "e-m:e-p270:32:32-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 @MSCMS_basenameW], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @MSCMS_basenameW(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @lstrlenW(ptr noundef %0) #2
%4 = getelementptr i32, ptr %0, i64 -1
%5 = icmp sgt i32 %3, 0
br i1 %5, label %6, label %19
6: ; preds = %2
%7 = zext nneg i32 %3 to i64
br label %8
8: ; preds = %6, %14
%9 = phi i64 [ %7, %6 ], [ %15, %14 ]
%10 = getelementptr i32, ptr %4, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !5
%12 = tail call i32 @IS_SEPARATOR(i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = add nsw i64 %9, -1
%16 = icmp sgt i64 %9, 1
br i1 %16, label %8, label %19, !llvm.loop !9
17: ; preds = %8
%18 = trunc i64 %9 to i32
br label %19
19: ; preds = %14, %17, %2
%20 = phi i32 [ %3, %2 ], [ %18, %17 ], [ 0, %14 ]
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %0, i64 %21
%23 = tail call i32 @lstrcpyW(i32 noundef %1, ptr noundef %22) #2
ret void
}
declare i32 @lstrlenW(ptr noundef) local_unnamed_addr #1
declare i32 @IS_SEPARATOR(i32 noundef) local_unnamed_addr #1
declare i32 @lstrcpyW(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mscms/extr_profile.c_MSCMS_basenameW.c'
source_filename = "AnghaBench/reactos/modules/rostests/winetests/mscms/extr_profile.c_MSCMS_basenameW.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 @MSCMS_basenameW], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @MSCMS_basenameW(ptr noundef %0, i32 noundef %1) #0 {
%3 = tail call i32 @lstrlenW(ptr noundef %0) #2
%4 = getelementptr i8, ptr %0, i64 -4
%5 = icmp sgt i32 %3, 0
br i1 %5, label %6, label %19
6: ; preds = %2
%7 = zext nneg i32 %3 to i64
br label %8
8: ; preds = %6, %14
%9 = phi i64 [ %7, %6 ], [ %15, %14 ]
%10 = getelementptr i32, ptr %4, i64 %9
%11 = load i32, ptr %10, align 4, !tbaa !6
%12 = tail call i32 @IS_SEPARATOR(i32 noundef %11) #2
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %8
%15 = add nsw i64 %9, -1
%16 = icmp sgt i64 %9, 1
br i1 %16, label %8, label %19, !llvm.loop !10
17: ; preds = %8
%18 = trunc nuw nsw i64 %9 to i32
br label %19
19: ; preds = %14, %17, %2
%20 = phi i32 [ %3, %2 ], [ %18, %17 ], [ 0, %14 ]
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %0, i64 %21
%23 = tail call i32 @lstrcpyW(i32 noundef %1, ptr noundef %22) #2
ret void
}
declare i32 @lstrlenW(ptr noundef) local_unnamed_addr #1
declare i32 @IS_SEPARATOR(i32 noundef) local_unnamed_addr #1
declare i32 @lstrcpyW(i32 noundef, ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
| reactos_modules_rostests_winetests_mscms_extr_profile.c_MSCMS_basenameW |
; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_map.c__vm_map_init.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_map.c__vm_map_init.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i64, i64, i64, i64, ptr, i64, %struct.TYPE_4__, i32, i64, i32 }
%struct.TYPE_4__ = type { ptr, ptr, i32, ptr, ptr }
@MAP_ENTRY_HEADER = dso_local local_unnamed_addr global i32 0, align 4
@FALSE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @_vm_map_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable
define internal void @_vm_map_init(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6, i32 3
store ptr %5, ptr %6, align 8, !tbaa !5
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6, i32 4
store ptr %5, ptr %7, align 8, !tbaa !13
%8 = load i32, ptr @MAP_ENTRY_HEADER, align 4, !tbaa !14
%9 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6, i32 2
store i32 %8, ptr %9, align 8, !tbaa !15
%10 = load i32, ptr @FALSE, align 4, !tbaa !14
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 9
store i32 %10, ptr %11, align 8, !tbaa !16
%12 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 8
store i64 0, ptr %12, align 8, !tbaa !17
%13 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 7
store i32 %1, ptr %13, align 8, !tbaa !18
%14 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 6, i32 1
store ptr %2, ptr %14, align 8, !tbaa !19
store ptr %3, ptr %5, align 8, !tbaa !20
%15 = getelementptr inbounds %struct.TYPE_5__, ptr %0, i64 0, i32 1
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %15, i8 0, i64 40, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", 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 72}
!6 = !{!"TYPE_5__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !11, i64 48, !12, i64 88, !7, i64 96, !12, i64 104}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"TYPE_4__", !10, i64 0, !10, i64 8, !12, i64 16, !10, i64 24, !10, i64 32}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !10, i64 80}
!14 = !{!12, !12, i64 0}
!15 = !{!6, !12, i64 64}
!16 = !{!6, !12, i64 104}
!17 = !{!6, !7, i64 96}
!18 = !{!6, !12, i64 88}
!19 = !{!6, !10, i64 56}
!20 = !{!6, !10, i64 48}
| ; ModuleID = 'AnghaBench/freebsd/sys/vm/extr_vm_map.c__vm_map_init.c'
source_filename = "AnghaBench/freebsd/sys/vm/extr_vm_map.c__vm_map_init.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@MAP_ENTRY_HEADER = common local_unnamed_addr global i32 0, align 4
@FALSE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @_vm_map_init], section "llvm.metadata"
; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync)
define internal void @_vm_map_init(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = getelementptr inbounds i8, ptr %0, i64 48
%6 = getelementptr inbounds i8, ptr %0, i64 72
store ptr %5, ptr %6, align 8, !tbaa !6
%7 = getelementptr inbounds i8, ptr %0, i64 80
store ptr %5, ptr %7, align 8, !tbaa !14
%8 = load i32, ptr @MAP_ENTRY_HEADER, align 4, !tbaa !15
%9 = getelementptr inbounds i8, ptr %0, i64 64
store i32 %8, ptr %9, align 8, !tbaa !16
%10 = load i32, ptr @FALSE, align 4, !tbaa !15
%11 = getelementptr inbounds i8, ptr %0, i64 104
store i32 %10, ptr %11, align 8, !tbaa !17
%12 = getelementptr inbounds i8, ptr %0, i64 96
store i64 0, ptr %12, align 8, !tbaa !18
%13 = getelementptr inbounds i8, ptr %0, i64 88
store i32 %1, ptr %13, align 8, !tbaa !19
%14 = getelementptr inbounds i8, ptr %0, i64 56
store ptr %2, ptr %14, align 8, !tbaa !20
store ptr %3, ptr %5, align 8, !tbaa !21
%15 = getelementptr inbounds i8, ptr %0, i64 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %15, i8 0, i64 40, i1 false)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"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 72}
!7 = !{!"TYPE_5__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !8, i64 40, !12, i64 48, !13, i64 88, !8, i64 96, !13, i64 104}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"TYPE_4__", !11, i64 0, !11, i64 8, !13, i64 16, !11, i64 24, !11, i64 32}
!13 = !{!"int", !9, i64 0}
!14 = !{!7, !11, i64 80}
!15 = !{!13, !13, i64 0}
!16 = !{!7, !13, i64 64}
!17 = !{!7, !13, i64 104}
!18 = !{!7, !8, i64 96}
!19 = !{!7, !13, i64 88}
!20 = !{!7, !11, i64 56}
!21 = !{!7, !11, i64 48}
| freebsd_sys_vm_extr_vm_map.c__vm_map_init |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_rx.c_i1480u_rx_unlink_urbs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_rx.c_i1480u_rx_unlink_urbs.c"
target datalayout = "e-m:e-p270:32:32-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 }
@i1480u_RX_BUFS = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @i1480u_rx_unlink_urbs], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @i1480u_rx_unlink_urbs(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @i1480u_RX_BUFS, align 4, !tbaa !5
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1, %14
%5 = phi i32 [ %15, %14 ], [ %2, %1 ]
%6 = phi i64 [ %16, %14 ], [ 0, %1 ]
%7 = load ptr, ptr %0, align 8, !tbaa !9
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %6
%9 = load i64, ptr %8, align 8, !tbaa !12
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = tail call i32 @usb_unlink_urb(i64 noundef %9) #2
%13 = load i32, ptr @i1480u_RX_BUFS, align 4, !tbaa !5
br label %14
14: ; preds = %4, %11
%15 = phi i32 [ %5, %4 ], [ %13, %11 ]
%16 = add nuw nsw i64 %6, 1
%17 = sext i32 %15 to i64
%18 = icmp slt i64 %16, %17
br i1 %18, label %4, label %19, !llvm.loop !15
19: ; preds = %14, %1
ret void
}
declare i32 @usb_unlink_urb(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"i1480u", !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !14, i64 0}
!13 = !{!"TYPE_2__", !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_rx.c_i1480u_rx_unlink_urbs.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/uwb/i1480/i1480u-wlp/extr_rx.c_i1480u_rx_unlink_urbs.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 }
@i1480u_RX_BUFS = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @i1480u_rx_unlink_urbs], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @i1480u_rx_unlink_urbs(ptr nocapture noundef readonly %0) #0 {
%2 = load i32, ptr @i1480u_RX_BUFS, align 4, !tbaa !6
%3 = icmp sgt i32 %2, 0
br i1 %3, label %4, label %19
4: ; preds = %1, %14
%5 = phi i32 [ %15, %14 ], [ %2, %1 ]
%6 = phi i64 [ %16, %14 ], [ 0, %1 ]
%7 = load ptr, ptr %0, align 8, !tbaa !10
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %6
%9 = load i64, ptr %8, align 8, !tbaa !13
%10 = icmp eq i64 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = tail call i32 @usb_unlink_urb(i64 noundef %9) #2
%13 = load i32, ptr @i1480u_RX_BUFS, align 4, !tbaa !6
br label %14
14: ; preds = %4, %11
%15 = phi i32 [ %5, %4 ], [ %13, %11 ]
%16 = add nuw nsw i64 %6, 1
%17 = sext i32 %15 to i64
%18 = icmp slt i64 %16, %17
br i1 %18, label %4, label %19, !llvm.loop !16
19: ; preds = %14, %1
ret void
}
declare i32 @usb_unlink_urb(i64 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !12, i64 0}
!11 = !{!"i1480u", !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"TYPE_2__", !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
| fastsocket_kernel_drivers_uwb_i1480_i1480u-wlp_extr_rx.c_i1480u_rx_unlink_urbs |
; ModuleID = 'AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendCreateEnumStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendCreateEnumStmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_6__ = type { i32, i32 }
%struct.TYPE_5__ = type { i32, i32 }
@.str = private unnamed_addr constant [25 x i8] c"CREATE TYPE %s AS ENUM (\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c");\00", align 1
@llvm.compiler.used = appending global [1 x ptr] [ptr @AppendCreateEnumStmt], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @AppendCreateEnumStmt(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.TYPE_6__, ptr %1, i64 0, i32 1
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = tail call ptr @makeRangeVarFromNameList(i32 noundef %4) #2
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i64 0, i32 1
%7 = load i32, ptr %6, align 4, !tbaa !10
%8 = load i32, ptr %5, align 4, !tbaa !12
%9 = tail call ptr @quote_qualified_identifier(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 (i32, ptr, ...) @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str, ptr noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !13
%12 = tail call i32 @AppendStringList(i32 noundef %0, i32 noundef %11) #2
%13 = tail call i32 (i32, ptr, ...) @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str.1) #2
ret void
}
declare ptr @makeRangeVarFromNameList(i32 noundef) local_unnamed_addr #1
declare ptr @quote_qualified_identifier(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @appendStringInfo(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @AppendStringList(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 4}
!6 = !{!"TYPE_6__", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4}
!11 = !{!"TYPE_5__", !7, i64 0, !7, i64 4}
!12 = !{!11, !7, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendCreateEnumStmt.c'
source_filename = "AnghaBench/citus/src/backend/distributed/deparser/extr_deparse_type_stmts.c_AppendCreateEnumStmt.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 [25 x i8] c"CREATE TYPE %s AS ENUM (\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c");\00", align 1
@llvm.used = appending global [1 x ptr] [ptr @AppendCreateEnumStmt], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @AppendCreateEnumStmt(i32 noundef %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 4
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = tail call ptr @makeRangeVarFromNameList(i32 noundef %4) #2
%6 = getelementptr inbounds i8, ptr %5, i64 4
%7 = load i32, ptr %6, align 4, !tbaa !11
%8 = load i32, ptr %5, align 4, !tbaa !13
%9 = tail call ptr @quote_qualified_identifier(i32 noundef %7, i32 noundef %8) #2
%10 = tail call i32 (i32, ptr, ...) @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str, ptr noundef %9) #2
%11 = load i32, ptr %1, align 4, !tbaa !14
%12 = tail call i32 @AppendStringList(i32 noundef %0, i32 noundef %11) #2
%13 = tail call i32 (i32, ptr, ...) @appendStringInfo(i32 noundef %0, ptr noundef nonnull @.str.1) #2
ret void
}
declare ptr @makeRangeVarFromNameList(i32 noundef) local_unnamed_addr #1
declare ptr @quote_qualified_identifier(i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @appendStringInfo(i32 noundef, ptr noundef, ...) local_unnamed_addr #1
declare i32 @AppendStringList(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 4}
!7 = !{!"TYPE_6__", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 4}
!12 = !{!"TYPE_5__", !8, i64 0, !8, i64 4}
!13 = !{!12, !8, i64 0}
!14 = !{!7, !8, i64 0}
| citus_src_backend_distributed_deparser_extr_deparse_type_stmts.c_AppendCreateEnumStmt |
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_svn_skel__dup.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_svn_skel__dup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_5__ = type { i32, ptr, ptr, ptr, i64 }
; Function Attrs: nounwind uwtable
define dso_local ptr @svn_skel__dup(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @apr_pmemdup(ptr noundef %2, ptr noundef %0, i32 noundef 40) #2
%5 = icmp eq i32 %1, 0
br i1 %5, label %18, label %6
6: ; preds = %3
%7 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3
%8 = load ptr, ptr %7, align 8, !tbaa !5
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 4
%12 = load i64, ptr %11, align 8, !tbaa !12
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %4, align 8, !tbaa !13
%16 = tail call ptr @apr_pmemdup(ptr noundef %2, ptr noundef nonnull %8, i32 noundef %15) #2
store ptr %16, ptr %7, align 8, !tbaa !5
br label %18
17: ; preds = %10
store ptr null, ptr %7, align 8, !tbaa !5
store i32 0, ptr %4, align 8, !tbaa !13
br label %18
18: ; preds = %14, %17, %6, %3
%19 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2
%20 = load ptr, ptr %19, align 8, !tbaa !14
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %18
%23 = tail call ptr @svn_skel__dup(ptr noundef nonnull %20, i32 noundef %1, ptr noundef %2)
store ptr %23, ptr %19, align 8, !tbaa !14
br label %24
24: ; preds = %22, %18
%25 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1
%26 = load ptr, ptr %25, align 8, !tbaa !15
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %24, %29
ret ptr %4
29: ; preds = %24
%30 = tail call ptr @svn_skel__dup(ptr noundef nonnull %26, i32 noundef %1, ptr noundef %2)
store ptr %30, ptr %25, align 8, !tbaa !15
br label %28
}
declare ptr @apr_pmemdup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 32}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 16}
!15 = !{!6, !10, i64 8}
| ; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_svn_skel__dup.c'
source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_subr/extr_skel.c_svn_skel__dup.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_skel__dup(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
%4 = tail call ptr @apr_pmemdup(ptr noundef %2, ptr noundef %0, i32 noundef 40) #2
%5 = icmp eq i32 %1, 0
br i1 %5, label %18, label %6
6: ; preds = %3
%7 = getelementptr inbounds i8, ptr %4, i64 24
%8 = load ptr, ptr %7, align 8, !tbaa !6
%9 = icmp eq ptr %8, null
br i1 %9, label %18, label %10
10: ; preds = %6
%11 = getelementptr inbounds i8, ptr %4, i64 32
%12 = load i64, ptr %11, align 8, !tbaa !13
%13 = icmp eq i64 %12, 0
br i1 %13, label %17, label %14
14: ; preds = %10
%15 = load i32, ptr %4, align 8, !tbaa !14
%16 = tail call ptr @apr_pmemdup(ptr noundef %2, ptr noundef nonnull %8, i32 noundef %15) #2
store ptr %16, ptr %7, align 8, !tbaa !6
br label %18
17: ; preds = %10
store ptr null, ptr %7, align 8, !tbaa !6
store i32 0, ptr %4, align 8, !tbaa !14
br label %18
18: ; preds = %14, %17, %6, %3
%19 = getelementptr inbounds i8, ptr %4, i64 16
%20 = load ptr, ptr %19, align 8, !tbaa !15
%21 = icmp eq ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %18
%23 = tail call ptr @svn_skel__dup(ptr noundef nonnull %20, i32 noundef %1, ptr noundef %2)
store ptr %23, ptr %19, align 8, !tbaa !15
br label %24
24: ; preds = %22, %18
%25 = getelementptr inbounds i8, ptr %4, i64 8
%26 = load ptr, ptr %25, align 8, !tbaa !16
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %24, %29
ret ptr %4
29: ; preds = %24
%30 = tail call ptr @svn_skel__dup(ptr noundef nonnull %26, i32 noundef %1, ptr noundef %2)
store ptr %30, ptr %25, align 8, !tbaa !16
br label %28
}
declare ptr @apr_pmemdup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 24}
!7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!7, !12, i64 32}
!14 = !{!7, !8, i64 0}
!15 = !{!7, !11, i64 16}
!16 = !{!7, !11, i64 8}
| freebsd_contrib_subversion_subversion_libsvn_subr_extr_skel.c_svn_skel__dup |
; ModuleID = 'AnghaBench/linux/drivers/devfreq/extr_devfreq.c_devm_devfreq_notifier_release.c'
source_filename = "AnghaBench/linux/drivers/devfreq/extr_devfreq.c_devm_devfreq_notifier_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"
%struct.devfreq_notifier_devres = type { i32, i32, i32 }
@llvm.compiler.used = appending global [1 x ptr] [ptr @devm_devfreq_notifier_release], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @devm_devfreq_notifier_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds %struct.devfreq_notifier_devres, ptr %1, i64 0, i32 2
%4 = load i32, ptr %3, align 4, !tbaa !5
%5 = getelementptr inbounds %struct.devfreq_notifier_devres, ptr %1, i64 0, i32 1
%6 = load i32, ptr %5, align 4, !tbaa !10
%7 = load i32, ptr %1, align 4, !tbaa !11
%8 = tail call i32 @devfreq_unregister_notifier(i32 noundef %4, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @devfreq_unregister_notifier(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 8}
!6 = !{!"devfreq_notifier_devres", !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/linux/drivers/devfreq/extr_devfreq.c_devm_devfreq_notifier_release.c'
source_filename = "AnghaBench/linux/drivers/devfreq/extr_devfreq.c_devm_devfreq_notifier_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 @devm_devfreq_notifier_release], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @devm_devfreq_notifier_release(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 {
%3 = getelementptr inbounds i8, ptr %1, i64 8
%4 = load i32, ptr %3, align 4, !tbaa !6
%5 = getelementptr inbounds i8, ptr %1, i64 4
%6 = load i32, ptr %5, align 4, !tbaa !11
%7 = load i32, ptr %1, align 4, !tbaa !12
%8 = tail call i32 @devfreq_unregister_notifier(i32 noundef %4, i32 noundef %6, i32 noundef %7) #2
ret void
}
declare i32 @devfreq_unregister_notifier(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 8}
!7 = !{!"devfreq_notifier_devres", !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}
| linux_drivers_devfreq_extr_devfreq.c_devm_devfreq_notifier_release |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_dma.c_generate_cookie.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_dma.c_generate_cookie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@llvm.compiler.used = appending global [1 x ptr] [ptr @generate_cookie], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @generate_cookie(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !5
%4 = trunc i64 %3 to i32
%5 = shl i32 %4, 12
%6 = add i32 %5, 4096
%7 = and i32 %1, -4096
%8 = tail call i32 @B43_WARN_ON(i32 noundef %7) #2
%9 = or i32 %6, %1
ret i32 %9
}
declare i32 @B43_WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"b43_dmaring", !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_dma.c_generate_cookie.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_dma.c_generate_cookie.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 @generate_cookie], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @generate_cookie(ptr nocapture noundef readonly %0, i32 noundef %1) #0 {
%3 = load i64, ptr %0, align 8, !tbaa !6
%4 = trunc i64 %3 to i32
%5 = shl i32 %4, 12
%6 = add i32 %5, 4096
%7 = and i32 %1, -4096
%8 = tail call i32 @B43_WARN_ON(i32 noundef %7) #2
%9 = or i32 %6, %1
ret i32 %9
}
declare i32 @B43_WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"b43_dmaring", !8, i64 0}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| fastsocket_kernel_drivers_net_wireless_b43_extr_dma.c_generate_cookie |
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson05/3/bl4ckout31/src/extr_irq.c_enable_interrupt_controller.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson05/3/bl4ckout31/src/extr_irq.c_enable_interrupt_controller.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TIMER_INT_CTRL_0 = dso_local local_unnamed_addr global i32 0, align 4
@TIMER_INT_CTRL_0_VALUE = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @enable_interrupt_controller() local_unnamed_addr #0 {
%1 = load i32, ptr @TIMER_INT_CTRL_0, align 4, !tbaa !5
%2 = load i32, ptr @TIMER_INT_CTRL_0_VALUE, align 4, !tbaa !5
%3 = tail call i32 @put32(i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @put32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson05/3/bl4ckout31/src/extr_irq.c_enable_interrupt_controller.c'
source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson05/3/bl4ckout31/src/extr_irq.c_enable_interrupt_controller.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TIMER_INT_CTRL_0 = common local_unnamed_addr global i32 0, align 4
@TIMER_INT_CTRL_0_VALUE = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @enable_interrupt_controller() local_unnamed_addr #0 {
%1 = load i32, ptr @TIMER_INT_CTRL_0, align 4, !tbaa !6
%2 = load i32, ptr @TIMER_INT_CTRL_0_VALUE, align 4, !tbaa !6
%3 = tail call i32 @put32(i32 noundef %1, i32 noundef %2) #2
ret void
}
declare i32 @put32(i32 noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| raspberry-pi-os_exercises_lesson05_3_bl4ckout31_src_extr_irq.c_enable_interrupt_controller |
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-ethtool.c_xlgmac_ethtool_get_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-ethtool.c_xlgmac_ethtool_get_strings.c"
target datalayout = "e-m:e-p270:32:32-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 }
@XLGMAC_STATS_COUNT = dso_local local_unnamed_addr global i32 0, align 4
@xlgmac_gstring_stats = dso_local local_unnamed_addr global ptr null, align 8
@ETH_GSTRING_LEN = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @xlgmac_ethtool_get_strings], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @xlgmac_ethtool_get_strings(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = icmp eq i32 %1, 128
br i1 %4, label %5, label %25
5: ; preds = %3
%6 = load i32, ptr @XLGMAC_STATS_COUNT, align 4, !tbaa !5
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !5
br label %10
10: ; preds = %8, %10
%11 = phi i32 [ %9, %8 ], [ %18, %10 ]
%12 = phi i64 [ 0, %8 ], [ %21, %10 ]
%13 = phi ptr [ %2, %8 ], [ %20, %10 ]
%14 = load ptr, ptr @xlgmac_gstring_stats, align 8, !tbaa !9
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %12
%16 = load i32, ptr %15, align 4, !tbaa !11
%17 = tail call i32 @memcpy(ptr noundef %13, i32 noundef %16, i32 noundef %11) #2
%18 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !5
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %13, i64 %19
%21 = add nuw nsw i64 %12, 1
%22 = load i32, ptr @XLGMAC_STATS_COUNT, align 4, !tbaa !5
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %10, label %27, !llvm.loop !13
25: ; preds = %3
%26 = tail call i32 @WARN_ON(i32 noundef 1) #2
br label %27
27: ; preds = %10, %5, %25
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"TYPE_2__", !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-ethtool.c_xlgmac_ethtool_get_strings.c'
source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-ethtool.c_xlgmac_ethtool_get_strings.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 }
@XLGMAC_STATS_COUNT = common local_unnamed_addr global i32 0, align 4
@xlgmac_gstring_stats = common local_unnamed_addr global ptr null, align 8
@ETH_GSTRING_LEN = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @xlgmac_ethtool_get_strings], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @xlgmac_ethtool_get_strings(ptr nocapture readnone %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = icmp eq i32 %1, 128
br i1 %4, label %5, label %25
5: ; preds = %3
%6 = load i32, ptr @XLGMAC_STATS_COUNT, align 4, !tbaa !6
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !6
br label %10
10: ; preds = %8, %10
%11 = phi i32 [ %9, %8 ], [ %18, %10 ]
%12 = phi i64 [ 0, %8 ], [ %21, %10 ]
%13 = phi ptr [ %2, %8 ], [ %20, %10 ]
%14 = load ptr, ptr @xlgmac_gstring_stats, align 8, !tbaa !10
%15 = getelementptr inbounds %struct.TYPE_2__, ptr %14, i64 %12
%16 = load i32, ptr %15, align 4, !tbaa !12
%17 = tail call i32 @memcpy(ptr noundef %13, i32 noundef %16, i32 noundef %11) #2
%18 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !6
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %13, i64 %19
%21 = add nuw nsw i64 %12, 1
%22 = load i32, ptr @XLGMAC_STATS_COUNT, align 4, !tbaa !6
%23 = sext i32 %22 to i64
%24 = icmp slt i64 %21, %23
br i1 %24, label %10, label %27, !llvm.loop !14
25: ; preds = %3
%26 = tail call i32 @WARN_ON(i32 noundef 1) #2
br label %27
27: ; preds = %10, %5, %25
ret void
}
declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"TYPE_2__", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
| linux_drivers_net_ethernet_synopsys_extr_dwc-xlgmac-ethtool.c_xlgmac_ethtool_get_strings |
; ModuleID = 'AnghaBench/vlc/src/preparser/extr_art.c_ArtCachePath.c'
source_filename = "AnghaBench/vlc/src/preparser/extr_art.c_ArtCachePath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_3__ = type { ptr, i32, i64 }
@vlc_meta_Artist = dso_local local_unnamed_addr global i32 0, align 4
@vlc_meta_Album = dso_local local_unnamed_addr global i32 0, align 4
@vlc_meta_ArtworkURL = dso_local local_unnamed_addr global i32 0, align 4
@vlc_meta_Title = dso_local local_unnamed_addr global i32 0, align 4
@vlc_meta_Date = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @ArtCachePath], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal ptr @ArtCachePath(ptr noundef %0) #0 {
%2 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1
%3 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2
%5 = load i64, ptr %4, align 8, !tbaa !5
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = tail call i64 (...) @vlc_meta_New() #2
store i64 %8, ptr %4, align 8, !tbaa !5
%9 = icmp eq i64 %8, 0
br i1 %9, label %42, label %10
10: ; preds = %1, %7
%11 = phi i64 [ %8, %7 ], [ %5, %1 ]
%12 = load i32, ptr @vlc_meta_Artist, align 4, !tbaa !12
%13 = tail call ptr @vlc_meta_Get(i64 noundef %11, i32 noundef %12) #2
%14 = load i64, ptr %4, align 8, !tbaa !5
%15 = load i32, ptr @vlc_meta_Album, align 4, !tbaa !12
%16 = tail call ptr @vlc_meta_Get(i64 noundef %14, i32 noundef %15) #2
%17 = load i64, ptr %4, align 8, !tbaa !5
%18 = load i32, ptr @vlc_meta_ArtworkURL, align 4, !tbaa !12
%19 = tail call ptr @vlc_meta_Get(i64 noundef %17, i32 noundef %18) #2
%20 = load i64, ptr %4, align 8, !tbaa !5
%21 = load i32, ptr @vlc_meta_Title, align 4, !tbaa !12
%22 = tail call ptr @vlc_meta_Get(i64 noundef %20, i32 noundef %21) #2
%23 = load i64, ptr %4, align 8, !tbaa !5
%24 = load i32, ptr @vlc_meta_Date, align 4, !tbaa !12
%25 = tail call ptr @vlc_meta_Get(i64 noundef %23, i32 noundef %24) #2
%26 = icmp eq ptr %22, null
br i1 %26, label %27, label %29
27: ; preds = %10
%28 = load ptr, ptr %0, align 8, !tbaa !13
br label %29
29: ; preds = %27, %10
%30 = phi ptr [ %22, %10 ], [ %28, %27 ]
%31 = tail call i64 @EMPTY_STR(ptr noundef %13) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = tail call i64 @EMPTY_STR(ptr noundef %16) #2
%35 = icmp eq i64 %34, 0
%36 = icmp ne ptr %19, null
%37 = select i1 %35, i1 true, i1 %36
br i1 %37, label %40, label %42
38: ; preds = %29
%39 = icmp eq ptr %19, null
br i1 %39, label %42, label %40
40: ; preds = %38, %33
%41 = tail call ptr @ArtCacheGetDirPath(ptr noundef %19, ptr noundef %13, ptr noundef %16, ptr noundef %25, ptr noundef %30) #2
br label %42
42: ; preds = %38, %33, %7, %40
%43 = phi ptr [ %41, %40 ], [ null, %38 ], [ null, %33 ], [ null, %7 ]
%44 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %2) #2
ret ptr %43
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @vlc_meta_New(...) local_unnamed_addr #1
declare ptr @vlc_meta_Get(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @EMPTY_STR(ptr noundef) local_unnamed_addr #1
declare ptr @ArtCacheGetDirPath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !11, i64 16}
!6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!10, !10, i64 0}
!13 = !{!6, !7, i64 0}
| ; ModuleID = 'AnghaBench/vlc/src/preparser/extr_art.c_ArtCachePath.c'
source_filename = "AnghaBench/vlc/src/preparser/extr_art.c_ArtCachePath.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@vlc_meta_Artist = common local_unnamed_addr global i32 0, align 4
@vlc_meta_Album = common local_unnamed_addr global i32 0, align 4
@vlc_meta_ArtworkURL = common local_unnamed_addr global i32 0, align 4
@vlc_meta_Title = common local_unnamed_addr global i32 0, align 4
@vlc_meta_Date = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @ArtCachePath], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal ptr @ArtCachePath(ptr noundef %0) #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = tail call i32 @vlc_mutex_lock(ptr noundef nonnull %2) #2
%4 = getelementptr inbounds i8, ptr %0, i64 16
%5 = load i64, ptr %4, align 8, !tbaa !6
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = tail call i64 @vlc_meta_New() #2
store i64 %8, ptr %4, align 8, !tbaa !6
%9 = icmp eq i64 %8, 0
br i1 %9, label %42, label %10
10: ; preds = %1, %7
%11 = phi i64 [ %8, %7 ], [ %5, %1 ]
%12 = load i32, ptr @vlc_meta_Artist, align 4, !tbaa !13
%13 = tail call ptr @vlc_meta_Get(i64 noundef %11, i32 noundef %12) #2
%14 = load i64, ptr %4, align 8, !tbaa !6
%15 = load i32, ptr @vlc_meta_Album, align 4, !tbaa !13
%16 = tail call ptr @vlc_meta_Get(i64 noundef %14, i32 noundef %15) #2
%17 = load i64, ptr %4, align 8, !tbaa !6
%18 = load i32, ptr @vlc_meta_ArtworkURL, align 4, !tbaa !13
%19 = tail call ptr @vlc_meta_Get(i64 noundef %17, i32 noundef %18) #2
%20 = load i64, ptr %4, align 8, !tbaa !6
%21 = load i32, ptr @vlc_meta_Title, align 4, !tbaa !13
%22 = tail call ptr @vlc_meta_Get(i64 noundef %20, i32 noundef %21) #2
%23 = load i64, ptr %4, align 8, !tbaa !6
%24 = load i32, ptr @vlc_meta_Date, align 4, !tbaa !13
%25 = tail call ptr @vlc_meta_Get(i64 noundef %23, i32 noundef %24) #2
%26 = icmp eq ptr %22, null
br i1 %26, label %27, label %29
27: ; preds = %10
%28 = load ptr, ptr %0, align 8, !tbaa !14
br label %29
29: ; preds = %27, %10
%30 = phi ptr [ %22, %10 ], [ %28, %27 ]
%31 = tail call i64 @EMPTY_STR(ptr noundef %13) #2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %29
%34 = tail call i64 @EMPTY_STR(ptr noundef %16) #2
%35 = icmp eq i64 %34, 0
%36 = icmp ne ptr %19, null
%37 = select i1 %35, i1 true, i1 %36
br i1 %37, label %40, label %42
38: ; preds = %29
%39 = icmp eq ptr %19, null
br i1 %39, label %42, label %40
40: ; preds = %38, %33
%41 = tail call ptr @ArtCacheGetDirPath(ptr noundef %19, ptr noundef %13, ptr noundef %16, ptr noundef %25, ptr noundef %30) #2
br label %42
42: ; preds = %38, %33, %7, %40
%43 = phi ptr [ %41, %40 ], [ null, %38 ], [ null, %33 ], [ null, %7 ]
%44 = tail call i32 @vlc_mutex_unlock(ptr noundef nonnull %2) #2
ret ptr %43
}
declare i32 @vlc_mutex_lock(ptr noundef) local_unnamed_addr #1
declare i64 @vlc_meta_New(...) local_unnamed_addr #1
declare ptr @vlc_meta_Get(i64 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @EMPTY_STR(ptr noundef) local_unnamed_addr #1
declare ptr @ArtCacheGetDirPath(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @vlc_mutex_unlock(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !12, i64 16}
!7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8, !12, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!7, !8, i64 0}
| vlc_src_preparser_extr_art.c_ArtCachePath |
; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_vnodeUtil.c_vnodeCreateFileHeaderFd.c'
source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_vnodeUtil.c_vnodeCreateFileHeaderFd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@TSDB_FILE_HEADER_LEN = dso_local local_unnamed_addr global i32 0, align 4
@vnodeFileVersion = dso_local local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"tsdb version: %s\0A\00", align 1
@version = dso_local local_unnamed_addr global ptr null, align 8
@SEEK_SET = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @vnodeCreateFileHeaderFd(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TSDB_FILE_HEADER_LEN, align 4, !tbaa !5
%3 = sdiv i32 %2, 4
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 16
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%7 = load i32, ptr @vnodeFileVersion, align 4, !tbaa !5
store i32 %7, ptr %5, align 16, !tbaa !5
%8 = getelementptr inbounds i8, ptr %5, i64 4
%9 = load ptr, ptr @version, align 8, !tbaa !9
%10 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, ptr noundef %9) #2
%11 = load i32, ptr @SEEK_SET, align 4, !tbaa !5
%12 = call i32 @lseek(i32 noundef %0, i32 noundef 0, i32 noundef %11) #2
%13 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%14 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%15 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%16 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%17 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%18 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @twrite(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
| ; ModuleID = 'AnghaBench/TDengine/src/system/detail/src/extr_vnodeUtil.c_vnodeCreateFileHeaderFd.c'
source_filename = "AnghaBench/TDengine/src/system/detail/src/extr_vnodeUtil.c_vnodeCreateFileHeaderFd.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@TSDB_FILE_HEADER_LEN = common local_unnamed_addr global i32 0, align 4
@vnodeFileVersion = common local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"tsdb version: %s\0A\00", align 1
@version = common local_unnamed_addr global ptr null, align 8
@SEEK_SET = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @vnodeCreateFileHeaderFd(i32 noundef %0) local_unnamed_addr #0 {
%2 = load i32, ptr @TSDB_FILE_HEADER_LEN, align 4, !tbaa !6
%3 = sdiv i32 %2, 4
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4, align 4
%6 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%7 = load i32, ptr @vnodeFileVersion, align 4, !tbaa !6
store i32 %7, ptr %5, align 4, !tbaa !6
%8 = getelementptr inbounds i8, ptr %5, i64 4
%9 = load ptr, ptr @version, align 8, !tbaa !10
%10 = call i32 @sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str, ptr noundef %9) #2
%11 = load i32, ptr @SEEK_SET, align 4, !tbaa !6
%12 = call i32 @lseek(i32 noundef %0, i32 noundef 0, i32 noundef %11) #2
%13 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%14 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%15 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%16 = call i32 @memset(ptr noundef nonnull %5, i32 noundef 0, i32 noundef %3) #2
%17 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
%18 = call i32 @twrite(i32 noundef %0, ptr noundef nonnull %5, i32 noundef %3) #2
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @twrite(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
| TDengine_src_system_detail_src_extr_vnodeUtil.c_vnodeCreateFileHeaderFd |
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_ani.c_ath5k_ani_mib_intr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_ani.c_ath5k_ani_mib_intr.c"
target datalayout = "e-m:e-p270:32:32-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.ath5k_hw = type { i32, %struct.ath5k_ani_state, %struct.TYPE_2__ }
%struct.ath5k_ani_state = type { i64, i64, i64 }
%struct.TYPE_2__ = type { i32 }
@AR5K_OFDM_FIL_CNT = dso_local local_unnamed_addr global i32 0, align 4
@AR5K_CCK_FIL_CNT = dso_local local_unnamed_addr global i32 0, align 4
@ATH5K_ANI_MODE_AUTO = dso_local local_unnamed_addr global i64 0, align 8
@ATH5K_ANI_OFDM_TRIG_HIGH = dso_local local_unnamed_addr global i64 0, align 8
@ATH5K_ANI_CCK_TRIG_HIGH = dso_local local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind uwtable
define dso_local void @ath5k_ani_mib_intr(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 1
%3 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 2
%4 = load i32, ptr %3, align 8, !tbaa !5
%5 = icmp eq i32 %4, 0
br i1 %5, label %29, label %6
6: ; preds = %1
%7 = load i32, ptr @AR5K_OFDM_FIL_CNT, align 4, !tbaa !13
%8 = tail call i32 @ath5k_hw_reg_write(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %7) #2
%9 = load i32, ptr @AR5K_CCK_FIL_CNT, align 4, !tbaa !13
%10 = tail call i32 @ath5k_hw_reg_write(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %9) #2
%11 = load i64, ptr %2, align 8, !tbaa !14
%12 = load i64, ptr @ATH5K_ANI_MODE_AUTO, align 8, !tbaa !15
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %6
%15 = tail call i64 @ath5k_ani_save_and_clear_phy_errors(ptr noundef nonnull %0, ptr noundef nonnull %2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %29, label %17
17: ; preds = %14
%18 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 1, i32 1
%19 = load i64, ptr %18, align 8, !tbaa !16
%20 = load i64, ptr @ATH5K_ANI_OFDM_TRIG_HIGH, align 8, !tbaa !15
%21 = icmp sgt i64 %19, %20
br i1 %21, label %27, label %22
22: ; preds = %17
%23 = getelementptr inbounds %struct.ath5k_hw, ptr %0, i64 0, i32 1, i32 2
%24 = load i64, ptr %23, align 8, !tbaa !17
%25 = load i64, ptr @ATH5K_ANI_CCK_TRIG_HIGH, align 8, !tbaa !15
%26 = icmp sgt i64 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %22, %17
%28 = tail call i32 @tasklet_schedule(ptr noundef nonnull %0) #2
br label %29
29: ; preds = %22, %27, %14, %6, %1
ret void
}
declare i32 @ath5k_hw_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ath5k_ani_save_and_clear_phy_errors(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(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 32}
!6 = !{!"ath5k_hw", !7, i64 0, !10, i64 8, !12, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"ath5k_ani_state", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !8, i64 0}
!12 = !{!"TYPE_2__", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !11, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 8}
!17 = !{!10, !11, i64 16}
| ; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_ani.c_ath5k_ani_mib_intr.c'
source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/ath5k/extr_ani.c_ath5k_ani_mib_intr.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@AR5K_OFDM_FIL_CNT = common local_unnamed_addr global i32 0, align 4
@AR5K_CCK_FIL_CNT = common local_unnamed_addr global i32 0, align 4
@ATH5K_ANI_MODE_AUTO = common local_unnamed_addr global i64 0, align 8
@ATH5K_ANI_OFDM_TRIG_HIGH = common local_unnamed_addr global i64 0, align 8
@ATH5K_ANI_CCK_TRIG_HIGH = common local_unnamed_addr global i64 0, align 8
; Function Attrs: nounwind ssp uwtable(sync)
define void @ath5k_ani_mib_intr(ptr noundef %0) local_unnamed_addr #0 {
%2 = getelementptr inbounds i8, ptr %0, i64 8
%3 = getelementptr inbounds i8, ptr %0, i64 32
%4 = load i32, ptr %3, align 8, !tbaa !6
%5 = icmp eq i32 %4, 0
br i1 %5, label %29, label %6
6: ; preds = %1
%7 = load i32, ptr @AR5K_OFDM_FIL_CNT, align 4, !tbaa !14
%8 = tail call i32 @ath5k_hw_reg_write(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %7) #2
%9 = load i32, ptr @AR5K_CCK_FIL_CNT, align 4, !tbaa !14
%10 = tail call i32 @ath5k_hw_reg_write(ptr noundef nonnull %0, i32 noundef 0, i32 noundef %9) #2
%11 = load i64, ptr %2, align 8, !tbaa !15
%12 = load i64, ptr @ATH5K_ANI_MODE_AUTO, align 8, !tbaa !16
%13 = icmp eq i64 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %6
%15 = tail call i64 @ath5k_ani_save_and_clear_phy_errors(ptr noundef nonnull %0, ptr noundef nonnull %2) #2
%16 = icmp eq i64 %15, 0
br i1 %16, label %29, label %17
17: ; preds = %14
%18 = getelementptr inbounds i8, ptr %0, i64 16
%19 = load i64, ptr %18, align 8, !tbaa !17
%20 = load i64, ptr @ATH5K_ANI_OFDM_TRIG_HIGH, align 8, !tbaa !16
%21 = icmp sgt i64 %19, %20
br i1 %21, label %27, label %22
22: ; preds = %17
%23 = getelementptr inbounds i8, ptr %0, i64 24
%24 = load i64, ptr %23, align 8, !tbaa !18
%25 = load i64, ptr @ATH5K_ANI_CCK_TRIG_HIGH, align 8, !tbaa !16
%26 = icmp sgt i64 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %22, %17
%28 = tail call i32 @tasklet_schedule(ptr noundef nonnull %0) #2
br label %29
29: ; preds = %22, %27, %14, %6, %1
ret void
}
declare i32 @ath5k_hw_reg_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i64 @ath5k_ani_save_and_clear_phy_errors(ptr noundef, ptr noundef) local_unnamed_addr #1
declare i32 @tasklet_schedule(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 32}
!7 = !{!"ath5k_hw", !8, i64 0, !11, i64 8, !13, i64 32}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"ath5k_ani_state", !12, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !9, i64 0}
!13 = !{!"TYPE_2__", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!7, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!11, !12, i64 8}
!18 = !{!11, !12, i64 16}
| fastsocket_kernel_drivers_net_wireless_ath_ath5k_extr_ani.c_ath5k_ani_mib_intr |
; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_inode.c_reiserfs_write_full_page.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_inode.c_reiserfs_write_full_page.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.reiserfs_transaction_handle = type { i64 }
%struct.page = type { i64, ptr }
%struct.inode = type { i64, i32, ptr }
%struct.super_block = type { i32, i64 }
%struct.buffer_head = type { i64, ptr }
@PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4
@current = dso_local local_unnamed_addr global ptr null, align 8
@PF_MEMALLOC = dso_local local_unnamed_addr global i32 0, align 4
@BH_Dirty = dso_local local_unnamed_addr global i32 0, align 4
@BH_Uptodate = dso_local local_unnamed_addr global i32 0, align 4
@WB_SYNC_NONE = dso_local local_unnamed_addr global i64 0, align 8
@REQ_OP_WRITE = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @reiserfs_write_full_page], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal i32 @reiserfs_write_full_page(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.reiserfs_transaction_handle, align 8
%4 = getelementptr inbounds %struct.page, ptr %0, i64 0, i32 1
%5 = load ptr, ptr %4, align 8, !tbaa !5
%6 = load ptr, ptr %5, align 8, !tbaa !11
%7 = load i64, ptr %6, align 8, !tbaa !13
%8 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !16
%9 = lshr i64 %7, %8
%10 = tail call i32 @PageChecked(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%11 = getelementptr inbounds %struct.inode, ptr %6, i64 0, i32 2
%12 = load ptr, ptr %11, align 8, !tbaa !17
%13 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !18
%14 = load i32, ptr %12, align 8, !tbaa !19
%15 = sdiv i32 %13, %14
store i64 0, ptr %3, align 8, !tbaa !21
%16 = icmp eq i32 %10, 0
br i1 %16, label %26, label %17
17: ; preds = %2
%18 = load ptr, ptr @current, align 8, !tbaa !23
%19 = load i32, ptr %18, align 4, !tbaa !24
%20 = load i32, ptr @PF_MEMALLOC, align 4, !tbaa !18
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = tail call i32 @redirty_page_for_writepage(ptr noundef %1, ptr noundef nonnull %0) #3
%25 = tail call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %243
26: ; preds = %17, %2
%27 = tail call i32 @page_has_buffers(ptr noundef nonnull %0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load i32, ptr %12, align 8, !tbaa !19
%31 = load i32, ptr @BH_Dirty, align 4, !tbaa !18
%32 = shl nuw i32 1, %31
%33 = load i32, ptr @BH_Uptodate, align 4, !tbaa !18
%34 = shl nuw i32 1, %33
%35 = or i32 %34, %32
%36 = tail call i32 @create_empty_buffers(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %35) #3
br label %37
37: ; preds = %29, %26
%38 = tail call ptr @page_buffers(ptr noundef nonnull %0) #3
%39 = load i64, ptr %0, align 8, !tbaa !26
%40 = icmp ult i64 %39, %9
br i1 %40, label %56, label %41
41: ; preds = %37
%42 = load i64, ptr %6, align 8, !tbaa !13
%43 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !18
%44 = add nsw i32 %43, -1
%45 = trunc i64 %42 to i32
%46 = and i32 %44, %45
%47 = add i64 %9, 1
%48 = icmp ult i64 %39, %47
%49 = icmp ne i32 %46, 0
%50 = select i1 %48, i1 %49, i1 false
br i1 %50, label %51, label %54
51: ; preds = %41
%52 = tail call i32 @zero_user_segment(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %43) #3
%53 = load i64, ptr %0, align 8, !tbaa !26
br label %56
54: ; preds = %41
%55 = tail call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %243
56: ; preds = %51, %37
%57 = phi i64 [ %53, %51 ], [ %39, %37 ]
%58 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !16
%59 = getelementptr inbounds %struct.super_block, ptr %12, i64 0, i32 1
%60 = load i64, ptr %59, align 8, !tbaa !27
%61 = sub i64 %58, %60
%62 = shl i64 %57, %61
%63 = tail call i32 @i_size_read(ptr noundef nonnull %6) #3
%64 = add nsw i32 %63, -1
%65 = getelementptr inbounds %struct.inode, ptr %6, i64 0, i32 1
%66 = load i32, ptr %65, align 8, !tbaa !28
%67 = ashr i32 %64, %66
%68 = sext i32 %67 to i64
br label %69
69: ; preds = %96, %56
%70 = phi ptr [ %38, %56 ], [ %97, %96 ]
%71 = phi i64 [ %62, %56 ], [ %98, %96 ]
%72 = icmp ugt i64 %71, %68
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = tail call i32 @clear_buffer_dirty(ptr noundef %70) #3
%75 = tail call i32 @set_buffer_uptodate(ptr noundef %70) #3
br label %92
76: ; preds = %69
br i1 %16, label %77, label %80
77: ; preds = %76
%78 = tail call i64 @buffer_dirty(ptr noundef %70) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %99, label %80
80: ; preds = %77, %76
%81 = tail call i64 @buffer_mapped(ptr noundef %70) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %80
%84 = tail call i64 @buffer_mapped(ptr noundef %70) #3
%85 = icmp eq i64 %84, 0
br i1 %85, label %92, label %86
86: ; preds = %83
%87 = load i64, ptr %70, align 8, !tbaa !29
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %86, %80
%90 = tail call i32 @map_block_for_writepage(ptr noundef nonnull %6, ptr noundef %70, i64 noundef %71) #3
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %198
92: ; preds = %83, %86, %89, %73
%93 = getelementptr inbounds %struct.buffer_head, ptr %70, i64 0, i32 1
%94 = load ptr, ptr %93, align 8, !tbaa !31
%95 = icmp eq ptr %94, %38
br i1 %95, label %103, label %96
96: ; preds = %92, %99
%97 = phi ptr [ %94, %92 ], [ %101, %99 ]
%98 = add i64 %71, 1
br label %69, !llvm.loop !32
99: ; preds = %77
%100 = getelementptr inbounds %struct.buffer_head, ptr %70, i64 0, i32 1
%101 = load ptr, ptr %100, align 8, !tbaa !31
%102 = icmp eq ptr %101, %38
br i1 %102, label %114, label %96
103: ; preds = %92
br i1 %16, label %114, label %104
104: ; preds = %103
%105 = tail call i32 @ClearPageChecked(ptr noundef nonnull %0) #3
%106 = tail call i32 @reiserfs_write_lock(ptr noundef nonnull %12) #3
%107 = add nsw i32 %15, 1
%108 = call i32 @journal_begin(ptr noundef nonnull %3, ptr noundef nonnull %12, i32 noundef %107) #3
%109 = icmp eq i32 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %104
%111 = call i32 @reiserfs_write_unlock(ptr noundef nonnull %12) #3
br label %198
112: ; preds = %104
%113 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %6) #3
br label %114
114: ; preds = %99, %112, %103
br label %115
115: ; preds = %149, %114
%116 = phi ptr [ %38, %114 ], [ %150, %149 ]
%117 = call i32 @get_bh(ptr noundef %116) #3
%118 = call i64 @buffer_mapped(ptr noundef %116) #3
%119 = icmp eq i64 %118, 0
br i1 %119, label %145, label %120
120: ; preds = %115
%121 = call i64 @buffer_mapped(ptr noundef %116) #3
%122 = icmp eq i64 %121, 0
br i1 %122, label %126, label %123
123: ; preds = %120
%124 = load i64, ptr %116, align 8, !tbaa !29
%125 = icmp eq i64 %124, 0
br i1 %125, label %145, label %126
126: ; preds = %123, %120
br i1 %16, label %127, label %151
127: ; preds = %126
%128 = load i64, ptr %1, align 8, !tbaa !34
%129 = load i64, ptr @WB_SYNC_NONE, align 8, !tbaa !16
%130 = icmp eq i64 %128, %129
br i1 %130, label %133, label %131
131: ; preds = %127
%132 = call i32 @lock_buffer(ptr noundef %116) #3
br label %138
133: ; preds = %127
%134 = call i32 @trylock_buffer(ptr noundef %116) #3
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %138
136: ; preds = %133
%137 = call i32 @redirty_page_for_writepage(ptr noundef nonnull %1, ptr noundef nonnull %0) #3
br label %145
138: ; preds = %133, %131
%139 = call i64 @test_clear_buffer_dirty(ptr noundef %116) #3
%140 = icmp eq i64 %139, 0
br i1 %140, label %143, label %141
141: ; preds = %138
%142 = call i32 @mark_buffer_async_write(ptr noundef %116) #3
br label %145
143: ; preds = %138
%144 = call i32 @unlock_buffer(ptr noundef %116) #3
br label %145
145: ; preds = %141, %143, %123, %115, %136
%146 = getelementptr inbounds %struct.buffer_head, ptr %116, i64 0, i32 1
%147 = load ptr, ptr %146, align 8, !tbaa !31
%148 = icmp eq ptr %147, %38
br i1 %148, label %157, label %149
149: ; preds = %145, %151
%150 = phi ptr [ %147, %145 ], [ %155, %151 ]
br label %115, !llvm.loop !36
151: ; preds = %126
%152 = call i32 @reiserfs_prepare_for_journal(ptr noundef nonnull %12, ptr noundef %116, i32 noundef 1) #3
%153 = call i32 @journal_mark_dirty(ptr noundef nonnull %3, ptr noundef %116) #3
%154 = getelementptr inbounds %struct.buffer_head, ptr %116, i64 0, i32 1
%155 = load ptr, ptr %154, align 8, !tbaa !31
%156 = icmp eq ptr %155, %38
br i1 %156, label %158, label %149
157: ; preds = %145
br i1 %16, label %162, label %158
158: ; preds = %151, %157
%159 = call i32 @journal_end(ptr noundef nonnull %3) #3
%160 = call i32 @reiserfs_write_unlock(ptr noundef nonnull %12) #3
%161 = icmp eq i32 %159, 0
br i1 %161, label %162, label %198
162: ; preds = %158, %157
%163 = call i32 @PageWriteback(ptr noundef nonnull %0) #3
%164 = call i32 @BUG_ON(i32 noundef %163) #3
%165 = call i32 @set_page_writeback(ptr noundef nonnull %0) #3
%166 = call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %167
167: ; preds = %178, %162
%168 = phi i32 [ 0, %162 ], [ %179, %178 ]
%169 = phi ptr [ %38, %162 ], [ %171, %178 ]
%170 = getelementptr inbounds %struct.buffer_head, ptr %169, i64 0, i32 1
%171 = load ptr, ptr %170, align 8, !tbaa !31
%172 = call i64 @buffer_async_write(ptr noundef %169) #3
%173 = icmp eq i64 %172, 0
br i1 %173, label %178, label %174
174: ; preds = %167
%175 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !18
%176 = call i32 @submit_bh(i32 noundef %175, i32 noundef 0, ptr noundef nonnull %169) #3
%177 = add nsw i32 %168, 1
br label %178
178: ; preds = %174, %167
%179 = phi i32 [ %177, %174 ], [ %168, %167 ]
%180 = call i32 @put_bh(ptr noundef nonnull %169) #3
%181 = icmp eq ptr %171, %38
br i1 %181, label %182, label %167, !llvm.loop !37
182: ; preds = %239, %178
%183 = phi i32 [ %179, %178 ], [ %240, %239 ]
%184 = phi i32 [ 0, %178 ], [ %199, %239 ]
%185 = icmp eq i32 %183, 0
br i1 %185, label %186, label %243
186: ; preds = %182, %190
%187 = phi ptr [ %192, %190 ], [ %38, %182 ]
%188 = call i32 @buffer_uptodate(ptr noundef %187) #3
%189 = icmp eq i32 %188, 0
br i1 %189, label %196, label %190
190: ; preds = %186
%191 = getelementptr inbounds %struct.buffer_head, ptr %187, i64 0, i32 1
%192 = load ptr, ptr %191, align 8, !tbaa !31
%193 = icmp eq ptr %192, %38
br i1 %193, label %194, label %186, !llvm.loop !38
194: ; preds = %190
%195 = call i32 @SetPageUptodate(ptr noundef nonnull %0) #3
br label %196
196: ; preds = %186, %194
%197 = call i32 @end_page_writeback(ptr noundef nonnull %0) #3
br label %243
198: ; preds = %89, %158, %110
%199 = phi i32 [ %108, %110 ], [ %159, %158 ], [ %90, %89 ]
%200 = call i32 @ClearPageUptodate(ptr noundef nonnull %0) #3
br label %201
201: ; preds = %217, %198
%202 = phi ptr [ %38, %198 ], [ %219, %217 ]
%203 = call i32 @get_bh(ptr noundef %202) #3
%204 = call i64 @buffer_mapped(ptr noundef %202) #3
%205 = icmp eq i64 %204, 0
br i1 %205, label %215, label %206
206: ; preds = %201
%207 = call i64 @buffer_dirty(ptr noundef %202) #3
%208 = icmp eq i64 %207, 0
br i1 %208, label %215, label %209
209: ; preds = %206
%210 = load i64, ptr %202, align 8, !tbaa !29
%211 = icmp eq i64 %210, 0
br i1 %211, label %215, label %212
212: ; preds = %209
%213 = call i32 @lock_buffer(ptr noundef nonnull %202) #3
%214 = call i32 @mark_buffer_async_write(ptr noundef nonnull %202) #3
br label %217
215: ; preds = %209, %206, %201
%216 = call i32 @clear_buffer_dirty(ptr noundef %202) #3
br label %217
217: ; preds = %215, %212
%218 = getelementptr inbounds %struct.buffer_head, ptr %202, i64 0, i32 1
%219 = load ptr, ptr %218, align 8, !tbaa !31
%220 = icmp eq ptr %219, %38
br i1 %220, label %221, label %201, !llvm.loop !39
221: ; preds = %217
%222 = call i32 @SetPageError(ptr noundef nonnull %0) #3
%223 = call i32 @PageWriteback(ptr noundef nonnull %0) #3
%224 = call i32 @BUG_ON(i32 noundef %223) #3
%225 = call i32 @set_page_writeback(ptr noundef nonnull %0) #3
%226 = call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %227
227: ; preds = %239, %221
%228 = phi i32 [ 0, %221 ], [ %240, %239 ]
%229 = phi ptr [ %38, %221 ], [ %231, %239 ]
%230 = getelementptr inbounds %struct.buffer_head, ptr %229, i64 0, i32 1
%231 = load ptr, ptr %230, align 8, !tbaa !31
%232 = call i64 @buffer_async_write(ptr noundef %229) #3
%233 = icmp eq i64 %232, 0
br i1 %233, label %239, label %234
234: ; preds = %227
%235 = call i32 @clear_buffer_dirty(ptr noundef nonnull %229) #3
%236 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !18
%237 = call i32 @submit_bh(i32 noundef %236, i32 noundef 0, ptr noundef nonnull %229) #3
%238 = add nsw i32 %228, 1
br label %239
239: ; preds = %234, %227
%240 = phi i32 [ %238, %234 ], [ %228, %227 ]
%241 = call i32 @put_bh(ptr noundef nonnull %229) #3
%242 = icmp eq ptr %231, %38
br i1 %242, label %182, label %227, !llvm.loop !40
243: ; preds = %54, %182, %196, %23
%244 = phi i32 [ 0, %23 ], [ 0, %54 ], [ %184, %196 ], [ %184, %182 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %244
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PageChecked(ptr noundef) local_unnamed_addr #2
declare i32 @redirty_page_for_writepage(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unlock_page(ptr noundef) local_unnamed_addr #2
declare i32 @page_has_buffers(ptr noundef) local_unnamed_addr #2
declare i32 @create_empty_buffers(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @page_buffers(ptr noundef) local_unnamed_addr #2
declare i32 @zero_user_segment(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @i_size_read(ptr noundef) local_unnamed_addr #2
declare i32 @clear_buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @set_buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_mapped(ptr noundef) local_unnamed_addr #2
declare i32 @map_block_for_writepage(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ClearPageChecked(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @journal_begin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_inode_transaction(ptr noundef) local_unnamed_addr #2
declare i32 @get_bh(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_prepare_for_journal(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @journal_mark_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @trylock_buffer(ptr noundef) local_unnamed_addr #2
declare i64 @test_clear_buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @mark_buffer_async_write(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @journal_end(ptr noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @PageWriteback(ptr noundef) local_unnamed_addr #2
declare i32 @set_page_writeback(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_async_write(ptr noundef) local_unnamed_addr #2
declare i32 @submit_bh(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @put_bh(ptr noundef) local_unnamed_addr #2
declare i32 @buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i32 @SetPageUptodate(ptr noundef) local_unnamed_addr #2
declare i32 @end_page_writeback(ptr noundef) local_unnamed_addr #2
declare i32 @ClearPageUptodate(ptr noundef) local_unnamed_addr #2
declare i32 @SetPageError(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"page", !7, i64 0, !10, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"TYPE_3__", !10, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"inode", !7, i64 0, !15, i64 8, !10, i64 16}
!15 = !{!"int", !8, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !10, i64 16}
!18 = !{!15, !15, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"super_block", !15, i64 0, !7, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"reiserfs_transaction_handle", !7, i64 0}
!23 = !{!10, !10, i64 0}
!24 = !{!25, !15, i64 0}
!25 = !{!"TYPE_4__", !15, i64 0}
!26 = !{!6, !7, i64 0}
!27 = !{!20, !7, i64 8}
!28 = !{!14, !15, i64 8}
!29 = !{!30, !7, i64 0}
!30 = !{!"buffer_head", !7, i64 0, !10, i64 8}
!31 = !{!30, !10, i64 8}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!35, !7, i64 0}
!35 = !{!"writeback_control", !7, i64 0}
!36 = distinct !{!36, !33}
!37 = distinct !{!37, !33}
!38 = distinct !{!38, !33}
!39 = distinct !{!39, !33}
!40 = distinct !{!40, !33}
| ; ModuleID = 'AnghaBench/linux/fs/reiserfs/extr_inode.c_reiserfs_write_full_page.c'
source_filename = "AnghaBench/linux/fs/reiserfs/extr_inode.c_reiserfs_write_full_page.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.reiserfs_transaction_handle = type { i64 }
@PAGE_SHIFT = common local_unnamed_addr global i64 0, align 8
@PAGE_SIZE = common local_unnamed_addr global i32 0, align 4
@current = common local_unnamed_addr global ptr null, align 8
@PF_MEMALLOC = common local_unnamed_addr global i32 0, align 4
@BH_Dirty = common local_unnamed_addr global i32 0, align 4
@BH_Uptodate = common local_unnamed_addr global i32 0, align 4
@WB_SYNC_NONE = common local_unnamed_addr global i64 0, align 8
@REQ_OP_WRITE = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @reiserfs_write_full_page], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal i32 @reiserfs_write_full_page(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca %struct.reiserfs_transaction_handle, align 8
%4 = getelementptr inbounds i8, ptr %0, i64 8
%5 = load ptr, ptr %4, align 8, !tbaa !6
%6 = load ptr, ptr %5, align 8, !tbaa !12
%7 = load i64, ptr %6, align 8, !tbaa !14
%8 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !17
%9 = lshr i64 %7, %8
%10 = tail call i32 @PageChecked(ptr noundef %0) #3
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
%11 = getelementptr inbounds i8, ptr %6, i64 16
%12 = load ptr, ptr %11, align 8, !tbaa !18
%13 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !19
%14 = load i32, ptr %12, align 8, !tbaa !20
%15 = sdiv i32 %13, %14
store i64 0, ptr %3, align 8, !tbaa !22
%16 = icmp eq i32 %10, 0
br i1 %16, label %26, label %17
17: ; preds = %2
%18 = load ptr, ptr @current, align 8, !tbaa !24
%19 = load i32, ptr %18, align 4, !tbaa !25
%20 = load i32, ptr @PF_MEMALLOC, align 4, !tbaa !19
%21 = and i32 %20, %19
%22 = icmp eq i32 %21, 0
br i1 %22, label %26, label %23
23: ; preds = %17
%24 = tail call i32 @redirty_page_for_writepage(ptr noundef %1, ptr noundef nonnull %0) #3
%25 = tail call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %246
26: ; preds = %17, %2
%27 = tail call i32 @page_has_buffers(ptr noundef nonnull %0) #3
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load i32, ptr %12, align 8, !tbaa !20
%31 = load i32, ptr @BH_Dirty, align 4, !tbaa !19
%32 = shl nuw i32 1, %31
%33 = load i32, ptr @BH_Uptodate, align 4, !tbaa !19
%34 = shl nuw i32 1, %33
%35 = or i32 %34, %32
%36 = tail call i32 @create_empty_buffers(ptr noundef nonnull %0, i32 noundef %30, i32 noundef %35) #3
br label %37
37: ; preds = %29, %26
%38 = tail call ptr @page_buffers(ptr noundef nonnull %0) #3
%39 = load i64, ptr %0, align 8, !tbaa !27
%40 = icmp ult i64 %39, %9
br i1 %40, label %56, label %41
41: ; preds = %37
%42 = load i64, ptr %6, align 8, !tbaa !14
%43 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !19
%44 = add nsw i32 %43, -1
%45 = trunc i64 %42 to i32
%46 = and i32 %44, %45
%47 = add i64 %9, 1
%48 = icmp ult i64 %39, %47
%49 = icmp ne i32 %46, 0
%50 = select i1 %48, i1 %49, i1 false
br i1 %50, label %51, label %54
51: ; preds = %41
%52 = tail call i32 @zero_user_segment(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %43) #3
%53 = load i64, ptr %0, align 8, !tbaa !27
br label %56
54: ; preds = %41
%55 = tail call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %246
56: ; preds = %51, %37
%57 = phi i64 [ %53, %51 ], [ %39, %37 ]
%58 = load i64, ptr @PAGE_SHIFT, align 8, !tbaa !17
%59 = getelementptr inbounds i8, ptr %12, i64 8
%60 = load i64, ptr %59, align 8, !tbaa !28
%61 = sub i64 %58, %60
%62 = shl i64 %57, %61
%63 = tail call i32 @i_size_read(ptr noundef nonnull %6) #3
%64 = add nsw i32 %63, -1
%65 = getelementptr inbounds i8, ptr %6, i64 8
%66 = load i32, ptr %65, align 8, !tbaa !29
%67 = ashr i32 %64, %66
%68 = sext i32 %67 to i64
br label %69
69: ; preds = %96, %56
%70 = phi ptr [ %38, %56 ], [ %97, %96 ]
%71 = phi i64 [ %62, %56 ], [ %98, %96 ]
%72 = icmp ugt i64 %71, %68
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = tail call i32 @clear_buffer_dirty(ptr noundef %70) #3
%75 = tail call i32 @set_buffer_uptodate(ptr noundef %70) #3
br label %92
76: ; preds = %69
br i1 %16, label %77, label %80
77: ; preds = %76
%78 = tail call i64 @buffer_dirty(ptr noundef %70) #3
%79 = icmp eq i64 %78, 0
br i1 %79, label %99, label %80
80: ; preds = %77, %76
%81 = tail call i64 @buffer_mapped(ptr noundef %70) #3
%82 = icmp eq i64 %81, 0
br i1 %82, label %89, label %83
83: ; preds = %80
%84 = tail call i64 @buffer_mapped(ptr noundef %70) #3
%85 = icmp eq i64 %84, 0
br i1 %85, label %92, label %86
86: ; preds = %83
%87 = load i64, ptr %70, align 8, !tbaa !30
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %92
89: ; preds = %86, %80
%90 = tail call i32 @map_block_for_writepage(ptr noundef nonnull %6, ptr noundef %70, i64 noundef %71) #3
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %201
92: ; preds = %83, %86, %89, %73
%93 = getelementptr inbounds i8, ptr %70, i64 8
%94 = load ptr, ptr %93, align 8, !tbaa !32
%95 = icmp eq ptr %94, %38
br i1 %95, label %103, label %96
96: ; preds = %92, %99
%97 = phi ptr [ %94, %92 ], [ %101, %99 ]
%98 = add i64 %71, 1
br label %69, !llvm.loop !33
99: ; preds = %77
%100 = getelementptr inbounds i8, ptr %70, i64 8
%101 = load ptr, ptr %100, align 8, !tbaa !32
%102 = icmp eq ptr %101, %38
br i1 %102, label %114, label %96
103: ; preds = %92
br i1 %16, label %114, label %104
104: ; preds = %103
%105 = tail call i32 @ClearPageChecked(ptr noundef nonnull %0) #3
%106 = tail call i32 @reiserfs_write_lock(ptr noundef nonnull %12) #3
%107 = add nsw i32 %15, 1
%108 = call i32 @journal_begin(ptr noundef nonnull %3, ptr noundef nonnull %12, i32 noundef %107) #3
%109 = icmp eq i32 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %104
%111 = call i32 @reiserfs_write_unlock(ptr noundef nonnull %12) #3
br label %201
112: ; preds = %104
%113 = call i32 @reiserfs_update_inode_transaction(ptr noundef nonnull %6) #3
br label %114
114: ; preds = %99, %112, %103
%115 = phi ptr [ %94, %103 ], [ %94, %112 ], [ %101, %99 ]
br label %116
116: ; preds = %150, %114
%117 = phi ptr [ %115, %114 ], [ %151, %150 ]
%118 = call i32 @get_bh(ptr noundef %117) #3
%119 = call i64 @buffer_mapped(ptr noundef %117) #3
%120 = icmp eq i64 %119, 0
br i1 %120, label %146, label %121
121: ; preds = %116
%122 = call i64 @buffer_mapped(ptr noundef %117) #3
%123 = icmp eq i64 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %121
%125 = load i64, ptr %117, align 8, !tbaa !30
%126 = icmp eq i64 %125, 0
br i1 %126, label %146, label %127
127: ; preds = %124, %121
br i1 %16, label %128, label %152
128: ; preds = %127
%129 = load i64, ptr %1, align 8, !tbaa !35
%130 = load i64, ptr @WB_SYNC_NONE, align 8, !tbaa !17
%131 = icmp eq i64 %129, %130
br i1 %131, label %134, label %132
132: ; preds = %128
%133 = call i32 @lock_buffer(ptr noundef %117) #3
br label %139
134: ; preds = %128
%135 = call i32 @trylock_buffer(ptr noundef %117) #3
%136 = icmp eq i32 %135, 0
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 @redirty_page_for_writepage(ptr noundef nonnull %1, ptr noundef nonnull %0) #3
br label %146
139: ; preds = %134, %132
%140 = call i64 @test_clear_buffer_dirty(ptr noundef %117) #3
%141 = icmp eq i64 %140, 0
br i1 %141, label %144, label %142
142: ; preds = %139
%143 = call i32 @mark_buffer_async_write(ptr noundef %117) #3
br label %146
144: ; preds = %139
%145 = call i32 @unlock_buffer(ptr noundef %117) #3
br label %146
146: ; preds = %142, %144, %124, %116, %137
%147 = getelementptr inbounds i8, ptr %117, i64 8
%148 = load ptr, ptr %147, align 8, !tbaa !32
%149 = icmp eq ptr %148, %38
br i1 %149, label %158, label %150
150: ; preds = %146, %152
%151 = phi ptr [ %148, %146 ], [ %156, %152 ]
br label %116, !llvm.loop !37
152: ; preds = %127
%153 = call i32 @reiserfs_prepare_for_journal(ptr noundef nonnull %12, ptr noundef %117, i32 noundef 1) #3
%154 = call i32 @journal_mark_dirty(ptr noundef nonnull %3, ptr noundef %117) #3
%155 = getelementptr inbounds i8, ptr %117, i64 8
%156 = load ptr, ptr %155, align 8, !tbaa !32
%157 = icmp eq ptr %156, %38
br i1 %157, label %159, label %150
158: ; preds = %146
br i1 %16, label %164, label %159
159: ; preds = %152, %158
%160 = phi ptr [ %148, %158 ], [ %156, %152 ]
%161 = call i32 @journal_end(ptr noundef nonnull %3) #3
%162 = call i32 @reiserfs_write_unlock(ptr noundef nonnull %12) #3
%163 = icmp eq i32 %161, 0
br i1 %163, label %164, label %201
164: ; preds = %159, %158
%165 = phi ptr [ %160, %159 ], [ %148, %158 ]
%166 = call i32 @PageWriteback(ptr noundef nonnull %0) #3
%167 = call i32 @BUG_ON(i32 noundef %166) #3
%168 = call i32 @set_page_writeback(ptr noundef nonnull %0) #3
%169 = call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %170
170: ; preds = %181, %164
%171 = phi i32 [ 0, %164 ], [ %182, %181 ]
%172 = phi ptr [ %165, %164 ], [ %174, %181 ]
%173 = getelementptr inbounds i8, ptr %172, i64 8
%174 = load ptr, ptr %173, align 8, !tbaa !32
%175 = call i64 @buffer_async_write(ptr noundef %172) #3
%176 = icmp eq i64 %175, 0
br i1 %176, label %181, label %177
177: ; preds = %170
%178 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !19
%179 = call i32 @submit_bh(i32 noundef %178, i32 noundef 0, ptr noundef nonnull %172) #3
%180 = add nsw i32 %171, 1
br label %181
181: ; preds = %177, %170
%182 = phi i32 [ %180, %177 ], [ %171, %170 ]
%183 = call i32 @put_bh(ptr noundef nonnull %172) #3
%184 = icmp eq ptr %174, %38
br i1 %184, label %185, label %170, !llvm.loop !38
185: ; preds = %242, %181
%186 = phi i32 [ %182, %181 ], [ %243, %242 ]
%187 = phi i32 [ 0, %181 ], [ %202, %242 ]
%188 = icmp eq i32 %186, 0
br i1 %188, label %189, label %246
189: ; preds = %185, %193
%190 = phi ptr [ %195, %193 ], [ %38, %185 ]
%191 = call i32 @buffer_uptodate(ptr noundef %190) #3
%192 = icmp eq i32 %191, 0
br i1 %192, label %199, label %193
193: ; preds = %189
%194 = getelementptr inbounds i8, ptr %190, i64 8
%195 = load ptr, ptr %194, align 8, !tbaa !32
%196 = icmp eq ptr %195, %38
br i1 %196, label %197, label %189, !llvm.loop !39
197: ; preds = %193
%198 = call i32 @SetPageUptodate(ptr noundef nonnull %0) #3
br label %199
199: ; preds = %189, %197
%200 = call i32 @end_page_writeback(ptr noundef nonnull %0) #3
br label %246
201: ; preds = %89, %159, %110
%202 = phi i32 [ %108, %110 ], [ %161, %159 ], [ %90, %89 ]
%203 = call i32 @ClearPageUptodate(ptr noundef nonnull %0) #3
br label %204
204: ; preds = %220, %201
%205 = phi ptr [ %38, %201 ], [ %222, %220 ]
%206 = call i32 @get_bh(ptr noundef %205) #3
%207 = call i64 @buffer_mapped(ptr noundef %205) #3
%208 = icmp eq i64 %207, 0
br i1 %208, label %218, label %209
209: ; preds = %204
%210 = call i64 @buffer_dirty(ptr noundef %205) #3
%211 = icmp eq i64 %210, 0
br i1 %211, label %218, label %212
212: ; preds = %209
%213 = load i64, ptr %205, align 8, !tbaa !30
%214 = icmp eq i64 %213, 0
br i1 %214, label %218, label %215
215: ; preds = %212
%216 = call i32 @lock_buffer(ptr noundef nonnull %205) #3
%217 = call i32 @mark_buffer_async_write(ptr noundef nonnull %205) #3
br label %220
218: ; preds = %212, %209, %204
%219 = call i32 @clear_buffer_dirty(ptr noundef %205) #3
br label %220
220: ; preds = %218, %215
%221 = getelementptr inbounds i8, ptr %205, i64 8
%222 = load ptr, ptr %221, align 8, !tbaa !32
%223 = icmp eq ptr %222, %38
br i1 %223, label %224, label %204, !llvm.loop !40
224: ; preds = %220
%225 = call i32 @SetPageError(ptr noundef nonnull %0) #3
%226 = call i32 @PageWriteback(ptr noundef nonnull %0) #3
%227 = call i32 @BUG_ON(i32 noundef %226) #3
%228 = call i32 @set_page_writeback(ptr noundef nonnull %0) #3
%229 = call i32 @unlock_page(ptr noundef nonnull %0) #3
br label %230
230: ; preds = %242, %224
%231 = phi i32 [ 0, %224 ], [ %243, %242 ]
%232 = phi ptr [ %222, %224 ], [ %234, %242 ]
%233 = getelementptr inbounds i8, ptr %232, i64 8
%234 = load ptr, ptr %233, align 8, !tbaa !32
%235 = call i64 @buffer_async_write(ptr noundef %232) #3
%236 = icmp eq i64 %235, 0
br i1 %236, label %242, label %237
237: ; preds = %230
%238 = call i32 @clear_buffer_dirty(ptr noundef nonnull %232) #3
%239 = load i32, ptr @REQ_OP_WRITE, align 4, !tbaa !19
%240 = call i32 @submit_bh(i32 noundef %239, i32 noundef 0, ptr noundef nonnull %232) #3
%241 = add nsw i32 %231, 1
br label %242
242: ; preds = %237, %230
%243 = phi i32 [ %241, %237 ], [ %231, %230 ]
%244 = call i32 @put_bh(ptr noundef nonnull %232) #3
%245 = icmp eq ptr %234, %38
br i1 %245, label %185, label %230, !llvm.loop !41
246: ; preds = %54, %185, %199, %23
%247 = phi i32 [ 0, %23 ], [ 0, %54 ], [ %187, %199 ], [ %187, %185 ]
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
ret i32 %247
}
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1
declare i32 @PageChecked(ptr noundef) local_unnamed_addr #2
declare i32 @redirty_page_for_writepage(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @unlock_page(ptr noundef) local_unnamed_addr #2
declare i32 @page_has_buffers(ptr noundef) local_unnamed_addr #2
declare i32 @create_empty_buffers(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
declare ptr @page_buffers(ptr noundef) local_unnamed_addr #2
declare i32 @zero_user_segment(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2
; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1
declare i32 @i_size_read(ptr noundef) local_unnamed_addr #2
declare i32 @clear_buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @set_buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_mapped(ptr noundef) local_unnamed_addr #2
declare i32 @map_block_for_writepage(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2
declare i32 @ClearPageChecked(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_lock(ptr noundef) local_unnamed_addr #2
declare i32 @journal_begin(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @reiserfs_write_unlock(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_update_inode_transaction(ptr noundef) local_unnamed_addr #2
declare i32 @get_bh(ptr noundef) local_unnamed_addr #2
declare i32 @reiserfs_prepare_for_journal(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2
declare i32 @journal_mark_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2
declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @trylock_buffer(ptr noundef) local_unnamed_addr #2
declare i64 @test_clear_buffer_dirty(ptr noundef) local_unnamed_addr #2
declare i32 @mark_buffer_async_write(ptr noundef) local_unnamed_addr #2
declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #2
declare i32 @journal_end(ptr noundef) local_unnamed_addr #2
declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2
declare i32 @PageWriteback(ptr noundef) local_unnamed_addr #2
declare i32 @set_page_writeback(ptr noundef) local_unnamed_addr #2
declare i64 @buffer_async_write(ptr noundef) local_unnamed_addr #2
declare i32 @submit_bh(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2
declare i32 @put_bh(ptr noundef) local_unnamed_addr #2
declare i32 @buffer_uptodate(ptr noundef) local_unnamed_addr #2
declare i32 @SetPageUptodate(ptr noundef) local_unnamed_addr #2
declare i32 @end_page_writeback(ptr noundef) local_unnamed_addr #2
declare i32 @ClearPageUptodate(ptr noundef) local_unnamed_addr #2
declare i32 @SetPageError(ptr noundef) local_unnamed_addr #2
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !11, i64 8}
!7 = !{!"page", !8, i64 0, !11, i64 8}
!8 = !{!"long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"TYPE_3__", !11, i64 0}
!14 = !{!15, !8, i64 0}
!15 = !{!"inode", !8, i64 0, !16, i64 8, !11, i64 16}
!16 = !{!"int", !9, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !11, i64 16}
!19 = !{!16, !16, i64 0}
!20 = !{!21, !16, i64 0}
!21 = !{!"super_block", !16, i64 0, !8, i64 8}
!22 = !{!23, !8, i64 0}
!23 = !{!"reiserfs_transaction_handle", !8, i64 0}
!24 = !{!11, !11, i64 0}
!25 = !{!26, !16, i64 0}
!26 = !{!"TYPE_4__", !16, i64 0}
!27 = !{!7, !8, i64 0}
!28 = !{!21, !8, i64 8}
!29 = !{!15, !16, i64 8}
!30 = !{!31, !8, i64 0}
!31 = !{!"buffer_head", !8, i64 0, !11, i64 8}
!32 = !{!31, !11, i64 8}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!36, !8, i64 0}
!36 = !{!"writeback_control", !8, i64 0}
!37 = distinct !{!37, !34}
!38 = distinct !{!38, !34}
!39 = distinct !{!39, !34}
!40 = distinct !{!40, !34}
!41 = distinct !{!41, !34}
| linux_fs_reiserfs_extr_inode.c_reiserfs_write_full_page |
; ModuleID = 'AnghaBench/mpv/demux/extr_demux.c_demux_cancel_and_free.c'
source_filename = "AnghaBench/mpv/demux/extr_demux.c_demux_cancel_and_free.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define dso_local void @demux_cancel_and_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !5
%5 = tail call i32 @mp_cancel_trigger(i32 noundef %4) #2
%6 = tail call i32 @demux_free(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @mp_cancel_trigger(i32 noundef) local_unnamed_addr #1
declare i32 @demux_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"demuxer", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
| ; ModuleID = 'AnghaBench/mpv/demux/extr_demux.c_demux_cancel_and_free.c'
source_filename = "AnghaBench/mpv/demux/extr_demux.c_demux_cancel_and_free.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
; Function Attrs: nounwind ssp uwtable(sync)
define void @demux_cancel_and_free(ptr noundef %0) local_unnamed_addr #0 {
%2 = icmp eq ptr %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = load i32, ptr %0, align 4, !tbaa !6
%5 = tail call i32 @mp_cancel_trigger(i32 noundef %4) #2
%6 = tail call i32 @demux_free(ptr noundef nonnull %0) #2
br label %7
7: ; preds = %1, %3
ret void
}
declare i32 @mp_cancel_trigger(i32 noundef) local_unnamed_addr #1
declare i32 @demux_free(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"demuxer", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
| mpv_demux_extr_demux.c_demux_cancel_and_free |
; ModuleID = 'AnghaBench/vlc/modules/codec/ttml/extr_imageupdater.h_TTML_ImageSpuUpdate.c'
source_filename = "AnghaBench/vlc/modules/codec/ttml/extr_imageupdater.h_TTML_ImageSpuUpdate.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.TYPE_23__ = type { ptr, %struct.TYPE_18__ }
%struct.TYPE_18__ = type { ptr }
%struct.TYPE_20__ = type { i32, i32 }
%struct.TYPE_22__ = type { i32, %struct.TYPE_19__, ptr, ptr }
%struct.TYPE_19__ = type { i32, i32 }
%struct.TYPE_24__ = type { i32, i32, i32, ptr, i32 }
@SUBPICTURE_ALIGN_LEFT = dso_local local_unnamed_addr global i32 0, align 4
@SUBPICTURE_ALIGN_TOP = dso_local local_unnamed_addr global i32 0, align 4
@ORIGIN_X_IS_RATIO = dso_local local_unnamed_addr global i32 0, align 4
@ORIGIN_Y_IS_RATIO = dso_local local_unnamed_addr global i32 0, align 4
@llvm.compiler.used = appending global [1 x ptr] [ptr @TTML_ImageSpuUpdate], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @TTML_ImageSpuUpdate(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @VLC_UNUSED(ptr noundef %1) #2
%6 = tail call i32 @VLC_UNUSED(ptr noundef %2) #2
%7 = tail call i32 @VLC_UNUSED(ptr noundef %3) #2
%8 = getelementptr inbounds %struct.TYPE_23__, ptr %0, i64 0, i32 1
%9 = load ptr, ptr %8, align 8, !tbaa !5
%10 = load ptr, ptr %9, align 8, !tbaa !11
%11 = icmp eq ptr %10, null
br i1 %11, label %61, label %12
12: ; preds = %4
%13 = getelementptr inbounds %struct.TYPE_20__, ptr %2, i64 0, i32 1
br label %14
14: ; preds = %12, %54
%15 = phi ptr [ %10, %12 ], [ %59, %54 ]
%16 = phi ptr [ %0, %12 ], [ %57, %54 ]
%17 = getelementptr inbounds %struct.TYPE_22__, ptr %15, i64 0, i32 2
%18 = load ptr, ptr %17, align 8, !tbaa !12
%19 = tail call ptr @subpicture_region_New(ptr noundef %18) #2
%20 = icmp eq ptr %19, null
br i1 %20, label %61, label %21
21: ; preds = %14
%22 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 4
%23 = load i32, ptr %22, align 8, !tbaa !16
%24 = tail call i32 @picture_Release(i32 noundef %23) #2
%25 = load ptr, ptr %17, align 8, !tbaa !12
%26 = tail call i32 @picture_Clone(ptr noundef %25) #2
store i32 %26, ptr %22, align 8, !tbaa !16
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = tail call i32 @subpicture_region_Delete(ptr noundef nonnull %19) #2
br label %61
30: ; preds = %21
%31 = load i32, ptr @SUBPICTURE_ALIGN_LEFT, align 4, !tbaa !18
%32 = load i32, ptr @SUBPICTURE_ALIGN_TOP, align 4, !tbaa !18
%33 = or i32 %32, %31
store i32 %33, ptr %19, align 8, !tbaa !19
%34 = load i32, ptr %15, align 8, !tbaa !20
%35 = load i32, ptr @ORIGIN_X_IS_RATIO, align 4, !tbaa !18
%36 = and i32 %35, %34
%37 = icmp eq i32 %36, 0
%38 = getelementptr inbounds %struct.TYPE_22__, ptr %15, i64 0, i32 1
%39 = load i32, ptr %38, align 4, !tbaa !21
br i1 %37, label %43, label %40
40: ; preds = %30
%41 = load i32, ptr %2, align 4, !tbaa !22
%42 = mul nsw i32 %41, %39
br label %43
43: ; preds = %30, %40
%44 = phi i32 [ %42, %40 ], [ %39, %30 ]
%45 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 1
store i32 %44, ptr %45, align 4
%46 = load i32, ptr @ORIGIN_Y_IS_RATIO, align 4, !tbaa !18
%47 = and i32 %46, %34
%48 = icmp eq i32 %47, 0
%49 = getelementptr inbounds %struct.TYPE_22__, ptr %15, i64 0, i32 1, i32 1
%50 = load i32, ptr %49, align 4, !tbaa !24
br i1 %48, label %54, label %51
51: ; preds = %43
%52 = load i32, ptr %13, align 4, !tbaa !25
%53 = mul nsw i32 %52, %50
br label %54
54: ; preds = %43, %51
%55 = phi i32 [ %53, %51 ], [ %50, %43 ]
%56 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 2
store i32 %55, ptr %56, align 8
store ptr %19, ptr %16, align 8, !tbaa !11
%57 = getelementptr inbounds %struct.TYPE_24__, ptr %19, i64 0, i32 3
%58 = getelementptr inbounds %struct.TYPE_22__, ptr %15, i64 0, i32 3
%59 = load ptr, ptr %58, align 8, !tbaa !11
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %14, !llvm.loop !26
61: ; preds = %54, %14, %4, %28
ret void
}
declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1
declare ptr @subpicture_region_New(ptr noundef) local_unnamed_addr #1
declare i32 @picture_Release(i32 noundef) local_unnamed_addr #1
declare i32 @picture_Clone(ptr noundef) local_unnamed_addr #1
declare i32 @subpicture_region_Delete(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 8}
!6 = !{!"TYPE_23__", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"TYPE_18__", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"TYPE_22__", !14, i64 0, !15, i64 4, !7, i64 16, !7, i64 24}
!14 = !{!"int", !8, i64 0}
!15 = !{!"TYPE_19__", !14, i64 0, !14, i64 4}
!16 = !{!17, !14, i64 24}
!17 = !{!"TYPE_24__", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 16, !14, i64 24}
!18 = !{!14, !14, i64 0}
!19 = !{!17, !14, i64 0}
!20 = !{!13, !14, i64 0}
!21 = !{!13, !14, i64 4}
!22 = !{!23, !14, i64 0}
!23 = !{!"TYPE_20__", !14, i64 0, !14, i64 4}
!24 = !{!13, !14, i64 8}
!25 = !{!23, !14, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = 'AnghaBench/vlc/modules/codec/ttml/extr_imageupdater.h_TTML_ImageSpuUpdate.c'
source_filename = "AnghaBench/vlc/modules/codec/ttml/extr_imageupdater.h_TTML_ImageSpuUpdate.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
@SUBPICTURE_ALIGN_LEFT = common local_unnamed_addr global i32 0, align 4
@SUBPICTURE_ALIGN_TOP = common local_unnamed_addr global i32 0, align 4
@ORIGIN_X_IS_RATIO = common local_unnamed_addr global i32 0, align 4
@ORIGIN_Y_IS_RATIO = common local_unnamed_addr global i32 0, align 4
@llvm.used = appending global [1 x ptr] [ptr @TTML_ImageSpuUpdate], section "llvm.metadata"
; Function Attrs: nounwind ssp uwtable(sync)
define internal void @TTML_ImageSpuUpdate(ptr nocapture noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = tail call i32 @VLC_UNUSED(ptr noundef %1) #2
%6 = tail call i32 @VLC_UNUSED(ptr noundef %2) #2
%7 = tail call i32 @VLC_UNUSED(ptr noundef %3) #2
%8 = getelementptr inbounds i8, ptr %0, i64 8
%9 = load ptr, ptr %8, align 8, !tbaa !6
%10 = load ptr, ptr %9, align 8, !tbaa !12
%11 = icmp eq ptr %10, null
br i1 %11, label %61, label %12
12: ; preds = %4
%13 = getelementptr inbounds i8, ptr %2, i64 4
br label %14
14: ; preds = %12, %54
%15 = phi ptr [ %10, %12 ], [ %59, %54 ]
%16 = phi ptr [ %0, %12 ], [ %57, %54 ]
%17 = getelementptr inbounds i8, ptr %15, i64 16
%18 = load ptr, ptr %17, align 8, !tbaa !13
%19 = tail call ptr @subpicture_region_New(ptr noundef %18) #2
%20 = icmp eq ptr %19, null
br i1 %20, label %61, label %21
21: ; preds = %14
%22 = getelementptr inbounds i8, ptr %19, i64 24
%23 = load i32, ptr %22, align 8, !tbaa !17
%24 = tail call i32 @picture_Release(i32 noundef %23) #2
%25 = load ptr, ptr %17, align 8, !tbaa !13
%26 = tail call i32 @picture_Clone(ptr noundef %25) #2
store i32 %26, ptr %22, align 8, !tbaa !17
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = tail call i32 @subpicture_region_Delete(ptr noundef nonnull %19) #2
br label %61
30: ; preds = %21
%31 = load i32, ptr @SUBPICTURE_ALIGN_LEFT, align 4, !tbaa !19
%32 = load i32, ptr @SUBPICTURE_ALIGN_TOP, align 4, !tbaa !19
%33 = or i32 %32, %31
store i32 %33, ptr %19, align 8, !tbaa !20
%34 = load i32, ptr %15, align 8, !tbaa !21
%35 = load i32, ptr @ORIGIN_X_IS_RATIO, align 4, !tbaa !19
%36 = and i32 %35, %34
%37 = icmp eq i32 %36, 0
%38 = getelementptr inbounds i8, ptr %15, i64 4
%39 = load i32, ptr %38, align 4, !tbaa !22
br i1 %37, label %43, label %40
40: ; preds = %30
%41 = load i32, ptr %2, align 4, !tbaa !23
%42 = mul nsw i32 %41, %39
br label %43
43: ; preds = %30, %40
%44 = phi i32 [ %42, %40 ], [ %39, %30 ]
%45 = getelementptr inbounds i8, ptr %19, i64 4
store i32 %44, ptr %45, align 4
%46 = load i32, ptr @ORIGIN_Y_IS_RATIO, align 4, !tbaa !19
%47 = and i32 %46, %34
%48 = icmp eq i32 %47, 0
%49 = getelementptr inbounds i8, ptr %15, i64 8
%50 = load i32, ptr %49, align 4, !tbaa !25
br i1 %48, label %54, label %51
51: ; preds = %43
%52 = load i32, ptr %13, align 4, !tbaa !26
%53 = mul nsw i32 %52, %50
br label %54
54: ; preds = %43, %51
%55 = phi i32 [ %53, %51 ], [ %50, %43 ]
%56 = getelementptr inbounds i8, ptr %19, i64 8
store i32 %55, ptr %56, align 8
store ptr %19, ptr %16, align 8, !tbaa !12
%57 = getelementptr inbounds i8, ptr %19, i64 16
%58 = getelementptr inbounds i8, ptr %15, i64 24
%59 = load ptr, ptr %58, align 8, !tbaa !12
%60 = icmp eq ptr %59, null
br i1 %60, label %61, label %14, !llvm.loop !27
61: ; preds = %54, %14, %4, %28
ret void
}
declare i32 @VLC_UNUSED(ptr noundef) local_unnamed_addr #1
declare ptr @subpicture_region_New(ptr noundef) local_unnamed_addr #1
declare i32 @picture_Release(i32 noundef) local_unnamed_addr #1
declare i32 @picture_Clone(ptr noundef) local_unnamed_addr #1
declare i32 @subpicture_region_Delete(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 8}
!7 = !{!"TYPE_23__", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"TYPE_18__", !8, i64 0}
!12 = !{!8, !8, i64 0}
!13 = !{!14, !8, i64 16}
!14 = !{!"TYPE_22__", !15, i64 0, !16, i64 4, !8, i64 16, !8, i64 24}
!15 = !{!"int", !9, i64 0}
!16 = !{!"TYPE_19__", !15, i64 0, !15, i64 4}
!17 = !{!18, !15, i64 24}
!18 = !{!"TYPE_24__", !15, i64 0, !15, i64 4, !15, i64 8, !8, i64 16, !15, i64 24}
!19 = !{!15, !15, i64 0}
!20 = !{!18, !15, i64 0}
!21 = !{!14, !15, i64 0}
!22 = !{!14, !15, i64 4}
!23 = !{!24, !15, i64 0}
!24 = !{!"TYPE_20__", !15, i64 0, !15, i64 4}
!25 = !{!14, !15, i64 8}
!26 = !{!24, !15, i64 4}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
| vlc_modules_codec_ttml_extr_imageupdater.h_TTML_ImageSpuUpdate |
; ModuleID = 'AnghaBench/disque/src/extr_latency.c_latencyAddSample.c'
source_filename = "AnghaBench/disque/src/extr_latency.c_latencyAddSample.c"
target datalayout = "e-m:e-p270:32:32-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 }
%struct.latencyTimeSeries = type { i32, i64, ptr }
%struct.TYPE_4__ = type { i64, i64 }
@server = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
@LATENCY_TS_LEN = dso_local local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind uwtable
define dso_local void @latencyAddSample(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @server, align 4, !tbaa !5
%4 = tail call ptr @dictFetchValue(i32 noundef %3, ptr noundef %0) #2
%5 = tail call i64 @time(ptr noundef null) #2
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = tail call ptr @zmalloc(i32 noundef 24) #2
store i32 0, ptr %8, align 8, !tbaa !10
%9 = getelementptr inbounds %struct.latencyTimeSeries, ptr %8, i64 0, i32 1
store i64 0, ptr %9, align 8, !tbaa !14
%10 = getelementptr inbounds %struct.latencyTimeSeries, ptr %8, i64 0, i32 2
%11 = load ptr, ptr %10, align 8, !tbaa !15
%12 = tail call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 8) #2
%13 = load i32, ptr @server, align 4, !tbaa !5
%14 = tail call i32 @zstrdup(ptr noundef %0) #2
%15 = tail call i32 @dictAdd(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %8) #2
br label %16
16: ; preds = %7, %2
%17 = phi ptr [ %8, %7 ], [ %4, %2 ]
%18 = load i32, ptr %17, align 8, !tbaa !10
%19 = load i32, ptr @LATENCY_TS_LEN, align 4, !tbaa !16
%20 = add i32 %18, -1
%21 = add i32 %20, %19
%22 = srem i32 %21, %19
%23 = getelementptr inbounds %struct.latencyTimeSeries, ptr %17, i64 0, i32 2
%24 = load ptr, ptr %23, align 8, !tbaa !15
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %25
%27 = load i64, ptr %26, align 8, !tbaa !17
%28 = icmp eq i64 %27, %5
br i1 %28, label %29, label %34
29: ; preds = %16
%30 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %25, i32 1
%31 = load i64, ptr %30, align 8, !tbaa !19
%32 = icmp slt i64 %31, %1
br i1 %32, label %33, label %50
33: ; preds = %29
store i64 %1, ptr %30, align 8, !tbaa !19
br label %50
34: ; preds = %16
%35 = tail call i64 @time(ptr noundef null) #2
%36 = load ptr, ptr %23, align 8, !tbaa !15
%37 = load i32, ptr %17, align 8, !tbaa !10
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %38
store i64 %35, ptr %39, align 8, !tbaa !17
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %38, i32 1
store i64 %1, ptr %40, align 8, !tbaa !19
%41 = getelementptr inbounds %struct.latencyTimeSeries, ptr %17, i64 0, i32 1
%42 = load i64, ptr %41, align 8, !tbaa !14
%43 = icmp slt i64 %42, %1
br i1 %43, label %44, label %45
44: ; preds = %34
store i64 %1, ptr %41, align 8, !tbaa !14
br label %45
45: ; preds = %44, %34
%46 = add nsw i32 %37, 1
store i32 %46, ptr %17, align 8, !tbaa !10
%47 = load i32, ptr @LATENCY_TS_LEN, align 4, !tbaa !16
%48 = icmp eq i32 %46, %47
%49 = select i1 %48, i32 0, i32 %46
store i32 %49, ptr %17, align 8
br label %50
50: ; preds = %29, %33, %45
ret void
}
declare ptr @dictFetchValue(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @time(ptr noundef) local_unnamed_addr #1
declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dictAdd(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zstrdup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"TYPE_3__", !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"latencyTimeSeries", !7, i64 0, !12, i64 8, !13, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!11, !12, i64 8}
!15 = !{!11, !13, i64 16}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !12, i64 0}
!18 = !{!"TYPE_4__", !12, i64 0, !12, i64 8}
!19 = !{!18, !12, i64 8}
| ; ModuleID = 'AnghaBench/disque/src/extr_latency.c_latencyAddSample.c'
source_filename = "AnghaBench/disque/src/extr_latency.c_latencyAddSample.c"
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32"
target triple = "arm64-apple-macosx15.0.0"
%struct.TYPE_3__ = type { i32 }
%struct.TYPE_4__ = type { i64, i64 }
@server = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4
@LATENCY_TS_LEN = common local_unnamed_addr global i32 0, align 4
; Function Attrs: nounwind ssp uwtable(sync)
define void @latencyAddSample(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
%3 = load i32, ptr @server, align 4, !tbaa !6
%4 = tail call ptr @dictFetchValue(i32 noundef %3, ptr noundef %0) #2
%5 = tail call i64 @time(ptr noundef null) #2
%6 = icmp eq ptr %4, null
br i1 %6, label %7, label %16
7: ; preds = %2
%8 = tail call ptr @zmalloc(i32 noundef 24) #2
store i32 0, ptr %8, align 8, !tbaa !11
%9 = getelementptr inbounds i8, ptr %8, i64 8
store i64 0, ptr %9, align 8, !tbaa !15
%10 = getelementptr inbounds i8, ptr %8, i64 16
%11 = load ptr, ptr %10, align 8, !tbaa !16
%12 = tail call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 8) #2
%13 = load i32, ptr @server, align 4, !tbaa !6
%14 = tail call i32 @zstrdup(ptr noundef %0) #2
%15 = tail call i32 @dictAdd(i32 noundef %13, i32 noundef %14, ptr noundef nonnull %8) #2
br label %16
16: ; preds = %7, %2
%17 = phi ptr [ %8, %7 ], [ %4, %2 ]
%18 = load i32, ptr %17, align 8, !tbaa !11
%19 = load i32, ptr @LATENCY_TS_LEN, align 4, !tbaa !17
%20 = add i32 %18, -1
%21 = add i32 %20, %19
%22 = srem i32 %21, %19
%23 = getelementptr inbounds i8, ptr %17, i64 16
%24 = load ptr, ptr %23, align 8, !tbaa !16
%25 = sext i32 %22 to i64
%26 = getelementptr inbounds %struct.TYPE_4__, ptr %24, i64 %25
%27 = load i64, ptr %26, align 8, !tbaa !18
%28 = icmp eq i64 %27, %5
br i1 %28, label %29, label %34
29: ; preds = %16
%30 = getelementptr inbounds i8, ptr %26, i64 8
%31 = load i64, ptr %30, align 8, !tbaa !20
%32 = icmp slt i64 %31, %1
br i1 %32, label %33, label %50
33: ; preds = %29
store i64 %1, ptr %30, align 8, !tbaa !20
br label %50
34: ; preds = %16
%35 = tail call i64 @time(ptr noundef null) #2
%36 = load ptr, ptr %23, align 8, !tbaa !16
%37 = load i32, ptr %17, align 8, !tbaa !11
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %38
store i64 %35, ptr %39, align 8, !tbaa !18
%40 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i64 %38, i32 1
store i64 %1, ptr %40, align 8, !tbaa !20
%41 = getelementptr inbounds i8, ptr %17, i64 8
%42 = load i64, ptr %41, align 8, !tbaa !15
%43 = icmp slt i64 %42, %1
br i1 %43, label %44, label %45
44: ; preds = %34
store i64 %1, ptr %41, align 8, !tbaa !15
br label %45
45: ; preds = %44, %34
%46 = add nsw i32 %37, 1
store i32 %46, ptr %17, align 8, !tbaa !11
%47 = load i32, ptr @LATENCY_TS_LEN, align 4, !tbaa !17
%48 = icmp eq i32 %46, %47
%49 = select i1 %48, i32 0, i32 %46
store i32 %49, ptr %17, align 8
br label %50
50: ; preds = %29, %33, %45
ret void
}
declare ptr @dictFetchValue(i32 noundef, ptr noundef) local_unnamed_addr #1
declare i64 @time(ptr noundef) local_unnamed_addr #1
declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1
declare i32 @dictAdd(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1
declare i32 @zstrdup(ptr noundef) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
!6 = !{!7, !8, i64 0}
!7 = !{!"TYPE_3__", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !8, i64 0}
!12 = !{!"latencyTimeSeries", !8, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !14, i64 16}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !13, i64 0}
!19 = !{!"TYPE_4__", !13, i64 0, !13, i64 8}
!20 = !{!19, !13, i64 8}
| disque_src_extr_latency.c_latencyAddSample |
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/ep/comsn/hs68/extr_hs68.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/ep/comsn/hs68/extr_hs68.c_matrix_scan_kb.c"
target datalayout = "e-m:e-p270:32:32-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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 (...) @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
| ; ModuleID = 'AnghaBench/qmk_firmware/keyboards/ep/comsn/hs68/extr_hs68.c_matrix_scan_kb.c'
source_filename = "AnghaBench/qmk_firmware/keyboards/ep/comsn/hs68/extr_hs68.c_matrix_scan_kb.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 @matrix_scan_kb() local_unnamed_addr #0 {
%1 = tail call i32 @matrix_scan_user() #2
ret void
}
declare i32 @matrix_scan_user(...) local_unnamed_addr #1
attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 1}
!4 = !{i32 7, !"frame-pointer", i32 1}
!5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
| qmk_firmware_keyboards_ep_comsn_hs68_extr_hs68.c_matrix_scan_kb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.